shopify 4.2.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acorn-QBS5IYTX.js → acorn-7M27BPGP.js} +1 -1
- package/dist/analytics-DWUYMFHO.js +1 -0
- package/dist/analytics-SOXP4UBD.js +1 -0
- package/dist/{angular-UTTM4Y4S.js → angular-DW5TQVCM.js} +1 -1
- package/dist/assets/hydrogen/routes/locale-check.ts +3 -3
- package/dist/assets/hydrogen/starter/CHANGELOG.md +106 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +4 -2
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +8 -5
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +117 -23
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +3 -3
- package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +24 -4
- package/dist/assets/hydrogen/starter/app/components/ProductPrice.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/lib/context.ts +5 -0
- package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +14 -53
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +11 -4
- package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +1 -1
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +2 -2
- package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +1 -1
- package/dist/assets/hydrogen/starter/package.json +9 -10
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +0 -11
- package/dist/assets/hydrogen/starter/vite.config.ts +10 -4
- package/dist/assets/hydrogen/vite/package.json +1 -2
- package/dist/assets/hydrogen/vite/vite.config.js +4 -3
- package/dist/{babel-JS32NLHY.js → babel-I2RLWM7N.js} +1 -1
- package/dist/bootstrap.js +1 -1
- package/dist/{chokidar-G4ONJSK4.js → chokidar-VDIVGBZH.js} +1 -1
- package/dist/chunk-2EROVVCL.js +1 -0
- package/dist/{chunk-DCBYHVKW.js → chunk-2MMGFZDP.js} +1 -1
- package/dist/{chunk-X2TC7S57.js → chunk-2NWWMNU5.js} +8 -8
- package/dist/{chunk-PRVQAHWI.js → chunk-2O22LZKV.js} +1 -1
- package/dist/{chunk-MFLBTJO7.js → chunk-3CYHS4W2.js} +1 -1
- package/dist/{chunk-2EJCY4CE.js → chunk-3FBSBMSQ.js} +1 -1
- package/dist/chunk-3OZ6ZZ4T.js +5 -0
- package/dist/{chunk-VICNWPLQ.js → chunk-442S5SDM.js} +12 -12
- package/dist/{chunk-MKE434RB.js → chunk-45MEVWH5.js} +1 -1
- package/dist/{chunk-A5SQCM63.js → chunk-47MGPVED.js} +1 -1
- package/dist/chunk-4N6YTHFD.js +1 -0
- package/dist/chunk-4TST2MNC.js +1 -0
- package/dist/{chunk-JUVAGMIH.js → chunk-5C7HDTHJ.js} +1 -1
- package/dist/{chunk-GVITHCQJ.js → chunk-5GVXMNC4.js} +1 -1
- package/dist/{chunk-YGMVL6NZ.js → chunk-5JNEWYD5.js} +2 -2
- package/dist/{chunk-KU5OPV7U.js → chunk-5QQN3SKH.js} +1 -1
- package/dist/{chunk-OKNBZSGN.js → chunk-5QWYIBE6.js} +1 -1
- package/dist/chunk-5W443CKL.js +836 -0
- package/dist/{chunk-PD5ZHJWI.js → chunk-636CTEW7.js} +1 -1
- package/dist/{chunk-L2VSSINY.js → chunk-67KMRBSZ.js} +1 -1
- package/dist/{chunk-HJSYHK4S.js → chunk-6DIHOMCB.js} +1 -1
- package/dist/{chunk-MGL4YM3S.js → chunk-6EZ7JWBK.js} +5 -5
- package/dist/{chunk-NBYS6YQ2.js → chunk-6RL7FUPD.js} +1 -1
- package/dist/chunk-6YPEONHB.js +46 -0
- package/dist/{chunk-C6ABJCRG.js → chunk-733R5OKQ.js} +1 -1
- package/dist/chunk-73W5BGAZ.js +1 -0
- package/dist/{chunk-XDAOLCPN.js → chunk-75LJTY7F.js} +1 -1
- package/dist/{chunk-IU2ZQ6TE.js → chunk-773TIA5M.js} +1 -1
- package/dist/{chunk-TQGTEVSR.js → chunk-7EJ4UVYI.js} +1 -1
- package/dist/{chunk-FQDRVPCY.js → chunk-7LATYPLU.js} +1 -1
- package/dist/{chunk-XXE7667M.js → chunk-7SVMAJTR.js} +1 -1
- package/dist/{chunk-QUTQDXSL.js → chunk-7UNQOKZW.js} +1 -1
- package/dist/{chunk-CE6FKJFS.js → chunk-7UOPCYMV.js} +1 -1
- package/dist/{chunk-7JESXDF2.js → chunk-A4SBXDZB.js} +1 -1
- package/dist/{chunk-Z35BTAM6.js → chunk-AAK376RT.js} +1 -1
- package/dist/chunk-APN3VWN4.js +3 -0
- package/dist/{chunk-7DVOSOEP.js → chunk-AT2GDXN7.js} +1 -1
- package/dist/chunk-ATXODH6C.js +283 -0
- package/dist/chunk-AY4GIVME.js +4 -0
- package/dist/{chunk-PS25FEBF.js → chunk-B7BUEEBR.js} +1 -1
- package/dist/{chunk-6YHJ554P.js → chunk-B7S23DLF.js} +1 -1
- package/dist/chunk-BCD4KTLJ.js +1 -0
- package/dist/{chunk-C3LZPAAH.js → chunk-BIMOHK2P.js} +1 -1
- package/dist/chunk-C3CVLSLS.js +6 -0
- package/dist/{chunk-57N2DFIF.js → chunk-CD5O2BIT.js} +1 -1
- package/dist/chunk-CPE7XCC6.js +593 -0
- package/dist/{chunk-PIBY5DDZ.js → chunk-CRALWNNO.js} +1 -1
- package/dist/{chunk-H4W4DFKK.js → chunk-CX5CC6P5.js} +1 -1
- package/dist/{chunk-2KH2S7PI.js → chunk-CZXGQ53M.js} +1 -1
- package/dist/chunk-D6YDSGR4.js +3 -0
- package/dist/{chunk-J6VTZEE2.js → chunk-DHBYYHBT.js} +1 -1
- package/dist/chunk-DLNBTHKL.js +5 -0
- package/dist/chunk-DO2SHYFU.js +1 -0
- package/dist/{chunk-VPL2NDH6.js → chunk-DONEJHDG.js} +35 -35
- package/dist/{chunk-5TIJLYZU.js → chunk-DQ4HA72R.js} +1 -1
- package/dist/{chunk-NO5KVFTV.js → chunk-DZLA2RJP.js} +3 -3
- package/dist/{chunk-YS6VOQ7I.js → chunk-EJDWYASP.js} +1 -1
- package/dist/{chunk-N3YWHJMB.js → chunk-EKHWL542.js} +46 -46
- package/dist/{chunk-6M3ZYNGO.js → chunk-ET2CGROE.js} +1 -1
- package/dist/{chunk-QSTEVZFQ.js → chunk-F3TMLDLC.js} +1 -1
- package/dist/{chunk-M4LOKANA.js → chunk-F5QG42MA.js} +1 -1
- package/dist/{chunk-FTN7Y6HD.js → chunk-FA4K3JRN.js} +1 -1
- package/dist/{chunk-WDC3KIZT.js → chunk-FKIVKNOV.js} +1 -1
- package/dist/{chunk-4EXYYBQ6.js → chunk-FPLUMESQ.js} +1 -1
- package/dist/chunk-FU232KQ7.js +1 -0
- package/dist/{chunk-HLMFVORT.js → chunk-FZKKKGUJ.js} +1 -1
- package/dist/chunk-G24L7MB3.js +1 -0
- package/dist/{chunk-LQMSF3F7.js → chunk-G2I2ZUBV.js} +1 -1
- package/dist/{chunk-FFYYJKF7.js → chunk-G2S346IS.js} +1 -1
- package/dist/{chunk-KLMDWDT2.js → chunk-GB3YC4TI.js} +1 -1
- package/dist/{chunk-VA5IUGZV.js → chunk-GBZL4TTY.js} +1 -1
- package/dist/{chunk-OCOY5MV2.js → chunk-GCN4O7HM.js} +1 -1
- package/dist/{chunk-2N4O33VM.js → chunk-GDHD3TGC.js} +1 -1
- package/dist/{chunk-TLSAQ6FG.js → chunk-GFCLUGAG.js} +1 -1
- package/dist/{chunk-C2FFA4O4.js → chunk-GKRCTMWY.js} +1 -1
- package/dist/{chunk-TGACBJIY.js → chunk-GTUKM3ZW.js} +1 -1
- package/dist/{chunk-RGNAWKD7.js → chunk-GUO7S4NW.js} +1 -1
- package/dist/{chunk-WUK5NQSX.js → chunk-GW3VY3FZ.js} +2 -2
- package/dist/{chunk-4KRT35A2.js → chunk-H5C3QTOO.js} +1 -1
- package/dist/{chunk-LKS47US7.js → chunk-H6WN7GP4.js} +1 -1
- package/dist/{chunk-2WNODIWJ.js → chunk-HA6NISOZ.js} +1 -1
- package/dist/{chunk-FBVBO5YQ.js → chunk-HCN6HXA5.js} +1 -1
- package/dist/chunk-HM5H7WBE.js +1 -0
- package/dist/chunk-HZMP62GK.js +21 -0
- package/dist/{chunk-QLQGHMVU.js → chunk-HZSAUZBX.js} +1 -1
- package/dist/chunk-HZYRCG4R.js +9 -0
- package/dist/{chunk-EENHXSWU.js → chunk-I5A6BPCP.js} +1 -1
- package/dist/chunk-I73E3BD5.js +1 -0
- package/dist/{chunk-UURFVUAH.js → chunk-IG6LPVS4.js} +1 -1
- package/dist/{chunk-BECEP46I.js → chunk-IIOIDMG3.js} +1 -1
- package/dist/{chunk-D656BV5Z.js → chunk-IPQH2RHD.js} +1 -1
- package/dist/{chunk-TNQXTZAX.js → chunk-IWOTLFOY.js} +1 -1
- package/dist/chunk-IX4KP6E3.js +2 -0
- package/dist/{chunk-AP3RFOPL.js → chunk-J2WCMQZZ.js} +1 -1
- package/dist/chunk-J3HXFQ2L.js +1 -0
- package/dist/{chunk-OYP7DKPU.js → chunk-J3JPJCWP.js} +1 -1
- package/dist/chunk-J5TNYNR5.js +1 -0
- package/dist/{chunk-UBKVCI7A.js → chunk-J7UQBC45.js} +1 -1
- package/dist/{chunk-M2TJICTB.js → chunk-JAW32T6G.js} +1 -1
- package/dist/{chunk-LCCMXY6N.js → chunk-JOZXRV5K.js} +1 -1
- package/dist/{chunk-UARVYVLN.js → chunk-KKUDXLK2.js} +2 -2
- package/dist/{chunk-LITB5QQX.js → chunk-KN3FTJDU.js} +1 -1
- package/dist/{chunk-3VZEETAV.js → chunk-KRZABRYT.js} +1 -1
- package/dist/{chunk-DNLOSMHL.js → chunk-KSZ5K6LJ.js} +1 -1
- package/dist/chunk-LCPD2BYX.js +1 -0
- package/dist/chunk-LKZ7ARYS.js +18 -0
- package/dist/{chunk-3V63X7WZ.js → chunk-LOHUNOQ7.js} +1 -1
- package/dist/{chunk-IXUVSFW2.js → chunk-LOQIRLTD.js} +1 -1
- package/dist/{chunk-CW7WJZKR.js → chunk-MFLQRQQT.js} +1 -1
- package/dist/{chunk-PRKBO42R.js → chunk-MPW2YJWU.js} +1 -1
- package/dist/chunk-MQICT2LR.js +1 -0
- package/dist/{chunk-VYXVYOIJ.js → chunk-MZMYBFZQ.js} +1 -1
- package/dist/{chunk-ZZYFG22L.js → chunk-NADNFSKS.js} +1 -1
- package/dist/{chunk-5Y7GIF2W.js → chunk-NJOO5XJV.js} +1 -1
- package/dist/{chunk-ULQG3XQS.js → chunk-NNOSZ447.js} +1 -1
- package/dist/{chunk-WNGV4JQS.js → chunk-NWDP5IZ2.js} +1 -1
- package/dist/{chunk-R6JNXEB3.js → chunk-NY5OGHM5.js} +1 -1
- package/dist/chunk-O6KTFMCD.js +1 -0
- package/dist/{chunk-3BRUCKZ2.js → chunk-OAI7VSLW.js} +1 -1
- package/dist/{chunk-RAH5NW3R.js → chunk-OORCODNK.js} +1 -1
- package/dist/chunk-OQORDQLH.js +1 -0
- package/dist/{chunk-75VPUOC5.js → chunk-P2OI2P2M.js} +1 -1
- package/dist/{chunk-6AJZKIZ3.js → chunk-PETINPMX.js} +1 -1
- package/dist/{chunk-MZJRNFAU.js → chunk-PJYNAUQB.js} +1 -1
- package/dist/{chunk-HD5TYIDZ.js → chunk-PMXCJIBP.js} +1 -1
- package/dist/{chunk-K77WAKOB.js → chunk-POAICASX.js} +1 -1
- package/dist/chunk-PUAMSBXS.js +1 -0
- package/dist/{chunk-DERA4K6A.js → chunk-PZYP3MCL.js} +1 -1
- package/dist/chunk-Q7BOSHWX.js +7 -0
- package/dist/{chunk-K7K6GNF6.js → chunk-QJ7TI6CK.js} +1 -1
- package/dist/{chunk-M4V2OQAX.js → chunk-QMXKGSFH.js} +1 -1
- package/dist/chunk-QPN2M26G.js +1 -0
- package/dist/{chunk-UCLSPAVX.js → chunk-QS3FMN67.js} +1 -1
- package/dist/chunk-RF6NUGCU.js +1 -0
- package/dist/{chunk-5CH3B62S.js → chunk-RJ5VF3QY.js} +1 -1
- package/dist/{chunk-XX343DDG.js → chunk-RYGZCBO4.js} +1 -1
- package/dist/{chunk-U3ZG675O.js → chunk-SKLUHLS2.js} +1 -1
- package/dist/{chunk-F6T3UBBL.js → chunk-SP2WUATO.js} +1 -1
- package/dist/{chunk-QFWIDATO.js → chunk-STJ3LWFL.js} +1 -1
- package/dist/chunk-SWI3LCPE.js +7 -0
- package/dist/{chunk-6HZTMQD6.js → chunk-SXTDVUT3.js} +1 -1
- package/dist/{chunk-IWCPQD7X.js → chunk-T5GSCWN5.js} +1 -1
- package/dist/{chunk-3YWUSKWF.js → chunk-T6CC5WUU.js} +1 -1
- package/dist/{chunk-3TNEIDOD.js → chunk-T7KHS6RF.js} +1 -1
- package/dist/{chunk-E2YBU6D3.js → chunk-TC3JOEMA.js} +2 -2
- package/dist/{chunk-A6X2IVGT.js → chunk-TJGUNVRI.js} +1 -1
- package/dist/{chunk-6ZIOYXEF.js → chunk-TKG42KLM.js} +1 -1
- package/dist/{chunk-QYR5VPQA.js → chunk-TOLPNBZK.js} +1 -1
- package/dist/{chunk-6TORWTD7.js → chunk-TQUSREKP.js} +1 -1
- package/dist/chunk-TU47HMTL.js +1 -0
- package/dist/chunk-TYMYIUIQ.js +1 -0
- package/dist/{chunk-XP6IRAZN.js → chunk-U73TPLFE.js} +1 -1
- package/dist/{chunk-VEDZUOVI.js → chunk-UKK5P74A.js} +3 -3
- package/dist/chunk-UMT7DWR4.js +1 -0
- package/dist/{chunk-FD5S2O6M.js → chunk-UOHNRH6E.js} +1 -1
- package/dist/{chunk-ZR76GGZ6.js → chunk-UQWFDL3F.js} +1 -1
- package/dist/chunk-UUC5YKAS.js +2 -0
- package/dist/chunk-UYK6CXAU.js +1 -0
- package/dist/{chunk-7KJ5TBWG.js → chunk-V3RZ3DTW.js} +1 -1
- package/dist/{chunk-6TEXPRI2.js → chunk-V6ZSIUO3.js} +1 -1
- package/dist/{chunk-A3VYI4LO.js → chunk-VDN6MEYI.js} +3 -3
- package/dist/chunk-VE35YELD.js +1 -0
- package/dist/{chunk-6LK6ZP3Q.js → chunk-VFWWZMOQ.js} +1 -1
- package/dist/{chunk-VBUZWRUL.js → chunk-VJEKDBGZ.js} +1 -1
- package/dist/chunk-VKWPEFWQ.js +1 -0
- package/dist/{chunk-7BFDUVOG.js → chunk-VOJWKGCW.js} +1 -1
- package/dist/{chunk-LTWXTDDR.js → chunk-VQW35HIQ.js} +1 -1
- package/dist/chunk-VUMUCNI7.js +1 -0
- package/dist/{chunk-2VLMN5QZ.js → chunk-WAGAC3YI.js} +1 -1
- package/dist/chunk-WKBVT5WG.js +1 -0
- package/dist/chunk-WLO5H255.js +3 -0
- package/dist/chunk-WNWQSHEC.js +10 -0
- package/dist/{chunk-6YAXFS6V.js → chunk-WRRUFK4Y.js} +1 -1
- package/dist/{chunk-SSM346XI.js → chunk-WVHB2HCQ.js} +1 -1
- package/dist/{chunk-MOA33ZFO.js → chunk-WW7TENNA.js} +1 -1
- package/dist/chunk-WZVQHMGI.js +1 -0
- package/dist/{chunk-NPM3MFB3.js → chunk-X4DIJTIK.js} +1 -1
- package/dist/{chunk-42RMKTCJ.js → chunk-XH6ZP7M5.js} +1 -1
- package/dist/{chunk-23AMFHXC.js → chunk-XV3I45NA.js} +1 -1
- package/dist/{chunk-PSQFZAF3.js → chunk-XWPPBOGF.js} +1 -1
- package/dist/{chunk-MIO2CV3Q.js → chunk-Y3WIZSRU.js} +1 -1
- package/dist/{chunk-INFBVFMU.js → chunk-Y66GQ6V2.js} +1 -1
- package/dist/{chunk-IVGWFPMA.js → chunk-YGKQCEVG.js} +1 -1
- package/dist/{chunk-4Z2WYNTE.js → chunk-YLGSM42I.js} +1 -1
- package/dist/{chunk-TXUTT6UA.js → chunk-YQH2JHFA.js} +1 -1
- package/dist/{chunk-QTGMS62F.js → chunk-YYL356OX.js} +1 -1
- package/dist/chunk-Z4LC3WE5.js +7 -0
- package/dist/{chunk-OA4P6AKS.js → chunk-Z74QYLNC.js} +1 -1
- package/dist/{chunk-DCK2FX6J.js → chunk-ZAMDXIVC.js} +1 -1
- package/dist/{chunk-4LNCYIS3.js → chunk-ZDF5N422.js} +1 -1
- package/dist/{chunk-RL5BWZ7D.js → chunk-ZEENHLSC.js} +2 -2
- package/dist/{chunk-T4M5CWAO.js → chunk-ZG7BVVT2.js} +1 -1
- package/dist/{chunk-NKQBEFPS.js → chunk-ZI7LK3LW.js} +1 -1
- package/dist/{chunk-UOQQNAHX.js → chunk-ZIREP3EZ.js} +1 -1
- package/dist/chunk-ZIXWWU2N.js +275 -0
- package/dist/{chunk-NXL6LDJU.js → chunk-ZQ5JVD5X.js} +1 -1
- package/dist/{chunk-FGVC22EY.js → chunk-ZULTG2D2.js} +1 -1
- package/dist/{chunk-F47MFBKM.js → chunk-ZZFZBFVM.js} +1 -1
- package/dist/cli/commands/app/app-logs/sources.js +1 -1
- package/dist/cli/commands/app/build.js +1 -1
- package/dist/cli/commands/app/bulk/cancel.js +1 -1
- package/dist/cli/commands/app/bulk/execute.js +1 -1
- package/dist/cli/commands/app/bulk/status.js +1 -1
- package/dist/cli/commands/app/config/link.js +1 -1
- package/dist/cli/commands/app/config/pull.js +1 -1
- package/dist/cli/commands/app/config/use.js +1 -1
- package/dist/cli/commands/app/config/validate.js +1 -1
- package/dist/cli/commands/app/demo/watcher.js +1 -1
- package/dist/cli/commands/app/deploy.js +1 -1
- package/dist/cli/commands/app/dev/clean.js +1 -1
- package/dist/cli/commands/app/dev.js +1 -1
- package/dist/cli/commands/app/env/pull.js +1 -1
- package/dist/cli/commands/app/env/show.js +1 -1
- package/dist/cli/commands/app/execute.js +1 -1
- package/dist/cli/commands/app/function/build.js +1 -1
- package/dist/cli/commands/app/function/info.js +1 -1
- package/dist/cli/commands/app/function/replay.js +1 -1
- package/dist/cli/commands/app/function/run.js +1 -1
- package/dist/cli/commands/app/function/schema.js +1 -1
- package/dist/cli/commands/app/function/typegen.js +1 -1
- package/dist/cli/commands/app/generate/extension.js +1 -1
- package/dist/cli/commands/app/graphiql.js +1 -0
- package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import-extensions.js +1 -1
- package/dist/cli/commands/app/info.js +1 -1
- package/dist/cli/commands/app/init.js +1 -1
- package/dist/cli/commands/app/logs.js +1 -1
- package/dist/cli/commands/app/release.js +1 -1
- package/dist/cli/commands/app/versions/list.js +1 -1
- package/dist/cli/commands/app/webhook/trigger.js +1 -1
- package/dist/cli/commands/auth/login.js +1 -1
- package/dist/cli/commands/auth/logout.js +1 -1
- package/dist/cli/commands/cache/clear.js +1 -1
- package/dist/cli/commands/config/autoupgrade/constants.js +1 -1
- package/dist/cli/commands/config/autoupgrade/off.js +1 -1
- package/dist/cli/commands/config/autoupgrade/on.js +1 -1
- package/dist/cli/commands/config/autoupgrade/status.js +1 -1
- package/dist/cli/commands/debug/command-flags.js +1 -1
- package/dist/cli/commands/doc/fetch.d.ts +12 -0
- package/dist/cli/commands/doc/fetch.js +1 -0
- package/dist/cli/commands/doc/search.d.ts +13 -0
- package/dist/cli/commands/doc/search.js +1 -0
- package/dist/cli/commands/docs/generate.js +1 -1
- package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
- package/dist/cli/commands/doctor-release/theme/index.js +1 -1
- package/dist/cli/commands/help.js +1 -1
- package/dist/cli/commands/kitchen-sink/async.js +1 -1
- package/dist/cli/commands/kitchen-sink/index.js +1 -1
- package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
- package/dist/cli/commands/kitchen-sink/static.js +1 -1
- package/dist/cli/commands/notifications/generate.js +1 -1
- package/dist/cli/commands/notifications/list.js +1 -1
- package/dist/cli/commands/organization/list.js +1 -1
- package/dist/cli/commands/search.d.ts +4 -0
- package/dist/cli/commands/search.js +1 -1
- package/dist/cli/commands/theme/check.js +1 -1
- package/dist/cli/commands/theme/console.js +1 -1
- package/dist/cli/commands/theme/delete.js +1 -1
- package/dist/cli/commands/theme/dev.js +1 -1
- package/dist/cli/commands/theme/duplicate.js +1 -1
- package/dist/cli/commands/theme/info.js +1 -1
- package/dist/cli/commands/theme/init.js +1 -1
- package/dist/cli/commands/theme/language-server.js +1 -1
- package/dist/cli/commands/theme/list.js +1 -1
- package/dist/cli/commands/theme/metafields/pull.js +1 -1
- package/dist/cli/commands/theme/open.js +1 -1
- package/dist/cli/commands/theme/package.js +1 -1
- package/dist/cli/commands/theme/preview.js +1 -1
- package/dist/cli/commands/theme/profile.js +1 -1
- package/dist/cli/commands/theme/publish.js +1 -1
- package/dist/cli/commands/theme/pull.js +1 -1
- package/dist/cli/commands/theme/push.js +1 -1
- package/dist/cli/commands/theme/rename.js +1 -1
- package/dist/cli/commands/theme/share.js +1 -1
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/version.js +1 -1
- package/dist/cli/help.d.ts +38 -0
- package/dist/cli/help.js +2 -0
- package/dist/cli/services/commands/doc/fetch.d.ts +1 -0
- package/dist/cli/services/commands/doc/fetch.js +45 -0
- package/dist/cli/services/commands/doc/search.d.ts +1 -0
- package/dist/cli/services/commands/doc/search.js +47 -0
- package/dist/command-registry.js +1 -1
- package/dist/{conf-store-6QNH5BID.js → conf-store-C2LOYIOU.js} +1 -1
- package/dist/{custom-oclif-loader-TSPWW5YF.js → custom-oclif-loader-3AICQCNU.js} +1 -1
- package/dist/deprecations-QOHE6JG6.js +1 -0
- package/dist/{devtools-HCKYP7DQ.js → devtools-37DE4MUR.js} +1 -1
- package/dist/{devtools-VEZNCV6W.js → devtools-WAWU5KQL.js} +1 -1
- package/dist/dist-FF6C4ZHS.js +1 -0
- package/dist/dist-Q676YGVI.js +1 -0
- package/dist/environments-EGD263DV.js +1 -0
- package/dist/error-66U2HJ37.js +1 -0
- package/dist/error-handler-SW2ALZ5Z.js +1 -0
- package/dist/{estree-BYYJYS3A.js → estree-JV5M77BA.js} +1 -1
- package/dist/{flow-M3Q2HPQT.js → flow-N4JYPYMQ.js} +1 -1
- package/dist/{fs-YMUQ6JLE.js → fs-JPQRUGZI.js} +1 -1
- package/dist/{glimmer-3DEJJGOJ.js → glimmer-JEV3BXHR.js} +1 -1
- package/dist/{graphql-A4HHE3MB.js → graphql-DTF6MHYF.js} +1 -1
- package/dist/hooks/app-init.js +1 -1
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.js +1 -1
- package/dist/hooks/plugin-plugins.js +1 -1
- package/dist/hooks/postrun.js +1 -1
- package/dist/hooks/prerun.js +1 -1
- package/dist/hooks/public-metadata.js +1 -1
- package/dist/hooks/sensitive-metadata.js +1 -1
- package/dist/hooks/tunnel-provider.js +1 -1
- package/dist/hooks/tunnel-start.js +1 -1
- package/dist/{html-HETICZ2F.js → html-LVOJ3RQS.js} +1 -1
- package/dist/{http-proxy-node16-Q5DZMBHC.js → http-proxy-node16-X2WAMUT5.js} +1 -1
- package/dist/index.js +41 -7
- package/dist/is-global-QWTDUPNR.js +1 -0
- package/dist/{is-wsl-TN2CXYI7.js → is-wsl-UEMXYJPN.js} +1 -1
- package/dist/{latest-version-6OAYLOBL.js → latest-version-32HXMWJ7.js} +1 -1
- package/dist/lib-NOROGV6N.js +1 -0
- package/dist/lib-O5EZ4NVT.js +1 -0
- package/dist/lib-QJDPPAWN.js +1 -0
- package/dist/lib-UCG2DNMS.js +1 -0
- package/dist/{local-GPDAXHE6.js → local-FRYN3NWL.js} +1 -1
- package/dist/local-storage-DFH3LT5G.js +1 -0
- package/dist/{markdown-5TVCXM53.js → markdown-J6CE6POI.js} +1 -1
- package/dist/{meriyah-23OZNYWC.js → meriyah-PNQQZQYI.js} +1 -1
- package/dist/metadata-KZVLHQII.js +1 -0
- package/dist/{morph-I35VYPBH.js → morph-CG6HEMCQ.js} +4 -4
- package/dist/{multipart-parser-Q4QJZK3V.js → multipart-parser-5NSSTW27.js} +1 -1
- package/dist/{node-package-manager-GO4ZRTKQ.js → node-package-manager-LVFBY4LY.js} +1 -1
- package/dist/notifications-system-DP443VTE.js +1 -0
- package/dist/{npa-VNALV7XY.js → npa-A4YSCQ5Q.js} +1 -1
- package/dist/{open-VA7TLUIL.js → open-KLSGXBIW.js} +1 -1
- package/dist/out-CDCY25QC.js +1 -0
- package/dist/{output-7IYOMPSA.js → output-NH4I5Y3C.js} +1 -1
- package/dist/{path-CWUNINMX.js → path-MBXP7ZIC.js} +1 -1
- package/dist/{postcss-IIK6CGAW.js → postcss-Q36SHOML.js} +1 -1
- package/dist/{prettier-ZSBNNQTK.js → prettier-6ZMB2MMO.js} +1 -1
- package/dist/{source-map-3K6Y2OMO.js → source-map-E7FCCJL7.js} +1 -1
- package/dist/system-GNOF6HMI.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/typescript-5R4Y7PXE.js +1 -0
- package/dist/{typescript-YKZ232QT.js → typescript-WYPDGPSV.js} +1 -1
- package/dist/ui-QOGKADWB.js +1 -0
- package/dist/upgrade-K4S6JW64.js +1 -0
- package/dist/version-FJFTTOZU.js +1 -0
- package/dist/version-ZI4GZX72.js +1 -0
- package/dist/{workerd-ST6XJKUN.js → workerd-U6WWWY73.js} +1 -1
- package/dist/{yaml-SJKIH3VD.js → yaml-6KWCJ64X.js} +1 -1
- package/oclif.manifest.json +964 -74
- package/package.json +19 -9
- package/dist/analytics-CX22YIUZ.js +0 -1
- package/dist/analytics-UBWQIQYF.js +0 -1
- package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +0 -14
- package/dist/chunk-2YXKZWYW.js +0 -1
- package/dist/chunk-4V4DQ6W7.js +0 -836
- package/dist/chunk-4ZGSSQC6.js +0 -1
- package/dist/chunk-6SXOUZ7V.js +0 -1
- package/dist/chunk-ATPFTRCC.js +0 -1
- package/dist/chunk-AWQ5AR2K.js +0 -5
- package/dist/chunk-BHWEA4V2.js +0 -1
- package/dist/chunk-BPVZ7E63.js +0 -1
- package/dist/chunk-CCEA5CUX.js +0 -1
- package/dist/chunk-D3DDLLNF.js +0 -2
- package/dist/chunk-FP2NOZSD.js +0 -1
- package/dist/chunk-FSTCEWXX.js +0 -1
- package/dist/chunk-HHXHOQQP.js +0 -3
- package/dist/chunk-HSYRYSX4.js +0 -3
- package/dist/chunk-HZA6IAA4.js +0 -1
- package/dist/chunk-I3LX25MB.js +0 -1
- package/dist/chunk-IOQQUHST.js +0 -18
- package/dist/chunk-IWE4RUI7.js +0 -1
- package/dist/chunk-K3PGC6DC.js +0 -1
- package/dist/chunk-KFCGMT67.js +0 -1
- package/dist/chunk-KLA7AWG6.js +0 -7
- package/dist/chunk-KQU6HOJ3.js +0 -1
- package/dist/chunk-MA52QGHP.js +0 -1
- package/dist/chunk-N5ROZKPZ.js +0 -1
- package/dist/chunk-NEZEHBT2.js +0 -1
- package/dist/chunk-NP4UFPAX.js +0 -9
- package/dist/chunk-OKOYLEA7.js +0 -278
- package/dist/chunk-OLOBQ42K.js +0 -1
- package/dist/chunk-PBTXPBI6.js +0 -18
- package/dist/chunk-PLQFX5ZP.js +0 -9
- package/dist/chunk-PUTZFF2Z.js +0 -613
- package/dist/chunk-RVMB5LC2.js +0 -1
- package/dist/chunk-T5MK7ZSF.js +0 -1
- package/dist/chunk-UOQ75BL3.js +0 -1
- package/dist/chunk-UWJ73J4B.js +0 -1
- package/dist/chunk-VPRTJUIN.js +0 -1
- package/dist/chunk-VT77EFRL.js +0 -10
- package/dist/chunk-WCWNI3ZV.js +0 -283
- package/dist/chunk-X4CV6TRE.js +0 -1
- package/dist/chunk-XEFQQPL4.js +0 -1
- package/dist/chunk-XFKCDWXB.js +0 -5
- package/dist/chunk-YJB7P2HC.js +0 -1
- package/dist/chunk-YOZNRLFC.js +0 -1
- package/dist/deprecations-F6JWVV2W.js +0 -1
- package/dist/dist-4BD6KOLR.js +0 -1
- package/dist/dist-AUABCVPI.js +0 -1
- package/dist/environments-RGLI75HN.js +0 -1
- package/dist/error-OZALZZ3U.js +0 -1
- package/dist/error-handler-V7LSEXHM.js +0 -1
- package/dist/is-global-BLIZ57HQ.js +0 -1
- package/dist/lib-AK5EOIKR.js +0 -1
- package/dist/lib-LVUMLZ4H.js +0 -1
- package/dist/lib-ME6554NA.js +0 -1
- package/dist/lib-WU3FEA6I.js +0 -1
- package/dist/local-storage-P66KJG6I.js +0 -1
- package/dist/metadata-TRH25EHU.js +0 -1
- package/dist/notifications-system-HM6JZ6WJ.js +0 -1
- package/dist/out-WLY6KV4B.js +0 -1
- package/dist/system-X5C4EQQH.js +0 -1
- package/dist/typescript-K5CWIA4V.js +0 -1
- package/dist/ui-H62CMRLG.js +0 -1
- package/dist/upgrade-EEOPH464.js +0 -1
- package/dist/version-76NBQR4K.js +0 -1
- package/dist/version-IGSEISUA.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as ui,g as re}from"./chunk-
|
|
1
|
+
import{b as ui,g as re}from"./chunk-VKWPEFWQ.js";function Ot(t,e){for(var i=65536,s=0;s<e.length;s+=2){if(i+=e[s],i>t)return!1;if(i+=e[s+1],i>=t)return!0}return!1}function G(t,e){return t<65?t===36:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&Ei.test(String.fromCharCode(t)):e===!1?!1:Ot(t,ye)}function $(t,e){return t<48?t===36:t<58?!0:t<65?!1:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&bi.test(String.fromCharCode(t)):e===!1?!1:Ot(t,ye)||Ot(t,gi)}function V(t,e){return new b(t,{beforeExpr:!0,binop:e})}function E(t,e){return e===void 0&&(e={}),e.keyword=t,Kt[t]=new b(t,e)}function st(t){return t===10||t===13||t===8232||t===8233}function Ae(t,e,i){i===void 0&&(i=t.length);for(var s=e;s<i;s++){var r=t.charCodeAt(s);if(st(r))return s<i-1&&r===13&&t.charCodeAt(s+1)===10?s+2:s+1}return-1}function Q(t){return ne[t]||(ne[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function H(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function Ee(t,e){for(var i=1,s=0;;){var r=Ae(t,s,e);if(r<0)return new pt(i,e-s);++i,s=r}}function wi(t){var e={};for(var i in Mt)e[i]=t&&rt(t,i)?t[i]:Mt[i];if(e.ecmaVersion==="latest"?e.ecmaVersion=1e8:e.ecmaVersion==null?(!oe&&typeof console=="object"&&console.warn&&(oe=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
2
2
|
Defaulting to 2020, but this will stop working in the future.`)),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),e.allowReserved==null&&(e.allowReserved=e.ecmaVersion<5),(!t||t.allowHashBang==null)&&(e.allowHashBang=e.ecmaVersion>=14),ae(e.onToken)){var s=e.onToken;e.onToken=function(r){return s.push(r)}}return ae(e.onComment)&&(e.onComment=Di(e,e.onComment)),e}function Di(t,e){return function(i,s,r,o,u,p){var h={type:i?"Block":"Line",value:s,start:r,end:o};t.locations&&(h.loc=new St(this,u,p)),t.ranges&&(h.range=[r,o]),e.push(h)}}function Wt(t,e){return at|(t?Xt:0)|(e?be:0)}function Pi(t,e){var i=e.key.name,s=t[i],r="true";return e.type==="MethodDefinition"&&(e.kind==="get"||e.kind==="set")&&(r=(e.static?"s":"i")+e.kind),s==="iget"&&r==="iset"||s==="iset"&&r==="iget"||s==="sget"&&r==="sset"||s==="sset"&&r==="sget"?(t[i]="true",!1):s?!0:(t[i]=r,!1)}function Ct(t,e){var i=t.computed,s=t.key;return!i&&(s.type==="Identifier"&&s.name===e||s.type==="Literal"&&s.value===e)}function Fe(t){return t.type==="Identifier"||t.type==="ParenthesizedExpression"&&Fe(t.expression)}function Ut(t){return t.type==="MemberExpression"&&t.property.type==="PrivateIdentifier"||t.type==="ChainExpression"&&Ut(t.expression)||t.type==="ParenthesizedExpression"&&Ut(t.expression)}function Be(t,e,i,s){return t.type=e,t.end=i,this.options.locations&&(t.loc.end=s),this.options.ranges&&(t.range[1]=i),t}function Gi(t){var e=qe[t]={binary:Q(Oi[t]+" "+ue),binaryOfStrings:Q(ji[t]),nonBinary:{General_Category:Q(ue),Script:Q(qi[t])}};e.nonBinary.Script_Extensions=e.nonBinary.Script,e.nonBinary.gc=e.nonBinary.General_Category,e.nonBinary.sc=e.nonBinary.Script,e.nonBinary.scx=e.nonBinary.Script_Extensions}function Ji(t){for(var e in t)return!0;return!1}function Ki(t){return t===105||t===109||t===115}function Ge(t){return t===36||t>=40&&t<=43||t===46||t===63||t>=91&&t<=94||t>=123&&t<=125}function Xi(t){return G(t,!0)||t===36||t===95}function Hi(t){return $(t,!0)||t===36||t===95||t===8204||t===8205}function Je(t){return t>=65&&t<=90||t>=97&&t<=122}function Wi(t){return t>=0&&t<=1114111}function zi(t){return t===100||t===68||t===115||t===83||t===119||t===87}function Xe(t){return Je(t)||t===95}function Qi(t){return Xe(t)||Dt(t)}function $i(t){return t===33||t>=35&&t<=38||t>=42&&t<=44||t===46||t>=58&&t<=64||t===94||t===96||t===126}function Yi(t){return t===40||t===41||t===45||t===47||t>=91&&t<=93||t>=123&&t<=125}function Zi(t){return t===33||t===35||t===37||t===38||t===44||t===45||t>=58&&t<=62||t===64||t===96||t===126}function Dt(t){return t>=48&&t<=57}function He(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function We(t){return t>=65&&t<=70?10+(t-65):t>=97&&t<=102?10+(t-97):t-48}function ze(t){return t>=48&&t<=55}function ts(t,e){return e?parseInt(t,8):parseFloat(t.replace(/_/g,""))}function Qe(t){return typeof BigInt!="function"?null:BigInt(t.replace(/_/g,""))}function ss(t,e){let i=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(i,e)}function Ze(t){let e=[];for(let i of t)try{return i()}catch(s){e.push(s)}throw Object.assign(new Error("All combinations failed"),{errors:e})}function os(t){return this[t<0?this.length+t:t]}function X(t){let e=t.range?.[0]??t.start,i=(t.declaration?.decorators??t.decorators)?.[0];return i?Math.min(X(i),e):e}function q(t){return t.range?.[1]??t.end}function hs(t){let e=new Set(t);return i=>e.has(i?.type)}function ds(t){return Nt.has(t)||Nt.set(t,ee(t)&&t.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(t.value)),Nt.get(t)}function ms(t){if(!ee(t))return!1;let e=`*${t.value}*`.split(`
|
|
3
3
|
`);return e.length>1&&e.every(i=>i.trimStart()[0]==="*")}function xs(t){return Lt.has(t)||Lt.set(t,ms(t)),Lt.get(t)}function ys(t){if(t.length<2)return;let e;for(let i=t.length-1;i>=0;i--){let s=t[i];if(e&&q(s)===X(e)&&pe(s)&&pe(e)&&(t.splice(i+1,1),s.value+="*//*"+e.value,s.range=[X(s),q(e)]),!ls(s)&&!ee(s))throw new TypeError(`Unknown comment type: "${s.type}".`);e=s}}function As(t){return t!==null&&typeof t=="object"}function ht(t){if(ot!==null&&typeof ot.property){let e=ot;return ot=ht.prototype=null,e}return ot=ht.prototype=t??Object.create(null),new ht}function Es(t){return ht(t)}function bs(t,e="type"){Es(t);function i(s){let r=s[e],o=t[r];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${r}'.`),{node:s});return o}return i}function At(t,e){if(!vs(t))return t;if(Array.isArray(t)){for(let s=0;s<t.length;s++)t[s]=At(t[s],e);return t}if(e.onEnter){let s=e.onEnter(t)??t;if(s!==t)return At(s,e);t=s}let i=Ts(t);for(let s=0;s<i.length;s++)t[i[s]]=At(t[i[s]],e);return e.onLeave&&(t=e.onLeave(t)||t),t}function Ds(t,e){let{parser:i,text:s}=e,{comments:r}=t,o=i==="oxc"&&e.oxcAstType==="ts";gs(r);let u=t.type==="File"?t.program:t;u.interpreter&&(r.unshift(u.interpreter),delete u.interpreter),o&&t.hashbang&&(r.unshift(t.hashbang),delete t.hashbang),t.type==="Program"&&(t.range=[0,s.length]);let p;return t=ws(t,{onEnter(h){switch(h.type){case"ParenthesizedExpression":{let{expression:c}=h,m=X(h);if(c.type==="TypeCastExpression")return c.range=[m,q(h)],c;let A=!1;if(!o){if(!p){p=[];for(let v of r)fs(v)&&p.push(q(v))}let S=ns(0,p,v=>v<=m);A=S&&s.slice(S,m).trim().length===0}return A?void 0:(c.extra={...c.extra,parenthesized:!0},c)}case"TemplateLiteral":if(h.expressions.length!==h.quasis.length-1)throw new Error("Malformed template literal.");break;case"TemplateElement":if(i==="flow"||i==="hermes"||i==="espree"||i==="typescript"||o){let c=X(h)+1,m=q(h)-(h.tail?1:2);h.range=[c,m]}break;case"VariableDeclaration":{let c=Zt(0,h.declarations,-1);c?.init&&s[q(c)]!==";"&&(h.range=[X(h),q(c)]);break}case"TSParenthesizedType":return h.typeAnnotation;case"TopicReference":t.extra={...t.extra,__isUsingHackPipeline:!0};break;case"TSUnionType":case"TSIntersectionType":if(h.types.length===1)return h.types[0];break;case"ImportExpression":i==="hermes"&&h.attributes&&!h.options&&(h.options=h.attributes);break}},onLeave(h){switch(h.type){case"LogicalExpression":if(ti(h))return qt(h);break;case"TSImportType":!h.source&&h.argument.type==="TSLiteralType"&&(h.source=h.argument.literal,delete h.argument);break}}}),t}function ti(t){return t.type==="LogicalExpression"&&t.right.type==="LogicalExpression"&&t.operator===t.right.operator}function qt(t){return ti(t)?qt({type:"LogicalExpression",operator:t.operator,left:qt({type:"LogicalExpression",operator:t.operator,left:t.left,right:t.right.left,range:[X(t.left),q(t.right.left)]}),right:t.right.right,range:[X(t),q(t)]}):t}function Ms(t){let e=t.match(Ns);return e?e[0].trimStart():""}function js(t){t=gt(0,t.replace(Ps,"").replace(Is,""),Rs,"$1");let e="";for(;e!==t;)e=t,t=gt(0,t,Vs,`
|
|
4
4
|
$1 $2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{qa as a,ra as b,sa as c}from"./chunk-5W443CKL.js";import"./chunk-ZDF5N422.js";import"./chunk-MPW2YJWU.js";import"./chunk-GW3VY3FZ.js";import"./chunk-KN3FTJDU.js";import"./chunk-FU232KQ7.js";import"./chunk-SXTDVUT3.js";import"./chunk-T7KHS6RF.js";import"./chunk-47MGPVED.js";import"./chunk-5C7HDTHJ.js";import"./chunk-6EZ7JWBK.js";import"./chunk-EJDWYASP.js";import"./chunk-RJ5VF3QY.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-FPLUMESQ.js";import"./chunk-WRRUFK4Y.js";import"./chunk-WKBVT5WG.js";import"./chunk-DONEJHDG.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-KKUDXLK2.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{b as getEnvironmentData,c as getSensitiveEnvironmentData,a as startAnalytics};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ta as a,ua as b,va as c,wa as d,xa as e,ya as f}from"./chunk-5W443CKL.js";import"./chunk-ZDF5N422.js";import"./chunk-MPW2YJWU.js";import"./chunk-GW3VY3FZ.js";import"./chunk-KN3FTJDU.js";import"./chunk-FU232KQ7.js";import"./chunk-SXTDVUT3.js";import"./chunk-T7KHS6RF.js";import"./chunk-47MGPVED.js";import"./chunk-5C7HDTHJ.js";import"./chunk-6EZ7JWBK.js";import"./chunk-EJDWYASP.js";import"./chunk-RJ5VF3QY.js";import"./chunk-7UNQOKZW.js";import"./chunk-GB3YC4TI.js";import"./chunk-FPLUMESQ.js";import"./chunk-WRRUFK4Y.js";import"./chunk-WKBVT5WG.js";import"./chunk-DONEJHDG.js";import"./chunk-A4SBXDZB.js";import"./chunk-NJOO5XJV.js";import"./chunk-ZG7BVVT2.js";import"./chunk-2O22LZKV.js";import"./chunk-KKUDXLK2.js";import"./chunk-NNOSZ447.js";import"./chunk-773TIA5M.js";import"./chunk-636CTEW7.js";import"./chunk-T6CC5WUU.js";import"./chunk-UQWFDL3F.js";import"./chunk-I5A6BPCP.js";import"./chunk-CX5CC6P5.js";import"./chunk-ET2CGROE.js";import"./chunk-TOLPNBZK.js";import"./chunk-CRALWNNO.js";import"./chunk-VKWPEFWQ.js";export{f as compileData,c as recordError,e as recordEvent,d as recordRetry,b as recordTiming,a as reportAnalyticsEvent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as wn,g as Nt}from"./chunk-VPRTJUIN.js";function On(e){return typeof e=="string"?t=>t===e:t=>e.test(t)}function bn(e,t,i){let n=On(t);for(let r=i;r<e.length;r++){let a=e[r];if(n(a))return r}throw new Error(`Cannot find character ${t} from index ${i} in ${JSON.stringify(e)}`)}function Ln(e){return e.slice(0,1).toLowerCase()+e.slice(1)}function Di(e){let{start:t,end:i}=e;return{start:t,end:i,range:[t,i]}}function At(e){return!!e.extra?.parenthesized}function mt(e){return e.type==="TSNonNullExpression"&&!At(e)?mt(e.expression):(e.type==="OptionalCallExpression"||e.type==="OptionalMemberExpression")&&!At(e)}function Pn(e,t){return e==null||t==null?e==t:e.isEquivalent(t)}function Tn(e,t,i){let n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(!i(e[r],t[r]))return!1;return!0}function ne(e,t){return Tn(e,t,(i,n)=>i.isEquivalent(n))}function Pr(e){return e>=zi&&e<=Gi||e==en}function U(e){return yr<=e&&e<=Er}function at(e){return e>=Ji&&e<=Zi||e>=vt&&e<=gt}function ti(e){return e===Yi||e===_i||e===st}function Ur(e){return{kind:o.Statement,statement:e,...jr}}function Gr(e,t){Ce(e,(i,n)=>(t(i,n),i),$.None)}function Me(e,t,i){for(let n=0;n<e.expressions.length;n++)e.expressions[n]=(e.expressions[n],void 0)}function Ce(e,t,i){switch(e.kind){case o.StyleProp:case o.StyleMap:case o.ClassProp:case o.ClassMap:case o.AnimationString:case o.AnimationBinding:case o.Binding:e.expression instanceof we?Me(e.expression,t,i):e.expression=(e.expression,void 0);break;case o.Property:case o.DomProperty:case o.Attribute:e.expression instanceof we?Me(e.expression,t,i):e.expression=(e.expression,void 0),e.sanitizer=e.sanitizer&&(e.sanitizer,void 0);break;case o.TwoWayProperty:e.expression=(e.expression,void 0),e.sanitizer=e.sanitizer&&(e.sanitizer,void 0);break;case o.I18nExpression:e.expression=(e.expression,void 0);break;case o.InterpolateText:Me(e.interpolation,t,i);break;case o.Statement:pt(e.statement,t,i);break;case o.Variable:e.initializer=(e.initializer,void 0);break;case o.Conditional:for(let n of e.conditions)n.expr!==null&&(n.expr=(n.expr,void 0));e.processed!==null&&(e.processed=(e.processed,void 0)),e.contextValue!==null&&(e.contextValue=(e.contextValue,void 0));break;case o.Animation:case o.AnimationListener:case o.Listener:case o.TwoWayListener:for(let n of e.handlerOps)Ce(n,t,i|$.InChildOperation);break;case o.ExtractedAttribute:e.expression=e.expression&&(e.expression,void 0),e.trustedValueFn=e.trustedValueFn&&(e.trustedValueFn,void 0);break;case o.RepeaterCreate:if(e.trackByOps===null)e.track=(e.track,void 0);else for(let n of e.trackByOps)Ce(n,t,i|$.InChildOperation);e.trackByFn!==null&&(e.trackByFn=(e.trackByFn,void 0));break;case o.Repeater:e.collection=(e.collection,void 0);break;case o.Defer:e.loadingConfig!==null&&(e.loadingConfig=(e.loadingConfig,void 0)),e.placeholderConfig!==null&&(e.placeholderConfig=(e.placeholderConfig,void 0)),e.resolverFn!==null&&(e.resolverFn=(e.resolverFn,void 0));break;case o.I18nMessage:for(let[n,r]of e.params)e.params.set(n,void 0);for(let[n,r]of e.postprocessingParams)e.postprocessingParams.set(n,void 0);break;case o.DeferWhen:e.expr=(e.expr,void 0);break;case o.StoreLet:e.value=(e.value,void 0);break;case o.Advance:case o.Container:case o.ContainerEnd:case o.ContainerStart:case o.DeferOn:case o.DisableBindings:case o.Element:case o.ElementEnd:case o.ElementStart:case o.EnableBindings:case o.I18n:case o.I18nApply:case o.I18nContext:case o.I18nEnd:case o.I18nStart:case o.IcuEnd:case o.IcuStart:case o.Namespace:case o.Pipe:case o.Projection:case o.ProjectionDef:case o.Template:case o.Text:case o.I18nAttributes:case o.IcuPlaceholder:case o.DeclareLet:case o.SourceLocation:case o.ConditionalCreate:case o.ConditionalBranchCreate:case o.Control:case o.ControlCreate:break;default:throw new Error(`AssertionError: transformExpressionsInOp doesn't handle ${o[e.kind]}`)}}function pt(e,t,i){if(e instanceof Vi)e.expr=(e.expr,void 0);else if(e instanceof $i)e.value=(e.value,void 0);else if(e instanceof jn)e.value!==void 0&&(e.value=(e.value,void 0));else if(e instanceof zn){e.condition=(e.condition,void 0);for(let n of e.trueCase)pt(n,t,i);for(let n of e.falseCase)pt(n,t,i)}else throw new Error(`Unhandled statement kind: ${e.constructor.name}`)}function le(e,t,i){return new b(e,t,h.Character,i,String.fromCharCode(i))}function Xr(e,t,i){return new b(e,t,h.Identifier,0,i)}function Jr(e,t,i){return new b(e,t,h.PrivateIdentifier,0,i)}function Zr(e,t,i){return new b(e,t,h.Keyword,0,i)}function D(e,t,i){return new b(e,t,h.Operator,0,i)}function es(e,t,i){return new b(e,t,h.Number,i,"")}function ts(e,t,i){return new b(e,t,h.Error,0,i)}function is(e,t,i){return new b(e,t,h.RegExpBody,0,i)}function ns(e,t,i){return new b(e,t,h.RegExpFlags,0,i)}function xi(e){return Ji<=e&&e<=Zi||vt<=e&&e<=gt||e==Ie||e==xt}function vi(e){return at(e)||U(e)||e==Ie||e==xt}function ss(e){return e==Sr||e==wr}function as(e){return e==Xi||e==Qi}function os(e){switch(e){case Ir:return ge;case Nr:return dr;case Ar:return mr;case Or:return zi;case Lr:return hr;default:return e}}function ls(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function V(e){return e.start.toString()||"(unknown)"}function te(e,t,i,n){i.length>0&&(i=` ${i} `);let r=V(n),a=`Parser Error: ${e}${i}[${t}] in ${r}`;return new nn(n,a)}function hs(e){let t=new Map,i=0,n=0,r=0;for(;r<e.length;){let a=e[r];if(a.type===9){let[u,p]=a.parts;i+=p.length,n+=u.length}else{let u=a.parts.reduce((p,d)=>p+d.length,0);n+=u,i+=u}t.set(n,i),r++}return t}function k(e){return t=>t.kind===e}function fe(e,t){return i=>i.kind===e&&t===i.expression instanceof we}function ms(e){return(e.kind===o.Property||e.kind===o.TwoWayProperty)&&!(e.expression instanceof we)}function Se(e){return e.slice(e.length-1)}function hn(e){let t=new kr(e,fs),i=new Tr(t,0,0,0),n=i.moveBy(e.length);return{text:e,file:t,start:i,end:n,sourceSpan:new Rr(i,n)}}function dn(){return Ni??(Ni=new Et(new cn))}function vs(e){let t=xs(e);return t===null?[]:[{type:"CommentLine",value:e.slice(t+2),...Di({start:t,end:e.length})}]}function mn(e){let{result:t}=e;if(t.errors.length!==0){let[i]=t.errors;if(!(i instanceof nn))throw i;let{message:n}=i;{let u=n.match(/ in .*?@\d+:\d+$/);u&&(n=n.slice(0,u.index))}let r=e.start;{let u=n.match(/at column (?<index>\d+)/);u&&(n=n.slice(0,u.index),r=r.moveBy(Number(u.groups.index)))}let a=new SyntaxError(n.trim(),{cause:i});throw Object.assign(a,{location:r,span:i.span}),a.cause??(a.cause=i),a}return e}function fa(e){return this[e<0?this.length+e:e]}function Ai(e){return e instanceof ji}function Oi(e){return e instanceof rt}function ya(e,t){return new ga(e,t).expressions}function yn(e){let t=e.range?.[0]??e.start,i=(e.declaration?.decorators??e.decorators)?.[0];return i?Math.min(yn(i),t):t}function Sa(e){return e.range?.[1]??e.end}function Pe(e){return{astFormat:"estree",parse(t){let i=e(t),{comments:n}=i;return delete i.comments,e===gn&&i.type!=="NGChainedExpression"&&(i={...i,type:"NGChainedExpression",expressions:[i]}),{type:"NGRoot",node:i,comments:n}},locStart:yn,locEnd:Sa}}var Cn,Sn,Nn,Ri,Bi,dt,Q,Te,It,g,In,An,Mi,La,Ot,bt,Lt,T,Pt,Tt,kt,Rt,Bt,Mt,Dt,Ft,c,w,kn,Rn,Bn,Mn,Dn,Vt,Fn,Vn,y,qn,$n,Kn,Hn,Wn,Un,re,Ne,jn,Vi,$i,zn,Pa,s,l,Gn,Ta,qt,xe,x,ft,O,it,_n,Yn,Qn,ke,Xn,$t,Jn,de,Zn,P,er,tr,ir,nr,N,Re,Kt,Ht,Wt,rr,sr,ar,Ut,jt,zt,Ui,or,lr,ur,G,J,rt,ji,cr,Gt,_t,R,Yt,pr,oe,zi,ge,hr,dr,mr,Gi,fr,_i,xr,xt,vr,Qt,Yi,j,L,Xt,Qi,F,Xi,W,ye,z,he,gr,E,Jt,Zt,yr,Er,vt,wr,gt,ie,Be,_,Cr,Ie,Ji,Sr,Nr,Ir,Ar,Or,br,Lr,Zi,me,ei,Z,en,st,Tr,kr,Rr,Ee,nn,ii,ni,ri,Br,rn,Mr,ot,Dr,Fr,yt,ka,Ra,Vr,Ba,qr,Ma,sn,Da,Fa,$r,Kr,Hr,Va,qa,$a,o,Y,si,ai,B,oi,li,ui,ci,M,pi,hi,Wr,jr,zr,an,se,Ae,Ka,Ha,Wa,we,ve,Ua,ja,za,Ga,_a,$,Ya,di,mi,Qa,Xa,Ja,Za,eo,_r,Yr,fi,un,to,io,h,q,Qr,cn,b,De,ue,rs,us,cs,Et,ee,gi,ce,ps,ds,no,ro,so,ao,oo,lo,uo,co,po,ho,mo,yi,fo,xo,Ei,wi,pn,vo,go,Ci,Si,yo,fs,Ni,xs,Oe,gs,ys,Es,ws,Cs,fn,Ii,Ss,Ns,Is,As,Os,bs,Ls,Ps,Ts,xn,ks,Rs,Bs,Ms,Ds,Fs,Vs,qs,$s,Ks,Hs,Ws,be,Us,js,zs,Gs,_s,Ys,Qs,Xs,Js,Zs,ea,ta,ia,wt,na,ra,sa,aa,oa,la,ua,ca,vn,pa,ha,da,ma,xa,va,pe,X,v,bi,S,Fe,Ve,qe,Li,Pi,Ti,ki,$e,ga,Le,gn,Ea,Eo,wa,Ca,Na,Ia,Aa,Oa,ba=wn(()=>{Nt();Cn=Object.defineProperty,Sn=Object.getPrototypeOf,Nn=Reflect.get,Ri=e=>{throw TypeError(e)},Bi=(e,t)=>{for(var i in t)Cn(e,i,{get:t[i],enumerable:!0})},dt=(e,t,i)=>t.has(e)||Ri("Cannot "+i),Q=(e,t,i)=>(dt(e,t,"read from private field"),i?i.call(e):t.get(e)),Te=(e,t,i)=>t.has(e)?Ri("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),It=(e,t,i,n)=>(dt(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),g=(e,t,i)=>(dt(e,t,"access private method"),i),In=(e,t,i)=>Nn(Sn(e),i,t),An={};Bi(An,{parsers:()=>Mi});Mi={};Bi(Mi,{__ng_action:()=>Na,__ng_binding:()=>Ia,__ng_directive:()=>Oa,__ng_interpolation:()=>Aa});La=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g");(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"})(Ot||(Ot={}));(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e[e.Eager=1]="Eager"})(bt||(bt={}));(function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(Lt||(Lt={}));(function(e){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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING"})(T||(T={}));(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(Pt||(Pt={}));(function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"})(Tt||(Tt={}));(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(kt||(kt={}));(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"})(Rt||(Rt={}));(function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"})(Bt||(Bt={}));(function(e){e[e.None=0]="None",e[e.Const=1]="Const"})(Mt||(Mt={}));(function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"})(Dt||(Dt={}));(function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"})(Ft||(Ft={}));(function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Assign=2]="Assign",e[e.Identical=3]="Identical",e[e.NotIdentical=4]="NotIdentical",e[e.Minus=5]="Minus",e[e.Plus=6]="Plus",e[e.Divide=7]="Divide",e[e.Multiply=8]="Multiply",e[e.Modulo=9]="Modulo",e[e.And=10]="And",e[e.Or=11]="Or",e[e.BitwiseOr=12]="BitwiseOr",e[e.BitwiseAnd=13]="BitwiseAnd",e[e.Lower=14]="Lower",e[e.LowerEquals=15]="LowerEquals",e[e.Bigger=16]="Bigger",e[e.BiggerEquals=17]="BiggerEquals",e[e.NullishCoalesce=18]="NullishCoalesce",e[e.Exponentiation=19]="Exponentiation",e[e.In=20]="In",e[e.InstanceOf=21]="InstanceOf",e[e.AdditionAssignment=22]="AdditionAssignment",e[e.SubtractionAssignment=23]="SubtractionAssignment",e[e.MultiplicationAssignment=24]="MultiplicationAssignment",e[e.DivisionAssignment=25]="DivisionAssignment",e[e.RemainderAssignment=26]="RemainderAssignment",e[e.ExponentiationAssignment=27]="ExponentiationAssignment",e[e.AndAssignment=28]="AndAssignment",e[e.OrAssignment=29]="OrAssignment",e[e.NullishCoalesceAssignment=30]="NullishCoalesceAssignment"})(c||(c={}));w=class{type;sourceSpan;constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new qn(this,e,null,t)}key(e,t,i){return new $n(this,e,t,i)}callFn(e,t,i){return new Bn(this,e,null,t,i)}instantiate(e,t,i){return new Mn(this,e,t,i)}conditional(e,t=null,i){return new Vn(this,e,t,null,i)}equals(e,t){return new y(c.Equals,this,e,null,t)}notEquals(e,t){return new y(c.NotEquals,this,e,null,t)}identical(e,t){return new y(c.Identical,this,e,null,t)}notIdentical(e,t){return new y(c.NotIdentical,this,e,null,t)}minus(e,t){return new y(c.Minus,this,e,null,t)}plus(e,t){return new y(c.Plus,this,e,null,t)}divide(e,t){return new y(c.Divide,this,e,null,t)}multiply(e,t){return new y(c.Multiply,this,e,null,t)}modulo(e,t){return new y(c.Modulo,this,e,null,t)}power(e,t){return new y(c.Exponentiation,this,e,null,t)}and(e,t){return new y(c.And,this,e,null,t)}bitwiseOr(e,t){return new y(c.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new y(c.BitwiseAnd,this,e,null,t)}or(e,t){return new y(c.Or,this,e,null,t)}lower(e,t){return new y(c.Lower,this,e,null,t)}lowerEquals(e,t){return new y(c.LowerEquals,this,e,null,t)}bigger(e,t){return new y(c.Bigger,this,e,null,t)}biggerEquals(e,t){return new y(c.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(TYPED_NULL_EXPR,e)}nullishCoalesce(e,t){return new y(c.NullishCoalesce,this,e,null,t)}toStmt(){return new Vi(this,null)}},kn=class Ke extends w{name;constructor(t,i,n){super(i,n),this.name=t}isEquivalent(t){return t instanceof Ke&&this.name===t.name}isConstant(){return!1}visitExpression(t,i){return t.visitReadVarExpr(this,i)}clone(){return new Ke(this.name,this.type,this.sourceSpan)}set(t){return new y(c.Assign,this,t,null,this.sourceSpan)}},Rn=class He extends w{expr;constructor(t,i,n){super(i,n),this.expr=t}visitExpression(t,i){return t.visitTypeofExpr(this,i)}isEquivalent(t){return t instanceof He&&t.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new He(this.expr.clone())}},Bn=class We extends w{fn;args;pure;constructor(t,i,n,r,a=!1){super(n,r),this.fn=t,this.args=i,this.pure=a}get receiver(){return this.fn}isEquivalent(t){return t instanceof We&&this.fn.isEquivalent(t.fn)&&ne(this.args,t.args)&&this.pure===t.pure}isConstant(){return!1}visitExpression(t,i){return t.visitInvokeFunctionExpr(this,i)}clone(){return new We(this.fn.clone(),this.args.map(t=>t.clone()),this.type,this.sourceSpan,this.pure)}},Mn=class Ue extends w{classExpr;args;constructor(t,i,n,r){super(n,r),this.classExpr=t,this.args=i}isEquivalent(t){return t instanceof Ue&&this.classExpr.isEquivalent(t.classExpr)&&ne(this.args,t.args)}isConstant(){return!1}visitExpression(t,i){return t.visitInstantiateExpr(this,i)}clone(){return new Ue(this.classExpr.clone(),this.args.map(t=>t.clone()),this.type,this.sourceSpan)}},Dn=class je extends w{body;flags;constructor(t,i,n){super(null,n),this.body=t,this.flags=i}isEquivalent(t){return t instanceof je&&this.body===t.body&&this.flags===t.flags}isConstant(){return!0}visitExpression(t,i){return t.visitRegularExpressionLiteral(this,i)}clone(){return new je(this.body,this.flags,this.sourceSpan)}},Vt=class ze extends w{value;constructor(t,i,n){super(i,n),this.value=t}isEquivalent(t){return t instanceof ze&&this.value===t.value}isConstant(){return!0}visitExpression(t,i){return t.visitLiteralExpr(this,i)}clone(){return new ze(this.value,this.type,this.sourceSpan)}},Fn=class Ge extends w{value;typeParams;constructor(t,i,n=null,r){super(i,r),this.value=t,this.typeParams=n}isEquivalent(t){return t instanceof Ge&&this.value.name===t.value.name&&this.value.moduleName===t.value.moduleName}isConstant(){return!1}visitExpression(t,i){return t.visitExternalExpr(this,i)}clone(){return new Ge(this.value,this.type,this.typeParams,this.sourceSpan)}},Vn=class _e extends w{condition;falseCase;trueCase;constructor(t,i,n=null,r,a){super(r||i.type,a),this.condition=t,this.falseCase=n,this.trueCase=i}isEquivalent(t){return t instanceof _e&&this.condition.isEquivalent(t.condition)&&this.trueCase.isEquivalent(t.trueCase)&&Pn(this.falseCase,t.falseCase)}isConstant(){return!1}visitExpression(t,i){return t.visitConditionalExpr(this,i)}clone(){return new _e(this.condition.clone(),this.trueCase.clone(),this.falseCase?.clone(),this.type,this.sourceSpan)}},y=class Ye extends w{operator;rhs;lhs;constructor(t,i,n,r,a){super(r||i.type,a),this.operator=t,this.rhs=n,this.lhs=i}isEquivalent(t){return t instanceof Ye&&this.operator===t.operator&&this.lhs.isEquivalent(t.lhs)&&this.rhs.isEquivalent(t.rhs)}isConstant(){return!1}visitExpression(t,i){return t.visitBinaryOperatorExpr(this,i)}clone(){return new Ye(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}isAssignment(){let t=this.operator;return t===c.Assign||t===c.AdditionAssignment||t===c.SubtractionAssignment||t===c.MultiplicationAssignment||t===c.DivisionAssignment||t===c.RemainderAssignment||t===c.ExponentiationAssignment||t===c.AndAssignment||t===c.OrAssignment||t===c.NullishCoalesceAssignment}},qn=class Qe extends w{receiver;name;constructor(t,i,n,r){super(n,r),this.receiver=t,this.name=i}get index(){return this.name}isEquivalent(t){return t instanceof Qe&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name}isConstant(){return!1}visitExpression(t,i){return t.visitReadPropExpr(this,i)}set(t){return new y(c.Assign,this.receiver.prop(this.name),t,null,this.sourceSpan)}clone(){return new Qe(this.receiver.clone(),this.name,this.type,this.sourceSpan)}},$n=class Xe extends w{receiver;index;constructor(t,i,n,r){super(n,r),this.receiver=t,this.index=i}isEquivalent(t){return t instanceof Xe&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)}isConstant(){return!1}visitExpression(t,i){return t.visitReadKeyExpr(this,i)}set(t){return new y(c.Assign,this.receiver.key(this.index),t,null,this.sourceSpan)}clone(){return new Xe(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}},Kn=class Je extends w{entries;constructor(t,i,n){super(i,n),this.entries=t}isConstant(){return this.entries.every(t=>t.isConstant())}isEquivalent(t){return t instanceof Je&&ne(this.entries,t.entries)}visitExpression(t,i){return t.visitLiteralArrayExpr(this,i)}clone(){return new Je(this.entries.map(t=>t.clone()),this.type,this.sourceSpan)}},Hn=class Ze{expression;constructor(t){this.expression=t}isEquivalent(t){return t instanceof Ze&&this.expression.isEquivalent(t.expression)}clone(){return new Ze(this.expression.clone())}isConstant(){return this.expression.isConstant()}},Wn=class et extends w{entries;valueType=null;constructor(t,i,n){super(i,n),this.entries=t,i&&(this.valueType=i.valueType)}isEquivalent(t){return t instanceof et&&ne(this.entries,t.entries)}isConstant(){return this.entries.every(t=>t.isConstant())}visitExpression(t,i){return t.visitLiteralMapExpr(this,i)}clone(){let t=this.entries.map(i=>i.clone());return new et(t,this.type,this.sourceSpan)}},Un=class tt extends w{expression;constructor(t,i){super(null,i),this.expression=t}isEquivalent(t){return t instanceof tt&&this.expression.isEquivalent(t.expression)}isConstant(){return this.expression.isConstant()}visitExpression(t,i){return t.visitSpreadElementExpr(this,i)}clone(){return new tt(this.expression.clone(),this.sourceSpan)}};(function(e){e[e.None=0]="None",e[e.Final=1]="Final",e[e.Private=2]="Private",e[e.Exported=4]="Exported",e[e.Static=8]="Static"})(re||(re={}));Ne=class{modifiers;sourceSpan;leadingComments;constructor(e=re.None,t=null,i){this.modifiers=e,this.sourceSpan=t,this.leadingComments=i}hasModifier(e){return(this.modifiers&e)!==0}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}},jn=class Fi extends Ne{name;value;type;constructor(t,i,n,r,a,u){super(r,a,u),this.name=t,this.value=i,this.type=n||i&&i.type||null}isEquivalent(t){return t instanceof Fi&&this.name===t.name&&(this.value?!!t.value&&this.value.isEquivalent(t.value):!t.value)}visitStatement(t,i){return t.visitDeclareVarStmt(this,i)}},Vi=class qi extends Ne{expr;constructor(t,i,n){super(re.None,i,n),this.expr=t}isEquivalent(t){return t instanceof qi&&this.expr.isEquivalent(t.expr)}visitStatement(t,i){return t.visitExpressionStmt(this,i)}},$i=class Ki extends Ne{value;constructor(t,i=null,n){super(re.None,i,n),this.value=t}isEquivalent(t){return t instanceof Ki&&this.value.isEquivalent(t.value)}visitStatement(t,i){return t.visitReturnStmt(this,i)}},zn=class Hi extends Ne{condition;trueCase;falseCase;constructor(t,i,n=[],r,a){super(re.None,r,a),this.condition=t,this.trueCase=i,this.falseCase=n}isEquivalent(t){return t instanceof Hi&&this.condition.isEquivalent(t.condition)&&ne(this.trueCase,t.trueCase)&&ne(this.falseCase,t.falseCase)}visitStatement(t,i){return t.visitIfStmt(this,i)}},Pa=class Wi{static INSTANCE=new Wi;keyOf(t){if(t instanceof Vt&&typeof t.value=="string")return`"${t.value}"`;if(t instanceof Vt)return String(t.value);if(t instanceof Dn)return`/${t.body}/${t.flags??""}`;if(t instanceof Kn){let i=[];for(let n of t.entries)i.push(this.keyOf(n));return`[${i.join(",")}]`}else if(t instanceof Wn){let i=[];for(let n of t.entries)if(n instanceof Hn)i.push("..."+this.keyOf(n.expression));else{let r=n.key;n.quoted&&(r=`"${r}"`),i.push(r+":"+this.keyOf(n.value))}return`{${i.join(",")}}`}else{if(t instanceof Fn)return`import("${t.value.moduleName}", ${t.value.name})`;if(t instanceof kn)return`read(${t.name})`;if(t instanceof Rn)return`typeof(${this.keyOf(t.expr)})`;if(t instanceof Un)return`...${this.keyOf(t.expression)}`;throw new Error(`${this.constructor.name} does not handle expressions of type ${t.constructor.name}`)}}},s="@angular/core",l=class{static core={name:null,moduleName:s};static namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:s};static namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:s};static namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:s};static element={name:"\u0275\u0275element",moduleName:s};static elementStart={name:"\u0275\u0275elementStart",moduleName:s};static elementEnd={name:"\u0275\u0275elementEnd",moduleName:s};static domElement={name:"\u0275\u0275domElement",moduleName:s};static domElementStart={name:"\u0275\u0275domElementStart",moduleName:s};static domElementEnd={name:"\u0275\u0275domElementEnd",moduleName:s};static domElementContainer={name:"\u0275\u0275domElementContainer",moduleName:s};static domElementContainerStart={name:"\u0275\u0275domElementContainerStart",moduleName:s};static domElementContainerEnd={name:"\u0275\u0275domElementContainerEnd",moduleName:s};static domTemplate={name:"\u0275\u0275domTemplate",moduleName:s};static domListener={name:"\u0275\u0275domListener",moduleName:s};static advance={name:"\u0275\u0275advance",moduleName:s};static syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:s};static syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:s};static attribute={name:"\u0275\u0275attribute",moduleName:s};static classProp={name:"\u0275\u0275classProp",moduleName:s};static elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:s};static elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:s};static elementContainer={name:"\u0275\u0275elementContainer",moduleName:s};static styleMap={name:"\u0275\u0275styleMap",moduleName:s};static classMap={name:"\u0275\u0275classMap",moduleName:s};static styleProp={name:"\u0275\u0275styleProp",moduleName:s};static interpolate={name:"\u0275\u0275interpolate",moduleName:s};static interpolate1={name:"\u0275\u0275interpolate1",moduleName:s};static interpolate2={name:"\u0275\u0275interpolate2",moduleName:s};static interpolate3={name:"\u0275\u0275interpolate3",moduleName:s};static interpolate4={name:"\u0275\u0275interpolate4",moduleName:s};static interpolate5={name:"\u0275\u0275interpolate5",moduleName:s};static interpolate6={name:"\u0275\u0275interpolate6",moduleName:s};static interpolate7={name:"\u0275\u0275interpolate7",moduleName:s};static interpolate8={name:"\u0275\u0275interpolate8",moduleName:s};static interpolateV={name:"\u0275\u0275interpolateV",moduleName:s};static nextContext={name:"\u0275\u0275nextContext",moduleName:s};static resetView={name:"\u0275\u0275resetView",moduleName:s};static templateCreate={name:"\u0275\u0275template",moduleName:s};static defer={name:"\u0275\u0275defer",moduleName:s};static deferWhen={name:"\u0275\u0275deferWhen",moduleName:s};static deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:s};static deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:s};static deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:s};static deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:s};static deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:s};static deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:s};static deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:s};static deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:s};static deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:s};static deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:s};static deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:s};static deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:s};static deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:s};static deferHydrateWhen={name:"\u0275\u0275deferHydrateWhen",moduleName:s};static deferHydrateNever={name:"\u0275\u0275deferHydrateNever",moduleName:s};static deferHydrateOnIdle={name:"\u0275\u0275deferHydrateOnIdle",moduleName:s};static deferHydrateOnImmediate={name:"\u0275\u0275deferHydrateOnImmediate",moduleName:s};static deferHydrateOnTimer={name:"\u0275\u0275deferHydrateOnTimer",moduleName:s};static deferHydrateOnHover={name:"\u0275\u0275deferHydrateOnHover",moduleName:s};static deferHydrateOnInteraction={name:"\u0275\u0275deferHydrateOnInteraction",moduleName:s};static deferHydrateOnViewport={name:"\u0275\u0275deferHydrateOnViewport",moduleName:s};static deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:s};static conditionalCreate={name:"\u0275\u0275conditionalCreate",moduleName:s};static conditionalBranchCreate={name:"\u0275\u0275conditionalBranchCreate",moduleName:s};static conditional={name:"\u0275\u0275conditional",moduleName:s};static repeater={name:"\u0275\u0275repeater",moduleName:s};static repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:s};static repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:s};static repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:s};static componentInstance={name:"\u0275\u0275componentInstance",moduleName:s};static text={name:"\u0275\u0275text",moduleName:s};static enableBindings={name:"\u0275\u0275enableBindings",moduleName:s};static disableBindings={name:"\u0275\u0275disableBindings",moduleName:s};static getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:s};static textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:s};static textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:s};static textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:s};static textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:s};static textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:s};static textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:s};static textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:s};static textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:s};static textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:s};static textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:s};static restoreView={name:"\u0275\u0275restoreView",moduleName:s};static pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:s};static pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:s};static pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:s};static pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:s};static pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:s};static pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:s};static pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:s};static pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:s};static pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:s};static pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:s};static pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:s};static pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:s};static pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:s};static pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:s};static pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:s};static domProperty={name:"\u0275\u0275domProperty",moduleName:s};static ariaProperty={name:"\u0275\u0275ariaProperty",moduleName:s};static property={name:"\u0275\u0275property",moduleName:s};static control={name:"\u0275\u0275control",moduleName:s};static controlCreate={name:"\u0275\u0275controlCreate",moduleName:s};static animationEnterListener={name:"\u0275\u0275animateEnterListener",moduleName:s};static animationLeaveListener={name:"\u0275\u0275animateLeaveListener",moduleName:s};static animationEnter={name:"\u0275\u0275animateEnter",moduleName:s};static animationLeave={name:"\u0275\u0275animateLeave",moduleName:s};static i18n={name:"\u0275\u0275i18n",moduleName:s};static i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:s};static i18nExp={name:"\u0275\u0275i18nExp",moduleName:s};static i18nStart={name:"\u0275\u0275i18nStart",moduleName:s};static i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:s};static i18nApply={name:"\u0275\u0275i18nApply",moduleName:s};static i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:s};static pipe={name:"\u0275\u0275pipe",moduleName:s};static projection={name:"\u0275\u0275projection",moduleName:s};static projectionDef={name:"\u0275\u0275projectionDef",moduleName:s};static reference={name:"\u0275\u0275reference",moduleName:s};static inject={name:"\u0275\u0275inject",moduleName:s};static injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:s};static directiveInject={name:"\u0275\u0275directiveInject",moduleName:s};static invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:s};static invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:s};static templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:s};static forwardRef={name:"forwardRef",moduleName:s};static resolveForwardRef={name:"resolveForwardRef",moduleName:s};static replaceMetadata={name:"\u0275\u0275replaceMetadata",moduleName:s};static getReplaceMetadataURL={name:"\u0275\u0275getReplaceMetadataURL",moduleName:s};static \u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:s};static declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:s};static InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:s};static resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:s};static resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:s};static resolveBody={name:"\u0275\u0275resolveBody",moduleName:s};static getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:s};static defineComponent={name:"\u0275\u0275defineComponent",moduleName:s};static declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:s};static setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:s};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:s};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:s};static ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:s};static FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:s};static declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:s};static FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:s};static defineDirective={name:"\u0275\u0275defineDirective",moduleName:s};static declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:s};static DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:s};static InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:s};static InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:s};static defineInjector={name:"\u0275\u0275defineInjector",moduleName:s};static declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:s};static NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:s};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:s};static defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:s};static declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:s};static setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:s};static registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:s};static PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:s};static definePipe={name:"\u0275\u0275definePipe",moduleName:s};static declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:s};static declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:s};static declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:s};static setClassMetadata={name:"\u0275setClassMetadata",moduleName:s};static setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:s};static setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:s};static queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:s};static viewQuery={name:"\u0275\u0275viewQuery",moduleName:s};static loadQuery={name:"\u0275\u0275loadQuery",moduleName:s};static contentQuery={name:"\u0275\u0275contentQuery",moduleName:s};static viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:s};static contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:s};static queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:s};static twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:s};static twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:s};static twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:s};static declareLet={name:"\u0275\u0275declareLet",moduleName:s};static storeLet={name:"\u0275\u0275storeLet",moduleName:s};static readContextLet={name:"\u0275\u0275readContextLet",moduleName:s};static arrowFunction={name:"\u0275\u0275arrowFunction",moduleName:s};static attachSourceLocations={name:"\u0275\u0275attachSourceLocations",moduleName:s};static NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:s};static ControlFeature={name:"\u0275\u0275ControlFeature",moduleName:s};static InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:s};static ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:s};static HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:s};static ExternalStylesFeature={name:"\u0275\u0275ExternalStylesFeature",moduleName:s};static listener={name:"\u0275\u0275listener",moduleName:s};static getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:s};static sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:s};static sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:s};static validateAttribute={name:"\u0275\u0275validateAttribute",moduleName:s};static sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:s};static sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:s};static sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:s};static sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:s};static trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:s};static trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:s};static inputDecorator={name:"Input",moduleName:s};static outputDecorator={name:"Output",moduleName:s};static viewChildDecorator={name:"ViewChild",moduleName:s};static viewChildrenDecorator={name:"ViewChildren",moduleName:s};static contentChildDecorator={name:"ContentChild",moduleName:s};static contentChildrenDecorator={name:"ContentChildren",moduleName:s};static InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:s};static UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:s};static unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:s};static assertType={name:"\u0275assertType",moduleName:s}},Gn=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Ta=new Map([[c.And,"&&"],[c.Bigger,">"],[c.BiggerEquals,">="],[c.BitwiseOr,"|"],[c.BitwiseAnd,"&"],[c.Divide,"/"],[c.Assign,"="],[c.Equals,"=="],[c.Identical,"==="],[c.Lower,"<"],[c.LowerEquals,"<="],[c.Minus,"-"],[c.Modulo,"%"],[c.Exponentiation,"**"],[c.Multiply,"*"],[c.NotEquals,"!="],[c.NotIdentical,"!=="],[c.NullishCoalesce,"??"],[c.Or,"||"],[c.Plus,"+"],[c.In,"in"],[c.InstanceOf,"instanceof"],[c.AdditionAssignment,"+="],[c.SubtractionAssignment,"-="],[c.MultiplicationAssignment,"*="],[c.DivisionAssignment,"/="],[c.RemainderAssignment,"%="],[c.ExponentiationAssignment,"**="],[c.AndAssignment,"&&="],[c.OrAssignment,"||="],[c.NullishCoalesceAssignment,"??="]]);(function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"})(qt||(qt={}));xe=class{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new G(e+this.start,e+this.end)}},x=class{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},ft=class extends x{nameSpan;constructor(e,t,i){super(e,t),this.nameSpan=i}},O=class extends x{visit(e,t=null){return e.visitEmptyExpr?.(this,t)}},it=class extends x{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},_n=class extends x{visit(e,t=null){return e.visitThisReceiver?.(this,t)}},Yn=class extends x{expressions;constructor(e,t,i){super(e,t),this.expressions=i}visit(e,t=null){return e.visitChain(this,t)}},Qn=class extends x{condition;trueExp;falseExp;constructor(e,t,i,n,r){super(e,t),this.condition=i,this.trueExp=n,this.falseExp=r}visit(e,t=null){return e.visitConditional(this,t)}},ke=class extends ft{receiver;name;constructor(e,t,i,n,r){super(e,t,i),this.receiver=n,this.name=r}visit(e,t=null){return e.visitPropertyRead(this,t)}},Xn=class extends ft{receiver;name;constructor(e,t,i,n,r){super(e,t,i),this.receiver=n,this.name=r}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},$t=class extends x{receiver;key;constructor(e,t,i,n){super(e,t),this.receiver=i,this.key=n}visit(e,t=null){return e.visitKeyedRead(this,t)}},Jn=class extends x{receiver;key;constructor(e,t,i,n){super(e,t),this.receiver=i,this.key=n}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}};(function(e){e[e.ReferencedByName=0]="ReferencedByName",e[e.ReferencedDirectly=1]="ReferencedDirectly"})(de||(de={}));Zn=class extends ft{exp;name;args;type;constructor(e,t,i,n,r,a,u){super(e,t,u),this.exp=i,this.name=n,this.args=r,this.type=a}visit(e,t=null){return e.visitPipe(this,t)}},P=class extends x{value;constructor(e,t,i){super(e,t),this.value=i}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},er=class extends x{expressions;constructor(e,t,i){super(e,t),this.expressions=i}visit(e,t=null){return e.visitLiteralArray(this,t)}},tr=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitSpreadElement(this,t)}},ir=class extends x{keys;values;constructor(e,t,i,n){super(e,t),this.keys=i,this.values=n}visit(e,t=null){return e.visitLiteralMap(this,t)}},nr=class extends x{strings;expressions;constructor(e,t,i,n){super(e,t),this.strings=i,this.expressions=n}visit(e,t=null){return e.visitInterpolation(this,t)}},N=class extends x{operation;left;right;constructor(e,t,i,n,r){super(e,t),this.operation=i,this.left=n,this.right=r}visit(e,t=null){return e.visitBinary(this,t)}static isAssignmentOperation(e){return e==="="||e==="+="||e==="-="||e==="*="||e==="/="||e==="%="||e==="**="||e==="&&="||e==="||="||e==="??="}},Re=class nt extends N{operator;expr;left=null;right=null;operation=null;static createMinus(t,i,n){return new nt(t,i,"-",n,"-",new P(t,i,0),n)}static createPlus(t,i,n){return new nt(t,i,"+",n,"-",n,new P(t,i,0))}constructor(t,i,n,r,a,u,p){super(t,i,a,u,p),this.operator=n,this.expr=r}visit(t,i=null){return t.visitUnary!==void 0?t.visitUnary(this,i):t.visitBinary(this,i)}},Kt=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitPrefixNot(this,t)}},Ht=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitTypeofExpression(this,t)}},Wt=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitVoidExpression(this,t)}},rr=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitNonNullAssert(this,t)}},sr=class extends x{receiver;args;argumentSpan;constructor(e,t,i,n,r){super(e,t),this.receiver=i,this.args=n,this.argumentSpan=r}visit(e,t=null){return e.visitCall(this,t)}},ar=class extends x{receiver;args;argumentSpan;constructor(e,t,i,n,r){super(e,t),this.receiver=i,this.args=n,this.argumentSpan=r}visit(e,t=null){return e.visitSafeCall(this,t)}},Ut=class extends x{tag;template;constructor(e,t,i,n){super(e,t),this.tag=i,this.template=n}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}},jt=class extends x{elements;expressions;constructor(e,t,i,n){super(e,t),this.elements=i,this.expressions=n}visit(e,t){return e.visitTemplateLiteral(this,t)}},zt=class extends x{text;constructor(e,t,i){super(e,t),this.text=i}visit(e,t){return e.visitTemplateLiteralElement(this,t)}},Ui=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t){return e.visitParenthesizedExpression(this,t)}},or=class{name;span;sourceSpan;constructor(e,t,i){this.name=e,this.span=t,this.sourceSpan=i}},lr=class extends x{parameters;body;constructor(e,t,i,n){super(e,t),this.parameters=i,this.body=n}visit(e,t){return e.visitArrowFunction(this,t)}},ur=class extends x{body;flags;constructor(e,t,i,n){super(e,t),this.body=i,this.flags=n}visit(e,t){return e.visitRegularExpressionLiteral(this,t)}},G=class{start;end;constructor(e,t){this.start=e,this.end=t}},J=class extends x{ast;source;location;errors;constructor(e,t,i,n,r){super(new xe(0,t===null?0:t.length),new G(n,t===null?n:n+t.length)),this.ast=e,this.source=t,this.location=i,this.errors=r}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},rt=class{sourceSpan;key;value;constructor(e,t,i){this.sourceSpan=e,this.key=t,this.value=i}},ji=class{sourceSpan;key;value;constructor(e,t,i){this.sourceSpan=e,this.key=t,this.value=i}},cr=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let i=0;i<e.elements.length;i++){this.visit(e.elements[i],t);let n=i<e.expressions.length?e.expressions[i]:null;n!==null&&this.visit(n,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitArrowFunction(e,t){this.visit(e.body,t)}visitRegularExpressionLiteral(e,t){}visitSpreadElement(e,t){this.visit(e.expression,t)}visitEmptyExpr(e,t){}visitAll(e,t){for(let i of e)this.visit(i,t)}};(function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.LEGACY_ANIMATION=2]="LEGACY_ANIMATION",e[e.TWO_WAY=3]="TWO_WAY",e[e.ANIMATION=4]="ANIMATION"})(Gt||(Gt={}));(function(e){e[e.Regular=0]="Regular",e[e.LegacyAnimation=1]="LegacyAnimation",e[e.TwoWay=2]="TwoWay",e[e.Animation=3]="Animation"})(_t||(_t={}));(function(e){e[e.Property=0]="Property",e[e.Attribute=1]="Attribute",e[e.Class=2]="Class",e[e.Style=3]="Style",e[e.LegacyAnimation=4]="LegacyAnimation",e[e.TwoWay=5]="TwoWay",e[e.Animation=6]="Animation"})(R||(R={}));(function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"})(Yt||(Yt={}));pr="ctx",oe=0,zi=9,ge=10,hr=11,dr=12,mr=13,Gi=32,fr=33,_i=34,xr=35,xt=36,vr=37,Qt=38,Yi=39,j=40,L=41,Xt=42,Qi=43,F=44,Xi=45,W=46,ye=47,z=58,he=59,gr=60,E=61,Jt=62,Zt=63,yr=48,Er=57,vt=65,wr=69,gt=90,ie=91,Be=92,_=93,Cr=94,Ie=95,Ji=97,Sr=101,Nr=102,Ir=110,Ar=114,Or=116,br=117,Lr=118,Zi=122,me=123,ei=124,Z=125,en=160,st=96;Tr=class tn{file;offset;line;col;constructor(t,i,n,r){this.file=t,this.offset=i,this.line=n,this.col=r}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let i=this.file.content,n=i.length,r=this.offset,a=this.line,u=this.col;for(;r>0&&t<0;)if(r--,t++,i.charCodeAt(r)==ge){a--;let p=i.substring(0,r-1).lastIndexOf(String.fromCharCode(ge));u=p>0?r-p:r}else u--;for(;r<n&&t>0;){let p=i.charCodeAt(r);r++,t--,p==ge?(a++,u=0):u++}return new tn(this.file,r,a,u)}getContext(t,i){let n=this.file.content,r=this.offset;if(r!=null){r>n.length-1&&(r=n.length-1);let a=r,u=0,p=0;for(;u<t&&r>0&&(r--,u++,!(n[r]==`
|
|
1
|
+
import{b as wn,g as Nt}from"./chunk-VKWPEFWQ.js";function On(e){return typeof e=="string"?t=>t===e:t=>e.test(t)}function bn(e,t,i){let n=On(t);for(let r=i;r<e.length;r++){let a=e[r];if(n(a))return r}throw new Error(`Cannot find character ${t} from index ${i} in ${JSON.stringify(e)}`)}function Ln(e){return e.slice(0,1).toLowerCase()+e.slice(1)}function Di(e){let{start:t,end:i}=e;return{start:t,end:i,range:[t,i]}}function At(e){return!!e.extra?.parenthesized}function mt(e){return e.type==="TSNonNullExpression"&&!At(e)?mt(e.expression):(e.type==="OptionalCallExpression"||e.type==="OptionalMemberExpression")&&!At(e)}function Pn(e,t){return e==null||t==null?e==t:e.isEquivalent(t)}function Tn(e,t,i){let n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(!i(e[r],t[r]))return!1;return!0}function ne(e,t){return Tn(e,t,(i,n)=>i.isEquivalent(n))}function Pr(e){return e>=zi&&e<=Gi||e==en}function U(e){return yr<=e&&e<=Er}function at(e){return e>=Ji&&e<=Zi||e>=vt&&e<=gt}function ti(e){return e===Yi||e===_i||e===st}function Ur(e){return{kind:o.Statement,statement:e,...jr}}function Gr(e,t){Ce(e,(i,n)=>(t(i,n),i),$.None)}function Me(e,t,i){for(let n=0;n<e.expressions.length;n++)e.expressions[n]=(e.expressions[n],void 0)}function Ce(e,t,i){switch(e.kind){case o.StyleProp:case o.StyleMap:case o.ClassProp:case o.ClassMap:case o.AnimationString:case o.AnimationBinding:case o.Binding:e.expression instanceof we?Me(e.expression,t,i):e.expression=(e.expression,void 0);break;case o.Property:case o.DomProperty:case o.Attribute:e.expression instanceof we?Me(e.expression,t,i):e.expression=(e.expression,void 0),e.sanitizer=e.sanitizer&&(e.sanitizer,void 0);break;case o.TwoWayProperty:e.expression=(e.expression,void 0),e.sanitizer=e.sanitizer&&(e.sanitizer,void 0);break;case o.I18nExpression:e.expression=(e.expression,void 0);break;case o.InterpolateText:Me(e.interpolation,t,i);break;case o.Statement:pt(e.statement,t,i);break;case o.Variable:e.initializer=(e.initializer,void 0);break;case o.Conditional:for(let n of e.conditions)n.expr!==null&&(n.expr=(n.expr,void 0));e.processed!==null&&(e.processed=(e.processed,void 0)),e.contextValue!==null&&(e.contextValue=(e.contextValue,void 0));break;case o.Animation:case o.AnimationListener:case o.Listener:case o.TwoWayListener:for(let n of e.handlerOps)Ce(n,t,i|$.InChildOperation);break;case o.ExtractedAttribute:e.expression=e.expression&&(e.expression,void 0),e.trustedValueFn=e.trustedValueFn&&(e.trustedValueFn,void 0);break;case o.RepeaterCreate:if(e.trackByOps===null)e.track=(e.track,void 0);else for(let n of e.trackByOps)Ce(n,t,i|$.InChildOperation);e.trackByFn!==null&&(e.trackByFn=(e.trackByFn,void 0));break;case o.Repeater:e.collection=(e.collection,void 0);break;case o.Defer:e.loadingConfig!==null&&(e.loadingConfig=(e.loadingConfig,void 0)),e.placeholderConfig!==null&&(e.placeholderConfig=(e.placeholderConfig,void 0)),e.resolverFn!==null&&(e.resolverFn=(e.resolverFn,void 0));break;case o.I18nMessage:for(let[n,r]of e.params)e.params.set(n,void 0);for(let[n,r]of e.postprocessingParams)e.postprocessingParams.set(n,void 0);break;case o.DeferWhen:e.expr=(e.expr,void 0);break;case o.StoreLet:e.value=(e.value,void 0);break;case o.Advance:case o.Container:case o.ContainerEnd:case o.ContainerStart:case o.DeferOn:case o.DisableBindings:case o.Element:case o.ElementEnd:case o.ElementStart:case o.EnableBindings:case o.I18n:case o.I18nApply:case o.I18nContext:case o.I18nEnd:case o.I18nStart:case o.IcuEnd:case o.IcuStart:case o.Namespace:case o.Pipe:case o.Projection:case o.ProjectionDef:case o.Template:case o.Text:case o.I18nAttributes:case o.IcuPlaceholder:case o.DeclareLet:case o.SourceLocation:case o.ConditionalCreate:case o.ConditionalBranchCreate:case o.Control:case o.ControlCreate:break;default:throw new Error(`AssertionError: transformExpressionsInOp doesn't handle ${o[e.kind]}`)}}function pt(e,t,i){if(e instanceof Vi)e.expr=(e.expr,void 0);else if(e instanceof $i)e.value=(e.value,void 0);else if(e instanceof jn)e.value!==void 0&&(e.value=(e.value,void 0));else if(e instanceof zn){e.condition=(e.condition,void 0);for(let n of e.trueCase)pt(n,t,i);for(let n of e.falseCase)pt(n,t,i)}else throw new Error(`Unhandled statement kind: ${e.constructor.name}`)}function le(e,t,i){return new b(e,t,h.Character,i,String.fromCharCode(i))}function Xr(e,t,i){return new b(e,t,h.Identifier,0,i)}function Jr(e,t,i){return new b(e,t,h.PrivateIdentifier,0,i)}function Zr(e,t,i){return new b(e,t,h.Keyword,0,i)}function D(e,t,i){return new b(e,t,h.Operator,0,i)}function es(e,t,i){return new b(e,t,h.Number,i,"")}function ts(e,t,i){return new b(e,t,h.Error,0,i)}function is(e,t,i){return new b(e,t,h.RegExpBody,0,i)}function ns(e,t,i){return new b(e,t,h.RegExpFlags,0,i)}function xi(e){return Ji<=e&&e<=Zi||vt<=e&&e<=gt||e==Ie||e==xt}function vi(e){return at(e)||U(e)||e==Ie||e==xt}function ss(e){return e==Sr||e==wr}function as(e){return e==Xi||e==Qi}function os(e){switch(e){case Ir:return ge;case Nr:return dr;case Ar:return mr;case Or:return zi;case Lr:return hr;default:return e}}function ls(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function V(e){return e.start.toString()||"(unknown)"}function te(e,t,i,n){i.length>0&&(i=` ${i} `);let r=V(n),a=`Parser Error: ${e}${i}[${t}] in ${r}`;return new nn(n,a)}function hs(e){let t=new Map,i=0,n=0,r=0;for(;r<e.length;){let a=e[r];if(a.type===9){let[u,p]=a.parts;i+=p.length,n+=u.length}else{let u=a.parts.reduce((p,d)=>p+d.length,0);n+=u,i+=u}t.set(n,i),r++}return t}function k(e){return t=>t.kind===e}function fe(e,t){return i=>i.kind===e&&t===i.expression instanceof we}function ms(e){return(e.kind===o.Property||e.kind===o.TwoWayProperty)&&!(e.expression instanceof we)}function Se(e){return e.slice(e.length-1)}function hn(e){let t=new kr(e,fs),i=new Tr(t,0,0,0),n=i.moveBy(e.length);return{text:e,file:t,start:i,end:n,sourceSpan:new Rr(i,n)}}function dn(){return Ni??(Ni=new Et(new cn))}function vs(e){let t=xs(e);return t===null?[]:[{type:"CommentLine",value:e.slice(t+2),...Di({start:t,end:e.length})}]}function mn(e){let{result:t}=e;if(t.errors.length!==0){let[i]=t.errors;if(!(i instanceof nn))throw i;let{message:n}=i;{let u=n.match(/ in .*?@\d+:\d+$/);u&&(n=n.slice(0,u.index))}let r=e.start;{let u=n.match(/at column (?<index>\d+)/);u&&(n=n.slice(0,u.index),r=r.moveBy(Number(u.groups.index)))}let a=new SyntaxError(n.trim(),{cause:i});throw Object.assign(a,{location:r,span:i.span}),a.cause??(a.cause=i),a}return e}function fa(e){return this[e<0?this.length+e:e]}function Ai(e){return e instanceof ji}function Oi(e){return e instanceof rt}function ya(e,t){return new ga(e,t).expressions}function yn(e){let t=e.range?.[0]??e.start,i=(e.declaration?.decorators??e.decorators)?.[0];return i?Math.min(yn(i),t):t}function Sa(e){return e.range?.[1]??e.end}function Pe(e){return{astFormat:"estree",parse(t){let i=e(t),{comments:n}=i;return delete i.comments,e===gn&&i.type!=="NGChainedExpression"&&(i={...i,type:"NGChainedExpression",expressions:[i]}),{type:"NGRoot",node:i,comments:n}},locStart:yn,locEnd:Sa}}var Cn,Sn,Nn,Ri,Bi,dt,Q,Te,It,g,In,An,Mi,La,Ot,bt,Lt,T,Pt,Tt,kt,Rt,Bt,Mt,Dt,Ft,c,w,kn,Rn,Bn,Mn,Dn,Vt,Fn,Vn,y,qn,$n,Kn,Hn,Wn,Un,re,Ne,jn,Vi,$i,zn,Pa,s,l,Gn,Ta,qt,xe,x,ft,O,it,_n,Yn,Qn,ke,Xn,$t,Jn,de,Zn,P,er,tr,ir,nr,N,Re,Kt,Ht,Wt,rr,sr,ar,Ut,jt,zt,Ui,or,lr,ur,G,J,rt,ji,cr,Gt,_t,R,Yt,pr,oe,zi,ge,hr,dr,mr,Gi,fr,_i,xr,xt,vr,Qt,Yi,j,L,Xt,Qi,F,Xi,W,ye,z,he,gr,E,Jt,Zt,yr,Er,vt,wr,gt,ie,Be,_,Cr,Ie,Ji,Sr,Nr,Ir,Ar,Or,br,Lr,Zi,me,ei,Z,en,st,Tr,kr,Rr,Ee,nn,ii,ni,ri,Br,rn,Mr,ot,Dr,Fr,yt,ka,Ra,Vr,Ba,qr,Ma,sn,Da,Fa,$r,Kr,Hr,Va,qa,$a,o,Y,si,ai,B,oi,li,ui,ci,M,pi,hi,Wr,jr,zr,an,se,Ae,Ka,Ha,Wa,we,ve,Ua,ja,za,Ga,_a,$,Ya,di,mi,Qa,Xa,Ja,Za,eo,_r,Yr,fi,un,to,io,h,q,Qr,cn,b,De,ue,rs,us,cs,Et,ee,gi,ce,ps,ds,no,ro,so,ao,oo,lo,uo,co,po,ho,mo,yi,fo,xo,Ei,wi,pn,vo,go,Ci,Si,yo,fs,Ni,xs,Oe,gs,ys,Es,ws,Cs,fn,Ii,Ss,Ns,Is,As,Os,bs,Ls,Ps,Ts,xn,ks,Rs,Bs,Ms,Ds,Fs,Vs,qs,$s,Ks,Hs,Ws,be,Us,js,zs,Gs,_s,Ys,Qs,Xs,Js,Zs,ea,ta,ia,wt,na,ra,sa,aa,oa,la,ua,ca,vn,pa,ha,da,ma,xa,va,pe,X,v,bi,S,Fe,Ve,qe,Li,Pi,Ti,ki,$e,ga,Le,gn,Ea,Eo,wa,Ca,Na,Ia,Aa,Oa,ba=wn(()=>{Nt();Cn=Object.defineProperty,Sn=Object.getPrototypeOf,Nn=Reflect.get,Ri=e=>{throw TypeError(e)},Bi=(e,t)=>{for(var i in t)Cn(e,i,{get:t[i],enumerable:!0})},dt=(e,t,i)=>t.has(e)||Ri("Cannot "+i),Q=(e,t,i)=>(dt(e,t,"read from private field"),i?i.call(e):t.get(e)),Te=(e,t,i)=>t.has(e)?Ri("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),It=(e,t,i,n)=>(dt(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),g=(e,t,i)=>(dt(e,t,"access private method"),i),In=(e,t,i)=>Nn(Sn(e),i,t),An={};Bi(An,{parsers:()=>Mi});Mi={};Bi(Mi,{__ng_action:()=>Na,__ng_binding:()=>Ia,__ng_directive:()=>Oa,__ng_interpolation:()=>Aa});La=new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,"g");(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"})(Ot||(Ot={}));(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e[e.Eager=1]="Eager"})(bt||(bt={}));(function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(Lt||(Lt={}));(function(e){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[e.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING"})(T||(T={}));(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(Pt||(Pt={}));(function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"})(Tt||(Tt={}));(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(kt||(kt={}));(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom"})(Rt||(Rt={}));(function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"})(Bt||(Bt={}));(function(e){e[e.None=0]="None",e[e.Const=1]="Const"})(Mt||(Mt={}));(function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"})(Dt||(Dt={}));(function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus"})(Ft||(Ft={}));(function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Assign=2]="Assign",e[e.Identical=3]="Identical",e[e.NotIdentical=4]="NotIdentical",e[e.Minus=5]="Minus",e[e.Plus=6]="Plus",e[e.Divide=7]="Divide",e[e.Multiply=8]="Multiply",e[e.Modulo=9]="Modulo",e[e.And=10]="And",e[e.Or=11]="Or",e[e.BitwiseOr=12]="BitwiseOr",e[e.BitwiseAnd=13]="BitwiseAnd",e[e.Lower=14]="Lower",e[e.LowerEquals=15]="LowerEquals",e[e.Bigger=16]="Bigger",e[e.BiggerEquals=17]="BiggerEquals",e[e.NullishCoalesce=18]="NullishCoalesce",e[e.Exponentiation=19]="Exponentiation",e[e.In=20]="In",e[e.InstanceOf=21]="InstanceOf",e[e.AdditionAssignment=22]="AdditionAssignment",e[e.SubtractionAssignment=23]="SubtractionAssignment",e[e.MultiplicationAssignment=24]="MultiplicationAssignment",e[e.DivisionAssignment=25]="DivisionAssignment",e[e.RemainderAssignment=26]="RemainderAssignment",e[e.ExponentiationAssignment=27]="ExponentiationAssignment",e[e.AndAssignment=28]="AndAssignment",e[e.OrAssignment=29]="OrAssignment",e[e.NullishCoalesceAssignment=30]="NullishCoalesceAssignment"})(c||(c={}));w=class{type;sourceSpan;constructor(e,t){this.type=e||null,this.sourceSpan=t||null}prop(e,t){return new qn(this,e,null,t)}key(e,t,i){return new $n(this,e,t,i)}callFn(e,t,i){return new Bn(this,e,null,t,i)}instantiate(e,t,i){return new Mn(this,e,t,i)}conditional(e,t=null,i){return new Vn(this,e,t,null,i)}equals(e,t){return new y(c.Equals,this,e,null,t)}notEquals(e,t){return new y(c.NotEquals,this,e,null,t)}identical(e,t){return new y(c.Identical,this,e,null,t)}notIdentical(e,t){return new y(c.NotIdentical,this,e,null,t)}minus(e,t){return new y(c.Minus,this,e,null,t)}plus(e,t){return new y(c.Plus,this,e,null,t)}divide(e,t){return new y(c.Divide,this,e,null,t)}multiply(e,t){return new y(c.Multiply,this,e,null,t)}modulo(e,t){return new y(c.Modulo,this,e,null,t)}power(e,t){return new y(c.Exponentiation,this,e,null,t)}and(e,t){return new y(c.And,this,e,null,t)}bitwiseOr(e,t){return new y(c.BitwiseOr,this,e,null,t)}bitwiseAnd(e,t){return new y(c.BitwiseAnd,this,e,null,t)}or(e,t){return new y(c.Or,this,e,null,t)}lower(e,t){return new y(c.Lower,this,e,null,t)}lowerEquals(e,t){return new y(c.LowerEquals,this,e,null,t)}bigger(e,t){return new y(c.Bigger,this,e,null,t)}biggerEquals(e,t){return new y(c.BiggerEquals,this,e,null,t)}isBlank(e){return this.equals(TYPED_NULL_EXPR,e)}nullishCoalesce(e,t){return new y(c.NullishCoalesce,this,e,null,t)}toStmt(){return new Vi(this,null)}},kn=class Ke extends w{name;constructor(t,i,n){super(i,n),this.name=t}isEquivalent(t){return t instanceof Ke&&this.name===t.name}isConstant(){return!1}visitExpression(t,i){return t.visitReadVarExpr(this,i)}clone(){return new Ke(this.name,this.type,this.sourceSpan)}set(t){return new y(c.Assign,this,t,null,this.sourceSpan)}},Rn=class He extends w{expr;constructor(t,i,n){super(i,n),this.expr=t}visitExpression(t,i){return t.visitTypeofExpr(this,i)}isEquivalent(t){return t instanceof He&&t.expr.isEquivalent(this.expr)}isConstant(){return this.expr.isConstant()}clone(){return new He(this.expr.clone())}},Bn=class We extends w{fn;args;pure;constructor(t,i,n,r,a=!1){super(n,r),this.fn=t,this.args=i,this.pure=a}get receiver(){return this.fn}isEquivalent(t){return t instanceof We&&this.fn.isEquivalent(t.fn)&&ne(this.args,t.args)&&this.pure===t.pure}isConstant(){return!1}visitExpression(t,i){return t.visitInvokeFunctionExpr(this,i)}clone(){return new We(this.fn.clone(),this.args.map(t=>t.clone()),this.type,this.sourceSpan,this.pure)}},Mn=class Ue extends w{classExpr;args;constructor(t,i,n,r){super(n,r),this.classExpr=t,this.args=i}isEquivalent(t){return t instanceof Ue&&this.classExpr.isEquivalent(t.classExpr)&&ne(this.args,t.args)}isConstant(){return!1}visitExpression(t,i){return t.visitInstantiateExpr(this,i)}clone(){return new Ue(this.classExpr.clone(),this.args.map(t=>t.clone()),this.type,this.sourceSpan)}},Dn=class je extends w{body;flags;constructor(t,i,n){super(null,n),this.body=t,this.flags=i}isEquivalent(t){return t instanceof je&&this.body===t.body&&this.flags===t.flags}isConstant(){return!0}visitExpression(t,i){return t.visitRegularExpressionLiteral(this,i)}clone(){return new je(this.body,this.flags,this.sourceSpan)}},Vt=class ze extends w{value;constructor(t,i,n){super(i,n),this.value=t}isEquivalent(t){return t instanceof ze&&this.value===t.value}isConstant(){return!0}visitExpression(t,i){return t.visitLiteralExpr(this,i)}clone(){return new ze(this.value,this.type,this.sourceSpan)}},Fn=class Ge extends w{value;typeParams;constructor(t,i,n=null,r){super(i,r),this.value=t,this.typeParams=n}isEquivalent(t){return t instanceof Ge&&this.value.name===t.value.name&&this.value.moduleName===t.value.moduleName}isConstant(){return!1}visitExpression(t,i){return t.visitExternalExpr(this,i)}clone(){return new Ge(this.value,this.type,this.typeParams,this.sourceSpan)}},Vn=class _e extends w{condition;falseCase;trueCase;constructor(t,i,n=null,r,a){super(r||i.type,a),this.condition=t,this.falseCase=n,this.trueCase=i}isEquivalent(t){return t instanceof _e&&this.condition.isEquivalent(t.condition)&&this.trueCase.isEquivalent(t.trueCase)&&Pn(this.falseCase,t.falseCase)}isConstant(){return!1}visitExpression(t,i){return t.visitConditionalExpr(this,i)}clone(){return new _e(this.condition.clone(),this.trueCase.clone(),this.falseCase?.clone(),this.type,this.sourceSpan)}},y=class Ye extends w{operator;rhs;lhs;constructor(t,i,n,r,a){super(r||i.type,a),this.operator=t,this.rhs=n,this.lhs=i}isEquivalent(t){return t instanceof Ye&&this.operator===t.operator&&this.lhs.isEquivalent(t.lhs)&&this.rhs.isEquivalent(t.rhs)}isConstant(){return!1}visitExpression(t,i){return t.visitBinaryOperatorExpr(this,i)}clone(){return new Ye(this.operator,this.lhs.clone(),this.rhs.clone(),this.type,this.sourceSpan)}isAssignment(){let t=this.operator;return t===c.Assign||t===c.AdditionAssignment||t===c.SubtractionAssignment||t===c.MultiplicationAssignment||t===c.DivisionAssignment||t===c.RemainderAssignment||t===c.ExponentiationAssignment||t===c.AndAssignment||t===c.OrAssignment||t===c.NullishCoalesceAssignment}},qn=class Qe extends w{receiver;name;constructor(t,i,n,r){super(n,r),this.receiver=t,this.name=i}get index(){return this.name}isEquivalent(t){return t instanceof Qe&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name}isConstant(){return!1}visitExpression(t,i){return t.visitReadPropExpr(this,i)}set(t){return new y(c.Assign,this.receiver.prop(this.name),t,null,this.sourceSpan)}clone(){return new Qe(this.receiver.clone(),this.name,this.type,this.sourceSpan)}},$n=class Xe extends w{receiver;index;constructor(t,i,n,r){super(n,r),this.receiver=t,this.index=i}isEquivalent(t){return t instanceof Xe&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)}isConstant(){return!1}visitExpression(t,i){return t.visitReadKeyExpr(this,i)}set(t){return new y(c.Assign,this.receiver.key(this.index),t,null,this.sourceSpan)}clone(){return new Xe(this.receiver.clone(),this.index.clone(),this.type,this.sourceSpan)}},Kn=class Je extends w{entries;constructor(t,i,n){super(i,n),this.entries=t}isConstant(){return this.entries.every(t=>t.isConstant())}isEquivalent(t){return t instanceof Je&&ne(this.entries,t.entries)}visitExpression(t,i){return t.visitLiteralArrayExpr(this,i)}clone(){return new Je(this.entries.map(t=>t.clone()),this.type,this.sourceSpan)}},Hn=class Ze{expression;constructor(t){this.expression=t}isEquivalent(t){return t instanceof Ze&&this.expression.isEquivalent(t.expression)}clone(){return new Ze(this.expression.clone())}isConstant(){return this.expression.isConstant()}},Wn=class et extends w{entries;valueType=null;constructor(t,i,n){super(i,n),this.entries=t,i&&(this.valueType=i.valueType)}isEquivalent(t){return t instanceof et&&ne(this.entries,t.entries)}isConstant(){return this.entries.every(t=>t.isConstant())}visitExpression(t,i){return t.visitLiteralMapExpr(this,i)}clone(){let t=this.entries.map(i=>i.clone());return new et(t,this.type,this.sourceSpan)}},Un=class tt extends w{expression;constructor(t,i){super(null,i),this.expression=t}isEquivalent(t){return t instanceof tt&&this.expression.isEquivalent(t.expression)}isConstant(){return this.expression.isConstant()}visitExpression(t,i){return t.visitSpreadElementExpr(this,i)}clone(){return new tt(this.expression.clone(),this.sourceSpan)}};(function(e){e[e.None=0]="None",e[e.Final=1]="Final",e[e.Private=2]="Private",e[e.Exported=4]="Exported",e[e.Static=8]="Static"})(re||(re={}));Ne=class{modifiers;sourceSpan;leadingComments;constructor(e=re.None,t=null,i){this.modifiers=e,this.sourceSpan=t,this.leadingComments=i}hasModifier(e){return(this.modifiers&e)!==0}addLeadingComment(e){this.leadingComments=this.leadingComments??[],this.leadingComments.push(e)}},jn=class Fi extends Ne{name;value;type;constructor(t,i,n,r,a,u){super(r,a,u),this.name=t,this.value=i,this.type=n||i&&i.type||null}isEquivalent(t){return t instanceof Fi&&this.name===t.name&&(this.value?!!t.value&&this.value.isEquivalent(t.value):!t.value)}visitStatement(t,i){return t.visitDeclareVarStmt(this,i)}},Vi=class qi extends Ne{expr;constructor(t,i,n){super(re.None,i,n),this.expr=t}isEquivalent(t){return t instanceof qi&&this.expr.isEquivalent(t.expr)}visitStatement(t,i){return t.visitExpressionStmt(this,i)}},$i=class Ki extends Ne{value;constructor(t,i=null,n){super(re.None,i,n),this.value=t}isEquivalent(t){return t instanceof Ki&&this.value.isEquivalent(t.value)}visitStatement(t,i){return t.visitReturnStmt(this,i)}},zn=class Hi extends Ne{condition;trueCase;falseCase;constructor(t,i,n=[],r,a){super(re.None,r,a),this.condition=t,this.trueCase=i,this.falseCase=n}isEquivalent(t){return t instanceof Hi&&this.condition.isEquivalent(t.condition)&&ne(this.trueCase,t.trueCase)&&ne(this.falseCase,t.falseCase)}visitStatement(t,i){return t.visitIfStmt(this,i)}},Pa=class Wi{static INSTANCE=new Wi;keyOf(t){if(t instanceof Vt&&typeof t.value=="string")return`"${t.value}"`;if(t instanceof Vt)return String(t.value);if(t instanceof Dn)return`/${t.body}/${t.flags??""}`;if(t instanceof Kn){let i=[];for(let n of t.entries)i.push(this.keyOf(n));return`[${i.join(",")}]`}else if(t instanceof Wn){let i=[];for(let n of t.entries)if(n instanceof Hn)i.push("..."+this.keyOf(n.expression));else{let r=n.key;n.quoted&&(r=`"${r}"`),i.push(r+":"+this.keyOf(n.value))}return`{${i.join(",")}}`}else{if(t instanceof Fn)return`import("${t.value.moduleName}", ${t.value.name})`;if(t instanceof kn)return`read(${t.name})`;if(t instanceof Rn)return`typeof(${this.keyOf(t.expr)})`;if(t instanceof Un)return`...${this.keyOf(t.expression)}`;throw new Error(`${this.constructor.name} does not handle expressions of type ${t.constructor.name}`)}}},s="@angular/core",l=class{static core={name:null,moduleName:s};static namespaceHTML={name:"\u0275\u0275namespaceHTML",moduleName:s};static namespaceMathML={name:"\u0275\u0275namespaceMathML",moduleName:s};static namespaceSVG={name:"\u0275\u0275namespaceSVG",moduleName:s};static element={name:"\u0275\u0275element",moduleName:s};static elementStart={name:"\u0275\u0275elementStart",moduleName:s};static elementEnd={name:"\u0275\u0275elementEnd",moduleName:s};static domElement={name:"\u0275\u0275domElement",moduleName:s};static domElementStart={name:"\u0275\u0275domElementStart",moduleName:s};static domElementEnd={name:"\u0275\u0275domElementEnd",moduleName:s};static domElementContainer={name:"\u0275\u0275domElementContainer",moduleName:s};static domElementContainerStart={name:"\u0275\u0275domElementContainerStart",moduleName:s};static domElementContainerEnd={name:"\u0275\u0275domElementContainerEnd",moduleName:s};static domTemplate={name:"\u0275\u0275domTemplate",moduleName:s};static domListener={name:"\u0275\u0275domListener",moduleName:s};static advance={name:"\u0275\u0275advance",moduleName:s};static syntheticHostProperty={name:"\u0275\u0275syntheticHostProperty",moduleName:s};static syntheticHostListener={name:"\u0275\u0275syntheticHostListener",moduleName:s};static attribute={name:"\u0275\u0275attribute",moduleName:s};static classProp={name:"\u0275\u0275classProp",moduleName:s};static elementContainerStart={name:"\u0275\u0275elementContainerStart",moduleName:s};static elementContainerEnd={name:"\u0275\u0275elementContainerEnd",moduleName:s};static elementContainer={name:"\u0275\u0275elementContainer",moduleName:s};static styleMap={name:"\u0275\u0275styleMap",moduleName:s};static classMap={name:"\u0275\u0275classMap",moduleName:s};static styleProp={name:"\u0275\u0275styleProp",moduleName:s};static interpolate={name:"\u0275\u0275interpolate",moduleName:s};static interpolate1={name:"\u0275\u0275interpolate1",moduleName:s};static interpolate2={name:"\u0275\u0275interpolate2",moduleName:s};static interpolate3={name:"\u0275\u0275interpolate3",moduleName:s};static interpolate4={name:"\u0275\u0275interpolate4",moduleName:s};static interpolate5={name:"\u0275\u0275interpolate5",moduleName:s};static interpolate6={name:"\u0275\u0275interpolate6",moduleName:s};static interpolate7={name:"\u0275\u0275interpolate7",moduleName:s};static interpolate8={name:"\u0275\u0275interpolate8",moduleName:s};static interpolateV={name:"\u0275\u0275interpolateV",moduleName:s};static nextContext={name:"\u0275\u0275nextContext",moduleName:s};static resetView={name:"\u0275\u0275resetView",moduleName:s};static templateCreate={name:"\u0275\u0275template",moduleName:s};static defer={name:"\u0275\u0275defer",moduleName:s};static deferWhen={name:"\u0275\u0275deferWhen",moduleName:s};static deferOnIdle={name:"\u0275\u0275deferOnIdle",moduleName:s};static deferOnImmediate={name:"\u0275\u0275deferOnImmediate",moduleName:s};static deferOnTimer={name:"\u0275\u0275deferOnTimer",moduleName:s};static deferOnHover={name:"\u0275\u0275deferOnHover",moduleName:s};static deferOnInteraction={name:"\u0275\u0275deferOnInteraction",moduleName:s};static deferOnViewport={name:"\u0275\u0275deferOnViewport",moduleName:s};static deferPrefetchWhen={name:"\u0275\u0275deferPrefetchWhen",moduleName:s};static deferPrefetchOnIdle={name:"\u0275\u0275deferPrefetchOnIdle",moduleName:s};static deferPrefetchOnImmediate={name:"\u0275\u0275deferPrefetchOnImmediate",moduleName:s};static deferPrefetchOnTimer={name:"\u0275\u0275deferPrefetchOnTimer",moduleName:s};static deferPrefetchOnHover={name:"\u0275\u0275deferPrefetchOnHover",moduleName:s};static deferPrefetchOnInteraction={name:"\u0275\u0275deferPrefetchOnInteraction",moduleName:s};static deferPrefetchOnViewport={name:"\u0275\u0275deferPrefetchOnViewport",moduleName:s};static deferHydrateWhen={name:"\u0275\u0275deferHydrateWhen",moduleName:s};static deferHydrateNever={name:"\u0275\u0275deferHydrateNever",moduleName:s};static deferHydrateOnIdle={name:"\u0275\u0275deferHydrateOnIdle",moduleName:s};static deferHydrateOnImmediate={name:"\u0275\u0275deferHydrateOnImmediate",moduleName:s};static deferHydrateOnTimer={name:"\u0275\u0275deferHydrateOnTimer",moduleName:s};static deferHydrateOnHover={name:"\u0275\u0275deferHydrateOnHover",moduleName:s};static deferHydrateOnInteraction={name:"\u0275\u0275deferHydrateOnInteraction",moduleName:s};static deferHydrateOnViewport={name:"\u0275\u0275deferHydrateOnViewport",moduleName:s};static deferEnableTimerScheduling={name:"\u0275\u0275deferEnableTimerScheduling",moduleName:s};static conditionalCreate={name:"\u0275\u0275conditionalCreate",moduleName:s};static conditionalBranchCreate={name:"\u0275\u0275conditionalBranchCreate",moduleName:s};static conditional={name:"\u0275\u0275conditional",moduleName:s};static repeater={name:"\u0275\u0275repeater",moduleName:s};static repeaterCreate={name:"\u0275\u0275repeaterCreate",moduleName:s};static repeaterTrackByIndex={name:"\u0275\u0275repeaterTrackByIndex",moduleName:s};static repeaterTrackByIdentity={name:"\u0275\u0275repeaterTrackByIdentity",moduleName:s};static componentInstance={name:"\u0275\u0275componentInstance",moduleName:s};static text={name:"\u0275\u0275text",moduleName:s};static enableBindings={name:"\u0275\u0275enableBindings",moduleName:s};static disableBindings={name:"\u0275\u0275disableBindings",moduleName:s};static getCurrentView={name:"\u0275\u0275getCurrentView",moduleName:s};static textInterpolate={name:"\u0275\u0275textInterpolate",moduleName:s};static textInterpolate1={name:"\u0275\u0275textInterpolate1",moduleName:s};static textInterpolate2={name:"\u0275\u0275textInterpolate2",moduleName:s};static textInterpolate3={name:"\u0275\u0275textInterpolate3",moduleName:s};static textInterpolate4={name:"\u0275\u0275textInterpolate4",moduleName:s};static textInterpolate5={name:"\u0275\u0275textInterpolate5",moduleName:s};static textInterpolate6={name:"\u0275\u0275textInterpolate6",moduleName:s};static textInterpolate7={name:"\u0275\u0275textInterpolate7",moduleName:s};static textInterpolate8={name:"\u0275\u0275textInterpolate8",moduleName:s};static textInterpolateV={name:"\u0275\u0275textInterpolateV",moduleName:s};static restoreView={name:"\u0275\u0275restoreView",moduleName:s};static pureFunction0={name:"\u0275\u0275pureFunction0",moduleName:s};static pureFunction1={name:"\u0275\u0275pureFunction1",moduleName:s};static pureFunction2={name:"\u0275\u0275pureFunction2",moduleName:s};static pureFunction3={name:"\u0275\u0275pureFunction3",moduleName:s};static pureFunction4={name:"\u0275\u0275pureFunction4",moduleName:s};static pureFunction5={name:"\u0275\u0275pureFunction5",moduleName:s};static pureFunction6={name:"\u0275\u0275pureFunction6",moduleName:s};static pureFunction7={name:"\u0275\u0275pureFunction7",moduleName:s};static pureFunction8={name:"\u0275\u0275pureFunction8",moduleName:s};static pureFunctionV={name:"\u0275\u0275pureFunctionV",moduleName:s};static pipeBind1={name:"\u0275\u0275pipeBind1",moduleName:s};static pipeBind2={name:"\u0275\u0275pipeBind2",moduleName:s};static pipeBind3={name:"\u0275\u0275pipeBind3",moduleName:s};static pipeBind4={name:"\u0275\u0275pipeBind4",moduleName:s};static pipeBindV={name:"\u0275\u0275pipeBindV",moduleName:s};static domProperty={name:"\u0275\u0275domProperty",moduleName:s};static ariaProperty={name:"\u0275\u0275ariaProperty",moduleName:s};static property={name:"\u0275\u0275property",moduleName:s};static control={name:"\u0275\u0275control",moduleName:s};static controlCreate={name:"\u0275\u0275controlCreate",moduleName:s};static animationEnterListener={name:"\u0275\u0275animateEnterListener",moduleName:s};static animationLeaveListener={name:"\u0275\u0275animateLeaveListener",moduleName:s};static animationEnter={name:"\u0275\u0275animateEnter",moduleName:s};static animationLeave={name:"\u0275\u0275animateLeave",moduleName:s};static i18n={name:"\u0275\u0275i18n",moduleName:s};static i18nAttributes={name:"\u0275\u0275i18nAttributes",moduleName:s};static i18nExp={name:"\u0275\u0275i18nExp",moduleName:s};static i18nStart={name:"\u0275\u0275i18nStart",moduleName:s};static i18nEnd={name:"\u0275\u0275i18nEnd",moduleName:s};static i18nApply={name:"\u0275\u0275i18nApply",moduleName:s};static i18nPostprocess={name:"\u0275\u0275i18nPostprocess",moduleName:s};static pipe={name:"\u0275\u0275pipe",moduleName:s};static projection={name:"\u0275\u0275projection",moduleName:s};static projectionDef={name:"\u0275\u0275projectionDef",moduleName:s};static reference={name:"\u0275\u0275reference",moduleName:s};static inject={name:"\u0275\u0275inject",moduleName:s};static injectAttribute={name:"\u0275\u0275injectAttribute",moduleName:s};static directiveInject={name:"\u0275\u0275directiveInject",moduleName:s};static invalidFactory={name:"\u0275\u0275invalidFactory",moduleName:s};static invalidFactoryDep={name:"\u0275\u0275invalidFactoryDep",moduleName:s};static templateRefExtractor={name:"\u0275\u0275templateRefExtractor",moduleName:s};static forwardRef={name:"forwardRef",moduleName:s};static resolveForwardRef={name:"resolveForwardRef",moduleName:s};static replaceMetadata={name:"\u0275\u0275replaceMetadata",moduleName:s};static getReplaceMetadataURL={name:"\u0275\u0275getReplaceMetadataURL",moduleName:s};static \u0275\u0275defineInjectable={name:"\u0275\u0275defineInjectable",moduleName:s};static declareInjectable={name:"\u0275\u0275ngDeclareInjectable",moduleName:s};static InjectableDeclaration={name:"\u0275\u0275InjectableDeclaration",moduleName:s};static resolveWindow={name:"\u0275\u0275resolveWindow",moduleName:s};static resolveDocument={name:"\u0275\u0275resolveDocument",moduleName:s};static resolveBody={name:"\u0275\u0275resolveBody",moduleName:s};static getComponentDepsFactory={name:"\u0275\u0275getComponentDepsFactory",moduleName:s};static defineComponent={name:"\u0275\u0275defineComponent",moduleName:s};static declareComponent={name:"\u0275\u0275ngDeclareComponent",moduleName:s};static setComponentScope={name:"\u0275\u0275setComponentScope",moduleName:s};static ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:s};static ViewEncapsulation={name:"ViewEncapsulation",moduleName:s};static ComponentDeclaration={name:"\u0275\u0275ComponentDeclaration",moduleName:s};static FactoryDeclaration={name:"\u0275\u0275FactoryDeclaration",moduleName:s};static declareFactory={name:"\u0275\u0275ngDeclareFactory",moduleName:s};static FactoryTarget={name:"\u0275\u0275FactoryTarget",moduleName:s};static defineDirective={name:"\u0275\u0275defineDirective",moduleName:s};static declareDirective={name:"\u0275\u0275ngDeclareDirective",moduleName:s};static DirectiveDeclaration={name:"\u0275\u0275DirectiveDeclaration",moduleName:s};static InjectorDef={name:"\u0275\u0275InjectorDef",moduleName:s};static InjectorDeclaration={name:"\u0275\u0275InjectorDeclaration",moduleName:s};static defineInjector={name:"\u0275\u0275defineInjector",moduleName:s};static declareInjector={name:"\u0275\u0275ngDeclareInjector",moduleName:s};static NgModuleDeclaration={name:"\u0275\u0275NgModuleDeclaration",moduleName:s};static ModuleWithProviders={name:"ModuleWithProviders",moduleName:s};static defineNgModule={name:"\u0275\u0275defineNgModule",moduleName:s};static declareNgModule={name:"\u0275\u0275ngDeclareNgModule",moduleName:s};static setNgModuleScope={name:"\u0275\u0275setNgModuleScope",moduleName:s};static registerNgModuleType={name:"\u0275\u0275registerNgModuleType",moduleName:s};static PipeDeclaration={name:"\u0275\u0275PipeDeclaration",moduleName:s};static definePipe={name:"\u0275\u0275definePipe",moduleName:s};static declarePipe={name:"\u0275\u0275ngDeclarePipe",moduleName:s};static declareClassMetadata={name:"\u0275\u0275ngDeclareClassMetadata",moduleName:s};static declareClassMetadataAsync={name:"\u0275\u0275ngDeclareClassMetadataAsync",moduleName:s};static setClassMetadata={name:"\u0275setClassMetadata",moduleName:s};static setClassMetadataAsync={name:"\u0275setClassMetadataAsync",moduleName:s};static setClassDebugInfo={name:"\u0275setClassDebugInfo",moduleName:s};static queryRefresh={name:"\u0275\u0275queryRefresh",moduleName:s};static viewQuery={name:"\u0275\u0275viewQuery",moduleName:s};static loadQuery={name:"\u0275\u0275loadQuery",moduleName:s};static contentQuery={name:"\u0275\u0275contentQuery",moduleName:s};static viewQuerySignal={name:"\u0275\u0275viewQuerySignal",moduleName:s};static contentQuerySignal={name:"\u0275\u0275contentQuerySignal",moduleName:s};static queryAdvance={name:"\u0275\u0275queryAdvance",moduleName:s};static twoWayProperty={name:"\u0275\u0275twoWayProperty",moduleName:s};static twoWayBindingSet={name:"\u0275\u0275twoWayBindingSet",moduleName:s};static twoWayListener={name:"\u0275\u0275twoWayListener",moduleName:s};static declareLet={name:"\u0275\u0275declareLet",moduleName:s};static storeLet={name:"\u0275\u0275storeLet",moduleName:s};static readContextLet={name:"\u0275\u0275readContextLet",moduleName:s};static arrowFunction={name:"\u0275\u0275arrowFunction",moduleName:s};static attachSourceLocations={name:"\u0275\u0275attachSourceLocations",moduleName:s};static NgOnChangesFeature={name:"\u0275\u0275NgOnChangesFeature",moduleName:s};static ControlFeature={name:"\u0275\u0275ControlFeature",moduleName:s};static InheritDefinitionFeature={name:"\u0275\u0275InheritDefinitionFeature",moduleName:s};static ProvidersFeature={name:"\u0275\u0275ProvidersFeature",moduleName:s};static HostDirectivesFeature={name:"\u0275\u0275HostDirectivesFeature",moduleName:s};static ExternalStylesFeature={name:"\u0275\u0275ExternalStylesFeature",moduleName:s};static listener={name:"\u0275\u0275listener",moduleName:s};static getInheritedFactory={name:"\u0275\u0275getInheritedFactory",moduleName:s};static sanitizeHtml={name:"\u0275\u0275sanitizeHtml",moduleName:s};static sanitizeStyle={name:"\u0275\u0275sanitizeStyle",moduleName:s};static validateAttribute={name:"\u0275\u0275validateAttribute",moduleName:s};static sanitizeResourceUrl={name:"\u0275\u0275sanitizeResourceUrl",moduleName:s};static sanitizeScript={name:"\u0275\u0275sanitizeScript",moduleName:s};static sanitizeUrl={name:"\u0275\u0275sanitizeUrl",moduleName:s};static sanitizeUrlOrResourceUrl={name:"\u0275\u0275sanitizeUrlOrResourceUrl",moduleName:s};static trustConstantHtml={name:"\u0275\u0275trustConstantHtml",moduleName:s};static trustConstantResourceUrl={name:"\u0275\u0275trustConstantResourceUrl",moduleName:s};static inputDecorator={name:"Input",moduleName:s};static outputDecorator={name:"Output",moduleName:s};static viewChildDecorator={name:"ViewChild",moduleName:s};static viewChildrenDecorator={name:"ViewChildren",moduleName:s};static contentChildDecorator={name:"ContentChild",moduleName:s};static contentChildrenDecorator={name:"ContentChildren",moduleName:s};static InputSignalBrandWriteType={name:"\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE",moduleName:s};static UnwrapDirectiveSignalInputs={name:"\u0275UnwrapDirectiveSignalInputs",moduleName:s};static unwrapWritableSignal={name:"\u0275unwrapWritableSignal",moduleName:s};static assertType={name:"\u0275assertType",moduleName:s}},Gn=class{full;major;minor;patch;constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},Ta=new Map([[c.And,"&&"],[c.Bigger,">"],[c.BiggerEquals,">="],[c.BitwiseOr,"|"],[c.BitwiseAnd,"&"],[c.Divide,"/"],[c.Assign,"="],[c.Equals,"=="],[c.Identical,"==="],[c.Lower,"<"],[c.LowerEquals,"<="],[c.Minus,"-"],[c.Modulo,"%"],[c.Exponentiation,"**"],[c.Multiply,"*"],[c.NotEquals,"!="],[c.NotIdentical,"!=="],[c.NullishCoalesce,"??"],[c.Or,"||"],[c.Plus,"+"],[c.In,"in"],[c.InstanceOf,"instanceof"],[c.AdditionAssignment,"+="],[c.SubtractionAssignment,"-="],[c.MultiplicationAssignment,"*="],[c.DivisionAssignment,"/="],[c.RemainderAssignment,"%="],[c.ExponentiationAssignment,"**="],[c.AndAssignment,"&&="],[c.OrAssignment,"||="],[c.NullishCoalesceAssignment,"??="]]);(function(e){e[e.Class=0]="Class",e[e.Function=1]="Function"})(qt||(qt={}));xe=class{start;end;constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new G(e+this.start,e+this.end)}},x=class{span;sourceSpan;constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}},ft=class extends x{nameSpan;constructor(e,t,i){super(e,t),this.nameSpan=i}},O=class extends x{visit(e,t=null){return e.visitEmptyExpr?.(this,t)}},it=class extends x{visit(e,t=null){return e.visitImplicitReceiver(this,t)}},_n=class extends x{visit(e,t=null){return e.visitThisReceiver?.(this,t)}},Yn=class extends x{expressions;constructor(e,t,i){super(e,t),this.expressions=i}visit(e,t=null){return e.visitChain(this,t)}},Qn=class extends x{condition;trueExp;falseExp;constructor(e,t,i,n,r){super(e,t),this.condition=i,this.trueExp=n,this.falseExp=r}visit(e,t=null){return e.visitConditional(this,t)}},ke=class extends ft{receiver;name;constructor(e,t,i,n,r){super(e,t,i),this.receiver=n,this.name=r}visit(e,t=null){return e.visitPropertyRead(this,t)}},Xn=class extends ft{receiver;name;constructor(e,t,i,n,r){super(e,t,i),this.receiver=n,this.name=r}visit(e,t=null){return e.visitSafePropertyRead(this,t)}},$t=class extends x{receiver;key;constructor(e,t,i,n){super(e,t),this.receiver=i,this.key=n}visit(e,t=null){return e.visitKeyedRead(this,t)}},Jn=class extends x{receiver;key;constructor(e,t,i,n){super(e,t),this.receiver=i,this.key=n}visit(e,t=null){return e.visitSafeKeyedRead(this,t)}};(function(e){e[e.ReferencedByName=0]="ReferencedByName",e[e.ReferencedDirectly=1]="ReferencedDirectly"})(de||(de={}));Zn=class extends ft{exp;name;args;type;constructor(e,t,i,n,r,a,u){super(e,t,u),this.exp=i,this.name=n,this.args=r,this.type=a}visit(e,t=null){return e.visitPipe(this,t)}},P=class extends x{value;constructor(e,t,i){super(e,t),this.value=i}visit(e,t=null){return e.visitLiteralPrimitive(this,t)}},er=class extends x{expressions;constructor(e,t,i){super(e,t),this.expressions=i}visit(e,t=null){return e.visitLiteralArray(this,t)}},tr=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitSpreadElement(this,t)}},ir=class extends x{keys;values;constructor(e,t,i,n){super(e,t),this.keys=i,this.values=n}visit(e,t=null){return e.visitLiteralMap(this,t)}},nr=class extends x{strings;expressions;constructor(e,t,i,n){super(e,t),this.strings=i,this.expressions=n}visit(e,t=null){return e.visitInterpolation(this,t)}},N=class extends x{operation;left;right;constructor(e,t,i,n,r){super(e,t),this.operation=i,this.left=n,this.right=r}visit(e,t=null){return e.visitBinary(this,t)}static isAssignmentOperation(e){return e==="="||e==="+="||e==="-="||e==="*="||e==="/="||e==="%="||e==="**="||e==="&&="||e==="||="||e==="??="}},Re=class nt extends N{operator;expr;left=null;right=null;operation=null;static createMinus(t,i,n){return new nt(t,i,"-",n,"-",new P(t,i,0),n)}static createPlus(t,i,n){return new nt(t,i,"+",n,"-",n,new P(t,i,0))}constructor(t,i,n,r,a,u,p){super(t,i,a,u,p),this.operator=n,this.expr=r}visit(t,i=null){return t.visitUnary!==void 0?t.visitUnary(this,i):t.visitBinary(this,i)}},Kt=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitPrefixNot(this,t)}},Ht=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitTypeofExpression(this,t)}},Wt=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitVoidExpression(this,t)}},rr=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t=null){return e.visitNonNullAssert(this,t)}},sr=class extends x{receiver;args;argumentSpan;constructor(e,t,i,n,r){super(e,t),this.receiver=i,this.args=n,this.argumentSpan=r}visit(e,t=null){return e.visitCall(this,t)}},ar=class extends x{receiver;args;argumentSpan;constructor(e,t,i,n,r){super(e,t),this.receiver=i,this.args=n,this.argumentSpan=r}visit(e,t=null){return e.visitSafeCall(this,t)}},Ut=class extends x{tag;template;constructor(e,t,i,n){super(e,t),this.tag=i,this.template=n}visit(e,t){return e.visitTaggedTemplateLiteral(this,t)}},jt=class extends x{elements;expressions;constructor(e,t,i,n){super(e,t),this.elements=i,this.expressions=n}visit(e,t){return e.visitTemplateLiteral(this,t)}},zt=class extends x{text;constructor(e,t,i){super(e,t),this.text=i}visit(e,t){return e.visitTemplateLiteralElement(this,t)}},Ui=class extends x{expression;constructor(e,t,i){super(e,t),this.expression=i}visit(e,t){return e.visitParenthesizedExpression(this,t)}},or=class{name;span;sourceSpan;constructor(e,t,i){this.name=e,this.span=t,this.sourceSpan=i}},lr=class extends x{parameters;body;constructor(e,t,i,n){super(e,t),this.parameters=i,this.body=n}visit(e,t){return e.visitArrowFunction(this,t)}},ur=class extends x{body;flags;constructor(e,t,i,n){super(e,t),this.body=i,this.flags=n}visit(e,t){return e.visitRegularExpressionLiteral(this,t)}},G=class{start;end;constructor(e,t){this.start=e,this.end=t}},J=class extends x{ast;source;location;errors;constructor(e,t,i,n,r){super(new xe(0,t===null?0:t.length),new G(n,t===null?n:n+t.length)),this.ast=e,this.source=t,this.location=i,this.errors=r}visit(e,t=null){return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return`${this.source} in ${this.location}`}},rt=class{sourceSpan;key;value;constructor(e,t,i){this.sourceSpan=e,this.key=t,this.value=i}},ji=class{sourceSpan;key;value;constructor(e,t,i){this.sourceSpan=e,this.key=t,this.value=i}},cr=class{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitPrefixNot(e,t){this.visit(e.expression,t)}visitTypeofExpression(e,t){this.visit(e.expression,t)}visitVoidExpression(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitTemplateLiteral(e,t){for(let i=0;i<e.elements.length;i++){this.visit(e.elements[i],t);let n=i<e.expressions.length?e.expressions[i]:null;n!==null&&this.visit(n,t)}}visitTemplateLiteralElement(e,t){}visitTaggedTemplateLiteral(e,t){this.visit(e.tag,t),this.visit(e.template,t)}visitParenthesizedExpression(e,t){this.visit(e.expression,t)}visitArrowFunction(e,t){this.visit(e.body,t)}visitRegularExpressionLiteral(e,t){}visitSpreadElement(e,t){this.visit(e.expression,t)}visitEmptyExpr(e,t){}visitAll(e,t){for(let i of e)this.visit(i,t)}};(function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.LEGACY_ANIMATION=2]="LEGACY_ANIMATION",e[e.TWO_WAY=3]="TWO_WAY",e[e.ANIMATION=4]="ANIMATION"})(Gt||(Gt={}));(function(e){e[e.Regular=0]="Regular",e[e.LegacyAnimation=1]="LegacyAnimation",e[e.TwoWay=2]="TwoWay",e[e.Animation=3]="Animation"})(_t||(_t={}));(function(e){e[e.Property=0]="Property",e[e.Attribute=1]="Attribute",e[e.Class=2]="Class",e[e.Style=3]="Style",e[e.LegacyAnimation=4]="LegacyAnimation",e[e.TwoWay=5]="TwoWay",e[e.Animation=6]="Animation"})(R||(R={}));(function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"})(Yt||(Yt={}));pr="ctx",oe=0,zi=9,ge=10,hr=11,dr=12,mr=13,Gi=32,fr=33,_i=34,xr=35,xt=36,vr=37,Qt=38,Yi=39,j=40,L=41,Xt=42,Qi=43,F=44,Xi=45,W=46,ye=47,z=58,he=59,gr=60,E=61,Jt=62,Zt=63,yr=48,Er=57,vt=65,wr=69,gt=90,ie=91,Be=92,_=93,Cr=94,Ie=95,Ji=97,Sr=101,Nr=102,Ir=110,Ar=114,Or=116,br=117,Lr=118,Zi=122,me=123,ei=124,Z=125,en=160,st=96;Tr=class tn{file;offset;line;col;constructor(t,i,n,r){this.file=t,this.offset=i,this.line=n,this.col=r}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let i=this.file.content,n=i.length,r=this.offset,a=this.line,u=this.col;for(;r>0&&t<0;)if(r--,t++,i.charCodeAt(r)==ge){a--;let p=i.substring(0,r-1).lastIndexOf(String.fromCharCode(ge));u=p>0?r-p:r}else u--;for(;r<n&&t>0;){let p=i.charCodeAt(r);r++,t--,p==ge?(a++,u=0):u++}return new tn(this.file,r,a,u)}getContext(t,i){let n=this.file.content,r=this.offset;if(r!=null){r>n.length-1&&(r=n.length-1);let a=r,u=0,p=0;for(;u<t&&r>0&&(r--,u++,!(n[r]==`
|
|
2
2
|
`&&++p==i)););for(u=0,p=0;u<t&&a<n.length-1&&(a++,u++,!(n[a]==`
|
|
3
3
|
`&&++p==i)););return{before:n.substring(r,this.offset),after:n.substring(this.offset,a+1)}}return null}},kr=class{content;url;constructor(e,t){this.content=e,this.url=t}},Rr=class{start;end;fullStart;details;constructor(e,t,i=e,n=null){this.start=e,this.end=t,this.fullStart=i,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};(function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"})(Ee||(Ee={}));nn=class extends Error{span;msg;level;relatedError;constructor(e,t,i=Ee.ERROR,n){super(t),this.span=e,this.msg=t,this.level=i,this.relatedError=n,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Ee[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}};(function(e){e[e.Inline=0]="Inline",e[e.SideEffect=1]="SideEffect",e[e.Omit=2]="Omit"})(ii||(ii={}));(function(e){e[e.Global=0]="Global",e[e.Local=1]="Local"})(ni||(ni={}));(function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"})(ri||(ri={}));Br="(:(where|is)\\()?",rn="-shadowcsshost",Mr="-shadowcsscontext",ot="[^)(]*",Dr=`(?:\\(${ot}\\)|${ot})+?`,Fr=`(?:\\(${Dr}\\)|${ot})+?`,yt=`(?:\\((${Fr})\\))`,ka=new RegExp("(:nth-[-\\w]+)"+yt,"g"),Ra=new RegExp(rn+yt+"?([^,{]*)","gim"),Vr=Mr+yt+"?([^{]*)",Ba=new RegExp(`${Br}(${Vr})`,"gim"),qr=rn+"-no-combinator",Ma=new RegExp(`${qr}(?![^(]*\\))`,"g"),sn="%COMMENT%",Da=new RegExp(sn,"g"),Fa=new RegExp(`(\\s*(?:${sn}\\s*)*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))`,"g"),$r="%COMMA_IN_PLACEHOLDER%",Kr="%SEMI_IN_PLACEHOLDER%",Hr="%COLON_IN_PLACEHOLDER%",Va=new RegExp($r,"g"),qa=new RegExp(Kr,"g"),$a=new RegExp(Hr,"g");(function(e){e[e.ListEnd=0]="ListEnd",e[e.Statement=1]="Statement",e[e.Variable=2]="Variable",e[e.ElementStart=3]="ElementStart",e[e.Element=4]="Element",e[e.Template=5]="Template",e[e.ElementEnd=6]="ElementEnd",e[e.ContainerStart=7]="ContainerStart",e[e.Container=8]="Container",e[e.ContainerEnd=9]="ContainerEnd",e[e.DisableBindings=10]="DisableBindings",e[e.ConditionalCreate=11]="ConditionalCreate",e[e.ConditionalBranchCreate=12]="ConditionalBranchCreate",e[e.Conditional=13]="Conditional",e[e.EnableBindings=14]="EnableBindings",e[e.Text=15]="Text",e[e.Listener=16]="Listener",e[e.InterpolateText=17]="InterpolateText",e[e.Binding=18]="Binding",e[e.Property=19]="Property",e[e.StyleProp=20]="StyleProp",e[e.ClassProp=21]="ClassProp",e[e.StyleMap=22]="StyleMap",e[e.ClassMap=23]="ClassMap",e[e.Advance=24]="Advance",e[e.Pipe=25]="Pipe",e[e.Attribute=26]="Attribute",e[e.ExtractedAttribute=27]="ExtractedAttribute",e[e.Defer=28]="Defer",e[e.DeferOn=29]="DeferOn",e[e.DeferWhen=30]="DeferWhen",e[e.I18nMessage=31]="I18nMessage",e[e.DomProperty=32]="DomProperty",e[e.Namespace=33]="Namespace",e[e.ProjectionDef=34]="ProjectionDef",e[e.Projection=35]="Projection",e[e.RepeaterCreate=36]="RepeaterCreate",e[e.Repeater=37]="Repeater",e[e.TwoWayProperty=38]="TwoWayProperty",e[e.TwoWayListener=39]="TwoWayListener",e[e.DeclareLet=40]="DeclareLet",e[e.StoreLet=41]="StoreLet",e[e.I18nStart=42]="I18nStart",e[e.I18n=43]="I18n",e[e.I18nEnd=44]="I18nEnd",e[e.I18nExpression=45]="I18nExpression",e[e.I18nApply=46]="I18nApply",e[e.IcuStart=47]="IcuStart",e[e.IcuEnd=48]="IcuEnd",e[e.IcuPlaceholder=49]="IcuPlaceholder",e[e.I18nContext=50]="I18nContext",e[e.I18nAttributes=51]="I18nAttributes",e[e.SourceLocation=52]="SourceLocation",e[e.Animation=53]="Animation",e[e.AnimationString=54]="AnimationString",e[e.AnimationBinding=55]="AnimationBinding",e[e.AnimationListener=56]="AnimationListener",e[e.Control=57]="Control",e[e.ControlCreate=58]="ControlCreate"})(o||(o={}));(function(e){e[e.LexicalRead=0]="LexicalRead",e[e.Context=1]="Context",e[e.TrackContext=2]="TrackContext",e[e.ReadVariable=3]="ReadVariable",e[e.NextContext=4]="NextContext",e[e.Reference=5]="Reference",e[e.StoreLet=6]="StoreLet",e[e.ContextLetReference=7]="ContextLetReference",e[e.GetCurrentView=8]="GetCurrentView",e[e.RestoreView=9]="RestoreView",e[e.ResetView=10]="ResetView",e[e.PureFunctionExpr=11]="PureFunctionExpr",e[e.PureFunctionParameterExpr=12]="PureFunctionParameterExpr",e[e.PipeBinding=13]="PipeBinding",e[e.PipeBindingVariadic=14]="PipeBindingVariadic",e[e.SafePropertyRead=15]="SafePropertyRead",e[e.SafeKeyedRead=16]="SafeKeyedRead",e[e.SafeInvokeFunction=17]="SafeInvokeFunction",e[e.SafeTernaryExpr=18]="SafeTernaryExpr",e[e.EmptyExpr=19]="EmptyExpr",e[e.AssignTemporaryExpr=20]="AssignTemporaryExpr",e[e.ReadTemporaryExpr=21]="ReadTemporaryExpr",e[e.SlotLiteralExpr=22]="SlotLiteralExpr",e[e.ConditionalCase=23]="ConditionalCase",e[e.ConstCollected=24]="ConstCollected",e[e.TwoWayBindingSet=25]="TwoWayBindingSet",e[e.ArrowFunction=26]="ArrowFunction"})(Y||(Y={}));(function(e){e[e.None=0]="None",e[e.AlwaysInline=1]="AlwaysInline"})(si||(si={}));(function(e){e[e.Context=0]="Context",e[e.Identifier=1]="Identifier",e[e.SavedView=2]="SavedView",e[e.Alias=3]="Alias"})(ai||(ai={}));(function(e){e[e.Attribute=0]="Attribute",e[e.ClassName=1]="ClassName",e[e.StyleProperty=2]="StyleProperty",e[e.Property=3]="Property",e[e.Template=4]="Template",e[e.I18n=5]="I18n",e[e.LegacyAnimation=6]="LegacyAnimation",e[e.TwoWayProperty=7]="TwoWayProperty",e[e.Animation=8]="Animation"})(B||(B={}));(function(e){e[e.Creation=0]="Creation",e[e.Postproccessing=1]="Postproccessing"})(oi||(oi={}));(function(e){e[e.I18nText=0]="I18nText",e[e.I18nAttribute=1]="I18nAttribute"})(li||(li={}));(function(e){e[e.None=0]="None",e[e.ElementTag=1]="ElementTag",e[e.TemplateTag=2]="TemplateTag",e[e.OpenTag=4]="OpenTag",e[e.CloseTag=8]="CloseTag",e[e.ExpressionIndex=16]="ExpressionIndex"})(ui||(ui={}));(function(e){e[e.HTML=0]="HTML",e[e.SVG=1]="SVG",e[e.Math=2]="Math"})(ci||(ci={}));(function(e){e[e.Idle=0]="Idle",e[e.Immediate=1]="Immediate",e[e.Timer=2]="Timer",e[e.Hover=3]="Hover",e[e.Interaction=4]="Interaction",e[e.Viewport=5]="Viewport",e[e.Never=6]="Never"})(M||(M={}));(function(e){e[e.RootI18n=0]="RootI18n",e[e.Icu=1]="Icu",e[e.Attr=2]="Attr"})(pi||(pi={}));(function(e){e[e.NgTemplate=0]="NgTemplate",e[e.Structural=1]="Structural",e[e.Block=2]="Block"})(hi||(hi={}));Wr=class f{static nextListId=0;debugListId=f.nextListId++;head={kind:o.ListEnd,next:null,prev:null,debugListId:this.debugListId};tail={kind:o.ListEnd,next:null,prev:null,debugListId:this.debugListId};constructor(){this.head.next=this.tail,this.tail.prev=this.head}push(t){if(Array.isArray(t)){for(let n of t)this.push(n);return}f.assertIsNotEnd(t),f.assertIsUnowned(t),t.debugListId=this.debugListId;let i=this.tail.prev;t.prev=i,i.next=t,t.next=this.tail,this.tail.prev=t}prepend(t){if(t.length===0)return;for(let r of t)f.assertIsNotEnd(r),f.assertIsUnowned(r),r.debugListId=this.debugListId;let i=this.head.next,n=this.head;for(let r of t)n.next=r,r.prev=n,n=r;n.next=i,i.prev=n}*[Symbol.iterator](){let t=this.head.next;for(;t!==this.tail;){f.assertIsOwned(t,this.debugListId);let i=t.next;yield t,t=i}}*reversed(){let t=this.tail.prev;for(;t!==this.head;){f.assertIsOwned(t,this.debugListId);let i=t.prev;yield t,t=i}}static replace(t,i){f.assertIsNotEnd(t),f.assertIsNotEnd(i),f.assertIsOwned(t),f.assertIsUnowned(i),i.debugListId=t.debugListId,t.prev!==null&&(t.prev.next=i,i.prev=t.prev),t.next!==null&&(t.next.prev=i,i.next=t.next),t.debugListId=null,t.prev=null,t.next=null}static replaceWithMany(t,i){if(i.length===0){f.remove(t);return}f.assertIsNotEnd(t),f.assertIsOwned(t);let n=t.debugListId;t.debugListId=null;for(let m of i)f.assertIsNotEnd(m),f.assertIsUnowned(m);let{prev:r,next:a}=t;t.prev=null,t.next=null;let u=r;for(let m of i)f.assertIsUnowned(m),m.debugListId=n,u.next=m,m.prev=u,m.next=null,u=m;let p=i[0],d=u;r!==null&&(r.next=p,p.prev=r),a!==null&&(a.prev=d,d.next=a)}static remove(t){f.assertIsNotEnd(t),f.assertIsOwned(t),t.prev.next=t.next,t.next.prev=t.prev,t.debugListId=null,t.prev=null,t.next=null}static insertBefore(t,i){if(Array.isArray(t)){for(let n of t)f.insertBefore(n,i);return}if(f.assertIsOwned(i),i.prev===null)throw new Error("AssertionError: illegal operation on list start");f.assertIsNotEnd(t),f.assertIsUnowned(t),t.debugListId=i.debugListId,t.prev=null,i.prev.next=t,t.prev=i.prev,t.next=i,i.prev=t}static insertAfter(t,i){if(f.assertIsOwned(i),i.next===null)throw new Error("AssertionError: illegal operation on list end");f.assertIsNotEnd(t),f.assertIsUnowned(t),t.debugListId=i.debugListId,i.next.prev=t,t.next=i.next,t.prev=i,i.next=t}static assertIsUnowned(t){if(t.debugListId!==null)throw new Error(`AssertionError: illegal operation on owned node: ${o[t.kind]}`)}static assertIsOwned(t,i){if(t.debugListId===null)throw new Error(`AssertionError: illegal operation on unowned node: ${o[t.kind]}`);if(i!==void 0&&t.debugListId!==i)throw new Error(`AssertionError: node belongs to the wrong list (expected ${i}, actual ${t.debugListId})`)}static assertIsNotEnd(t){if(t.kind===o.ListEnd)throw new Error("AssertionError: illegal operation on list head or tail")}};jr={debugListId:null,prev:null,next:null},zr=Symbol("ConsumesSlot"),an=Symbol("DependsOnSlotContext"),se=Symbol("ConsumesVars"),Ae=Symbol("UsesVarOffset"),Ka={[zr]:!0,numSlotsUsed:1},Ha={[an]:!0},Wa={[se]:!0},we=class{strings;expressions;i18nPlaceholders;constructor(e,t,i){if(this.strings=e,this.expressions=t,this.i18nPlaceholders=i,i.length!==0&&i.length!==t.length)throw new Error(`Expected ${t.length} placeholders to match interpolation expression count, but got ${i.length}`)}},ve=class extends w{constructor(e=null){super(null,e)}},Ua=class lt extends ve{target;value;sourceSpan;kind=Y.StoreLet;[se]=!0;[an]=!0;constructor(t,i,n){super(),this.target=t,this.value=i,this.sourceSpan=n}visitExpression(){}isEquivalent(t){return t instanceof lt&&t.target===this.target&&t.value.isEquivalent(this.value)}isConstant(){return!1}transformInternalExpressions(t,i){this.value=(this.value,void 0)}clone(){return new lt(this.target,this.value,this.sourceSpan)}},ja=class ut extends ve{kind=Y.PureFunctionExpr;[se]=!0;[Ae]=!0;varOffset=null;body;args;fn=null;constructor(t,i){super(),this.body=t,this.args=i}visitExpression(t,i){this.body?.visitExpression(t,i);for(let n of this.args)n.visitExpression(t,i)}isEquivalent(t){return!(t instanceof ut)||t.args.length!==this.args.length?!1:t.body!==null&&this.body!==null&&t.body.isEquivalent(this.body)&&t.args.every((i,n)=>i.isEquivalent(this.args[n]))}isConstant(){return!1}transformInternalExpressions(t,i){this.body!==null?this.body=(this.body,i|$.InChildOperation,void 0):this.fn!==null&&(this.fn=(this.fn,void 0));for(let n=0;n<this.args.length;n++)this.args[n]=(this.args[n],void 0)}clone(){let t=new ut(this.body?.clone()??null,this.args.map(i=>i.clone()));return t.fn=this.fn?.clone()??null,t.varOffset=this.varOffset,t}},za=class on extends ve{target;targetSlot;name;args;kind=Y.PipeBinding;[se]=!0;[Ae]=!0;varOffset=null;constructor(t,i,n,r){super(),this.target=t,this.targetSlot=i,this.name=n,this.args=r}visitExpression(t,i){for(let n of this.args)n.visitExpression(t,i)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(t,i){for(let n=0;n<this.args.length;n++)this.args[n]=(this.args[n],void 0)}clone(){let t=new on(this.target,this.targetSlot,this.name,this.args.map(i=>i.clone()));return t.varOffset=this.varOffset,t}},Ga=class ln extends ve{target;targetSlot;name;args;numArgs;kind=Y.PipeBindingVariadic;[se]=!0;[Ae]=!0;varOffset=null;constructor(t,i,n,r,a){super(),this.target=t,this.targetSlot=i,this.name=n,this.args=r,this.numArgs=a}visitExpression(t,i){this.args.visitExpression(t,i)}isEquivalent(){return!1}isConstant(){return!1}transformInternalExpressions(t,i){this.args=(this.args,void 0)}clone(){let t=new ln(this.target,this.targetSlot,this.name,this.args.clone(),this.numArgs);return t.varOffset=this.varOffset,t}},_a=class ct extends ve{parameters;body;kind=Y.ArrowFunction;[se]=!0;[Ae]=!0;contextName=pr;currentViewName="view";varOffset=null;ops;constructor(t,i){super(),this.parameters=t,this.body=i,this.ops=new Wr,this.ops.push([Ur(new $i(i,i.sourceSpan))])}visitExpression(t,i){for(let n of this.ops)Gr(n,r=>{r.visitExpression(t,i)})}isEquivalent(t){return t instanceof ct&&t.parameters.length===this.parameters.length&&t.parameters.every((i,n)=>i.isEquivalent(this.parameters[n]))&&t.body.isEquivalent(this.body)}isConstant(){return!1}transformInternalExpressions(t,i){for(let n of this.ops)Ce(n,t,i|($.InChildOperation|$.InArrowFunctionOperation))}clone(){let t=new ct(this.parameters,this.body);return t.varOffset=this.varOffset,t.ops=this.ops,t}};(function(e){e[e.None=0]="None",e[e.InChildOperation=1]="InChildOperation",e[e.InArrowFunctionOperation=2]="InArrowFunctionOperation"})($||($={}));Ya=new Set([o.Element,o.ElementStart,o.Container,o.ContainerStart,o.Template,o.RepeaterCreate,o.ConditionalCreate,o.ConditionalBranchCreate]);(function(e){e[e.Tmpl=0]="Tmpl",e[e.Host=1]="Host",e[e.Both=2]="Both"})(di||(di={}));(function(e){e[e.Full=0]="Full",e[e.DomOnly=1]="DomOnly"})(mi||(mi={}));Qa=new Map([[l.ariaProperty,l.ariaProperty],[l.attribute,l.attribute],[l.classProp,l.classProp],[l.element,l.element],[l.elementContainer,l.elementContainer],[l.elementContainerEnd,l.elementContainerEnd],[l.elementContainerStart,l.elementContainerStart],[l.elementEnd,l.elementEnd],[l.elementStart,l.elementStart],[l.domProperty,l.domProperty],[l.i18nExp,l.i18nExp],[l.listener,l.listener],[l.listener,l.listener],[l.property,l.property],[l.styleProp,l.styleProp],[l.syntheticHostListener,l.syntheticHostListener],[l.syntheticHostProperty,l.syntheticHostProperty],[l.templateCreate,l.templateCreate],[l.twoWayProperty,l.twoWayProperty],[l.twoWayListener,l.twoWayListener],[l.declareLet,l.declareLet],[l.conditionalCreate,l.conditionalBranchCreate],[l.conditionalBranchCreate,l.conditionalBranchCreate],[l.domElement,l.domElement],[l.domElementStart,l.domElementStart],[l.domElementEnd,l.domElementEnd],[l.domElementContainer,l.domElementContainer],[l.domElementContainerStart,l.domElementContainerStart],[l.domElementContainerEnd,l.domElementContainerEnd],[l.domListener,l.domListener],[l.domTemplate,l.domTemplate],[l.animationEnter,l.animationEnter],[l.animationLeave,l.animationLeave],[l.animationEnterListener,l.animationEnterListener],[l.animationLeaveListener,l.animationLeaveListener]]),Xa=new Map([["&&",c.And],[">",c.Bigger],[">=",c.BiggerEquals],["|",c.BitwiseOr],["&",c.BitwiseAnd],["/",c.Divide],["=",c.Assign],["==",c.Equals],["===",c.Identical],["<",c.Lower],["<=",c.LowerEquals],["-",c.Minus],["%",c.Modulo],["**",c.Exponentiation],["*",c.Multiply],["!=",c.NotEquals],["!==",c.NotIdentical],["??",c.NullishCoalesce],["||",c.Or],["+",c.Plus],["in",c.In],["instanceof",c.InstanceOf],["+=",c.AdditionAssignment],["-=",c.SubtractionAssignment],["*=",c.MultiplicationAssignment],["/=",c.DivisionAssignment],["%=",c.RemainderAssignment],["**=",c.ExponentiationAssignment],["&&=",c.AndAssignment],["||=",c.OrAssignment],["??=",c.NullishCoalesceAssignment]]),Ja=Object.freeze([]),Za=new Map([[o.ElementEnd,[o.ElementStart,o.Element]],[o.ContainerEnd,[o.ContainerStart,o.Container]],[o.I18nEnd,[o.I18nStart,o.I18n]]]),eo=new Set([o.Pipe]),_r={},Yr="\uE500";_r.ngsp=Yr;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(fi||(fi={}));un=` \f
|
|
4
4
|
\r \v\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF`,to=new RegExp(`[^${un}]`),io=new RegExp(`[${un}]{2,}`,"g");(function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.PrivateIdentifier=2]="PrivateIdentifier",e[e.Keyword=3]="Keyword",e[e.String=4]="String",e[e.Operator=5]="Operator",e[e.Number=6]="Number",e[e.RegExpBody=7]="RegExpBody",e[e.RegExpFlags=8]="RegExpFlags",e[e.Error=9]="Error"})(h||(h={}));(function(e){e[e.Plain=0]="Plain",e[e.TemplateLiteralPart=1]="TemplateLiteralPart",e[e.TemplateLiteralEnd=2]="TemplateLiteralEnd"})(q||(q={}));Qr=["var","let","as","null","undefined","true","false","if","else","this","typeof","void","in","instanceof"],cn=class{tokenize(e){return new rs(e).scan()}},b=class{index;end;type;numValue;strValue;constructor(e,t,i,n,r){this.index=e,this.end=t,this.type=i,this.numValue=n,this.strValue=r}isCharacter(e){return this.type===h.Character&&this.numValue===e}isNumber(){return this.type===h.Number}isString(){return this.type===h.String}isOperator(e){return this.type===h.Operator&&this.strValue===e}isIdentifier(){return this.type===h.Identifier}isPrivateIdentifier(){return this.type===h.PrivateIdentifier}isKeyword(){return this.type===h.Keyword}isKeywordLet(){return this.type===h.Keyword&&this.strValue==="let"}isKeywordAs(){return this.type===h.Keyword&&this.strValue==="as"}isKeywordNull(){return this.type===h.Keyword&&this.strValue==="null"}isKeywordUndefined(){return this.type===h.Keyword&&this.strValue==="undefined"}isKeywordTrue(){return this.type===h.Keyword&&this.strValue==="true"}isKeywordFalse(){return this.type===h.Keyword&&this.strValue==="false"}isKeywordThis(){return this.type===h.Keyword&&this.strValue==="this"}isKeywordTypeof(){return this.type===h.Keyword&&this.strValue==="typeof"}isKeywordVoid(){return this.type===h.Keyword&&this.strValue==="void"}isKeywordIn(){return this.type===h.Keyword&&this.strValue==="in"}isKeywordInstanceOf(){return this.type===h.Keyword&&this.strValue==="instanceof"}isError(){return this.type===h.Error}isRegExpBody(){return this.type===h.RegExpBody}isRegExpFlags(){return this.type===h.RegExpFlags}toNumber(){return this.type===h.Number?this.numValue:-1}isTemplateLiteralPart(){return this.isString()&&this.kind===q.TemplateLiteralPart}isTemplateLiteralEnd(){return this.isString()&&this.kind===q.TemplateLiteralEnd}isTemplateLiteralInterpolationStart(){return this.isOperator("${")}toString(){switch(this.type){case h.Character:case h.Identifier:case h.Keyword:case h.Operator:case h.PrivateIdentifier:case h.String:case h.Error:case h.RegExpBody:case h.RegExpFlags:return this.strValue;case h.Number:return this.numValue.toString();default:return null}}},De=class extends b{kind;constructor(e,t,i,n){super(e,t,h.String,0,i),this.kind=n}};ue=new b(-1,-1,h.Character,0,""),rs=class{input;tokens=[];length;peek=0;index=-1;braceStack=[];constructor(e){this.input=e,this.length=e.length,this.advance()}scan(){let e=this.scanToken();for(;e!==null;)this.tokens.push(e),e=this.scanToken();return this.tokens}advance(){this.peek=++this.index>=this.length?oe:this.input.charCodeAt(this.index)}scanToken(){let e=this.input,t=this.length,i=this.peek,n=this.index;for(;i<=Gi;)if(++n>=t){i=oe;break}else i=e.charCodeAt(n);if(this.peek=i,this.index=n,n>=t)return null;if(xi(i))return this.scanIdentifier();if(U(i))return this.scanNumber(n);let r=n;switch(i){case W:return this.advance(),U(this.peek)?this.scanNumber(r):this.peek!==W?le(r,this.index,W):(this.advance(),this.peek===W?(this.advance(),D(r,this.index,"...")):this.error(`Unexpected character [${String.fromCharCode(i)}]`,0));case j:case L:case ie:case _:case F:case z:case he:return this.scanCharacter(r,i);case me:return this.scanOpenBrace(r,i);case Z:return this.scanCloseBrace(r,i);case Yi:case _i:return this.scanString();case st:return this.advance(),this.scanTemplateLiteralPart(r);case xr:return this.scanPrivateIdentifier();case Qi:return this.scanComplexOperator(r,"+",E,"=");case Xi:return this.scanComplexOperator(r,"-",E,"=");case ye:return this.isStartOfRegex()?this.scanRegex(n):this.scanComplexOperator(r,"/",E,"=");case vr:return this.scanComplexOperator(r,"%",E,"=");case Cr:return this.scanOperator(r,"^");case Xt:return this.scanStar(r);case Zt:return this.scanQuestion(r);case gr:case Jt:return this.scanComplexOperator(r,String.fromCharCode(i),E,"=");case fr:return this.scanComplexOperator(r,"!",E,"=",E,"=");case E:return this.scanEquals(r);case Qt:return this.scanComplexOperator(r,"&",Qt,"&",E,"=");case ei:return this.scanComplexOperator(r,"|",ei,"|",E,"=");case en:for(;Pr(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error(`Unexpected character [${String.fromCharCode(i)}]`,0)}scanCharacter(e,t){return this.advance(),le(e,this.index,t)}scanOperator(e,t){return this.advance(),D(e,this.index,t)}scanOpenBrace(e,t){return this.braceStack.push("expression"),this.advance(),le(e,this.index,t)}scanCloseBrace(e,t){return this.advance(),this.braceStack.pop()==="interpolation"?(this.tokens.push(le(e,this.index,Z)),this.scanTemplateLiteralPart(this.index)):le(e,this.index,t)}scanComplexOperator(e,t,i,n,r,a){this.advance();let u=t;return this.peek==i&&(this.advance(),u+=n),r!=null&&this.peek==r&&(this.advance(),u+=a),D(e,this.index,u)}scanEquals(e){this.advance();let t="=";if(this.peek===E)this.advance(),t+="=";else if(this.peek===Jt)return this.advance(),t+=">",D(e,this.index,t);return this.peek===E&&(this.advance(),t+="="),D(e,this.index,t)}scanIdentifier(){let e=this.index;for(this.advance();vi(this.peek);)this.advance();let t=this.input.substring(e,this.index);return Qr.indexOf(t)>-1?Zr(e,this.index,t):Xr(e,this.index,t)}scanPrivateIdentifier(){let e=this.index;if(this.advance(),!xi(this.peek))return this.error("Invalid character [#]",-1);for(;vi(this.peek);)this.advance();let t=this.input.substring(e,this.index);return Jr(e,this.index,t)}scanNumber(e){let t=this.index===e,i=!1;for(this.advance();;){if(!U(this.peek))if(this.peek===Ie){if(!U(this.input.charCodeAt(this.index-1))||!U(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);i=!0}else if(this.peek===W)t=!1;else if(ss(this.peek)){if(this.advance(),as(this.peek)&&this.advance(),!U(this.peek))return this.error("Invalid exponent",-1);t=!1}else break;this.advance()}let n=this.input.substring(e,this.index);i&&(n=n.replace(/_/g,""));let r=t?ls(n):parseFloat(n);return es(e,this.index,r)}scanString(){let e=this.index,t=this.peek;this.advance();let i="",n=this.index,r=this.input;for(;this.peek!=t;)if(this.peek==Be){let u=this.scanStringBackslash(i,n);if(typeof u!="string")return u;i=u,n=this.index}else{if(this.peek==oe)return this.error("Unterminated quote",0);this.advance()}let a=r.substring(n,this.index);return this.advance(),new De(e,this.index,i+a,q.Plain)}scanQuestion(e){this.advance();let t="?";return this.peek===Zt?(t+="?",this.advance(),this.peek===E&&(t+="=",this.advance())):this.peek===W&&(t+=".",this.advance()),D(e,this.index,t)}scanTemplateLiteralPart(e){let t="",i=this.index;for(;this.peek!==st;)if(this.peek===Be){let r=this.scanStringBackslash(t,i);if(typeof r!="string")return r;t=r,i=this.index}else if(this.peek===xt){let r=this.index;if(this.advance(),this.peek===me)return this.braceStack.push("interpolation"),this.tokens.push(new De(e,r,t+this.input.substring(i,r),q.TemplateLiteralPart)),this.advance(),D(r,this.index,this.input.substring(r,this.index))}else{if(this.peek===oe)return this.error("Unterminated template literal",0);this.advance()}let n=this.input.substring(i,this.index);return this.advance(),new De(e,this.index,t+n,q.TemplateLiteralEnd)}error(e,t){let i=this.index+t;return ts(i,this.index,`Lexer Error: ${e} at column ${i} in expression [${this.input}]`)}scanStringBackslash(e,t){e+=this.input.substring(t,this.index);let i;if(this.advance(),this.peek===br){let n=this.input.substring(this.index+1,this.index+5);if(/^[0-9a-f]+$/i.test(n))i=parseInt(n,16);else return this.error(`Invalid unicode escape [\\u${n}]`,0);for(let r=0;r<5;r++)this.advance()}else i=os(this.peek),this.advance();return e+=String.fromCharCode(i),e}scanStar(e){this.advance();let t="*";return this.peek===Xt?(t+="*",this.advance(),this.peek===E&&(t+="=",this.advance())):this.peek===E&&(t+="=",this.advance()),D(e,this.index,t)}isStartOfRegex(){if(this.tokens.length===0)return!0;let e=this.tokens[this.tokens.length-1];if(e.isOperator("!")){let t=this.tokens.length>1?this.tokens[this.tokens.length-2]:null;return t===null||t.type!==h.Identifier&&!t.isCharacter(L)&&!t.isCharacter(_)}return e.type===h.Operator||e.isCharacter(j)||e.isCharacter(ie)||e.isCharacter(F)||e.isCharacter(z)}scanRegex(e){this.advance();let t=this.index,i=!1,n=!1;for(;;){let p=this.peek;if(p===oe)return this.error("Unterminated regular expression",0);if(i)i=!1;else if(p===Be)i=!0;else if(p===ie)n=!0;else if(p===_)n=!1;else if(p===ye&&!n)break;this.advance()}let r=this.input.substring(t,this.index);this.advance();let a=is(e,this.index,r),u=this.scanRegexFlags(this.index);return u!==null?(this.tokens.push(a),u):a}scanRegexFlags(e){if(!at(this.peek))return null;for(;at(this.peek);)this.advance();return ns(e,this.index,this.input.substring(e,this.index))}};us=class{strings;expressions;offsets;constructor(e,t,i){this.strings=e,this.expressions=t,this.offsets=i}},cs=class{templateBindings;warnings;errors;constructor(e,t,i){this.templateBindings=e,this.warnings=t,this.errors=i}};Et=class{_lexer;_supportsDirectPipeReferences;constructor(e,t=!1){this._lexer=e,this._supportsDirectPipeReferences=t}parseAction(e,t,i){let n=[];this._checkNoInterpolation(n,e,t);let{stripped:r}=this._stripComments(e),a=this._lexer.tokenize(r),u=new ce(e,t,i,a,1,n,0,this._supportsDirectPipeReferences).parseChain();return new J(u,e,V(t),i,n)}parseBinding(e,t,i){let n=[],r=this._parseBindingAst(e,t,i,n);return new J(r,e,V(t),i,n)}checkSimpleExpression(e){let t=new ps;return e.visit(t),t.errors}parseSimpleBinding(e,t,i){let n=[],r=this._parseBindingAst(e,t,i,n),a=this.checkSimpleExpression(r);return a.length>0&&n.push(te(`Host binding expression cannot contain ${a.join(" ")}`,e,"",t)),new J(r,e,V(t),i,n)}_parseBindingAst(e,t,i,n){this._checkNoInterpolation(n,e,t);let{stripped:r}=this._stripComments(e),a=this._lexer.tokenize(r);return new ce(e,t,i,a,0,n,0,this._supportsDirectPipeReferences).parseChain()}parseTemplateBindings(e,t,i,n,r){let a=this._lexer.tokenize(t),u=[];return new ce(t,i,r,a,0,u,0,this._supportsDirectPipeReferences).parseTemplateBindings({source:e,span:new G(n,n+e.length)})}parseInterpolation(e,t,i,n){let r=[],{strings:a,expressions:u,offsets:p}=this.splitInterpolation(e,t,r,n);if(u.length===0)return null;let d=[];for(let m=0;m<u.length;++m){let I=n?.[m*2+1]?.sourceSpan,C=u[m].text,{stripped:K,hasComments:A}=this._stripComments(C),H=this._lexer.tokenize(K);if(A&&K.trim().length===0&&H.length===0){r.push(te("Interpolation expression cannot only contain a comment",e,`at column ${u[m].start} in`,t));continue}let ae=new ce(I?C:e,I||t,i,H,0,r,p[m],this._supportsDirectPipeReferences).parseChain();d.push(ae)}return this.createInterpolationAst(a.map(m=>m.text),d,e,V(t),i,r)}parseInterpolationExpression(e,t,i){let{stripped:n}=this._stripComments(e),r=this._lexer.tokenize(n),a=[],u=new ce(e,t,i,r,0,a,0,this._supportsDirectPipeReferences).parseChain(),p=["",""];return this.createInterpolationAst(p,[u],e,V(t),i,a)}createInterpolationAst(e,t,i,n,r,a){let u=new xe(0,i.length),p=new nr(u,u.toAbsolute(r),e,t);return new J(p,i,n,r,a)}splitInterpolation(e,t,i,n){let r=[],a=[],u=[],p=n?hs(n):null,d=0,m=!1,I=!1,C="{{",K="}}";for(;d<e.length;)if(m){let A=d,H=A+C.length,ae=this._getInterpolationEndIndex(e,K,H);if(ae===-1){m=!1,I=!0;break}let Ct=ae+K.length,St=e.substring(H,ae);St.trim().length===0&&i.push(te("Blank expressions are not allowed in interpolated strings",e,`at column ${d} in`,t)),a.push({text:St,start:A,end:Ct});let En=(p?.get(A)??A)+C.length;u.push(En),d=Ct,m=!1}else{let A=d;d=e.indexOf(C,d),d===-1&&(d=e.length);let H=e.substring(A,d);r.push({text:H,start:A,end:d}),m=!0}if(!m)if(I){let A=r[r.length-1];A.text+=e.substring(d),A.end=e.length}else r.push({text:e.substring(d),start:d,end:e.length});return new us(r,a,u)}wrapLiteralPrimitive(e,t,i){let n=new xe(0,e==null?0:e.length);return new J(new P(n,n.toAbsolute(i),e),e,typeof t=="string"?t:V(t),i,[])}_stripComments(e){let t=this._commentStart(e);return t!=null?{stripped:e.substring(0,t),hasComments:!0}:{stripped:e,hasComments:!1}}_commentStart(e){let t=null;for(let i=0;i<e.length-1;i++){let n=e.charCodeAt(i),r=e.charCodeAt(i+1);if(n===ye&&r==ye&&t==null)return i;t===n?t=null:t==null&&ti(n)&&(t=n)}return null}_checkNoInterpolation(e,t,i){let n=-1,r=-1;for(let a of this._forEachUnquotedChar(t,0))if(n===-1)t.startsWith("{{")&&(n=a);else if(r=this._getInterpolationEndIndex(t,"}}",a),r>-1)break;n>-1&&r>-1&&e.push(te("Got interpolation ({{}}) where expression was expected",t,`at column ${n} in`,i))}_getInterpolationEndIndex(e,t,i){for(let n of this._forEachUnquotedChar(e,i)){if(e.startsWith(t,n))return n;if(e.startsWith("//",n))return e.indexOf(t,n)}return-1}*_forEachUnquotedChar(e,t){let i=null,n=0;for(let r=t;r<e.length;r++){let a=e[r];ti(e.charCodeAt(r))&&(i===null||i===a)&&n%2===0?i=i===null?a:null:i===null&&(yield r),n=a==="\\"?n+1:0}}};(function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"})(ee||(ee={}));gi=new Set(["d","g","i","m","s","u","v","y"]),ce=class{input;parseSourceSpan;absoluteOffset;tokens;parseFlags;errors;offset;supportsDirectPipeReferences;rparensExpected=0;rbracketsExpected=0;rbracesExpected=0;context=ee.None;sourceSpanCache=new Map;index=0;constructor(e,t,i,n,r,a,u,p){this.input=e,this.parseSourceSpan=t,this.absoluteOffset=i,this.tokens=n,this.parseFlags=r,this.errors=a,this.offset=u,this.supportsDirectPipeReferences=p}peek(e){let t=this.index+e;return t<this.tokens.length?this.tokens[t]:ue}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){return this.index>0?this.peek(-1).end+this.offset:this.tokens.length===0?this.input.length+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let i=this.currentEndIndex;if(t!==void 0&&t>this.currentEndIndex&&(i=t),e>i){let n=i;i=e,e=n}return new xe(e,i)}sourceSpan(e,t){let i=`${e}@${this.inputIndex}:${t}`;return this.sourceSpanCache.has(i)||this.sourceSpanCache.set(i,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(i)}advance(){this.index++}withContext(e,t){this.context|=e;let i=t();return this.context^=e,i}consumeOptionalCharacter(e){return this.next.isCharacter(e)?(this.advance(),!0):!1}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error(`Missing expected ${String.fromCharCode(e)}`)}consumeOptionalOperator(e){return this.next.isOperator(e)?(this.advance(),!0):!1}isAssignmentOperator(e){return e.type===h.Operator&&N.isAssignmentOperation(e.strValue)}expectOperator(e){this.consumeOptionalOperator(e)||this.error(`Missing expected operator ${e}`)}prettyPrintToken(e){return e===ue?"end of input":`token ${e}`}expectIdentifierOrKeyword(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier or keyword`),null):(this.advance(),e.toString())}expectIdentifierOrKeywordOrString(){let e=this.next;return!e.isIdentifier()&&!e.isKeyword()&&!e.isString()?(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error(`Unexpected ${this.prettyPrintToken(e)}, expected identifier, keyword, or string`),""):(this.advance(),e.toString())}parseChain(){let e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){let i=this.parsePipe();if(e.push(i),this.consumeOptionalCharacter(he))for(this.parseFlags&1||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(he););else if(this.index<this.tokens.length){let n=this.index;if(this.error(`Unexpected token '${this.next}'`),this.index===n)break}}if(e.length===0){let i=this.offset,n=this.offset+this.input.length;return new O(this.span(i,n),this.sourceSpan(i,n))}return e.length==1?e[0]:new Yn(this.span(t),this.sourceSpan(t),e)}parsePipe(){let e=this.inputIndex,t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseFlags&1&&this.error("Cannot have a pipe in an action expression");do{let i=this.inputIndex,n=this.expectIdentifierOrKeyword(),r,a;n!==null?r=this.sourceSpan(i):(n="",a=this.next.index!==-1?this.next.index:this.input.length+this.offset,r=new xe(a,a).toAbsolute(this.absoluteOffset));let u=[];for(;this.consumeOptionalCharacter(z);)u.push(this.parseExpression());let p;if(this.supportsDirectPipeReferences){let d=n.charCodeAt(0);p=d===Ie||d>=vt&&d<=gt?de.ReferencedDirectly:de.ReferencedByName}else p=de.ReferencedByName;t=new Zn(this.span(e),this.sourceSpan(e,a),t,n,u,p,r)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){let e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){let i=this.parsePipe(),n;if(this.consumeOptionalCharacter(z))n=this.parsePipe();else{let r=this.inputIndex,a=this.input.substring(e,r);this.error(`Conditional expression ${a} requires all 3 expressions`),n=new O(this.span(e),this.sourceSpan(e))}return new Qn(this.span(e),this.sourceSpan(e),t,i,n)}else return t}parseLogicalOr(){let e=this.inputIndex,t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){let i=this.parseLogicalAnd();t=new N(this.span(e),this.sourceSpan(e),"||",t,i)}return t}parseLogicalAnd(){let e=this.inputIndex,t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){let i=this.parseNullishCoalescing();t=new N(this.span(e),this.sourceSpan(e),"&&",t,i)}return t}parseNullishCoalescing(){let e=this.inputIndex,t=this.parseEquality();for(;this.consumeOptionalOperator("??");){let i=this.parseEquality();t=new N(this.span(e),this.sourceSpan(e),"??",t,i)}return t}parseEquality(){let e=this.inputIndex,t=this.parseRelational();for(;this.next.type==h.Operator;){let i=this.next.strValue;switch(i){case"==":case"===":case"!=":case"!==":this.advance();let n=this.parseRelational();t=new N(this.span(e),this.sourceSpan(e),i,t,n);continue}break}return t}parseRelational(){let e=this.inputIndex,t=this.parseAdditive();for(;this.next.type==h.Operator||this.next.isKeywordIn()||this.next.isKeywordInstanceOf();){let i=this.next.strValue;switch(i){case"<":case">":case"<=":case">=":case"in":case"instanceof":this.advance();let n=this.parseAdditive();t=new N(this.span(e),this.sourceSpan(e),i,t,n);continue}break}return t}parseAdditive(){let e=this.inputIndex,t=this.parseMultiplicative();for(;this.next.type==h.Operator;){let i=this.next.strValue;switch(i){case"+":case"-":this.advance();let n=this.parseMultiplicative();t=new N(this.span(e),this.sourceSpan(e),i,t,n);continue}break}return t}parseMultiplicative(){let e=this.inputIndex,t=this.parseExponentiation();for(;this.next.type==h.Operator;){let i=this.next.strValue;switch(i){case"*":case"%":case"/":this.advance();let n=this.parseExponentiation();t=new N(this.span(e),this.sourceSpan(e),i,t,n);continue}break}return t}parseExponentiation(){let e=this.inputIndex,t=this.parsePrefix();for(;this.next.type==h.Operator&&this.next.strValue==="**";){(t instanceof Re||t instanceof Kt||t instanceof Ht||t instanceof Wt)&&this.error("Unary operator used immediately before exponentiation expression. Parenthesis must be used to disambiguate operator precedence"),this.advance();let i=this.parseExponentiation();t=new N(this.span(e),this.sourceSpan(e),"**",t,i)}return t}parsePrefix(){if(this.next.type==h.Operator){let e=this.inputIndex,t=this.next.strValue,i;switch(t){case"+":return this.advance(),i=this.parsePrefix(),Re.createPlus(this.span(e),this.sourceSpan(e),i);case"-":return this.advance(),i=this.parsePrefix(),Re.createMinus(this.span(e),this.sourceSpan(e),i);case"!":return this.advance(),i=this.parsePrefix(),new Kt(this.span(e),this.sourceSpan(e),i)}}else if(this.next.isKeywordTypeof()){let e=this.inputIndex;this.advance();let t=this.parsePrefix();return new Ht(this.span(e),this.sourceSpan(e),t)}else if(this.next.isKeywordVoid()){let e=this.inputIndex;this.advance();let t=this.parsePrefix();return new Wt(this.span(e),this.sourceSpan(e),t)}return this.parseCallChain()}parseCallChain(){let e=this.inputIndex,t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(W))t=this.parseAccessMember(t,e,!1);else if(this.consumeOptionalOperator("?."))this.consumeOptionalCharacter(j)?t=this.parseCall(t,e,!0):t=this.consumeOptionalCharacter(ie)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMember(t,e,!0);else if(this.consumeOptionalCharacter(ie))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(j))t=this.parseCall(t,e,!1);else if(this.consumeOptionalOperator("!"))t=new rr(this.span(e),this.sourceSpan(e),t);else if(this.next.isTemplateLiteralEnd())t=this.parseNoInterpolationTaggedTemplateLiteral(t,e);else if(this.next.isTemplateLiteralPart())t=this.parseTaggedTemplateLiteral(t,e);else return t}parsePrimary(){let e=this.inputIndex;if(this.isArrowFunction())return this.parseArrowFunction(e);if(this.consumeOptionalCharacter(j)){this.rparensExpected++;let t=this.parsePipe();return this.consumeOptionalCharacter(L)||(this.error("Missing closing parentheses"),this.consumeOptionalCharacter(L)),this.rparensExpected--,new Ui(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isKeywordNull())return this.advance(),new P(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new P(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new P(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new P(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordIn())return this.advance(),new P(this.span(e),this.sourceSpan(e),"in");if(this.next.isKeywordThis())return this.advance(),new _n(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(ie))return this.parseLiteralArray(e);if(this.next.isCharacter(me))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMember(new it(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){let t=this.next.toNumber();return this.advance(),new P(this.span(e),this.sourceSpan(e),t)}else{if(this.next.isTemplateLiteralEnd())return this.parseNoInterpolationTemplateLiteral();if(this.next.isTemplateLiteralPart())return this.parseTemplateLiteral();if(this.next.isString()&&this.next.kind===q.Plain){let t=this.next.toString();return this.advance(),new P(this.span(e),this.sourceSpan(e),t)}else return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new O(this.span(e),this.sourceSpan(e))):this.next.isRegExpBody()?this.parseRegularExpressionLiteral():this.index>=this.tokens.length?(this.error(`Unexpected end of expression: ${this.input}`),new O(this.span(e),this.sourceSpan(e))):(this.error(`Unexpected token ${this.next}`),new O(this.span(e),this.sourceSpan(e)))}}}parseLiteralArray(e){this.rbracketsExpected++;let t=[];do if(this.next.isOperator("..."))t.push(this.parseSpreadElement());else if(!this.next.isCharacter(_))t.push(this.parsePipe());else break;while(this.consumeOptionalCharacter(F));return this.rbracketsExpected--,this.expectCharacter(_),new er(this.span(e),this.sourceSpan(e),t)}parseLiteralMap(){let e=[],t=[],i=this.inputIndex;if(this.expectCharacter(me),!this.consumeOptionalCharacter(Z)){this.rbracesExpected++;do{let n=this.inputIndex;if(this.next.isOperator("...")){this.advance(),e.push({kind:"spread",span:this.span(n),sourceSpan:this.sourceSpan(n)}),t.push(this.parsePipe());continue}let r=this.next.isString(),a=this.expectIdentifierOrKeywordOrString(),u=this.span(n),p=this.sourceSpan(n),d={kind:"property",key:a,quoted:r,span:u,sourceSpan:p};e.push(d),r?(this.expectCharacter(z),t.push(this.parsePipe())):this.consumeOptionalCharacter(z)?t.push(this.parsePipe()):(d.isShorthandInitialized=!0,t.push(new ke(u,p,p,new it(u,p),a)))}while(this.consumeOptionalCharacter(F)&&!this.next.isCharacter(Z));this.rbracesExpected--,this.expectCharacter(Z)}return new ir(this.span(i),this.sourceSpan(i),e,t)}parseAccessMember(e,t,i){let n=this.inputIndex,r=this.withContext(ee.Writable,()=>{let u=this.expectIdentifierOrKeyword()??"";return u.length===0&&this.error("Expected identifier for property access",e.span.end),u}),a=this.sourceSpan(n);if(i)return this.isAssignmentOperator(this.next)?(this.advance(),this.error("The '?.' operator cannot be used in the assignment"),new O(this.span(t),this.sourceSpan(t))):new Xn(this.span(t),this.sourceSpan(t),a,e,r);if(this.isAssignmentOperator(this.next)){let u=this.next.strValue;if(!(this.parseFlags&1))return this.advance(),this.error("Bindings cannot contain assignments"),new O(this.span(t),this.sourceSpan(t));let p=new ke(this.span(t),this.sourceSpan(t),a,e,r);this.advance();let d=this.parseConditional();return new N(this.span(t),this.sourceSpan(t),u,p,d)}else return new ke(this.span(t),this.sourceSpan(t),a,e,r)}parseCall(e,t,i){let n=this.inputIndex;this.rparensExpected++;let r=this.parseCallArguments(),a=this.span(n,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(L),this.rparensExpected--;let u=this.span(t),p=this.sourceSpan(t);return i?new ar(u,p,e,r,a):new sr(u,p,e,r,a)}parseCallArguments(){if(this.next.isCharacter(L))return[];let e=[];do e.push(this.next.isOperator("...")?this.parseSpreadElement():this.parsePipe());while(this.consumeOptionalCharacter(F));return e}parseSpreadElement(){this.next.isOperator("...")||this.error("Spread element must start with '...' operator");let e=this.inputIndex;this.advance();let t=this.parsePipe(),i=this.span(e),n=this.sourceSpan(e);return new tr(i,n,t)}expectTemplateBindingKey(){let e="",t=!1,i=this.currentAbsoluteOffset;do e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-");while(t);return{source:e,span:new G(i,i+e.length)}}parseTemplateBindings(e){let t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){let i=this.parseLetBinding();if(i)t.push(i);else{let n=this.expectTemplateBindingKey(),r=this.parseAsBinding(n);r?t.push(r):(n.source=e.source+n.source.charAt(0).toUpperCase()+n.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(n)))}this.consumeStatementTerminator()}return new cs(t,[],this.errors)}parseKeyedReadOrWrite(e,t,i){return this.withContext(ee.Writable,()=>{this.rbracketsExpected++;let n=this.parsePipe();if(n instanceof O&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(_),this.isAssignmentOperator(this.next)){let r=this.next.strValue;if(i)this.advance(),this.error("The '?.' operator cannot be used in the assignment");else{let a=new $t(this.span(t),this.sourceSpan(t),e,n);this.advance();let u=this.parseConditional();return new N(this.span(t),this.sourceSpan(t),r,a,u)}}else return i?new Jn(this.span(t),this.sourceSpan(t),e,n):new $t(this.span(t),this.sourceSpan(t),e,n);return new O(this.span(t),this.sourceSpan(t))})}parseDirectiveKeywordBindings(e){let t=[];this.consumeOptionalCharacter(z);let i=this.getDirectiveBoundTarget(),n=this.currentAbsoluteOffset,r=this.parseAsBinding(e);r||(this.consumeStatementTerminator(),n=this.currentAbsoluteOffset);let a=new G(e.span.start,n);return t.push(new ji(a,e,i)),r&&t.push(r),t}getDirectiveBoundTarget(){if(this.next===ue||this.peekKeywordAs()||this.peekKeywordLet())return null;let e=this.parsePipe(),{start:t,end:i}=e.span,n=this.input.substring(t,i);return new J(e,n,V(this.parseSourceSpan),this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();let t=this.expectTemplateBindingKey();this.consumeStatementTerminator();let i=new G(e.span.start,this.currentAbsoluteOffset);return new rt(i,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;let e=this.currentAbsoluteOffset;this.advance();let t=this.expectTemplateBindingKey(),i=null;this.consumeOptionalOperator("=")&&(i=this.expectTemplateBindingKey()),this.consumeStatementTerminator();let n=new G(e,this.currentAbsoluteOffset);return new rt(n,t,i)}parseNoInterpolationTaggedTemplateLiteral(e,t){let i=this.parseNoInterpolationTemplateLiteral();return new Ut(this.span(t),this.sourceSpan(t),e,i)}parseNoInterpolationTemplateLiteral(){let e=this.next.strValue,t=this.inputIndex;this.advance();let i=this.span(t),n=this.sourceSpan(t);return new jt(i,n,[new zt(i,n,e)],[])}parseTaggedTemplateLiteral(e,t){let i=this.parseTemplateLiteral();return new Ut(this.span(t),this.sourceSpan(t),e,i)}parseTemplateLiteral(){let e=[],t=[],i=this.inputIndex;for(;this.next!==ue;){let n=this.next;if(n.isTemplateLiteralPart()||n.isTemplateLiteralEnd()){let r=this.inputIndex;if(this.advance(),e.push(new zt(this.span(r),this.sourceSpan(r),n.strValue)),n.isTemplateLiteralEnd())break}else if(n.isTemplateLiteralInterpolationStart()){this.advance(),this.rbracesExpected++;let r=this.parsePipe();r instanceof O?this.error("Template literal interpolation cannot be empty"):t.push(r),this.rbracesExpected--}else this.advance()}return new jt(this.span(i),this.sourceSpan(i),e,t)}parseRegularExpressionLiteral(){let e=this.next;if(this.advance(),!e.isRegExpBody())return new O(this.span(this.inputIndex),this.sourceSpan(this.inputIndex));let t=null;if(this.next.isRegExpFlags()){t=this.next,this.advance();let r=new Set;for(let a=0;a<t.strValue.length;a++){let u=t.strValue[a];gi.has(u)?r.has(u)?this.error(`Duplicate regular expression flag "${u}"`,t.index+a):r.add(u):this.error(`Unsupported regular expression flag "${u}". The supported flags are: `+Array.from(gi,p=>`"${p}"`).join(", "),t.index+a)}}let i=e.index,n=t?t.end:e.end;return new ur(this.span(i,n),this.sourceSpan(i,n),e.strValue,t?t.strValue:null)}parseArrowFunction(e){let t;if(this.next.isIdentifier()){let n=this.next;this.advance(),t=[this.getArrowFunctionIdentifierArg(n)]}else this.next.isCharacter(j)?(this.rparensExpected++,this.advance(),t=this.parseArrowFunctionParameters(),this.rparensExpected--):(t=[],this.error(`Unexpected token ${this.next}`));this.expectOperator("=>");let i;if(this.next.isCharacter(me))this.error("Multi-line arrow functions are not supported. If you meant to return an object literal, wrap it with parentheses."),i=new O(this.span(e),this.sourceSpan(e));else{let n=this.parseFlags;this.parseFlags=1,i=this.parseExpression(),this.parseFlags=n}return new lr(this.span(e),this.sourceSpan(e),t,i)}parseArrowFunctionParameters(){let e=[];if(!this.consumeOptionalCharacter(L))for(;this.next!==ue;)if(this.next.isIdentifier()){let t=this.next;if(this.advance(),e.push(this.getArrowFunctionIdentifierArg(t)),this.consumeOptionalCharacter(L))break;this.expectCharacter(F)}else{this.error(`Unexpected token ${this.next}`);break}return e}getArrowFunctionIdentifierArg(e){return new or(e.strValue,this.span(e.index),this.sourceSpan(e.index))}isArrowFunction(){let e=this.index,t=this.tokens;if(e>t.length-2)return!1;if(t[e].isIdentifier()&&t[e+1].isOperator("=>"))return!0;if(t[e].isCharacter(j)){let i=e+1;for(i;i<t.length&&!(!t[i].isIdentifier()&&!t[i].isCharacter(F));i++);return i<t.length-1&&t[i].isCharacter(L)&&t[i+1].isOperator("=>")}return!1}consumeStatementTerminator(){this.consumeOptionalCharacter(he)||this.consumeOptionalCharacter(F)}error(e,t=this.index){this.errors.push(te(e,this.input,this.getErrorLocationText(t),this.parseSourceSpan)),this.skip()}getErrorLocationText(e){return e<this.tokens.length?`at column ${this.tokens[e].index+1} in`:"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let i=`Private identifiers are not supported. Unexpected private identifier: ${e}`;t!==null&&(i+=`, ${t}`),this.error(i)}skip(){let e=this.next;for(;this.index<this.tokens.length&&!e.isCharacter(he)&&!e.isOperator("|")&&(this.rparensExpected<=0||!e.isCharacter(L))&&(this.rbracesExpected<=0||!e.isCharacter(Z))&&(this.rbracketsExpected<=0||!e.isCharacter(_))&&(!(this.context&ee.Writable)||!this.isAssignmentOperator(e));)this.next.isError()&&this.errors.push(te(this.next.toString(),this.input,this.getErrorLocationText(this.next.index),this.parseSourceSpan)),this.advance(),e=this.next}};ps=class extends cr{errors=[];visitPipe(){this.errors.push("pipes")}};ds=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),no=Array.from(ds).reduce((e,[t,i])=>(e.set(t,i),e),new Map),ro=new Et(new cn);so=[{test:k(o.StyleMap),transform:Se},{test:k(o.ClassMap),transform:Se},{test:k(o.StyleProp)},{test:k(o.ClassProp)},{test:fe(o.Attribute,!0)},{test:fe(o.Property,!0)},{test:ms},{test:fe(o.Attribute,!1)},{test:k(o.Control)}],ao=[{test:fe(o.DomProperty,!0)},{test:fe(o.DomProperty,!1)},{test:k(o.Attribute)},{test:k(o.StyleMap),transform:Se},{test:k(o.ClassMap),transform:Se},{test:k(o.StyleProp)},{test:k(o.ClassProp)}],oo=new Set([o.Listener,o.TwoWayListener,o.AnimationListener,o.StyleMap,o.ClassMap,o.StyleProp,o.ClassProp,o.Property,o.TwoWayProperty,o.DomProperty,o.Attribute,o.Animation,o.Control]);lo=new Map([[M.Idle,{none:l.deferOnIdle,prefetch:l.deferPrefetchOnIdle,hydrate:l.deferHydrateOnIdle}],[M.Immediate,{none:l.deferOnImmediate,prefetch:l.deferPrefetchOnImmediate,hydrate:l.deferHydrateOnImmediate}],[M.Timer,{none:l.deferOnTimer,prefetch:l.deferPrefetchOnTimer,hydrate:l.deferHydrateOnTimer}],[M.Hover,{none:l.deferOnHover,prefetch:l.deferPrefetchOnHover,hydrate:l.deferHydrateOnHover}],[M.Interaction,{none:l.deferOnInteraction,prefetch:l.deferPrefetchOnInteraction,hydrate:l.deferHydrateOnInteraction}],[M.Viewport,{none:l.deferOnViewport,prefetch:l.deferPrefetchOnViewport,hydrate:l.deferHydrateOnViewport}],[M.Never,{none:l.deferHydrateNever,prefetch:l.deferHydrateNever,hydrate:l.deferHydrateNever}]]),uo=[l.pipeBind1,l.pipeBind2,l.pipeBind3,l.pipeBind4],co={constant:[l.interpolate,l.interpolate1,l.interpolate2,l.interpolate3,l.interpolate4,l.interpolate5,l.interpolate6,l.interpolate7,l.interpolate8],variable:l.interpolateV,mapping:e=>{if(e%2===0)throw new Error("Expected odd number of arguments");return(e-1)/2}},po=new Map([["window",l.resolveWindow],["document",l.resolveDocument],["body",l.resolveBody]]),ho=new Map([[T.HTML,l.sanitizeHtml],[T.RESOURCE_URL,l.sanitizeResourceUrl],[T.SCRIPT,l.sanitizeScript],[T.STYLE,l.sanitizeStyle],[T.URL,l.sanitizeUrl],[T.ATTRIBUTE_NO_BINDING,l.validateAttribute]]),mo=new Map([[T.HTML,l.trustConstantHtml],[T.RESOURCE_URL,l.trustConstantResourceUrl]]);(function(e){e[e.None=0]="None",e[e.ViewContextRead=1]="ViewContextRead",e[e.ViewContextWrite=2]="ViewContextWrite",e[e.SideEffectful=4]="SideEffectful"})(yi||(yi={}));fo=new Set([o.Container,o.ContainerStart,o.ContainerEnd,o.Element,o.ElementStart,o.ElementEnd,o.Template]),xo=new Map([[R.Property,B.Property],[R.TwoWay,B.TwoWayProperty],[R.Attribute,B.Attribute],[R.Class,B.ClassName],[R.Style,B.StyleProperty],[R.LegacyAnimation,B.LegacyAnimation],[R.Animation,B.Animation]]);(function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"})(Ei||(Ei={}));(function(e){e.IDLE="idle",e.TIMER="timer",e.INTERACTION="interaction",e.IMMEDIATE="immediate",e.HOVER="hover",e.VIEWPORT="viewport",e.NEVER="never"})(wi||(wi={}));pn="%COMP%",vo=`_nghost-${pn}`,go=`_ngcontent-${pn}`;(function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"})(Ci||(Ci={}));(function(e){e[e.Selector=0]="Selector",e[e.HostDirective=1]="HostDirective"})(Si||(Si={}));yo=new Gn("21.2.8"),fs="test.html";xs=e=>Et.prototype._commentStart(e);Oe=e=>t=>{let i=hn(t);return mn({...i,result:dn()[e](t,i.sourceSpan,0),comments:vs(t)})},gs=Oe("parseAction"),ys=Oe("parseBinding"),Es=Oe("parseSimpleBinding"),ws=Oe("parseInterpolationExpression"),Cs=e=>{let t=hn(e);return mn({...t,result:dn().parseTemplateBindings("",e,t.sourceSpan,0,0),comments:[]})},fn=class{text;constructor(e){this.text=e}getCharacterIndex(e,t){return bn(this.text,e,t)}transformSpan(e){return Di(e)}createNode(e,t){let i=e.start,n=e.end,r=e.range;if(t&&(Array.isArray(t)?([i,n]=t,r=t):({start:i,end:n}=t.sourceSpan??t,r=[i,n])),r?[i,n]=r:typeof i=="number"&&typeof n=="number"&&(r=[i,n]),!(typeof i=="number"&&typeof n=="number"&&r))throw new Error("Missing location information");let a={...e,start:i,end:n,range:r};switch(a.type){case"NumericLiteral":case"StringLiteral":case"RegExpLiteral":{let u=this.text.slice(i,n),{value:p}=a;a.extra={...a.extra,raw:u,rawValue:p};break}}return a}},Ii=Object.defineProperty,Ss=(e,t)=>{let i={};for(var n in e)Ii(i,n,{get:e[n],enumerable:!0});return t&&Ii(i,Symbol.toStringTag,{value:"Module"}),i},Ns=(e,t)=>({type:"ArrayExpression",elements:t.transformChildren(e.expressions)}),Is={id:null,generator:!1,async:!1,expression:!0},As=(e,t)=>({type:"ArrowFunctionExpression",params:e.parameters.map(i=>t.createNode({type:"Identifier",name:i.name},i.sourceSpan)),body:t.transformChild(e.body),...Is}),Os=(e,t)=>t.transformChild(e.ast),bs=e=>e==="&&"||e==="||"||e==="??",Ls=(e,t)=>{let{operation:i}=e,[n,r]=t.transformChildren([e.left,e.right]);return bs(i)?{type:"LogicalExpression",operator:i,left:n,right:r}:N.isAssignmentOperation(i)?{type:"AssignmentExpression",left:n,right:r,operator:i}:{left:n,right:r,type:"BinaryExpression",operator:i}},Ps={optional:!1},Ts={optional:!0},xn=({optional:e})=>(t,i)=>{let n=i.transformChildren(t.args),r=i.transformChild(t.receiver);return e||mt(r)?{type:"OptionalCallExpression",callee:r,arguments:n,optional:e}:{type:"CallExpression",callee:r,arguments:n}},ks=xn(Ps),Rs=xn(Ts),Bs=(e,t)=>({type:"NGChainedExpression",expressions:t.transformChildren(e.expressions)}),Ms=(e,t)=>{let[i,n,r]=t.transformChildren([e.condition,e.trueExp,e.falseExp]);return{type:"ConditionalExpression",test:i,consequent:n,alternate:r}},Ds=()=>({type:"NGEmptyExpression"}),Fs=(e,t)=>{let{expressions:i}=e;if(i.length!==1)throw new Error("Unexpected 'Interpolation'");return t.transformChild(i[0])},Vs=e=>{let{value:t}=e;switch(typeof t){case"boolean":return{type:"BooleanLiteral",value:t};case"number":return{type:"NumericLiteral",value:t};case"object":return{type:"NullLiteral"};case"string":return{type:"StringLiteral",value:t};case"undefined":return{type:"Identifier",name:"undefined"};default:throw new Error(`Unexpected 'LiteralPrimitive' value type ${typeof t}`)}},qs=e=>({type:"RegExpLiteral",pattern:e.body,flags:e.flags??""}),$s={computed:!0,optional:!1},Ks={computed:!0,optional:!0},Hs={computed:!1,optional:!1},Ws={computed:!1,optional:!0},be=({computed:e,optional:t})=>(i,n)=>{let{receiver:r}=i,a;if(e){let{key:p}=i;a=n.transformChild(p)}else{let p=r instanceof it,{name:d,nameSpan:m}=i;if(a=n.create({type:"Identifier",name:d},m,p?n.ancestors:[]),p)return a}let u=n.transformChild(r);return t||mt(u)?{type:"OptionalMemberExpression",optional:t,property:a,object:u,computed:e}:{type:"MemberExpression",property:a,object:u,computed:e}},Us=be($s),js=be(Ks),zs=be(Hs),Gs=be(Ws),_s=(e,t)=>({type:"TSNonNullExpression",expression:t.transformChild(e.expression)}),Ys=(e,t)=>{let{keys:i,values:n}=e,r=(a,u=e)=>t.create(a,u,[e,...t.ancestors]);return{type:"ObjectExpression",properties:i.map((a,u)=>{let p=n[u],d=[a.sourceSpan.start,p.sourceSpan.end];if(a.kind==="spread")return r({type:"SpreadElement",argument:t.transformChild(p)},d);let m=!!a.isShorthandInitialized;return r({type:"ObjectProperty",key:r(a.quoted?{type:"StringLiteral",value:a.key}:{type:"Identifier",name:a.key},a.sourceSpan),value:t.transformChild(p),shorthand:m,computed:!1,method:!1},d)})}},Qs=(e,t)=>t.transformChild(e.expression),Xs=(e,t)=>({type:"NGPipeExpression",left:t.transformChild(e.exp),right:t.create({type:"Identifier",name:e.name},e.nameSpan),arguments:t.transformChildren(e.args)}),Js=(e,t)=>({type:"SpreadElement",argument:t.transformChild(e.expression)}),Zs=(e,t)=>({type:"TaggedTemplateExpression",tag:t.transformChild(e.tag),quasi:t.transformChild(e.template)}),ea=(e,t)=>({type:"TemplateLiteral",quasis:t.transformChildren(e.elements),expressions:t.transformChildren(e.expressions)}),ta=(e,t)=>{let[i]=t.ancestors,{elements:n}=i,r=n.indexOf(e),a=r===0,u=r===n.length-1,p=e.sourceSpan.end-(u?1:0),d=e.sourceSpan.start+(a?1:0),m=t.text.slice(d,p);return{type:"TemplateElement",value:{cooked:e.text,raw:m},tail:u,range:[d,p]}},ia=()=>({type:"ThisExpression"}),wt=e=>(t,i)=>({type:"UnaryExpression",prefix:!0,operator:e,argument:i.transformChild(t.expression)}),na=wt("!"),ra=wt("typeof"),sa=wt("void"),aa=(e,t)=>({type:"UnaryExpression",prefix:!0,argument:t.transformChild(e.expr),operator:e.operator}),oa=e=>{throw new Error(`Unexpected node type '${e.constructor.name}'`)},la=oa,ua=Ss({visitASTWithSource:()=>Os,visitArrowFunction:()=>As,visitBinary:()=>Ls,visitCall:()=>ks,visitChain:()=>Bs,visitConditional:()=>Ms,visitEmptyExpr:()=>Ds,visitImplicitReceiver:()=>la,visitInterpolation:()=>Fs,visitKeyedRead:()=>Us,visitLiteralArray:()=>Ns,visitLiteralMap:()=>Ys,visitLiteralPrimitive:()=>Vs,visitNonNullAssert:()=>_s,visitParenthesizedExpression:()=>Qs,visitPipe:()=>Xs,visitPrefixNot:()=>na,visitPropertyRead:()=>zs,visitRegularExpressionLiteral:()=>qs,visitSafeCall:()=>Rs,visitSafeKeyedRead:()=>js,visitSafePropertyRead:()=>Gs,visitSpreadElement:()=>Js,visitTaggedTemplateLiteral:()=>Zs,visitTemplateLiteral:()=>ea,visitTemplateLiteralElement:()=>ta,visitThisReceiver:()=>ia,visitTypeofExpression:()=>ra,visitUnary:()=>aa,visitVoidExpression:()=>sa}),ca=ua,vn=class ht extends fn{node;ancestors;constructor({node:t,text:i,ancestors:n=[]}){super(i),this.node=t,this.ancestors=n}create(t,i,n=this.ancestors){return n[0]instanceof Ui&&(t.extra={...t.extra,parenthesized:!0}),super.createNode(t,t.range??i??this.node)}transformChild(t){return new ht({node:t,ancestors:[this.node,...this.ancestors],text:this.text}).transform()}transformChildren(t){return t.map(i=>this.transformChild(i))}transform(){let{node:t}=this,i=t.visit(ca,this);return this.create(i,this.node)}static transform(t,i){return new ht({node:t,text:i,ancestors:[]}).transform()}},pa=class extends vn{constructor(e){super({node:e,text:e.source})}},ha=(e,t)=>vn.transform(e,t),da=e=>new pa(e).transform(),ma=(e,t)=>(i,n,...r)=>i|1&&n==null?void 0:(t.call(n)??n[e]).apply(n,r);xa=ma("at",function(){if(Array.isArray(this)||typeof this=="string")return fa}),va=xa;ga=($e=class extends fn{constructor(e,t){super(t),Te(this,v),Te(this,pe),Te(this,X),It(this,pe,e),It(this,X,t);for(let i of e)g(this,v,Li).call(this,i)}get expressions(){return g(this,v,Ti).call(this)}},pe=new WeakMap,X=new WeakMap,v=new WeakSet,bi=function(){return Q(this,pe)[0].key},S=function(e,t){return In($e.prototype,this,"createNode").call(this,e,t)},Fe=function(e){return ha(e,this.text)},Ve=function(e){return Ln(e.slice(Q(this,v,bi).source.length))},qe=function(e){let t=Q(this,X);if(t[e.start]!=='"'&&t[e.start]!=="'")return;let i=t[e.start],n=!1;for(let r=e.start+1;r<t.length;r++)switch(t[r]){case i:if(!n){e.end=r+1;return}default:n=!1;break;case"\\":n=!n;break}},Li=function(e){g(this,v,qe).call(this,e.key.span),Oi(e)&&e.value&&g(this,v,qe).call(this,e.value.span)},Pi=function(e){if(!e.value||e.value.source)return e.value;let t=this.getCharacterIndex(/\S/,e.sourceSpan.start);return{source:"$implicit",span:{start:t,end:t}}},Ti=function(){let e=Q(this,pe),[t]=e,i=Q(this,X).slice(t.sourceSpan.start,t.sourceSpan.end).trim().length===0?e.slice(1):e,n=[],r=null;for(let[a,u]of i.entries()){if(r&&Ai(r)&&Oi(u)&&u.value&&u.value.source===r.key.source){let p=g(this,v,S).call(this,{type:"NGMicrosyntaxKey",name:u.key.source},u.key.span),d=(C,K)=>({...C,...this.transformSpan({start:C.start,end:K})}),m=C=>({...d(C,p.end),alias:p}),I=n.pop();if(I.type==="NGMicrosyntaxExpression")n.push(m(I));else if(I.type==="NGMicrosyntaxKeyedExpression"){let C=m(I.expression);n.push(d({...I,expression:C},C.end))}else throw new Error(`Unexpected type ${I.type}`)}else n.push(g(this,v,ki).call(this,u,a));r=u}return g(this,v,S).call(this,{type:"NGMicrosyntax",body:n},n.length===0?e[0].sourceSpan:{start:n[0].start,end:va(0,n,-1).end})},ki=function(e,t){if(Ai(e)){let{key:i,value:n}=e;return n?t===0?g(this,v,S).call(this,{type:"NGMicrosyntaxExpression",expression:g(this,v,Fe).call(this,n.ast),alias:null},n):g(this,v,S).call(this,{type:"NGMicrosyntaxKeyedExpression",key:g(this,v,S).call(this,{type:"NGMicrosyntaxKey",name:g(this,v,Ve).call(this,i.source)},i.span),expression:g(this,v,S).call(this,{type:"NGMicrosyntaxExpression",expression:g(this,v,Fe).call(this,n.ast),alias:null},n)},[i.span.start,n.sourceSpan.end]):g(this,v,S).call(this,{type:"NGMicrosyntaxKey",name:g(this,v,Ve).call(this,i.source)},i.span)}else{let{key:i,sourceSpan:n}=e;if(/^let\s$/.test(Q(this,X).slice(n.start,n.start+4))){let{value:r}=e;return g(this,v,S).call(this,{type:"NGMicrosyntaxLet",key:g(this,v,S).call(this,{type:"NGMicrosyntaxKey",name:i.source},i.span),value:r?g(this,v,S).call(this,{type:"NGMicrosyntaxKey",name:r.source},r.span):null},[n.start,r?r.span.end:i.span.end])}else{let r=g(this,v,Pi).call(this,e);return g(this,v,S).call(this,{type:"NGMicrosyntaxAs",key:g(this,v,S).call(this,{type:"NGMicrosyntaxKey",name:r.source},r.span),alias:g(this,v,S).call(this,{type:"NGMicrosyntaxKey",name:i.source},i.span)},[r.span.start,i.span.end])}}},$e);Le=e=>t=>{let{result:i,comments:n}=e(t);return Object.assign(da(i),{comments:n})},gn=Le(gs),Ea=Le(ys),Eo=Le(Es),wa=Le(ws),Ca=e=>ya(Cs(e).result.templateBindings,e);Na=Pe(gn),Ia=Pe(Ea),Aa=Pe(wa),Oa=Pe(Ca)});ba();export{An as default,Mi as parsers};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {LoaderFunctionArgs} from '
|
|
1
|
+
import type {LoaderFunctionArgs} from 'react-router';
|
|
2
2
|
|
|
3
3
|
export async function loader({params, context}: LoaderFunctionArgs) {
|
|
4
4
|
const {language, country} = context.storefront.i18n;
|
|
@@ -7,8 +7,8 @@ export async function loader({params, context}: LoaderFunctionArgs) {
|
|
|
7
7
|
params.locale &&
|
|
8
8
|
params.locale.toLowerCase() !== `${language}-${country}`.toLowerCase()
|
|
9
9
|
) {
|
|
10
|
-
// If the locale URL param is defined, yet we
|
|
11
|
-
// then the
|
|
10
|
+
// If the locale URL param is defined, yet we are still at the default locale
|
|
11
|
+
// then the locale param must be invalid, send to the 404 page
|
|
12
12
|
throw new Response(null, {status: 404});
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -1,5 +1,111 @@
|
|
|
1
1
|
# skeleton
|
|
2
2
|
|
|
3
|
+
## 2026.4.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`23431c956193420bce3442e9e5cc711dc95cc497`](https://github.com/Shopify/hydrogen/commit/23431c956193420bce3442e9e5cc711dc95cc497)]:
|
|
8
|
+
- @shopify/hydrogen@2026.4.4
|
|
9
|
+
|
|
10
|
+
## 2026.4.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Include line item children recursively in cart. ([#3753](https://github.com/Shopify/hydrogen/pull/3753)) by [@martin-pettersson](https://github.com/martin-pettersson)
|
|
15
|
+
|
|
16
|
+
- Add generic cart result typing to `createCartHandler` so custom cart fragments can use their generated fragment types. ([#3767](https://github.com/Shopify/hydrogen/pull/3767)) by [@andguy95](https://github.com/andguy95)
|
|
17
|
+
|
|
18
|
+
- Widen React Router peer dependency ranges so Hydrogen packages accept compatible React Router 7.16 patch versions without npm peer dependency conflicts. New Hydrogen projects now default to React Router 7.16.0. ([#3771](https://github.com/Shopify/hydrogen/pull/3771)) by [@fredericoo](https://github.com/fredericoo)
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [[`3ccc22e0a3407298e835104e29adfb036f261474`](https://github.com/Shopify/hydrogen/commit/3ccc22e0a3407298e835104e29adfb036f261474), [`a810db483c108ac8bbeaac45595b130ed95a2ec7`](https://github.com/Shopify/hydrogen/commit/a810db483c108ac8bbeaac45595b130ed95a2ec7), [`d17057eb4630710743e81b83573973100ec56d23`](https://github.com/Shopify/hydrogen/commit/d17057eb4630710743e81b83573973100ec56d23), [`995190036d99e02ba6fb559b8e3c406c90043599`](https://github.com/Shopify/hydrogen/commit/995190036d99e02ba6fb559b8e3c406c90043599), [`39f2b326e9fddda36b1d12149794bf4ffcc0d4b8`](https://github.com/Shopify/hydrogen/commit/39f2b326e9fddda36b1d12149794bf4ffcc0d4b8)]:
|
|
21
|
+
- @shopify/hydrogen@2026.4.3
|
|
22
|
+
|
|
23
|
+
## 2026.4.2
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Add support for Vite 7 and Vite 8. Hydrogen remains backwards-compatible with Vite 5+. ([#3617](https://github.com/Shopify/hydrogen/pull/3617)) by [@frandiox](https://github.com/frandiox)
|
|
28
|
+
|
|
29
|
+
Mini Oxygen's dev server has been refactored to use the [Vite Environment API](https://vite.dev/guide/api-environment), which is the standard way to run non-browser runtimes in Vite. This replaces the previous custom middleware approach with a first-class `FetchableDevEnvironment`, improving compatibility with Vite's built-in HMR and module invalidation.
|
|
30
|
+
|
|
31
|
+
New Hydrogen projects created with `npm create @shopify/hydrogen` will default to Vite 8. The `vite-tsconfig-paths` plugin is no longer needed in the skeleton template since Vite 8 supports `resolve.tsconfigPaths` natively.
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [[`dc49699c799997d5893bc06e444f888e86a3bc29`](https://github.com/Shopify/hydrogen/commit/dc49699c799997d5893bc06e444f888e86a3bc29), [`50df825c57159757529f5f9f62c258d4de2a4b97`](https://github.com/Shopify/hydrogen/commit/50df825c57159757529f5f9f62c258d4de2a4b97), [`51f1e77fe63be5e5ded4ef0c91942bc304f1abc4`](https://github.com/Shopify/hydrogen/commit/51f1e77fe63be5e5ded4ef0c91942bc304f1abc4)]:
|
|
34
|
+
- @shopify/hydrogen@2026.4.2
|
|
35
|
+
|
|
36
|
+
## 2026.4.1
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Fix `set-cookie-parser` and `cookie` resolution warnings during `dev` by using Vite's nested dependency syntax (`react-router > dep`). These are CJS transitive dependencies of `react-router` that weren't resolvable by bare name with strict package managers like pnpm. ([#3698](https://github.com/Shopify/hydrogen/pull/3698)) by [@fredericoo](https://github.com/fredericoo)
|
|
41
|
+
|
|
42
|
+
- Updated dependencies [[`f84ab400c62d89827574d0fa65ba310a2e75f36f`](https://github.com/Shopify/hydrogen/commit/f84ab400c62d89827574d0fa65ba310a2e75f36f)]:
|
|
43
|
+
- @shopify/hydrogen@2026.4.1
|
|
44
|
+
|
|
45
|
+
## 2026.4.0
|
|
46
|
+
|
|
47
|
+
### Major Changes
|
|
48
|
+
|
|
49
|
+
- Update Storefront API and Customer Account API from 2026-01 to 2026-04. ([#3651](https://github.com/Shopify/hydrogen/pull/3651)) by [@itsjustriley](https://github.com/itsjustriley)
|
|
50
|
+
|
|
51
|
+
## Breaking changes
|
|
52
|
+
|
|
53
|
+
**JSON metafield values limited to 128KB**: When using API version 2026-04 or later, the Storefront API limits JSON type metafield writes to 128KB. This limit applies at the API level - Hydrogen passes through to the Storefront API without additional restriction. Apps that used JSON metafields before April 1, 2026 are grandfathered at the existing 2MB limit. Large metafield values continue to be readable by all API versions.
|
|
54
|
+
|
|
55
|
+
## New features
|
|
56
|
+
|
|
57
|
+
**New `MERCHANDISE_LINE_TRANSFORMERS_RUN_ERROR` cart error code**: Cart operations (`cartCreate`, `cartLinesAdd`, etc.) now return a specific `MERCHANDISE_LINE_TRANSFORMERS_RUN_ERROR` error code when a Cart Transform Function fails at runtime, instead of the previous generic `INVALID` error code. If you handle cart errors in your storefront code, you may want to add handling for this new code.
|
|
58
|
+
|
|
59
|
+
## Changelog links
|
|
60
|
+
- [Storefront API 2026-04 changelog](https://shopify.dev/changelog?filter=api&api_version=2026-04&api_type=storefront-graphql)
|
|
61
|
+
- [Customer Account API 2026-04 changelog](https://shopify.dev/changelog?filter=api&api_version=2026-04&api_type=customer-account-graphql)
|
|
62
|
+
|
|
63
|
+
### Patch Changes
|
|
64
|
+
|
|
65
|
+
- Updated dependencies [[`e7215ed0d7a74cacfa8c935f414c1cf32fc2ccd0`](https://github.com/Shopify/hydrogen/commit/e7215ed0d7a74cacfa8c935f414c1cf32fc2ccd0), [`92ab8e8b59807bbdb5dbecaa18629292d5566135`](https://github.com/Shopify/hydrogen/commit/92ab8e8b59807bbdb5dbecaa18629292d5566135), [`b0caa5c013380c7837f049f48da089a1671e2c6d`](https://github.com/Shopify/hydrogen/commit/b0caa5c013380c7837f049f48da089a1671e2c6d)]:
|
|
66
|
+
- @shopify/hydrogen@2026.4.0
|
|
67
|
+
|
|
68
|
+
## 2026.1.4
|
|
69
|
+
|
|
70
|
+
### Patch Changes
|
|
71
|
+
|
|
72
|
+
- Remove redundant Storefront API proxy route from skeleton template. The server now automatically proxies requests to `/api/:version/graphql.json` via `createRequestHandler` with `proxyStandardRoutes: true` (enabled by default since December 2025). ([#3572](https://github.com/Shopify/hydrogen/pull/3572)) by [@itsjustriley](https://github.com/itsjustriley)
|
|
73
|
+
|
|
74
|
+
Developers no longer need a manual route file for the tokenless Storefront API. Existing apps with this route can safely delete it - the server-level proxy provides the same functionality with better cookie forwarding and analytics integration.
|
|
75
|
+
|
|
76
|
+
- Updated dependencies [[`b0a75c1d759706931876f056662de2497cb3e688`](https://github.com/Shopify/hydrogen/commit/b0a75c1d759706931876f056662de2497cb3e688), [`a44ee3566b9bb9a7f43f05dfaae6f1f2ab1d548f`](https://github.com/Shopify/hydrogen/commit/a44ee3566b9bb9a7f43f05dfaae6f1f2ab1d548f)]:
|
|
77
|
+
- @shopify/hydrogen@2026.1.4
|
|
78
|
+
|
|
79
|
+
## 2026.1.3
|
|
80
|
+
|
|
81
|
+
### Patch Changes
|
|
82
|
+
|
|
83
|
+
- Improve screen reader experience for paginated product grids by hiding decorative arrow characters from assistive technology. ([#3557](https://github.com/Shopify/hydrogen/pull/3557)) by [@itsjustriley](https://github.com/itsjustriley)
|
|
84
|
+
|
|
85
|
+
- Fix broken `aria-label` on territory code input in address form. The label was the raw developer string `"territoryCode"` instead of a human-readable `"Country code"`. ([#3607](https://github.com/Shopify/hydrogen/pull/3607)) by [@itsjustriley](https://github.com/itsjustriley)
|
|
86
|
+
|
|
87
|
+
- Add aria-label to ProductPrice for improved screen reader accessibility ([#3558](https://github.com/Shopify/hydrogen/pull/3558)) by [@itsjustriley](https://github.com/itsjustriley)
|
|
88
|
+
|
|
89
|
+
- Updated dependencies [[`108243003a7f36349a446478f4e8ab0cade3e13a`](https://github.com/Shopify/hydrogen/commit/108243003a7f36349a446478f4e8ab0cade3e13a)]:
|
|
90
|
+
- @shopify/hydrogen@2026.1.3
|
|
91
|
+
|
|
92
|
+
## 2026.1.2
|
|
93
|
+
|
|
94
|
+
### Patch Changes
|
|
95
|
+
|
|
96
|
+
- Improve gift card accessibility in Skeleton template ([#3518](https://github.com/Shopify/hydrogen/pull/3518)) by [@itsjustriley](https://github.com/itsjustriley)
|
|
97
|
+
|
|
98
|
+
- Updated shopify/cli dependencies for cli-hydrogen ([#3553](https://github.com/Shopify/hydrogen/pull/3553)) by [@andguy95](https://github.com/andguy95)
|
|
99
|
+
|
|
100
|
+
- Updated loaders that used `customerAccount.handleAuthStatus()` to now await it. ([#3523](https://github.com/Shopify/hydrogen/pull/3523)) by [@fredericoo](https://github.com/fredericoo)
|
|
101
|
+
|
|
102
|
+
### Migration
|
|
103
|
+
|
|
104
|
+
If you call `handleAuthStatus()` in your own loaders, update those callsites to use `await`.
|
|
105
|
+
|
|
106
|
+
- Updated dependencies [[`16b0e7baca0dfd1fb330d12dac924c7593d169a8`](https://github.com/Shopify/hydrogen/commit/16b0e7baca0dfd1fb330d12dac924c7593d169a8), [`1c19b87782818dbdb4252754d2d44eb9a44fe50f`](https://github.com/Shopify/hydrogen/commit/1c19b87782818dbdb4252754d2d44eb9a44fe50f), [`029fa2d0e2297f67b37c650ba8e875ee5dee81b3`](https://github.com/Shopify/hydrogen/commit/029fa2d0e2297f67b37c650ba8e875ee5dee81b3)]:
|
|
107
|
+
- @shopify/hydrogen@2026.1.2
|
|
108
|
+
|
|
3
109
|
## 2026.1.1
|
|
4
110
|
|
|
5
111
|
### Patch Changes
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
useEffect,
|
|
6
6
|
useState,
|
|
7
7
|
} from 'react';
|
|
8
|
+
import {useId} from 'react';
|
|
8
9
|
|
|
9
10
|
type AsideType = 'search' | 'cart' | 'mobile' | 'closed';
|
|
10
11
|
type AsideContextValue = {
|
|
@@ -34,7 +35,7 @@ export function Aside({
|
|
|
34
35
|
}) {
|
|
35
36
|
const {type: activeType, close} = useAside();
|
|
36
37
|
const expanded = type === activeType;
|
|
37
|
-
|
|
38
|
+
const id = useId();
|
|
38
39
|
useEffect(() => {
|
|
39
40
|
const abortController = new AbortController();
|
|
40
41
|
|
|
@@ -57,11 +58,12 @@ export function Aside({
|
|
|
57
58
|
aria-modal
|
|
58
59
|
className={`overlay ${expanded ? 'expanded' : ''}`}
|
|
59
60
|
role="dialog"
|
|
61
|
+
aria-labelledby={id}
|
|
60
62
|
>
|
|
61
63
|
<button className="close-outside" onClick={close} />
|
|
62
64
|
<aside>
|
|
63
65
|
<header>
|
|
64
|
-
<h3>{heading}</h3>
|
|
66
|
+
<h3 id={id}>{heading}</h3>
|
|
65
67
|
<button className="close reset" onClick={close} aria-label="Close">
|
|
66
68
|
×
|
|
67
69
|
</button>
|