@shopify/cli 0.0.0-snapshot-20260722210655 → 0.0.0-snapshot-20260723175937
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-7C5M2VCO.js +1 -0
- package/dist/analytics-ISEOSBXQ.js +1 -0
- package/dist/bootstrap.js +1 -1
- package/dist/{chunk-ROBYXQMW.js → chunk-25TGONTZ.js} +1 -1
- package/dist/{chunk-Q37I33P7.js → chunk-26NH7QQF.js} +1 -1
- package/dist/chunk-27IBAKXK.js +1 -0
- package/dist/{chunk-GAUJKBLY.js → chunk-2ABJYYVF.js} +1 -1
- package/dist/{chunk-6SVMZEJO.js → chunk-2AIX3ZEA.js} +1 -1
- package/dist/{chunk-SUOXR2CE.js → chunk-2KAM4SR5.js} +1 -1
- package/dist/{chunk-GWUDVP3Q.js → chunk-2S5KE5HI.js} +1 -1
- package/dist/{chunk-L6VQZJM4.js → chunk-2XNXIQPJ.js} +1 -1
- package/dist/{chunk-VSPM4VES.js → chunk-2ZSXGYTT.js} +1 -1
- package/dist/{chunk-PNCF5LNZ.js → chunk-37B4MKUV.js} +1 -1
- package/dist/{chunk-VFU5YYTM.js → chunk-3CZCBBO2.js} +1 -1
- package/dist/{chunk-SACH2YSZ.js → chunk-3EL4GA72.js} +1 -1
- package/dist/{chunk-POYWH3PD.js → chunk-3F46XSP6.js} +1 -1
- package/dist/{chunk-X2NVFYY6.js → chunk-3FANSGNX.js} +1 -1
- package/dist/{chunk-2OBG4WT7.js → chunk-3FJMXGVN.js} +1 -1
- package/dist/{chunk-OYOTLGGD.js → chunk-3HEORIF3.js} +1 -1
- package/dist/{chunk-HXJ7HJFS.js → chunk-3LDCOBRM.js} +1 -1
- package/dist/{chunk-SW3DP3GU.js → chunk-3MV5A5HR.js} +1 -1
- package/dist/{chunk-3R45SEUK.js → chunk-3OKGR33F.js} +1 -1
- package/dist/{chunk-JNAAHGJ6.js → chunk-3PFKQSWK.js} +1 -1
- package/dist/{chunk-PNYIQOOE.js → chunk-3UFQ664V.js} +1 -1
- package/dist/{chunk-AK4NPOQG.js → chunk-3UYW3ZAG.js} +1 -1
- package/dist/{chunk-3PFIBTES.js → chunk-3XHYGKBZ.js} +3 -3
- package/dist/{chunk-SY3LXLT2.js → chunk-4D7XW3LW.js} +1 -1
- package/dist/{chunk-34CCAMTT.js → chunk-4DEWRMWM.js} +1 -1
- package/dist/{chunk-P5KLFBCI.js → chunk-4KXJD6WW.js} +1 -1
- package/dist/{chunk-GVHVEYNG.js → chunk-4LK74JVJ.js} +1 -1
- package/dist/{chunk-LANGOUPS.js → chunk-4MERFNHB.js} +2 -2
- package/dist/{chunk-2RLFO4KD.js → chunk-5HTTO4O6.js} +1 -1
- package/dist/{chunk-NIQWXTKA.js → chunk-5UTJOHAV.js} +1 -1
- package/dist/{chunk-MH6UDGGS.js → chunk-5X6JR7QJ.js} +1 -1
- package/dist/{chunk-65H3LZJA.js → chunk-62G4E3FF.js} +1 -1
- package/dist/{chunk-IDRP7BXW.js → chunk-63G2KGOU.js} +1 -1
- package/dist/{chunk-AMLHR2HO.js → chunk-65VUWLXE.js} +1 -1
- package/dist/{chunk-5RMFBXP6.js → chunk-6MDI7364.js} +1 -1
- package/dist/{chunk-EIEHPIWJ.js → chunk-6SZRXJX2.js} +1 -1
- package/dist/{chunk-HJH672U6.js → chunk-72YGVGPS.js} +1 -1
- package/dist/{chunk-SP7NSQ6G.js → chunk-7CF2LWEW.js} +1 -1
- package/dist/{chunk-ZDKGQCIZ.js → chunk-7ER6T55S.js} +1 -1
- package/dist/{chunk-3RUWUOIR.js → chunk-7LOSGGE6.js} +1 -1
- package/dist/{chunk-XEHMXJ5J.js → chunk-AB7462EM.js} +1 -1
- package/dist/chunk-AS7WHEG6.js +1 -0
- package/dist/{chunk-LX3NHWCT.js → chunk-AZK63TEX.js} +1 -1
- package/dist/{chunk-4NSHAMD3.js → chunk-BGTOVY2S.js} +1 -1
- package/dist/{chunk-EI6ZQXTF.js → chunk-BXQV7N7H.js} +1 -1
- package/dist/{chunk-3GPUBV4D.js → chunk-BYW2F2BY.js} +1 -1
- package/dist/{chunk-V4CPWXJP.js → chunk-C3AC5FQS.js} +1 -1
- package/dist/{chunk-WKJNCJUV.js → chunk-C7BPIZLV.js} +1 -1
- package/dist/{chunk-OQ6WYWG4.js → chunk-CG22VLHL.js} +1 -1
- package/dist/{chunk-MTGARKCQ.js → chunk-CTYRVUJF.js} +1 -1
- package/dist/{chunk-33AVVFWW.js → chunk-CXYYVAYY.js} +1 -1
- package/dist/{chunk-H3QSHKNT.js → chunk-CY227SF6.js} +1 -1
- package/dist/{chunk-OPHCAOPB.js → chunk-DBH75XMC.js} +1 -1
- package/dist/{chunk-2CMSXRZ5.js → chunk-DDQPQB5D.js} +1 -1
- package/dist/{chunk-Q3DRVTVJ.js → chunk-DFSWF4VW.js} +1 -1
- package/dist/{chunk-2FNJZPYC.js → chunk-DYFP3SBA.js} +2 -2
- package/dist/{chunk-3XBPV64S.js → chunk-EFRJEZBJ.js} +1 -1
- package/dist/{chunk-M3FOYFPN.js → chunk-EIFAHNSO.js} +1 -1
- package/dist/{chunk-CNOGRHAB.js → chunk-EO3BLRBC.js} +1 -1
- package/dist/{chunk-SQVJGTTD.js → chunk-EOGQ7TJP.js} +2 -2
- package/dist/{chunk-XGJH3HBA.js → chunk-F46ZV3EJ.js} +1 -1
- package/dist/{chunk-E7Z7KYBR.js → chunk-F5LI3LKB.js} +1 -1
- package/dist/{chunk-ALKT4HX7.js → chunk-FD55RBY6.js} +1 -1
- package/dist/{chunk-IV3S4JU6.js → chunk-FDAURSWQ.js} +1 -1
- package/dist/chunk-FDYZZLAY.js +1 -0
- package/dist/{chunk-J5D222UG.js → chunk-FY7D7Z24.js} +1 -1
- package/dist/{chunk-5EDRU7YU.js → chunk-GHVEHA7R.js} +1 -1
- package/dist/{chunk-UMMEUYHM.js → chunk-GLBVUEXK.js} +1 -1
- package/dist/{chunk-LZO2JTZS.js → chunk-GQFZ3NV5.js} +1 -1
- package/dist/{chunk-DC3JYNAG.js → chunk-GZ4OU46N.js} +1 -1
- package/dist/{chunk-IDMJWVJC.js → chunk-H5BHHSWX.js} +1 -1
- package/dist/{chunk-22YTDD56.js → chunk-HIT7MKA6.js} +1 -1
- package/dist/{chunk-BPRY3O4N.js → chunk-HXPUMDUV.js} +1 -1
- package/dist/{chunk-IP2ZMDG4.js → chunk-I3RM47TC.js} +1 -1
- package/dist/{chunk-32KQUYFF.js → chunk-I6RAL5QK.js} +1 -1
- package/dist/{chunk-BKMZCB6M.js → chunk-I6UFC3HR.js} +1 -1
- package/dist/{chunk-IZCDEDIM.js → chunk-IF7RP3M3.js} +1 -1
- package/dist/{chunk-P4LA3M5S.js → chunk-IKLOCQ2C.js} +1 -1
- package/dist/{chunk-B3XKHB4G.js → chunk-INZZF4R2.js} +1 -1
- package/dist/{chunk-3GQ6AVHU.js → chunk-IUIDJ2PO.js} +1 -1
- package/dist/{chunk-MXATGPGZ.js → chunk-JMGXQSF3.js} +1 -1
- package/dist/{chunk-5N6YKJLU.js → chunk-JOKF7TQS.js} +1 -1
- package/dist/{chunk-HPH7WWMW.js → chunk-JWAFPHPO.js} +1 -1
- package/dist/{chunk-O6BUPYXH.js → chunk-K44YPOUY.js} +2 -2
- package/dist/{chunk-ZZ5M5IMF.js → chunk-K4Y7L7JO.js} +1 -1
- package/dist/{chunk-4GWHZ4RW.js → chunk-K7N3O5JJ.js} +1 -1
- package/dist/{chunk-6NRRHHK5.js → chunk-KLRRNM7H.js} +1 -1
- package/dist/{chunk-YKAMTVJM.js → chunk-KZHXG3OR.js} +1 -1
- package/dist/{chunk-J2JMKTPR.js → chunk-L2DBLX4V.js} +1 -1
- package/dist/{chunk-NDVET7BL.js → chunk-LBEAJPA3.js} +1 -1
- package/dist/{chunk-UA2432YR.js → chunk-LEMDZHSP.js} +1 -1
- package/dist/{chunk-UZR7JB5B.js → chunk-LMOWRJJP.js} +1 -1
- package/dist/{chunk-O5FUKS5D.js → chunk-LNE7HDII.js} +1 -1
- package/dist/{chunk-W6BBFBOM.js → chunk-LSNGFAPG.js} +1 -1
- package/dist/{chunk-IKP2EM5F.js → chunk-M2F2HMDM.js} +1 -1
- package/dist/{chunk-WFCP2AG5.js → chunk-M5NVKW2D.js} +1 -1
- package/dist/{chunk-SXWAECCX.js → chunk-MK2K6PO4.js} +1 -1
- package/dist/{chunk-A35F74KC.js → chunk-N5MWZQUH.js} +1 -1
- package/dist/{chunk-SNK55FY2.js → chunk-N5VSGERX.js} +1 -1
- package/dist/{chunk-35Z5TIZM.js → chunk-O7LFTI43.js} +1 -1
- package/dist/{chunk-H2Z3SST2.js → chunk-OJVEC76K.js} +1 -1
- package/dist/{chunk-O7HL63YP.js → chunk-OK7WTQON.js} +1 -1
- package/dist/{chunk-CFZVZFVH.js → chunk-P7YRGKJH.js} +1 -1
- package/dist/{chunk-L6C3DLKN.js → chunk-PFVF5CZ4.js} +1 -1
- package/dist/{chunk-X5GZF33W.js → chunk-PJWEE7VH.js} +1 -1
- package/dist/{chunk-FS37ZPWQ.js → chunk-PR7JET4Q.js} +1 -1
- package/dist/{chunk-ISVXQQ4E.js → chunk-Q2QCCK7J.js} +1 -1
- package/dist/{chunk-CFXL555E.js → chunk-QBL3VWF4.js} +1 -1
- package/dist/{chunk-R56CBH7G.js → chunk-QG4SGGWR.js} +1 -1
- package/dist/{chunk-74DZVIJF.js → chunk-QRUQJQYE.js} +1 -1
- package/dist/{chunk-FDQNY7RF.js → chunk-R3GD62F4.js} +1 -1
- package/dist/{chunk-MSDNBGRH.js → chunk-RQLOFISE.js} +1 -1
- package/dist/{chunk-HFGB7XAM.js → chunk-RUMPZWDB.js} +1 -1
- package/dist/{chunk-PPHJ4F2Z.js → chunk-S3SPKCJD.js} +1 -1
- package/dist/{chunk-5VKFEYZK.js → chunk-S6JGBSUV.js} +1 -1
- package/dist/{chunk-CT5MMCRM.js → chunk-SEIBJIHL.js} +1 -1
- package/dist/{chunk-5Y33JTFD.js → chunk-SK4IRFCK.js} +1 -1
- package/dist/{chunk-HG5QVQ2T.js → chunk-SLDQ5BC7.js} +1 -1
- package/dist/{chunk-VURVVLVE.js → chunk-SLQHQJIR.js} +1 -1
- package/dist/{chunk-RUV5AE3N.js → chunk-ST2DGIWE.js} +1 -1
- package/dist/{chunk-BQ2752RO.js → chunk-TGIRO2TB.js} +1 -1
- package/dist/{chunk-X4JRQETX.js → chunk-TYR2AZ2U.js} +1 -1
- package/dist/{chunk-VBL7DLY7.js → chunk-TZ7FKRXB.js} +1 -1
- package/dist/{chunk-6CZ7WGE2.js → chunk-UJ4VQGXU.js} +1 -1
- package/dist/{chunk-JBIXZWT6.js → chunk-V3IMCEL6.js} +1 -1
- package/dist/{chunk-XYV4QXQT.js → chunk-VCXCFKA6.js} +1 -1
- package/dist/{chunk-5HGRHX2Z.js → chunk-VGJ3QPC2.js} +1 -1
- package/dist/{chunk-FS4HIL62.js → chunk-VJXKYDM6.js} +1 -1
- package/dist/{chunk-ZKNONN2F.js → chunk-VMPA4DZ3.js} +1 -1
- package/dist/{chunk-I7QJGHS6.js → chunk-W25DPKDC.js} +1 -1
- package/dist/{chunk-YZQYDTO7.js → chunk-W2W2F55C.js} +1 -1
- package/dist/{chunk-FVQG4KLI.js → chunk-W57R5X75.js} +1 -1
- package/dist/{chunk-FW732EHN.js → chunk-W6MEUK2V.js} +1 -1
- package/dist/{chunk-HS7TCC4I.js → chunk-WAH2LVVU.js} +1 -1
- package/dist/{chunk-NUCUZBO3.js → chunk-WQDFO5DZ.js} +1 -1
- package/dist/{chunk-VQ44LFBY.js → chunk-WQLVBL6G.js} +1 -1
- package/dist/{chunk-3I6ZVKZ2.js → chunk-WUSJP6KG.js} +1 -1
- package/dist/{chunk-XBFXB6S6.js → chunk-X6YKSZTY.js} +1 -1
- package/dist/{chunk-W6KRZTDH.js → chunk-X7EK6UZQ.js} +1 -1
- package/dist/{chunk-OLQN2OBC.js → chunk-XALIRIZF.js} +1 -1
- package/dist/{chunk-W2RZY64W.js → chunk-XCTHPL4E.js} +1 -1
- package/dist/{chunk-FFC42T6R.js → chunk-XGCOJ7UT.js} +1 -1
- package/dist/{chunk-SH5VEQ7F.js → chunk-XJMML6SY.js} +1 -1
- package/dist/{chunk-AROEKWUX.js → chunk-XQBHDUNJ.js} +1 -1
- package/dist/{chunk-KHOW6SXW.js → chunk-XR6V742E.js} +1 -1
- package/dist/{chunk-OM3YN7ZK.js → chunk-YDUVKJIB.js} +1 -1
- package/dist/{chunk-ONCEFPYP.js → chunk-YIZV3FZO.js} +1 -1
- package/dist/{chunk-KNLPWHHJ.js → chunk-YKQLGBJM.js} +2 -2
- package/dist/{chunk-FOQ2RDEI.js → chunk-YLA2NKA6.js} +1 -1
- package/dist/{chunk-XKMLKEYX.js → chunk-YNFZXXCS.js} +1 -1
- package/dist/{chunk-IPKYIHDV.js → chunk-YNVN765Y.js} +1 -1
- package/dist/{chunk-N54QOQ2V.js → chunk-YPHEUPMZ.js} +1 -1
- package/dist/{chunk-QAMPDFZB.js → chunk-YTINYHIV.js} +1 -1
- package/dist/{chunk-WYT437LJ.js → chunk-Z4E54GTK.js} +1 -1
- package/dist/{chunk-EL5U7452.js → chunk-Z4HK5PYZ.js} +1 -1
- package/dist/{chunk-N2UVYELM.js → chunk-ZA2P2XLH.js} +1 -1
- package/dist/{chunk-2VVXGQ36.js → chunk-ZEVWQAWR.js} +1 -1
- package/dist/{chunk-GJGKVHUR.js → chunk-ZMEDSOFC.js} +1 -1
- package/dist/{chunk-ZKIIMXKC.js → chunk-ZXXEEQKW.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 -1
- 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/validate/components.js +1 -1
- package/dist/cli/commands/validate/functions.js +1 -1
- package/dist/cli/commands/validate/graphql.js +1 -1
- package/dist/cli/commands/validate/theme.js +1 -1
- package/dist/cli/commands/version.js +1 -1
- package/dist/command-registry.js +1 -1
- package/dist/conf-store-UXALA7ZH.js +1 -0
- package/dist/{deprecations-SA4HEVBI.js → deprecations-Z2AKXOSN.js} +1 -1
- package/dist/dist-AB723W2X.js +1 -0
- package/dist/dist-MI22B6JV.js +1 -0
- package/dist/{environments-LDSGQHXC.js → environments-2J6IO6NS.js} +1 -1
- package/dist/{error-YY774ESQ.js → error-C7LRAXPN.js} +1 -1
- package/dist/error-handler-AG5VMYWI.js +1 -0
- package/dist/{fs-EIM4AORY.js → fs-L2VBGU3E.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/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 +15 -15
- package/dist/{is-global-USYUXR55.js → is-global-ZB4Z53E4.js} +1 -1
- package/dist/{local-INRMOHAI.js → local-MZAF2JS4.js} +1 -1
- package/dist/{local-storage-7THURD3W.js → local-storage-LFCMTFLG.js} +1 -1
- package/dist/{metadata-WJ637XA2.js → metadata-IFRL6WLE.js} +1 -1
- package/dist/{node-package-manager-4X2YQGFC.js → node-package-manager-MNMMTKSE.js} +1 -1
- package/dist/notifications-system-WTOJOHUT.js +1 -0
- package/dist/{output-CLCX5WU7.js → output-CRFKNJOK.js} +1 -1
- package/dist/{prettier-VLTY4MIE.js → prettier-NOE3TJJ5.js} +1 -1
- package/dist/{system-J4OPHQAQ.js → system-2WLFWPW2.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-ZC5QZT4J.js → ui-ATGLY4UO.js} +1 -1
- package/dist/upgrade-NYAZSXEQ.js +1 -0
- package/dist/{version-EYLYG4JK.js → version-OFO7OKSR.js} +1 -1
- package/dist/version-Q4RRYUAM.js +1 -0
- package/dist/{workerd-VC3MCYDV.js → workerd-FIJ77CM7.js} +1 -1
- package/oclif.manifest.json +1 -30
- package/package.json +7 -10
- package/dist/analytics-JBPJLL57.js +0 -1
- package/dist/analytics-QVTQTZFT.js +0 -1
- package/dist/chunk-G3CPHVML.js +0 -1
- package/dist/chunk-RXO77IC5.js +0 -1
- package/dist/chunk-WMKVFUMY.js +0 -1
- package/dist/chunk-X2ZCC772.js +0 -1
- package/dist/cli/commands/skill/install.d.ts +0 -13
- package/dist/cli/commands/skill/install.js +0 -1
- package/dist/conf-store-OHJSRXSL.js +0 -1
- package/dist/dist-MIUGJGUW.js +0 -1
- package/dist/dist-XVWDWM2Y.js +0 -1
- package/dist/error-handler-QHCOZUC7.js +0 -1
- package/dist/notifications-system-ZSZWUJIZ.js +0 -1
- package/dist/skills-OXV2TD42.js +0 -1
- package/dist/upgrade-VSILBOCY.js +0 -1
- package/dist/version-FEVNX3F6.js +0 -1
- /package/dist/{chunk-2S3FHQFS.js → chunk-HVECVOIO.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as C}from"./chunk-WW7TENNA.js";import{G as T,a as F}from"./chunk-
|
|
1
|
+
import{b as C}from"./chunk-WW7TENNA.js";import{G as T,a as F}from"./chunk-CG22VLHL.js";import{R as O}from"./chunk-EOGQ7TJP.js";import{d as _}from"./chunk-BGTOVY2S.js";import{m as d}from"./chunk-K44YPOUY.js";import{$ as E,Fb as h,Hb as g,Lb as $}from"./chunk-YKQLGBJM.js";import{c as P}from"./chunk-F5LI3LKB.js";import{a as b}from"./chunk-UKQ7NE5V.js";import{a as I}from"./chunk-M5GXA5W4.js";import{e as A,g as w}from"./chunk-VKWPEFWQ.js";w();var u=A(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-AG5VMYWI.js");return await r(n,this.config),u.Errors.handle(n)}async init(){if(this.exitWithTimestampWhenEnvVariablePresent(),C(this.id??""),!P()){let{registerCleanBugsnagErrorsFromWithinPlugins:r}=await import("./error-handler-AG5VMYWI.js");await r(this.config)}await M(this.config),this.showNpmFlagWarning();let{showNotificationsIfNeeded:n}=await import("./notifications-system-WTOJOHUT.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-ATGLY4UO.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)&&($(`
|
|
2
2
|
SHOPIFY_CLI_TIMESTAMP_START
|
|
3
3
|
{ "timestamp": ${Date.now()} }
|
|
4
4
|
SHOPIFY_CLI_TIMESTAMP_END
|
|
@@ -6,6 +6,6 @@ import{b as C}from"./chunk-WW7TENNA.js";import{G as T,a as F}from"./chunk-OQ6WYW
|
|
|
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-2J6IO6NS.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&&!S(r?.flags,"environment"))return n;let v=await super.parse(W(r),e),y=await super.parse(r,[...e??this.argv,...x(l,r,v),...f?["--environment","default"]:[]]);return N(v.flags,y.flags,f?"default":m[0],l),y}async loadEnvironmentForCommand(n,r,e){let{loadEnvironment:t}=await import("./environments-2J6IO6NS.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 _(()=>({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 N(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-ATGLY4UO.js").then(({renderInfo:o})=>{o({headline:["Using applicable flags from",{userInput:r},"environment:"],body:[{list:{items:i}}]})})}function W(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 x(a,n,r){let e=[];for(let[t,i]of Object.entries(a)){let o=S(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 S(a,n){return!!a&&Object.prototype.hasOwnProperty.call(a,n)}async function M(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-ATGLY4UO.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 z=p;export{W as a,z as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as i}from"./chunk-
|
|
1
|
+
import{K as i}from"./chunk-EOGQ7TJP.js";import{a as l}from"./chunk-7UNQOKZW.js";import{a as p}from"./chunk-CX5CC6P5.js";import{e as u,g as a}from"./chunk-VKWPEFWQ.js";a();var f=u(l(),1),o=u(p(),1);async function h(t){try{return(await i("npm",["list","@shopify/cli"],{cwd:t})).match(/@shopify\/cli@([\w.-]*)/)?.[1]}catch{return}}async function d(){try{let t={...process.env,SHOPIFY_CLI_NO_ANALYTICS:"1"},e=f.default.sync("shopify",{all:!0}).filter(r=>!r.includes("node_modules"));if(!e[0])return;let n=(await i(e[0],[],{env:t})).match(/@shopify\/cli\/([^\s]+)/);if(n&&n[1]){let r=n[1];if((0,o.satisfies)(r,">=3.59.0")||s(r))return r}return}catch{return}}function s(t){return t.startsWith("0.0.0")}function y(t,e){if(s(t)||s(e))return!1;let c=new o.SemVer(t),n=new o.SemVer(e);return c.major!==n.major}export{h as a,d as b,s as c,y as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as o}from"./chunk-
|
|
1
|
+
import{f as o}from"./chunk-HXPUMDUV.js";import{b as s}from"./chunk-3XHYGKBZ.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends s{static{this.description="Clear the CLI cache, used to store some API responses and handle notifications status"}static{this.hidden=!0}async run(){await o()}};export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Q,b as $}from"./chunk-
|
|
1
|
+
import{a as Q,b as $}from"./chunk-K7N3O5JJ.js";import{f as F,h as b,i as j,q as x,r as c,s as _}from"./chunk-LNE7HDII.js";import{a,b as E}from"./chunk-IKLOCQ2C.js";import{b as R,c as D}from"./chunk-HXPUMDUV.js";import{b as L}from"./chunk-3XHYGKBZ.js";import{U as I,V as y,v as G,w as q,x as A}from"./chunk-EOGQ7TJP.js";import{m as O,o as P}from"./chunk-K44YPOUY.js";import{Lb as w,ma as S}from"./chunk-YKQLGBJM.js";import{f as V}from"./chunk-773TIA5M.js";import{a as Y}from"./chunk-M5GXA5W4.js";import{e as M,g as p}from"./chunk-VKWPEFWQ.js";p();p();var U="supported-versions-schema.json",W=async({code:e,file:r})=>{if(e!==void 0)return e;if(r!==void 0)return S(r);let i=I()?await y():void 0;if(!i)throw new O("No GraphQL operation provided.","Pass the operation with --code, --file, or pipe it via stdin.");return i};function u(e,r,i){return{success:!1,result:a.FAILED,responses:[{result:a.FAILED,resultDetail:e}],resolvedVersion:r,versionDefaulted:i}}async function J(e){let{api:r,version:i}=e,N=e.readOperation??W;if(!_(r))return u(`Unsupported API '${r}'. Supported APIs: ${c.join(", ")}.`,void 0,!1);let o;try{let t=await N({code:e.code,file:e.file}),d=e.dataDir??F("graphql",[U]),h=e.schemaSource??j(d),H=h.readVersionCatalog(),s=x(H,r,i);if(!s.ok){let k=s.reason==="unsupported_version"?`Version '${i}' is not available for API '${r}'. Available versions for '${r}': ${s.supportedVersions.join(", ")}.`:`No supported versions available for API '${r}'.`;return u(k,void 0,!1)}o=s.version;let m=s.source==="default",T={api:r,name:o,schemaPath:b(d,r,o),latestVersion:m},{validation:n,scopes:v}=await $(t,r,{apiVersion:T,failOnDeprecated:!1,schemaSource:h}),g=n.resultDetail;return n.result!==a.FAILED&&v.length>0&&(g+=Q(v)),{success:n.result!==a.FAILED,result:n.result,responses:[{result:n.result,resultDetail:g}],resolvedVersion:o,versionDefaulted:m}}catch(t){let d=t instanceof Error?t.message:String(t);return u(d,o,!1)}}function B(e){let r=e.responses[0]?.resultDetail??"",i=e.versionDefaulted&&e.resolvedVersion!==void 0?`
|
|
2
2
|
Version validated against is ${e.resolvedVersion}.`:"";return`${r}${i}`}function K(e,r){if(r.json)w(JSON.stringify({success:e.success,responses:e.responses,resolvedVersion:e.resolvedVersion},null,2));else{let i=B(e);e.result===a.SUCCESS?G({headline:"GraphQL operation is valid.",body:i}):e.result===a.INFORM?q({headline:"GraphQL operation is valid, with warnings.",body:i}):A({headline:"GraphQL validation failed.",body:i})}if(!e.success)throw new P}async function C(e){let r=await J(e);await E({subcommand:"graphql",result:r.result,api:e.api,apiVersion:r.resolvedVersion,json:e.json}),K(r,{json:e.json})}var l=M(Y(),1),f=class e extends L{static{this.summary="Validate a GraphQL operation against a bundled Shopify API schema."}static{this.descriptionWithMarkdown="Validates a GraphQL query or mutation against the bundled introspection schema for the selected Shopify API. Runs fully offline \u2014 no network access or login required \u2014 so results are deterministic.\n\nPass the operation with `--code`, `--file`, or pipe it via stdin. On success, the required offline access scopes for the operation are reported. Use `--json` for a machine-readable result.\n\nExits with code 0 when the operation is valid (including when it only uses deprecated fields) and 1 when it is invalid or an error occurs."}static{this.description=this.descriptionWithoutMarkdown()}static{this.examples=[`# validate an Admin API query passed inline
|
|
3
3
|
shopify validate graphql --api admin --code "{ shop { name } }"`,`# validate a query from a file against a specific version
|
|
4
4
|
shopify validate graphql --api admin --file query.graphql --version 2026-04`,`# pipe an operation via stdin and get JSON output
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as U,b as xt}from"./chunk-KRZABRYT.js";import{a as ft,b as ht,f as _e,g as ae,h as A,i as ce,k as Et,n as Tt}from"./chunk-
|
|
1
|
+
import{a as U,b as xt}from"./chunk-KRZABRYT.js";import{a as ft,b as ht,f as _e,g as ae,h as A,i as ce,k as Et,n as Tt}from"./chunk-WAH2LVVU.js";import{a as M,l as gt,m as yt}from"./chunk-WQLVBL6G.js";import{s as ie,t as W}from"./chunk-S6JGBSUV.js";import{a as O,b as N,e as rt,g as ot,i as it,j as at,k as ct,n as lt,p as dt,q as ut,r as oe,s as $,u as pt,w as mt}from"./chunk-Q7BOSHWX.js";import{aa as nt}from"./chunk-72YGVGPS.js";import{b as Ke,va as L,xa as H}from"./chunk-CG22VLHL.js";import{P as st,u as et,w as _,x as te,y as tt}from"./chunk-EOGQ7TJP.js";import{m as se}from"./chunk-K44YPOUY.js";import{Fb as j,Hb as ne,Mb as re,O as Xe,Pb as F,Qb as D,Ta as P,Wa as C,Z as $e,bb as ke,ma as k,ua as be,wa as Ze,ya as Qe}from"./chunk-YKQLGBJM.js";import{d as E,g as V,j as Ve,k as q}from"./chunk-773TIA5M.js";import{e as Ge,g as f}from"./chunk-VKWPEFWQ.js";f();f();f();var rs=".shopifyignore",Rt=/templates\/\*(\.(json|liquid))?$/,St=new Set;function Le(e,t={}){let s=t.ignoreFromFile??[],n=t.ignore??[],r=t.only??[],[o=[],i=[]]=Ie(s),[a=[],p=[]]=Ie(n),[m=[],c=[]]=Ie(r),l=e.filter(B(o,".shopifyignore"));return l=l.filter(B(a,"--ignore")),l=l.filter(B(m,"--only",!0)),i.length>0&&(l=l.concat(e.filter(B(i,".shopifyignore",!0)))),p.length>0&&(l=l.concat(e.filter(B(p,"--ignore",!0)))),c.length>0&&(l=l.filter(B(c,"--only"))),Xe(l,h=>h.key)}function B(e,t,s=!1){return({key:n})=>{if(e.length===0)return!0;let r=e.some(i=>os(n,i)||cs(i)&&as(n,ls(i)));return(s?!r:r)?(F(`Ignoring theme file ${n} via ${t}...`),!1):!0}}async function wt(e){let t=E(e,rs);return await P(t)?(await k(t,{encoding:"utf8"})).split(/(\r\n|\r|\n)/).map(r=>r.trim()).filter(r=>r&&!r.startsWith("#")):[]}function Ie(e){let t=e.filter(n=>n.startsWith("!")).map(n=>n.slice(1));return[e.filter(n=>!n.startsWith("!")),t]}function os(e,t){let s={matchBase:!0,noglobstar:!0};return ke(e,t,s)?!0:(!t.includes("*")&&t.endsWith("/")&&!St.has(t)&&(St.add(t),_({headline:"Directory pattern may be misleading.",body:`For more reliable matching, consider using "${t}*" or "${t}*.<file_extension>" instead.`})),is(t)?ke(e,t.replace(Rt,"templates/**/*$1"),s):!1)}function is(e){return Rt.test(e)}function as(e,t){return t.test(e)}function cs(e){return e.startsWith("/")&&e.endsWith("/")}function ls(e){return new RegExp(e.slice(1,-1))}f();import Ft from"fs/promises";var le=class{constructor(t){this.notifyPath=t,this.isValidUrl=this.validateUrl(t),this.notifyPath===""&&D("Notification skipped: notifyPath is an empty string")}async notify(t){if(this.notifyPath!=="")try{F(`Notifying filechange listener at ${this.notifyPath}...`),this.isValidUrl?await this.notifyUrl(t):await this.notifyFile(t)}catch(s){L(s);let n=`Failed to notify filechange listener at ${this.notifyPath}`;s instanceof Error&&(n=n.concat(`: ${s.message}`)),D(n)}}async notifyUrl(t){let s=await fetch(this.notifyPath,{method:"POST",body:JSON.stringify({files:[t]}),headers:{"Content-Type":"application/json"}});if(!s.ok)throw new Error(s.statusText)}async notifyFile(t){await Ft.writeFile(this.notifyPath,t),await Ft.utimes(this.notifyPath,new Date,new Date)}validateUrl(t){try{let s=new URL(t);return s.protocol==="http:"||s.protocol==="https:"}catch{return!1}}};f();f();f();import ds from"node:events";var Pt=["assets/**/*.*","locales/**/*.json","blocks/**/*.liquid","snippets/**/*.liquid"];function vt(e){let t=new Map,s=new Set,n=new ds,r=(c,l)=>{n.emit(c,l)},o=async c=>{let l=await ue(e,c),u=de(c,l),h=typeof l=="string"?l:"",T=Buffer.isBuffer(l)?l.toString("base64"):"";return t.set(c,M({key:c,checksum:u,value:h,attachment:T})),l},i=C(Pt,{cwd:e,deep:3,ignore:W}).then(c=>Promise.all(c.map(o))),a=(c,l)=>{let u=V(e,l),h=o(u).then(()=>{let T=t.get(u);return s.add(T.key),T.value??T.attachment??""});st(5).then(()=>{s.delete(u)}).catch(()=>{}),r(c,{fileKey:u,onContent:T=>{h.then(v=>{v&&T(v)}).catch(()=>{})},onSync:T=>{}})},p=c=>{let l=V(e,c);s.delete(l),t.delete(l),r("unlink",{fileKey:l,onSync:u=>u()})},m=new Set(Pt.map(c=>E(e,c.split("/").shift()??"")));return{root:e,files:t,unsyncedFileKeys:s,ready:async()=>i.then(()=>{}),delete:async c=>{t.delete(c)},write:async c=>{t.set(c.key,c)},read:o,addEventListener:(c,l)=>{n.on(c,l)},startWatcher:async()=>{let{default:c}=await import("./chokidar-5RWEYTNQ.js");c.watch([...m],{ignored:W,persistent:!process.env.SHOPIFY_UNIT_TEST,ignoreInitial:!0}).on("add",a.bind(null,"add")).on("change",a.bind(null,"change")).on("unlink",p.bind(null))}}}f();f();var us="https://unpkg.com/@shopify/polaris@13.9.2/build/esm/styles.css";function $t(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function bt(e){return(0,String.raw)`<!DOCTYPE html>
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<title>${e.title}</title>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as E0,b as v0}from"./chunk-
|
|
1
|
+
import{a as E0,b as v0}from"./chunk-KZHXG3OR.js";import{b as F0,o as i8}from"./chunk-HVECVOIO.js";import{a as n8}from"./chunk-VJEKDBGZ.js";import{$ as U0,A as Uc,B as _r,C as Ie,D as hi,E as mi,F as io,G as Di,H as ys,I as S0,J as Lc,K as x0,L as P0,M as qc,N as O0,O as Ko,P as T0,Q as I0,R as B0,S as R0,T as N0,U as $0,V as M0,W as j0,Y as k0,Z as Td,_ as Id,aa as L0,ba as q0,c as _0,ca as Wc,e as Sd,f as jr,g as zo,k as Mc,l as jc,m as xd,n as Pd,p as kc,q as C0,r as di,s as w0,t as Od,u as b0,v as Je,w as Ho,x as Vo,y as A0,z as dn}from"./chunk-R3GD62F4.js";import{a as y0}from"./chunk-LSNGFAPG.js";import{a as g0}from"./chunk-ZXXEEQKW.js";import{b as _s,c as wt}from"./chunk-GHVEHA7R.js";import{aa as r8}from"./chunk-72YGVGPS.js";import{a as Jy,b as Yy}from"./chunk-4D7XW3LW.js";import{a as D0}from"./chunk-OK7WTQON.js";import{a as gr}from"./chunk-YNFZXXCS.js";import{H as qy,I as Wy,K as vd,N as zy,T as XB,U as Hy,V as ZB,W as e8,X as Vy,Y as t8,Z as pn,_ as Tc,a as ds,aa as Ky,ba as Ct,c as Pc,d as Oc,da as ms,ea as Gy,h as $y,ja as r0,ka as n0,la as i0,m as My,n as jy,o as ky,q as E,s as hs,y as Uy}from"./chunk-CG22VLHL.js";import{m as Ic,n as Xy,s as Zy,t as e0,w as Bc,x as t0}from"./chunk-XJMML6SY.js";import{o as Ly}from"./chunk-27IBAKXK.js";import{a as QB,b as Ed}from"./chunk-3PFKQSWK.js";import{A as $r,B as wd,D as s0,F as gs,G as a0,I as c0,O as pi,R as Nc,u as no,v as Ds,w as Rc,x as o0,z as u0}from"./chunk-EOGQ7TJP.js";import{a as cs}from"./chunk-LEMDZHSP.js";import{f as Cd}from"./chunk-BGTOVY2S.js";import{a as Rn,b as ro}from"./chunk-H5BHHSWX.js";import{d as YB,i as oe,m as U,o as Nn,p as Mr}from"./chunk-K44YPOUY.js";import{$a as fn,Ba as Py,Ea as fi,Fa as Oy,Fb as Se,Ga as bc,Gb as $c,Hb as xe,Ka as Ty,L as to,La as Iy,Mb as p0,N as Bt,Oa as Ac,Ob as d0,Pa as By,Pb as le,Q as KB,Qb as $n,R as GB,Sb as h0,T as by,Ta as Z,Tb as m0,Ua as Lt,V as fs,Wa as Ke,X as Ut,Xa as Ry,Y as yd,_ as Fd,aa as vc,b as UB,bb as Sc,c as LB,da as Ay,db as xc,ea as Wo,f as qB,ha as Sy,i as WB,k as zB,ka as Cc,m as vy,ma as ke,n as Cy,na as Bn,oa as ps,pa as Rr,q as HB,qa as wc,u as wy,ua as vt,v as VB,va as xy,w as _d,wa as Nr,yb as Qy}from"./chunk-YKQLGBJM.js";import{b as jB,c as kB,e as Fy,f as Ey,j as JB,u as Ny}from"./chunk-A4SBXDZB.js";import{f as l0,k as bd,l as Ad,m as f0}from"./chunk-F5LI3LKB.js";import{a as ls}from"./chunk-UKQ7NE5V.js";import{d as B,e as eo,f as ut,g as Te,h as Dy,i as De,j as Ne,k as Fc,l as gy,n as Ec,o as _y,s as yy,t as gd}from"./chunk-773TIA5M.js";import{a as Ve,c as N,e as li,f as MB,g as d}from"./chunk-VKWPEFWQ.js";var fF=N((Hc,lF)=>{d();(function(e,t){typeof Hc=="object"&&typeof lF<"u"?t(Hc,(GB(),MB(KB)),YB()):typeof define=="function"&&define.amd?define(["exports","tslib","graphql"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e["graphql-tag"]={},e.tslib,e.graphql))})(Hc,(function(e,t,r){"use strict";var n=new Map,o=new Map,s=!0,a=!1;function l(q){return q.replace(/[\s,]+/g," ").trim()}function p(q){return l(q.source.body.substring(q.start,q.end))}function m(q){var J=new Set,X=[];return q.definitions.forEach(function(pe){if(pe.kind==="FragmentDefinition"){var Fe=pe.name.value,ze=p(pe.loc),gt=o.get(Fe);gt&&!gt.has(ze)?s&&console.warn("Warning: fragment with name "+Fe+` already exists.
|
|
2
2
|
graphql-tag enforces all fragment names across your application to be unique; read more about
|
|
3
3
|
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):gt||o.set(Fe,gt=new Set),gt.add(ze),J.has(ze)||(J.add(ze),X.push(pe))}else X.push(pe)}),t.__assign(t.__assign({},q),{definitions:X})}function g(q){var J=new Set(q.definitions);J.forEach(function(pe){pe.loc&&delete pe.loc,Object.keys(pe).forEach(function(Fe){var ze=pe[Fe];ze&&typeof ze=="object"&&J.add(ze)})});var X=q.loc;return X&&(delete X.startToken,delete X.endToken),q}function F(q){var J=l(q);if(!n.has(J)){var X=r.parse(q,{experimentalFragmentVariables:a,allowLegacyFragmentVariables:a,experimentalFragmentArguments:a});if(!X||X.kind!=="Document")throw new Error("Not a valid GraphQL document.");n.set(J,g(m(X)))}return n.get(J)}function w(q){for(var J=[],X=1;X<arguments.length;X++)J[X-1]=arguments[X];typeof q=="string"&&(q=[q]);var pe=q[0];return J.forEach(function(Fe,ze){Fe&&Fe.kind==="Document"?pe+=Fe.loc.source.body:pe+=Fe,pe+=q[ze+1]}),F(pe)}function v(){n.clear(),o.clear()}function x(){s=!1}function O(){a=!0}function P(){a=!1}var I={gql:w,resetCaches:v,disableFragmentWarnings:x,enableExperimentalFragmentVariables:O,disableExperimentalFragmentVariables:P};(function(q){q.gql=I.gql,q.resetCaches=I.resetCaches,q.disableFragmentWarnings=I.disableFragmentWarnings,q.enableExperimentalFragmentVariables=I.enableExperimentalFragmentVariables,q.disableExperimentalFragmentVariables=I.disableExperimentalFragmentVariables})(w||(w={})),w.default=w;var L=w;e.default=L,e.disableExperimentalFragmentVariables=P,e.disableFragmentWarnings=x,e.enableExperimentalFragmentVariables=O,e.gql=w,e.resetCaches=v,Object.defineProperty(e,"__esModule",{value:!0})}))});var dF=N((yH,pF)=>{d();pF.exports=fF().gql});var EF=N(FF=>{d();var C8=Object.create,Vc=Object.defineProperty,w8=Object.getPrototypeOf,b8=Object.prototype.hasOwnProperty,A8=Object.getOwnPropertyNames,S8=Object.getOwnPropertyDescriptor,mF=e=>Vc(e,"__esModule",{value:!0}),x8=(e,t)=>{mF(e);for(var r in t)Vc(e,r,{get:t[r],enumerable:!0})},P8=(e,t,r)=>{if(mF(e),t&&typeof t=="object"||typeof t=="function")for(let n of A8(t))!b8.call(e,n)&&n!=="default"&&Vc(e,n,{get:()=>t[n],enumerable:!(r=S8(t,n))||r.enumerable});return e},Kc=e=>e&&e.__esModule?e:P8(Vc(e!=null?C8(w8(e)):{},"default",{value:e,enumerable:!0}),e);x8(FF,{default:()=>j8,generateContentsFromGraphqlString:()=>yF,generateGraphQLString:()=>gF});var O8=Kc(Ve("fs")),T8=Kc(dF()),I8=Kc(Ve("readline")),hF=Kc(Ve("path")),DF=(e,t)=>{let r=t?t(e):e;return JSON.stringify(r,(n,o)=>o===void 0?"__undefined":o).replace(/"__undefined"/g,"undefined")},B8=(e,t)=>{let r=new Set,n=[],o=s=>{r.has(s)||(r.add(s),s.imports.forEach(a=>{let l=t[a.absolutePath];o(l)}),n.unshift(s))};return e.forEach(o),n},R8=e=>new Promise(t=>{let r=I8.default.createInterface({input:O8.default.createReadStream(e)}),n="",o=[],s=!1,a=(l,p)=>{let m=p.replace(l,""),g=m.replace(/"|'/g,""),F=hF.default.join(hF.default.dirname(e),g);o.push({absolutePath:F,relativePath:m})};r.on("line",l=>{l.startsWith("#import ")?a("#import ",l):l.startsWith("# import ")?a("# import ",l):s?n+=l+`
|
|
4
4
|
`:l[0]!=="#"&&l!==""&&(s=!0,n+=l+`
|
|
@@ -37,7 +37,7 @@ Expected it to be ${H}.`}var Rf=class extends Error{name="InvalidDocError";const
|
|
|
37
37
|
`)return t+2;if(Wh(o))return t+1}return t}var Wh,ao,$s=Me({"src/utilities/skip-newline.js"(){Wh=e=>e===`
|
|
38
38
|
`||e==="\r"||e==="\u2028"||e==="\u2029",ao=c$}});function l$(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?Kh(e,t):t}var vl,Jh=Me({"src/utilities/skip-trailing-comment.js"(){co(),vl=l$}});function f$(e,t){let r=null,n=t;for(;n!==r;)r=n,n=vi(e,n),n=El(e,n),n=vl(e,n),n=ao(e,n);return n}var Cl,QC=Me({"src/utilities/get-next-non-space-non-comment-character-index.js"(){co(),Gh(),$s(),Jh(),Cl=f$}});function p$(e,t,r={}){let n=vi(e,r.backwards?t-1:t,r),o=ao(e,n,r);return n!==o}var Yh,XC=Me({"src/utilities/has-newline.js"(){co(),$s(),Yh=p$}});function d$(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Vh(e,n),n=El(e,n),n=vi(e,n);return n=vl(e,n),n=ao(e,n),n!==!1&&Yh(e,n)}var wl,h$=Me({"src/utilities/is-next-line-empty.js"(){XC(),co(),Gh(),$s(),Jh(),wl=d$}});function m$(e,t){let r=t-1;r=vi(e,r,{backwards:!0}),r=ao(e,r,{backwards:!0}),r=vi(e,r,{backwards:!0});let n=ao(e,r,{backwards:!0});return r!==n}var Qh,D$=Me({"src/utilities/is-previous-line-empty.js"(){co(),$s(),Qh=m$}});function g$(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}function Xh(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=g$(e)}function _$(e,t){t.leading=!0,t.trailing=!1,Xh(e,t)}function y$(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Xh(e,t)}function F$(e,t){t.leading=!1,t.trailing=!0,Xh(e,t)}var E$=Me({"src/main/comments/utilities.js"(){}});function v$(e,t,r=0){let n=0;for(let o=r;o<e.length;++o)e[o]===" "?n=n+t-n%t:n++;return n}var Zh,ZC=Me({"src/utilities/get-alignment-size.js"(){Zh=v$}});function C$(e,t){let r=e.lastIndexOf(`
|
|
39
39
|
`);return r===-1?0:Zh(e.slice(r+1).match(/^[\t ]*/u)[0],t)}var ew,w$=Me({"src/utilities/get-indent-size.js"(){ZC(),ew=C$}});function b$(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var A$=Me({"node_modules/escape-string-regexp/index.js"(){}});function S$(e,t){let r=e.matchAll(new RegExp(`(?:${b$(t)})+`,"gu"));return r.reduce||(r=[...r]),r.reduce((n,[o])=>Math.max(n,o.length),0)/t.length}var tw,x$=Me({"src/utilities/get-max-continuous-count.js"(){A$(),tw=S$}});function P$(e,t){let r=Cl(e,t);return r===!1?"":e.charAt(r)}var rw,O$=Me({"src/utilities/get-next-non-space-non-comment-character.js"(){QC(),rw=P$}});function T$(e,t){let{preferred:r,alternate:n}=t===!0||t===zh?nw:iw,{length:o}=e,s=0,a=0;for(let l=0;l<o;l++){let p=e.charCodeAt(l);p===r.codePoint?s++:p===n.codePoint&&a++}return(s>a?n:r).character}var zh,HC,Lh,qh,nw,iw,ow,I$=Me({"src/utilities/get-preferred-quote.js"(){zh="'",HC='"',Lh=Object.freeze({character:zh,codePoint:39}),qh=Object.freeze({character:HC,codePoint:34}),nw=Object.freeze({preferred:Lh,alternate:qh}),iw=Object.freeze({preferred:qh,alternate:Lh}),ow=T$}}),uw,B$=Me({"node_modules/emoji-regex/index.mjs"(){uw=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});function R$(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function N$(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var $$=Me({"node_modules/get-east-asian-width/lookup.js"(){}}),M$=Me({"node_modules/get-east-asian-width/index.js"(){$$()}}),sw,j$=Me({"src/utilities/narrow-emojis.evaluate.js"(){sw="\xA9\xAE\u203C\u2049\u2122\u2139\u2194\u2195\u2196\u2197\u2198\u2199\u21A9\u21AA\u2328\u23CF\u23F1\u23F2\u23F8\u23F9\u23FA\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600\u2601\u2602\u2603\u2604\u260E\u2611\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638\u2639\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694\u2695\u2696\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F1\u26F7\u26F8\u26F9\u2702\u2708\u2709\u270C\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u2764\u27A1\u2934\u2935\u2B05\u2B06\u2B07"}});function k$(e){if(!e)return 0;if(!aw.test(e))return e.length;e=e.replace(uw(),r=>cw.has(r)?" ":" ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||n>=65024&&n<=65039||(t+=R$(n)||N$(n)?2:1)}return t}var aw,cw,lw,U$=Me({"src/utilities/get-string-width.js"(){B$(),M$(),j$(),aw=/[^\x20-\x7F]/u,cw=new Set(sw),lw=k$}});function L$(e,t,r){for(let n=t;n<r;++n)if(e.charAt(n)===`
|
|
40
|
-
`)return!0;return!1}var fw,q$=Me({"src/utilities/has-newline-in-range.js"(){fw=L$}});function W$(e,t,r={}){return vi(e,r.backwards?t-1:t,r)!==t}var pw,z$=Me({"src/utilities/has-spaces.js"(){co(),pw=W$}}),dw={};KC(dw,{addDanglingComment:()=>y$,addLeadingComment:()=>_$,addTrailingComment:()=>F$,getAlignmentSize:()=>Zh,getIndentSize:()=>ew,getMaxContinuousCount:()=>tw,getNextNonSpaceNonCommentCharacter:()=>rw,getNextNonSpaceNonCommentCharacterIndex:()=>V$,getPreferredQuote:()=>ow,getStringWidth:()=>lw,hasNewline:()=>Yh,hasNewlineInRange:()=>fw,hasSpaces:()=>pw,isNextLineEmpty:()=>Q$,isNextLineEmptyAfterIndex:()=>wl,isPreviousLineEmpty:()=>G$,makeString:()=>Y$,skip:()=>Ns,skipEverythingButNewLine:()=>Kh,skipInlineComment:()=>El,skipNewline:()=>ao,skipSpaces:()=>vi,skipToLineEnd:()=>Vh,skipTrailingComment:()=>vl,skipWhitespace:()=>YC});function H$(e,t,r){return Cl(e,r(t))}function V$(e,t){return arguments.length===2||typeof t=="number"?Cl(e,t):H$(...arguments)}function K$(e,t,r){return Qh(e,r(t))}function G$(e,t){return arguments.length===2||typeof t=="number"?Qh(e,t):K$(...arguments)}function J$(e,t,r){return wl(e,r(t))}function Y$(e,t,r){let n=t==='"'?"'":'"',s=JC(0,e,/\\(.)|(["'])/gsu,(a,l,p)=>l===n?l:p===t?"\\"+p:p||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+s+t}function Q$(e,t){return arguments.length===2||typeof t=="number"?wl(e,t):J$(...arguments)}var X$=Me({"src/utilities/public.js"(){s$(),QC(),h$(),D$(),E$(),ZC(),w$(),x$(),O$(),I$(),U$(),XC(),q$(),z$(),co(),Gh(),$s(),Jh()}}),hw={};KC(hw,{default:()=>mw});var mw,Z$=Me({"src/main/version.evaluate.js"(){mw="3.8.4"}}),Dw=import("./prettier-
|
|
40
|
+
`)return!0;return!1}var fw,q$=Me({"src/utilities/has-newline-in-range.js"(){fw=L$}});function W$(e,t,r={}){return vi(e,r.backwards?t-1:t,r)!==t}var pw,z$=Me({"src/utilities/has-spaces.js"(){co(),pw=W$}}),dw={};KC(dw,{addDanglingComment:()=>y$,addLeadingComment:()=>_$,addTrailingComment:()=>F$,getAlignmentSize:()=>Zh,getIndentSize:()=>ew,getMaxContinuousCount:()=>tw,getNextNonSpaceNonCommentCharacter:()=>rw,getNextNonSpaceNonCommentCharacterIndex:()=>V$,getPreferredQuote:()=>ow,getStringWidth:()=>lw,hasNewline:()=>Yh,hasNewlineInRange:()=>fw,hasSpaces:()=>pw,isNextLineEmpty:()=>Q$,isNextLineEmptyAfterIndex:()=>wl,isPreviousLineEmpty:()=>G$,makeString:()=>Y$,skip:()=>Ns,skipEverythingButNewLine:()=>Kh,skipInlineComment:()=>El,skipNewline:()=>ao,skipSpaces:()=>vi,skipToLineEnd:()=>Vh,skipTrailingComment:()=>vl,skipWhitespace:()=>YC});function H$(e,t,r){return Cl(e,r(t))}function V$(e,t){return arguments.length===2||typeof t=="number"?Cl(e,t):H$(...arguments)}function K$(e,t,r){return Qh(e,r(t))}function G$(e,t){return arguments.length===2||typeof t=="number"?Qh(e,t):K$(...arguments)}function J$(e,t,r){return wl(e,r(t))}function Y$(e,t,r){let n=t==='"'?"'":'"',s=JC(0,e,/\\(.)|(["'])/gsu,(a,l,p)=>l===n?l:p===t?"\\"+p:p||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+s+t}function Q$(e,t){return arguments.length===2||typeof t=="number"?wl(e,t):J$(...arguments)}var X$=Me({"src/utilities/public.js"(){s$(),QC(),h$(),D$(),E$(),ZC(),w$(),x$(),O$(),I$(),U$(),XC(),q$(),z$(),co(),Gh(),$s(),Jh()}}),hw={};KC(hw,{default:()=>mw});var mw,Z$=Me({"src/main/version.evaluate.js"(){mw="3.8.4"}}),Dw=import("./prettier-NOE3TJJ5.js"),eM=["formatWithCursor","format","check","resolveConfig","resolveConfigFile","clearConfigCache","getFileInfo","getSupportInfo"],nu=Object.create(null);for(let e of eM)nu[e]=async(...t)=>(await Dw)[e](...t);var tM=["parse","formatAST","formatDoc","printToDoc","printDocToString"],gw=Object.create(null);for(let e of tM)gw[e]=async(...t)=>(await Dw).__debug[e](...t);nu.__debug=gw;nu.util=(X$(),LC(dw)),nu.doc=UC(),nu.version=(Z$(),LC(hw)).default;_w.exports=nu});var Fw=N(iu=>{"use strict";d();var rM=iu&&iu.__awaiter||function(e,t,r,n){function o(s){return s instanceof r?s:new r(function(a){a(s)})}return new(r||(r=Promise))(function(s,a){function l(g){try{m(n.next(g))}catch(F){a(F)}}function p(g){try{m(n.throw(g))}catch(F){a(F)}}function m(g){g.done?s(g.value):o(g.value).then(l,p)}m((n=n.apply(e,t||[])).next())})};Object.defineProperty(iu,"__esModule",{value:!0});iu.format=void 0;var nM=yw();function iM(e,t){return rM(this,void 0,void 0,function*(){return t.format?(0,nM.format)(e,Object.assign({parser:"typescript"},t.style)):e})}iu.format=iM});var bl=N(qt=>{"use strict";d();Object.defineProperty(qt,"__esModule",{value:!0});qt.T_UNKNOWN_ADDITIONAL_PROPERTIES=qt.T_UNKNOWN=qt.T_ANY_ADDITIONAL_PROPERTIES=qt.T_ANY=qt.hasStandaloneName=qt.hasComment=void 0;function oM(e){return"comment"in e&&e.comment!=null&&e.comment!==""||"deprecated"in e&&e.deprecated===!0}qt.hasComment=oM;function uM(e){return"standaloneName"in e&&e.standaloneName!=null&&e.standaloneName!==""}qt.hasStandaloneName=uM;qt.T_ANY={type:"ANY"};qt.T_ANY_ADDITIONAL_PROPERTIES={keyName:"[k: string]",type:"ANY"};qt.T_UNKNOWN={type:"UNKNOWN"};qt.T_UNKNOWN_ADDITIONAL_PROPERTIES={keyName:"[k: string]",type:"UNKNOWN"}});var lo=N(dt=>{"use strict";d();Object.defineProperty(dt,"__esModule",{value:!0});dt.isCompound=dt.isPrimitive=dt.isBoolean=dt.getRootSchema=dt.Intersection=dt.Types=dt.Parent=void 0;var Ew=jn();dt.Parent=Symbol("Parent");dt.Types=Symbol("Types");dt.Intersection=Symbol("Intersection");dt.getRootSchema=(0,Ew.memoize)(e=>{let t=e[dt.Parent];return t?(0,dt.getRootSchema)(t):e});function sM(e){return e===!0||e===!1}dt.isBoolean=sM;function aM(e){return!(0,Ew.isPlainObject)(e)}dt.isPrimitive=aM;function cM(e){return Array.isArray(e.type)||"anyOf"in e||"oneOf"in e}dt.isCompound=cM});var ou=N((Tie,fo)=>{"use strict";d();function vw(e){return typeof e>"u"||e===null}function lM(e){return typeof e=="object"&&e!==null}function fM(e){return Array.isArray(e)?e:vw(e)?[]:[e]}function pM(e,t){var r,n,o,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r<n;r+=1)o=s[r],e[o]=t[o];return e}function dM(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function hM(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}fo.exports.isNothing=vw;fo.exports.isObject=lM;fo.exports.toArray=fM;fo.exports.repeat=dM;fo.exports.isNegativeZero=hM;fo.exports.extend=pM});var uu=N((Bie,ww)=>{"use strict";d();function Cw(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
|
|
41
41
|
|
|
42
42
|
`+e.mark.snippet),n+" "+r):n}function Ms(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=Cw(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Ms.prototype=Object.create(Error.prototype);Ms.prototype.constructor=Ms;Ms.prototype.toString=function(t){return this.name+": "+Cw(this,t)};ww.exports=Ms});var Aw=N((Nie,bw)=>{"use strict";d();var js=ou();function em(e,t,r,n,o){var s="",a="",l=Math.floor(o/2)-1;return n-t>l&&(s=" ... ",t=n-l+s.length),r-n>l&&(a=" ...",r=n+l-a.length),{str:s+e.slice(t,r).replace(/\t/g,"\u2192")+a,pos:n-t+s.length}}function tm(e,t){return js.repeat(" ",t-e.length)+e}function mM(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],o=[],s,a=-1;s=r.exec(e.buffer);)o.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var l="",p,m,g=Math.min(e.line+t.linesAfter,o.length).toString().length,F=t.maxLength-(t.indent+g+3);for(p=1;p<=t.linesBefore&&!(a-p<0);p++)m=em(e.buffer,n[a-p],o[a-p],e.position-(n[a]-n[a-p]),F),l=js.repeat(" ",t.indent)+tm((e.line-p+1).toString(),g)+" | "+m.str+`
|
|
43
43
|
`+l;for(m=em(e.buffer,n[a],o[a],e.position,F),l+=js.repeat(" ",t.indent)+tm((e.line+1).toString(),g)+" | "+m.str+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{X as f,aa as g,ba as p}from"./chunk-
|
|
1
|
+
import{X as f,aa as g,ba as p}from"./chunk-R3GD62F4.js";import{b as u,c,d}from"./chunk-HXPUMDUV.js";import{b as l}from"./chunk-3XHYGKBZ.js";import{C as m}from"./chunk-EOGQ7TJP.js";import{Lb as s}from"./chunk-YKQLGBJM.js";import{g as n}from"./chunk-VKWPEFWQ.js";n();n();async function h(t){let i;try{i=await p()}catch(o){if(t.json&&o instanceof g){s(JSON.stringify({organizations:[]},null,2));return}throw o}if(t.json){let o={organizations:i.map(r=>({id:r.id,gid:f(r.id),name:r.businessName}))};s(JSON.stringify(o,null,2));return}y(i)}function y(t){let i=t.map(o=>({id:o.id,name:o.businessName}));m({rows:i,columns:{id:{header:"ID"},name:{header:"NAME"}}})}var e,a=class extends l{async run(){let{flags:i}=await this.parse(e);await h({json:i.json})}};e=a;a.baseFlags=d;a.summary="List Shopify organizations you have access to.";a.descriptionWithMarkdown="Lists the Shopify organizations that you have access to, along with their organization IDs.";a.description=e.descriptionWithoutMarkdown();a.flags={...u,...c};var x=a;export{x as a};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as N}from"./chunk-
|
|
1
|
+
import{a as N}from"./chunk-FDYZZLAY.js";import{a as S}from"./chunk-CXYYVAYY.js";import{A as x,B as V,wa as M,x as A,y as C}from"./chunk-4MERFNHB.js";import{a as m}from"./chunk-YNFZXXCS.js";import{b as E,c as b}from"./chunk-HXPUMDUV.js";import{v as j,x as g}from"./chunk-EOGQ7TJP.js";import{m as w,o as n}from"./chunk-K44YPOUY.js";import{Lb as s,Sb as h,Vb as _}from"./chunk-YKQLGBJM.js";import{j as u}from"./chunk-773TIA5M.js";import{g as p}from"./chunk-VKWPEFWQ.js";p();p();async function P(d,t){let r=new Set(t.map(e=>e.file)).size;await m.addPublicMetadata(()=>({cmd_app_validate_valid:d,cmd_app_validate_issue_count:t.length,cmd_app_validate_file_count:r}))}async function k(d,t={json:!1}){let r=d.errors;if(!r||r.isEmpty()){if(await P(!0,[]),t.json){s(JSON.stringify({valid:!0,issues:[]},null,2));return}j({headline:`App configuration '${u(d.configPath)}' is valid.`});return}let e=r.getErrors();if(await P(!1,e),t.json){let f=e.map(({file:c,message:a,path:i,code:o})=>({file:c,message:a,path:i,code:o}));throw s(JSON.stringify({valid:!1,issues:f},null,2)),new n}throw g({headline:"Validation errors found.",body:e.map(f=>`\u2022 ${V(f)}`).join(`
|
|
2
2
|
`)}),new n}var y;async function v(d,t){await m.addPublicMetadata(()=>({cmd_app_validate_valid:!1,cmd_app_validate_issue_count:d,cmd_app_validate_file_count:t}))}var l=class extends N{async run(){let{flags:t}=await this.parse(y);await m.addPublicMetadata(()=>({cmd_app_validate_json:t.json}));let r;try{r=await A.load(t.path)}catch(a){if(a instanceof w&&t.json){await v(1,1);let i=_(h(a.message)).trim();throw s(JSON.stringify({valid:!1,issues:[{message:i}]},null,2)),new n}throw a}let e;try{e=await x(r,t.config,{clientId:t["client-id"],skipPrompts:!!t["client-id"]})}catch(a){if(a instanceof w&&t.json){await v(1,1);let i=_(h(a.message)).trim();throw s(JSON.stringify({valid:!1,issues:[{message:i}]},null,2)),new n}throw a}let f=C(r,e.file);if(f.length>0){let a=f.map(o=>({file:o.path,message:o.message})),i=new Set(f.map(o=>o.path)).size;throw await v(a.length,i),t.json?(s(JSON.stringify({valid:!1,issues:a},null,2)),new n):(g({headline:"Validation errors found.",body:a.map(o=>`\u2022 ${o.message}`).join(`
|
|
3
3
|
`)}),new n)}let c;try{c=(await M({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config??(t["client-id"]?u(e.file.path):void 0),unsafeTolerateErrors:!0})).app}catch(a){let i=a instanceof w?_(h(a.message)).trim():"";throw i.startsWith("Validation errors in ")&&t.json?(await v(1,1),s(JSON.stringify({valid:!1,issues:[{message:i}]},null,2)),new n):a}return await k(c,{json:t.json}),{app:c}}};y=l;l.summary="Validate your app configuration and extensions.";l.descriptionWithMarkdown="Validates the selected app configuration file and all extension configurations against their schemas and reports any errors found.";l.description=y.descriptionWithoutMarkdown();l.flags={...E,...S,...b};var tt=l;export{tt as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as o}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-GCN4O7HM.js";import{b as r}from"./chunk-3XHYGKBZ.js";import{q as i}from"./chunk-27IBAKXK.js";import{u as e}from"./chunk-EOGQ7TJP.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();var t=class extends r{static{this.summary="Check whether auto-upgrade is enabled, disabled, or not yet configured."}static{this.descriptionWithMarkdown=`Check whether auto-upgrade is enabled, disabled, or not yet configured.
|
|
2
2
|
|
|
3
3
|
When auto-upgrade is enabled, Shopify CLI automatically updates to the latest version after each command.
|
|
4
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n}from"./chunk-
|
|
1
|
+
import{b as n}from"./chunk-HXPUMDUV.js";import{u as r}from"./chunk-A4SBXDZB.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();function v(o){o.verbose&&(process.env[n.verbose.env]="true"),o.noColor&&(r.level=0,process.env.FORCE_COLOR="0")}export{v as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-FD55RBY6.js";import{b as i}from"./chunk-3XHYGKBZ.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends i{static{this.description="Generate a notifications.json file for the the CLI, appending a new notification to the current file."}static{this.hidden=!0}async run(){await n()}};export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h,c as D,d as _,e as w}from"./chunk-
|
|
1
|
+
import{a as h,c as D,d as _,e as w}from"./chunk-PFVF5CZ4.js";import{g as y,p as O,v as b}from"./chunk-S6JGBSUV.js";import{b as S,c as T}from"./chunk-HXPUMDUV.js";import{b as v}from"./chunk-3PFKQSWK.js";import{u as F}from"./chunk-EOGQ7TJP.js";import{Hb as a,Lb as L,Pb as l}from"./chunk-YKQLGBJM.js";import{a as G}from"./chunk-M5GXA5W4.js";import{e as $,g as o}from"./chunk-VKWPEFWQ.js";o();o();o();var u;function p(){return u??(u=new v({projectName:"shopify-cli-host-theme-conf"})),u}function E(e){return l(a`Getting host theme...`),p().get(e)}function Y(e,t){l(a`Setting host theme...`),p().set(e,t)}function C(e){l(a`Removing host theme...`),p().delete(e)}function j(e,t){return{title:e,body:{tabularData:t}}}async function I(e,t){let n=t.storeFqdn,g=new w({...h.reduce((m,s)=>(m[s]=e.role===s,m),{}),theme:e.id?.toString()??e.name}),i=await D(t),x=y(),H=E(n);if(g.any()&&(i=_(n,i,g)),e.json)return L(JSON.stringify(i,null,2));let A=i.map(({id:m,name:s,role:d})=>{let f="";return d&&(f=`[${d}]`,[x,H].includes(`${m}`)&&(f+=" [current]")),[s,f,`#${m}`]}),R=[["name","role","id"],["\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500","\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500","\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"],...A];F({customSections:[...e.environment?[{title:`${n} theme library`,body:[{subdued:`Environment name: ${e.environment}`}]}]:[],j("",R)]})}var c=$(G(),1);var r=class extends b{async command(t,n){await I(t,n)}};r.description="Lists the themes in your store, along with their IDs and statuses.";r.flags={...S,...T,...O,role:c.Flags.custom({description:"Only list themes with the given role.",options:h,env:"SHOPIFY_FLAG_ROLE"})(),name:c.Flags.string({description:"Only list themes that contain the given name.",env:"SHOPIFY_FLAG_NAME"}),id:c.Flags.integer({description:"Only list theme with the given ID.",env:"SHOPIFY_FLAG_ID"})};r.multiEnvironmentsFlags=["store","password"];var oe=r;export{E as a,Y as b,C as c,oe as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as d}from"./chunk-3HEORIF3.js";import{a as p}from"./chunk-STJ3LWFL.js";import{a as y}from"./chunk-AB7462EM.js";import{p as u}from"./chunk-WQLVBL6G.js";import{p as c,v as f}from"./chunk-S6JGBSUV.js";import{b as l}from"./chunk-HXPUMDUV.js";import{A as s,v as h}from"./chunk-EOGQ7TJP.js";import{a as g}from"./chunk-M5GXA5W4.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
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as n}from"./chunk-
|
|
1
|
+
import{a as n}from"./chunk-IUIDJ2PO.js";import{p as i,v as m}from"./chunk-S6JGBSUV.js";import{b as t}from"./chunk-HXPUMDUV.js";import{a as c}from"./chunk-M5GXA5W4.js";import{e as l,g as r}from"./chunk-VKWPEFWQ.js";r();var a=l(c(),1),s,o=class extends m{async command(e){let d={path:e.path,password:e.password,store:e.store,force:e.force,verbose:e.verbose,noColor:e["no-color"]};await n(d)}};s=o;o.summary="Download metafields definitions from your shop into a local file.";o.descriptionWithMarkdown=`Retrieves metafields from Shopify Admin.
|
|
2
2
|
|
|
3
3
|
If the metafields file already exists, it will be overwritten.`;o.description=s.descriptionWithoutMarkdown();o.flags={...t,...i,force:a.Flags.boolean({hidden:!0,char:"f",description:"Proceed without confirmation, if current directory does not seem to be theme directory.",env:"SHOPIFY_FLAG_FORCE"})};o.multiEnvironmentsFlags=null;var v=o;export{v as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Iw}from"./chunk-IWOTLFOY.js";import{a as d4}from"./chunk-FFSDGRAN.js";import{a as kw,b as h4,c as m4}from"./chunk-F3TMLDLC.js";import{Aa as xw,za as p4}from"./chunk-
|
|
1
|
+
import{a as Iw}from"./chunk-IWOTLFOY.js";import{a as d4}from"./chunk-FFSDGRAN.js";import{a as kw,b as h4,c as m4}from"./chunk-F3TMLDLC.js";import{Aa as xw,za as p4}from"./chunk-CG22VLHL.js";import{g as ww}from"./chunk-K44YPOUY.js";import{q as Sw}from"./chunk-TR4OWSEX.js";import{a as ae,b as Ae,c as T,d as Xm,e as ia,f as Zm,g as y}from"./chunk-VKWPEFWQ.js";var tg=T(eg=>{"use strict";y();Object.defineProperty(eg,"__esModule",{value:!0});eg.deepGet=g4;function g4(t,e){return e.reduce((r,i)=>r?.[i],t)}});var Aw=T(rs=>{"use strict";y();Object.defineProperty(rs,"__esModule",{value:!0});rs.first=y4;rs.last=_4;rs.findLast=v4;rs.findLastIndex=rg;rs.findLastAndIndex=b4;function y4(t){return t[0]}function _4(t,e=0){return t[t.length-1+e]}function v4(t,e){return t[rg(t,e)]}function rg(t,e){for(let r=t.length-1;r>=0;r--)if(e(t[r]))return r;return-1}function b4(t,e){let r=rg(t,e);return[t[r],r]}});var Ew=T(($ie,Tw)=>{"use strict";y();var S4=kw();Tw.exports=function(e){return e!=null&&typeof e=="object"&&S4(e)===!1}});var ig=T((Gie,Ow)=>{"use strict";y();var w4=kw(),x4=Ew(),Hie=Array.prototype.slice;Ow.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=k4(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=I4(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 w4(t)&&t.length>=2?this.toIndex(t[0],t[1]):x4(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 k4(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 I4(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 Lw=T(sa=>{"use strict";y();var A4=sa&&sa.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(sa,"__esModule",{value:!0});sa.getPosition=T4;sa.getOffset=E4;var Nw=A4(ig());function T4(t,e){let r=(0,Nw.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 E4(t,e,r){return(0,Nw.default)(t,{origin:1}).toIndex(e,r)}});var pl=T(fl=>{"use strict";y();Object.defineProperty(fl,"__esModule",{value:!0});fl.isError=N4;fl.asError=L4;var O4={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 N4(t){return t instanceof Error}function L4(t){return t instanceof Error?t:typeof t=="string"?new Error(t):t&&typeof t=="object"&&"error"in t?new Error(P4(t)):t&&typeof t.toString=="function"?new Error(t.toString()):new Error("An unknown error occurred")}function P4(t){return O4[t.error]||"Unknown parse error."}});var sg=T(ng=>{"use strict";y();Object.defineProperty(ng,"__esModule",{value:!0});ng.assertNever=q4;function q4(t){throw new Error(`We should never reach this code, you are missing a case for ${t}`)}});var og=T(hl=>{"use strict";y();Object.defineProperty(hl,"__esModule",{value:!0});hl.memo=C4;hl.memoize=R4;var ag=Symbol("Unset");function C4(t){let e=ag,r=(...i)=>(e===ag&&(e=t(...i)),e);return r.clearCache=()=>{e=ag},r}function R4(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 cg=T(ug=>{"use strict";y();Object.defineProperty(ug,"__esModule",{value:!0});ug.indexBy=M4;function M4(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(lg(w)){do i++,n+=String.fromCharCode(w),w=t.charCodeAt(i);while(lg(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(lg(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 lg(t){return t===32||t===9}function qo(t){return t===10||t===13}function aa(t){return t>=48&&t<=57}var Pw,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"})(Pw||(Pw={}))});var Or,oa,fg,qw,Cw=Ae(()=>{y();Or=new Array(20).fill(0).map((t,e)=>" ".repeat(e)),oa=200,fg={" ":{"\n":new Array(oa).fill(0).map((t,e)=>`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{xa as r}from"./chunk-
|
|
1
|
+
import{xa as r}from"./chunk-4MERFNHB.js";import{a}from"./chunk-YNFZXXCS.js";import{q as i}from"./chunk-773TIA5M.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var c=3e3;async function n(o){let t;try{if(a.getAllPublicMetadata().api_key!==void 0)return;await Promise.race([r({directory:o,skipPrompts:!0}),new Promise(l=>{t=setTimeout(l,c)})])}catch{}finally{t&&clearTimeout(t)}}var m=async()=>(await n(i()),a.getAllPublicMetadata()),f=m;export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-YNFZXXCS.js";import{g as t}from"./chunk-VKWPEFWQ.js";t();var e=async()=>a.getAllSensitiveMetadata(),i=e;export{i as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i}from"./chunk-
|
|
1
|
+
import{a as i}from"./chunk-VJXKYDM6.js";import{b as e}from"./chunk-3XHYGKBZ.js";import{g as o}from"./chunk-VKWPEFWQ.js";o();var t=class extends e{static{this.description="View the UI kit components prompts"}static{this.hidden=!0}async run(){await i()}};export{t 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-PFVF5CZ4.js";import{d as c,f as w,j as T}from"./chunk-WQLVBL6G.js";import{g as d}from"./chunk-S6JGBSUV.js";import{B as u}from"./chunk-EOGQ7TJP.js";import{m as l}from"./chunk-K44YPOUY.js";import{T as i}from"./chunk-YKQLGBJM.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-YDUVKJIB.js";import{g as e}from"./chunk-VKWPEFWQ.js";e();var t=class extends o{};export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as k,b as i,c as F,d as L,e as _,f as M,g as H}from"./chunk-
|
|
1
|
+
import{a as k,b as i,c as F,d as L,e as _,f as M,g as H}from"./chunk-GQFZ3NV5.js";import{a as E}from"./chunk-FDYZZLAY.js";import{a as P}from"./chunk-CXYYVAYY.js";import{R as b,S as T,T as A,aa as S,wa as I}from"./chunk-4MERFNHB.js";import{B as g,F as v,z as p}from"./chunk-EOGQ7TJP.js";import{Nb as h,Qb as m,Sb as w}from"./chunk-YKQLGBJM.js";import{j as y}from"./chunk-773TIA5M.js";import{a as q}from"./chunk-M5GXA5W4.js";import{e as G,g as a}from"./chunk-VKWPEFWQ.js";a();a();a();a();async function V(e){let t=e.map(o=>({label:o,value:o}));return await g({message:"Webhook Topic",choices:t})}async function C(e){return p({message:"Webhook ApiVersion",choices:e.map(t=>({label:t,value:t}))})}async function R(){return p({message:"Delivery method",choices:[{label:"HTTP",value:i.HTTP},{label:"Google Pub/Sub",value:i.PUBSUB},{label:"Amazon EventBridge",value:i.EVENTBRIDGE}]})}async function D(e){return(await v({message:"Address for delivery",validate:r=>{let o=r.trim();if(o.length===0)return"Address can't be empty";if(!F(o,e))return`Invalid address.
|
|
2
2
|
${c(e)}`}})).trim()}function U(e){return e===i.HTTP?["For remote HTTP testing, use a URL that starts with https://","For local HTTP testing, use http://localhost:{port}/{url-path}"]:e===i.PUBSUB?["For Google Pub/Sub, use pubsub://{project-id}:{topic-id}"]:e===i.EVENTBRIDGE?["For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:"]:[]}function c(e){return U(e).map(t=>` \xB7 ${w(t)}`).join(`
|
|
3
3
|
`)}async function O(e,t){let{clientSecret:r,clientId:o,remoteApp:s,app:l}=e;return r&&(o||t!==i.EVENTBRIDGE)?{clientSecret:r,apiKey:o}:(S({appName:s.title,configFile:y(l.configPath)}),{clientSecret:s.apiSecretKeys.find(f=>f.secret).secret,apiKey:s.apiKey})}async function x(e,t,r){let o=await T(e,r);return t?_(t,o):C(o)}async function B(e,t,r,o){let s=await A(e,t,o);return r?M(r,t,s):V(s)}async function Y(e,t){let r=e??H(t)??await R(),o=t??await D(r);return L(o,r)}async function N(e){let t=await W(e);await z(t)}async function W(e){let t=await x(e.developerPlatformClient,e.apiVersion,e.organizationId),r=await B(e.developerPlatformClient,t,e.topic,e.organizationId),[o,s]=await Y(e.deliveryMethod,e.address),l=await O(e,s);return{topic:r,apiVersion:t,deliveryMethod:s,address:o,apiKey:l.apiKey,clientSecret:l.clientSecret,developerPlatformClient:e.developerPlatformClient,organizationId:e.organizationId}}async function z(e){let t={topic:e.topic,api_version:e.apiVersion,address:e.address,delivery_method:e.deliveryMethod,shared_secret:e.clientSecret,api_key:e.apiKey},r=await b(e.developerPlatformClient,t,e.organizationId);if(!r.success){m(`Request errors:
|
|
4
4
|
${K(r.userErrors)}`);return}if(e.deliveryMethod===i.LOCALHOST){if(await k(e.address,r.samplePayload,r.headers)){h("Localhost delivery sucessful");return}m("Localhost delivery failed");return}r.samplePayload===JSON.stringify({})&&h("Webhook has been enqueued for delivery")}function K(e){try{return e.map(t=>JSON.parse(t.message).map(r=>` \xB7 ${r}`).join(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as b}from"./chunk-
|
|
1
|
+
import{f as b}from"./chunk-F5LI3LKB.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-AG5VMYWI.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 +1 @@
|
|
|
1
|
-
import{b as u,c as h,f}from"./chunk-
|
|
1
|
+
import{b as u,c as h,f}from"./chunk-4MERFNHB.js";import{O as c}from"./chunk-EOGQ7TJP.js";import{d as e}from"./chunk-773TIA5M.js";import{g as a}from"./chunk-VKWPEFWQ.js";a();async function s(n){if(n.features.includes("function")&&n.isJavaScript){let r=await f(n);return u(r.functionRunner)}return u()}function d(n){return n.configuration.build?.path?e(n.directory,n.configuration.build.path):n.outputPath}async function g(n){let r=n.functionExtension,i=await s(r);await h(i);let t=[];n.inputPath&&t.push("--input",n.inputPath),n.export&&t.push("--export",n.export),n.json&&t.push("--json"),n.schemaPath&&n.queryPath&&(t.push("--schema-path",n.schemaPath),t.push("--query-path",n.queryPath));let o=d(r);return c(i.path,["-f",o,...t],{cwd:n.functionExtension.directory,stdin:n.stdin,stdout:n.stdout??"inherit",stderr:n.stderr??"inherit",input:n.input})}export{g as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as i}from"./chunk-
|
|
1
|
+
import{b as i}from"./chunk-HXPUMDUV.js";import{b as o}from"./chunk-3XHYGKBZ.js";import{J as t}from"./chunk-EOGQ7TJP.js";import{a as p}from"./chunk-M5GXA5W4.js";import{e as h,g as a}from"./chunk-VKWPEFWQ.js";a();a();async function c(r){let e=new URLSearchParams;e.append("search",r??""),await t(`https://shopify.dev?${e.toString()}`)}var n=h(p(),1),s=class r extends o{static{this.description="Search shopify.dev for the most relevant content matching a query. Best for discovery \u2014 surfacing the relevant pieces of documentation for a topic, rather than retrieving a whole document. To download a full document verbatim, use `doc fetch`."}static{this.usage="search [query]"}static{this.examples=[`# open the search modal on Shopify.dev
|
|
2
2
|
shopify search
|
|
3
3
|
|
|
4
4
|
# search for a term on Shopify.dev
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as B,j as C,m as P}from"./chunk-
|
|
1
|
+
import{a as B,j as C,m as P}from"./chunk-4LK74JVJ.js";import{e as U,f as _}from"./chunk-WAH2LVVU.js";import{e as g}from"./chunk-3HEORIF3.js";import{l as v,m as w}from"./chunk-WQLVBL6G.js";import{xa as E}from"./chunk-CG22VLHL.js";import{Pb as m}from"./chunk-YKQLGBJM.js";import{g as T}from"./chunk-VKWPEFWQ.js";T();var $=20,J=1024*1024,A=2;function oe(t,e,r,s,o={},l){let n=B(r),i=new Map,c=a=>a.total===0?"[100%]":`[${Math.round(a.current/a.total*100)}%]`,u=R(t,e,n),h=Promise.all([s.ready(),u]).then(()=>q(n,s,t,e,i)),p=h.then(a=>a.promise).then(()=>j(n,s,t,e,o,i)),k=o?.deferPartialWork?u:p.then(a=>a.promise);return o?.backgroundWorkCatch&&Promise.all([u,h.then(a=>a.promise),p.then(a=>a.promise)]).catch(o.backgroundWorkCatch),{uploadResults:i,workPromise:k,renderThemeSyncProgress:async()=>{if(o?.deferPartialWork)return;let{progress:a,promise:d}=await h,f=o.multiEnvironment?4e3:1e3;await g(b({promise:d,titleGetter:()=>`Uploading files to remote theme ${c(a)}`,updateInterval:f}),l?.stderr,o?.multiEnvironment);let{progress:y,promise:F}=await p;await g(b({promise:F,titleGetter:()=>`Cleaning your remote theme ${c(y)}`,updateInterval:f}),l?.stderr,o?.multiEnvironment),await g([{title:"Theme upload complete",task:async()=>{}}],l?.stderr,o?.multiEnvironment),H(i,o?.environment)}}}function b({promise:t,titleGetter:e,updateInterval:r}){let s=[],o=()=>{s.push({title:e(),task:async()=>{await Promise.race([t,new Promise(n=>setTimeout(()=>n("timeout"),r))])==="timeout"&&o()}})};return o(),s}function j(t,e,r,s,o,l){if(o.nodelete)return{progress:{current:0,total:0},promise:Promise.resolve()};let n=L(t,e),i=x(n),c={current:0,total:i.length};if(i.length===0)return{progress:c,promise:Promise.resolve()};let u=[];for(let p=0;p<i.length;p+=$){let k=i.slice(p,p+$),a=v(r.id,k.map(d=>d.key),s).then(d=>{d.forEach(f=>{if(l.set(f.key,f),!f.success){let y=f.errors?.asset?.map(F=>`-${F}`).join(`
|
|
2
2
|
`);_(f.key,"delete")(new Error(`Failed to delete ${f.key}: ${y}`))}}),c.current+=k.length});u.push(a)}let h=Promise.all(u).then(()=>{c.current=c.total});return{progress:c,promise:h}}function L(t,e){let s=e.applyIgnoreFilters(t).filter(o=>!e.files.has(o.key));return m(`Files to be deleted:
|
|
3
3
|
${s.map(o=>`-${o.key}`).join(`
|
|
4
4
|
`)}`),s}function x(t){let e=P(t);return[...e.contextualizedJsonFiles,...e.templateJsonFiles,...e.sectionJsonFiles,...e.otherJsonFiles,...e.sectionLiquidFiles,...e.blockLiquidFiles,...e.layoutFiles,...e.otherLiquidFiles,...e.configDataFile,...e.configSchemaFile,...e.staticAssetFiles]}var D=[{key:"config/settings_schema.json",value:"[]"},{key:"layout/password.liquid",value:"{{ content_for_header }}{{ content_for_layout }}"},{key:"layout/theme.liquid",value:"{{ content_for_header }}{{ content_for_layout }}"}];async function R(t,e,r){let s=new Set(r.map(l=>l.key)),o=D.filter(({key:l})=>!s.has(l));o.length>0&&await w(t.id,o,e)}function q(t,e,r,s,o){let l=I(e,t);e.unsyncedFileKeys.clear(),l.forEach(a=>e.unsyncedFileKeys.add(a.key));let{independentFiles:n,dependentFiles:i}=z(l),c={current:0,total:l.length},u=a=>a.length===0?Promise.resolve():Promise.all(S(a).map(d=>N(d,e,s,r.id,o).then(()=>{c.current+=d.length,d.forEach(f=>e.unsyncedFileKeys.delete(f.key))}))).then(()=>{}),h=i.reduce((a,d)=>a.then(()=>u(d)),Promise.resolve()),p=Promise.resolve().then(()=>u(n.flat())),k=Promise.all([h,p]).then(()=>{c.current=c.total});return{progress:c,promise:k}}function I(t,e){let r=K(t),s=t.applyIgnoreFilters(r),o=new Map(e.map(n=>[n.key,n])),l=s.filter(n=>{let i=o.get(n.key);return!i||i.checksum!==n.checksum});return m(`Files to be uploaded:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as y}from"./chunk-
|
|
1
|
+
import{a as y}from"./chunk-IUIDJ2PO.js";import{a as v}from"./chunk-SK4IRFCK.js";import{d as f}from"./chunk-3HEORIF3.js";import{a as m}from"./chunk-YIZV3FZO.js";import{a as u}from"./chunk-AB7462EM.js";import{p,v as c}from"./chunk-S6JGBSUV.js";import{b as h,e as d}from"./chunk-HXPUMDUV.js";import{xa as l}from"./chunk-CG22VLHL.js";import{a as F}from"./chunk-M5GXA5W4.js";import{e as O,g as a}from"./chunk-VKWPEFWQ.js";a();var t=O(F(),1);var w,o=class extends c{async command(r,n){let{ignore:g=[],only:_=[]}=r;l("theme-command:dev:single-env:authenticated");let i,e;if(r.theme){let s={filter:{theme:r.theme}};i=await u(n,s),e={...r,theme:i.id.toString(),store:n.storeFqdn}}else{i=await new m(n).findOrCreate();let s=r["theme-editor-sync"]&&i.createdAtRuntime;e={...r,theme:i.id.toString(),store:n.storeFqdn,"overwrite-json":s}}await f(i,"start development mode",r["allow-live"])&&(await v({adminSession:n,commandConfig:this.config,directory:e.path,store:e.store,password:e.password,storePassword:e["store-password"],theme:i,listing:e.listing,host:e.host,port:e.port,"live-reload":e["live-reload"],"error-overlay":e["error-overlay"],force:e.force,open:e.open,"theme-editor-sync":e["theme-editor-sync"],"standard-events-inspector":e["standard-events-inspector"],reconciliationStrategy:e["reconciliation-strategy"],noDelete:e.nodelete,ignore:g,only:_,notify:e.notify}),await y({path:e.path,password:e.password,store:e.store,force:e.force,verbose:e.verbose,noColor:e["no-color"],silent:!0}))}};w=o;o.summary="Uploads the current theme as a development theme to the connected store, then prints theme editor and preview URLs to your terminal. While running, changes will push to the store in real time.";o.descriptionWithMarkdown=`
|
|
2
2
|
Uploads the current theme as the specified theme, or a [development theme](https://shopify.dev/docs/themes/tools/cli#development-themes), to a store so you can preview it.
|
|
3
3
|
|
|
4
4
|
This command returns the following information:
|