shopify 4.3.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/analytics-DWUYMFHO.js +1 -0
- package/dist/analytics-SOXP4UBD.js +1 -0
- 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/bootstrap.js +1 -1
- package/dist/chunk-2EROVVCL.js +1 -0
- package/dist/{chunk-MEIEEENL.js → chunk-2MMGFZDP.js} +1 -1
- package/dist/{chunk-3YDYZ232.js → chunk-2NWWMNU5.js} +8 -8
- package/dist/{chunk-WHNWE7P2.js → chunk-3CYHS4W2.js} +1 -1
- package/dist/{chunk-DNXYKGV2.js → chunk-3FBSBMSQ.js} +1 -1
- package/dist/chunk-3OZ6ZZ4T.js +5 -0
- package/dist/{chunk-UTO4Z6P6.js → chunk-442S5SDM.js} +1 -1
- package/dist/{chunk-2RBIR3NM.js → chunk-45MEVWH5.js} +1 -1
- package/dist/{chunk-N5LVGFDS.js → chunk-47MGPVED.js} +1 -1
- package/dist/{chunk-UYSF234H.js → chunk-4N6YTHFD.js} +1 -1
- package/dist/chunk-4TST2MNC.js +1 -0
- package/dist/{chunk-NILXAUUT.js → chunk-5GVXMNC4.js} +1 -1
- package/dist/{chunk-PMS4MNHB.js → chunk-5JNEWYD5.js} +1 -1
- package/dist/{chunk-ATSMK66C.js → chunk-5QQN3SKH.js} +1 -1
- package/dist/{chunk-DCLUZFT7.js → chunk-5QWYIBE6.js} +1 -1
- package/dist/chunk-5W443CKL.js +836 -0
- package/dist/{chunk-JUYJZUYU.js → chunk-67KMRBSZ.js} +1 -1
- package/dist/{chunk-UC7KMA6W.js → chunk-6DIHOMCB.js} +1 -1
- package/dist/{chunk-NTRAWIEJ.js → chunk-6EZ7JWBK.js} +6 -6
- package/dist/{chunk-25HJX3L2.js → chunk-6RL7FUPD.js} +1 -1
- package/dist/chunk-6YPEONHB.js +46 -0
- package/dist/{chunk-JEZ3PGVC.js → chunk-733R5OKQ.js} +1 -1
- package/dist/chunk-73W5BGAZ.js +1 -0
- package/dist/{chunk-Q7C44DX5.js → chunk-75LJTY7F.js} +1 -1
- package/dist/{chunk-JCIN73BE.js → chunk-7EJ4UVYI.js} +1 -1
- package/dist/{chunk-BL46CZ2M.js → chunk-7LATYPLU.js} +1 -1
- package/dist/{chunk-TP7E54WN.js → chunk-7SVMAJTR.js} +1 -1
- package/dist/{chunk-7572RLUP.js → chunk-7UOPCYMV.js} +1 -1
- package/dist/chunk-APN3VWN4.js +3 -0
- package/dist/{chunk-FOFJBRSL.js → chunk-AT2GDXN7.js} +1 -1
- package/dist/{chunk-4QTEPWEJ.js → chunk-ATXODH6C.js} +4 -4
- package/dist/chunk-AY4GIVME.js +4 -0
- package/dist/{chunk-TY6BZTG3.js → chunk-B7BUEEBR.js} +1 -1
- package/dist/{chunk-G2LVUM7N.js → chunk-B7S23DLF.js} +1 -1
- package/dist/chunk-BCD4KTLJ.js +1 -0
- package/dist/{chunk-CEHXOWA6.js → chunk-BIMOHK2P.js} +1 -1
- package/dist/{chunk-UB26DGTR.js → chunk-C3CVLSLS.js} +1 -1
- package/dist/{chunk-G3RWLAOG.js → chunk-CD5O2BIT.js} +1 -1
- package/dist/chunk-CPE7XCC6.js +593 -0
- package/dist/{chunk-TRYWVIVJ.js → chunk-CZXGQ53M.js} +1 -1
- package/dist/chunk-D6YDSGR4.js +3 -0
- package/dist/{chunk-33OHQUHZ.js → chunk-DHBYYHBT.js} +1 -1
- package/dist/{chunk-OU4SKQTC.js → chunk-DLNBTHKL.js} +2 -2
- package/dist/chunk-DO2SHYFU.js +1 -0
- package/dist/{chunk-7FQFEB33.js → chunk-DONEJHDG.js} +33 -33
- package/dist/{chunk-JAWKLBOB.js → chunk-DQ4HA72R.js} +1 -1
- package/dist/{chunk-CV5EQGES.js → chunk-DZLA2RJP.js} +1 -1
- package/dist/{chunk-GJXINXSU.js → chunk-EKHWL542.js} +46 -46
- package/dist/{chunk-USLYL5AC.js → chunk-F5QG42MA.js} +1 -1
- package/dist/{chunk-2XZBQZ5R.js → chunk-FA4K3JRN.js} +1 -1
- package/dist/{chunk-3SPDFV5D.js → chunk-FPLUMESQ.js} +1 -1
- package/dist/chunk-FU232KQ7.js +1 -0
- package/dist/{chunk-S22NCNAJ.js → chunk-FZKKKGUJ.js} +1 -1
- package/dist/chunk-G24L7MB3.js +1 -0
- package/dist/{chunk-RKDZGK5K.js → chunk-G2I2ZUBV.js} +1 -1
- package/dist/{chunk-4FFPTEKD.js → chunk-G2S346IS.js} +1 -1
- package/dist/{chunk-HCTZN7L4.js → chunk-GBZL4TTY.js} +1 -1
- package/dist/{chunk-AO3RFGNV.js → chunk-GFCLUGAG.js} +1 -1
- package/dist/{chunk-MRS6LAY7.js → chunk-GKRCTMWY.js} +1 -1
- package/dist/{chunk-JJ6RM54S.js → chunk-GTUKM3ZW.js} +1 -1
- package/dist/{chunk-YL3TYQGT.js → chunk-GUO7S4NW.js} +1 -1
- package/dist/{chunk-ANBOLDON.js → chunk-GW3VY3FZ.js} +1 -1
- package/dist/{chunk-OXJBYKMX.js → chunk-H5C3QTOO.js} +1 -1
- package/dist/{chunk-T3ERXB7F.js → chunk-H6WN7GP4.js} +1 -1
- package/dist/{chunk-NWXDOCL5.js → chunk-HA6NISOZ.js} +1 -1
- package/dist/{chunk-L2PC4MUV.js → chunk-HCN6HXA5.js} +1 -1
- package/dist/chunk-HM5H7WBE.js +1 -0
- package/dist/chunk-HZMP62GK.js +21 -0
- package/dist/{chunk-57PPQKJT.js → chunk-HZSAUZBX.js} +1 -1
- package/dist/{chunk-ZGJ3DFTQ.js → chunk-HZYRCG4R.js} +1 -1
- package/dist/{chunk-6JKGUQRD.js → chunk-I73E3BD5.js} +1 -1
- package/dist/{chunk-Q73GEVSJ.js → chunk-IG6LPVS4.js} +1 -1
- package/dist/{chunk-T4NS63K4.js → chunk-IIOIDMG3.js} +1 -1
- package/dist/{chunk-FQ5ZZX2G.js → chunk-IPQH2RHD.js} +1 -1
- package/dist/chunk-IX4KP6E3.js +2 -0
- package/dist/{chunk-A5HKAMAC.js → chunk-J2WCMQZZ.js} +1 -1
- package/dist/chunk-J3HXFQ2L.js +1 -0
- package/dist/{chunk-QDVJJKLB.js → chunk-J5TNYNR5.js} +1 -1
- package/dist/{chunk-SSCYLDSX.js → chunk-J7UQBC45.js} +1 -1
- package/dist/{chunk-Q77MM2N2.js → chunk-JAW32T6G.js} +1 -1
- package/dist/{chunk-OZBY45KT.js → chunk-JOZXRV5K.js} +1 -1
- package/dist/{chunk-S5IFJ737.js → chunk-KKUDXLK2.js} +1 -1
- package/dist/{chunk-HDC5V7RY.js → chunk-KN3FTJDU.js} +1 -1
- package/dist/{chunk-AERKD4TO.js → chunk-KSZ5K6LJ.js} +1 -1
- package/dist/{chunk-G3JJLXPH.js → chunk-LCPD2BYX.js} +1 -1
- package/dist/chunk-LKZ7ARYS.js +18 -0
- package/dist/{chunk-ZUKLGZOU.js → chunk-LOHUNOQ7.js} +1 -1
- package/dist/{chunk-ZM75DSIW.js → chunk-LOQIRLTD.js} +1 -1
- package/dist/{chunk-FIYAECXH.js → chunk-MFLQRQQT.js} +1 -1
- package/dist/chunk-MQICT2LR.js +1 -0
- package/dist/{chunk-RSRYC5ZF.js → chunk-MZMYBFZQ.js} +1 -1
- package/dist/{chunk-2EHBJWC6.js → chunk-NADNFSKS.js} +1 -1
- package/dist/{chunk-N3YTDGFY.js → chunk-NWDP5IZ2.js} +1 -1
- package/dist/{chunk-WVRGCNBZ.js → chunk-NY5OGHM5.js} +1 -1
- package/dist/chunk-O6KTFMCD.js +1 -0
- package/dist/{chunk-YSIBRY6C.js → chunk-OAI7VSLW.js} +1 -1
- package/dist/{chunk-GWHV62YT.js → chunk-OORCODNK.js} +1 -1
- package/dist/{chunk-W7DDV2EY.js → chunk-OQORDQLH.js} +1 -1
- package/dist/{chunk-JAWOP4HJ.js → chunk-PETINPMX.js} +1 -1
- package/dist/{chunk-5XDQ76DQ.js → chunk-PJYNAUQB.js} +1 -1
- package/dist/{chunk-5H3VTG77.js → chunk-PMXCJIBP.js} +1 -1
- package/dist/{chunk-OU3M32A2.js → chunk-POAICASX.js} +1 -1
- package/dist/{chunk-6KETAPWL.js → chunk-PUAMSBXS.js} +1 -1
- package/dist/{chunk-M2YINBHF.js → chunk-PZYP3MCL.js} +1 -1
- package/dist/chunk-Q7BOSHWX.js +7 -0
- package/dist/{chunk-HIQHYPLU.js → chunk-QJ7TI6CK.js} +1 -1
- package/dist/{chunk-VJ6KDRZI.js → chunk-QMXKGSFH.js} +1 -1
- package/dist/{chunk-3AOQKI4B.js → chunk-QPN2M26G.js} +1 -1
- package/dist/{chunk-5FVB7JHP.js → chunk-QS3FMN67.js} +1 -1
- package/dist/{chunk-VRJTLVG3.js → chunk-RF6NUGCU.js} +1 -1
- package/dist/{chunk-PXHY753L.js → chunk-RYGZCBO4.js} +1 -1
- package/dist/{chunk-MMIHHCMW.js → chunk-SKLUHLS2.js} +1 -1
- package/dist/{chunk-2GU7OY3H.js → chunk-SP2WUATO.js} +1 -1
- package/dist/chunk-SWI3LCPE.js +7 -0
- package/dist/{chunk-J3HX6ZGD.js → chunk-SXTDVUT3.js} +1 -1
- package/dist/{chunk-4J32OHLY.js → chunk-T5GSCWN5.js} +1 -1
- package/dist/{chunk-J5BRKYGE.js → chunk-TC3JOEMA.js} +1 -1
- package/dist/{chunk-5FFHQTRC.js → chunk-TJGUNVRI.js} +1 -1
- package/dist/{chunk-EVZA2TCI.js → chunk-TKG42KLM.js} +1 -1
- package/dist/{chunk-DYNH5SKT.js → chunk-TQUSREKP.js} +1 -1
- package/dist/{chunk-PCCK4YTE.js → chunk-U73TPLFE.js} +1 -1
- package/dist/{chunk-HOSFU6UP.js → chunk-UKK5P74A.js} +3 -3
- package/dist/chunk-UMT7DWR4.js +1 -0
- package/dist/chunk-UUC5YKAS.js +2 -0
- package/dist/chunk-UYK6CXAU.js +1 -0
- package/dist/{chunk-JSOGPMWB.js → chunk-V3RZ3DTW.js} +1 -1
- package/dist/{chunk-5O43334U.js → chunk-V6ZSIUO3.js} +1 -1
- package/dist/{chunk-YPBCSDFQ.js → chunk-VFWWZMOQ.js} +1 -1
- package/dist/{chunk-MIDYZPO4.js → chunk-VOJWKGCW.js} +1 -1
- package/dist/{chunk-AU5EZQW7.js → chunk-VQW35HIQ.js} +1 -1
- package/dist/{chunk-PFGYC53K.js → chunk-WAGAC3YI.js} +1 -1
- package/dist/{chunk-TPCG6DCA.js → chunk-WKBVT5WG.js} +1 -1
- package/dist/{chunk-KRQGLK2Q.js → chunk-WLO5H255.js} +1 -1
- package/dist/{chunk-M7YFD4EV.js → chunk-WNWQSHEC.js} +5 -5
- package/dist/{chunk-VI34CKV6.js → chunk-WRRUFK4Y.js} +1 -1
- package/dist/{chunk-LCZDC6EE.js → chunk-WVHB2HCQ.js} +1 -1
- package/dist/{chunk-YIRFEW5M.js → chunk-WZVQHMGI.js} +1 -1
- package/dist/{chunk-G2OHWAY2.js → chunk-X4DIJTIK.js} +1 -1
- package/dist/{chunk-S6B2ADVR.js → chunk-XH6ZP7M5.js} +1 -1
- package/dist/{chunk-7D45IAMQ.js → chunk-XV3I45NA.js} +1 -1
- package/dist/{chunk-2K7FGAT6.js → chunk-Y3WIZSRU.js} +1 -1
- package/dist/{chunk-2GAFKG64.js → chunk-Y66GQ6V2.js} +1 -1
- package/dist/{chunk-N3CNWCC2.js → chunk-YGKQCEVG.js} +1 -1
- package/dist/{chunk-2TMQG2UT.js → chunk-YLGSM42I.js} +1 -1
- package/dist/{chunk-JK3NIHTX.js → chunk-YQH2JHFA.js} +1 -1
- package/dist/{chunk-E7DHELFH.js → chunk-YYL356OX.js} +1 -1
- package/dist/chunk-Z4LC3WE5.js +7 -0
- package/dist/{chunk-PNP5OKNZ.js → chunk-Z74QYLNC.js} +1 -1
- package/dist/{chunk-5BKCIDMS.js → chunk-ZAMDXIVC.js} +1 -1
- package/dist/{chunk-WA3YC5W4.js → chunk-ZEENHLSC.js} +2 -2
- package/dist/{chunk-6LWOWDF4.js → chunk-ZIREP3EZ.js} +1 -1
- package/dist/chunk-ZIXWWU2N.js +275 -0
- package/dist/{chunk-N3NE4MVN.js → chunk-ZQ5JVD5X.js} +1 -1
- package/dist/{chunk-YVQXEPHY.js → chunk-ZULTG2D2.js} +1 -1
- package/dist/{chunk-UU5P2IYU.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/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.js +1 -1
- package/dist/cli/commands/doc/search.js +1 -1
- 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.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/command-registry.js +1 -1
- package/dist/{conf-store-UY3MDGGA.js → conf-store-C2LOYIOU.js} +1 -1
- package/dist/{deprecations-KNUMDRIU.js → deprecations-QOHE6JG6.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/{fs-LJWVNO4H.js → fs-JPQRUGZI.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/index.js +23 -10
- package/dist/{is-global-W6ALVC5L.js → is-global-QWTDUPNR.js} +1 -1
- package/dist/lib-NOROGV6N.js +1 -0
- package/dist/lib-UCG2DNMS.js +1 -0
- package/dist/{local-GKEWZAIV.js → local-FRYN3NWL.js} +1 -1
- package/dist/local-storage-DFH3LT5G.js +1 -0
- package/dist/{metadata-UEUN64TK.js → metadata-KZVLHQII.js} +1 -1
- package/dist/{morph-CGOZEPPZ.js → morph-CG6HEMCQ.js} +4 -4
- package/dist/{node-package-manager-4ASQQIIF.js → node-package-manager-LVFBY4LY.js} +1 -1
- package/dist/notifications-system-DP443VTE.js +1 -0
- package/dist/{output-S6E37GJQ.js → output-NH4I5Y3C.js} +1 -1
- package/dist/{prettier-EGVCP5CY.js → prettier-6ZMB2MMO.js} +1 -1
- package/dist/system-GNOF6HMI.js +1 -0
- package/dist/tsconfig.tsbuildinfo +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-QOTT6UCO.js → workerd-U6WWWY73.js} +1 -1
- package/oclif.manifest.json +714 -122
- package/package.json +15 -8
- package/dist/analytics-JH64XI2J.js +0 -1
- package/dist/analytics-MEGKKFGF.js +0 -1
- package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +0 -14
- package/dist/chunk-762JWOWJ.js +0 -5
- package/dist/chunk-7LV55VWE.js +0 -1
- package/dist/chunk-A27NZMWB.js +0 -1
- package/dist/chunk-AVD3INWF.js +0 -1
- package/dist/chunk-AWEB5AQM.js +0 -1
- package/dist/chunk-AXNAGI32.js +0 -1
- package/dist/chunk-BQWK3C47.js +0 -278
- package/dist/chunk-CFOXXOO2.js +0 -1
- package/dist/chunk-DTIWUT2T.js +0 -18
- package/dist/chunk-DZQYG32N.js +0 -2
- package/dist/chunk-EH7ZTFS4.js +0 -613
- package/dist/chunk-EKVTNWHM.js +0 -1
- package/dist/chunk-G4OQABDT.js +0 -836
- package/dist/chunk-I22ZTRKK.js +0 -3
- package/dist/chunk-I4R7TML2.js +0 -7
- package/dist/chunk-J3H4LPN6.js +0 -18
- package/dist/chunk-JLE4NBMT.js +0 -1
- package/dist/chunk-LXVORHCQ.js +0 -1
- package/dist/chunk-MINZGZ4N.js +0 -1
- package/dist/chunk-S7F5KFQP.js +0 -1
- package/dist/chunk-T4IV643Z.js +0 -9
- package/dist/chunk-TUNUEOHO.js +0 -3
- package/dist/chunk-VPPWSKOY.js +0 -1
- package/dist/chunk-XVUHUA36.js +0 -1
- package/dist/chunk-YMAWEIUR.js +0 -1
- package/dist/dist-C5IV2YDQ.js +0 -1
- package/dist/dist-VL4KZWV2.js +0 -1
- package/dist/environments-YPRVO2CF.js +0 -1
- package/dist/error-XRBQTNFM.js +0 -1
- package/dist/error-handler-NI7D6GSY.js +0 -1
- package/dist/lib-AIKYSHWL.js +0 -1
- package/dist/lib-Q4PWEMFD.js +0 -1
- package/dist/local-storage-ZOZMA22B.js +0 -1
- package/dist/notifications-system-HLXJCAMG.js +0 -1
- package/dist/system-YQZNGSWB.js +0 -1
- package/dist/ui-D2FFWRK7.js +0 -1
- package/dist/upgrade-TVTCFMXM.js +0 -1
- package/dist/version-J6MDN7BZ.js +0 -1
- package/dist/version-RIRW5EXQ.js +0 -1
- /package/dist/{chunk-YLQ3LNNY.js → chunk-VDN6MEYI.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as ww,b as l4,c as f4}from"./chunk-F3TMLDLC.js";import{a as xw}from"./chunk-IWOTLFOY.js";import{Aa as Sw,i as bw,za as c4}from"./chunk-5W443CKL.js";import{b as u4}from"./chunk-NJOO5XJV.js";import{p as vw}from"./chunk-T6CC5WUU.js";import{a as ae,b as Ae,c as T,d as Ym,e as ia,f as Xm,g as y}from"./chunk-VKWPEFWQ.js";var eg=T(Zm=>{"use strict";y();Object.defineProperty(Zm,"__esModule",{value:!0});Zm.deepGet=p4;function p4(t,e){return e.reduce((r,i)=>r?.[i],t)}});var kw=T(rs=>{"use strict";y();Object.defineProperty(rs,"__esModule",{value:!0});rs.first=h4;rs.last=d4;rs.findLast=m4;rs.findLastIndex=tg;rs.findLastAndIndex=g4;function h4(t){return t[0]}function d4(t,e=0){return t[t.length-1+e]}function m4(t,e){return t[tg(t,e)]}function tg(t,e){for(let r=t.length-1;r>=0;r--)if(e(t[r]))return r;return-1}function g4(t,e){let r=tg(t,e);return[t[r],r]}});var Aw=T((Rie,Iw)=>{"use strict";y();var y4=ww();Iw.exports=function(e){return e!=null&&typeof e=="object"&&y4(e)===!1}});var rg=T((Fie,Tw)=>{"use strict";y();var _4=ww(),v4=Aw(),Die=Array.prototype.slice;Tw.exports=na;function na(t,e){if(!(this instanceof na))return typeof e=="number"?new na(t).fromIndex(e):new na(t,e);this.str=t||"",this.lineToIndex=b4(this.str),e=e||{},this.origin=typeof e.origin>"u"?1:e.origin}na.prototype.fromIndex=function(t){if(t<0||t>=this.str.length||isNaN(t))return null;var e=S4(t,this.lineToIndex);return{line:e+this.origin,col:t-this.lineToIndex[e]+this.origin}};na.prototype.toIndex=function(t,e){if(typeof e>"u")return _4(t)&&t.length>=2?this.toIndex(t[0],t[1]):v4(t)&&"line"in t&&("col"in t||"column"in t)?this.toIndex(t.line,"col"in t?t.col:t.column):-1;if(isNaN(t)||isNaN(e))return-1;if(t-=this.origin,e-=this.origin,t>=0&&e>=0&&t<this.lineToIndex.length){var r=this.lineToIndex[t],i=t===this.lineToIndex.length-1?this.str.length:this.lineToIndex[t+1];if(e<i-r)return r+e}return-1};function b4(t){for(var e=t.split(`
|
|
2
2
|
`),r=new Array(e.length),i=0,n=0,s=e.length;n<s;n++)r[n]=i,i+=e[n].length+1;return r}function S4(t,e){if(t>=e[e.length-1])return e.length-1;for(var r=0,i=e.length-2,n;r<i;)if(n=r+(i-r>>1),t<e[n])i=n-1;else if(t>=e[n+1])r=n+1;else{r=n;break}return r}});var Ow=T(sa=>{"use strict";y();var w4=sa&&sa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sa,"__esModule",{value:!0});sa.getPosition=x4;sa.getOffset=k4;var Ew=w4(rg());function x4(t,e){let r=(0,Ew.default)(t,{origin:0}).fromIndex(Math.min(e,t.length-1));return{index:e,line:r?r.line:-1,character:r?r.col:-1}}function k4(t,e,r){return(0,Ew.default)(t,{origin:1}).toIndex(e,r)}});var pl=T(fl=>{"use strict";y();Object.defineProperty(fl,"__esModule",{value:!0});fl.isError=A4;fl.asError=T4;var I4={1:"Invalid symbol found in the input.",2:"Invalid number format detected.",3:"Property name expected but not found.",4:"A value was expected but not found.",5:"Colon `:` expected after the property name.",6:"Comma `,` expected between elements and properties.",7:"Closing brace `}` expected.",8:"Closing bracket `]` expected.",9:"End of file expected.",10:"Invalid comment token found.",11:"Unexpected end of comment.",12:"Unexpected end of string.",13:"Unexpected end of number.",14:"Invalid Unicode escape sequence.",15:"Invalid escape character found.",16:"Invalid character found in the input."};function A4(t){return t instanceof Error}function T4(t){return t instanceof Error?t:typeof t=="string"?new Error(t):t&&typeof t=="object"&&"error"in t?new Error(E4(t)):t&&typeof t.toString=="function"?new Error(t.toString()):new Error("An unknown error occurred")}function E4(t){return I4[t.error]||"Unknown parse error."}});var ng=T(ig=>{"use strict";y();Object.defineProperty(ig,"__esModule",{value:!0});ig.assertNever=O4;function O4(t){throw new Error(`We should never reach this code, you are missing a case for ${t}`)}});var ag=T(hl=>{"use strict";y();Object.defineProperty(hl,"__esModule",{value:!0});hl.memo=N4;hl.memoize=L4;var sg=Symbol("Unset");function N4(t){let e=sg,r=(...i)=>(e===sg&&(e=t(...i)),e);return r.clearCache=()=>{e=sg},r}function L4(t,e){let r={},i=(...n)=>{let s=e(...n);return r[s]||(r[s]=t(...n)),r[s]};return i.force=(...n)=>(i.invalidate(...n),i(...n)),i.invalidate=(...n)=>{let s=e(...n);delete r[s]},i.clearCache=()=>{r={}},i}});var ug=T(og=>{"use strict";y();Object.defineProperty(og,"__esModule",{value:!0});og.indexBy=P4;function P4(t,e){let r={};for(let i of e)r[t(i)]=i;return r}});function is(t,e=!1){let r=t.length,i=0,n="",s=0,a=16,o=0,u=0,l=0,f=0,h=0;function p(w,_){let A=0,E=0;for(;A<w||!_;){let O=t.charCodeAt(i);if(O>=48&&O<=57)E=E*16+O-48;else if(O>=65&&O<=70)E=E*16+O-65+10;else if(O>=97&&O<=102)E=E*16+O-97+10;else break;i++,A++}return A<w&&(E=-1),E}function m(w){i=w,n="",s=0,a=16,h=0}function v(){let w=i;if(t.charCodeAt(i)===48)i++;else for(i++;i<t.length&&aa(t.charCodeAt(i));)i++;if(i<t.length&&t.charCodeAt(i)===46)if(i++,i<t.length&&aa(t.charCodeAt(i)))for(i++;i<t.length&&aa(t.charCodeAt(i));)i++;else return h=3,t.substring(w,i);let _=i;if(i<t.length&&(t.charCodeAt(i)===69||t.charCodeAt(i)===101))if(i++,(i<t.length&&t.charCodeAt(i)===43||t.charCodeAt(i)===45)&&i++,i<t.length&&aa(t.charCodeAt(i))){for(i++;i<t.length&&aa(t.charCodeAt(i));)i++;_=i}else h=3;return t.substring(w,_)}function S(){let w="",_=i;for(;;){if(i>=r){w+=t.substring(_,i),h=2;break}let A=t.charCodeAt(i);if(A===34){w+=t.substring(_,i),i++;break}if(A===92){if(w+=t.substring(_,i),i++,i>=r){h=2;break}switch(t.charCodeAt(i++)){case 34:w+='"';break;case 92:w+="\\";break;case 47:w+="/";break;case 98:w+="\b";break;case 102:w+="\f";break;case 110:w+=`
|
|
3
3
|
`;break;case 114:w+="\r";break;case 116:w+=" ";break;case 117:let O=p(4,!0);O>=0?w+=String.fromCharCode(O):h=4;break;default:h=5}_=i;continue}if(A>=0&&A<=31)if(qo(A)){w+=t.substring(_,i),h=2;break}else h=6;i++}return w}function b(){if(n="",h=0,s=i,u=o,f=l,i>=r)return s=r,a=17;let w=t.charCodeAt(i);if(cg(w)){do i++,n+=String.fromCharCode(w),w=t.charCodeAt(i);while(cg(w));return a=15}if(qo(w))return i++,n+=String.fromCharCode(w),w===13&&t.charCodeAt(i)===10&&(i++,n+=`
|
|
4
4
|
`),o++,l=i,a=14;switch(w){case 123:return i++,a=1;case 125:return i++,a=2;case 91:return i++,a=3;case 93:return i++,a=4;case 58:return i++,a=6;case 44:return i++,a=5;case 34:return i++,n=S(),a=10;case 47:let _=i-1;if(t.charCodeAt(i+1)===47){for(i+=2;i<r&&!qo(t.charCodeAt(i));)i++;return n=t.substring(_,i),a=12}if(t.charCodeAt(i+1)===42){i+=2;let A=r-1,E=!1;for(;i<A;){let O=t.charCodeAt(i);if(O===42&&t.charCodeAt(i+1)===47){i+=2,E=!0;break}i++,qo(O)&&(O===13&&t.charCodeAt(i)===10&&i++,o++,l=i)}return E||(i++,h=1),n=t.substring(_,i),a=13}return n+=String.fromCharCode(w),i++,a=16;case 45:if(n+=String.fromCharCode(w),i++,i===r||!aa(t.charCodeAt(i)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n+=v(),a=11;default:for(;i<r&&g(w);)i++,w=t.charCodeAt(i);if(s!==i){switch(n=t.substring(s,i),n){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return n+=String.fromCharCode(w),i++,a=16}}function g(w){if(cg(w)||qo(w))return!1;switch(w){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function k(){let w;do w=b();while(w>=12&&w<=15);return w}return{setPosition:m,getPosition:()=>i,scan:e?k:b,getToken:()=>a,getTokenValue:()=>n,getTokenOffset:()=>s,getTokenLength:()=>i-s,getTokenStartLine:()=>u,getTokenStartCharacter:()=>s-f,getTokenError:()=>h}}function cg(t){return t===32||t===9}function qo(t){return t===10||t===13}function aa(t){return t>=48&&t<=57}var Nw,dl=Ae(()=>{"use strict";y();(function(t){t[t.lineFeed=10]="lineFeed",t[t.carriageReturn=13]="carriageReturn",t[t.space=32]="space",t[t._0=48]="_0",t[t._1=49]="_1",t[t._2=50]="_2",t[t._3=51]="_3",t[t._4=52]="_4",t[t._5=53]="_5",t[t._6=54]="_6",t[t._7=55]="_7",t[t._8=56]="_8",t[t._9=57]="_9",t[t.a=97]="a",t[t.b=98]="b",t[t.c=99]="c",t[t.d=100]="d",t[t.e=101]="e",t[t.f=102]="f",t[t.g=103]="g",t[t.h=104]="h",t[t.i=105]="i",t[t.j=106]="j",t[t.k=107]="k",t[t.l=108]="l",t[t.m=109]="m",t[t.n=110]="n",t[t.o=111]="o",t[t.p=112]="p",t[t.q=113]="q",t[t.r=114]="r",t[t.s=115]="s",t[t.t=116]="t",t[t.u=117]="u",t[t.v=118]="v",t[t.w=119]="w",t[t.x=120]="x",t[t.y=121]="y",t[t.z=122]="z",t[t.A=65]="A",t[t.B=66]="B",t[t.C=67]="C",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.G=71]="G",t[t.H=72]="H",t[t.I=73]="I",t[t.J=74]="J",t[t.K=75]="K",t[t.L=76]="L",t[t.M=77]="M",t[t.N=78]="N",t[t.O=79]="O",t[t.P=80]="P",t[t.Q=81]="Q",t[t.R=82]="R",t[t.S=83]="S",t[t.T=84]="T",t[t.U=85]="U",t[t.V=86]="V",t[t.W=87]="W",t[t.X=88]="X",t[t.Y=89]="Y",t[t.Z=90]="Z",t[t.asterisk=42]="asterisk",t[t.backslash=92]="backslash",t[t.closeBrace=125]="closeBrace",t[t.closeBracket=93]="closeBracket",t[t.colon=58]="colon",t[t.comma=44]="comma",t[t.dot=46]="dot",t[t.doubleQuote=34]="doubleQuote",t[t.minus=45]="minus",t[t.openBrace=123]="openBrace",t[t.openBracket=91]="openBracket",t[t.plus=43]="plus",t[t.slash=47]="slash",t[t.formFeed=12]="formFeed",t[t.tab=9]="tab"})(Nw||(Nw={}))});var Or,oa,lg,Lw,Pw=Ae(()=>{y();Or=new Array(20).fill(0).map((t,e)=>" ".repeat(e)),oa=200,lg={" ":{"\n":new Array(oa).fill(0).map((t,e)=>`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as vS,b as Hp}from"./chunk-XWPPBOGF.js";import{a as SC}from"./chunk-IWOTLFOY.js";import{b as EC}from"./chunk-EJDWYASP.js";import{a as mS}from"./chunk-AAK376RT.js";import{r as gC}from"./chunk-T6CC5WUU.js";import{h as Pf,i as sS,j as mC,k as cS,l as di,m as Hf,n as Ip,o as Au,p as Pp,r as fS,s as dS,t as hC,u as Zn,v as tc,w as yC,x as pS}from"./chunk-A4SBXDZB.js";import{a as vC,c as pa,e as nn,g as V}from"./chunk-VKWPEFWQ.js";var DS=pa(Bt=>{"use strict";V();var jf=Symbol.for("react.element"),TC=Symbol.for("react.portal"),_C=Symbol.for("react.fragment"),xC=Symbol.for("react.strict_mode"),RC=Symbol.for("react.profiler"),CC=Symbol.for("react.provider"),NC=Symbol.for("react.context"),DC=Symbol.for("react.forward_ref"),LC=Symbol.for("react.suspense"),OC=Symbol.for("react.memo"),bC=Symbol.for("react.lazy"),hS=Symbol.iterator;function AC(s){return s===null||typeof s!="object"?null:(s=hS&&s[hS]||s["@@iterator"],typeof s=="function"?s:null)}var ES={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},SS=Object.assign,TS={};function nc(s,o,p){this.props=s,this.context=o,this.refs=TS,this.updater=p||ES}nc.prototype.isReactComponent={};nc.prototype.setState=function(s,o){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,o,"setState")};nc.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};function _S(){}_S.prototype=nc.prototype;function Uh(s,o,p){this.props=s,this.context=o,this.refs=TS,this.updater=p||ES}var wh=Uh.prototype=new _S;wh.constructor=Uh;SS(wh,nc.prototype);wh.isPureReactComponent=!0;var yS=Array.isArray,xS=Object.prototype.hasOwnProperty,zh={current:null},RS={key:!0,ref:!0,__self:!0,__source:!0};function CS(s,o,p){var E,h={},R=null,C=null;if(o!=null)for(E in o.ref!==void 0&&(C=o.ref),o.key!==void 0&&(R=""+o.key),o)xS.call(o,E)&&!RS.hasOwnProperty(E)&&(h[E]=o[E]);var F=arguments.length-2;if(F===1)h.children=p;else if(1<F){for(var A=Array(F),N=0;N<F;N++)A[N]=arguments[N+2];h.children=A}if(s&&s.defaultProps)for(E in F=s.defaultProps,F)h[E]===void 0&&(h[E]=F[E]);return{$$typeof:jf,type:s,key:R,ref:C,props:h,_owner:zh.current}}function UC(s,o){return{$$typeof:jf,type:s.type,key:o,ref:s.ref,props:s.props,_owner:s._owner}}function Mh(s){return typeof s=="object"&&s!==null&&s.$$typeof===jf}function wC(s){var o={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(p){return o[p]})}var gS=/\/+/g;function Ah(s,o){return typeof s=="object"&&s!==null&&s.key!=null?wC(""+s.key):o.toString(36)}function Bp(s,o,p,E,h){var R=typeof s;(R==="undefined"||R==="boolean")&&(s=null);var C=!1;if(s===null)C=!0;else switch(R){case"string":case"number":C=!0;break;case"object":switch(s.$$typeof){case jf:case TC:C=!0}}if(C)return C=s,h=h(C),s=E===""?"."+Ah(C,0):E,yS(h)?(p="",s!=null&&(p=s.replace(gS,"$&/")+"/"),Bp(h,o,p,"",function(N){return N})):h!=null&&(Mh(h)&&(h=UC(h,p+(!h.key||C&&C.key===h.key?"":(""+h.key).replace(gS,"$&/")+"/")+s)),o.push(h)),1;if(C=0,E=E===""?".":E+":",yS(s))for(var F=0;F<s.length;F++){R=s[F];var A=E+Ah(R,F);C+=Bp(R,o,p,A,h)}else if(A=AC(s),typeof A=="function")for(s=A.call(s),F=0;!(R=s.next()).done;)R=R.value,A=E+Ah(R,F++),C+=Bp(R,o,p,A,h);else if(R==="object")throw o=String(s),Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return C}function jp(s,o,p){if(s==null)return s;var E=[],h=0;return Bp(s,E,"","",function(R){return o.call(p,R,h++)}),E}function zC(s){if(s._status===-1){var o=s._result;o=o(),o.then(function(p){(s._status===0||s._status===-1)&&(s._status=1,s._result=p)},function(p){(s._status===0||s._status===-1)&&(s._status=2,s._result=p)}),s._status===-1&&(s._status=0,s._result=o)}if(s._status===1)return s._result.default;throw s._result}var Ia={current:null},kp={transition:null},MC={ReactCurrentDispatcher:Ia,ReactCurrentBatchConfig:kp,ReactCurrentOwner:zh};function NS(){throw Error("act(...) is not supported in production builds of React.")}Bt.Children={map:jp,forEach:function(s,o,p){jp(s,function(){o.apply(this,arguments)},p)},count:function(s){var o=0;return jp(s,function(){o++}),o},toArray:function(s){return jp(s,function(o){return o})||[]},only:function(s){if(!Mh(s))throw Error("React.Children.only expected to receive a single React element child.");return s}};Bt.Component=nc;Bt.Fragment=_C;Bt.Profiler=RC;Bt.PureComponent=Uh;Bt.StrictMode=xC;Bt.Suspense=LC;Bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=MC;Bt.act=NS;Bt.cloneElement=function(s,o,p){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var E=SS({},s.props),h=s.key,R=s.ref,C=s._owner;if(o!=null){if(o.ref!==void 0&&(R=o.ref,C=zh.current),o.key!==void 0&&(h=""+o.key),s.type&&s.type.defaultProps)var F=s.type.defaultProps;for(A in o)xS.call(o,A)&&!RS.hasOwnProperty(A)&&(E[A]=o[A]===void 0&&F!==void 0?F[A]:o[A])}var A=arguments.length-2;if(A===1)E.children=p;else if(1<A){F=Array(A);for(var N=0;N<A;N++)F[N]=arguments[N+2];E.children=F}return{$$typeof:jf,type:s.type,key:h,ref:R,props:E,_owner:C}};Bt.createContext=function(s){return s={$$typeof:NC,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},s.Provider={$$typeof:CC,_context:s},s.Consumer=s};Bt.createElement=CS;Bt.createFactory=function(s){var o=CS.bind(null,s);return o.type=s,o};Bt.createRef=function(){return{current:null}};Bt.forwardRef=function(s){return{$$typeof:DC,render:s}};Bt.isValidElement=Mh;Bt.lazy=function(s){return{$$typeof:bC,_payload:{_status:-1,_result:s},_init:zC}};Bt.memo=function(s,o){return{$$typeof:OC,type:s,compare:o===void 0?null:o}};Bt.startTransition=function(s){var o=kp.transition;kp.transition={};try{s()}finally{kp.transition=o}};Bt.unstable_act=NS;Bt.useCallback=function(s,o){return Ia.current.useCallback(s,o)};Bt.useContext=function(s){return Ia.current.useContext(s)};Bt.useDebugValue=function(){};Bt.useDeferredValue=function(s){return Ia.current.useDeferredValue(s)};Bt.useEffect=function(s,o){return Ia.current.useEffect(s,o)};Bt.useId=function(){return Ia.current.useId()};Bt.useImperativeHandle=function(s,o,p){return Ia.current.useImperativeHandle(s,o,p)};Bt.useInsertionEffect=function(s,o){return Ia.current.useInsertionEffect(s,o)};Bt.useLayoutEffect=function(s,o){return Ia.current.useLayoutEffect(s,o)};Bt.useMemo=function(s,o){return Ia.current.useMemo(s,o)};Bt.useReducer=function(s,o,p){return Ia.current.useReducer(s,o,p)};Bt.useRef=function(s){return Ia.current.useRef(s)};Bt.useState=function(s){return Ia.current.useState(s)};Bt.useSyncExternalStore=function(s,o,p){return Ia.current.useSyncExternalStore(s,o,p)};Bt.useTransition=function(){return Ia.current.useTransition()};Bt.version="18.3.1"});var LS=pa((kt,Vp)=>{"use strict";V();process.env.NODE_ENV!=="production"&&(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var s="18.3.1",o=Symbol.for("react.element"),p=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),F=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),Ce=Symbol.iterator,he="@@iterator";function Ee(y){if(y===null||typeof y!="object")return null;var L=Ce&&y[Ce]||y[he];return typeof L=="function"?L:null}var $e={current:null},st={transition:null},et={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Xe={current:null},Xt={},qe=null;function Ve(y){qe=y}Xt.setExtraStackFrame=function(y){qe=y},Xt.getCurrentStack=null,Xt.getStackAddendum=function(){var y="";qe&&(y+=qe);var L=Xt.getCurrentStack;return L&&(y+=L()||""),y};var rn=!1,Ge=!1,gt=!1,ze=!1,W=!1,ce={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:st,ReactCurrentOwner:Xe};ce.ReactDebugCurrentFrame=Xt,ce.ReactCurrentActQueue=et;function Oe(y){{for(var L=arguments.length,B=new Array(L>1?L-1:0),X=1;X<L;X++)B[X-1]=arguments[X];Tt("warn",y,B)}}function oe(y){{for(var L=arguments.length,B=new Array(L>1?L-1:0),X=1;X<L;X++)B[X-1]=arguments[X];Tt("error",y,B)}}function Tt(y,L,B){{var X=ce.ReactDebugCurrentFrame,fe=X.getStackAddendum();fe!==""&&(L+="%s",B=B.concat([fe]));var nt=B.map(function(_e){return String(_e)});nt.unshift("Warning: "+L),Function.prototype.apply.call(console[y],console,nt)}}var je={};function Rt(y,L){{var B=y.constructor,X=B&&(B.displayName||B.name)||"ReactClass",fe=X+"."+L;if(je[fe])return;oe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",L,X),je[fe]=!0}}var Ue={isMounted:function(y){return!1},enqueueForceUpdate:function(y,L,B){Rt(y,"forceUpdate")},enqueueReplaceState:function(y,L,B,X){Rt(y,"replaceState")},enqueueSetState:function(y,L,B,X){Rt(y,"setState")}},_t=Object.assign,rt={};Object.freeze(rt);function Wt(y,L,B){this.props=y,this.context=L,this.refs=rt,this.updater=B||Ue}Wt.prototype.isReactComponent={},Wt.prototype.setState=function(y,L){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,L,"setState")},Wt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var Je={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},bn=function(y,L){Object.defineProperty(Wt.prototype,y,{get:function(){Oe("%s(...) is deprecated in plain JavaScript React classes. %s",L[0],L[1])}})};for(var Kt in Je)Je.hasOwnProperty(Kt)&&bn(Kt,Je[Kt])}function tt(){}tt.prototype=Wt.prototype;function U(y,L,B){this.props=y,this.context=L,this.refs=rt,this.updater=B||Ue}var J=U.prototype=new tt;J.constructor=U,_t(J,Wt.prototype),J.isPureReactComponent=!0;function Ke(){var y={current:null};return Object.seal(y),y}var Yt=Array.isArray;function vt(y){return Yt(y)}function Dt(y){{var L=typeof Symbol=="function"&&Symbol.toStringTag,B=L&&y[Symbol.toStringTag]||y.constructor.name||"Object";return B}}function Et(y){try{return Qt(y),!1}catch{return!0}}function Qt(y){return""+y}function Nn(y){if(Et(y))return oe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Dt(y)),Qt(y)}function An(y,L,B){var X=y.displayName;if(X)return X;var fe=L.displayName||L.name||"";return fe!==""?B+"("+fe+")":B}function kn(y){return y.displayName||"Context"}function gn(y){if(y==null)return null;if(typeof y.tag=="number"&&oe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case E:return"Fragment";case p:return"Portal";case R:return"Profiler";case h:return"StrictMode";case N:return"Suspense";case le:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case F:var L=y;return kn(L)+".Consumer";case C:var B=y;return kn(B._context)+".Provider";case A:return An(y,y.render,"ForwardRef");case $:var X=y.displayName||null;return X!==null?X:gn(y.type)||"Memo";case xe:{var fe=y,nt=fe._payload,_e=fe._init;try{return gn(_e(nt))}catch{return null}}}return null}var $n=Object.prototype.hasOwnProperty,br={key:!0,ref:!0,__self:!0,__source:!0},ha,on,Ar;Ar={};function ir(y){if($n.call(y,"ref")){var L=Object.getOwnPropertyDescriptor(y,"ref").get;if(L&&L.isReactWarning)return!1}return y.ref!==void 0}function Pa(y){if($n.call(y,"key")){var L=Object.getOwnPropertyDescriptor(y,"key").get;if(L&&L.isReactWarning)return!1}return y.key!==void 0}function Ka(y,L){var B=function(){ha||(ha=!0,oe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};B.isReactWarning=!0,Object.defineProperty(y,"key",{get:B,configurable:!0})}function ya(y,L){var B=function(){on||(on=!0,oe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};B.isReactWarning=!0,Object.defineProperty(y,"ref",{get:B,configurable:!0})}function ga(y){if(typeof y.ref=="string"&&Xe.current&&y.__self&&Xe.current.stateNode!==y.__self){var L=gn(Xe.current.type);Ar[L]||(oe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L,y.ref),Ar[L]=!0)}}var Ea=function(y,L,B,X,fe,nt,_e){var Ze={$$typeof:o,type:y,key:L,ref:B,props:_e,_owner:nt};return Ze._store={},Object.defineProperty(Ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(Ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.freeze&&(Object.freeze(Ze.props),Object.freeze(Ze)),Ze};function ta(y,L,B){var X,fe={},nt=null,_e=null,Ze=null,St=null;if(L!=null){ir(L)&&(_e=L.ref,ga(L)),Pa(L)&&(Nn(L.key),nt=""+L.key),Ze=L.__self===void 0?null:L.__self,St=L.__source===void 0?null:L.__source;for(X in L)$n.call(L,X)&&!br.hasOwnProperty(X)&&(fe[X]=L[X])}var At=arguments.length-2;if(At===1)fe.children=B;else if(At>1){for(var Pt=Array(At),qt=0;qt<At;qt++)Pt[qt]=arguments[qt+2];Object.freeze&&Object.freeze(Pt),fe.children=Pt}if(y&&y.defaultProps){var mn=y.defaultProps;for(X in mn)fe[X]===void 0&&(fe[X]=mn[X])}if(nt||_e){var _n=typeof y=="function"?y.displayName||y.name||"Unknown":y;nt&&Ka(fe,_n),_e&&ya(fe,_n)}return Ea(y,nt,_e,Ze,St,Xe.current,fe)}function ye(y,L){var B=Ea(y.type,L,y.ref,y._self,y._source,y._owner,y.props);return B}function We(y,L,B){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var X,fe=_t({},y.props),nt=y.key,_e=y.ref,Ze=y._self,St=y._source,At=y._owner;if(L!=null){ir(L)&&(_e=L.ref,At=Xe.current),Pa(L)&&(Nn(L.key),nt=""+L.key);var Pt;y.type&&y.type.defaultProps&&(Pt=y.type.defaultProps);for(X in L)$n.call(L,X)&&!br.hasOwnProperty(X)&&(L[X]===void 0&&Pt!==void 0?fe[X]=Pt[X]:fe[X]=L[X])}var qt=arguments.length-2;if(qt===1)fe.children=B;else if(qt>1){for(var mn=Array(qt),_n=0;_n<qt;_n++)mn[_n]=arguments[_n+2];fe.children=mn}return Ea(y.type,nt,_e,Ze,St,At,fe)}function dt(y){return typeof y=="object"&&y!==null&&y.$$typeof===o}var Ie=".",an=":";function ur(y){var L=/[=:]/g,B={"=":"=0",":":"=2"},X=y.replace(L,function(fe){return B[fe]});return"$"+X}var Pe=!1,Me=/\/+/g;function vn(y){return y.replace(Me,"$&/")}function Zt(y,L){return typeof y=="object"&&y!==null&&y.key!=null?(Nn(y.key),ur(""+y.key)):L.toString(36)}function ut(y,L,B,X,fe){var nt=typeof y;(nt==="undefined"||nt==="boolean")&&(y=null);var _e=!1;if(y===null)_e=!0;else switch(nt){case"string":case"number":_e=!0;break;case"object":switch(y.$$typeof){case o:case p:_e=!0}}if(_e){var Ze=y,St=fe(Ze),At=X===""?Ie+Zt(Ze,0):X;if(vt(St)){var Pt="";At!=null&&(Pt=vn(At)+"/"),ut(St,L,Pt,"",function(Ql){return Ql})}else St!=null&&(dt(St)&&(St.key&&(!Ze||Ze.key!==St.key)&&Nn(St.key),St=ye(St,B+(St.key&&(!Ze||Ze.key!==St.key)?vn(""+St.key)+"/":"")+At)),L.push(St));return 1}var qt,mn,_n=0,On=X===""?Ie:X+an;if(vt(y))for(var Wn=0;Wn<y.length;Wn++)qt=y[Wn],mn=On+Zt(qt,Wn),_n+=ut(qt,L,B,mn,fe);else{var Mr=Ee(y);if(typeof Mr=="function"){var cn=y;Mr===cn.entries&&(Pe||Oe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Pe=!0);for(var Si=Mr.call(cn),aa,Yo=0;!(aa=Si.next()).done;)qt=aa.value,mn=On+Zt(qt,Yo++),_n+=ut(qt,L,B,mn,fe)}else if(nt==="object"){var Yl=String(y);throw new Error("Objects are not valid as a React child (found: "+(Yl==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Yl)+"). If you meant to render a collection of children, use an array instead.")}}return _n}function lr(y,L,B){if(y==null)return y;var X=[],fe=0;return ut(y,X,"","",function(nt){return L.call(B,nt,fe++)}),X}function pi(y){var L=0;return lr(y,function(){L++}),L}function or(y,L,B){lr(y,function(){L.apply(this,arguments)},B)}function Ot(y){return lr(y,function(L){return L})||[]}function Ur(y){if(!dt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function wr(y){var L={$$typeof:F,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};L.Provider={$$typeof:C,_context:L};var B=!1,X=!1,fe=!1;{var nt={$$typeof:F,_context:L};Object.defineProperties(nt,{Provider:{get:function(){return X||(X=!0,oe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),L.Provider},set:function(_e){L.Provider=_e}},_currentValue:{get:function(){return L._currentValue},set:function(_e){L._currentValue=_e}},_currentValue2:{get:function(){return L._currentValue2},set:function(_e){L._currentValue2=_e}},_threadCount:{get:function(){return L._threadCount},set:function(_e){L._threadCount=_e}},Consumer:{get:function(){return B||(B=!0,oe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),L.Consumer}},displayName:{get:function(){return L.displayName},set:function(_e){fe||(Oe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",_e),fe=!0)}}}),L.Consumer=nt}return L._currentRenderer=null,L._currentRenderer2=null,L}var sr=-1,Vn=0,zr=1,Za=2;function $i(y){if(y._status===sr){var L=y._result,B=L();if(B.then(function(nt){if(y._status===Vn||y._status===sr){var _e=y;_e._status=zr,_e._result=nt}},function(nt){if(y._status===Vn||y._status===sr){var _e=y;_e._status=Za,_e._result=nt}}),y._status===sr){var X=y;X._status=Vn,X._result=B}}if(y._status===zr){var fe=y._result;return fe===void 0&&oe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
import{a as vS,b as Hp}from"./chunk-XWPPBOGF.js";import{a as SC}from"./chunk-IWOTLFOY.js";import{b as EC}from"./chunk-EJDWYASP.js";import{h as Pf,i as sS,j as mC,k as cS,l as di,m as Hf,n as Ip,o as Au,p as Pp,r as fS,s as dS,t as hC,u as Zn,v as tc,w as yC,x as pS}from"./chunk-A4SBXDZB.js";import{a as mS}from"./chunk-AAK376RT.js";import{r as gC}from"./chunk-T6CC5WUU.js";import{a as vC,c as pa,e as nn,g as V}from"./chunk-VKWPEFWQ.js";var DS=pa(Bt=>{"use strict";V();var jf=Symbol.for("react.element"),TC=Symbol.for("react.portal"),_C=Symbol.for("react.fragment"),xC=Symbol.for("react.strict_mode"),RC=Symbol.for("react.profiler"),CC=Symbol.for("react.provider"),NC=Symbol.for("react.context"),DC=Symbol.for("react.forward_ref"),LC=Symbol.for("react.suspense"),OC=Symbol.for("react.memo"),bC=Symbol.for("react.lazy"),hS=Symbol.iterator;function AC(s){return s===null||typeof s!="object"?null:(s=hS&&s[hS]||s["@@iterator"],typeof s=="function"?s:null)}var ES={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},SS=Object.assign,TS={};function nc(s,o,p){this.props=s,this.context=o,this.refs=TS,this.updater=p||ES}nc.prototype.isReactComponent={};nc.prototype.setState=function(s,o){if(typeof s!="object"&&typeof s!="function"&&s!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,s,o,"setState")};nc.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};function _S(){}_S.prototype=nc.prototype;function Uh(s,o,p){this.props=s,this.context=o,this.refs=TS,this.updater=p||ES}var wh=Uh.prototype=new _S;wh.constructor=Uh;SS(wh,nc.prototype);wh.isPureReactComponent=!0;var yS=Array.isArray,xS=Object.prototype.hasOwnProperty,zh={current:null},RS={key:!0,ref:!0,__self:!0,__source:!0};function CS(s,o,p){var E,h={},R=null,C=null;if(o!=null)for(E in o.ref!==void 0&&(C=o.ref),o.key!==void 0&&(R=""+o.key),o)xS.call(o,E)&&!RS.hasOwnProperty(E)&&(h[E]=o[E]);var F=arguments.length-2;if(F===1)h.children=p;else if(1<F){for(var A=Array(F),N=0;N<F;N++)A[N]=arguments[N+2];h.children=A}if(s&&s.defaultProps)for(E in F=s.defaultProps,F)h[E]===void 0&&(h[E]=F[E]);return{$$typeof:jf,type:s,key:R,ref:C,props:h,_owner:zh.current}}function UC(s,o){return{$$typeof:jf,type:s.type,key:o,ref:s.ref,props:s.props,_owner:s._owner}}function Mh(s){return typeof s=="object"&&s!==null&&s.$$typeof===jf}function wC(s){var o={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(p){return o[p]})}var gS=/\/+/g;function Ah(s,o){return typeof s=="object"&&s!==null&&s.key!=null?wC(""+s.key):o.toString(36)}function Bp(s,o,p,E,h){var R=typeof s;(R==="undefined"||R==="boolean")&&(s=null);var C=!1;if(s===null)C=!0;else switch(R){case"string":case"number":C=!0;break;case"object":switch(s.$$typeof){case jf:case TC:C=!0}}if(C)return C=s,h=h(C),s=E===""?"."+Ah(C,0):E,yS(h)?(p="",s!=null&&(p=s.replace(gS,"$&/")+"/"),Bp(h,o,p,"",function(N){return N})):h!=null&&(Mh(h)&&(h=UC(h,p+(!h.key||C&&C.key===h.key?"":(""+h.key).replace(gS,"$&/")+"/")+s)),o.push(h)),1;if(C=0,E=E===""?".":E+":",yS(s))for(var F=0;F<s.length;F++){R=s[F];var A=E+Ah(R,F);C+=Bp(R,o,p,A,h)}else if(A=AC(s),typeof A=="function")for(s=A.call(s),F=0;!(R=s.next()).done;)R=R.value,A=E+Ah(R,F++),C+=Bp(R,o,p,A,h);else if(R==="object")throw o=String(s),Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.");return C}function jp(s,o,p){if(s==null)return s;var E=[],h=0;return Bp(s,E,"","",function(R){return o.call(p,R,h++)}),E}function zC(s){if(s._status===-1){var o=s._result;o=o(),o.then(function(p){(s._status===0||s._status===-1)&&(s._status=1,s._result=p)},function(p){(s._status===0||s._status===-1)&&(s._status=2,s._result=p)}),s._status===-1&&(s._status=0,s._result=o)}if(s._status===1)return s._result.default;throw s._result}var Ia={current:null},kp={transition:null},MC={ReactCurrentDispatcher:Ia,ReactCurrentBatchConfig:kp,ReactCurrentOwner:zh};function NS(){throw Error("act(...) is not supported in production builds of React.")}Bt.Children={map:jp,forEach:function(s,o,p){jp(s,function(){o.apply(this,arguments)},p)},count:function(s){var o=0;return jp(s,function(){o++}),o},toArray:function(s){return jp(s,function(o){return o})||[]},only:function(s){if(!Mh(s))throw Error("React.Children.only expected to receive a single React element child.");return s}};Bt.Component=nc;Bt.Fragment=_C;Bt.Profiler=RC;Bt.PureComponent=Uh;Bt.StrictMode=xC;Bt.Suspense=LC;Bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=MC;Bt.act=NS;Bt.cloneElement=function(s,o,p){if(s==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+s+".");var E=SS({},s.props),h=s.key,R=s.ref,C=s._owner;if(o!=null){if(o.ref!==void 0&&(R=o.ref,C=zh.current),o.key!==void 0&&(h=""+o.key),s.type&&s.type.defaultProps)var F=s.type.defaultProps;for(A in o)xS.call(o,A)&&!RS.hasOwnProperty(A)&&(E[A]=o[A]===void 0&&F!==void 0?F[A]:o[A])}var A=arguments.length-2;if(A===1)E.children=p;else if(1<A){F=Array(A);for(var N=0;N<A;N++)F[N]=arguments[N+2];E.children=F}return{$$typeof:jf,type:s.type,key:h,ref:R,props:E,_owner:C}};Bt.createContext=function(s){return s={$$typeof:NC,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},s.Provider={$$typeof:CC,_context:s},s.Consumer=s};Bt.createElement=CS;Bt.createFactory=function(s){var o=CS.bind(null,s);return o.type=s,o};Bt.createRef=function(){return{current:null}};Bt.forwardRef=function(s){return{$$typeof:DC,render:s}};Bt.isValidElement=Mh;Bt.lazy=function(s){return{$$typeof:bC,_payload:{_status:-1,_result:s},_init:zC}};Bt.memo=function(s,o){return{$$typeof:OC,type:s,compare:o===void 0?null:o}};Bt.startTransition=function(s){var o=kp.transition;kp.transition={};try{s()}finally{kp.transition=o}};Bt.unstable_act=NS;Bt.useCallback=function(s,o){return Ia.current.useCallback(s,o)};Bt.useContext=function(s){return Ia.current.useContext(s)};Bt.useDebugValue=function(){};Bt.useDeferredValue=function(s){return Ia.current.useDeferredValue(s)};Bt.useEffect=function(s,o){return Ia.current.useEffect(s,o)};Bt.useId=function(){return Ia.current.useId()};Bt.useImperativeHandle=function(s,o,p){return Ia.current.useImperativeHandle(s,o,p)};Bt.useInsertionEffect=function(s,o){return Ia.current.useInsertionEffect(s,o)};Bt.useLayoutEffect=function(s,o){return Ia.current.useLayoutEffect(s,o)};Bt.useMemo=function(s,o){return Ia.current.useMemo(s,o)};Bt.useReducer=function(s,o,p){return Ia.current.useReducer(s,o,p)};Bt.useRef=function(s){return Ia.current.useRef(s)};Bt.useState=function(s){return Ia.current.useState(s)};Bt.useSyncExternalStore=function(s,o,p){return Ia.current.useSyncExternalStore(s,o,p)};Bt.useTransition=function(){return Ia.current.useTransition()};Bt.version="18.3.1"});var LS=pa((kt,Vp)=>{"use strict";V();process.env.NODE_ENV!=="production"&&(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var s="18.3.1",o=Symbol.for("react.element"),p=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),F=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),le=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),Le=Symbol.for("react.offscreen"),Ce=Symbol.iterator,he="@@iterator";function Ee(y){if(y===null||typeof y!="object")return null;var L=Ce&&y[Ce]||y[he];return typeof L=="function"?L:null}var $e={current:null},st={transition:null},et={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},Xe={current:null},Xt={},qe=null;function Ve(y){qe=y}Xt.setExtraStackFrame=function(y){qe=y},Xt.getCurrentStack=null,Xt.getStackAddendum=function(){var y="";qe&&(y+=qe);var L=Xt.getCurrentStack;return L&&(y+=L()||""),y};var rn=!1,Ge=!1,gt=!1,ze=!1,W=!1,ce={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:st,ReactCurrentOwner:Xe};ce.ReactDebugCurrentFrame=Xt,ce.ReactCurrentActQueue=et;function Oe(y){{for(var L=arguments.length,B=new Array(L>1?L-1:0),X=1;X<L;X++)B[X-1]=arguments[X];Tt("warn",y,B)}}function oe(y){{for(var L=arguments.length,B=new Array(L>1?L-1:0),X=1;X<L;X++)B[X-1]=arguments[X];Tt("error",y,B)}}function Tt(y,L,B){{var X=ce.ReactDebugCurrentFrame,fe=X.getStackAddendum();fe!==""&&(L+="%s",B=B.concat([fe]));var nt=B.map(function(_e){return String(_e)});nt.unshift("Warning: "+L),Function.prototype.apply.call(console[y],console,nt)}}var je={};function Rt(y,L){{var B=y.constructor,X=B&&(B.displayName||B.name)||"ReactClass",fe=X+"."+L;if(je[fe])return;oe("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",L,X),je[fe]=!0}}var Ue={isMounted:function(y){return!1},enqueueForceUpdate:function(y,L,B){Rt(y,"forceUpdate")},enqueueReplaceState:function(y,L,B,X){Rt(y,"replaceState")},enqueueSetState:function(y,L,B,X){Rt(y,"setState")}},_t=Object.assign,rt={};Object.freeze(rt);function Wt(y,L,B){this.props=y,this.context=L,this.refs=rt,this.updater=B||Ue}Wt.prototype.isReactComponent={},Wt.prototype.setState=function(y,L){if(typeof y!="object"&&typeof y!="function"&&y!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,y,L,"setState")},Wt.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};{var Je={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},bn=function(y,L){Object.defineProperty(Wt.prototype,y,{get:function(){Oe("%s(...) is deprecated in plain JavaScript React classes. %s",L[0],L[1])}})};for(var Kt in Je)Je.hasOwnProperty(Kt)&&bn(Kt,Je[Kt])}function tt(){}tt.prototype=Wt.prototype;function U(y,L,B){this.props=y,this.context=L,this.refs=rt,this.updater=B||Ue}var J=U.prototype=new tt;J.constructor=U,_t(J,Wt.prototype),J.isPureReactComponent=!0;function Ke(){var y={current:null};return Object.seal(y),y}var Yt=Array.isArray;function vt(y){return Yt(y)}function Dt(y){{var L=typeof Symbol=="function"&&Symbol.toStringTag,B=L&&y[Symbol.toStringTag]||y.constructor.name||"Object";return B}}function Et(y){try{return Qt(y),!1}catch{return!0}}function Qt(y){return""+y}function Nn(y){if(Et(y))return oe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Dt(y)),Qt(y)}function An(y,L,B){var X=y.displayName;if(X)return X;var fe=L.displayName||L.name||"";return fe!==""?B+"("+fe+")":B}function kn(y){return y.displayName||"Context"}function gn(y){if(y==null)return null;if(typeof y.tag=="number"&&oe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case E:return"Fragment";case p:return"Portal";case R:return"Profiler";case h:return"StrictMode";case N:return"Suspense";case le:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case F:var L=y;return kn(L)+".Consumer";case C:var B=y;return kn(B._context)+".Provider";case A:return An(y,y.render,"ForwardRef");case $:var X=y.displayName||null;return X!==null?X:gn(y.type)||"Memo";case xe:{var fe=y,nt=fe._payload,_e=fe._init;try{return gn(_e(nt))}catch{return null}}}return null}var $n=Object.prototype.hasOwnProperty,br={key:!0,ref:!0,__self:!0,__source:!0},ha,on,Ar;Ar={};function ir(y){if($n.call(y,"ref")){var L=Object.getOwnPropertyDescriptor(y,"ref").get;if(L&&L.isReactWarning)return!1}return y.ref!==void 0}function Pa(y){if($n.call(y,"key")){var L=Object.getOwnPropertyDescriptor(y,"key").get;if(L&&L.isReactWarning)return!1}return y.key!==void 0}function Ka(y,L){var B=function(){ha||(ha=!0,oe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};B.isReactWarning=!0,Object.defineProperty(y,"key",{get:B,configurable:!0})}function ya(y,L){var B=function(){on||(on=!0,oe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",L))};B.isReactWarning=!0,Object.defineProperty(y,"ref",{get:B,configurable:!0})}function ga(y){if(typeof y.ref=="string"&&Xe.current&&y.__self&&Xe.current.stateNode!==y.__self){var L=gn(Xe.current.type);Ar[L]||(oe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',L,y.ref),Ar[L]=!0)}}var Ea=function(y,L,B,X,fe,nt,_e){var Ze={$$typeof:o,type:y,key:L,ref:B,props:_e,_owner:nt};return Ze._store={},Object.defineProperty(Ze._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ze,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(Ze,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.freeze&&(Object.freeze(Ze.props),Object.freeze(Ze)),Ze};function ta(y,L,B){var X,fe={},nt=null,_e=null,Ze=null,St=null;if(L!=null){ir(L)&&(_e=L.ref,ga(L)),Pa(L)&&(Nn(L.key),nt=""+L.key),Ze=L.__self===void 0?null:L.__self,St=L.__source===void 0?null:L.__source;for(X in L)$n.call(L,X)&&!br.hasOwnProperty(X)&&(fe[X]=L[X])}var At=arguments.length-2;if(At===1)fe.children=B;else if(At>1){for(var Pt=Array(At),qt=0;qt<At;qt++)Pt[qt]=arguments[qt+2];Object.freeze&&Object.freeze(Pt),fe.children=Pt}if(y&&y.defaultProps){var mn=y.defaultProps;for(X in mn)fe[X]===void 0&&(fe[X]=mn[X])}if(nt||_e){var _n=typeof y=="function"?y.displayName||y.name||"Unknown":y;nt&&Ka(fe,_n),_e&&ya(fe,_n)}return Ea(y,nt,_e,Ze,St,Xe.current,fe)}function ye(y,L){var B=Ea(y.type,L,y.ref,y._self,y._source,y._owner,y.props);return B}function We(y,L,B){if(y==null)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+y+".");var X,fe=_t({},y.props),nt=y.key,_e=y.ref,Ze=y._self,St=y._source,At=y._owner;if(L!=null){ir(L)&&(_e=L.ref,At=Xe.current),Pa(L)&&(Nn(L.key),nt=""+L.key);var Pt;y.type&&y.type.defaultProps&&(Pt=y.type.defaultProps);for(X in L)$n.call(L,X)&&!br.hasOwnProperty(X)&&(L[X]===void 0&&Pt!==void 0?fe[X]=Pt[X]:fe[X]=L[X])}var qt=arguments.length-2;if(qt===1)fe.children=B;else if(qt>1){for(var mn=Array(qt),_n=0;_n<qt;_n++)mn[_n]=arguments[_n+2];fe.children=mn}return Ea(y.type,nt,_e,Ze,St,At,fe)}function dt(y){return typeof y=="object"&&y!==null&&y.$$typeof===o}var Ie=".",an=":";function ur(y){var L=/[=:]/g,B={"=":"=0",":":"=2"},X=y.replace(L,function(fe){return B[fe]});return"$"+X}var Pe=!1,Me=/\/+/g;function vn(y){return y.replace(Me,"$&/")}function Zt(y,L){return typeof y=="object"&&y!==null&&y.key!=null?(Nn(y.key),ur(""+y.key)):L.toString(36)}function ut(y,L,B,X,fe){var nt=typeof y;(nt==="undefined"||nt==="boolean")&&(y=null);var _e=!1;if(y===null)_e=!0;else switch(nt){case"string":case"number":_e=!0;break;case"object":switch(y.$$typeof){case o:case p:_e=!0}}if(_e){var Ze=y,St=fe(Ze),At=X===""?Ie+Zt(Ze,0):X;if(vt(St)){var Pt="";At!=null&&(Pt=vn(At)+"/"),ut(St,L,Pt,"",function(Ql){return Ql})}else St!=null&&(dt(St)&&(St.key&&(!Ze||Ze.key!==St.key)&&Nn(St.key),St=ye(St,B+(St.key&&(!Ze||Ze.key!==St.key)?vn(""+St.key)+"/":"")+At)),L.push(St));return 1}var qt,mn,_n=0,On=X===""?Ie:X+an;if(vt(y))for(var Wn=0;Wn<y.length;Wn++)qt=y[Wn],mn=On+Zt(qt,Wn),_n+=ut(qt,L,B,mn,fe);else{var Mr=Ee(y);if(typeof Mr=="function"){var cn=y;Mr===cn.entries&&(Pe||Oe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Pe=!0);for(var Si=Mr.call(cn),aa,Yo=0;!(aa=Si.next()).done;)qt=aa.value,mn=On+Zt(qt,Yo++),_n+=ut(qt,L,B,mn,fe)}else if(nt==="object"){var Yl=String(y);throw new Error("Objects are not valid as a React child (found: "+(Yl==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Yl)+"). If you meant to render a collection of children, use an array instead.")}}return _n}function lr(y,L,B){if(y==null)return y;var X=[],fe=0;return ut(y,X,"","",function(nt){return L.call(B,nt,fe++)}),X}function pi(y){var L=0;return lr(y,function(){L++}),L}function or(y,L,B){lr(y,function(){L.apply(this,arguments)},B)}function Ot(y){return lr(y,function(L){return L})||[]}function Ur(y){if(!dt(y))throw new Error("React.Children.only expected to receive a single React element child.");return y}function wr(y){var L={$$typeof:F,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};L.Provider={$$typeof:C,_context:L};var B=!1,X=!1,fe=!1;{var nt={$$typeof:F,_context:L};Object.defineProperties(nt,{Provider:{get:function(){return X||(X=!0,oe("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),L.Provider},set:function(_e){L.Provider=_e}},_currentValue:{get:function(){return L._currentValue},set:function(_e){L._currentValue=_e}},_currentValue2:{get:function(){return L._currentValue2},set:function(_e){L._currentValue2=_e}},_threadCount:{get:function(){return L._threadCount},set:function(_e){L._threadCount=_e}},Consumer:{get:function(){return B||(B=!0,oe("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),L.Consumer}},displayName:{get:function(){return L.displayName},set:function(_e){fe||(Oe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",_e),fe=!0)}}}),L.Consumer=nt}return L._currentRenderer=null,L._currentRenderer2=null,L}var sr=-1,Vn=0,zr=1,Za=2;function $i(y){if(y._status===sr){var L=y._result,B=L();if(B.then(function(nt){if(y._status===Vn||y._status===sr){var _e=y;_e._status=zr,_e._result=nt}},function(nt){if(y._status===Vn||y._status===sr){var _e=y;_e._status=Za,_e._result=nt}}),y._status===sr){var X=y;X._status=Vn,X._result=B}}if(y._status===zr){var fe=y._result;return fe===void 0&&oe(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
2
|
|
|
3
3
|
Your code should look like:
|
|
4
4
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as s}from"./chunk-
|
|
1
|
+
import{a as s}from"./chunk-HM5H7WBE.js";import{a as r}from"./chunk-ZAMDXIVC.js";import{Ca as n,Fa as p}from"./chunk-ATXODH6C.js";import{b as e}from"./chunk-H5C3QTOO.js";import{r as g}from"./chunk-T6CC5WUU.js";import{e as m,g as a}from"./chunk-VKWPEFWQ.js";a();var c=m(g(),1);var t,o=class extends s{async run(){let{flags:i}=await this.parse(t),f={directory:i.path,apiKey:i["client-id"],organizationId:i["organization-id"],configName:i.config},d=await n(f),{app:l}=await p({directory:i.path,clientId:void 0,forceRelink:!1,userProvidedConfigName:d.configFileName});return{app:l}}};t=o;o.summary="Fetch your app configuration from the Developer Dashboard.";o.descriptionWithMarkdown=`Pulls app configuration from the Developer Dashboard and creates or overwrites a configuration file. You can create a new app with this command to start with a default configuration file.
|
|
2
2
|
|
|
3
3
|
For more information on the format of the created TOML configuration file, refer to the [App configuration](https://shopify.dev/docs/apps/tools/cli/configuration) page.
|
|
4
4
|
`;o.description=t.descriptionWithoutMarkdown();o.flags={...e,...r,"organization-id":c.Flags.string({hidden:!0,env:"SHOPIFY_FLAG_ORGANIZATION_ID",exclusive:["client-id"]})};var A=o;export{A as a};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{b as $}from"./chunk-J3JPJCWP.js";import{a as
|
|
1
|
+
import{b as $}from"./chunk-J3JPJCWP.js";import{a as O}from"./chunk-BCD4KTLJ.js";import{a as M}from"./chunk-VOJWKGCW.js";import{a as x,l as H,n as Y}from"./chunk-2NWWMNU5.js";import{a as R}from"./chunk-OQORDQLH.js";import{a as G,c as y}from"./chunk-QMXKGSFH.js";import{a as S,b as L}from"./chunk-STJ3LWFL.js";import{k as A,n as I}from"./chunk-PJYNAUQB.js";import{p as D,q as E,r as _,u as P,v as C}from"./chunk-D6YDSGR4.js";import{h as V,k as B}from"./chunk-MZMYBFZQ.js";import{O as g,ua as a}from"./chunk-5W443CKL.js";import{b}from"./chunk-H5C3QTOO.js";import{D as F,v as k}from"./chunk-6EZ7JWBK.js";import{Wa as T}from"./chunk-DONEJHDG.js";import{q as p}from"./chunk-773TIA5M.js";import{r as Q}from"./chunk-T6CC5WUU.js";import{e as z,g as d}from"./chunk-VKWPEFWQ.js";d();d();d();async function K(e,t,o,n,r,l){let i=X(o,n,r),c=J(o,e,n,t),s=[...i,...c,{title:"Theme download complete",task:async()=>{}}];s.length>0&&await F(s,{renderOptions:{stdout:l?.stdout??process.stdout},noProgressBar:r.multiEnvironment})}function X(e,t,o){if(o.nodelete)return[];let n=new Set(e.map(i=>i.key));return t.applyIgnoreFilters([...t.files.values()]).map(({key:i})=>i).filter(i=>!n.has(i)).map(i=>({title:`Cleaning your local directory (removing ${i})`,task:async()=>t.delete(i)}))}function J(e,t,o,n){let r=o.applyIgnoreFilters(e);r=r.filter(s=>{let u=s.checksum;return o.files.get(s.key)?.checksum!==u});let l=r.map(s=>s.key),i=s=>s.total===0?"[100%]":`[${Math.round(s.current/s.total*100)}%]`;return $(l,P,(s,u)=>({title:`Downloading files from remote theme ${i({current:u,total:l.length})}`,task:async()=>Z(t,o,s,n)}))}async function Z(e,t,o,n){let r=await A(e.id,o,n);r&&await Promise.all(r.map(l=>t.write(l)))}async function N(e,t,o,n){a("theme-service:pull:setup"),R({verbose:e.verbose,noColor:e.noColor});let r=t??await g(_({store:e.store}),e.password),l=new O(r),i=await(e.development?l.find():l.fetch()),{path:c,nodelete:s,live:u,development:f,only:W,ignore:j,force:w,environment:v}=e;if(!await oe(c??p(),w??!1,v?.[0],o))return;let q=await M(r,{header:"Select a theme to open",filter:{live:u,theme:f?`${i?.id}`:e.theme}});a("theme-service:pull:setup"),await ee(q,r,{environment:v?.[0],force:w??!1,ignore:j??[],multiEnvironment:o,nodelete:s??!1,only:W??[],path:c??p()},n)}async function ee(e,t,o,n){a("theme-service:pull:file-system");let r=H(o.path,{filters:o}),[l]=await Promise.all([I(e.id,t),r.ready()]),i=x(l);a("theme-service:pull:file-system"),await K(e,t,i,r,o,n);let c=o.environment?`Environment: ${o.environment}`:"";k({headline:c,body:["The theme",...G(e),"has been pulled."],nextSteps:[[{link:{label:"View your theme",url:S(e,t)}}],[{link:{label:"Customize your theme at the theme editor",url:L(e,t)}}]]})}async function te(e){return(await T("*",{cwd:e,deep:1,onlyFiles:!1})).length===0}async function oe(e,t,o,n){return t?!0:!(!await te(e)&&!await Y(e)&&!await y(t,void 0,o,n)||await V(e)&&!await B(e)&&!await y(t,"The current Git directory has uncommitted changes.",o,n))}var h=z(Q(),1);var U,m=class extends C{async command(t,o,n,r,l){a("theme-command:pull"),await N({...t,noColor:t["no-color"]},o,n,l),a("theme-command:pull")}storeAuthScopes(){return["read_themes"]}};U=m;m.summary="Download your remote theme files locally.";m.descriptionWithMarkdown=`Retrieves theme files from Shopify.
|
|
2
2
|
|
|
3
3
|
If no theme is specified, then you're prompted to select the theme to pull from the list of the themes in your store.`;m.description=U.descriptionWithoutMarkdown();m.flags={...b,...D,...E("download"),theme:h.Flags.string({char:"t",description:"Theme ID or name of the remote theme.",env:"SHOPIFY_FLAG_THEME_ID"}),development:h.Flags.boolean({char:"d",description:"Pull theme files from your remote development theme.",env:"SHOPIFY_FLAG_DEVELOPMENT"}),live:h.Flags.boolean({char:"l",description:"Pull theme files from your remote live theme.",env:"SHOPIFY_FLAG_LIVE"}),nodelete:h.Flags.boolean({char:"n",description:"Prevent deleting local files that don't exist remotely.",env:"SHOPIFY_FLAG_NODELETE"}),force:h.Flags.boolean({hidden:!0,char:"f",description:"Proceed without confirmation, if current directory does not seem to be theme directory.",env:"SHOPIFY_FLAG_FORCE"})};m.multiEnvironmentsFlags=["store","password","path",["live","development","theme"]];var Le=m;export{N as a,Le as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as i,i as r,p as s}from"./chunk-773TIA5M.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();import{existsSync as f,readFileSync as u}from"fs";import{fileURLToPath as p,pathToFileURL as g}from"url";var a;function h(){if(!a){let n=i(s(import.meta.url),"..","oclif.manifest.json");a=JSON.parse(u(n,"utf8")).commands}return a}var m=new Map;function y(n){let t=m.get(n);if(!t){for(t=r(p(import.meta.resolve(n)));t!==r(t);){try{if(JSON.parse(u(i(t,"package.json"),"utf8")).name===n)break}catch(o){if(o instanceof SyntaxError){t=r(t);continue}if(o.code==="ENOENT"){t=r(t);continue}throw o}t=r(t)}m.set(n,t)}return t}var P={"app:logs:sources":"dist/cli/commands/app/app-logs/sources.js","demo:watcher":"dist/cli/commands/app/demo/watcher.js","kitchen-sink":"dist/cli/commands/kitchen-sink/index.js","doctor-release":"dist/cli/commands/doctor-release/doctor-release.js","doctor-release:theme":"dist/cli/commands/doctor-release/theme/index.js"};function l(n){return P[n]??`dist/cli/commands/${n.replace(/:/g,"/")}.js`}var C=new Set(["@shopify/cli","@shopify/app","@shopify/theme"]);async function D(n){let o=h()[n];if(!o)return;let e=o.customPluginName??o.pluginName;if(e)return C.has(e)?j(n,e):k(n,e)}var d=i(s(import.meta.url),"..");function w(n,t){let o=l(n),e=i(d,o);return f(e)?d:y(t)}async function j(n,t){let o=l(n),e=w(n,t);return(await import(g(i(e,o)).href)).default}async function k(n,t){if(t==="@shopify/cli-hydrogen"){let{COMMANDS:o}=await import("./dist-
|
|
1
|
+
import{d as i,i as r,p as s}from"./chunk-773TIA5M.js";import{g as c}from"./chunk-VKWPEFWQ.js";c();import{existsSync as f,readFileSync as u}from"fs";import{fileURLToPath as p,pathToFileURL as g}from"url";var a;function h(){if(!a){let n=i(s(import.meta.url),"..","oclif.manifest.json");a=JSON.parse(u(n,"utf8")).commands}return a}var m=new Map;function y(n){let t=m.get(n);if(!t){for(t=r(p(import.meta.resolve(n)));t!==r(t);){try{if(JSON.parse(u(i(t,"package.json"),"utf8")).name===n)break}catch(o){if(o instanceof SyntaxError){t=r(t);continue}if(o.code==="ENOENT"){t=r(t);continue}throw o}t=r(t)}m.set(n,t)}return t}var P={"app:logs:sources":"dist/cli/commands/app/app-logs/sources.js","demo:watcher":"dist/cli/commands/app/demo/watcher.js","kitchen-sink":"dist/cli/commands/kitchen-sink/index.js","doctor-release":"dist/cli/commands/doctor-release/doctor-release.js","doctor-release:theme":"dist/cli/commands/doctor-release/theme/index.js"};function l(n){return P[n]??`dist/cli/commands/${n.replace(/:/g,"/")}.js`}var C=new Set(["@shopify/cli","@shopify/app","@shopify/theme"]);async function D(n){let o=h()[n];if(!o)return;let e=o.customPluginName??o.pluginName;if(e)return C.has(e)?j(n,e):k(n,e)}var d=i(s(import.meta.url),"..");function w(n,t){let o=l(n),e=i(d,o);return f(e)?d:y(t)}async function j(n,t){let o=l(n),e=w(n,t);return(await import(g(i(e,o)).href)).default}async function k(n,t){if(t==="@shopify/cli-hydrogen"){let{COMMANDS:o}=await import("./dist-Q676YGVI.js");return o?.[n]}if(t==="@oclif/plugin-commands"){let{commands:o}=await import("./lib-UCG2DNMS.js");return o[n]}if(t==="@oclif/plugin-plugins"){let{commands:o}=await import("./lib-NOROGV6N.js");return o[n]}if(t==="@shopify/plugin-did-you-mean"){let{DidYouMeanCommands:o}=await import("./dist-FF6C4ZHS.js");return o[n]}}export{D as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as u}from"./chunk-
|
|
1
|
+
import{a as u}from"./chunk-FPLUMESQ.js";import{g as d}from"./chunk-VKWPEFWQ.js";d();var m=!1;function v(){return m}function y(){let t=0,e=!1,i=setInterval(()=>{if(!e){if(v()||t>=12e4){e=!0,clearInterval(i),u(process.pid,"SIGINT",!1,()=>{process.exit(0)});return}t+=100}},100)}var k=async({config:a,Command:o})=>{await I(o);let t=await import("./metadata-KZVLHQII.js"),{commandStartOptions:e}=t.getAllSensitiveMetadata();e&&await t.addSensitiveMetadata(()=>({commandStartOptions:{...e,endTime:new Date().getTime()}}));let{postrun:i}=await import("./deprecations-QOHE6JG6.js");i(o);let{outputDebug:n}=await import("./output-NH4I5Y3C.js"),r=o.id.replace(/:/g," ");n(`Completed command ${r}`),!r.includes("notifications")&&!r.includes("upgrade")&&await M();let{reportAnalyticsEvent:p}=await import("./analytics-SOXP4UBD.js");await p({config:a,exitMode:"ok"}),m=!0};async function M(){let{versionToAutoUpgrade:a,warnIfUpgradeAvailable:o}=await import("./upgrade-K4S6JW64.js"),t=a();if(!t){await o();return}if(process.env.SHOPIFY_CLI_FORCE_AUTO_UPGRADE==="1")await l(t);else{let{runAtMinimumInterval:i}=await import("./conf-store-C2LOYIOU.js");await i("auto-upgrade",{days:1},async()=>{await l(t)})}}async function l(a){let[{CLI_KIT_VERSION:o},{isMajorVersionChange:t},{outputWarn:e,outputDebug:i},{getOutputUpdateCLIReminder:n,runCLIUpgrade:r,hasBlockingAutoUpgradeNotification:p},s]=await Promise.all([import("./version-ZI4GZX72.js"),import("./version-FJFTTOZU.js"),import("./output-NH4I5Y3C.js"),import("./upgrade-K4S6JW64.js"),import("./metadata-KZVLHQII.js")]);if(t(o,a)){e(n(a,!0)),await s.addPublicMetadata(()=>({env_auto_upgrade_skipped_reason:"major_version"}));return}if(await p()){await s.addPublicMetadata(()=>({env_auto_upgrade_skipped_reason:"blocked_by_notification"}));return}try{await r({autoupgrade:!0}),await s.addPublicMetadata(()=>({env_auto_upgrade_success:!0}))}catch(f){let c=`Auto-upgrade failed: ${f}`;i(c),e(n(a)),await s.addPublicMetadata(()=>({env_auto_upgrade_success:!1}));let[{sendErrorToBugsnag:g},{inferPackageManagerForGlobalCLI:w}]=await Promise.all([import("./error-handler-SW2ALZ5Z.js"),import("./is-global-QWTDUPNR.js")]),_=Object.assign(new Error(c),{packageManager:w(),platform:process.platform,cliVersion:o});await g(_,"expected_error")}}async function I(a){let o=new Date().getTime();if(a&&"analyticsStopCommand"in a&&typeof a.analyticsStopCommand=="function"){let t=a.analyticsStopCommand();if(t){let e=await import("./metadata-KZVLHQII.js"),{commandStartOptions:i}=e.getAllSensitiveMetadata();if(!i)return;await e.addSensitiveMetadata(()=>({commandStartOptions:{...i,startTime:o,startCommand:t}}))}}}export{y as a,k as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as $}from"./chunk-WW7TENNA.js";import{a as F}from"./chunk-5C7HDTHJ.js";import{R as _}from"./chunk-
|
|
1
|
+
import{b as $}from"./chunk-WW7TENNA.js";import{a as F}from"./chunk-5C7HDTHJ.js";import{R as _}from"./chunk-6EZ7JWBK.js";import{d as T}from"./chunk-WRRUFK4Y.js";import{d}from"./chunk-WKBVT5WG.js";import{Fb as h,Hb as g,Lb as P,aa as E}from"./chunk-DONEJHDG.js";import{c as O}from"./chunk-KKUDXLK2.js";import{a as b}from"./chunk-NNOSZ447.js";import{r as I}from"./chunk-T6CC5WUU.js";import{e as S,g as w}from"./chunk-VKWPEFWQ.js";w();var u=S(I()),p=class extends u.Command{static descriptionWithoutMarkdown(){return(this.descriptionWithMarkdown??"").replace(/(\[)(.*?)(])(\()(.*?)(\))/gm,'"$2" ($5)')}static analyticsNameOverride(){}static analyticsStopCommand(){}async catch(n){n.skipOclifErrorHandling=!0;let{errorHandler:r}=await import("./error-handler-SW2ALZ5Z.js");return await r(n,this.config),u.Errors.handle(n)}async init(){if(this.exitWithTimestampWhenEnvVariablePresent(),$(this.id??""),!O()){let{registerCleanBugsnagErrorsFromWithinPlugins:r}=await import("./error-handler-SW2ALZ5Z.js");await r(this.config)}await x(this.config),this.showNpmFlagWarning();let{showNotificationsIfNeeded:n}=await import("./notifications-system-DP443VTE.js");return await n(),super.init()}showNpmFlagWarning(){let n=this.constructor;Object.keys(n.flags||{}).map(t=>`npm_config_${E(t).replace(/^no_/,"")}`).some(t=>process.env[t]!==void 0)&&import("./ui-QOGKADWB.js").then(({renderWarning:t})=>{t({body:["NPM scripts require an extra",{command:"--"},"separator to pass the flags. Example:",{command:"npm run dev -- --reset"}]})})}exitWithTimestampWhenEnvVariablePresent(){b(process.env.SHOPIFY_CLI_ENV_STARTUP_PERFORMANCE_RUN)&&(P(`
|
|
2
2
|
SHOPIFY_CLI_TIMESTAMP_START
|
|
3
3
|
{ "timestamp": ${Date.now()} }
|
|
4
4
|
SHOPIFY_CLI_TIMESTAMP_END
|
|
@@ -6,6 +6,6 @@ import{b as $}from"./chunk-WW7TENNA.js";import{a as F}from"./chunk-5C7HDTHJ.js";
|
|
|
6
6
|
|
|
7
7
|
${h.cyan(e)}
|
|
8
8
|
|
|
9
|
-
This flag is required in non-interactive terminal environments, such as a CI environment, or when piping input from another process.`,"To resolve this, specify the option in the command, or run the command in an interactive environment such as your local terminal.")})}async resultWithEnvironment(n,r,e){let t=n.flags,i=this.environmentsFilename();if(!i)return n;let{environmentFilePath:o}=await import("./environments-
|
|
10
|
-
`),{renderWarning:o}=await import("./ui-
|
|
9
|
+
This flag is required in non-interactive terminal environments, such as a CI environment, or when piping input from another process.`,"To resolve this, specify the option in the command, or run the command in an interactive environment such as your local terminal.")})}async resultWithEnvironment(n,r,e){let t=n.flags,i=this.environmentsFilename();if(!i)return n;let{environmentFilePath:o}=await import("./environments-EGD263DV.js"),s=await o(i,{from:t.path}),m=[];t.environment&&(m=Array.isArray(t.environment)?t.environment:[t.environment]);let c=m.length>0;if(!s&&!c||c&&m.length>1)return n;let{environment:l,isDefaultEnvironment:f}=await this.loadEnvironmentForCommand(t.path,i,m[0]);if(!l||f&&!C(r?.flags,"environment"))return n;let v=await super.parse(N(r),e),y=await super.parse(r,[...e??this.argv,...W(l,r,v),...f?["--environment","default"]:[]]);return A(v.flags,y.flags,f?"default":m[0],l),y}async loadEnvironmentForCommand(n,r,e){let{loadEnvironment:t}=await import("./environments-EGD263DV.js");return e?{environment:await t(e,r,{from:n}),isDefaultEnvironment:!1}:{environment:await t("default",r,{from:n,silent:!0}),isDefaultEnvironment:!0}}};p.baseFlags={};async function j(a){await T(()=>({cmd_all_verbose:a.verbose,cmd_all_path_override:a.path!==void 0,cmd_all_path_override_hash:a.path===void 0?void 0:F(a.path)}))}function A(a,n,r,e){let t={};for(let[o,s]of Object.entries(n)){let m=Object.prototype.hasOwnProperty.call(a,o),c=Object.prototype.hasOwnProperty.call(e,o);if(!m&&c){let l=o==="password"?`********${s.substr(-4)}`:s;t[o]=l}}if(Object.keys(t).length===0)return;let i=Object.entries(t).map(([o,s])=>`${o}: ${s}`);import("./ui-QOGKADWB.js").then(({renderInfo:o})=>{o({headline:["Using applicable flags from",{userInput:r},"environment:"],body:[{list:{items:i}}]})})}function N(a){return a?.flags?{...a,flags:Object.fromEntries(Object.entries(a.flags).map(([n,r])=>{let e={...r};return delete e.default,[n,e]}))}:a}function W(a,n,r){let e=[];for(let[t,i]of Object.entries(a)){let o=C(n?.flags,t),s=r.flags&&Object.prototype.hasOwnProperty.call(r.flags,t);if(o&&!s)if(typeof i=="boolean")if(i)e.push(`--${t}`);else throw new d(g`Environments can only specify true for boolean flags. Attempted to set ${h.yellow(t)} to false.`);else Array.isArray(i)?i.forEach(m=>e.push(`--${t}`,`${m}`)):e.push(`--${t}`,`${i}`)}return e}function C(a,n){return!!a&&Object.prototype.hasOwnProperty.call(a,n)}async function x(a){let n=Array.from(a.plugins.values()),r=["@shopify/app","@shopify/plugin-cloudflare"],e=n.filter(i=>r.includes(i.name));if(e.length>0){let i=e.map(s=>` - shopify plugins remove ${s.name}`).join(`
|
|
10
|
+
`),{renderWarning:o}=await import("./ui-QOGKADWB.js");o({headline:`Unsupported plugins detected: ${e.map(s=>s.name).join(", ")}`,body:["They are already included in the CLI and installing them as custom plugins can cause conflicts.",`You can fix it by running:
|
|
11
11
|
${i}`]})}let t=n.filter(i=>!r.includes(i.name));a.plugins=new Map(t.map(i=>[i.name,i]))}var q=p;export{N as a,q as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as o}from"./chunk-442S5SDM.js";import{b as r}from"./chunk-UKK5P74A.js";import{g as n}from"./chunk-VKWPEFWQ.js";n();var e=class extends r{environmentsFilename(){return o.appEnvironments}};export{e as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as B,b as E}from"./chunk-UYK6CXAU.js";import{b as y,c as A,l as C,n as F,o as S,t as x}from"./chunk-AY4GIVME.js";import{a as D}from"./chunk-HM5H7WBE.js";import{a as w}from"./chunk-ZAMDXIVC.js";import{z as f}from"./chunk-5W443CKL.js";import{b as O}from"./chunk-H5C3QTOO.js";import{u as l,v as k,w as b,x as g}from"./chunk-6EZ7JWBK.js";import{Fb as h,Hb as I}from"./chunk-DONEJHDG.js";import{r as _}from"./chunk-T6CC5WUU.js";import{e as z,g as s}from"./chunk-VKWPEFWQ.js";s();s();async function T(n){let{organization:a,storeFqdn:o,operationId:r,remoteApp:u}=n;l({headline:"Canceling bulk operation.",body:[{list:{items:[`ID: ${r}`,...E({organization:a,remoteApp:u,storeFqdn:o})]}}]});let v=await B(u,o),p=await C({adminSession:v,operationId:r});if(p?.userErrors?.length){F(p.userErrors,"Failed to cancel bulk operation.");return}let i=p?.bulkOperation;if(i){let t=S(i),d=i.status==="CANCELING"?[`This may take a few moments. Check the status with:
|
|
2
|
+
`,{command:`shopify app bulk status --id=${A(i.id)}`}]:t.body,c={headline:t.headline,...d&&{body:d},...t.customSections&&{customSections:t.customSections}};switch(t.renderType){case"success":k(c);break;case"warning":b(c);break;case"info":l(c);break}}else g({headline:"Bulk operation not found or could not be canceled.",body:I`ID: ${h.yellow(r)}`.value})}var m=z(_(),1);var q,e=class extends D{async run(){let{flags:a}=await this.parse(q),{appContextResult:o,store:r}=await x(a);return await T({organization:o.organization,storeFqdn:r.shopDomain,operationId:y(a.id),remoteApp:o.remoteApp}),{app:o.app}}};q=e;e.summary="Cancel a bulk operation.";e.description="Cancels a running bulk operation by ID.";e.flags={...O,...w,id:m.Flags.string({description:"The bulk operation ID to cancel (numeric ID or full GID).",env:"SHOPIFY_FLAG_ID",required:!0}),store:m.Flags.string({char:"s",description:"The store domain. Must be an existing dev store.",env:"SHOPIFY_FLAG_STORE",parse:async n=>f(n)})};var K=e;export{K as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as c}from"./chunk-AY4GIVME.js";import{R as s}from"./chunk-5W443CKL.js";import{d as p,g as a}from"./chunk-WKBVT5WG.js";import{g as i}from"./chunk-VKWPEFWQ.js";i();async function v(e,t){let o=e.apiSecretKeys[0]?.secret;if(!o)throw new a("No API secret keys found for app");return s(t,e.apiKey,o)}function y(e){let{organization:t,remoteApp:o,storeFqdn:u,version:r}=e,n=[`Organization: ${t.businessName}`,`App: ${o.title}`,`Store: ${u}`];return r&&n.push(`API version: ${r}`),n}function S(e,t){if(c(e)&&t.storeType!=="APP_DEVELOPMENT")throw new p("Mutations can only be executed on dev stores.")}export{v as a,y as b,S as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as D}from"./chunk-
|
|
1
|
+
import{a as D}from"./chunk-HA6NISOZ.js";import{b as ne,c as re}from"./chunk-7UOPCYMV.js";import{c as ee,d as te}from"./chunk-5JNEWYD5.js";import{A as T}from"./chunk-6RL7FUPD.js";import{a as Z}from"./chunk-HM5H7WBE.js";import{a as Q}from"./chunk-ZAMDXIVC.js";import{Fa as X}from"./chunk-ATXODH6C.js";import{b as Y,c as V}from"./chunk-H5C3QTOO.js";import{B as q,a as S,i as K,j as U,k as b,p as C}from"./chunk-6EZ7JWBK.js";import{a as J}from"./chunk-FPLUMESQ.js";import{d as M}from"./chunk-WKBVT5WG.js";import{eb as O,fb as l,gb as s,ib as j,jb as G,kb as H,ma as N}from"./chunk-DONEJHDG.js";import{f as z}from"./chunk-KKUDXLK2.js";import{d as I}from"./chunk-773TIA5M.js";import{r as ye}from"./chunk-T6CC5WUU.js";import{e as R,g as c}from"./chunk-VKWPEFWQ.js";c();c();c();c();c();var y=R(O(),1);import{Writable as oe}from"stream";function ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:i}){let a={type:"functionRun",input:e.payload.input,output:e.payload.output,logs:e.payload.logs,name:e.source,size:0,memory_usage:0,instructions:e.payload.fuelConsumed},[u,f]=(0,y.useState)([]),[p,m]=(0,y.useState)([a,a]),[w,d]=(0,y.useState)(void 0),{input:E,export:$}=e.payload,[fe,L]=(0,y.useState)(`Watching for changes to ${e.source}...`);return(0,y.useEffect)(()=>{let A=new S;t.signal.addEventListener("abort",()=>{A.abort()});let B=async()=>{let F=await we(r,JSON.stringify(E),$);m(h=>[F,h[0]]),L(`Watching for changes to ${e.source}...`),f(h=>[...h,F])},de=async()=>{L("Replaying log with local function..."),await B()},ge=async()=>{i.onEvent(async h=>{let x=h.extensionEvents.find(v=>v.extension.handle===r.handle);if(!(!x||x.type!==ee.Updated)){if(x.buildResult?.status==="error"){d(`Error while reloading and building extension: ${x.buildResult?.error}`);return}d(void 0),L("Re-running with latest changes..."),await B()}});let F=new oe({write(h,x,v){f(he=>[...he,{type:"systemMessage",message:h.toString()}]),v()}});await i.start({stdout:F,stderr:F,signal:A.signal},!1)};return de().then(()=>{ge()}),()=>{A.abort()}},[E,$,o,r]),C(t.signal,async()=>{setTimeout(()=>{z()||J(process.pid,"SIGINT",!1,()=>{process.exit(0)})},2e3)}),{logs:u,statusMessage:fe,recentFunctionRuns:p,error:w}}async function we(e,t,o){let r="",i=new oe({write(u,f,p){r+=u,p()}});return await D({functionExtension:e,input:t,export:o,stdout:i,json:!0}),{...JSON.parse(r),type:"functionRun"}}var n=R(O(),1);var ae=({selectedRun:e,abortController:t,app:o,extension:r})=>{let{isAborted:i}=C(t.signal),{isRawModeSupported:a}=G(),u=new te(o),{logs:f,statusMessage:p,recentFunctionRuns:m,error:w}=ie({selectedRun:e,abortController:t,app:o,extension:r,appWatcher:u});return H((d,E)=>{U(d,E,()=>t.abort()),d==="q"&&t.abort()},{isActive:!!a}),n.default.createElement(n.default.Fragment,null,n.default.createElement(j,{items:f},(d,E)=>n.default.createElement(l,{key:`replayOutputScrollerLog${E}`,flexDirection:"column"},n.default.createElement(Se,{log:d}))),i?null:n.default.createElement(l,{marginY:1,paddingTop:1,flexDirection:"column",flexGrow:1,borderStyle:"single",borderBottom:!1,borderLeft:!1,borderRight:!1,borderTop:!0},a?n.default.createElement(l,{flexDirection:"column"},n.default.createElement(l,{flexDirection:"row"},n.default.createElement(s,null,b.pointerSmall," ",p)),n.default.createElement(Re,{recentFunctionRuns:m}),n.default.createElement(s,null,b.pointerSmall," Press ",n.default.createElement(s,{bold:!0},"q")," ",b.lineVertical," quit")):null,w?n.default.createElement(s,{color:"red"},w):null))};function k({title:e,backgroundColor:t}){let o=Math.max(Math.round((28-e.length)/2),0),r=" ".repeat(o);return n.default.createElement(s,{backgroundColor:t,color:"black"},`
|
|
2
2
|
|
|
3
3
|
`,r,e,r,`
|
|
4
4
|
`)}function Ee({input:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Input",backgroundColor:"yellow"}),n.default.createElement(s,null,T(e)))}function Fe({logs:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Logs",backgroundColor:"blueBright"}),n.default.createElement(s,null,e))}function xe({output:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Output",backgroundColor:"greenBright"}),n.default.createElement(s,null,T(e)))}function be({functionRun:e}){return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(k,{title:"Benchmark Results",backgroundColor:"green"}),n.default.createElement(s,null,"Name: ",e.name),n.default.createElement(s,null,"Linear Memory Usage: ",e.memory_usage,"KB"),n.default.createElement(s,null,"Instructions: ",e.instructions/1e3,"K"),n.default.createElement(s,null,"Size: ",e.size,"KB"))}function Re({recentFunctionRuns:e}){let t=e[0].instructions-e[1].instructions;return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(s,null,b.pointerSmall," Instruction count change: ",t>0?"+":"",t))}function Se({log:e}){switch(e.type){case"functionRun":return n.default.createElement(l,{flexDirection:"column"},n.default.createElement(Ee,{input:e.input}),n.default.createElement(Fe,{logs:e.logs}),n.default.createElement(xe,{output:e.output}),n.default.createElement(be,{functionRun:e}),n.default.createElement(s,null,"\xA0"));case"systemMessage":return n.default.createElement(s,null,e.message);default:return null}}var se=R(O(),1);async function ce({selectedRun:e,abortController:t,app:o,extension:r}){return K(se.default.createElement(ae,{selectedRun:e,abortController:t,app:o,extension:r}),{exitOnCtrlC:!1})}c();async function le(e){if(e.length===0)return;let t=i=>({label:`${i.logTimestamp} (${i.status}) - ${i.identifier}`,value:i}),o=e.map(t);return await q({message:"Which function run would you like to replay locally?",choices:o})}import{existsSync as Ce,readdirSync as De}from"fs";var _=100;async function ue(e){let{watch:t,extension:o,app:r}=e,i=new S;try{let a=r.getLogsDir(),u=e.log?await ke(a,o.handle,e.log):await Ae(a,o.handle),{input:f,export:p}=u.payload;t?await ce({selectedRun:u,abortController:i,app:r,extension:o}):await D({functionExtension:o,json:e.json,input:JSON.stringify(f),export:p})}catch(a){throw i.abort(),a}}async function ke(e,t,o){let r=await Le(e,t,o);if(r===void 0)throw new M(`No log found for '${o}'.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{$ as z,la as j,ma as J,na as k,oa as W,pa as A,qa as q,ra as N,sa as B,ta as L,ua as K,va as R,wa as Q,xa as O,ya as Y}from"./chunk-
|
|
1
|
+
import{$ as z,la as j,ma as J,na as k,oa as W,pa as A,qa as q,ra as N,sa as B,ta as L,ua as K,va as R,wa as Q,xa as O,ya as Y}from"./chunk-ATXODH6C.js";import{f as v,i as X,p as c}from"./chunk-442S5SDM.js";import{c as G}from"./chunk-J2WCMQZZ.js";import{v as U,z as w}from"./chunk-6EZ7JWBK.js";import{d as E,f as $}from"./chunk-WKBVT5WG.js";import{$ as b,Hb as H,Ta as P,Y as a,qa as I,wa as D,ya as V}from"./chunk-DONEJHDG.js";import{d as C,j as F}from"./chunk-773TIA5M.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();s();function Z(e){switch(e){case d.Offsite:return k;case d.CreditCard:return R;case d.CustomCreditCard:return L;case d.CustomOnsite:return N;case d.Redeemable:return A;case d.CardPresent:return O}}var d;(function(e){e.Offsite="payments_app",e.CreditCard="payments_app_credit_card",e.CustomCreditCard="payments_app_custom_credit_card",e.CustomOnsite="payments_app_custom_onsite",e.Redeemable="payments_app_redeemable",e.CardPresent="payments_app_card_present"})(d||(d={}));function ee(e,t){let i=e.activeVersion?.context??e.draftVersion?.context??Z(e.type);switch(i){case k:return x(e,t,W);case R:return x(e,t,Q);case L:return x(e,t,K);case N:return x(e,t,B);case A:return x(e,t,q);case O:return x(e,t,Y);default:throw new Error(`Unsupported extension: ${i}`)}}function x(e,t,i){let o=(e.activeVersion??e.draftVersion)?.config;if(!o)throw new Error("No config found for extension");let r=JSON.parse(o),l=i(r,t);l&&delete l.api_version;let p=e.activeVersion?.context??e.draftVersion?.context??Z(e.type);return{api_version:r.api_version,extensions:[{name:e.title,type:"payments_extension",handle:a(e.title.substring(0,c)),...l,targeting:[{target:`${p}`}]}]}}s();s();var fe=new Map(J.map(e=>[e[1],e[0]])),ue=(e,t)=>{let i=fe.get(e.uiType);if(!i)throw new E(`Field type ${e.uiType} is not supported`);let n={key:e.name,description:e.description??void 0,type:i};return t==="flow_action_definition"&&(n.name=e.label,n.required=e.required),n},me=(e,t)=>{let o={type:t==="flow_action_definition"?`${e.name.replace("_id","")}_reference`:`${e.uiType}_reference`};return t==="flow_action_definition"&&(o.required=e.required),e.uiType==="marketing-activity-id"&&(o.marketingActivityCreateUrl=e.marketingActivityCreateUrl,o.marketingActivityDeleteUrl=e.marketingActivityDeleteUrl),o},te=(e,t)=>t?t.map(n=>n.uiType==="commerce-object-id"||n.uiType==="marketing-activity-id"||j.includes(n.uiType)?me(n,e):ue(n,e)):[];function ie(e){let t=e.activeVersion?.config??e.draftVersion?.config;if(!t)throw new Error("No config found for extension");let i=e.type==="flow_action_definition"?"https://url.com/api/execute":void 0,n;if(e.type==="flow_trigger_discovery_webhook"){let o=JSON.parse(t);n={extensions:[{type:"flow_trigger_lifecycle_callback",name:e.title,handle:a(e.title.substring(0,c)),url:o.url}]}}else{let o=JSON.parse(t),r=te(e.type,o.fields??[]);n={extensions:[{type:e.type.replace("_definition",""),name:o.title,handle:a(e.title.substring(0,c)),description:o.description,runtime_url:o.url??i,config_page_url:o.custom_configuration_page_url,config_page_preview_url:o.custom_configuration_page_preview_url,validation_url:o.validation_url}],settings:(r?.length??0)>0?{fields:r}:void 0}}return n}s();s();var ne=e=>{let t=e.split("#");if(t.length!==2||t.some(l=>l===""||l===void 0))throw new Error("Invalid context");let i="admin",n=ge(t[0]??""),o=de(t[1]??""),r="link";return o==="selection"?[i,`${n}-index`,`${o}-action`,r].join("."):[i,`${n}-${o}`,"action",r].join(".")},de=e=>{switch(e.toLocaleLowerCase()){case"show":return"details";case"index":return"index";case"action":return"selection";case"fulfilled_card":return"fulfilled-card";default:throw new Error(`Invalid context location: ${e}`)}},ge=e=>e.toLocaleLowerCase()==="variants"?"product-variant":b(e.toLocaleLowerCase().replace(new RegExp("(s)$"),""));function oe(e,t,i){let n=e.activeVersion?.config??e.draftVersion?.config;if(!n)throw new Error("No config found for extension");let o=e.activeVersion?.context??e.draftVersion?.context;if(!o)throw new Error("No context found for link extension");let r=JSON.parse(n);if(i.embedded)try{let p=new URL(r.url),f=p.pathname.startsWith("/")?p.pathname.substring(1):p.pathname,u=new URL(`app://${f}`);u.search=p.search,u.hash=p.hash,r.url=u.toString()}catch{}return{extensions:[{type:"admin_link",name:r.text,handle:a(e.title.substring(0,c)),targeting:[{url:r.url,target:ne(o)}]}]}}s();var _e={facebook:"social",instagram:"social",google:"search",pinterest:"social",bing:"search",email:"email",snapchat:"social",sms:"sms",verizon_media:"display",ebay:"marketplace",tiktok:"social",flow:"email"},ye={facebook:"facebook.com",instagram:"instagram.com",google:"google.com",pinterest:"pinterest.com",bing:"bing.com",snapchat:"snapchat.com",verizon_media:null,email:null,sms:null,ebay:"ebay.com",tiktok:"tiktok.com",flow:null};function Ce(e){let t=new URL(e);return t.pathname+t.search+t.hash}function re(e){let t=e.activeVersion?.config??e.draftVersion?.config;if(!t)throw new Error("No config found for extension");let i=JSON.parse(t);return{extensions:[{type:"marketing_activity",name:e.title,handle:a(e.title.substring(0,c)),title:i.title,description:i.description,api_path:Ce(i.app_api_url),tactic:i.tactic,marketing_channel:_e[i.platform]??"",referring_domain:ye[i.platform]??"",is_automation:i.is_automation,use_external_editor:i.use_external_editor,preview_data:i.preview_data,fields:i.fields.map(({id:o,...r})=>r)}]}}s();function se(e){let t=e.activeVersion?.config??e.draftVersion?.config;if(!t)throw new Error("No config found for extension");let i=JSON.parse(t);return{extensions:[{type:"subscription_link_extension",name:e.title,handle:a(e.title.substring(0,c)),pattern:i.pattern}]}}var S=[{label:"Payments Extensions",value:"payments",extensionTypes:["payments_app","payments_app_credit_card","payments_app_custom_credit_card","payments_app_custom_onsite","payments_app_redeemable","payments_extension"],buildExtensionConfig:ee},{label:"Flow Extensions",value:"flow",extensionTypes:["flow_action_definition","flow_trigger_definition","flow_trigger_discovery_webhook"],buildExtensionConfig:ie},{label:"Marketing Activity Extensions",value:"marketing activity",extensionTypes:["marketing_activity_extension"],buildExtensionConfig:re},{label:"Subscription Link Extensions",value:"subscription link",extensionTypes:["subscription_link","subscription_link_extension"],buildExtensionConfig:se},{label:"Admin Link extensions",value:"link extension",extensionTypes:["app_link","bulk_action"],buildExtensionConfig:oe}];function ae(e){return S.filter(t=>t.extensionTypes.some(i=>e.some(n=>n.type.toLowerCase()===i.toLowerCase())))}async function ut(e){if(e.length===1&&e[0])return e[0];let t=e.map(o=>({label:o.label,value:o.value})),i=await w({message:"Extension type to migrate",choices:t}),n=e.find(o=>o.value===i);if(n===void 0)throw new E("Invalid migration choice");return n}s();var kt=S.flatMap(e=>e.extensionTypes),g;(function(e){e.Write="write",e.Skip="skip",e.Cancel="cancel"})(g||(g={}));async function Ee({name:e,app:t}){let i=b(e),n=C(t.directory,X.extensions.directoryName,i);if(await P(n)){let o=[{label:"Overwrite local TOML with remote configuration",value:g.Write},{label:"Keep local TOML",value:g.Skip},{label:"Cancel",value:g.Cancel}],r=await w({message:`Directory "${i}" already exists. What would you like to do?`,choices:o});if(r===g.Cancel)throw new $;return{directory:n,action:r}}return await D(n),await I(C(n,v.lockFile)),{directory:n,action:g.Write}}async function xe(e){let{app:t,remoteApp:i,developerPlatformClient:n,extensionTypes:o,extensions:r,buildExtensionConfig:l,all:p}=e,f=r.filter(m=>o.includes(m.type.toLowerCase()));if(f=we(t,f),f.length===0)throw new E("No extensions to migrate");if(!p){let m=f.map(y=>({label:y.title,value:y.uuid}));f.length>1&&m.push({label:"All",value:"All"});let _=await w({message:"Extensions to migrate",choices:m});_!=="All"&&(f=[f.find(y=>y?.uuid===_)])}let u={},h=f.map(async m=>{let{directory:_,action:y}=await Ee({app:t,name:m.title}),ce=a(m.title.substring(0,c));if(u[ce]=m.uuid,y===g.Write){let M=l(m,r,t.configuration),le=C(_,"shopify.extension.toml");await new G(le,M).replace(M);let pe=C(_,v.lockFile);await V(pe)}return{extension:m,directory:C("extensions",F(_))}}),T=await Promise.all(h);be(T),await z({app:t,identifiers:{extensions:u,app:i.apiKey},command:"import-extensions",developerPlatformClient:n})}function we(e,t){let i=e.dotenv?.variables??{},n=e.allExtensions.map(o=>i[o.idEnvironmentVariableName]);return t.filter(o=>!n.includes(o.uuid))}async function At(e){let t=ae(e.extensions);await Promise.all(t.map(async i=>xe({...e,extensionTypes:i.extensionTypes,buildExtensionConfig:i.buildExtensionConfig,all:!0})))}function be(e){U({headline:["Imported the following extensions from the dashboard:"],body:e.map(t=>H`• "${t.extension.title}" at: ${t.directory}`.value).join(`
|
|
2
2
|
`)})}s();async function Rt({developerPlatformClient:e,apiKey:t,organizationId:i,extensionTypes:n,onlyDashboardManaged:o=!1}){let r=await e.appExtensionRegistrations({id:t,apiKey:t,organizationId:i}),{dashboardManagedExtensionRegistrations:l,extensionRegistrations:p}=r.app;return(o?l:p.concat(l)).filter(u=>{let h=n.includes(u.type.toLowerCase()),T=u.activeVersion&&u.activeVersion.config,m=u.draftVersion&&u.draftVersion.config;return h&&(T??m)})}export{ae as a,ut as b,kt as c,xe as d,we as e,At as f,Rt as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as T}from"./chunk-
|
|
1
|
+
import{a as T}from"./chunk-HA6NISOZ.js";import{b as P,c as w,d as v}from"./chunk-7UOPCYMV.js";import{a as F}from"./chunk-MQICT2LR.js";import{a as x}from"./chunk-ZAMDXIVC.js";import{Ga as y}from"./chunk-ATXODH6C.js";import{b as h,c as m}from"./chunk-H5C3QTOO.js";import{B as d,I as l}from"./chunk-6EZ7JWBK.js";import{Pb as r}from"./chunk-DONEJHDG.js";import{r as N}from"./chunk-T6CC5WUU.js";import{e as A,g}from"./chunk-VKWPEFWQ.js";g();var s=A(N(),1);var p,a="_start",e=class extends F{async run(){let{flags:t}=await this.parse(p),n=a,{app:c}=await y({directory:t.path,userProvidedConfigName:t.config}),o=await w(c,t.path);if(t.export!==void 0)r(`Using export ${t.export} from the --export flag.`),n=t.export;else if(o.configuration.targeting!==void 0&&o.configuration.targeting.length>0){let i=o.configuration.targeting;if(i.length>1&&l({})){let b=i.map(f=>({label:f.target,value:f.export||a}));n=await d({message:"Which target would you like to execute?",choices:b})}else n=i?.[0]?.export||a,r(`Using export '${n}'. Use the --export flag or an interactive terminal to select a different export.`)}else r(`No targeting information found. Using the default export '${n}'. Use the --export flag or an interactive terminal to select a different export.`);let u=o?.configuration.targeting?.[0]?.input_query,U=u&&`${o?.directory}/${u}`,_=await v(o,t.path,t["client-id"],t.reset,t.config);return await T({functionExtension:o,json:t.json,inputPath:t.input,export:n,stdin:"inherit",schemaPath:_,queryPath:U}),{app:c}}};p=e;e.summary="Run a function locally for testing.";e.descriptionWithMarkdown="Runs the function from your current directory for [testing purposes](https://shopify.dev/docs/apps/functions/testing-and-debugging). To learn how you can monitor and debug functions when errors occur, refer to [Shopify Functions error handling](https://shopify.dev/docs/api/functions/errors).";e.description=p.descriptionWithoutMarkdown();e.flags={...h,...x,...P,...m,input:s.Flags.string({char:"i",description:"The input JSON to pass to the function. If omitted, standard input is used.",env:"SHOPIFY_FLAG_INPUT"}),export:s.Flags.string({char:"e",hidden:!1,description:"Name of the WebAssembly export to invoke.",env:"SHOPIFY_FLAG_EXPORT"})};var G=e;export{G as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,d as f,e as p}from"./chunk-
|
|
1
|
+
import{c as m,d as f,e as p}from"./chunk-67KMRBSZ.js";import{d as c,f as w,j as T}from"./chunk-PJYNAUQB.js";import{g as d}from"./chunk-D6YDSGR4.js";import{B as u}from"./chunk-6EZ7JWBK.js";import{d as l}from"./chunk-WKBVT5WG.js";import{U as i}from"./chunk-DONEJHDG.js";import{g as s}from"./chunk-VKWPEFWQ.js";s();async function A(e,r){let n=await m(e),t=new p(r.filter),a=e.storeFqdn;if(t.any())return f(a,n,t)[0];let y=r.header??"",h=n.map(o=>{let S=o.id.toString()===d()?" [current]":"";return{value:async()=>o,label:`${o.name}${S}`,group:i(o.role)}});return r.create&&h.unshift(g(e)),(await u({message:y,choices:h}))()}async function B(e,r){return(await m(e)).find(t=>t.id.toString()===r)}async function C(e,r){let n=await m(e),t=new p(r),a=e.storeFqdn;return t.any()?f(a,n,t):[]}function g(e){return{value:async()=>{let r=c,n=await w("Name of the new theme"),t=await T({name:n,role:r},e);if(!t)throw new l("The theme could not be created.");return t},label:"[Create a new theme]",group:i(c)}}export{A as a,B as b,C as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as V}from"./chunk-YQH2JHFA.js";import{a as N}from"./chunk-BCD4KTLJ.js";import{a as F}from"./chunk-VOJWKGCW.js";import{k as q,l as H,n as I}from"./chunk-2NWWMNU5.js";import{a as Y}from"./chunk-OQORDQLH.js";import{a as y,c as U}from"./chunk-QMXKGSFH.js";import{b as L}from"./chunk-YGKQCEVG.js";import{a as p,b as w}from"./chunk-STJ3LWFL.js";import{b as g,c as x,d as M,f as _,j as R,n as j,p as D}from"./chunk-PJYNAUQB.js";import{r as k}from"./chunk-D6YDSGR4.js";import{aa as B}from"./chunk-T5GSCWN5.js";import{O as b,ua as a,va as O}from"./chunk-5W443CKL.js";import{A as P,v as f,w as d,x as C}from"./chunk-6EZ7JWBK.js";import{d as S}from"./chunk-WKBVT5WG.js";import{Lb as $}from"./chunk-DONEJHDG.js";import{f as T,q as l}from"./chunk-773TIA5M.js";import{e as z,g as v}from"./chunk-VKWPEFWQ.js";v();var A=z(B(),1);async function Te(e,t,r,o){let n=e.environment?.[0],s=t??await b(k({store:e.store}),e.password);if(e.strict){let m=e.json?"json":"text",{offenses:c}=await L(e.path??l(),m);if(c.length>0&&c.filter(J=>J.severity===A.Severity.ERROR).length>0)throw O(new S(n?`[${n}] Theme check failed. Please fix the errors before pushing.`:"Theme check failed. Please fix the errors before pushing."))}a("theme-service:push:setup"),Y({verbose:e.verbose,noColor:e.noColor});let i=e.force??!1,h=e.path?T(e.path):l();if(!await I(h)&&!await U(i,void 0,n,r))return;e.listing&&await q(h,e.listing);let u=await Z(s,e,r);u&&(a("theme-service:push:setup"),await W(u,s,{allowLive:e.allowLive??!1,environment:n,force:i,ignore:e.ignore??[],json:e.json??!1,multiEnvironment:r,nodelete:e.nodelete??!1,only:e.only??[],path:h,publish:e.publish??!1,listing:e.listing},o))}async function W(e,t,r,o){a("theme-service:push:file-system");let n=await j(e.id,t),s=H(r.path,{filters:r,listing:r.listing});a("theme-service:push:file-system");let{uploadResults:i,renderThemeSyncProgress:h}=V(e,t,n,s,r,o);await h(),r.publish&&await D(e.id,t),await G(i,e,t,r)}function E(e){for(let[t,r]of e.entries())if(!r.success)return!0;return!1}async function G(e,t,r,o){o.json?K(t,r,e,o.environment):o.publish?Q(r,e,o.environment):X(t,r,e,o.environment)}function K(e,t,r,o){let n={environment:o,theme:{id:e.id,name:e.name,role:e.role,shop:t.storeFqdn,editor_url:w(e,t),preview_url:p(e,t)}};if(E(r)){let i=`${o?`[${o}] `:""}The theme '${e.name}' was pushed with errors`;n.theme.warning=i;let h={};for(let[u,m]of r.entries())!m.success&&m.errors?.asset&&(h[u]=m.errors.asset);Object.keys(h).length>0&&(n.theme.errors=h)}$(JSON.stringify(n))}function Q(e,t,r){let o=r?[{subdued:`Environment: ${r}
|
|
2
2
|
|
|
3
3
|
`}]:[];E(t)?d({body:[...o,`Your theme was published with errors and is now live at https://${e.storeFqdn}`]}):f({body:[...o,`Your theme is now live at https://${e.storeFqdn}`]})}function X(e,t,r,o){let n=o?[{subdued:`Environment: ${o}
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as i}from"./chunk-GCN4O7HM.js";import{r as t}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-GCN4O7HM.js";import{r as t}from"./chunk-KN3FTJDU.js";import{b as r}from"./chunk-UKK5P74A.js";import{u as e}from"./chunk-6EZ7JWBK.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var o=class extends r{static{this.summary="Enable automatic upgrades for Shopify CLI."}static{this.descriptionWithMarkdown=`Enable automatic upgrades for Shopify CLI.
|
|
2
2
|
|
|
3
3
|
When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version once per day. Major version upgrades are skipped and must be done manually.
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Eb as x,Sb as P,vb as w}from"./chunk-DONEJHDG.js";import{e as g}from"./chunk-773TIA5M.js";import{r as T}from"./chunk-T6CC5WUU.js";import{c as h,e as O,g as u}from"./chunk-VKWPEFWQ.js";var M=h(a=>{"use strict";u();a.__esModule=void 0;a.__esModule=!0;var B=typeof Object.setPrototypeOf=="function",R=typeof Object.getPrototypeOf=="function",U=typeof Object.defineProperty=="function",q=typeof Object.create=="function",z=typeof Object.prototype.hasOwnProperty=="function",H=function(e,r){B?Object.setPrototypeOf(e,r):e.__proto__=r};a.setPrototypeOf=H;var L=function(e){return R?Object.getPrototypeOf(e):e.__proto__||e.prototype};a.getPrototypeOf=L;var j=!1,Y=function t(e,r,n){if(U&&!j)try{Object.defineProperty(e,r,n)}catch{j=!0,t(e,r,n)}else e[r]=n.value};a.defineProperty=Y;var k=function(e,r){return z?e.hasOwnProperty(e,r):e[r]===void 0};a.hasOwnProperty=k;var D=function(e,r){if(q)return Object.create(e,r);var n=function(){};n.prototype=e;var s=new n;if(typeof r>"u")return s;if(typeof r=="null")throw new Error("PropertyDescriptors must not be null.");if(typeof r=="object")for(var o in r)k(r,o)&&(s[o]=r[o].value);return s};a.objectCreate=D});var S=h(f=>{"use strict";u();f.__esModule=void 0;f.__esModule=!0;var b=M(),G=b.setPrototypeOf,Z=b.getPrototypeOf,v=b.defineProperty,J=b.objectCreate,K=new Error().toString()==="[object Error]",m="";function p(t){var e=this.constructor,r=e.name||(function(){var y=e.toString().match(/^function\s*([^\s(]+)/);return y===null?m||"Error":y[1]})(),n=r==="Error",s=n?m:r,o=Error.apply(this,arguments);if(G(o,Z(this)),!(o instanceof e)||!(o instanceof p)){var o=this;Error.apply(this,arguments),v(o,"message",{configurable:!0,enumerable:!1,value:t,writable:!0})}if(v(o,"name",{configurable:!0,enumerable:!1,value:s,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(o,n?p:e),o.stack===void 0){var c=new Error(t);c.name=o.name,o.stack=c.stack}return K&&v(o,"toString",{configurable:!0,enumerable:!1,value:function(){return(this.name||"Error")+(typeof this.message>"u"?"":": "+this.message)},writable:!0}),o}m=p.name||"ExtendableError";p.prototype=J(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}});f.ExtendableError=p;f.default=f.ExtendableError});u();var A=O(T(),1),V=O(S(),1),i;(function(t){t[t.Abort=0]="Abort",t[t.AbortSilent=1]="AbortSilent",t[t.Bug=2]="Bug"})(i||(i={}));var _=class extends Error{},l=class extends Error{constructor(e,r,n=null,s,o){let c=typeof e=="string"||"value"in e;super(c?P(e):w(e)),n?n instanceof x?this.tryMessage=P(n):this.tryMessage=n:this.tryMessage=null,this.type=r,this.nextSteps=s,this.customSections=o,this.skipOclifErrorHandling=!0,c||(this.formattedMessage=e)}},E=class extends l{constructor(e,r=null,n,s){super(e,i.Abort,r,n,s)}},I=class extends l{constructor(e,r,n,s=null){super(e,i.Abort,s),this.command=r,this.args=n}},C=class extends l{constructor(){super("",i.AbortSilent)}},d=class extends l{constructor(e,r=null){super(e,i.Bug,r)}};async function ne(t){let e;if(N(t))e=t;else if(typeof t=="string")e=new d(t);else if(t instanceof Error)e=new d(t.message),e.stack=t.stack;else{let n=t;e=new d(n?.message??"Unknown error"),n?.stack&&(e.stack=n?.stack)}let{renderFatalError:r}=await import("./ui-QOGKADWB.js");return r(e),Promise.resolve(t)}function oe(t){if(t instanceof A.Errors.CLIError){let e=new E(t.message);return e.stack=t.stack,Promise.resolve(e)}else return Promise.resolve(t)}function N(t){try{return Object.prototype.hasOwnProperty.call(t,"type")}catch{return!1}}function se(t){if(!N(t)){if(t instanceof Error){let e=t.message;return!Q(e)}return!0}return t.type===i.Bug}function ae(t){return g(t).replace("file:/","/").replace(/^\/?[A-Z]:/,"")}function Q(t){return["EPERM: operation not permitted, scandir","EPERM: operation not permitted, rename","EACCES: permission denied","EPERM: operation not permitted, symlink","This version of npm supports the following node versions","EBUSY: resource busy or locked","ENOTEMPTY: directory not empty","getaddrinfo ENOTFOUND","Client network socket disconnected before secure TLS connection was established","spawn EPERM","socket hang up","The user aborted a request.","write EPIPE","Unsupported platform"].some(n=>t.includes(n))}export{i as a,_ as b,l as c,E as d,I as e,C as f,d as g,ne as h,oe as i,se as j,ae as k,V as l};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{n as u}from"./chunk-
|
|
1
|
+
import{n as u}from"./chunk-5W443CKL.js";import{b as g}from"./chunk-H5C3QTOO.js";import{b as y}from"./chunk-UKK5P74A.js";import{d as r}from"./chunk-WKBVT5WG.js";import{Lb as v,Mb as w,ua as l,wa as m}from"./chunk-DONEJHDG.js";import{f as p,i as h}from"./chunk-773TIA5M.js";import{r as R}from"./chunk-T6CC5WUU.js";import{e as A,g as s}from"./chunk-VKWPEFWQ.js";s();s();var U="text/markdown",L="X-Shopify-Surface",E="cli",F=["shopify.dev"];async function S(t,e){let c;try{c=new URL(t)}catch{throw new r(`Invalid URL: ${t}`)}let{hostname:d}=c;if(!F.some(o=>d===o||d.endsWith(`.${o}`)))throw new r(`Only documents from the following hosts can be fetched: ${F.join(", ")}.`);let i=await u(t,{headers:{Accept:U,[L]:E}});if(!i.ok)throw new r(`Failed to fetch ${t}: ${i.status} ${i.statusText}`);let f=await i.text();if(e){let o=p(e);await m(h(o)),await l(o,f),w(`Saved ${t} to ${o}`);return}v(f)}var n=A(R(),1),a=class t extends y{static{this.description="Download a complete document from shopify.dev. Every page on shopify.dev has a Markdown version, and that is what this tool returns. Use this to pull an entire document verbatim \u2014 for example, a set of instructions an agent follows like a centrally-served skill. For finding the relevant pieces of content across shopify.dev instead, use `doc search`."}static{this.examples=[`# fetch the Markdown version of a Shopify.dev page
|
|
2
2
|
shopify doc fetch --url https://shopify.dev/docs/api/shopify-cli`,`# save the document to a file instead of printing it
|
|
3
3
|
shopify doc fetch --url https://shopify.dev/docs/api/shopify-cli --output docs/shopify-cli.md`]}static{this.flags={...g,url:n.Flags.string({description:"The shopify.dev URL to fetch.",env:"SHOPIFY_FLAG_URL",required:!0}),output:n.Flags.string({description:"Write the document to this file path instead of printing it to stdout.",env:"SHOPIFY_FLAG_OUTPUT"})}}async run(){let{flags:e}=await this.parse(t);await S(e.url,e.output)}};export{a};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{b as
|
|
2
|
-
Use the`,{command:"--package-manager"},"flag to select a different package manager."]}),await V(async i=>{let d=p(i,"download"),m=o.filePath?p(d,o.filePath):d,u=p(i,"app"),A=o.branch?`${o.baseURL}#${o.branch}`:o.baseURL;await K(d);let w=[{title:`Downloading template from ${A}`,task:async()=>{await
|
|
1
|
+
import{b as we}from"./chunk-G2I2ZUBV.js";import{a as he,c as ye}from"./chunk-MZMYBFZQ.js";import{b as ue}from"./chunk-ZEENHLSC.js";import{a as Fe}from"./chunk-HM5H7WBE.js";import{Ca as Re,Fa as Le,G as ve,L as Pe,O as Ae,Q as ke,ca as Ce,ea as xe,h as ge}from"./chunk-ATXODH6C.js";import{$ as G,da as Ie,o as be}from"./chunk-442S5SDM.js";import{B as re,D as ie,E as ne,f as R,g as te,i as ae,p as oe}from"./chunk-GW3VY3FZ.js";import{a as U}from"./chunk-FU232KQ7.js";import{b as de}from"./chunk-H5C3QTOO.js";import{b as X}from"./chunk-47MGPVED.js";import{D as me,f as se,u as le,v as ce,z as S}from"./chunk-6EZ7JWBK.js";import{d as pe}from"./chunk-WRRUFK4Y.js";import{d as f}from"./chunk-WKBVT5WG.js";import{$ as O,$a as Q,Ab as ee,Ca as I,Fb as h,Gb as L,Hb as g,Ja as B,Oa as W,Ta as C,Ua as x,Va as q,Wa as Z,ka as V,ma as Y,sa as _,ua as $,wa as K,zb as J}from"./chunk-DONEJHDG.js";import{e as fe}from"./chunk-KKUDXLK2.js";import{d as p,e as k,f as z,p as D,q as H}from"./chunk-773TIA5M.js";import{r as De}from"./chunk-T6CC5WUU.js";import{e as ze,g as c}from"./chunk-VKWPEFWQ.js";c();c();var b={reactRouter:{url:"https://github.com/Shopify/shopify-app-template-react-router",label:"Build a React Router app (recommended)",visible:!0,branches:{prompt:"For your React Router template, which language do you want?",options:{javascript:{branch:"javascript-cli",label:"JavaScript"},typescript:{branch:"main-cli",label:"TypeScript"}}}},remix:{url:"https://github.com/Shopify/shopify-app-template-remix",label:"Build a Remix app",visible:!1,branches:{prompt:"For your Remix template, which language do you want?",options:{javascript:{branch:"javascript",label:"JavaScript"},typescript:{branch:"main",label:"TypeScript"}}}},none:{url:"https://github.com/Shopify/shopify-app-template-extension-only",label:"Build an extension-only app",visible:!0},node:{url:"https://github.com/Shopify/shopify-app-template-node",visible:!1},ruby:{url:"https://github.com/Shopify/shopify-app-template-ruby",visible:!1}},E=Object.keys(b),F=E.filter(e=>b[e].visible),He=["reactRouter","none"],Oe=async e=>{let t=e.template,a=e.flavor,r={template:b.reactRouter.url};t??(t=await S({choices:He.map(i=>({label:b[i].label||i,value:i})),message:"Get started building your app:",defaultValue:E.find(i=>b[i].url===r.template)}));let o={...e,template:t,templateType:T(t)?t:"custom",globalCLIResult:{install:!1,alreadyInstalled:!1}},n,s;if(o.templateType!=="custom"){let i=b[o.templateType];n=i.url,i.branches&&(a?s=i.branches.options[a]?.branch:s=await S({message:i.branches.prompt||"Choose a flavor:",choices:Object.entries(i.branches.options).map(([d,m])=>({value:m.branch,label:m.label}))}))}return s&&(n=`${n}#${s}`),o.template=n||o.template||r.template,o.globalCLIResult=await ee(),o},Te=Oe;function T(e){return E.includes(e)}c();c();import{platform as Ve}from"os";async function _e({packageJSON:e,local:t,useGlobalCLI:a}){if(e.dependencies=e.dependencies??{},a?delete e.dependencies["@shopify/cli"]:e.dependencies["@shopify/cli"]=U,delete e.dependencies["@shopify/app"],t){let r=await Ye("cli");e.dependencies["@shopify/cli"]=r;let o={"@shopify/cli":r};e.overrides=e.overrides?{...e.overrides,...o}:o,e.resolutions=e.resolutions?{...e.resolutions,...o}:o}return e}async function Ye(e){return`file:${await Q(`packages/${e}`,{type:"directory",cwd:D(import.meta.url)})}`}async function $e({from:e,packageManager:t}){let a=Ve()==="win32"&&t==="yarn"?["--network-concurrency","1"]:[];return oe({directory:k(e),packageManager:t,args:a})}c();async function j(e,t){let r=(await Z([p(e,"**",".git"),p(e,"**",".github"),p(e,"**",".gitmodules"),p(e,"**",".cli-liquid-bypass"),p(e,"LICENSE*"),p(e,"**","frontend/LICENSE*"),p(e,"package.json.cli2")],{dot:!0,onlyFiles:!1,onlyDirectories:!1,ignore:["**/node_modules/**"]})).map(s=>I(s,{force:!0})),o=new Set(te[t]),n=R.filter(s=>!o.has(s)).map(s=>{let i=p(e,s);if(x(i))return B(i)});return Promise.all([...r,...n])}async function Ke(e){let t=e.packageManager,a=O(e.name),r=p(e.directory,a),o=we(e.template);await Se(r,a),await Be(r),le({body:["Initializing project with",{command:t},`
|
|
2
|
+
Use the`,{command:"--package-manager"},"flag to select a different package manager."]}),await V(async i=>{let d=p(i,"download"),m=o.filePath?p(d,o.filePath):d,u=p(i,"app"),A=o.branch?`${o.baseURL}#${o.branch}`:o.baseURL;await K(d);let w=[{title:`Downloading template from ${A}`,task:async()=>{await ye({repoUrl:A,destination:d,shallow:!0})}}];w.push({title:"Parsing liquid",task:async()=>{await ue(m,u,{dependency_manager:t,app_name:e.name})}},{title:"Updating package.json",task:async()=>{let l=(await re(u)).content;l.name=a,l.author=await se()??"",l.private=!0;let v=["extensions/*"].concat(We(u));switch(t){case"npm":case"yarn":case"bun":l.workspaces=v;break;case"pnpm":{await qe(u,v),await _(p(u,".npmrc"),`auto-install-peers=true
|
|
3
3
|
`);break}case"homebrew":case"unknown":throw new ae}await _e({packageJSON:l,local:e.local,directory:u,useGlobalCLI:e.useGlobalCLI}),await ie(u,l)}}),e.postCloneActions.removeLockfilesFromGitignore&&w.push({title:"Removing lockfiles from .gitignore",task:async()=>{let l=p(u,".gitignore");if(await C(l)){let v=await Y(l);R.forEach(Me=>{let Ue=new RegExp(`^${Me.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}$`,"gm");v=v.replace(Ue,"")}),await $(l,v.trim())}}}),await fe()&&w.push({title:"[Shopifolks-only] Configuring the project's NPM registry",task:async()=>{let l=p(u,".npmrc");await _(l,`@shopify:registry=https://registry.npmjs.org
|
|
4
|
-
`)}});let M=!1;w.push({title:"Preparing project directory",task:async()=>{await Se(r,a),M=!0,await W(u,r)}}),w.push({title:`Installing dependencies with ${t}`,task:async()=>{await $e({from:r,packageManager:t})}},{title:"Cleaning up",task:async()=>{await j(r,t)}},{title:"Initializing a Git repository...",task:async()=>{await
|
|
4
|
+
`)}});let M=!1;w.push({title:"Preparing project directory",task:async()=>{await Se(r,a),M=!0,await W(u,r)}}),w.push({title:`Installing dependencies with ${t}`,task:async()=>{await $e({from:r,packageManager:t})}},{title:"Cleaning up",task:async()=>{await j(r,t)}},{title:"Initializing a Git repository...",task:async()=>{await he(r)}});try{await me(w)}catch(l){throw M&&await I(r).catch(()=>{}),l}});let n;if(e.selectedAppOrNameResult.result==="new"){let i=await ve(r,e.name),d=e.selectedAppOrNameResult.org;n=await e.developerPlatformClient.createApp(d,i)}else n=e.selectedAppOrNameResult.app;await Re({directory:r,apiKey:n.apiKey,appId:n.id,organizationId:n.organizationId,configName:"shopify.app.toml",developerPlatformClient:e.developerPlatformClient,isNewApp:!0},!1);let s=await Le({directory:r,clientId:void 0,forceRelink:!1,userProvidedConfigName:void 0});return ce({headline:[{userInput:a},"is ready for you to build!"],nextSteps:[["Run",{command:`cd ${a}`}],["For extensions, run",{command:L(t,"shopify app generate extension")}],["To see your app, run",{command:L(t,"shopify app dev")}]],reference:[{link:{label:"Shopify docs",url:"https://shopify.dev"}},[{link:{label:"Shopify Dev MCP,",url:"https://shopify.dev/docs/apps/build/devmcp"}},"connect your AI assistant to development resources"],["For an overview of commands, run",{command:L(t,"shopify app","--help")}]]}),{app:s.app}}async function Se(e,t){if(await C(e))throw new f(`
|
|
5
5
|
A directory with this name (${t}) already exists.
|
|
6
6
|
Choose a new name for your app.`)}async function Be(e){let t=new X({projectName:"shopify-cli-app"}),a=k(e);t.delete(a)}function We(e){return["web","web/frontend"].filter(t=>x(p(e,t)))}async function qe(e,t){let a=p(e,"pnpm-workspace.yaml");if(await C(a))return;let r=t.map(o=>` - '${o}'`).join(`
|
|
7
7
|
`);await $(a,`packages:
|
|
8
|
-
${r}`)}var Ge=Ke;c();c();function N(e){try{return new URL(e)}catch{return}}function Ze(e){if(!e)return;let t=e.toLowerCase();for(let r of[t,`https://${t}`]){let o=N(r)?.hostname;if(o)return o}let a=t.replace(/^https?:\/\//,"").split("/")[0];if(a)return a}function Et(e){let t=Ze(e);if(!t)return;let a=t.match(/^([^.]+)\.myshopify\.com$/);return a?a[1]:void 0}function Ee(e){if(!e)return;let t=N(e);if(t&&t.origin!=="https://github.com")throw new f("Only GitHub repository references are supported, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]");if(!t&&!T(e))throw new f(g`Only ${F.map(a=>g`${h.yellow(a)}`.value).join(", ")} template aliases are supported, please provide a valid URL`)}function je(e,t){if(!e){if(t)throw new f(g`The ${h.yellow("--flavor")} flag requires the ${h.yellow("--template")} flag to be set`);return}if(!t)return;if(!T(e))throw new f(g`The ${h.yellow("--flavor")} flag is not supported for custom templates`);let a=b[e];if(!a.branches)throw new f(g`The ${h.yellow(e)} template does not support flavors`);if(!a.branches.options[t])throw new f(g`Invalid option for ${h.yellow("--flavor")}\nThe ${h.yellow("--flavor")} flag for ${h.yellow(e)} accepts only ${Object.keys(a.branches.options).map(r=>g`${h.yellow(r)}`.value).join(", ")}`)}var y=ze(De(),1);var Ne,P=class extends
|
|
8
|
+
${r}`)}var Ge=Ke;c();c();function N(e){try{return new URL(e)}catch{return}}function Ze(e){if(!e)return;let t=e.toLowerCase();for(let r of[t,`https://${t}`]){let o=N(r)?.hostname;if(o)return o}let a=t.replace(/^https?:\/\//,"").split("/")[0];if(a)return a}function Et(e){let t=Ze(e);if(!t)return;let a=t.match(/^([^.]+)\.myshopify\.com$/);return a?a[1]:void 0}function Ee(e){if(!e)return;let t=N(e);if(t&&t.origin!=="https://github.com")throw new f("Only GitHub repository references are supported, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]");if(!t&&!T(e))throw new f(g`Only ${F.map(a=>g`${h.yellow(a)}`.value).join(", ")} template aliases are supported, please provide a valid URL`)}function je(e,t){if(!e){if(t)throw new f(g`The ${h.yellow("--flavor")} flag requires the ${h.yellow("--template")} flag to be set`);return}if(!t)return;if(!T(e))throw new f(g`The ${h.yellow("--flavor")} flag is not supported for custom templates`);let a=b[e];if(!a.branches)throw new f(g`The ${h.yellow(e)} template does not support flavors`);if(!a.branches.options[t])throw new f(g`Invalid option for ${h.yellow("--flavor")}\nThe ${h.yellow("--flavor")} flag for ${h.yellow(e)} accepts only ${Object.keys(a.branches.options).map(r=>g`${h.yellow(r)}`.value).join(", ")}`)}var y=ze(De(),1);var Ne,P=class extends Fe{async run(){let{flags:t}=await this.parse(Ne);if(Ee(t.template),je(t.template,t.flavor),t.name!==void 0&&t.name.trim()==="")throw new f("The --name flag can't be empty","Provide a valid app name, for example: --name my-app");let a=ne(t["package-manager"]),r=t.name??await Qe(t.path),o=G();await o.session();let n=await Te({template:t.template,flavor:t.flavor}),s,i;if(t["client-id"]){let m=await Ce({apiKey:t["client-id"]});i=m.title,o=m.developerPlatformClient??o,s={result:"existing",app:m}}else{let m;t["organization-id"]?m=await Ie(t["organization-id"],o):m=await xe(),o=G({organization:m});let{organization:u,apps:A,hasMorePages:w}=await o.orgAndApps(m.id);s=await Xe(t.name!==void 0,r,A,w,u,o),i=s.result==="new"?s.name:s.app.title}n.globalCLIResult.install&&await J(a),await pe(()=>({cmd_create_app_template:n.templateType,cmd_create_app_template_url:n.template}));let{app:d}=await Ge({name:i,selectedAppOrNameResult:s,packageManager:a,template:n.template,local:t.local,directory:t.path,useGlobalCLI:n.globalCLIResult.alreadyInstalled||n.globalCLIResult.install,developerPlatformClient:o,postCloneActions:{removeLockfilesFromGitignore:n.templateType!=="custom"}});return{app:d}}};Ne=P;P.summary="Create a new app project";P.flags={...de,name:y.Flags.string({char:"n",env:"SHOPIFY_FLAG_NAME",hidden:!1,description:"The name for the new app. When provided, skips the app selection prompt and creates a new app with this name."}),path:y.Flags.string({char:"p",env:"SHOPIFY_FLAG_PATH",parse:async e=>z(e),default:async()=>H(),hidden:!1}),template:y.Flags.string({description:`The app template. Accepts one of the following:
|
|
9
9
|
- <${F.join("|")}>
|
|
10
|
-
- Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]`,env:"SHOPIFY_FLAG_TEMPLATE"}),flavor:y.Flags.string({description:"Which flavor of the given template to use.",env:"SHOPIFY_FLAG_TEMPLATE_FLAVOR"}),"package-manager":y.Flags.string({char:"d",env:"SHOPIFY_FLAG_PACKAGE_MANAGER",hidden:!1,options:["npm","yarn","pnpm","bun"]}),local:y.Flags.boolean({char:"l",env:"SHOPIFY_FLAG_LOCAL",default:!1,hidden:!0}),"client-id":y.Flags.string({hidden:!1,description:"The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.",env:"SHOPIFY_FLAG_CLIENT_ID",exclusive:["config"]}),"organization-id":y.Flags.string({hidden:!1,description:"The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/<organization-id>",env:"SHOPIFY_FLAG_ORGANIZATION_ID",exclusive:["client-id"]})};var sa=P;async function Qe(e){for(let t=0;t<3;t++){let a=await q({suffix:"app",directory:e});if(
|
|
10
|
+
- Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]`,env:"SHOPIFY_FLAG_TEMPLATE"}),flavor:y.Flags.string({description:"Which flavor of the given template to use.",env:"SHOPIFY_FLAG_TEMPLATE_FLAVOR"}),"package-manager":y.Flags.string({char:"d",env:"SHOPIFY_FLAG_PACKAGE_MANAGER",hidden:!1,options:["npm","yarn","pnpm","bun"]}),local:y.Flags.boolean({char:"l",env:"SHOPIFY_FLAG_LOCAL",default:!1,hidden:!0}),"client-id":y.Flags.string({hidden:!1,description:"The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.",env:"SHOPIFY_FLAG_CLIENT_ID",exclusive:["config"]}),"organization-id":y.Flags.string({hidden:!1,description:"The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/<organization-id>",env:"SHOPIFY_FLAG_ORGANIZATION_ID",exclusive:["client-id"]})};var sa=P;async function Qe(e){for(let t=0;t<3;t++){let a=await q({suffix:"app",directory:e});if(be(a))return a}return""}async function Xe(e,t,a,r,o,n){let s=a.length===0||e;if(s||(s=await ke()),s)return{result:"new",name:e?t:await Ae(t),org:o};{let i=await Pe(ge(n,o.id),a,r);if(!i)throw new f("Unable to select an app: the selection prompt was interrupted.");let d=await n.appFromIdentifiers(i.apiKey);if(!d)throw new f(`App with id ${i.id} not found`);return{result:"existing",app:d}}}export{Ze as a,Et as b,sa as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as b}from"./chunk-
|
|
1
|
+
import{f as b}from"./chunk-KKUDXLK2.js";import{g as m}from"./chunk-VKWPEFWQ.js";m();import{performance as u}from"node:perf_hooks";function w(){return b()?"bubble":"mute-and-report"}function h(g={}){let i={sensitive:{},public:{...g}},p=t=>{Object.assign(i.public,t)},M=t=>{Object.assign(i.sensitive,t)},l=async(t,e,n)=>{let r=n==="auto"?w():n,s=async()=>{let c=await e();t(c)};if(r==="bubble")await s();else try{await s()}catch(c){let{sendErrorToBugsnag:o}=await import("./error-handler-SW2ALZ5Z.js");await o(c,"unexpected_error")}},a=[];return{getAllPublicMetadata:()=>({...i.public}),getAllSensitiveMetadata:()=>({...i.sensitive}),addPublicMetadata:async(t,e="auto")=>l(p,t,e),addSensitiveMetadata:async(t,e="auto")=>l(M,t,e),runWithTimer:t=>async e=>{a.push(0);let n=u.now();try{return await e()}finally{let r=u.now();r=Math.max(n,r);let s=Math.max(r-n,0),c=a.pop(),o=Math.max(s-c,0);a.length>0&&(a[a.length-1]=(a[a.length-1]??0)+s),u.measure(`${t}#measurable`,{start:n,duration:o}),u.measure(`${t}#wall`,{start:n,end:r});let d=i.public[t]||0;d+=o,i.public[t]=d}}}}var y=h({cmd_all_timing_network_ms:0,cmd_all_timing_prompts_ms:0}),{getAllPublicMetadata:S,getAllSensitiveMetadata:f,addPublicMetadata:x,addSensitiveMetadata:A,runWithTimer:P}=y;export{h as a,S as b,f as c,x as d,A as e,P as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h}from"./chunk-
|
|
1
|
+
import{a as h}from"./chunk-JOZXRV5K.js";import{a as v}from"./chunk-HM5H7WBE.js";import{a as m}from"./chunk-ZAMDXIVC.js";import{Fa as c}from"./chunk-ATXODH6C.js";import{z as n}from"./chunk-5W443CKL.js";import{b as l}from"./chunk-H5C3QTOO.js";import{v as d}from"./chunk-6EZ7JWBK.js";import{d as a}from"./chunk-WKBVT5WG.js";import{r as x}from"./chunk-T6CC5WUU.js";import{e as S,g as p}from"./chunk-VKWPEFWQ.js";p();p();async function f(o){let e=o.appContextResult.developerPlatformClient,r=o.appContextResult.remoteApp;if(!e.supportsDevSessions)throw new a("Dev preview is not supported for this app. It's valid only for apps created on the Next-Gen Dev Platform.");let s=await e.devSessionDelete({shopFqdn:o.store.shopDomain,appId:r.id});if(s.devSessionDelete?.userErrors.length){let u=s.devSessionDelete.userErrors.map(g=>g.message).join(`
|
|
2
2
|
`);throw new a(`Failed to stop the dev preview: ${u}`)}d({headline:"Dev preview stopped.",body:[`The dev preview has been stopped on ${o.store.shopDomain} and the app's active version has been restored.`,"You can start it again with",{command:"shopify app dev"}]})}var w=S(x(),1);var i,t=class extends v{async run(){let{flags:e}=await this.parse(i),r=await c({directory:e.path,clientId:e["client-id"],forceRelink:e.reset,userProvidedConfigName:e.config}),s=await h({appContextResult:r,storeFqdn:e.store,forceReselectStore:e.reset});return await f({appContextResult:r,store:s}),{app:r.app}}};i=t;t.summary="Cleans up the dev preview from the selected store.";t.descriptionWithMarkdown=`Stop the dev preview that was started with \`shopify app dev\`.
|
|
3
3
|
|
|
4
4
|
It restores the app's active version to the selected development store.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-FU232KQ7.js";import{b as e}from"./chunk-UKK5P74A.js";import{Lb as t}from"./chunk-DONEJHDG.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();o();async function s(){t(i)}var r=class extends e{static{this.description="Shopify CLI version currently installed."}async run(){await s()}};export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as y}from"./chunk-VOJWKGCW.js";import{a as d}from"./chunk-QMXKGSFH.js";import{a as p}from"./chunk-STJ3LWFL.js";import{p as u}from"./chunk-PJYNAUQB.js";import{p as c,v as f}from"./chunk-D6YDSGR4.js";import{b as l}from"./chunk-H5C3QTOO.js";import{A as s,v as h}from"./chunk-6EZ7JWBK.js";import{r as g}from"./chunk-T6CC5WUU.js";import{e as b,g as i}from"./chunk-VKWPEFWQ.js";i();i();async function v(r,o,m){let t=await y(r,{header:"Select a theme to publish",filter:{development:!1,live:!1,theme:o.theme}}),a=p({...t,role:"live"},r);!o.force&&!m&&!await s({message:`Do you want to make '${t.name}' the new live theme on ${r.storeFqdn}?`,confirmationMessage:`Yes, make '${t.name}' the new live theme`,cancellationMessage:"No, cancel publish"})||(await u(t.id,r),h({headline:o.environment?`Environment: ${o.environment}`:void 0,body:["The theme",...d(t),"is now live at",{link:{label:a,url:a}},{char:"."}]}))}var n=b(g(),1);var w,e=class extends f{async command(o,m,t){await v(m,o,t)}};w=e;e.summary="Set a remote theme as the live theme.";e.descriptionWithMarkdown=`Publishes an unpublished theme from your theme library.
|
|
2
2
|
|
|
3
3
|
If no theme ID is specified, then you're prompted to select the theme that you want to publish from the list of themes in your store.
|
|
4
4
|
|