@shopify/cli 3.79.0 → 3.79.2
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/{chunk-UQLLSBKG.js → chunk-63BE7GDY.js} +3 -3
- package/dist/{chunk-KRTNJAVX.js → chunk-6G4NC476.js} +2 -2
- package/dist/{chunk-IYBFDT7N.js → chunk-77YUNYVM.js} +4 -4
- package/dist/{chunk-KVPURBXO.js → chunk-BD4DMB7P.js} +4 -4
- package/dist/{chunk-OOVDD552.js → chunk-BSUS3MTW.js} +3 -3
- package/dist/{chunk-SUWZRQHU.js → chunk-DV2YYPEI.js} +2 -2
- package/dist/{chunk-AVR7SY23.js → chunk-FBLZEAHG.js} +3 -3
- package/dist/{chunk-IARZXI6R.js → chunk-FUEMEAJ6.js} +3 -3
- package/dist/{chunk-QJTHRGGC.js → chunk-G2H4UKYT.js} +5 -5
- package/dist/{chunk-G63ZK76J.js → chunk-HHVCEPRF.js} +3 -3
- package/dist/{chunk-MRU3X272.js → chunk-IEJMNCLB.js} +4 -4
- package/dist/{chunk-DG3SRCQ7.js → chunk-IUNLWSXD.js} +2 -2
- package/dist/{chunk-CZ7EMDNP.js → chunk-JAKMNE2C.js} +3 -3
- package/dist/{chunk-SHIHLMYP.js → chunk-JYRZAF2V.js} +5 -5
- package/dist/{chunk-MLGPNWXX.js → chunk-LD7EUWUQ.js} +9 -9
- package/dist/{chunk-YILOICE5.js → chunk-M5F4CXDR.js} +5 -5
- package/dist/{chunk-54K4AM4U.js → chunk-MAWOPVTD.js} +3 -3
- package/dist/{chunk-U6TDVNHS.js → chunk-MDJIPIDQ.js} +6 -6
- package/dist/{chunk-P6WUJAQG.js → chunk-MQV3MC5Y.js} +3 -3
- package/dist/{chunk-EKAPTGJ2.js → chunk-NPPP3L5N.js} +2 -2
- package/dist/{chunk-7QKG75SI.js → chunk-OJYLAVCF.js} +4 -4
- package/dist/{chunk-ALANDDAF.js → chunk-PLILKCK3.js} +3 -3
- package/dist/{chunk-ANW4ZUSD.js → chunk-PMA5QAUF.js} +2 -2
- package/dist/{chunk-JCZQQS22.js → chunk-PRNDW4A4.js} +3 -3
- package/dist/{chunk-F55GHOR3.js → chunk-T3I7QQ2S.js} +3 -3
- package/dist/{chunk-DOKAITPJ.js → chunk-UZADGPF5.js} +4 -4
- package/dist/{chunk-PRSCEDOW.js → chunk-VSYHQUMS.js} +4 -4
- package/dist/{chunk-LFQMCRXU.js → chunk-W2I3UPYU.js} +7 -7
- package/dist/{chunk-QBB7AFBN.js → chunk-WAVVSCTB.js} +6 -6
- package/dist/{chunk-ZCIGSW2P.js → chunk-WN4KLPHC.js} +2 -2
- package/dist/{chunk-4BO44W6A.js → chunk-X6UFRMT6.js} +2 -2
- package/dist/{chunk-QW44EO42.js → chunk-Y4DB5LTR.js} +7 -7
- package/dist/{chunk-2B4E6VSB.js → chunk-ZEHIERTA.js} +3 -3
- package/dist/{chunk-HTK3YCUG.js → chunk-ZZG4I4Y2.js} +3 -3
- package/dist/cli/commands/auth/logout.js +11 -11
- package/dist/cli/commands/auth/logout.test.js +12 -12
- package/dist/cli/commands/cache/clear.js +10 -10
- package/dist/cli/commands/debug/command-flags.js +10 -10
- package/dist/cli/commands/docs/generate.js +10 -10
- package/dist/cli/commands/docs/generate.test.js +10 -10
- package/dist/cli/commands/help.js +10 -10
- package/dist/cli/commands/kitchen-sink/async.js +11 -11
- package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/index.js +13 -13
- package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
- package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
- package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.js +11 -11
- package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
- package/dist/cli/commands/notifications/generate.js +11 -11
- package/dist/cli/commands/notifications/list.js +11 -11
- package/dist/cli/commands/search.js +11 -11
- package/dist/cli/commands/upgrade.js +11 -11
- package/dist/cli/commands/version.js +11 -11
- package/dist/cli/commands/version.test.js +11 -11
- package/dist/cli/services/commands/notifications.js +6 -6
- package/dist/cli/services/commands/search.js +2 -2
- package/dist/cli/services/commands/search.test.js +2 -2
- package/dist/cli/services/commands/version.js +3 -3
- package/dist/cli/services/commands/version.test.js +4 -4
- package/dist/cli/services/kitchen-sink/async.js +2 -2
- package/dist/cli/services/kitchen-sink/prompts.js +2 -2
- package/dist/cli/services/kitchen-sink/static.js +2 -2
- package/dist/cli/services/upgrade.js +3 -3
- package/dist/cli/services/upgrade.test.js +4 -4
- package/dist/{custom-oclif-loader-ZMH2MAPE.js → custom-oclif-loader-SNCTJFAW.js} +2 -2
- package/dist/data/filters.json +108 -1
- package/dist/data/latest.json +1 -1
- package/dist/data/objects.json +143 -1
- package/dist/data/setting.json +6 -1
- package/dist/data/tags.json +30 -18
- package/dist/{error-handler-7Z6N6VQJ.js → error-handler-KC5QI22K.js} +8 -8
- package/dist/hooks/postrun.js +6 -6
- package/dist/hooks/prerun.js +7 -7
- package/dist/index.js +980 -767
- package/dist/{local-LWMJQBFZ.js → local-BE7LTPTW.js} +2 -2
- package/dist/{node-JJXJUMVQ.js → node-D2EIZN3I.js} +12 -12
- package/dist/{node-package-manager-BZGMCXZM.js → node-package-manager-URP7ZOL6.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-IJDVK4OG.js → ui-UWCAHSHB.js} +2 -2
- package/dist/{workerd-XA4WKUCO.js → workerd-IJSWR4MJ.js} +12 -12
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
supressNodeExperimentalWarnings,
|
|
136
136
|
unsetStorefront,
|
|
137
137
|
waitForJob
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-LD7EUWUQ.js";
|
|
139
139
|
import {
|
|
140
140
|
require_ms,
|
|
141
141
|
require_src
|
|
@@ -154,69 +154,69 @@ import {
|
|
|
154
154
|
} from "./chunk-MW7RWHY5.js";
|
|
155
155
|
import {
|
|
156
156
|
List
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-BD4DMB7P.js";
|
|
158
158
|
import {
|
|
159
159
|
Search
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-PRNDW4A4.js";
|
|
161
161
|
import {
|
|
162
162
|
Upgrade
|
|
163
|
-
} from "./chunk-
|
|
164
|
-
import "./chunk-
|
|
163
|
+
} from "./chunk-IEJMNCLB.js";
|
|
164
|
+
import "./chunk-HHVCEPRF.js";
|
|
165
165
|
import {
|
|
166
166
|
Version
|
|
167
|
-
} from "./chunk-
|
|
168
|
-
import "./chunk-
|
|
169
|
-
import "./chunk-
|
|
167
|
+
} from "./chunk-FUEMEAJ6.js";
|
|
168
|
+
import "./chunk-MQV3MC5Y.js";
|
|
169
|
+
import "./chunk-PMA5QAUF.js";
|
|
170
170
|
import {
|
|
171
171
|
KitchenSinkAll
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-M5F4CXDR.js";
|
|
173
173
|
import {
|
|
174
174
|
KitchenSinkPrompts
|
|
175
|
-
} from "./chunk-
|
|
176
|
-
import "./chunk-
|
|
175
|
+
} from "./chunk-ZEHIERTA.js";
|
|
176
|
+
import "./chunk-X6UFRMT6.js";
|
|
177
177
|
import {
|
|
178
178
|
KitchenSinkStatic
|
|
179
|
-
} from "./chunk-
|
|
180
|
-
import "./chunk-
|
|
179
|
+
} from "./chunk-PLILKCK3.js";
|
|
180
|
+
import "./chunk-WN4KLPHC.js";
|
|
181
181
|
import {
|
|
182
182
|
Generate
|
|
183
|
-
} from "./chunk-
|
|
184
|
-
import "./chunk-
|
|
183
|
+
} from "./chunk-MAWOPVTD.js";
|
|
184
|
+
import "./chunk-G2H4UKYT.js";
|
|
185
185
|
import {
|
|
186
186
|
Logout
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-UZADGPF5.js";
|
|
188
188
|
import {
|
|
189
189
|
ensureAuthenticatedAdmin,
|
|
190
190
|
ensureAuthenticatedAppManagementAndBusinessPlatform,
|
|
191
191
|
ensureAuthenticatedPartners,
|
|
192
192
|
ensureAuthenticatedStorefront,
|
|
193
193
|
ensureAuthenticatedThemes
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-VSYHQUMS.js";
|
|
195
195
|
import {
|
|
196
196
|
ClearCache,
|
|
197
197
|
globalFlags,
|
|
198
198
|
jsonFlag,
|
|
199
199
|
runCLI
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-Y4DB5LTR.js";
|
|
201
201
|
import {
|
|
202
202
|
CommandFlags
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-FBLZEAHG.js";
|
|
204
204
|
import {
|
|
205
205
|
DocsGenerate
|
|
206
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-ZZG4I4Y2.js";
|
|
207
207
|
import {
|
|
208
208
|
HelpCommand
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-6G4NC476.js";
|
|
210
210
|
import {
|
|
211
211
|
KitchenSinkAsync
|
|
212
|
-
} from "./chunk-
|
|
213
|
-
import "./chunk-
|
|
212
|
+
} from "./chunk-63BE7GDY.js";
|
|
213
|
+
import "./chunk-IUNLWSXD.js";
|
|
214
214
|
import {
|
|
215
215
|
base_command_default,
|
|
216
216
|
decodeToml,
|
|
217
217
|
encodeToml,
|
|
218
218
|
loadEnvironment
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-JYRZAF2V.js";
|
|
220
220
|
import {
|
|
221
221
|
require_byline,
|
|
222
222
|
require_end_of_stream,
|
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
require_iserror,
|
|
225
225
|
require_pump,
|
|
226
226
|
require_stack_generator
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-W2I3UPYU.js";
|
|
228
228
|
import {
|
|
229
229
|
require_once
|
|
230
230
|
} from "./chunk-SHWOPMLQ.js";
|
|
@@ -232,7 +232,7 @@ import {
|
|
|
232
232
|
fanoutHooks,
|
|
233
233
|
getListOfTunnelPlugins,
|
|
234
234
|
reportAnalyticsEvent
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-WAVVSCTB.js";
|
|
236
236
|
import {
|
|
237
237
|
appDevFqdn,
|
|
238
238
|
appManagementFqdn,
|
|
@@ -242,10 +242,10 @@ import {
|
|
|
242
242
|
normalizeStoreFqdn,
|
|
243
243
|
ok,
|
|
244
244
|
partnersFqdn
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-77YUNYVM.js";
|
|
246
246
|
import {
|
|
247
247
|
showNotificationsIfNeeded
|
|
248
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-MDJIPIDQ.js";
|
|
249
249
|
import {
|
|
250
250
|
ClientError,
|
|
251
251
|
FetchError,
|
|
@@ -267,11 +267,11 @@ import {
|
|
|
267
267
|
require_mime_types,
|
|
268
268
|
shopifyFetch,
|
|
269
269
|
z
|
|
270
|
-
} from "./chunk-
|
|
270
|
+
} from "./chunk-OJYLAVCF.js";
|
|
271
271
|
import "./chunk-25IMI7TH.js";
|
|
272
272
|
import {
|
|
273
273
|
CLI_KIT_VERSION
|
|
274
|
-
} from "./chunk-
|
|
274
|
+
} from "./chunk-DV2YYPEI.js";
|
|
275
275
|
import {
|
|
276
276
|
LocalStorage,
|
|
277
277
|
UnknownPackageManagerError,
|
|
@@ -295,7 +295,7 @@ import {
|
|
|
295
295
|
usesWorkspaces,
|
|
296
296
|
versionSatisfies,
|
|
297
297
|
writePackageJSON
|
|
298
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-JAKMNE2C.js";
|
|
299
299
|
import {
|
|
300
300
|
AbortController as AbortController2,
|
|
301
301
|
AbortError,
|
|
@@ -504,7 +504,7 @@ import {
|
|
|
504
504
|
username,
|
|
505
505
|
writeFile,
|
|
506
506
|
writeFileSync
|
|
507
|
-
} from "./chunk-
|
|
507
|
+
} from "./chunk-T3I7QQ2S.js";
|
|
508
508
|
import {
|
|
509
509
|
require_semver
|
|
510
510
|
} from "./chunk-HMDWNGIV.js";
|
|
@@ -2692,9 +2692,9 @@ var require_dist = __commonJS({
|
|
|
2692
2692
|
}
|
|
2693
2693
|
});
|
|
2694
2694
|
|
|
2695
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2695
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/object.js
|
|
2696
2696
|
var require_object = __commonJS({
|
|
2697
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2697
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/object.js"(exports) {
|
|
2698
2698
|
"use strict";
|
|
2699
2699
|
init_cjs_shims();
|
|
2700
2700
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -2706,9 +2706,9 @@ var require_object = __commonJS({
|
|
|
2706
2706
|
}
|
|
2707
2707
|
});
|
|
2708
2708
|
|
|
2709
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2709
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/array.js
|
|
2710
2710
|
var require_array = __commonJS({
|
|
2711
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2711
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/array.js"(exports) {
|
|
2712
2712
|
"use strict";
|
|
2713
2713
|
init_cjs_shims();
|
|
2714
2714
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -2820,9 +2820,9 @@ var require_line_column = __commonJS({
|
|
|
2820
2820
|
}
|
|
2821
2821
|
});
|
|
2822
2822
|
|
|
2823
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2823
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/position.js
|
|
2824
2824
|
var require_position = __commonJS({
|
|
2825
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2825
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/position.js"(exports) {
|
|
2826
2826
|
"use strict";
|
|
2827
2827
|
init_cjs_shims();
|
|
2828
2828
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -2847,9 +2847,9 @@ var require_position = __commonJS({
|
|
|
2847
2847
|
}
|
|
2848
2848
|
});
|
|
2849
2849
|
|
|
2850
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2850
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/error.js
|
|
2851
2851
|
var require_error = __commonJS({
|
|
2852
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2852
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/error.js"(exports) {
|
|
2853
2853
|
"use strict";
|
|
2854
2854
|
init_cjs_shims();
|
|
2855
2855
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -2886,9 +2886,9 @@ var require_error = __commonJS({
|
|
|
2886
2886
|
}
|
|
2887
2887
|
});
|
|
2888
2888
|
|
|
2889
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2889
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/types.js
|
|
2890
2890
|
var require_types = __commonJS({
|
|
2891
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2891
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/types.js"(exports) {
|
|
2892
2892
|
"use strict";
|
|
2893
2893
|
init_cjs_shims();
|
|
2894
2894
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -2900,9 +2900,9 @@ var require_types = __commonJS({
|
|
|
2900
2900
|
}
|
|
2901
2901
|
});
|
|
2902
2902
|
|
|
2903
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2903
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/memo.js
|
|
2904
2904
|
var require_memo = __commonJS({
|
|
2905
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2905
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/memo.js"(exports) {
|
|
2906
2906
|
"use strict";
|
|
2907
2907
|
init_cjs_shims();
|
|
2908
2908
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -2929,9 +2929,9 @@ var require_memo = __commonJS({
|
|
|
2929
2929
|
}
|
|
2930
2930
|
});
|
|
2931
2931
|
|
|
2932
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2932
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/indexBy.js
|
|
2933
2933
|
var require_indexBy = __commonJS({
|
|
2934
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
2934
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/indexBy.js"(exports) {
|
|
2935
2935
|
"use strict";
|
|
2936
2936
|
init_cjs_shims();
|
|
2937
2937
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -4009,9 +4009,9 @@ var createScanner2, ScanError, SyntaxKind, getLocation2, parse2, parseTree2, fin
|
|
|
4009
4009
|
}
|
|
4010
4010
|
});
|
|
4011
4011
|
|
|
4012
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4012
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/json.js
|
|
4013
4013
|
var require_json = __commonJS({
|
|
4014
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4014
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/json.js"(exports) {
|
|
4015
4015
|
"use strict";
|
|
4016
4016
|
init_cjs_shims();
|
|
4017
4017
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -4082,9 +4082,9 @@ var require_node_ponyfill = __commonJS({
|
|
|
4082
4082
|
}
|
|
4083
4083
|
});
|
|
4084
4084
|
|
|
4085
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4085
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/file-utils.js
|
|
4086
4086
|
var require_file_utils = __commonJS({
|
|
4087
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4087
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/file-utils.js"(exports) {
|
|
4088
4088
|
"use strict";
|
|
4089
4089
|
init_cjs_shims();
|
|
4090
4090
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -4129,9 +4129,9 @@ var require_file_utils = __commonJS({
|
|
|
4129
4129
|
}
|
|
4130
4130
|
});
|
|
4131
4131
|
|
|
4132
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4132
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/block.js
|
|
4133
4133
|
var require_block = __commonJS({
|
|
4134
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4134
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/block.js"(exports) {
|
|
4135
4135
|
"use strict";
|
|
4136
4136
|
init_cjs_shims();
|
|
4137
4137
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -4228,9 +4228,9 @@ var require_block = __commonJS({
|
|
|
4228
4228
|
}
|
|
4229
4229
|
});
|
|
4230
4230
|
|
|
4231
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4231
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/index.js
|
|
4232
4232
|
var require_utils = __commonJS({
|
|
4233
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4233
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/index.js"(exports) {
|
|
4234
4234
|
"use strict";
|
|
4235
4235
|
init_cjs_shims();
|
|
4236
4236
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -4256,14 +4256,24 @@ var require_utils = __commonJS({
|
|
|
4256
4256
|
}
|
|
4257
4257
|
});
|
|
4258
4258
|
|
|
4259
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4259
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/AugmentedThemeDocset.js
|
|
4260
4260
|
var require_AugmentedThemeDocset = __commonJS({
|
|
4261
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
4261
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/AugmentedThemeDocset.js"(exports) {
|
|
4262
4262
|
"use strict";
|
|
4263
4263
|
init_cjs_shims();
|
|
4264
4264
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
4265
4265
|
exports.AugmentedThemeDocset = void 0;
|
|
4266
|
-
var utils_1 = require_utils(), toFilterEntry = (name) => ({ name }), aliasedFilters = [
|
|
4266
|
+
var utils_1 = require_utils(), toFilterEntry = (name) => ({ name }), aliasedFilters = [
|
|
4267
|
+
["camelcase", "camelize"],
|
|
4268
|
+
["handle", "handleize"],
|
|
4269
|
+
["t", "translate"]
|
|
4270
|
+
], toAliasedFilterEntry = (entries) => ([alias, baseName]) => {
|
|
4271
|
+
let baseEntry = entries.find((entry) => entry.name === baseName);
|
|
4272
|
+
return baseEntry ? {
|
|
4273
|
+
...baseEntry,
|
|
4274
|
+
name: alias
|
|
4275
|
+
} : toFilterEntry(alias);
|
|
4276
|
+
}, undocumentedFilters = [
|
|
4267
4277
|
"_online_store_editor_live_setting",
|
|
4268
4278
|
"addresses_url",
|
|
4269
4279
|
"app_block_path?",
|
|
@@ -4320,11 +4330,14 @@ var require_AugmentedThemeDocset = __commonJS({
|
|
|
4320
4330
|
{ type: "string", name: "" }
|
|
4321
4331
|
])), toTagEntry = (name) => ({ name }), undocumentedTags = ["elsif", "ifchanged", "when", "schema"], AugmentedThemeDocset = class {
|
|
4322
4332
|
constructor(themeDocset) {
|
|
4323
|
-
this.themeDocset = themeDocset, this.isAugmented = !0, this.filters = (0, utils_1.memo)(async () =>
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4333
|
+
this.themeDocset = themeDocset, this.isAugmented = !0, this.filters = (0, utils_1.memo)(async () => {
|
|
4334
|
+
let officialFilters = await this.themeDocset.filters();
|
|
4335
|
+
return [
|
|
4336
|
+
...officialFilters,
|
|
4337
|
+
...aliasedFilters.map(toAliasedFilterEntry(officialFilters)),
|
|
4338
|
+
...undocumentedFilters.map(toFilterEntry)
|
|
4339
|
+
];
|
|
4340
|
+
}), this.objects = (0, utils_1.memo)(async () => [
|
|
4328
4341
|
...await this.themeDocset.objects(),
|
|
4329
4342
|
...undocumentedObjects.map((obj) => toObjectEntry(obj)),
|
|
4330
4343
|
...legacyCheckoutEntries
|
|
@@ -9147,9 +9160,9 @@ var init_jsonLanguageService = __esm({
|
|
|
9147
9160
|
}
|
|
9148
9161
|
});
|
|
9149
9162
|
|
|
9150
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9163
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/JSONValidator.js
|
|
9151
9164
|
var require_JSONValidator = __commonJS({
|
|
9152
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9165
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/JSONValidator.js"(exports) {
|
|
9153
9166
|
"use strict";
|
|
9154
9167
|
init_cjs_shims();
|
|
9155
9168
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -9578,9 +9591,9 @@ var require_umd = __commonJS({
|
|
|
9578
9591
|
}
|
|
9579
9592
|
});
|
|
9580
9593
|
|
|
9581
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9594
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/AbstractFileSystem.js
|
|
9582
9595
|
var require_AbstractFileSystem = __commonJS({
|
|
9583
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9596
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/AbstractFileSystem.js"(exports) {
|
|
9584
9597
|
"use strict";
|
|
9585
9598
|
init_cjs_shims();
|
|
9586
9599
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -9592,9 +9605,9 @@ var require_AbstractFileSystem = __commonJS({
|
|
|
9592
9605
|
}
|
|
9593
9606
|
});
|
|
9594
9607
|
|
|
9595
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9608
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/path.js
|
|
9596
9609
|
var require_path = __commonJS({
|
|
9597
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
9610
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/path.js"(exports) {
|
|
9598
9611
|
"use strict";
|
|
9599
9612
|
init_cjs_shims();
|
|
9600
9613
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -15998,18 +16011,18 @@ var require_dist2 = __commonJS({
|
|
|
15998
16011
|
}
|
|
15999
16012
|
});
|
|
16000
16013
|
|
|
16001
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16014
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/jsonc/types.js
|
|
16002
16015
|
var require_types3 = __commonJS({
|
|
16003
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16016
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/jsonc/types.js"(exports) {
|
|
16004
16017
|
"use strict";
|
|
16005
16018
|
init_cjs_shims();
|
|
16006
16019
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
16007
16020
|
}
|
|
16008
16021
|
});
|
|
16009
16022
|
|
|
16010
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16023
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schema-prop-factory.js
|
|
16011
16024
|
var require_schema_prop_factory = __commonJS({
|
|
16012
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16025
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schema-prop-factory.js"(exports) {
|
|
16013
16026
|
"use strict";
|
|
16014
16027
|
init_cjs_shims();
|
|
16015
16028
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -16090,27 +16103,27 @@ var require_schema_prop_factory = __commonJS({
|
|
|
16090
16103
|
}
|
|
16091
16104
|
});
|
|
16092
16105
|
|
|
16093
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16106
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/theme-liquid-docs.js
|
|
16094
16107
|
var require_theme_liquid_docs = __commonJS({
|
|
16095
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16108
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/theme-liquid-docs.js"(exports) {
|
|
16096
16109
|
"use strict";
|
|
16097
16110
|
init_cjs_shims();
|
|
16098
16111
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
16099
16112
|
}
|
|
16100
16113
|
});
|
|
16101
16114
|
|
|
16102
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16115
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schemas/setting.js
|
|
16103
16116
|
var require_setting = __commonJS({
|
|
16104
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16117
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schemas/setting.js"(exports) {
|
|
16105
16118
|
"use strict";
|
|
16106
16119
|
init_cjs_shims();
|
|
16107
16120
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
16108
16121
|
}
|
|
16109
16122
|
});
|
|
16110
16123
|
|
|
16111
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16124
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schemas/index.js
|
|
16112
16125
|
var require_schemas = __commonJS({
|
|
16113
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16126
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/schemas/index.js"(exports) {
|
|
16114
16127
|
"use strict";
|
|
16115
16128
|
init_cjs_shims();
|
|
16116
16129
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -16122,9 +16135,9 @@ var require_schemas = __commonJS({
|
|
|
16122
16135
|
}
|
|
16123
16136
|
});
|
|
16124
16137
|
|
|
16125
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16138
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/theme-schemas.js
|
|
16126
16139
|
var require_theme_schemas = __commonJS({
|
|
16127
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16140
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types/theme-schemas.js"(exports) {
|
|
16128
16141
|
"use strict";
|
|
16129
16142
|
init_cjs_shims();
|
|
16130
16143
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -16148,9 +16161,9 @@ var require_theme_schemas = __commonJS({
|
|
|
16148
16161
|
}
|
|
16149
16162
|
});
|
|
16150
16163
|
|
|
16151
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16164
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types.js
|
|
16152
16165
|
var require_types4 = __commonJS({
|
|
16153
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16166
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/types.js"(exports) {
|
|
16154
16167
|
"use strict";
|
|
16155
16168
|
init_cjs_shims();
|
|
16156
16169
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -16200,9 +16213,9 @@ var require_types4 = __commonJS({
|
|
|
16200
16213
|
}
|
|
16201
16214
|
});
|
|
16202
16215
|
|
|
16203
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16216
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/context-utils.js
|
|
16204
16217
|
var require_context_utils = __commonJS({
|
|
16205
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16218
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/context-utils.js"(exports) {
|
|
16206
16219
|
"use strict";
|
|
16207
16220
|
init_cjs_shims();
|
|
16208
16221
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -16343,27 +16356,98 @@ var require_context_utils = __commonJS({
|
|
|
16343
16356
|
}
|
|
16344
16357
|
});
|
|
16345
16358
|
|
|
16346
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16359
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitor.js
|
|
16360
|
+
var require_visitor = __commonJS({
|
|
16361
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitor.js"(exports) {
|
|
16362
|
+
"use strict";
|
|
16363
|
+
init_cjs_shims();
|
|
16364
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
16365
|
+
exports.findCurrentNode = exports.forEachChildNodes = exports.visit = void 0;
|
|
16366
|
+
var liquid_html_parser_1 = require_dist2();
|
|
16367
|
+
function isNode2(x) {
|
|
16368
|
+
return x !== null && typeof x == "object" && typeof x.type == "string";
|
|
16369
|
+
}
|
|
16370
|
+
function visit3(node, visitor) {
|
|
16371
|
+
let results = [], stack = [{ node, lineage: [] }], pushStack = (node2, lineage) => stack.push({ node: node2, lineage });
|
|
16372
|
+
for (; stack.length > 0; ) {
|
|
16373
|
+
let { node: node2, lineage } = stack.pop(), visitNode = visitor[node2.type], result = visitNode ? visitNode(node2, lineage) : void 0;
|
|
16374
|
+
Array.isArray(result) ? results.push(...result) : result !== void 0 && results.push(result), forEachChildNodes(node2, lineage.concat(node2), pushStack);
|
|
16375
|
+
}
|
|
16376
|
+
return results;
|
|
16377
|
+
}
|
|
16378
|
+
exports.visit = visit3;
|
|
16379
|
+
function forEachChildNodes(node, lineage, execute) {
|
|
16380
|
+
for (let value of Object.values(node))
|
|
16381
|
+
if (Array.isArray(value))
|
|
16382
|
+
for (let i = value.length - 1; i >= 0; i--)
|
|
16383
|
+
execute(value[i], lineage);
|
|
16384
|
+
else isNode2(value) && execute(value, lineage);
|
|
16385
|
+
}
|
|
16386
|
+
exports.forEachChildNodes = forEachChildNodes;
|
|
16387
|
+
function findCurrentNode(ast, cursorPosition) {
|
|
16388
|
+
let prev, current = ast, ancestors = [];
|
|
16389
|
+
for (; current !== prev; )
|
|
16390
|
+
prev = current, forEachChildNodes(current, ancestors.concat(current), (child, lineage) => {
|
|
16391
|
+
(isUnclosed(child) || isCovered(child, cursorPosition) && size(child) <= size(current)) && (current = child, ancestors = lineage);
|
|
16392
|
+
});
|
|
16393
|
+
return [current, ancestors];
|
|
16394
|
+
}
|
|
16395
|
+
exports.findCurrentNode = findCurrentNode;
|
|
16396
|
+
function isCovered(node, offset) {
|
|
16397
|
+
switch (node.type) {
|
|
16398
|
+
// `product.█title` should cover `title`
|
|
16399
|
+
case liquid_html_parser_1.NodeTypes.String:
|
|
16400
|
+
// `if █cond` should cover `cond`
|
|
16401
|
+
case liquid_html_parser_1.NodeTypes.VariableLookup:
|
|
16402
|
+
// `if █cond and other` should cover `cond`
|
|
16403
|
+
case liquid_html_parser_1.NodeTypes.LogicalExpression:
|
|
16404
|
+
// `if █cond < other` should cover `cond`
|
|
16405
|
+
case liquid_html_parser_1.NodeTypes.Comparison:
|
|
16406
|
+
return node.position.start <= offset && offset <= node.position.end;
|
|
16407
|
+
// default case avoids ambiguity by having the cursor in the [excluded, included] range
|
|
16408
|
+
default:
|
|
16409
|
+
return node.position.start < offset && offset <= node.position.end;
|
|
16410
|
+
}
|
|
16411
|
+
}
|
|
16412
|
+
function size(node) {
|
|
16413
|
+
return node.position.end - node.position.start;
|
|
16414
|
+
}
|
|
16415
|
+
function isUnclosed(node) {
|
|
16416
|
+
var _a42;
|
|
16417
|
+
return "blockEndPosition" in node ? ((_a42 = node.blockEndPosition) === null || _a42 === void 0 ? void 0 : _a42.end) === -1 : "children" in node ? node.children.length > 0 : !1;
|
|
16418
|
+
}
|
|
16419
|
+
}
|
|
16420
|
+
});
|
|
16421
|
+
|
|
16422
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/disabled-checks/index.js
|
|
16347
16423
|
var require_disabled_checks = __commonJS({
|
|
16348
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
16424
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/disabled-checks/index.js"(exports) {
|
|
16349
16425
|
"use strict";
|
|
16350
16426
|
init_cjs_shims();
|
|
16351
16427
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
16352
|
-
exports.createDisabledChecksModule = void 0;
|
|
16428
|
+
exports.findNextLinePosition = exports.createDisabledChecksModule = void 0;
|
|
16429
|
+
var types_1 = require_types4(), visitor_1 = require_visitor(), utils_1 = require_utils();
|
|
16353
16430
|
function createDisabledChecksModule() {
|
|
16354
16431
|
let SPECIFIC_CHECK_NOT_DEFINED = "@all", INLINE_COMMENT_TAG = "#", disabledChecks = /* @__PURE__ */ new Map();
|
|
16355
|
-
function determineRanges(
|
|
16356
|
-
let [_3, command, checksJoined] = value.trim().match(/^(?:theme\-check\-(disable|enable)) ?(.*)/) || [];
|
|
16432
|
+
function determineRanges(file, value, node) {
|
|
16433
|
+
let [_3, command, checksJoined] = value.trim().match(/^(?:theme\-check\-(disable-next-line|disable|enable)) ?(.*)/) || [];
|
|
16357
16434
|
(checksJoined ? checksJoined.split(/,[ ]*/) : [SPECIFIC_CHECK_NOT_DEFINED]).forEach((check2) => {
|
|
16358
|
-
let disabledRanges = disabledChecks.get(uri);
|
|
16359
|
-
if (command === "disable" && (
|
|
16435
|
+
let disabledRanges = disabledChecks.get(file.uri);
|
|
16436
|
+
if (command === "disable-next-line" && !(0, utils_1.isError)(file.ast)) {
|
|
16437
|
+
let nextLinePosition = findNextLinePosition(file.ast, node);
|
|
16438
|
+
nextLinePosition && (disabledRanges.has(check2) || disabledRanges.set(check2, []), disabledRanges.get(check2).push({
|
|
16439
|
+
from: nextLinePosition.start,
|
|
16440
|
+
to: nextLinePosition.end
|
|
16441
|
+
}));
|
|
16442
|
+
}
|
|
16443
|
+
if (command === "disable" && (disabledRanges.has(check2) || disabledRanges.set(check2, []), disabledRanges.get(check2).push({ from: node.position.end })), command === "enable") {
|
|
16360
16444
|
let disabledRangesForCheck = disabledRanges.get(check2);
|
|
16361
16445
|
if (disabledRangesForCheck)
|
|
16362
|
-
disabledRangesForCheck[disabledRangesForCheck.length - 1].to = position.start;
|
|
16446
|
+
disabledRangesForCheck[disabledRangesForCheck.length - 1].to = node.position.start;
|
|
16363
16447
|
else if (check2 === SPECIFIC_CHECK_NOT_DEFINED)
|
|
16364
16448
|
for (let ranges of disabledRanges.values())
|
|
16365
16449
|
for (let range of ranges)
|
|
16366
|
-
range.to || (range.to = position.start);
|
|
16450
|
+
range.to || (range.to = node.position.start);
|
|
16367
16451
|
}
|
|
16368
16452
|
});
|
|
16369
16453
|
}
|
|
@@ -16374,10 +16458,10 @@ var require_disabled_checks = __commonJS({
|
|
|
16374
16458
|
disabledChecks.set(file.uri, /* @__PURE__ */ new Map());
|
|
16375
16459
|
},
|
|
16376
16460
|
async LiquidRawTag(node) {
|
|
16377
|
-
node.name === "comment" && determineRanges(file
|
|
16461
|
+
node.name === "comment" && determineRanges(file, node.body.value, node);
|
|
16378
16462
|
},
|
|
16379
16463
|
async LiquidTag(node) {
|
|
16380
|
-
typeof node.markup != "string" || node.name !== INLINE_COMMENT_TAG || determineRanges(file
|
|
16464
|
+
typeof node.markup != "string" || node.name !== INLINE_COMMENT_TAG || determineRanges(file, node.markup, node);
|
|
16381
16465
|
}
|
|
16382
16466
|
})
|
|
16383
16467
|
};
|
|
@@ -16390,6 +16474,20 @@ var require_disabled_checks = __commonJS({
|
|
|
16390
16474
|
};
|
|
16391
16475
|
}
|
|
16392
16476
|
exports.createDisabledChecksModule = createDisabledChecksModule;
|
|
16477
|
+
function findNextLinePosition(ast, node) {
|
|
16478
|
+
let [currentNode, ancestors] = (0, visitor_1.findCurrentNode)(ast, node.position.end), parentNode = ancestors.at(-1), grandParentNode = ancestors.at(-2), nextNode = getNextNode(parentNode, currentNode);
|
|
16479
|
+
if (!(!nextNode && (parentNode && (nextNode = getNextNode(grandParentNode, parentNode)), !nextNode)))
|
|
16480
|
+
return "blockStartPosition" in nextNode ? nextNode.blockStartPosition : nextNode.position;
|
|
16481
|
+
}
|
|
16482
|
+
exports.findNextLinePosition = findNextLinePosition;
|
|
16483
|
+
function getNextNode(parentNode, node) {
|
|
16484
|
+
if (!parentNode)
|
|
16485
|
+
return;
|
|
16486
|
+
let siblingNodes = [];
|
|
16487
|
+
parentNode.type === types_1.LiquidHtmlNodeTypes.LiquidTag && Array.isArray(parentNode.markup) ? siblingNodes = parentNode.markup : "children" in parentNode && (siblingNodes = parentNode.children || []);
|
|
16488
|
+
let currentNodeIdx = siblingNodes.findIndex((c) => c === node);
|
|
16489
|
+
return currentNodeIdx === -1 ? void 0 : siblingNodes.at(currentNodeIdx + 1);
|
|
16490
|
+
}
|
|
16393
16491
|
}
|
|
16394
16492
|
});
|
|
16395
16493
|
|
|
@@ -17312,9 +17410,9 @@ globstar while`, file, fr, pattern, pr, swallowee), this.matchOne(file.slice(fr)
|
|
|
17312
17410
|
}
|
|
17313
17411
|
});
|
|
17314
17412
|
|
|
17315
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17413
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/ignore.js
|
|
17316
17414
|
var require_ignore2 = __commonJS({
|
|
17317
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17415
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/ignore.js"(exports) {
|
|
17318
17416
|
"use strict";
|
|
17319
17417
|
init_cjs_shims();
|
|
17320
17418
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17334,9 +17432,9 @@ var require_ignore2 = __commonJS({
|
|
|
17334
17432
|
}
|
|
17335
17433
|
});
|
|
17336
17434
|
|
|
17337
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17435
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/liquid.js
|
|
17338
17436
|
var require_liquid = __commonJS({
|
|
17339
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17437
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/liquid.js"(exports) {
|
|
17340
17438
|
"use strict";
|
|
17341
17439
|
init_cjs_shims();
|
|
17342
17440
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17368,9 +17466,9 @@ var require_liquid = __commonJS({
|
|
|
17368
17466
|
}
|
|
17369
17467
|
});
|
|
17370
17468
|
|
|
17371
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17469
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/json.js
|
|
17372
17470
|
var require_json2 = __commonJS({
|
|
17373
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17471
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/json.js"(exports) {
|
|
17374
17472
|
"use strict";
|
|
17375
17473
|
init_cjs_shims();
|
|
17376
17474
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17402,9 +17500,9 @@ var require_json2 = __commonJS({
|
|
|
17402
17500
|
}
|
|
17403
17501
|
});
|
|
17404
17502
|
|
|
17405
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17503
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/index.js
|
|
17406
17504
|
var require_visitors = __commonJS({
|
|
17407
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17505
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/visitors/index.js"(exports) {
|
|
17408
17506
|
"use strict";
|
|
17409
17507
|
init_cjs_shims();
|
|
17410
17508
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17420,9 +17518,9 @@ var require_visitors = __commonJS({
|
|
|
17420
17518
|
}
|
|
17421
17519
|
});
|
|
17422
17520
|
|
|
17423
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17521
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/app-block-valid-tags/index.js
|
|
17424
17522
|
var require_app_block_valid_tags = __commonJS({
|
|
17425
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17523
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/app-block-valid-tags/index.js"(exports) {
|
|
17426
17524
|
"use strict";
|
|
17427
17525
|
init_cjs_shims();
|
|
17428
17526
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17462,9 +17560,9 @@ var require_app_block_valid_tags = __commonJS({
|
|
|
17462
17560
|
}
|
|
17463
17561
|
});
|
|
17464
17562
|
|
|
17465
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17563
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/utils.js
|
|
17466
17564
|
var require_utils3 = __commonJS({
|
|
17467
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17565
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/utils.js"(exports) {
|
|
17468
17566
|
"use strict";
|
|
17469
17567
|
init_cjs_shims();
|
|
17470
17568
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17523,9 +17621,9 @@ var require_utils3 = __commonJS({
|
|
|
17523
17621
|
}
|
|
17524
17622
|
});
|
|
17525
17623
|
|
|
17526
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17624
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-preload/index.js
|
|
17527
17625
|
var require_asset_preload = __commonJS({
|
|
17528
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17626
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-preload/index.js"(exports) {
|
|
17529
17627
|
"use strict";
|
|
17530
17628
|
init_cjs_shims();
|
|
17531
17629
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17568,9 +17666,9 @@ var require_asset_preload = __commonJS({
|
|
|
17568
17666
|
}
|
|
17569
17667
|
});
|
|
17570
17668
|
|
|
17571
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17669
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-app-block-css/index.js
|
|
17572
17670
|
var require_asset_size_app_block_css = __commonJS({
|
|
17573
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17671
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-app-block-css/index.js"(exports) {
|
|
17574
17672
|
"use strict";
|
|
17575
17673
|
init_cjs_shims();
|
|
17576
17674
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17625,9 +17723,9 @@ var require_asset_size_app_block_css = __commonJS({
|
|
|
17625
17723
|
}
|
|
17626
17724
|
});
|
|
17627
17725
|
|
|
17628
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17726
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-app-block-javascript/index.js
|
|
17629
17727
|
var require_asset_size_app_block_javascript = __commonJS({
|
|
17630
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17728
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-app-block-javascript/index.js"(exports) {
|
|
17631
17729
|
"use strict";
|
|
17632
17730
|
init_cjs_shims();
|
|
17633
17731
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17682,9 +17780,9 @@ var require_asset_size_app_block_javascript = __commonJS({
|
|
|
17682
17780
|
}
|
|
17683
17781
|
});
|
|
17684
17782
|
|
|
17685
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17783
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-css/index.js
|
|
17686
17784
|
var require_asset_size_css = __commonJS({
|
|
17687
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17785
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-css/index.js"(exports) {
|
|
17688
17786
|
"use strict";
|
|
17689
17787
|
init_cjs_shims();
|
|
17690
17788
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17774,9 +17872,9 @@ var require_asset_size_css = __commonJS({
|
|
|
17774
17872
|
}
|
|
17775
17873
|
});
|
|
17776
17874
|
|
|
17777
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17875
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-javascript/index.js
|
|
17778
17876
|
var require_asset_size_javascript = __commonJS({
|
|
17779
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17877
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/asset-size-javascript/index.js"(exports) {
|
|
17780
17878
|
"use strict";
|
|
17781
17879
|
init_cjs_shims();
|
|
17782
17880
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17865,9 +17963,9 @@ var require_asset_size_javascript = __commonJS({
|
|
|
17865
17963
|
}
|
|
17866
17964
|
});
|
|
17867
17965
|
|
|
17868
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17966
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/block-id-usage/index.js
|
|
17869
17967
|
var require_block_id_usage = __commonJS({
|
|
17870
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
17968
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/block-id-usage/index.js"(exports) {
|
|
17871
17969
|
"use strict";
|
|
17872
17970
|
init_cjs_shims();
|
|
17873
17971
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17918,9 +18016,9 @@ var require_block_id_usage = __commonJS({
|
|
|
17918
18016
|
}
|
|
17919
18017
|
});
|
|
17920
18018
|
|
|
17921
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18019
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/capture-on-content-for-block/index.js
|
|
17922
18020
|
var require_capture_on_content_for_block = __commonJS({
|
|
17923
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18021
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/capture-on-content-for-block/index.js"(exports) {
|
|
17924
18022
|
"use strict";
|
|
17925
18023
|
init_cjs_shims();
|
|
17926
18024
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17957,9 +18055,9 @@ var require_capture_on_content_for_block = __commonJS({
|
|
|
17957
18055
|
}
|
|
17958
18056
|
});
|
|
17959
18057
|
|
|
17960
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18058
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/cdn-preconnect/index.js
|
|
17961
18059
|
var require_cdn_preconnect = __commonJS({
|
|
17962
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18060
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/cdn-preconnect/index.js"(exports) {
|
|
17963
18061
|
"use strict";
|
|
17964
18062
|
init_cjs_shims();
|
|
17965
18063
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -17994,9 +18092,9 @@ var require_cdn_preconnect = __commonJS({
|
|
|
17994
18092
|
}
|
|
17995
18093
|
});
|
|
17996
18094
|
|
|
17997
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18095
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/content-for-header-modification/index.js
|
|
17998
18096
|
var require_content_for_header_modification = __commonJS({
|
|
17999
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18097
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/content-for-header-modification/index.js"(exports) {
|
|
18000
18098
|
"use strict";
|
|
18001
18099
|
init_cjs_shims();
|
|
18002
18100
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -18052,9 +18150,9 @@ var require_content_for_header_modification = __commonJS({
|
|
|
18052
18150
|
}
|
|
18053
18151
|
});
|
|
18054
18152
|
|
|
18055
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18153
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecate-bgsizes/index.js
|
|
18056
18154
|
var require_deprecate_bgsizes = __commonJS({
|
|
18057
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18155
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecate-bgsizes/index.js"(exports) {
|
|
18058
18156
|
"use strict";
|
|
18059
18157
|
init_cjs_shims();
|
|
18060
18158
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -18099,9 +18197,9 @@ var require_deprecate_bgsizes = __commonJS({
|
|
|
18099
18197
|
}
|
|
18100
18198
|
});
|
|
18101
18199
|
|
|
18102
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18200
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecate-lazysizes/index.js
|
|
18103
18201
|
var require_deprecate_lazysizes = __commonJS({
|
|
18104
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18202
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecate-lazysizes/index.js"(exports) {
|
|
18105
18203
|
"use strict";
|
|
18106
18204
|
init_cjs_shims();
|
|
18107
18205
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -18142,9 +18240,9 @@ var require_deprecate_lazysizes = __commonJS({
|
|
|
18142
18240
|
}
|
|
18143
18241
|
});
|
|
18144
18242
|
|
|
18145
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18243
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-filter/fixes.js
|
|
18146
18244
|
var require_fixes = __commonJS({
|
|
18147
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18245
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-filter/fixes.js"(exports) {
|
|
18148
18246
|
"use strict";
|
|
18149
18247
|
init_cjs_shims();
|
|
18150
18248
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -18280,9 +18378,9 @@ var require_fixes = __commonJS({
|
|
|
18280
18378
|
}
|
|
18281
18379
|
});
|
|
18282
18380
|
|
|
18283
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18381
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-filter/index.js
|
|
18284
18382
|
var require_deprecated_filter = __commonJS({
|
|
18285
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18383
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-filter/index.js"(exports) {
|
|
18286
18384
|
"use strict";
|
|
18287
18385
|
init_cjs_shims();
|
|
18288
18386
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -18350,9 +18448,9 @@ var require_deprecated_filter = __commonJS({
|
|
|
18350
18448
|
}
|
|
18351
18449
|
});
|
|
18352
18450
|
|
|
18353
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18451
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-tag/index.js
|
|
18354
18452
|
var require_deprecated_tag = __commonJS({
|
|
18355
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18453
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/deprecated-tag/index.js"(exports) {
|
|
18356
18454
|
"use strict";
|
|
18357
18455
|
init_cjs_shims();
|
|
18358
18456
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -18399,9 +18497,9 @@ var require_deprecated_tag = __commonJS({
|
|
|
18399
18497
|
}
|
|
18400
18498
|
});
|
|
18401
18499
|
|
|
18402
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18500
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/jsonc/parse.js
|
|
18403
18501
|
var require_parse = __commonJS({
|
|
18404
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18502
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/jsonc/parse.js"(exports) {
|
|
18405
18503
|
"use strict";
|
|
18406
18504
|
init_cjs_shims();
|
|
18407
18505
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -18487,9 +18585,9 @@ var require_parse = __commonJS({
|
|
|
18487
18585
|
}
|
|
18488
18586
|
});
|
|
18489
18587
|
|
|
18490
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18588
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/to-source-code.js
|
|
18491
18589
|
var require_to_source_code = __commonJS({
|
|
18492
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18590
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/to-source-code.js"(exports) {
|
|
18493
18591
|
"use strict";
|
|
18494
18592
|
init_cjs_shims();
|
|
18495
18593
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -18548,58 +18646,9 @@ var require_to_source_code = __commonJS({
|
|
|
18548
18646
|
}
|
|
18549
18647
|
});
|
|
18550
18648
|
|
|
18551
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18552
|
-
var require_visitor = __commonJS({
|
|
18553
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.15.1/node_modules/@shopify/theme-check-common/dist/visitor.js"(exports) {
|
|
18554
|
-
"use strict";
|
|
18555
|
-
init_cjs_shims();
|
|
18556
|
-
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
18557
|
-
exports.findCurrentNode = exports.forEachChildNodes = exports.visit = void 0;
|
|
18558
|
-
function isNode2(x) {
|
|
18559
|
-
return x !== null && typeof x == "object" && typeof x.type == "string";
|
|
18560
|
-
}
|
|
18561
|
-
function visit3(node, visitor) {
|
|
18562
|
-
let results = [], stack = [{ node, lineage: [] }], pushStack = (node2, lineage) => stack.push({ node: node2, lineage });
|
|
18563
|
-
for (; stack.length > 0; ) {
|
|
18564
|
-
let { node: node2, lineage } = stack.pop(), visitNode = visitor[node2.type], result = visitNode ? visitNode(node2, lineage) : void 0;
|
|
18565
|
-
Array.isArray(result) ? results.push(...result) : result !== void 0 && results.push(result), forEachChildNodes(node2, lineage.concat(node2), pushStack);
|
|
18566
|
-
}
|
|
18567
|
-
return results;
|
|
18568
|
-
}
|
|
18569
|
-
exports.visit = visit3;
|
|
18570
|
-
function forEachChildNodes(node, lineage, execute) {
|
|
18571
|
-
for (let value of Object.values(node))
|
|
18572
|
-
if (Array.isArray(value))
|
|
18573
|
-
for (let i = value.length - 1; i >= 0; i--)
|
|
18574
|
-
execute(value[i], lineage);
|
|
18575
|
-
else isNode2(value) && execute(value, lineage);
|
|
18576
|
-
}
|
|
18577
|
-
exports.forEachChildNodes = forEachChildNodes;
|
|
18578
|
-
function findCurrentNode(ast, cursorPosition) {
|
|
18579
|
-
let prev, current = ast, ancestors = [];
|
|
18580
|
-
for (; current !== prev; )
|
|
18581
|
-
prev = current, forEachChildNodes(current, ancestors.concat(current), (child, lineage) => {
|
|
18582
|
-
(isUnclosed(child) || isCovered(child, cursorPosition) && size(child) <= size(current)) && (current = child, ancestors = lineage);
|
|
18583
|
-
});
|
|
18584
|
-
return [current, ancestors];
|
|
18585
|
-
}
|
|
18586
|
-
exports.findCurrentNode = findCurrentNode;
|
|
18587
|
-
function isCovered(node, offset) {
|
|
18588
|
-
return node.position.start < offset && offset <= node.position.end;
|
|
18589
|
-
}
|
|
18590
|
-
function size(node) {
|
|
18591
|
-
return node.position.end - node.position.start;
|
|
18592
|
-
}
|
|
18593
|
-
function isUnclosed(node) {
|
|
18594
|
-
var _a42;
|
|
18595
|
-
return "blockEndPosition" in node ? ((_a42 = node.blockEndPosition) === null || _a42 === void 0 ? void 0 : _a42.end) === -1 : "children" in node ? node.children.length > 0 : !1;
|
|
18596
|
-
}
|
|
18597
|
-
}
|
|
18598
|
-
});
|
|
18599
|
-
|
|
18600
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.15.1/node_modules/@shopify/theme-check-common/dist/to-schema.js
|
|
18649
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/to-schema.js
|
|
18601
18650
|
var require_to_schema = __commonJS({
|
|
18602
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18651
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/to-schema.js"(exports) {
|
|
18603
18652
|
"use strict";
|
|
18604
18653
|
init_cjs_shims();
|
|
18605
18654
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -18757,13 +18806,13 @@ var require_to_schema = __commonJS({
|
|
|
18757
18806
|
}
|
|
18758
18807
|
});
|
|
18759
18808
|
|
|
18760
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18809
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/utils.js
|
|
18761
18810
|
var require_utils4 = __commonJS({
|
|
18762
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18811
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/utils.js"(exports) {
|
|
18763
18812
|
"use strict";
|
|
18764
18813
|
init_cjs_shims();
|
|
18765
18814
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
18766
|
-
exports.getValidParamTypes = exports.filePathSupportsLiquidDoc = exports.isTypeCompatible = exports.inferArgumentType = exports.getDefaultValueForType = exports.SupportedDocTagTypes = exports.BasicParamTypes = void 0;
|
|
18815
|
+
exports.parseParamType = exports.getValidParamTypes = exports.filePathSupportsLiquidDoc = exports.isTypeCompatible = exports.inferArgumentType = exports.getDefaultValueForType = exports.SupportedDocTagTypes = exports.BasicParamTypes = void 0;
|
|
18767
18816
|
var liquid_html_parser_1 = require_dist2(), utils_1 = require_utils(), to_schema_1 = require_to_schema(), to_schema_2 = require_to_schema(), BasicParamTypes;
|
|
18768
18817
|
(function(BasicParamTypes2) {
|
|
18769
18818
|
BasicParamTypes2.String = "string", BasicParamTypes2.Number = "number", BasicParamTypes2.Boolean = "boolean", BasicParamTypes2.Object = "object";
|
|
@@ -18825,12 +18874,21 @@ var require_utils4 = __commonJS({
|
|
|
18825
18874
|
return objectEntries.forEach((obj) => paramTypes.set(obj.name, obj.summary || obj.description)), paramTypes;
|
|
18826
18875
|
}
|
|
18827
18876
|
exports.getValidParamTypes = getValidParamTypes;
|
|
18877
|
+
function parseParamType(validParamTypes, value) {
|
|
18878
|
+
let paramTypeMatch = value.match(/^([a-z_]+)(\[\])?$/);
|
|
18879
|
+
if (!paramTypeMatch)
|
|
18880
|
+
return;
|
|
18881
|
+
let extractedParamType = paramTypeMatch[1], isArrayType = !!paramTypeMatch[2];
|
|
18882
|
+
if (validParamTypes.has(extractedParamType))
|
|
18883
|
+
return [extractedParamType, isArrayType];
|
|
18884
|
+
}
|
|
18885
|
+
exports.parseParamType = parseParamType;
|
|
18828
18886
|
}
|
|
18829
18887
|
});
|
|
18830
18888
|
|
|
18831
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18889
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/arguments.js
|
|
18832
18890
|
var require_arguments = __commonJS({
|
|
18833
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
18891
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/arguments.js"(exports) {
|
|
18834
18892
|
"use strict";
|
|
18835
18893
|
init_cjs_shims();
|
|
18836
18894
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -18975,9 +19033,9 @@ var require_arguments = __commonJS({
|
|
|
18975
19033
|
}
|
|
18976
19034
|
});
|
|
18977
19035
|
|
|
18978
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19036
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/duplicate-render-snippet-arguments/index.js
|
|
18979
19037
|
var require_duplicate_render_snippet_arguments = __commonJS({
|
|
18980
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19038
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/duplicate-render-snippet-arguments/index.js"(exports) {
|
|
18981
19039
|
"use strict";
|
|
18982
19040
|
init_cjs_shims();
|
|
18983
19041
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19017,9 +19075,9 @@ var require_duplicate_render_snippet_arguments = __commonJS({
|
|
|
19017
19075
|
}
|
|
19018
19076
|
});
|
|
19019
19077
|
|
|
19020
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19078
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/duplicate-content-for-arguments/index.js
|
|
19021
19079
|
var require_duplicate_content_for_arguments = __commonJS({
|
|
19022
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19080
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/duplicate-content-for-arguments/index.js"(exports) {
|
|
19023
19081
|
"use strict";
|
|
19024
19082
|
init_cjs_shims();
|
|
19025
19083
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19056,9 +19114,9 @@ var require_duplicate_content_for_arguments = __commonJS({
|
|
|
19056
19114
|
}
|
|
19057
19115
|
});
|
|
19058
19116
|
|
|
19059
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19117
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/empty-block-content/index.js
|
|
19060
19118
|
var require_empty_block_content = __commonJS({
|
|
19061
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19119
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/empty-block-content/index.js"(exports) {
|
|
19062
19120
|
"use strict";
|
|
19063
19121
|
init_cjs_shims();
|
|
19064
19122
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19108,9 +19166,9 @@ var require_empty_block_content = __commonJS({
|
|
|
19108
19166
|
}
|
|
19109
19167
|
});
|
|
19110
19168
|
|
|
19111
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19169
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/img-width-and-height/index.js
|
|
19112
19170
|
var require_img_width_and_height = __commonJS({
|
|
19113
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19171
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/img-width-and-height/index.js"(exports) {
|
|
19114
19172
|
"use strict";
|
|
19115
19173
|
init_cjs_shims();
|
|
19116
19174
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19151,9 +19209,9 @@ var require_img_width_and_height = __commonJS({
|
|
|
19151
19209
|
}
|
|
19152
19210
|
});
|
|
19153
19211
|
|
|
19154
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19212
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-missing-block/missing-block-utils.js
|
|
19155
19213
|
var require_missing_block_utils = __commonJS({
|
|
19156
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19214
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-missing-block/missing-block-utils.js"(exports) {
|
|
19157
19215
|
"use strict";
|
|
19158
19216
|
init_cjs_shims();
|
|
19159
19217
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19192,19 +19250,23 @@ var require_missing_block_utils = __commonJS({
|
|
|
19192
19250
|
!("name" in block) && block.type !== "@app" && themeBlocks.push(block.type);
|
|
19193
19251
|
}), themeBlocks;
|
|
19194
19252
|
}
|
|
19195
|
-
async function validateBlock(blockType, blockPath, ancestorType, currentPath, offset, context) {
|
|
19253
|
+
async function validateBlock(blockType, blockStatic, blockPath, ancestorType, currentPath, offset, context) {
|
|
19196
19254
|
let themeBlocks = await getThemeBlocks(ancestorType, currentPath, context);
|
|
19197
19255
|
if (themeBlocks.length === 0)
|
|
19198
19256
|
return;
|
|
19199
19257
|
if (!await validateBlockFileExistence(blockType, context))
|
|
19200
19258
|
reportWarning(`Theme block 'blocks/${blockType}.liquid' does not exist.`, offset, blockPath, context);
|
|
19201
19259
|
else {
|
|
19202
|
-
|
|
19203
|
-
if (isPrivateBlock ? isPresetInRootLevel : isPresetInRootLevel || isThemeInRootLevel)
|
|
19260
|
+
if (blockStatic)
|
|
19204
19261
|
return;
|
|
19205
19262
|
{
|
|
19206
|
-
let
|
|
19207
|
-
|
|
19263
|
+
let isPrivateBlock = blockType.startsWith("_"), schemaIncludesAtTheme = themeBlocks.includes("@theme"), schemaIncludesBlockType = themeBlocks.includes(blockType);
|
|
19264
|
+
if (isPrivateBlock ? schemaIncludesBlockType : schemaIncludesBlockType || schemaIncludesAtTheme)
|
|
19265
|
+
return;
|
|
19266
|
+
{
|
|
19267
|
+
let location2 = isNestedBlock(currentPath) ? "blocks" : "sections";
|
|
19268
|
+
reportWarning(`Block type '${blockType}' is not allowed in '${location2}/${ancestorType}.liquid'.`, offset, blockPath, context);
|
|
19269
|
+
}
|
|
19208
19270
|
}
|
|
19209
19271
|
}
|
|
19210
19272
|
}
|
|
@@ -19212,7 +19274,7 @@ var require_missing_block_utils = __commonJS({
|
|
|
19212
19274
|
await Promise.all(Object.entries(blocks2).map(async ([blockKey, block]) => {
|
|
19213
19275
|
if (block.type) {
|
|
19214
19276
|
let typePath = currentPath.concat(blockKey, "type"), blockPath = (0, json_1.nodeAtPath)(ast, typePath);
|
|
19215
|
-
blockPath && await validateBlock(block.type, blockPath, ancestorType, currentPath, offset, context);
|
|
19277
|
+
blockPath && await validateBlock(block.type, block.static, blockPath, ancestorType, currentPath, offset, context);
|
|
19216
19278
|
}
|
|
19217
19279
|
"blocks" in block && await getAllBlocks(ast, offset, block.type, block.blocks, currentPath.concat(blockKey, "blocks"), context);
|
|
19218
19280
|
}));
|
|
@@ -19221,9 +19283,9 @@ var require_missing_block_utils = __commonJS({
|
|
|
19221
19283
|
}
|
|
19222
19284
|
});
|
|
19223
19285
|
|
|
19224
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19286
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-missing-block/index.js
|
|
19225
19287
|
var require_json_missing_block = __commonJS({
|
|
19226
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19288
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-missing-block/index.js"(exports) {
|
|
19227
19289
|
"use strict";
|
|
19228
19290
|
init_cjs_shims();
|
|
19229
19291
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19260,9 +19322,9 @@ var require_json_missing_block = __commonJS({
|
|
|
19260
19322
|
}
|
|
19261
19323
|
});
|
|
19262
19324
|
|
|
19263
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19325
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-syntax-error/index.js
|
|
19264
19326
|
var require_json_syntax_error = __commonJS({
|
|
19265
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19327
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/json-syntax-error/index.js"(exports) {
|
|
19266
19328
|
"use strict";
|
|
19267
19329
|
init_cjs_shims();
|
|
19268
19330
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19350,9 +19412,9 @@ var require_json_syntax_error = __commonJS({
|
|
|
19350
19412
|
}
|
|
19351
19413
|
});
|
|
19352
19414
|
|
|
19353
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19415
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/liquid-free-settings/index.js
|
|
19354
19416
|
var require_liquid_free_settings = __commonJS({
|
|
19355
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19417
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/liquid-free-settings/index.js"(exports) {
|
|
19356
19418
|
"use strict";
|
|
19357
19419
|
init_cjs_shims();
|
|
19358
19420
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19407,9 +19469,9 @@ var require_liquid_free_settings = __commonJS({
|
|
|
19407
19469
|
}
|
|
19408
19470
|
});
|
|
19409
19471
|
|
|
19410
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19472
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/liquid-html-syntax-error/index.js
|
|
19411
19473
|
var require_liquid_html_syntax_error = __commonJS({
|
|
19412
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19474
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/liquid-html-syntax-error/index.js"(exports) {
|
|
19413
19475
|
"use strict";
|
|
19414
19476
|
init_cjs_shims();
|
|
19415
19477
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19461,9 +19523,9 @@ var require_liquid_html_syntax_error = __commonJS({
|
|
|
19461
19523
|
}
|
|
19462
19524
|
});
|
|
19463
19525
|
|
|
19464
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19526
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/matching-translations/index.js
|
|
19465
19527
|
var require_matching_translations = __commonJS({
|
|
19466
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19528
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/matching-translations/index.js"(exports) {
|
|
19467
19529
|
"use strict";
|
|
19468
19530
|
init_cjs_shims();
|
|
19469
19531
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19556,9 +19618,9 @@ var require_matching_translations = __commonJS({
|
|
|
19556
19618
|
}
|
|
19557
19619
|
});
|
|
19558
19620
|
|
|
19559
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19621
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-asset/index.js
|
|
19560
19622
|
var require_missing_asset = __commonJS({
|
|
19561
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19623
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-asset/index.js"(exports) {
|
|
19562
19624
|
"use strict";
|
|
19563
19625
|
init_cjs_shims();
|
|
19564
19626
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19596,9 +19658,9 @@ var require_missing_asset = __commonJS({
|
|
|
19596
19658
|
}
|
|
19597
19659
|
});
|
|
19598
19660
|
|
|
19599
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19661
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-content-for-arguments/index.js
|
|
19600
19662
|
var require_missing_content_for_arguments = __commonJS({
|
|
19601
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19663
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-content-for-arguments/index.js"(exports) {
|
|
19602
19664
|
"use strict";
|
|
19603
19665
|
init_cjs_shims();
|
|
19604
19666
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19636,9 +19698,9 @@ var require_missing_content_for_arguments = __commonJS({
|
|
|
19636
19698
|
}
|
|
19637
19699
|
});
|
|
19638
19700
|
|
|
19639
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19701
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-render-snippet-arguments/index.js
|
|
19640
19702
|
var require_missing_render_snippet_arguments = __commonJS({
|
|
19641
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19703
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-render-snippet-arguments/index.js"(exports) {
|
|
19642
19704
|
"use strict";
|
|
19643
19705
|
init_cjs_shims();
|
|
19644
19706
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19680,9 +19742,9 @@ var require_missing_render_snippet_arguments = __commonJS({
|
|
|
19680
19742
|
}
|
|
19681
19743
|
});
|
|
19682
19744
|
|
|
19683
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19745
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-template/index.js
|
|
19684
19746
|
var require_missing_template = __commonJS({
|
|
19685
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19747
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/missing-template/index.js"(exports) {
|
|
19686
19748
|
"use strict";
|
|
19687
19749
|
init_cjs_shims();
|
|
19688
19750
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19735,9 +19797,9 @@ var require_missing_template = __commonJS({
|
|
|
19735
19797
|
}
|
|
19736
19798
|
});
|
|
19737
19799
|
|
|
19738
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19800
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/pagination-size/index.js
|
|
19739
19801
|
var require_pagination_size = __commonJS({
|
|
19740
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19802
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/pagination-size/index.js"(exports) {
|
|
19741
19803
|
"use strict";
|
|
19742
19804
|
init_cjs_shims();
|
|
19743
19805
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19809,9 +19871,9 @@ var require_pagination_size = __commonJS({
|
|
|
19809
19871
|
}
|
|
19810
19872
|
});
|
|
19811
19873
|
|
|
19812
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19874
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/parser-blocking-script/suggestions.js
|
|
19813
19875
|
var require_suggestions = __commonJS({
|
|
19814
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19876
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/parser-blocking-script/suggestions.js"(exports) {
|
|
19815
19877
|
"use strict";
|
|
19816
19878
|
init_cjs_shims();
|
|
19817
19879
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19835,9 +19897,9 @@ var require_suggestions = __commonJS({
|
|
|
19835
19897
|
}
|
|
19836
19898
|
});
|
|
19837
19899
|
|
|
19838
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19900
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/parser-blocking-script/index.js
|
|
19839
19901
|
var require_parser_blocking_script = __commonJS({
|
|
19840
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19902
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/parser-blocking-script/index.js"(exports) {
|
|
19841
19903
|
"use strict";
|
|
19842
19904
|
init_cjs_shims();
|
|
19843
19905
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19893,9 +19955,9 @@ var require_parser_blocking_script = __commonJS({
|
|
|
19893
19955
|
}
|
|
19894
19956
|
});
|
|
19895
19957
|
|
|
19896
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19958
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/schema-presets-block-order/index.js
|
|
19897
19959
|
var require_schema_presets_block_order = __commonJS({
|
|
19898
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
19960
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/schema-presets-block-order/index.js"(exports) {
|
|
19899
19961
|
"use strict";
|
|
19900
19962
|
init_cjs_shims();
|
|
19901
19963
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19968,9 +20030,9 @@ var require_schema_presets_block_order = __commonJS({
|
|
|
19968
20030
|
}
|
|
19969
20031
|
});
|
|
19970
20032
|
|
|
19971
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20033
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/markup.js
|
|
19972
20034
|
var require_markup = __commonJS({
|
|
19973
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20035
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/utils/markup.js"(exports) {
|
|
19974
20036
|
"use strict";
|
|
19975
20037
|
init_cjs_shims();
|
|
19976
20038
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -19982,9 +20044,9 @@ var require_markup = __commonJS({
|
|
|
19982
20044
|
}
|
|
19983
20045
|
});
|
|
19984
20046
|
|
|
19985
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20047
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/schema-presets-static-blocks/index.js
|
|
19986
20048
|
var require_schema_presets_static_blocks = __commonJS({
|
|
19987
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20049
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/schema-presets-static-blocks/index.js"(exports) {
|
|
19988
20050
|
"use strict";
|
|
19989
20051
|
init_cjs_shims();
|
|
19990
20052
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20072,9 +20134,9 @@ var require_schema_presets_static_blocks = __commonJS({
|
|
|
20072
20134
|
}
|
|
20073
20135
|
});
|
|
20074
20136
|
|
|
20075
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20137
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/remote-asset/index.js
|
|
20076
20138
|
var require_remote_asset = __commonJS({
|
|
20077
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20139
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/remote-asset/index.js"(exports) {
|
|
20078
20140
|
"use strict";
|
|
20079
20141
|
init_cjs_shims();
|
|
20080
20142
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20097,6 +20159,8 @@ var require_remote_asset = __commonJS({
|
|
|
20097
20159
|
return typeof node != "string" && node.type === types_1.LiquidHtmlNodeTypes.LiquidVariable;
|
|
20098
20160
|
}
|
|
20099
20161
|
function isUrlHostedbyShopify(url, allowedDomains = []) {
|
|
20162
|
+
if (/^\/cdn\//.test(url))
|
|
20163
|
+
return !0;
|
|
20100
20164
|
try {
|
|
20101
20165
|
let urlObj = new URL(url);
|
|
20102
20166
|
return [...SHOPIFY_CDN_DOMAINS, ...allowedDomains].includes(urlObj.hostname);
|
|
@@ -20206,9 +20270,9 @@ var require_remote_asset = __commonJS({
|
|
|
20206
20270
|
}
|
|
20207
20271
|
});
|
|
20208
20272
|
|
|
20209
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20273
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/required-layout-theme-object/index.js
|
|
20210
20274
|
var require_required_layout_theme_object = __commonJS({
|
|
20211
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20275
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/required-layout-theme-object/index.js"(exports) {
|
|
20212
20276
|
"use strict";
|
|
20213
20277
|
init_cjs_shims();
|
|
20214
20278
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20261,9 +20325,9 @@ var require_required_layout_theme_object = __commonJS({
|
|
|
20261
20325
|
}
|
|
20262
20326
|
});
|
|
20263
20327
|
|
|
20264
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20328
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/tags/content-for.js
|
|
20265
20329
|
var require_content_for = __commonJS({
|
|
20266
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20330
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/tags/content-for.js"(exports) {
|
|
20267
20331
|
"use strict";
|
|
20268
20332
|
init_cjs_shims();
|
|
20269
20333
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20294,9 +20358,9 @@ var require_content_for = __commonJS({
|
|
|
20294
20358
|
}
|
|
20295
20359
|
});
|
|
20296
20360
|
|
|
20297
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20361
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/reserved-doc-param-names/index.js
|
|
20298
20362
|
var require_reserved_doc_param_names = __commonJS({
|
|
20299
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20363
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/reserved-doc-param-names/index.js"(exports) {
|
|
20300
20364
|
"use strict";
|
|
20301
20365
|
init_cjs_shims();
|
|
20302
20366
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20341,9 +20405,9 @@ var require_reserved_doc_param_names = __commonJS({
|
|
|
20341
20405
|
}
|
|
20342
20406
|
});
|
|
20343
20407
|
|
|
20344
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20408
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/translation-key-exists/index.js
|
|
20345
20409
|
var require_translation_key_exists = __commonJS({
|
|
20346
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20410
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/translation-key-exists/index.js"(exports) {
|
|
20347
20411
|
"use strict";
|
|
20348
20412
|
init_cjs_shims();
|
|
20349
20413
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20408,9 +20472,9 @@ var require_translation_key_exists = __commonJS({
|
|
|
20408
20472
|
}
|
|
20409
20473
|
});
|
|
20410
20474
|
|
|
20411
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20475
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unclosed-html-element/index.js
|
|
20412
20476
|
var require_unclosed_html_element = __commonJS({
|
|
20413
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20477
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unclosed-html-element/index.js"(exports) {
|
|
20414
20478
|
"use strict";
|
|
20415
20479
|
init_cjs_shims();
|
|
20416
20480
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20564,9 +20628,9 @@ var require_unclosed_html_element = __commonJS({
|
|
|
20564
20628
|
}
|
|
20565
20629
|
});
|
|
20566
20630
|
|
|
20567
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20631
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/liquidDoc.js
|
|
20568
20632
|
var require_liquidDoc = __commonJS({
|
|
20569
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20633
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/liquid-doc/liquidDoc.js"(exports) {
|
|
20570
20634
|
"use strict";
|
|
20571
20635
|
init_cjs_shims();
|
|
20572
20636
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20647,9 +20711,9 @@ var require_liquidDoc = __commonJS({
|
|
|
20647
20711
|
}
|
|
20648
20712
|
});
|
|
20649
20713
|
|
|
20650
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20714
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/undefined-object/index.js
|
|
20651
20715
|
var require_undefined_object = __commonJS({
|
|
20652
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20716
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/undefined-object/index.js"(exports) {
|
|
20653
20717
|
"use strict";
|
|
20654
20718
|
init_cjs_shims();
|
|
20655
20719
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20784,9 +20848,9 @@ var require_undefined_object = __commonJS({
|
|
|
20784
20848
|
}
|
|
20785
20849
|
});
|
|
20786
20850
|
|
|
20787
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20851
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-doc-param-names/index.js
|
|
20788
20852
|
var require_unique_doc_param_names = __commonJS({
|
|
20789
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20853
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-doc-param-names/index.js"(exports) {
|
|
20790
20854
|
"use strict";
|
|
20791
20855
|
init_cjs_shims();
|
|
20792
20856
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20827,9 +20891,9 @@ var require_unique_doc_param_names = __commonJS({
|
|
|
20827
20891
|
}
|
|
20828
20892
|
});
|
|
20829
20893
|
|
|
20830
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20894
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-static-block-id/index.js
|
|
20831
20895
|
var require_unique_static_block_id = __commonJS({
|
|
20832
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20896
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-static-block-id/index.js"(exports) {
|
|
20833
20897
|
"use strict";
|
|
20834
20898
|
init_cjs_shims();
|
|
20835
20899
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20875,9 +20939,9 @@ var require_unique_static_block_id = __commonJS({
|
|
|
20875
20939
|
}
|
|
20876
20940
|
});
|
|
20877
20941
|
|
|
20878
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20942
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unknown-filter/index.js
|
|
20879
20943
|
var require_unknown_filter = __commonJS({
|
|
20880
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20944
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unknown-filter/index.js"(exports) {
|
|
20881
20945
|
"use strict";
|
|
20882
20946
|
init_cjs_shims();
|
|
20883
20947
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20912,9 +20976,9 @@ var require_unknown_filter = __commonJS({
|
|
|
20912
20976
|
}
|
|
20913
20977
|
});
|
|
20914
20978
|
|
|
20915
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20979
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unrecognized-content-for-arguments/index.js
|
|
20916
20980
|
var require_unrecognized_content_for_arguments = __commonJS({
|
|
20917
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
20981
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unrecognized-content-for-arguments/index.js"(exports) {
|
|
20918
20982
|
"use strict";
|
|
20919
20983
|
init_cjs_shims();
|
|
20920
20984
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -20956,9 +21020,9 @@ var require_unrecognized_content_for_arguments = __commonJS({
|
|
|
20956
21020
|
}
|
|
20957
21021
|
});
|
|
20958
21022
|
|
|
20959
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21023
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unrecognized-render-snippet-arguments/index.js
|
|
20960
21024
|
var require_unrecognized_render_snippet_arguments = __commonJS({
|
|
20961
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21025
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unrecognized-render-snippet-arguments/index.js"(exports) {
|
|
20962
21026
|
"use strict";
|
|
20963
21027
|
init_cjs_shims();
|
|
20964
21028
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21017,9 +21081,9 @@ var require_unrecognized_render_snippet_arguments = __commonJS({
|
|
|
21017
21081
|
}
|
|
21018
21082
|
});
|
|
21019
21083
|
|
|
21020
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21084
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unused-assign/index.js
|
|
21021
21085
|
var require_unused_assign = __commonJS({
|
|
21022
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21086
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unused-assign/index.js"(exports) {
|
|
21023
21087
|
"use strict";
|
|
21024
21088
|
init_cjs_shims();
|
|
21025
21089
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21056,8 +21120,8 @@ var require_unused_assign = __commonJS({
|
|
|
21056
21120
|
for (let [variable, node] of assignedVariables.entries())
|
|
21057
21121
|
!usedVariables.has(variable) && !variable.startsWith("_") && context.report({
|
|
21058
21122
|
message: `The variable '${variable}' is assigned but not used`,
|
|
21059
|
-
startIndex: node.position.start,
|
|
21060
|
-
endIndex: node.position.end,
|
|
21123
|
+
startIndex: isLiquidTagCapture(node) ? node.blockStartPosition.start : node.position.start,
|
|
21124
|
+
endIndex: isLiquidTagCapture(node) ? node.blockStartPosition.end : node.position.end,
|
|
21061
21125
|
suggest: [
|
|
21062
21126
|
{
|
|
21063
21127
|
message: `Remove the unused variable '${variable}'`,
|
|
@@ -21078,9 +21142,9 @@ var require_unused_assign = __commonJS({
|
|
|
21078
21142
|
}
|
|
21079
21143
|
});
|
|
21080
21144
|
|
|
21081
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21145
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unsupported-doc-tag/index.js
|
|
21082
21146
|
var require_unsupported_doc_tag = __commonJS({
|
|
21083
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21147
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unsupported-doc-tag/index.js"(exports) {
|
|
21084
21148
|
"use strict";
|
|
21085
21149
|
init_cjs_shims();
|
|
21086
21150
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21122,9 +21186,9 @@ var require_unsupported_doc_tag = __commonJS({
|
|
|
21122
21186
|
}
|
|
21123
21187
|
});
|
|
21124
21188
|
|
|
21125
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21189
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unused-doc-param/index.js
|
|
21126
21190
|
var require_unused_doc_param = __commonJS({
|
|
21127
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21191
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unused-doc-param/index.js"(exports) {
|
|
21128
21192
|
"use strict";
|
|
21129
21193
|
init_cjs_shims();
|
|
21130
21194
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21173,9 +21237,9 @@ var require_unused_doc_param = __commonJS({
|
|
|
21173
21237
|
}
|
|
21174
21238
|
});
|
|
21175
21239
|
|
|
21176
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21240
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-content-for-arguments/index.js
|
|
21177
21241
|
var require_valid_content_for_arguments = __commonJS({
|
|
21178
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21242
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-content-for-arguments/index.js"(exports) {
|
|
21179
21243
|
"use strict";
|
|
21180
21244
|
init_cjs_shims();
|
|
21181
21245
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21248,9 +21312,9 @@ var require_valid_content_for_arguments = __commonJS({
|
|
|
21248
21312
|
}
|
|
21249
21313
|
});
|
|
21250
21314
|
|
|
21251
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21315
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-content-for-argument-types/index.js
|
|
21252
21316
|
var require_valid_content_for_argument_types = __commonJS({
|
|
21253
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21317
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-content-for-argument-types/index.js"(exports) {
|
|
21254
21318
|
"use strict";
|
|
21255
21319
|
init_cjs_shims();
|
|
21256
21320
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21288,9 +21352,9 @@ var require_valid_content_for_argument_types = __commonJS({
|
|
|
21288
21352
|
}
|
|
21289
21353
|
});
|
|
21290
21354
|
|
|
21291
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21355
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-block-target/index.js
|
|
21292
21356
|
var require_valid_block_target = __commonJS({
|
|
21293
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21357
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-block-target/index.js"(exports) {
|
|
21294
21358
|
"use strict";
|
|
21295
21359
|
init_cjs_shims();
|
|
21296
21360
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21348,9 +21412,9 @@ var require_valid_block_target = __commonJS({
|
|
|
21348
21412
|
}
|
|
21349
21413
|
});
|
|
21350
21414
|
|
|
21351
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21415
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-html-translation/index.js
|
|
21352
21416
|
var require_valid_html_translation = __commonJS({
|
|
21353
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21417
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-html-translation/index.js"(exports) {
|
|
21354
21418
|
"use strict";
|
|
21355
21419
|
init_cjs_shims();
|
|
21356
21420
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21392,9 +21456,9 @@ var require_valid_html_translation = __commonJS({
|
|
|
21392
21456
|
}
|
|
21393
21457
|
});
|
|
21394
21458
|
|
|
21395
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21459
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-json/index.js
|
|
21396
21460
|
var require_valid_json = __commonJS({
|
|
21397
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21461
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-json/index.js"(exports) {
|
|
21398
21462
|
"use strict";
|
|
21399
21463
|
init_cjs_shims();
|
|
21400
21464
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21432,9 +21496,9 @@ var require_valid_json = __commonJS({
|
|
|
21432
21496
|
}
|
|
21433
21497
|
});
|
|
21434
21498
|
|
|
21435
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21499
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-doc-param-names/index.js
|
|
21436
21500
|
var require_valid_doc_param_names = __commonJS({
|
|
21437
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21501
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-doc-param-names/index.js"(exports) {
|
|
21438
21502
|
"use strict";
|
|
21439
21503
|
init_cjs_shims();
|
|
21440
21504
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21455,17 +21519,13 @@ var require_valid_doc_param_names = __commonJS({
|
|
|
21455
21519
|
targets: []
|
|
21456
21520
|
},
|
|
21457
21521
|
create(context) {
|
|
21458
|
-
var _a42
|
|
21459
|
-
let tagsPromise = (_a42 = context.themeDocset) === null || _a42 === void 0 ? void 0 : _a42.tags()
|
|
21460
|
-
function isGlobal(object) {
|
|
21461
|
-
var _a43, _b2;
|
|
21462
|
-
return !object.access || ((_a43 = object.access) === null || _a43 === void 0 ? void 0 : _a43.global) === !0 || ((_b2 = object.access) === null || _b2 === void 0 ? void 0 : _b2.template.length) > 0;
|
|
21463
|
-
}
|
|
21522
|
+
var _a42;
|
|
21523
|
+
let tagsPromise = (_a42 = context.themeDocset) === null || _a42 === void 0 ? void 0 : _a42.tags();
|
|
21464
21524
|
return {
|
|
21465
21525
|
async LiquidDocParamNode(node) {
|
|
21466
|
-
var _a43
|
|
21467
|
-
let paramName = node.paramName.value
|
|
21468
|
-
|
|
21526
|
+
var _a43;
|
|
21527
|
+
let paramName = node.paramName.value;
|
|
21528
|
+
(((_a43 = await tagsPromise) === null || _a43 === void 0 ? void 0 : _a43.map((tag) => tag.name)) || []).includes(paramName) && reportWarning(context, `The parameter '${paramName}' shares the same name with a liquid tag.`, node.paramName);
|
|
21469
21529
|
}
|
|
21470
21530
|
};
|
|
21471
21531
|
}
|
|
@@ -21480,9 +21540,9 @@ var require_valid_doc_param_names = __commonJS({
|
|
|
21480
21540
|
}
|
|
21481
21541
|
});
|
|
21482
21542
|
|
|
21483
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21543
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-doc-param-types/index.js
|
|
21484
21544
|
var require_valid_doc_param_types = __commonJS({
|
|
21485
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21545
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-doc-param-types/index.js"(exports) {
|
|
21486
21546
|
"use strict";
|
|
21487
21547
|
init_cjs_shims();
|
|
21488
21548
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21503,15 +21563,16 @@ var require_valid_doc_param_types = __commonJS({
|
|
|
21503
21563
|
targets: []
|
|
21504
21564
|
},
|
|
21505
21565
|
create(context) {
|
|
21506
|
-
|
|
21566
|
+
if (!context.themeDocset)
|
|
21567
|
+
return {};
|
|
21568
|
+
let validParamTypesPromise = context.themeDocset.liquidDrops().then((entries) => new Set((0, utils_1.getValidParamTypes)(entries).keys()));
|
|
21569
|
+
return {
|
|
21507
21570
|
async LiquidDocParamNode(node) {
|
|
21508
|
-
|
|
21509
|
-
return;
|
|
21510
|
-
let objectEntries = await context.themeDocset.objects();
|
|
21511
|
-
(0, utils_1.getValidParamTypes)(objectEntries).has(node.paramType.value) || context.report({
|
|
21571
|
+
!node.paramType || (0, utils_1.parseParamType)(await validParamTypesPromise, node.paramType.value) || context.report({
|
|
21512
21572
|
message: `The parameter type '${node.paramType.value}' is not supported.`,
|
|
21513
|
-
|
|
21514
|
-
|
|
21573
|
+
// Index is offset to include the curly brackets around the param type
|
|
21574
|
+
startIndex: node.paramType.position.start - 1,
|
|
21575
|
+
endIndex: node.paramType.position.end + 1,
|
|
21515
21576
|
suggest: [
|
|
21516
21577
|
{
|
|
21517
21578
|
message: "Remove invalid parameter type",
|
|
@@ -21519,7 +21580,7 @@ var require_valid_doc_param_types = __commonJS({
|
|
|
21519
21580
|
node.paramType && corrector.replace(node.position.start, node.position.end, node.source.slice(node.position.start, node.position.end).replace(
|
|
21520
21581
|
// We could have padded spaces around + inside the param type
|
|
21521
21582
|
// e.g. `{ string }`, `{string}`, or ` { string } `
|
|
21522
|
-
|
|
21583
|
+
/\s*\{\s*[^\s]+\s*\}\s*/,
|
|
21523
21584
|
" "
|
|
21524
21585
|
));
|
|
21525
21586
|
}
|
|
@@ -21527,15 +21588,15 @@ var require_valid_doc_param_types = __commonJS({
|
|
|
21527
21588
|
]
|
|
21528
21589
|
});
|
|
21529
21590
|
}
|
|
21530
|
-
}
|
|
21591
|
+
};
|
|
21531
21592
|
}
|
|
21532
21593
|
};
|
|
21533
21594
|
}
|
|
21534
21595
|
});
|
|
21535
21596
|
|
|
21536
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21597
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-local-blocks/valid-block-utils.js
|
|
21537
21598
|
var require_valid_block_utils = __commonJS({
|
|
21538
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21599
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-local-blocks/valid-block-utils.js"(exports) {
|
|
21539
21600
|
"use strict";
|
|
21540
21601
|
init_cjs_shims();
|
|
21541
21602
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21580,9 +21641,9 @@ var require_valid_block_utils = __commonJS({
|
|
|
21580
21641
|
}
|
|
21581
21642
|
});
|
|
21582
21643
|
|
|
21583
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21644
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-local-blocks/index.js
|
|
21584
21645
|
var require_valid_local_blocks = __commonJS({
|
|
21585
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21646
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-local-blocks/index.js"(exports) {
|
|
21586
21647
|
"use strict";
|
|
21587
21648
|
init_cjs_shims();
|
|
21588
21649
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21628,9 +21689,9 @@ var require_valid_local_blocks = __commonJS({
|
|
|
21628
21689
|
}
|
|
21629
21690
|
});
|
|
21630
21691
|
|
|
21631
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21692
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-render-snippet-argument-types/index.js
|
|
21632
21693
|
var require_valid_render_snippet_argument_types = __commonJS({
|
|
21633
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21694
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-render-snippet-argument-types/index.js"(exports) {
|
|
21634
21695
|
"use strict";
|
|
21635
21696
|
init_cjs_shims();
|
|
21636
21697
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21688,9 +21749,9 @@ var require_valid_render_snippet_argument_types = __commonJS({
|
|
|
21688
21749
|
}
|
|
21689
21750
|
});
|
|
21690
21751
|
|
|
21691
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21752
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-schema/index.js
|
|
21692
21753
|
var require_valid_schema = __commonJS({
|
|
21693
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21754
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-schema/index.js"(exports) {
|
|
21694
21755
|
"use strict";
|
|
21695
21756
|
init_cjs_shims();
|
|
21696
21757
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21730,9 +21791,9 @@ var require_valid_schema = __commonJS({
|
|
|
21730
21791
|
}
|
|
21731
21792
|
});
|
|
21732
21793
|
|
|
21733
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21794
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-schema-name/index.js
|
|
21734
21795
|
var require_valid_schema_name = __commonJS({
|
|
21735
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21796
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-schema-name/index.js"(exports) {
|
|
21736
21797
|
"use strict";
|
|
21737
21798
|
init_cjs_shims();
|
|
21738
21799
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21787,9 +21848,9 @@ var require_valid_schema_name = __commonJS({
|
|
|
21787
21848
|
}
|
|
21788
21849
|
});
|
|
21789
21850
|
|
|
21790
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21851
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-settings-key/index.js
|
|
21791
21852
|
var require_valid_settings_key = __commonJS({
|
|
21792
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21853
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-settings-key/index.js"(exports) {
|
|
21793
21854
|
"use strict";
|
|
21794
21855
|
init_cjs_shims();
|
|
21795
21856
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21867,9 +21928,9 @@ var require_valid_settings_key = __commonJS({
|
|
|
21867
21928
|
}
|
|
21868
21929
|
});
|
|
21869
21930
|
|
|
21870
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21931
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-static-block-type/index.js
|
|
21871
21932
|
var require_valid_static_block_type = __commonJS({
|
|
21872
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21933
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-static-block-type/index.js"(exports) {
|
|
21873
21934
|
"use strict";
|
|
21874
21935
|
init_cjs_shims();
|
|
21875
21936
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -21914,9 +21975,9 @@ var require_valid_static_block_type = __commonJS({
|
|
|
21914
21975
|
}
|
|
21915
21976
|
});
|
|
21916
21977
|
|
|
21917
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21978
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/find-root.js
|
|
21918
21979
|
var require_find_root = __commonJS({
|
|
21919
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
21980
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/find-root.js"(exports) {
|
|
21920
21981
|
"use strict";
|
|
21921
21982
|
init_cjs_shims();
|
|
21922
21983
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -21971,9 +22032,9 @@ var require_find_root = __commonJS({
|
|
|
21971
22032
|
}
|
|
21972
22033
|
});
|
|
21973
22034
|
|
|
21974
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22035
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-visible-if/visible-if-utils.js
|
|
21975
22036
|
var require_visible_if_utils = __commonJS({
|
|
21976
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22037
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-visible-if/visible-if-utils.js"(exports) {
|
|
21977
22038
|
"use strict";
|
|
21978
22039
|
init_cjs_shims();
|
|
21979
22040
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -22057,9 +22118,9 @@ var require_visible_if_utils = __commonJS({
|
|
|
22057
22118
|
}
|
|
22058
22119
|
});
|
|
22059
22120
|
|
|
22060
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22121
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-visible-if/index.js
|
|
22061
22122
|
var require_valid_visible_if = __commonJS({
|
|
22062
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22123
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/valid-visible-if/index.js"(exports) {
|
|
22063
22124
|
"use strict";
|
|
22064
22125
|
init_cjs_shims();
|
|
22065
22126
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -22611,9 +22672,9 @@ var require_snakeCase = __commonJS({
|
|
|
22611
22672
|
}
|
|
22612
22673
|
});
|
|
22613
22674
|
|
|
22614
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22675
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/variable-name/index.js
|
|
22615
22676
|
var require_variable_name = __commonJS({
|
|
22616
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22677
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/variable-name/index.js"(exports) {
|
|
22617
22678
|
"use strict";
|
|
22618
22679
|
init_cjs_shims();
|
|
22619
22680
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -22681,9 +22742,9 @@ var require_variable_name = __commonJS({
|
|
|
22681
22742
|
}
|
|
22682
22743
|
});
|
|
22683
22744
|
|
|
22684
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22745
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/app-block-missing-schema/index.js
|
|
22685
22746
|
var require_app_block_missing_schema = __commonJS({
|
|
22686
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22747
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/app-block-missing-schema/index.js"(exports) {
|
|
22687
22748
|
"use strict";
|
|
22688
22749
|
init_cjs_shims();
|
|
22689
22750
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -22722,9 +22783,9 @@ var require_app_block_missing_schema = __commonJS({
|
|
|
22722
22783
|
}
|
|
22723
22784
|
});
|
|
22724
22785
|
|
|
22725
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22786
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-settings-id/index.js
|
|
22726
22787
|
var require_unique_settings_id = __commonJS({
|
|
22727
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22788
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/unique-settings-id/index.js"(exports) {
|
|
22728
22789
|
"use strict";
|
|
22729
22790
|
init_cjs_shims();
|
|
22730
22791
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -22784,9 +22845,9 @@ var require_unique_settings_id = __commonJS({
|
|
|
22784
22845
|
}
|
|
22785
22846
|
});
|
|
22786
22847
|
|
|
22787
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22848
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/index.js
|
|
22788
22849
|
var require_checks = __commonJS({
|
|
22789
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22850
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/checks/index.js"(exports) {
|
|
22790
22851
|
"use strict";
|
|
22791
22852
|
init_cjs_shims();
|
|
22792
22853
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -22864,9 +22925,9 @@ var require_checks = __commonJS({
|
|
|
22864
22925
|
}
|
|
22865
22926
|
});
|
|
22866
22927
|
|
|
22867
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22928
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/utils.js
|
|
22868
22929
|
var require_utils5 = __commonJS({
|
|
22869
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
22930
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/utils.js"(exports) {
|
|
22870
22931
|
"use strict";
|
|
22871
22932
|
init_cjs_shims();
|
|
22872
22933
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -22993,9 +23054,9 @@ var require_unset = __commonJS({
|
|
|
22993
23054
|
}
|
|
22994
23055
|
});
|
|
22995
23056
|
|
|
22996
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23057
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/json-corrector.js
|
|
22997
23058
|
var require_json_corrector = __commonJS({
|
|
22998
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23059
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/json-corrector.js"(exports) {
|
|
22999
23060
|
"use strict";
|
|
23000
23061
|
init_cjs_shims();
|
|
23001
23062
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -23075,9 +23136,9 @@ var require_json_corrector = __commonJS({
|
|
|
23075
23136
|
}
|
|
23076
23137
|
});
|
|
23077
23138
|
|
|
23078
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23139
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/string-corrector.js
|
|
23079
23140
|
var require_string_corrector = __commonJS({
|
|
23080
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23141
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/string-corrector.js"(exports) {
|
|
23081
23142
|
"use strict";
|
|
23082
23143
|
init_cjs_shims();
|
|
23083
23144
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -23147,9 +23208,9 @@ var require_string_corrector = __commonJS({
|
|
|
23147
23208
|
}
|
|
23148
23209
|
});
|
|
23149
23210
|
|
|
23150
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23211
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/index.js
|
|
23151
23212
|
var require_correctors = __commonJS({
|
|
23152
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23213
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/correctors/index.js"(exports) {
|
|
23153
23214
|
"use strict";
|
|
23154
23215
|
init_cjs_shims();
|
|
23155
23216
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -23179,9 +23240,9 @@ var require_correctors = __commonJS({
|
|
|
23179
23240
|
}
|
|
23180
23241
|
});
|
|
23181
23242
|
|
|
23182
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23243
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/autofix.js
|
|
23183
23244
|
var require_autofix = __commonJS({
|
|
23184
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23245
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/autofix.js"(exports) {
|
|
23185
23246
|
"use strict";
|
|
23186
23247
|
init_cjs_shims();
|
|
23187
23248
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -23204,9 +23265,9 @@ var require_autofix = __commonJS({
|
|
|
23204
23265
|
}
|
|
23205
23266
|
});
|
|
23206
23267
|
|
|
23207
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23268
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/apply-fix-to-string.js
|
|
23208
23269
|
var require_apply_fix_to_string = __commonJS({
|
|
23209
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23270
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/apply-fix-to-string.js"(exports) {
|
|
23210
23271
|
"use strict";
|
|
23211
23272
|
init_cjs_shims();
|
|
23212
23273
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -23231,9 +23292,9 @@ var require_apply_fix_to_string = __commonJS({
|
|
|
23231
23292
|
}
|
|
23232
23293
|
});
|
|
23233
23294
|
|
|
23234
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23295
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/index.js
|
|
23235
23296
|
var require_fixes2 = __commonJS({
|
|
23236
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23297
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/fixes/index.js"(exports) {
|
|
23237
23298
|
"use strict";
|
|
23238
23299
|
init_cjs_shims();
|
|
23239
23300
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -23263,9 +23324,9 @@ var require_fixes2 = __commonJS({
|
|
|
23263
23324
|
}
|
|
23264
23325
|
});
|
|
23265
23326
|
|
|
23266
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23327
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/index.js
|
|
23267
23328
|
var require_dist3 = __commonJS({
|
|
23268
|
-
"../../node_modules/.pnpm/@shopify+theme-check-common@3.
|
|
23329
|
+
"../../node_modules/.pnpm/@shopify+theme-check-common@3.17.0/node_modules/@shopify/theme-check-common/dist/index.js"(exports) {
|
|
23269
23330
|
"use strict";
|
|
23270
23331
|
init_cjs_shims();
|
|
23271
23332
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -23289,7 +23350,7 @@ var require_dist3 = __commonJS({
|
|
|
23289
23350
|
for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding2(exports2, m, p);
|
|
23290
23351
|
};
|
|
23291
23352
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
23292
|
-
exports.check = exports.path = void 0;
|
|
23353
|
+
exports.check = exports.getBlockName = exports.path = void 0;
|
|
23293
23354
|
var AugmentedThemeDocset_1 = require_AugmentedThemeDocset(), JSONValidator_1 = require_JSONValidator(), context_utils_1 = require_context_utils(), disabled_checks_1 = require_disabled_checks(), ignore_1 = require_ignore2(), path4 = __importStar2(require_path()), types_1 = require_types4(), utils_1 = require_utils(), visitors_1 = require_visitors();
|
|
23294
23355
|
__exportStar2(require_AbstractFileSystem(), exports);
|
|
23295
23356
|
__exportStar2(require_AugmentedThemeDocset(), exports);
|
|
@@ -23311,6 +23372,10 @@ var require_dist3 = __commonJS({
|
|
|
23311
23372
|
__exportStar2(require_object(), exports);
|
|
23312
23373
|
__exportStar2(require_visitor(), exports);
|
|
23313
23374
|
__exportStar2(require_liquidDoc(), exports);
|
|
23375
|
+
var arguments_1 = require_arguments();
|
|
23376
|
+
Object.defineProperty(exports, "getBlockName", { enumerable: !0, get: function() {
|
|
23377
|
+
return arguments_1.getBlockName;
|
|
23378
|
+
} });
|
|
23314
23379
|
__exportStar2(require_utils4(), exports);
|
|
23315
23380
|
var defaultErrorHandler = (_error) => {
|
|
23316
23381
|
};
|
|
@@ -23452,9 +23517,9 @@ var require_env_paths = __commonJS({
|
|
|
23452
23517
|
}
|
|
23453
23518
|
});
|
|
23454
23519
|
|
|
23455
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23520
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/utils.js
|
|
23456
23521
|
var require_utils6 = __commonJS({
|
|
23457
|
-
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23522
|
+
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/utils.js"(exports) {
|
|
23458
23523
|
"use strict";
|
|
23459
23524
|
init_cjs_shims();
|
|
23460
23525
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -23476,9 +23541,9 @@ var require_utils6 = __commonJS({
|
|
|
23476
23541
|
}
|
|
23477
23542
|
});
|
|
23478
23543
|
|
|
23479
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23544
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/themeLiquidDocsDownloader.js
|
|
23480
23545
|
var require_themeLiquidDocsDownloader = __commonJS({
|
|
23481
|
-
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23546
|
+
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/themeLiquidDocsDownloader.js"(exports) {
|
|
23482
23547
|
"use strict";
|
|
23483
23548
|
init_cjs_shims();
|
|
23484
23549
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -23575,9 +23640,9 @@ ${error}`), error;
|
|
|
23575
23640
|
}
|
|
23576
23641
|
});
|
|
23577
23642
|
|
|
23578
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23643
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/themeLiquidDocsManager.js
|
|
23579
23644
|
var require_themeLiquidDocsManager = __commonJS({
|
|
23580
|
-
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23645
|
+
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/themeLiquidDocsManager.js"(exports) {
|
|
23581
23646
|
"use strict";
|
|
23582
23647
|
init_cjs_shims();
|
|
23583
23648
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -23665,9 +23730,9 @@ ${e instanceof Error ? e.message : e}`);
|
|
|
23665
23730
|
}
|
|
23666
23731
|
});
|
|
23667
23732
|
|
|
23668
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23733
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/index.js
|
|
23669
23734
|
var require_dist4 = __commonJS({
|
|
23670
|
-
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.
|
|
23735
|
+
"../../node_modules/.pnpm/@shopify+theme-check-docs-updater@3.17.0/node_modules/@shopify/theme-check-docs-updater/dist/index.js"(exports) {
|
|
23671
23736
|
"use strict";
|
|
23672
23737
|
init_cjs_shims();
|
|
23673
23738
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -24731,9 +24796,9 @@ var require_glob2 = __commonJS({
|
|
|
24731
24796
|
}
|
|
24732
24797
|
});
|
|
24733
24798
|
|
|
24734
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24799
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/autofix.js
|
|
24735
24800
|
var require_autofix2 = __commonJS({
|
|
24736
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24801
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/autofix.js"(exports) {
|
|
24737
24802
|
"use strict";
|
|
24738
24803
|
init_cjs_shims();
|
|
24739
24804
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -24750,9 +24815,9 @@ var require_autofix2 = __commonJS({
|
|
|
24750
24815
|
}
|
|
24751
24816
|
});
|
|
24752
24817
|
|
|
24753
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24818
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/file-utils.js
|
|
24754
24819
|
var require_file_utils2 = __commonJS({
|
|
24755
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24820
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/file-utils.js"(exports) {
|
|
24756
24821
|
"use strict";
|
|
24757
24822
|
init_cjs_shims();
|
|
24758
24823
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -24772,9 +24837,9 @@ var require_file_utils2 = __commonJS({
|
|
|
24772
24837
|
}
|
|
24773
24838
|
});
|
|
24774
24839
|
|
|
24775
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24840
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/installation-location.js
|
|
24776
24841
|
var require_installation_location = __commonJS({
|
|
24777
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24842
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/installation-location.js"(exports) {
|
|
24778
24843
|
"use strict";
|
|
24779
24844
|
init_cjs_shims();
|
|
24780
24845
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -24787,9 +24852,9 @@ var require_installation_location = __commonJS({
|
|
|
24787
24852
|
}
|
|
24788
24853
|
});
|
|
24789
24854
|
|
|
24790
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24855
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-third-party-checks.js
|
|
24791
24856
|
var require_load_third_party_checks = __commonJS({
|
|
24792
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24857
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-third-party-checks.js"(exports) {
|
|
24793
24858
|
"use strict";
|
|
24794
24859
|
init_cjs_shims();
|
|
24795
24860
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -24837,9 +24902,9 @@ ${e}`);
|
|
|
24837
24902
|
}
|
|
24838
24903
|
});
|
|
24839
24904
|
|
|
24840
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24905
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-config-description.js
|
|
24841
24906
|
var require_load_config_description = __commonJS({
|
|
24842
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
24907
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-config-description.js"(exports) {
|
|
24843
24908
|
"use strict";
|
|
24844
24909
|
init_cjs_shims();
|
|
24845
24910
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -30383,9 +30448,9 @@ var require_dist5 = __commonJS({
|
|
|
30383
30448
|
}
|
|
30384
30449
|
});
|
|
30385
30450
|
|
|
30386
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30451
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/types.js
|
|
30387
30452
|
var require_types5 = __commonJS({
|
|
30388
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30453
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/types.js"(exports) {
|
|
30389
30454
|
"use strict";
|
|
30390
30455
|
init_cjs_shims();
|
|
30391
30456
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30414,9 +30479,9 @@ var require_types5 = __commonJS({
|
|
|
30414
30479
|
}
|
|
30415
30480
|
});
|
|
30416
30481
|
|
|
30417
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30482
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/read-yaml.js
|
|
30418
30483
|
var require_read_yaml = __commonJS({
|
|
30419
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30484
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/read-yaml.js"(exports) {
|
|
30420
30485
|
"use strict";
|
|
30421
30486
|
init_cjs_shims();
|
|
30422
30487
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -30509,9 +30574,9 @@ ${message}`;
|
|
|
30509
30574
|
}
|
|
30510
30575
|
});
|
|
30511
30576
|
|
|
30512
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30577
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/merge-fragments.js
|
|
30513
30578
|
var require_merge_fragments = __commonJS({
|
|
30514
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30579
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/merge-fragments.js"(exports) {
|
|
30515
30580
|
"use strict";
|
|
30516
30581
|
init_cjs_shims();
|
|
30517
30582
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30549,9 +30614,9 @@ var require_merge_fragments = __commonJS({
|
|
|
30549
30614
|
}
|
|
30550
30615
|
});
|
|
30551
30616
|
|
|
30552
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30617
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/resolve-config.js
|
|
30553
30618
|
var require_resolve_config = __commonJS({
|
|
30554
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30619
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/resolve-config.js"(exports) {
|
|
30555
30620
|
"use strict";
|
|
30556
30621
|
init_cjs_shims();
|
|
30557
30622
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -30575,9 +30640,9 @@ var require_resolve_config = __commonJS({
|
|
|
30575
30640
|
}
|
|
30576
30641
|
});
|
|
30577
30642
|
|
|
30578
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30643
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/index.js
|
|
30579
30644
|
var require_resolve = __commonJS({
|
|
30580
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30645
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/resolve/index.js"(exports) {
|
|
30581
30646
|
"use strict";
|
|
30582
30647
|
init_cjs_shims();
|
|
30583
30648
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30589,9 +30654,9 @@ var require_resolve = __commonJS({
|
|
|
30589
30654
|
}
|
|
30590
30655
|
});
|
|
30591
30656
|
|
|
30592
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30657
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/validation.js
|
|
30593
30658
|
var require_validation = __commonJS({
|
|
30594
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30659
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/validation.js"(exports) {
|
|
30595
30660
|
"use strict";
|
|
30596
30661
|
init_cjs_shims();
|
|
30597
30662
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30661,9 +30726,9 @@ var require_validation = __commonJS({
|
|
|
30661
30726
|
}
|
|
30662
30727
|
});
|
|
30663
30728
|
|
|
30664
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30729
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-config.js
|
|
30665
30730
|
var require_load_config = __commonJS({
|
|
30666
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30731
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/load-config.js"(exports) {
|
|
30667
30732
|
"use strict";
|
|
30668
30733
|
init_cjs_shims();
|
|
30669
30734
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -30684,9 +30749,9 @@ var require_load_config = __commonJS({
|
|
|
30684
30749
|
}
|
|
30685
30750
|
});
|
|
30686
30751
|
|
|
30687
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30752
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/find-config-path.js
|
|
30688
30753
|
var require_find_config_path = __commonJS({
|
|
30689
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30754
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/find-config-path.js"(exports) {
|
|
30690
30755
|
"use strict";
|
|
30691
30756
|
init_cjs_shims();
|
|
30692
30757
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -30708,9 +30773,9 @@ var require_find_config_path = __commonJS({
|
|
|
30708
30773
|
}
|
|
30709
30774
|
});
|
|
30710
30775
|
|
|
30711
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30776
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/index.js
|
|
30712
30777
|
var require_config = __commonJS({
|
|
30713
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30778
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/config/index.js"(exports) {
|
|
30714
30779
|
"use strict";
|
|
30715
30780
|
init_cjs_shims();
|
|
30716
30781
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30726,9 +30791,9 @@ var require_config = __commonJS({
|
|
|
30726
30791
|
}
|
|
30727
30792
|
});
|
|
30728
30793
|
|
|
30729
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30794
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/NodeFileSystem.js
|
|
30730
30795
|
var require_NodeFileSystem = __commonJS({
|
|
30731
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30796
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/NodeFileSystem.js"(exports) {
|
|
30732
30797
|
"use strict";
|
|
30733
30798
|
init_cjs_shims();
|
|
30734
30799
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -30759,9 +30824,9 @@ var require_NodeFileSystem = __commonJS({
|
|
|
30759
30824
|
}
|
|
30760
30825
|
});
|
|
30761
30826
|
|
|
30762
|
-
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30827
|
+
// ../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/index.js
|
|
30763
30828
|
var require_dist6 = __commonJS({
|
|
30764
|
-
"../../node_modules/.pnpm/@shopify+theme-check-node@3.
|
|
30829
|
+
"../../node_modules/.pnpm/@shopify+theme-check-node@3.17.0/node_modules/@shopify/theme-check-node/dist/index.js"(exports) {
|
|
30765
30830
|
"use strict";
|
|
30766
30831
|
init_cjs_shims();
|
|
30767
30832
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -30875,18 +30940,18 @@ var require_dist6 = __commonJS({
|
|
|
30875
30940
|
}
|
|
30876
30941
|
});
|
|
30877
30942
|
|
|
30878
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
30943
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/types.js
|
|
30879
30944
|
var require_types6 = __commonJS({
|
|
30880
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
30945
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/types.js"(exports) {
|
|
30881
30946
|
"use strict";
|
|
30882
30947
|
init_cjs_shims();
|
|
30883
30948
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
30884
30949
|
}
|
|
30885
30950
|
});
|
|
30886
30951
|
|
|
30887
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
30952
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/debounce.js
|
|
30888
30953
|
var require_debounce = __commonJS({
|
|
30889
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
30954
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/debounce.js"(exports) {
|
|
30890
30955
|
"use strict";
|
|
30891
30956
|
init_cjs_shims();
|
|
30892
30957
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30905,9 +30970,9 @@ var require_debounce = __commonJS({
|
|
|
30905
30970
|
}
|
|
30906
30971
|
});
|
|
30907
30972
|
|
|
30908
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
30973
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/array.js
|
|
30909
30974
|
var require_array2 = __commonJS({
|
|
30910
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
30975
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/array.js"(exports) {
|
|
30911
30976
|
"use strict";
|
|
30912
30977
|
init_cjs_shims();
|
|
30913
30978
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30921,9 +30986,9 @@ var require_array2 = __commonJS({
|
|
|
30921
30986
|
}
|
|
30922
30987
|
});
|
|
30923
30988
|
|
|
30924
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
30989
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/node.js
|
|
30925
30990
|
var require_node = __commonJS({
|
|
30926
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
30991
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/node.js"(exports) {
|
|
30927
30992
|
"use strict";
|
|
30928
30993
|
init_cjs_shims();
|
|
30929
30994
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30976,9 +31041,9 @@ var require_node = __commonJS({
|
|
|
30976
31041
|
}
|
|
30977
31042
|
});
|
|
30978
31043
|
|
|
30979
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
31044
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/isCovered.js
|
|
30980
31045
|
var require_isCovered = __commonJS({
|
|
30981
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
31046
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/isCovered.js"(exports) {
|
|
30982
31047
|
"use strict";
|
|
30983
31048
|
init_cjs_shims();
|
|
30984
31049
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -30990,9 +31055,9 @@ var require_isCovered = __commonJS({
|
|
|
30990
31055
|
}
|
|
30991
31056
|
});
|
|
30992
31057
|
|
|
30993
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
31058
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/index.js
|
|
30994
31059
|
var require_utils7 = __commonJS({
|
|
30995
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
31060
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/index.js"(exports) {
|
|
30996
31061
|
"use strict";
|
|
30997
31062
|
init_cjs_shims();
|
|
30998
31063
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -37422,9 +37487,9 @@ var require_main5 = __commonJS({
|
|
|
37422
37487
|
}
|
|
37423
37488
|
});
|
|
37424
37489
|
|
|
37425
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37490
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/ClientCapabilities.js
|
|
37426
37491
|
var require_ClientCapabilities = __commonJS({
|
|
37427
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37492
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/ClientCapabilities.js"(exports) {
|
|
37428
37493
|
"use strict";
|
|
37429
37494
|
init_cjs_shims();
|
|
37430
37495
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37480,9 +37545,9 @@ var require_ClientCapabilities = __commonJS({
|
|
|
37480
37545
|
}
|
|
37481
37546
|
});
|
|
37482
37547
|
|
|
37483
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37548
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/BaseExecuteCommandProvider.js
|
|
37484
37549
|
var require_BaseExecuteCommandProvider = __commonJS({
|
|
37485
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37550
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/BaseExecuteCommandProvider.js"(exports) {
|
|
37486
37551
|
"use strict";
|
|
37487
37552
|
init_cjs_shims();
|
|
37488
37553
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37496,9 +37561,9 @@ var require_BaseExecuteCommandProvider = __commonJS({
|
|
|
37496
37561
|
}
|
|
37497
37562
|
});
|
|
37498
37563
|
|
|
37499
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37564
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/ApplyFixesProvider.js
|
|
37500
37565
|
var require_ApplyFixesProvider = __commonJS({
|
|
37501
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37566
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/ApplyFixesProvider.js"(exports) {
|
|
37502
37567
|
"use strict";
|
|
37503
37568
|
init_cjs_shims();
|
|
37504
37569
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37544,9 +37609,9 @@ var require_ApplyFixesProvider = __commonJS({
|
|
|
37544
37609
|
}
|
|
37545
37610
|
});
|
|
37546
37611
|
|
|
37547
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37612
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/ApplySuggestionProvider.js
|
|
37548
37613
|
var require_ApplySuggestionProvider = __commonJS({
|
|
37549
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37614
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/ApplySuggestionProvider.js"(exports) {
|
|
37550
37615
|
"use strict";
|
|
37551
37616
|
init_cjs_shims();
|
|
37552
37617
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37599,9 +37664,9 @@ var require_ApplySuggestionProvider = __commonJS({
|
|
|
37599
37664
|
}
|
|
37600
37665
|
});
|
|
37601
37666
|
|
|
37602
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37667
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/RunChecksProvider.js
|
|
37603
37668
|
var require_RunChecksProvider = __commonJS({
|
|
37604
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37669
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/RunChecksProvider.js"(exports) {
|
|
37605
37670
|
"use strict";
|
|
37606
37671
|
init_cjs_shims();
|
|
37607
37672
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37620,9 +37685,9 @@ var require_RunChecksProvider = __commonJS({
|
|
|
37620
37685
|
}
|
|
37621
37686
|
});
|
|
37622
37687
|
|
|
37623
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37688
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/index.js
|
|
37624
37689
|
var require_providers = __commonJS({
|
|
37625
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37690
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/providers/index.js"(exports) {
|
|
37626
37691
|
"use strict";
|
|
37627
37692
|
init_cjs_shims();
|
|
37628
37693
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37648,9 +37713,9 @@ var require_providers = __commonJS({
|
|
|
37648
37713
|
}
|
|
37649
37714
|
});
|
|
37650
37715
|
|
|
37651
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37716
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/ExecuteCommandProvider.js
|
|
37652
37717
|
var require_ExecuteCommandProvider = __commonJS({
|
|
37653
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37718
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/ExecuteCommandProvider.js"(exports) {
|
|
37654
37719
|
"use strict";
|
|
37655
37720
|
init_cjs_shims();
|
|
37656
37721
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37684,9 +37749,9 @@ var require_ExecuteCommandProvider = __commonJS({
|
|
|
37684
37749
|
}
|
|
37685
37750
|
});
|
|
37686
37751
|
|
|
37687
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37752
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/index.js
|
|
37688
37753
|
var require_commands = __commonJS({
|
|
37689
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37754
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/commands/index.js"(exports) {
|
|
37690
37755
|
"use strict";
|
|
37691
37756
|
init_cjs_shims();
|
|
37692
37757
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37705,9 +37770,9 @@ var require_commands = __commonJS({
|
|
|
37705
37770
|
}
|
|
37706
37771
|
});
|
|
37707
37772
|
|
|
37708
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37773
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/BaseCodeActionsProvider.js
|
|
37709
37774
|
var require_BaseCodeActionsProvider = __commonJS({
|
|
37710
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37775
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/BaseCodeActionsProvider.js"(exports) {
|
|
37711
37776
|
"use strict";
|
|
37712
37777
|
init_cjs_shims();
|
|
37713
37778
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37724,9 +37789,9 @@ var require_BaseCodeActionsProvider = __commonJS({
|
|
|
37724
37789
|
}
|
|
37725
37790
|
});
|
|
37726
37791
|
|
|
37727
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37792
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/utils.js
|
|
37728
37793
|
var require_utils8 = __commonJS({
|
|
37729
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37794
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/utils.js"(exports) {
|
|
37730
37795
|
"use strict";
|
|
37731
37796
|
init_cjs_shims();
|
|
37732
37797
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37750,9 +37815,9 @@ var require_utils8 = __commonJS({
|
|
|
37750
37815
|
}
|
|
37751
37816
|
});
|
|
37752
37817
|
|
|
37753
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37818
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/FixProvider.js
|
|
37754
37819
|
var require_FixProvider = __commonJS({
|
|
37755
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37820
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/FixProvider.js"(exports) {
|
|
37756
37821
|
"use strict";
|
|
37757
37822
|
init_cjs_shims();
|
|
37758
37823
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37794,9 +37859,9 @@ var require_FixProvider = __commonJS({
|
|
|
37794
37859
|
}
|
|
37795
37860
|
});
|
|
37796
37861
|
|
|
37797
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37862
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/FixAllProvider.js
|
|
37798
37863
|
var require_FixAllProvider = __commonJS({
|
|
37799
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37864
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/FixAllProvider.js"(exports) {
|
|
37800
37865
|
"use strict";
|
|
37801
37866
|
init_cjs_shims();
|
|
37802
37867
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37821,9 +37886,9 @@ var require_FixAllProvider = __commonJS({
|
|
|
37821
37886
|
}
|
|
37822
37887
|
});
|
|
37823
37888
|
|
|
37824
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37889
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/SuggestionProvider.js
|
|
37825
37890
|
var require_SuggestionProvider = __commonJS({
|
|
37826
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37891
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/SuggestionProvider.js"(exports) {
|
|
37827
37892
|
"use strict";
|
|
37828
37893
|
init_cjs_shims();
|
|
37829
37894
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37849,9 +37914,9 @@ var require_SuggestionProvider = __commonJS({
|
|
|
37849
37914
|
}
|
|
37850
37915
|
});
|
|
37851
37916
|
|
|
37852
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37917
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/index.js
|
|
37853
37918
|
var require_providers2 = __commonJS({
|
|
37854
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37919
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/providers/index.js"(exports) {
|
|
37855
37920
|
"use strict";
|
|
37856
37921
|
init_cjs_shims();
|
|
37857
37922
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37871,9 +37936,9 @@ var require_providers2 = __commonJS({
|
|
|
37871
37936
|
}
|
|
37872
37937
|
});
|
|
37873
37938
|
|
|
37874
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37939
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/CodeActionsProvider.js
|
|
37875
37940
|
var require_CodeActionsProvider = __commonJS({
|
|
37876
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37941
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/CodeActionsProvider.js"(exports) {
|
|
37877
37942
|
"use strict";
|
|
37878
37943
|
init_cjs_shims();
|
|
37879
37944
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37897,9 +37962,9 @@ var require_CodeActionsProvider = __commonJS({
|
|
|
37897
37962
|
}
|
|
37898
37963
|
});
|
|
37899
37964
|
|
|
37900
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37965
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/index.js
|
|
37901
37966
|
var require_codeActions = __commonJS({
|
|
37902
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37967
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/codeActions/index.js"(exports) {
|
|
37903
37968
|
"use strict";
|
|
37904
37969
|
init_cjs_shims();
|
|
37905
37970
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37914,9 +37979,9 @@ var require_codeActions = __commonJS({
|
|
|
37914
37979
|
}
|
|
37915
37980
|
});
|
|
37916
37981
|
|
|
37917
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37982
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/settings/index.js
|
|
37918
37983
|
var require_settings = __commonJS({
|
|
37919
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
37984
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/settings/index.js"(exports) {
|
|
37920
37985
|
"use strict";
|
|
37921
37986
|
init_cjs_shims();
|
|
37922
37987
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -37932,13 +37997,13 @@ var require_settings = __commonJS({
|
|
|
37932
37997
|
}
|
|
37933
37998
|
});
|
|
37934
37999
|
|
|
37935
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38000
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/TypeSystem.js
|
|
37936
38001
|
var require_TypeSystem = __commonJS({
|
|
37937
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38002
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/TypeSystem.js"(exports) {
|
|
37938
38003
|
"use strict";
|
|
37939
38004
|
init_cjs_shims();
|
|
37940
38005
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
37941
|
-
exports.isArrayType = exports.docsetEntryReturnType = exports.TypeSystem = void 0;
|
|
38006
|
+
exports.isArrayType = exports.docsetEntryReturnType = exports.Unknown = exports.Untyped = exports.TypeSystem = void 0;
|
|
37942
38007
|
var liquid_html_parser_1 = require_dist2(), theme_check_common_1 = require_dist3(), settings_1 = require_settings(), utils_1 = require_utils7(), theme_check_common_2 = require_dist3(), TypeSystem = class {
|
|
37943
38008
|
constructor(themeDocset, getThemeSettingsSchemaForURI, getMetafieldDefinitions) {
|
|
37944
38009
|
this.themeDocset = themeDocset, this.getThemeSettingsSchemaForURI = getThemeSettingsSchemaForURI, this.getMetafieldDefinitions = getMetafieldDefinitions, this.objectMap = async (uri, ast) => {
|
|
@@ -38124,7 +38189,9 @@ var require_TypeSystem = __commonJS({
|
|
|
38124
38189
|
"tracking_code"
|
|
38125
38190
|
] : SECTION_FILE_REGEX.test(normalizedUri) ? ["section", "predictive_search", "recommendations", "comment"] : BLOCK_FILE_REGEX.test(normalizedUri) ? ["app", "section", "recommendations", "block"] : SNIPPET_FILE_REGEX.test(normalizedUri) ? ["app"] : [];
|
|
38126
38191
|
}
|
|
38127
|
-
|
|
38192
|
+
exports.Untyped = "untyped";
|
|
38193
|
+
exports.Unknown = "unknown";
|
|
38194
|
+
var String2 = "string", arrayType = (valueType) => ({
|
|
38128
38195
|
kind: "array",
|
|
38129
38196
|
valueType
|
|
38130
38197
|
}), lazyVariable = (node, offset) => ({
|
|
@@ -38215,7 +38282,7 @@ var require_TypeSystem = __commonJS({
|
|
|
38215
38282
|
return typeRangeType;
|
|
38216
38283
|
case "deconstructed": {
|
|
38217
38284
|
let arrayType2 = inferType(typeRangeType.node, symbolsTable, objectMap, filtersMap);
|
|
38218
|
-
return typeof arrayType2 == "string" ? Untyped : arrayType2.valueType;
|
|
38285
|
+
return typeof arrayType2 == "string" ? exports.Untyped : arrayType2.valueType;
|
|
38219
38286
|
}
|
|
38220
38287
|
default:
|
|
38221
38288
|
return inferType(typeRangeType.node, symbolsTable, objectMap, filtersMap);
|
|
@@ -38224,7 +38291,7 @@ var require_TypeSystem = __commonJS({
|
|
|
38224
38291
|
function inferType(thing, symbolsTable, objectMap, filtersMap) {
|
|
38225
38292
|
var _a42, _b;
|
|
38226
38293
|
if (typeof thing == "string")
|
|
38227
|
-
return (_b = (_a42 = objectMap[thing]) === null || _a42 === void 0 ? void 0 : _a42.name) !== null && _b !== void 0 ? _b : Untyped;
|
|
38294
|
+
return (_b = (_a42 = objectMap[thing]) === null || _a42 === void 0 ? void 0 : _a42.name) !== null && _b !== void 0 ? _b : exports.Untyped;
|
|
38228
38295
|
switch (thing.type) {
|
|
38229
38296
|
case liquid_html_parser_1.NodeTypes.Number:
|
|
38230
38297
|
return "number";
|
|
@@ -38247,38 +38314,47 @@ var require_TypeSystem = __commonJS({
|
|
|
38247
38314
|
// {{ y.property | filter1 | filter2 }}
|
|
38248
38315
|
case liquid_html_parser_1.NodeTypes.LiquidVariable:
|
|
38249
38316
|
if (thing.filters.length > 0) {
|
|
38250
|
-
let lastFilter = thing.filters.at(-1)
|
|
38251
|
-
|
|
38317
|
+
let lastFilter = thing.filters.at(-1);
|
|
38318
|
+
if (lastFilter.name === "default" && lastFilter.args.length > 0 && lastFilter.args[0].type !== liquid_html_parser_1.NodeTypes.NamedArgument)
|
|
38319
|
+
return inferType(lastFilter.args[0], symbolsTable, objectMap, filtersMap);
|
|
38320
|
+
let filterEntry = filtersMap[lastFilter.name];
|
|
38321
|
+
return filterEntry ? filterEntryReturnType(filterEntry) : exports.Untyped;
|
|
38252
38322
|
} else
|
|
38253
38323
|
return inferType(thing.expression, symbolsTable, objectMap, filtersMap);
|
|
38254
38324
|
default:
|
|
38255
|
-
return Untyped;
|
|
38325
|
+
return exports.Untyped;
|
|
38256
38326
|
}
|
|
38257
38327
|
}
|
|
38258
38328
|
function inferLiquidDocParamType(node, liquidDrops) {
|
|
38259
|
-
|
|
38260
|
-
|
|
38261
|
-
|
|
38329
|
+
var _a42;
|
|
38330
|
+
let paramTypeValue = (_a42 = node.paramType) === null || _a42 === void 0 ? void 0 : _a42.value;
|
|
38331
|
+
if (!paramTypeValue)
|
|
38332
|
+
return exports.Untyped;
|
|
38333
|
+
let validParamTypes = (0, theme_check_common_1.getValidParamTypes)(liquidDrops), parsedParamType = (0, theme_check_common_1.parseParamType)(new Set(validParamTypes.keys()), paramTypeValue);
|
|
38334
|
+
if (!parsedParamType)
|
|
38335
|
+
return exports.Untyped;
|
|
38336
|
+
let [type, isArray] = parsedParamType, transformedParamType;
|
|
38337
|
+
return type === theme_check_common_1.BasicParamTypes.Object ? transformedParamType = exports.Untyped : transformedParamType = type, isArray ? arrayType(transformedParamType) : transformedParamType;
|
|
38262
38338
|
}
|
|
38263
38339
|
function inferLookupType(thing, symbolsTable, objectMap, filtersMap) {
|
|
38264
38340
|
let node = thing;
|
|
38265
38341
|
if (node.name === null)
|
|
38266
|
-
return Untyped;
|
|
38342
|
+
return exports.Untyped;
|
|
38267
38343
|
let curr = inferIdentifierType(node, symbolsTable, objectMap, filtersMap);
|
|
38268
38344
|
for (let lookup3 of node.lookups)
|
|
38269
|
-
if (isArrayType(curr) ? curr = inferArrayTypeLookupType(curr, lookup3) : curr = inferPseudoTypePropertyType(curr, lookup3, objectMap), curr === Untyped)
|
|
38270
|
-
return Untyped;
|
|
38345
|
+
if (isArrayType(curr) ? curr = inferArrayTypeLookupType(curr, lookup3) : curr = inferPseudoTypePropertyType(curr, lookup3, objectMap), curr === exports.Untyped)
|
|
38346
|
+
return exports.Untyped;
|
|
38271
38347
|
return curr;
|
|
38272
38348
|
}
|
|
38273
38349
|
function inferIdentifierType(node, symbolsTable, objectMap, filtersMap) {
|
|
38274
38350
|
let identifier = node.name;
|
|
38275
38351
|
if (!identifier)
|
|
38276
|
-
return Untyped;
|
|
38352
|
+
return exports.Untyped;
|
|
38277
38353
|
let typeRanges = symbolsTable[identifier];
|
|
38278
38354
|
if (!typeRanges)
|
|
38279
|
-
return
|
|
38355
|
+
return exports.Unknown;
|
|
38280
38356
|
let typeRange = (0, utils_1.findLast)(typeRanges, (tr) => isCorrectTypeRange(tr, node));
|
|
38281
|
-
return typeRange ? resolveTypeRangeType(typeRange.type, symbolsTable, objectMap, filtersMap) :
|
|
38357
|
+
return typeRange ? resolveTypeRangeType(typeRange.type, symbolsTable, objectMap, filtersMap) : exports.Unknown;
|
|
38282
38358
|
}
|
|
38283
38359
|
function inferArrayTypeLookupType(curr, lookup3) {
|
|
38284
38360
|
if (lookup3.type === liquid_html_parser_1.NodeTypes.Number || lookup3.type === liquid_html_parser_1.NodeTypes.VariableLookup)
|
|
@@ -38291,18 +38367,34 @@ var require_TypeSystem = __commonJS({
|
|
|
38291
38367
|
case "size":
|
|
38292
38368
|
return "number";
|
|
38293
38369
|
default:
|
|
38294
|
-
return
|
|
38370
|
+
return exports.Unknown;
|
|
38295
38371
|
}
|
|
38296
38372
|
else
|
|
38297
|
-
return Untyped;
|
|
38373
|
+
return exports.Untyped;
|
|
38298
38374
|
}
|
|
38299
38375
|
function inferPseudoTypePropertyType(curr, lookup3, objectMap) {
|
|
38300
38376
|
var _a42;
|
|
38301
38377
|
let parentEntry = objectMap[curr];
|
|
38302
|
-
if (
|
|
38303
|
-
return Untyped;
|
|
38378
|
+
if (lookup3.type !== liquid_html_parser_1.NodeTypes.String)
|
|
38379
|
+
return exports.Untyped;
|
|
38380
|
+
if (!parentEntry) {
|
|
38381
|
+
if (curr === "string")
|
|
38382
|
+
switch (lookup3.value) {
|
|
38383
|
+
// some_string.first
|
|
38384
|
+
// some_string.last
|
|
38385
|
+
case "first":
|
|
38386
|
+
case "last":
|
|
38387
|
+
return "string";
|
|
38388
|
+
// some_string.size
|
|
38389
|
+
case "size":
|
|
38390
|
+
return "number";
|
|
38391
|
+
default:
|
|
38392
|
+
return exports.Unknown;
|
|
38393
|
+
}
|
|
38394
|
+
return exports.Untyped;
|
|
38395
|
+
}
|
|
38304
38396
|
let propertyName = lookup3.value, property = (_a42 = parentEntry.properties) === null || _a42 === void 0 ? void 0 : _a42.find((property2) => property2.name === propertyName);
|
|
38305
|
-
return property ? objectEntryType(property) : Untyped;
|
|
38397
|
+
return property ? objectEntryType(property) : exports.Untyped;
|
|
38306
38398
|
}
|
|
38307
38399
|
function filterEntryReturnType(entry) {
|
|
38308
38400
|
return docsetEntryReturnType(entry, "string");
|
|
@@ -38422,17 +38514,17 @@ var require_TypeSystem = __commonJS({
|
|
|
38422
38514
|
dimension: "measurement",
|
|
38423
38515
|
rating: "rating",
|
|
38424
38516
|
money: "money",
|
|
38425
|
-
json: Untyped,
|
|
38517
|
+
json: exports.Untyped,
|
|
38426
38518
|
metaobject_reference: "metaobject",
|
|
38427
|
-
mixed_reference: Untyped,
|
|
38428
|
-
rich_text_field: Untyped,
|
|
38429
|
-
file_reference: Untyped
|
|
38519
|
+
mixed_reference: exports.Untyped,
|
|
38520
|
+
rich_text_field: exports.Untyped,
|
|
38521
|
+
file_reference: exports.Untyped
|
|
38430
38522
|
}), REFERENCE_TYPE_METAFIELDS = Object.entries(METAFIELD_TYPE_TO_TYPE).filter(([metafieldType, _type]) => metafieldType.endsWith("_reference")).map(([_metafieldType, type]) => type);
|
|
38431
38523
|
function metafieldReturnType(metafieldType) {
|
|
38432
38524
|
var _a42;
|
|
38433
38525
|
let isArray = metafieldType.startsWith("list.");
|
|
38434
38526
|
isArray && (metafieldType = metafieldType.split(".")[1]);
|
|
38435
|
-
let type = "metafield_" + ((_a42 = METAFIELD_TYPE_TO_TYPE[metafieldType]) !== null && _a42 !== void 0 ? _a42 : Untyped);
|
|
38527
|
+
let type = "metafield_" + ((_a42 = METAFIELD_TYPE_TO_TYPE[metafieldType]) !== null && _a42 !== void 0 ? _a42 : exports.Untyped);
|
|
38436
38528
|
return isArray ? [{ type: `${type}_array`, name: "" }] : [{ type, name: "" }];
|
|
38437
38529
|
}
|
|
38438
38530
|
var customMetafieldTypeEntries = (0, utils_1.memo)((baseMetafieldEntry) => baseMetafieldEntry ? [
|
|
@@ -38480,9 +38572,9 @@ var require_TypeSystem = __commonJS({
|
|
|
38480
38572
|
}
|
|
38481
38573
|
});
|
|
38482
38574
|
|
|
38483
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38575
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/fix.js
|
|
38484
38576
|
var require_fix = __commonJS({
|
|
38485
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38577
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/fix.js"(exports) {
|
|
38486
38578
|
"use strict";
|
|
38487
38579
|
init_cjs_shims();
|
|
38488
38580
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -38651,9 +38743,9 @@ var require_fix = __commonJS({
|
|
|
38651
38743
|
}
|
|
38652
38744
|
});
|
|
38653
38745
|
|
|
38654
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38746
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/LiquidCompletionParams.js
|
|
38655
38747
|
var require_LiquidCompletionParams = __commonJS({
|
|
38656
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38748
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/LiquidCompletionParams.js"(exports) {
|
|
38657
38749
|
"use strict";
|
|
38658
38750
|
init_cjs_shims();
|
|
38659
38751
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -38861,9 +38953,9 @@ var require_LiquidCompletionParams = __commonJS({
|
|
|
38861
38953
|
}
|
|
38862
38954
|
});
|
|
38863
38955
|
|
|
38864
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38956
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/index.js
|
|
38865
38957
|
var require_params = __commonJS({
|
|
38866
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38958
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/params/index.js"(exports) {
|
|
38867
38959
|
"use strict";
|
|
38868
38960
|
init_cjs_shims();
|
|
38869
38961
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -38879,9 +38971,9 @@ var require_params = __commonJS({
|
|
|
38879
38971
|
}
|
|
38880
38972
|
});
|
|
38881
38973
|
|
|
38882
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38974
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForCompletionProvider.js
|
|
38883
38975
|
var require_ContentForCompletionProvider = __commonJS({
|
|
38884
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
38976
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForCompletionProvider.js"(exports) {
|
|
38885
38977
|
"use strict";
|
|
38886
38978
|
init_cjs_shims();
|
|
38887
38979
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -38945,9 +39037,9 @@ to see how to create theme blocks that can be used this way.
|
|
|
38945
39037
|
}
|
|
38946
39038
|
});
|
|
38947
39039
|
|
|
38948
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39040
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForBlockTypeCompletionProvider.js
|
|
38949
39041
|
var require_ContentForBlockTypeCompletionProvider = __commonJS({
|
|
38950
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39042
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForBlockTypeCompletionProvider.js"(exports) {
|
|
38951
39043
|
"use strict";
|
|
38952
39044
|
init_cjs_shims();
|
|
38953
39045
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -38971,9 +39063,9 @@ var require_ContentForBlockTypeCompletionProvider = __commonJS({
|
|
|
38971
39063
|
}
|
|
38972
39064
|
});
|
|
38973
39065
|
|
|
38974
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39066
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/data/contentForParameterCompletionOptions.js
|
|
38975
39067
|
var require_contentForParameterCompletionOptions = __commonJS({
|
|
38976
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39068
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/data/contentForParameterCompletionOptions.js"(exports) {
|
|
38977
39069
|
"use strict";
|
|
38978
39070
|
init_cjs_shims();
|
|
38979
39071
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -38986,14 +39078,14 @@ var require_contentForParameterCompletionOptions = __commonJS({
|
|
|
38986
39078
|
}
|
|
38987
39079
|
});
|
|
38988
39080
|
|
|
38989
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39081
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/liquidDoc.js
|
|
38990
39082
|
var require_liquidDoc2 = __commonJS({
|
|
38991
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39083
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/liquidDoc.js"(exports) {
|
|
38992
39084
|
"use strict";
|
|
38993
39085
|
init_cjs_shims();
|
|
38994
39086
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
38995
|
-
exports.getParameterCompletionTemplate = exports.SUPPORTED_LIQUID_DOC_TAG_HANDLES = exports.formatLiquidDocTagHandle = exports.formatLiquidDocParameter = void 0;
|
|
38996
|
-
var theme_check_common_1 = require_dist3()
|
|
39087
|
+
exports.formatLiquidDocContentMarkdown = exports.getParameterCompletionTemplate = exports.SUPPORTED_LIQUID_DOC_TAG_HANDLES = exports.formatLiquidDocTagHandle = exports.formatLiquidDocParameter = void 0;
|
|
39088
|
+
var theme_check_common_1 = require_dist3();
|
|
38997
39089
|
function formatLiquidDocParameter({ name, type, description, required }, heading = !1) {
|
|
38998
39090
|
let nameStr = required ? `\`${name}\`` : `\`${name}\` (Optional)`, typeStr = type ? `: ${type}` : "";
|
|
38999
39091
|
if (heading) {
|
|
@@ -39019,9 +39111,9 @@ ${example}
|
|
|
39019
39111
|
}
|
|
39020
39112
|
exports.formatLiquidDocTagHandle = formatLiquidDocTagHandle;
|
|
39021
39113
|
exports.SUPPORTED_LIQUID_DOC_TAG_HANDLES = {
|
|
39022
|
-
[
|
|
39114
|
+
[theme_check_common_1.SupportedDocTagTypes.Param]: {
|
|
39023
39115
|
description: `Provides information about a parameter for the snippet.
|
|
39024
|
-
- The type of parameter is optional and can be ${Object.values(
|
|
39116
|
+
- The type of parameter is optional and can be ${Object.values(theme_check_common_1.BasicParamTypes).map((type) => `\`${type}\``).join(", ")}
|
|
39025
39117
|
or liquid object that isn't exclusively a global object in our [API Docs](https://shopify.dev/docs/api/liquid/objects)
|
|
39026
39118
|
- An optional parameter is denoted by square brackets around the parameter name
|
|
39027
39119
|
- The description is optional Markdown text`,
|
|
@@ -39033,7 +39125,7 @@ ${example}
|
|
|
39033
39125
|
`,
|
|
39034
39126
|
template: "param {$2} $1$0"
|
|
39035
39127
|
},
|
|
39036
|
-
[
|
|
39128
|
+
[theme_check_common_1.SupportedDocTagTypes.Example]: {
|
|
39037
39129
|
description: "Provides an example on how to use the snippet.",
|
|
39038
39130
|
example: `{% doc %}
|
|
39039
39131
|
@example {% render "snippet-name", arg1: "value" %}
|
|
@@ -39041,7 +39133,7 @@ ${example}
|
|
|
39041
39133
|
`,
|
|
39042
39134
|
template: "example $0"
|
|
39043
39135
|
},
|
|
39044
|
-
[
|
|
39136
|
+
[theme_check_common_1.SupportedDocTagTypes.Description]: {
|
|
39045
39137
|
description: "Provides information on what the snippet does.",
|
|
39046
39138
|
example: `{% doc %}
|
|
39047
39139
|
@description This snippet renders a product image.
|
|
@@ -39055,12 +39147,39 @@ ${example}
|
|
|
39055
39147
|
return `${name}: ${valueTemplate}`;
|
|
39056
39148
|
}
|
|
39057
39149
|
exports.getParameterCompletionTemplate = getParameterCompletionTemplate;
|
|
39150
|
+
function formatLiquidDocContentMarkdown(name, docDefinition) {
|
|
39151
|
+
var _a42, _b, _c;
|
|
39152
|
+
let liquidDoc = docDefinition?.liquidDoc;
|
|
39153
|
+
if (!liquidDoc)
|
|
39154
|
+
return `### ${name}`;
|
|
39155
|
+
let parts = [`### ${name}`];
|
|
39156
|
+
if (liquidDoc.description) {
|
|
39157
|
+
let description = liquidDoc.description.content;
|
|
39158
|
+
parts.push("", "**Description:**", `
|
|
39159
|
+
`, description);
|
|
39160
|
+
}
|
|
39161
|
+
if (!((_a42 = liquidDoc.parameters) === null || _a42 === void 0) && _a42.length) {
|
|
39162
|
+
let parameters = liquidDoc.parameters.map((param) => formatLiquidDocParameter(param)).join(`
|
|
39163
|
+
`);
|
|
39164
|
+
parts.push("", "**Parameters:**", parameters);
|
|
39165
|
+
}
|
|
39166
|
+
if (!((_b = liquidDoc.examples) === null || _b === void 0) && _b.length) {
|
|
39167
|
+
let examples = (_c = liquidDoc.examples) === null || _c === void 0 ? void 0 : _c.map(({ content }) => `\`\`\`liquid
|
|
39168
|
+
${content}
|
|
39169
|
+
\`\`\``).join(`
|
|
39170
|
+
`);
|
|
39171
|
+
parts.push("", "**Examples:**", examples);
|
|
39172
|
+
}
|
|
39173
|
+
return parts.join(`
|
|
39174
|
+
`);
|
|
39175
|
+
}
|
|
39176
|
+
exports.formatLiquidDocContentMarkdown = formatLiquidDocContentMarkdown;
|
|
39058
39177
|
}
|
|
39059
39178
|
});
|
|
39060
39179
|
|
|
39061
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39180
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForParameterCompletionProvider.js
|
|
39062
39181
|
var require_ContentForParameterCompletionProvider = __commonJS({
|
|
39063
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39182
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ContentForParameterCompletionProvider.js"(exports) {
|
|
39064
39183
|
"use strict";
|
|
39065
39184
|
init_cjs_shims();
|
|
39066
39185
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -39139,9 +39258,9 @@ var require_ContentForParameterCompletionProvider = __commonJS({
|
|
|
39139
39258
|
}
|
|
39140
39259
|
});
|
|
39141
39260
|
|
|
39142
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39261
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/MarkdownRenderer.js
|
|
39143
39262
|
var require_MarkdownRenderer = __commonJS({
|
|
39144
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
39263
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/MarkdownRenderer.js"(exports) {
|
|
39145
39264
|
"use strict";
|
|
39146
39265
|
init_cjs_shims();
|
|
39147
39266
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -39157,12 +39276,12 @@ var require_MarkdownRenderer = __commonJS({
|
|
|
39157
39276
|
}
|
|
39158
39277
|
exports.render = render4;
|
|
39159
39278
|
function renderHtmlEntry(entry, parentEntry) {
|
|
39160
|
-
return [title(entry,
|
|
39279
|
+
return [title(entry, TypeSystem_1.Unknown), htmlEntryBody(entry, parentEntry)].join(`
|
|
39161
39280
|
`);
|
|
39162
39281
|
}
|
|
39163
39282
|
exports.renderHtmlEntry = renderHtmlEntry;
|
|
39164
39283
|
function title(entry, returnType) {
|
|
39165
|
-
return returnType = returnType ?? (0, TypeSystem_1.docsetEntryReturnType)(entry,
|
|
39284
|
+
return returnType = returnType ?? (0, TypeSystem_1.docsetEntryReturnType)(entry, TypeSystem_1.Unknown), (0, TypeSystem_1.isArrayType)(returnType) ? `### ${entry.name}: \`${returnType.valueType}[]\`` : returnType !== TypeSystem_1.Unknown ? `### ${entry.name}: \`${returnType}\`` : `### ${entry.name}`;
|
|
39166
39285
|
}
|
|
39167
39286
|
function sanitize(s) {
|
|
39168
39287
|
return s?.replace(/(^|\n+)>/g, " ").replace(/>/g, ">").replace(/</g, "<").replace(/\]\(\//g, "](https://shopify.dev/").trim();
|
|
@@ -45836,9 +45955,9 @@ See [Browser compatibility](#Browser_compatibility) for notes on browser support
|
|
|
45836
45955
|
}
|
|
45837
45956
|
});
|
|
45838
45957
|
|
|
45839
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
45958
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/HtmlDocset.js
|
|
45840
45959
|
var require_HtmlDocset = __commonJS({
|
|
45841
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
45960
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/HtmlDocset.js"(exports) {
|
|
45842
45961
|
"use strict";
|
|
45843
45962
|
init_cjs_shims();
|
|
45844
45963
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -45866,9 +45985,9 @@ var require_HtmlDocset = __commonJS({
|
|
|
45866
45985
|
}
|
|
45867
45986
|
});
|
|
45868
45987
|
|
|
45869
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
45988
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/index.js
|
|
45870
45989
|
var require_docset = __commonJS({
|
|
45871
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
45990
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/docset/index.js"(exports) {
|
|
45872
45991
|
"use strict";
|
|
45873
45992
|
init_cjs_shims();
|
|
45874
45993
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -45895,9 +46014,9 @@ var require_docset = __commonJS({
|
|
|
45895
46014
|
}
|
|
45896
46015
|
});
|
|
45897
46016
|
|
|
45898
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46017
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/common/CompletionItemProperties.js
|
|
45899
46018
|
var require_CompletionItemProperties = __commonJS({
|
|
45900
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46019
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/common/CompletionItemProperties.js"(exports) {
|
|
45901
46020
|
"use strict";
|
|
45902
46021
|
init_cjs_shims();
|
|
45903
46022
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -45933,9 +46052,9 @@ var require_CompletionItemProperties = __commonJS({
|
|
|
45933
46052
|
}
|
|
45934
46053
|
});
|
|
45935
46054
|
|
|
45936
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46055
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/common/index.js
|
|
45937
46056
|
var require_common3 = __commonJS({
|
|
45938
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46057
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/common/index.js"(exports) {
|
|
45939
46058
|
"use strict";
|
|
45940
46059
|
init_cjs_shims();
|
|
45941
46060
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -45951,9 +46070,9 @@ var require_common3 = __commonJS({
|
|
|
45951
46070
|
}
|
|
45952
46071
|
});
|
|
45953
46072
|
|
|
45954
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46073
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlTagCompletionProvider.js
|
|
45955
46074
|
var require_HtmlTagCompletionProvider = __commonJS({
|
|
45956
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46075
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlTagCompletionProvider.js"(exports) {
|
|
45957
46076
|
"use strict";
|
|
45958
46077
|
init_cjs_shims();
|
|
45959
46078
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46020,9 +46139,9 @@ var require_HtmlTagCompletionProvider = __commonJS({
|
|
|
46020
46139
|
}
|
|
46021
46140
|
});
|
|
46022
46141
|
|
|
46023
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46142
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlAttributeCompletionProvider.js
|
|
46024
46143
|
var require_HtmlAttributeCompletionProvider = __commonJS({
|
|
46025
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46144
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlAttributeCompletionProvider.js"(exports) {
|
|
46026
46145
|
"use strict";
|
|
46027
46146
|
init_cjs_shims();
|
|
46028
46147
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46086,9 +46205,9 @@ var require_HtmlAttributeCompletionProvider = __commonJS({
|
|
|
46086
46205
|
}
|
|
46087
46206
|
});
|
|
46088
46207
|
|
|
46089
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46208
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlAttributeValueCompletionProvider.js
|
|
46090
46209
|
var require_HtmlAttributeValueCompletionProvider = __commonJS({
|
|
46091
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46210
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/HtmlAttributeValueCompletionProvider.js"(exports) {
|
|
46092
46211
|
"use strict";
|
|
46093
46212
|
init_cjs_shims();
|
|
46094
46213
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46121,9 +46240,9 @@ var require_HtmlAttributeValueCompletionProvider = __commonJS({
|
|
|
46121
46240
|
}
|
|
46122
46241
|
});
|
|
46123
46242
|
|
|
46124
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46243
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/FilterCompletionProvider.js
|
|
46125
46244
|
var require_FilterCompletionProvider = __commonJS({
|
|
46126
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46245
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/FilterCompletionProvider.js"(exports) {
|
|
46127
46246
|
"use strict";
|
|
46128
46247
|
init_cjs_shims();
|
|
46129
46248
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46201,9 +46320,9 @@ var require_FilterCompletionProvider = __commonJS({
|
|
|
46201
46320
|
}
|
|
46202
46321
|
});
|
|
46203
46322
|
|
|
46204
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46323
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/FilterNamedParameterCompletionProvider.js
|
|
46205
46324
|
var require_FilterNamedParameterCompletionProvider = __commonJS({
|
|
46206
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46325
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/FilterNamedParameterCompletionProvider.js"(exports) {
|
|
46207
46326
|
"use strict";
|
|
46208
46327
|
init_cjs_shims();
|
|
46209
46328
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46255,9 +46374,9 @@ var require_FilterNamedParameterCompletionProvider = __commonJS({
|
|
|
46255
46374
|
}
|
|
46256
46375
|
});
|
|
46257
46376
|
|
|
46258
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46377
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidTagsCompletionProvider.js
|
|
46259
46378
|
var require_LiquidTagsCompletionProvider = __commonJS({
|
|
46260
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46379
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidTagsCompletionProvider.js"(exports) {
|
|
46261
46380
|
"use strict";
|
|
46262
46381
|
init_cjs_shims();
|
|
46263
46382
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46335,6 +46454,10 @@ var require_LiquidTagsCompletionProvider = __commonJS({
|
|
|
46335
46454
|
return "{% elsif ${1:condition} %}";
|
|
46336
46455
|
case "else":
|
|
46337
46456
|
return "{% else %}";
|
|
46457
|
+
case "doc":
|
|
46458
|
+
return `{% doc %}
|
|
46459
|
+
$0
|
|
46460
|
+
{% enddoc %}`;
|
|
46338
46461
|
}
|
|
46339
46462
|
return tag.syntax ? tag.syntax : isBlockTag(tag.name) ? `{% ${tag.name}$1 %}
|
|
46340
46463
|
$2
|
|
@@ -46375,9 +46498,9 @@ var require_LiquidTagsCompletionProvider = __commonJS({
|
|
|
46375
46498
|
}
|
|
46376
46499
|
});
|
|
46377
46500
|
|
|
46378
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46501
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ObjectAttributeCompletionProvider.js
|
|
46379
46502
|
var require_ObjectAttributeCompletionProvider = __commonJS({
|
|
46380
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46503
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ObjectAttributeCompletionProvider.js"(exports) {
|
|
46381
46504
|
"use strict";
|
|
46382
46505
|
init_cjs_shims();
|
|
46383
46506
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46419,9 +46542,9 @@ var require_ObjectAttributeCompletionProvider = __commonJS({
|
|
|
46419
46542
|
}
|
|
46420
46543
|
});
|
|
46421
46544
|
|
|
46422
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46545
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ObjectCompletionProvider.js
|
|
46423
46546
|
var require_ObjectCompletionProvider = __commonJS({
|
|
46424
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46547
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/ObjectCompletionProvider.js"(exports) {
|
|
46425
46548
|
"use strict";
|
|
46426
46549
|
init_cjs_shims();
|
|
46427
46550
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46448,9 +46571,9 @@ var require_ObjectCompletionProvider = __commonJS({
|
|
|
46448
46571
|
}
|
|
46449
46572
|
});
|
|
46450
46573
|
|
|
46451
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46574
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/translations.js
|
|
46452
46575
|
var require_translations = __commonJS({
|
|
46453
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46576
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/translations.js"(exports) {
|
|
46454
46577
|
"use strict";
|
|
46455
46578
|
init_cjs_shims();
|
|
46456
46579
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46512,9 +46635,9 @@ var require_translations = __commonJS({
|
|
|
46512
46635
|
}
|
|
46513
46636
|
});
|
|
46514
46637
|
|
|
46515
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46638
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/TranslationCompletionProvider.js
|
|
46516
46639
|
var require_TranslationCompletionProvider = __commonJS({
|
|
46517
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46640
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/TranslationCompletionProvider.js"(exports) {
|
|
46518
46641
|
"use strict";
|
|
46519
46642
|
init_cjs_shims();
|
|
46520
46643
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46563,9 +46686,9 @@ var require_TranslationCompletionProvider = __commonJS({
|
|
|
46563
46686
|
}
|
|
46564
46687
|
});
|
|
46565
46688
|
|
|
46566
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46689
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/RenderSnippetCompletionProvider.js
|
|
46567
46690
|
var require_RenderSnippetCompletionProvider = __commonJS({
|
|
46568
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46691
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/RenderSnippetCompletionProvider.js"(exports) {
|
|
46569
46692
|
"use strict";
|
|
46570
46693
|
init_cjs_shims();
|
|
46571
46694
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46595,9 +46718,9 @@ var require_RenderSnippetCompletionProvider = __commonJS({
|
|
|
46595
46718
|
}
|
|
46596
46719
|
});
|
|
46597
46720
|
|
|
46598
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46721
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/RenderSnippetParameterCompletionProvider.js
|
|
46599
46722
|
var require_RenderSnippetParameterCompletionProvider = __commonJS({
|
|
46600
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46723
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/RenderSnippetParameterCompletionProvider.js"(exports) {
|
|
46601
46724
|
"use strict";
|
|
46602
46725
|
init_cjs_shims();
|
|
46603
46726
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46633,9 +46756,9 @@ var require_RenderSnippetParameterCompletionProvider = __commonJS({
|
|
|
46633
46756
|
}
|
|
46634
46757
|
});
|
|
46635
46758
|
|
|
46636
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46759
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidDocTagCompletionProvider.js
|
|
46637
46760
|
var require_LiquidDocTagCompletionProvider = __commonJS({
|
|
46638
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46761
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidDocTagCompletionProvider.js"(exports) {
|
|
46639
46762
|
"use strict";
|
|
46640
46763
|
init_cjs_shims();
|
|
46641
46764
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46668,9 +46791,9 @@ var require_LiquidDocTagCompletionProvider = __commonJS({
|
|
|
46668
46791
|
}
|
|
46669
46792
|
});
|
|
46670
46793
|
|
|
46671
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46794
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidDocParamTypeCompletionProvider.js
|
|
46672
46795
|
var require_LiquidDocParamTypeCompletionProvider = __commonJS({
|
|
46673
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46796
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/LiquidDocParamTypeCompletionProvider.js"(exports) {
|
|
46674
46797
|
"use strict";
|
|
46675
46798
|
init_cjs_shims();
|
|
46676
46799
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46709,9 +46832,9 @@ var require_LiquidDocParamTypeCompletionProvider = __commonJS({
|
|
|
46709
46832
|
}
|
|
46710
46833
|
});
|
|
46711
46834
|
|
|
46712
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46835
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/index.js
|
|
46713
46836
|
var require_providers3 = __commonJS({
|
|
46714
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46837
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/providers/index.js"(exports) {
|
|
46715
46838
|
"use strict";
|
|
46716
46839
|
init_cjs_shims();
|
|
46717
46840
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46783,9 +46906,9 @@ var require_providers3 = __commonJS({
|
|
|
46783
46906
|
}
|
|
46784
46907
|
});
|
|
46785
46908
|
|
|
46786
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46909
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/CompletionsProvider.js
|
|
46787
46910
|
var require_CompletionsProvider = __commonJS({
|
|
46788
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46911
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/CompletionsProvider.js"(exports) {
|
|
46789
46912
|
"use strict";
|
|
46790
46913
|
init_cjs_shims();
|
|
46791
46914
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46830,9 +46953,9 @@ var require_CompletionsProvider = __commonJS({
|
|
|
46830
46953
|
}
|
|
46831
46954
|
});
|
|
46832
46955
|
|
|
46833
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46956
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/index.js
|
|
46834
46957
|
var require_completions = __commonJS({
|
|
46835
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46958
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/completions/index.js"(exports) {
|
|
46836
46959
|
"use strict";
|
|
46837
46960
|
init_cjs_shims();
|
|
46838
46961
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46844,9 +46967,9 @@ var require_completions = __commonJS({
|
|
|
46844
46967
|
}
|
|
46845
46968
|
});
|
|
46846
46969
|
|
|
46847
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46970
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/offenseToDiagnostic.js
|
|
46848
46971
|
var require_offenseToDiagnostic = __commonJS({
|
|
46849
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
46972
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/offenseToDiagnostic.js"(exports) {
|
|
46850
46973
|
"use strict";
|
|
46851
46974
|
init_cjs_shims();
|
|
46852
46975
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46901,9 +47024,9 @@ var require_offenseToDiagnostic = __commonJS({
|
|
|
46901
47024
|
}
|
|
46902
47025
|
});
|
|
46903
47026
|
|
|
46904
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47027
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/DiagnosticsManager.js
|
|
46905
47028
|
var require_DiagnosticsManager = __commonJS({
|
|
46906
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47029
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/DiagnosticsManager.js"(exports) {
|
|
46907
47030
|
"use strict";
|
|
46908
47031
|
init_cjs_shims();
|
|
46909
47032
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -46943,9 +47066,9 @@ var require_DiagnosticsManager = __commonJS({
|
|
|
46943
47066
|
}
|
|
46944
47067
|
});
|
|
46945
47068
|
|
|
46946
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47069
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/runChecks.js
|
|
46947
47070
|
var require_runChecks = __commonJS({
|
|
46948
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47071
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/runChecks.js"(exports) {
|
|
46949
47072
|
"use strict";
|
|
46950
47073
|
init_cjs_shims();
|
|
46951
47074
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47009,9 +47132,9 @@ var require_runChecks = __commonJS({
|
|
|
47009
47132
|
}
|
|
47010
47133
|
});
|
|
47011
47134
|
|
|
47012
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47135
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/index.js
|
|
47013
47136
|
var require_diagnostics = __commonJS({
|
|
47014
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47137
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/diagnostics/index.js"(exports) {
|
|
47015
47138
|
"use strict";
|
|
47016
47139
|
init_cjs_shims();
|
|
47017
47140
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47027,9 +47150,9 @@ var require_diagnostics = __commonJS({
|
|
|
47027
47150
|
}
|
|
47028
47151
|
});
|
|
47029
47152
|
|
|
47030
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47153
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/htmlTagNames.js
|
|
47031
47154
|
var require_htmlTagNames = __commonJS({
|
|
47032
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47155
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/htmlTagNames.js"(exports) {
|
|
47033
47156
|
"use strict";
|
|
47034
47157
|
init_cjs_shims();
|
|
47035
47158
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47057,9 +47180,9 @@ var require_htmlTagNames = __commonJS({
|
|
|
47057
47180
|
}
|
|
47058
47181
|
});
|
|
47059
47182
|
|
|
47060
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47183
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/HtmlTagNameDocumentHighlightsProvider.js
|
|
47061
47184
|
var require_HtmlTagNameDocumentHighlightsProvider = __commonJS({
|
|
47062
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47185
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/HtmlTagNameDocumentHighlightsProvider.js"(exports) {
|
|
47063
47186
|
"use strict";
|
|
47064
47187
|
init_cjs_shims();
|
|
47065
47188
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47081,9 +47204,9 @@ var require_HtmlTagNameDocumentHighlightsProvider = __commonJS({
|
|
|
47081
47204
|
}
|
|
47082
47205
|
});
|
|
47083
47206
|
|
|
47084
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47207
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/LiquidBlockTagDocumentHighlightsProvider.js
|
|
47085
47208
|
var require_LiquidBlockTagDocumentHighlightsProvider = __commonJS({
|
|
47086
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47209
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/LiquidBlockTagDocumentHighlightsProvider.js"(exports) {
|
|
47087
47210
|
"use strict";
|
|
47088
47211
|
init_cjs_shims();
|
|
47089
47212
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47126,9 +47249,9 @@ var require_LiquidBlockTagDocumentHighlightsProvider = __commonJS({
|
|
|
47126
47249
|
}
|
|
47127
47250
|
});
|
|
47128
47251
|
|
|
47129
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47252
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/index.js
|
|
47130
47253
|
var require_providers4 = __commonJS({
|
|
47131
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47254
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/providers/index.js"(exports) {
|
|
47132
47255
|
"use strict";
|
|
47133
47256
|
init_cjs_shims();
|
|
47134
47257
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47144,9 +47267,9 @@ var require_providers4 = __commonJS({
|
|
|
47144
47267
|
}
|
|
47145
47268
|
});
|
|
47146
47269
|
|
|
47147
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47270
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/DocumentHighlightsProvider.js
|
|
47148
47271
|
var require_DocumentHighlightsProvider = __commonJS({
|
|
47149
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47272
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentHighlights/DocumentHighlightsProvider.js"(exports) {
|
|
47150
47273
|
"use strict";
|
|
47151
47274
|
init_cjs_shims();
|
|
47152
47275
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47173,9 +47296,9 @@ var require_DocumentHighlightsProvider = __commonJS({
|
|
|
47173
47296
|
}
|
|
47174
47297
|
});
|
|
47175
47298
|
|
|
47176
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47299
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentLinks/DocumentLinksProvider.js
|
|
47177
47300
|
var require_DocumentLinksProvider = __commonJS({
|
|
47178
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47301
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentLinks/DocumentLinksProvider.js"(exports) {
|
|
47179
47302
|
"use strict";
|
|
47180
47303
|
init_cjs_shims();
|
|
47181
47304
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47229,9 +47352,9 @@ var require_DocumentLinksProvider = __commonJS({
|
|
|
47229
47352
|
}
|
|
47230
47353
|
});
|
|
47231
47354
|
|
|
47232
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47355
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentLinks/index.js
|
|
47233
47356
|
var require_documentLinks = __commonJS({
|
|
47234
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47357
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documentLinks/index.js"(exports) {
|
|
47235
47358
|
"use strict";
|
|
47236
47359
|
init_cjs_shims();
|
|
47237
47360
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47243,9 +47366,9 @@ var require_documentLinks = __commonJS({
|
|
|
47243
47366
|
}
|
|
47244
47367
|
});
|
|
47245
47368
|
|
|
47246
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47369
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/progress.js
|
|
47247
47370
|
var require_progress2 = __commonJS({
|
|
47248
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47371
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/progress.js"(exports) {
|
|
47249
47372
|
"use strict";
|
|
47250
47373
|
init_cjs_shims();
|
|
47251
47374
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47294,9 +47417,9 @@ var require_progress2 = __commonJS({
|
|
|
47294
47417
|
}
|
|
47295
47418
|
});
|
|
47296
47419
|
|
|
47297
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47420
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/DocumentManager.js
|
|
47298
47421
|
var require_DocumentManager = __commonJS({
|
|
47299
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47422
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/DocumentManager.js"(exports) {
|
|
47300
47423
|
"use strict";
|
|
47301
47424
|
init_cjs_shims();
|
|
47302
47425
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47425,9 +47548,9 @@ var require_DocumentManager = __commonJS({
|
|
|
47425
47548
|
}
|
|
47426
47549
|
});
|
|
47427
47550
|
|
|
47428
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47551
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/types.js
|
|
47429
47552
|
var require_types7 = __commonJS({
|
|
47430
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47553
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/types.js"(exports) {
|
|
47431
47554
|
"use strict";
|
|
47432
47555
|
init_cjs_shims();
|
|
47433
47556
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47439,9 +47562,9 @@ var require_types7 = __commonJS({
|
|
|
47439
47562
|
}
|
|
47440
47563
|
});
|
|
47441
47564
|
|
|
47442
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47565
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/index.js
|
|
47443
47566
|
var require_documents = __commonJS({
|
|
47444
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47567
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/documents/index.js"(exports) {
|
|
47445
47568
|
"use strict";
|
|
47446
47569
|
init_cjs_shims();
|
|
47447
47570
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -47465,9 +47588,9 @@ var require_documents = __commonJS({
|
|
|
47465
47588
|
}
|
|
47466
47589
|
});
|
|
47467
47590
|
|
|
47468
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47591
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/providers/BracketsAutoclosingOnTypeFormattingProvider.js
|
|
47469
47592
|
var require_BracketsAutoclosingOnTypeFormattingProvider = __commonJS({
|
|
47470
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47593
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/providers/BracketsAutoclosingOnTypeFormattingProvider.js"(exports) {
|
|
47471
47594
|
"use strict";
|
|
47472
47595
|
init_cjs_shims();
|
|
47473
47596
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47563,9 +47686,9 @@ var require_BracketsAutoclosingOnTypeFormattingProvider = __commonJS({
|
|
|
47563
47686
|
}
|
|
47564
47687
|
});
|
|
47565
47688
|
|
|
47566
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47689
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/providers/HtmlElementAutoclosingOnTypeFormattingProvider.js
|
|
47567
47690
|
var require_HtmlElementAutoclosingOnTypeFormattingProvider = __commonJS({
|
|
47568
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47691
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/providers/HtmlElementAutoclosingOnTypeFormattingProvider.js"(exports) {
|
|
47569
47692
|
"use strict";
|
|
47570
47693
|
init_cjs_shims();
|
|
47571
47694
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47615,9 +47738,9 @@ var require_HtmlElementAutoclosingOnTypeFormattingProvider = __commonJS({
|
|
|
47615
47738
|
}
|
|
47616
47739
|
});
|
|
47617
47740
|
|
|
47618
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47741
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/OnTypeFormattingProvider.js
|
|
47619
47742
|
var require_OnTypeFormattingProvider = __commonJS({
|
|
47620
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47743
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/OnTypeFormattingProvider.js"(exports) {
|
|
47621
47744
|
"use strict";
|
|
47622
47745
|
init_cjs_shims();
|
|
47623
47746
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47640,9 +47763,9 @@ var require_OnTypeFormattingProvider = __commonJS({
|
|
|
47640
47763
|
}
|
|
47641
47764
|
});
|
|
47642
47765
|
|
|
47643
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47766
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/index.js
|
|
47644
47767
|
var require_formatting = __commonJS({
|
|
47645
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47768
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/formatting/index.js"(exports) {
|
|
47646
47769
|
"use strict";
|
|
47647
47770
|
init_cjs_shims();
|
|
47648
47771
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47654,9 +47777,9 @@ var require_formatting = __commonJS({
|
|
|
47654
47777
|
}
|
|
47655
47778
|
});
|
|
47656
47779
|
|
|
47657
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47780
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidTagHoverProvider.js
|
|
47658
47781
|
var require_LiquidTagHoverProvider = __commonJS({
|
|
47659
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47782
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidTagHoverProvider.js"(exports) {
|
|
47660
47783
|
"use strict";
|
|
47661
47784
|
init_cjs_shims();
|
|
47662
47785
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47681,9 +47804,9 @@ var require_LiquidTagHoverProvider = __commonJS({
|
|
|
47681
47804
|
}
|
|
47682
47805
|
});
|
|
47683
47806
|
|
|
47684
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47807
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidFilterHoverProvider.js
|
|
47685
47808
|
var require_LiquidFilterHoverProvider = __commonJS({
|
|
47686
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47809
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidFilterHoverProvider.js"(exports) {
|
|
47687
47810
|
"use strict";
|
|
47688
47811
|
init_cjs_shims();
|
|
47689
47812
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47708,9 +47831,9 @@ var require_LiquidFilterHoverProvider = __commonJS({
|
|
|
47708
47831
|
}
|
|
47709
47832
|
});
|
|
47710
47833
|
|
|
47711
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47834
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidObjectHoverProvider.js
|
|
47712
47835
|
var require_LiquidObjectHoverProvider = __commonJS({
|
|
47713
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47836
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidObjectHoverProvider.js"(exports) {
|
|
47714
47837
|
"use strict";
|
|
47715
47838
|
init_cjs_shims();
|
|
47716
47839
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47729,7 +47852,7 @@ var require_LiquidObjectHoverProvider = __commonJS({
|
|
|
47729
47852
|
lookups: []
|
|
47730
47853
|
});
|
|
47731
47854
|
let type = await this.typeSystem.inferType(node, ancestors[0], params.textDocument.uri), objectMap = await this.typeSystem.objectMap(params.textDocument.uri, ancestors[0]), entry = objectMap[(0, TypeSystem_1.isArrayType)(type) ? type.valueType : type];
|
|
47732
|
-
if (type ===
|
|
47855
|
+
if (type === TypeSystem_1.Unknown)
|
|
47733
47856
|
return null;
|
|
47734
47857
|
if (!entry) {
|
|
47735
47858
|
let entryByName = (_a42 = objectMap[currentNode.name]) !== null && _a42 !== void 0 ? _a42 : {};
|
|
@@ -47755,9 +47878,9 @@ var require_LiquidObjectHoverProvider = __commonJS({
|
|
|
47755
47878
|
}
|
|
47756
47879
|
});
|
|
47757
47880
|
|
|
47758
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47881
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidObjectAttributeHoverProvider.js
|
|
47759
47882
|
var require_LiquidObjectAttributeHoverProvider = __commonJS({
|
|
47760
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47883
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidObjectAttributeHoverProvider.js"(exports) {
|
|
47761
47884
|
"use strict";
|
|
47762
47885
|
init_cjs_shims();
|
|
47763
47886
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47767,20 +47890,29 @@ var require_LiquidObjectAttributeHoverProvider = __commonJS({
|
|
|
47767
47890
|
this.typeSystem = typeSystem;
|
|
47768
47891
|
}
|
|
47769
47892
|
async hover(currentNode, ancestors, params) {
|
|
47770
|
-
var _a42;
|
|
47771
|
-
let parentNode = ancestors.at(-1);
|
|
47893
|
+
var _a42, _b;
|
|
47894
|
+
let parentNode = ancestors.at(-1), uri = params.textDocument.uri;
|
|
47772
47895
|
if (currentNode.type !== liquid_html_parser_1.NodeTypes.String || !parentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.VariableLookup || !parentNode.lookups.includes(currentNode))
|
|
47773
47896
|
return null;
|
|
47774
47897
|
let lookupIndex = parentNode.lookups.findIndex((lookup3) => lookup3 === currentNode), node = {
|
|
47775
47898
|
...parentNode,
|
|
47776
47899
|
lookups: parentNode.lookups.slice(0, lookupIndex)
|
|
47777
|
-
}, parentType = await this.typeSystem.inferType(node, ancestors[0],
|
|
47778
|
-
if ((0, TypeSystem_1.isArrayType)(parentType))
|
|
47779
|
-
|
|
47780
|
-
|
|
47900
|
+
}, objectMap = await this.typeSystem.objectMap(uri, ancestors[0]), parentType = await this.typeSystem.inferType(node, ancestors[0], uri);
|
|
47901
|
+
if ((0, TypeSystem_1.isArrayType)(parentType) || parentType === "string" || parentType === TypeSystem_1.Untyped) {
|
|
47902
|
+
let nodeType = await this.typeSystem.inferType({ ...parentNode, lookups: parentNode.lookups.slice(0, lookupIndex + 1) }, ancestors[0], uri);
|
|
47903
|
+
if ((0, TypeSystem_1.isArrayType)(nodeType) || nodeType === TypeSystem_1.Unknown)
|
|
47904
|
+
return null;
|
|
47905
|
+
let entry2 = { ...(_a42 = objectMap[nodeType]) !== null && _a42 !== void 0 ? _a42 : {}, name: currentNode.value };
|
|
47906
|
+
return {
|
|
47907
|
+
contents: {
|
|
47908
|
+
kind: "markdown",
|
|
47909
|
+
value: (0, docset_1.render)(entry2, nodeType)
|
|
47910
|
+
}
|
|
47911
|
+
};
|
|
47912
|
+
}
|
|
47781
47913
|
if (!objectMap[parentType])
|
|
47782
47914
|
return null;
|
|
47783
|
-
let entry = (((
|
|
47915
|
+
let entry = (((_b = objectMap[parentType]) === null || _b === void 0 ? void 0 : _b.properties) || []).find((p) => p.name === currentNode.value);
|
|
47784
47916
|
return entry ? {
|
|
47785
47917
|
contents: {
|
|
47786
47918
|
kind: "markdown",
|
|
@@ -47793,9 +47925,9 @@ var require_LiquidObjectAttributeHoverProvider = __commonJS({
|
|
|
47793
47925
|
}
|
|
47794
47926
|
});
|
|
47795
47927
|
|
|
47796
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47928
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlTagHoverProvider.js
|
|
47797
47929
|
var require_HtmlTagHoverProvider = __commonJS({
|
|
47798
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47930
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlTagHoverProvider.js"(exports) {
|
|
47799
47931
|
"use strict";
|
|
47800
47932
|
init_cjs_shims();
|
|
47801
47933
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47818,9 +47950,9 @@ var require_HtmlTagHoverProvider = __commonJS({
|
|
|
47818
47950
|
}
|
|
47819
47951
|
});
|
|
47820
47952
|
|
|
47821
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47953
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlAttributeHoverProvider.js
|
|
47822
47954
|
var require_HtmlAttributeHoverProvider = __commonJS({
|
|
47823
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47955
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlAttributeHoverProvider.js"(exports) {
|
|
47824
47956
|
"use strict";
|
|
47825
47957
|
init_cjs_shims();
|
|
47826
47958
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47844,9 +47976,9 @@ var require_HtmlAttributeHoverProvider = __commonJS({
|
|
|
47844
47976
|
}
|
|
47845
47977
|
});
|
|
47846
47978
|
|
|
47847
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47979
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlAttributeValueHoverProvider.js
|
|
47848
47980
|
var require_HtmlAttributeValueHoverProvider = __commonJS({
|
|
47849
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
47981
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/HtmlAttributeValueHoverProvider.js"(exports) {
|
|
47850
47982
|
"use strict";
|
|
47851
47983
|
init_cjs_shims();
|
|
47852
47984
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47870,9 +48002,9 @@ var require_HtmlAttributeValueHoverProvider = __commonJS({
|
|
|
47870
48002
|
}
|
|
47871
48003
|
});
|
|
47872
48004
|
|
|
47873
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48005
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/TranslationHoverProvider.js
|
|
47874
48006
|
var require_TranslationHoverProvider = __commonJS({
|
|
47875
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48007
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/TranslationHoverProvider.js"(exports) {
|
|
47876
48008
|
"use strict";
|
|
47877
48009
|
init_cjs_shims();
|
|
47878
48010
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47903,9 +48035,9 @@ var require_TranslationHoverProvider = __commonJS({
|
|
|
47903
48035
|
}
|
|
47904
48036
|
});
|
|
47905
48037
|
|
|
47906
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48038
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/RenderSnippetHoverProvider.js
|
|
47907
48039
|
var require_RenderSnippetHoverProvider = __commonJS({
|
|
47908
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48040
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/RenderSnippetHoverProvider.js"(exports) {
|
|
47909
48041
|
"use strict";
|
|
47910
48042
|
init_cjs_shims();
|
|
47911
48043
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47915,58 +48047,25 @@ var require_RenderSnippetHoverProvider = __commonJS({
|
|
|
47915
48047
|
this.getDocDefinitionForURI = getDocDefinitionForURI;
|
|
47916
48048
|
}
|
|
47917
48049
|
async hover(currentNode, ancestors, params) {
|
|
47918
|
-
var _a42, _b, _c;
|
|
47919
48050
|
let parentNode = ancestors.at(-1);
|
|
47920
48051
|
if (currentNode.type !== liquid_html_parser_1.NodeTypes.String || !parentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.RenderMarkup)
|
|
47921
48052
|
return null;
|
|
47922
|
-
let snippetName = currentNode.value,
|
|
47923
|
-
if (!snippetDefinition)
|
|
47924
|
-
return null;
|
|
47925
|
-
let liquidDoc = snippetDefinition.liquidDoc;
|
|
47926
|
-
if (!liquidDoc)
|
|
47927
|
-
return {
|
|
47928
|
-
contents: {
|
|
47929
|
-
kind: "markdown",
|
|
47930
|
-
value: `### ${snippetName}`
|
|
47931
|
-
}
|
|
47932
|
-
};
|
|
47933
|
-
let parts = [`### ${snippetName}`];
|
|
47934
|
-
if (liquidDoc.description) {
|
|
47935
|
-
let description = liquidDoc.description.content;
|
|
47936
|
-
parts.push("", "**Description:**", `
|
|
47937
|
-
`, description);
|
|
47938
|
-
}
|
|
47939
|
-
if (!((_a42 = liquidDoc.parameters) === null || _a42 === void 0) && _a42.length) {
|
|
47940
|
-
let parameters = this.buildParameters(liquidDoc.parameters);
|
|
47941
|
-
parts.push("", "**Parameters:**", parameters);
|
|
47942
|
-
}
|
|
47943
|
-
if (!((_b = liquidDoc.examples) === null || _b === void 0) && _b.length) {
|
|
47944
|
-
let examples = (_c = liquidDoc.examples) === null || _c === void 0 ? void 0 : _c.map(({ content }) => `\`\`\`liquid
|
|
47945
|
-
${content}
|
|
47946
|
-
\`\`\``).join(`
|
|
47947
|
-
`);
|
|
47948
|
-
parts.push("", "**Examples:**", examples);
|
|
47949
|
-
}
|
|
48053
|
+
let snippetName = currentNode.value, docDefinition = await this.getDocDefinitionForURI(params.textDocument.uri, "snippets", snippetName);
|
|
47950
48054
|
return {
|
|
47951
48055
|
contents: {
|
|
47952
48056
|
kind: "markdown",
|
|
47953
|
-
value:
|
|
47954
|
-
`)
|
|
48057
|
+
value: (0, liquidDoc_1.formatLiquidDocContentMarkdown)(snippetName, docDefinition)
|
|
47955
48058
|
}
|
|
47956
48059
|
};
|
|
47957
48060
|
}
|
|
47958
|
-
buildParameters(parameters) {
|
|
47959
|
-
return parameters.map((param) => (0, liquidDoc_1.formatLiquidDocParameter)(param)).join(`
|
|
47960
|
-
`);
|
|
47961
|
-
}
|
|
47962
48061
|
};
|
|
47963
48062
|
exports.RenderSnippetHoverProvider = RenderSnippetHoverProvider;
|
|
47964
48063
|
}
|
|
47965
48064
|
});
|
|
47966
48065
|
|
|
47967
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48066
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/RenderSnippetParameterHoverProvider.js
|
|
47968
48067
|
var require_RenderSnippetParameterHoverProvider = __commonJS({
|
|
47969
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48068
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/RenderSnippetParameterHoverProvider.js"(exports) {
|
|
47970
48069
|
"use strict";
|
|
47971
48070
|
init_cjs_shims();
|
|
47972
48071
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -47980,10 +48079,7 @@ var require_RenderSnippetParameterHoverProvider = __commonJS({
|
|
|
47980
48079
|
let parentNode = ancestors.at(-1);
|
|
47981
48080
|
if (currentNode.type !== liquid_html_parser_1.NodeTypes.NamedArgument || !parentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.RenderMarkup || parentNode.snippet.type !== liquid_html_parser_1.NodeTypes.String)
|
|
47982
48081
|
return null;
|
|
47983
|
-
let
|
|
47984
|
-
if (!(!((_b = (_a42 = snippetDefinition?.liquidDoc) === null || _a42 === void 0 ? void 0 : _a42.parameters) === null || _b === void 0) && _b.length))
|
|
47985
|
-
return null;
|
|
47986
|
-
let paramName = currentNode.name, hoveredParameter = snippetDefinition.liquidDoc.parameters.find((parameter) => parameter.name === paramName);
|
|
48082
|
+
let docDefinition = await this.getDocDefinitionForURI(params.textDocument.uri, "snippets", parentNode.snippet.value), paramName = currentNode.name, hoveredParameter = (_b = (_a42 = docDefinition?.liquidDoc) === null || _a42 === void 0 ? void 0 : _a42.parameters) === null || _b === void 0 ? void 0 : _b.find((parameter) => parameter.name === paramName);
|
|
47987
48083
|
return hoveredParameter ? {
|
|
47988
48084
|
contents: {
|
|
47989
48085
|
kind: "markdown",
|
|
@@ -47996,9 +48092,9 @@ var require_RenderSnippetParameterHoverProvider = __commonJS({
|
|
|
47996
48092
|
}
|
|
47997
48093
|
});
|
|
47998
48094
|
|
|
47999
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48095
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/index.js
|
|
48000
48096
|
var require_providers5 = __commonJS({
|
|
48001
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48097
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/index.js"(exports) {
|
|
48002
48098
|
"use strict";
|
|
48003
48099
|
init_cjs_shims();
|
|
48004
48100
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48046,9 +48142,9 @@ var require_providers5 = __commonJS({
|
|
|
48046
48142
|
}
|
|
48047
48143
|
});
|
|
48048
48144
|
|
|
48049
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48145
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidDocTagHoverProvider.js
|
|
48050
48146
|
var require_LiquidDocTagHoverProvider = __commonJS({
|
|
48051
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48147
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/LiquidDocTagHoverProvider.js"(exports) {
|
|
48052
48148
|
"use strict";
|
|
48053
48149
|
init_cjs_shims();
|
|
48054
48150
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48078,19 +48174,81 @@ var require_LiquidDocTagHoverProvider = __commonJS({
|
|
|
48078
48174
|
}
|
|
48079
48175
|
});
|
|
48080
48176
|
|
|
48081
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48177
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/ContentForArgumentHoverProvider.js
|
|
48178
|
+
var require_ContentForArgumentHoverProvider = __commonJS({
|
|
48179
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/ContentForArgumentHoverProvider.js"(exports) {
|
|
48180
|
+
"use strict";
|
|
48181
|
+
init_cjs_shims();
|
|
48182
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
48183
|
+
exports.ContentForArgumentHoverProvider = void 0;
|
|
48184
|
+
var liquid_html_parser_1 = require_dist2(), theme_check_common_1 = require_dist3(), liquidDoc_1 = require_liquidDoc2(), ContentForArgumentHoverProvider = class {
|
|
48185
|
+
constructor(getDocDefinitionForURI) {
|
|
48186
|
+
this.getDocDefinitionForURI = getDocDefinitionForURI;
|
|
48187
|
+
}
|
|
48188
|
+
async hover(currentNode, ancestors, params) {
|
|
48189
|
+
var _a42, _b;
|
|
48190
|
+
let parentNode = ancestors.at(-1);
|
|
48191
|
+
if (currentNode.type !== liquid_html_parser_1.NodeTypes.NamedArgument || !parentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.ContentForMarkup || parentNode.contentForType.type !== liquid_html_parser_1.NodeTypes.String)
|
|
48192
|
+
return null;
|
|
48193
|
+
let blockName = (0, theme_check_common_1.getBlockName)(parentNode);
|
|
48194
|
+
if (!blockName)
|
|
48195
|
+
return null;
|
|
48196
|
+
let docDefinition = await this.getDocDefinitionForURI(params.textDocument.uri, "blocks", blockName), hoverArgument = (_b = (_a42 = docDefinition?.liquidDoc) === null || _a42 === void 0 ? void 0 : _a42.parameters) === null || _b === void 0 ? void 0 : _b.find((argument) => argument.name === currentNode.name);
|
|
48197
|
+
return hoverArgument ? {
|
|
48198
|
+
contents: {
|
|
48199
|
+
kind: "markdown",
|
|
48200
|
+
value: (0, liquidDoc_1.formatLiquidDocParameter)(hoverArgument, !0)
|
|
48201
|
+
}
|
|
48202
|
+
} : null;
|
|
48203
|
+
}
|
|
48204
|
+
};
|
|
48205
|
+
exports.ContentForArgumentHoverProvider = ContentForArgumentHoverProvider;
|
|
48206
|
+
}
|
|
48207
|
+
});
|
|
48208
|
+
|
|
48209
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/ContentForTypeHoverProvider.js
|
|
48210
|
+
var require_ContentForTypeHoverProvider = __commonJS({
|
|
48211
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/providers/ContentForTypeHoverProvider.js"(exports) {
|
|
48212
|
+
"use strict";
|
|
48213
|
+
init_cjs_shims();
|
|
48214
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
48215
|
+
exports.ContentForTypeHoverProvider = void 0;
|
|
48216
|
+
var liquid_html_parser_1 = require_dist2(), liquidDoc_1 = require_liquidDoc2(), ContentForTypeHoverProvider = class {
|
|
48217
|
+
constructor(getDocDefinitionForURI) {
|
|
48218
|
+
this.getDocDefinitionForURI = getDocDefinitionForURI;
|
|
48219
|
+
}
|
|
48220
|
+
async hover(currentNode, ancestors, params) {
|
|
48221
|
+
let parentNode = ancestors.at(-1), grandParentNode = ancestors.at(-2);
|
|
48222
|
+
if (currentNode.type !== liquid_html_parser_1.NodeTypes.String || !parentNode || !grandParentNode || parentNode.type !== liquid_html_parser_1.NodeTypes.NamedArgument || parentNode.name !== "type" || grandParentNode.type !== liquid_html_parser_1.NodeTypes.ContentForMarkup)
|
|
48223
|
+
return null;
|
|
48224
|
+
let blockName = currentNode.value, docDefinition = await this.getDocDefinitionForURI(params.textDocument.uri, "blocks", blockName);
|
|
48225
|
+
return {
|
|
48226
|
+
contents: {
|
|
48227
|
+
kind: "markdown",
|
|
48228
|
+
value: (0, liquidDoc_1.formatLiquidDocContentMarkdown)(blockName, docDefinition)
|
|
48229
|
+
}
|
|
48230
|
+
};
|
|
48231
|
+
}
|
|
48232
|
+
};
|
|
48233
|
+
exports.ContentForTypeHoverProvider = ContentForTypeHoverProvider;
|
|
48234
|
+
}
|
|
48235
|
+
});
|
|
48236
|
+
|
|
48237
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/HoverProvider.js
|
|
48082
48238
|
var require_HoverProvider = __commonJS({
|
|
48083
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48239
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/HoverProvider.js"(exports) {
|
|
48084
48240
|
"use strict";
|
|
48085
48241
|
init_cjs_shims();
|
|
48086
48242
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
48087
48243
|
exports.HoverProvider = void 0;
|
|
48088
|
-
var theme_check_common_1 = require_dist3(), TypeSystem_1 = require_TypeSystem(), providers_1 = require_providers5(), HtmlAttributeValueHoverProvider_1 = require_HtmlAttributeValueHoverProvider(), theme_check_common_2 = require_dist3(), LiquidDocTagHoverProvider_1 = require_LiquidDocTagHoverProvider(), HoverProvider = class {
|
|
48244
|
+
var theme_check_common_1 = require_dist3(), TypeSystem_1 = require_TypeSystem(), providers_1 = require_providers5(), HtmlAttributeValueHoverProvider_1 = require_HtmlAttributeValueHoverProvider(), theme_check_common_2 = require_dist3(), LiquidDocTagHoverProvider_1 = require_LiquidDocTagHoverProvider(), ContentForArgumentHoverProvider_1 = require_ContentForArgumentHoverProvider(), ContentForTypeHoverProvider_1 = require_ContentForTypeHoverProvider(), HoverProvider = class {
|
|
48089
48245
|
constructor(documentManager, themeDocset, getMetafieldDefinitions, getTranslationsForURI = async () => ({}), getSettingsSchemaForURI = async () => [], getDocDefinitionForURI = async () => {
|
|
48090
48246
|
}) {
|
|
48091
48247
|
this.documentManager = documentManager, this.themeDocset = themeDocset, this.getMetafieldDefinitions = getMetafieldDefinitions, this.getTranslationsForURI = getTranslationsForURI, this.getSettingsSchemaForURI = getSettingsSchemaForURI, this.getDocDefinitionForURI = getDocDefinitionForURI, this.providers = [];
|
|
48092
48248
|
let typeSystem = new TypeSystem_1.TypeSystem(themeDocset, getSettingsSchemaForURI, getMetafieldDefinitions);
|
|
48093
48249
|
this.providers = [
|
|
48250
|
+
new ContentForArgumentHoverProvider_1.ContentForArgumentHoverProvider(getDocDefinitionForURI),
|
|
48251
|
+
new ContentForTypeHoverProvider_1.ContentForTypeHoverProvider(getDocDefinitionForURI),
|
|
48094
48252
|
new providers_1.LiquidTagHoverProvider(themeDocset),
|
|
48095
48253
|
new providers_1.LiquidFilterHoverProvider(themeDocset),
|
|
48096
48254
|
new providers_1.LiquidObjectHoverProvider(typeSystem),
|
|
@@ -48117,9 +48275,9 @@ var require_HoverProvider = __commonJS({
|
|
|
48117
48275
|
}
|
|
48118
48276
|
});
|
|
48119
48277
|
|
|
48120
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48278
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/index.js
|
|
48121
48279
|
var require_hover = __commonJS({
|
|
48122
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48280
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/hover/index.js"(exports) {
|
|
48123
48281
|
"use strict";
|
|
48124
48282
|
init_cjs_shims();
|
|
48125
48283
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48131,9 +48289,9 @@ var require_hover = __commonJS({
|
|
|
48131
48289
|
}
|
|
48132
48290
|
});
|
|
48133
48291
|
|
|
48134
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48292
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/RequestContext.js
|
|
48135
48293
|
var require_RequestContext = __commonJS({
|
|
48136
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48294
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/RequestContext.js"(exports) {
|
|
48137
48295
|
"use strict";
|
|
48138
48296
|
init_cjs_shims();
|
|
48139
48297
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48152,9 +48310,9 @@ var require_RequestContext = __commonJS({
|
|
|
48152
48310
|
}
|
|
48153
48311
|
});
|
|
48154
48312
|
|
|
48155
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48313
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/utils.js
|
|
48156
48314
|
var require_utils9 = __commonJS({
|
|
48157
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48315
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/utils.js"(exports) {
|
|
48158
48316
|
"use strict";
|
|
48159
48317
|
init_cjs_shims();
|
|
48160
48318
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48188,9 +48346,9 @@ var require_utils9 = __commonJS({
|
|
|
48188
48346
|
}
|
|
48189
48347
|
});
|
|
48190
48348
|
|
|
48191
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48349
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/BlockTypeCompletionProvider.js
|
|
48192
48350
|
var require_BlockTypeCompletionProvider = __commonJS({
|
|
48193
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48351
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/BlockTypeCompletionProvider.js"(exports) {
|
|
48194
48352
|
"use strict";
|
|
48195
48353
|
init_cjs_shims();
|
|
48196
48354
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48258,9 +48416,9 @@ var require_BlockTypeCompletionProvider = __commonJS({
|
|
|
48258
48416
|
}
|
|
48259
48417
|
});
|
|
48260
48418
|
|
|
48261
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48419
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/ReferencedBlockTypeCompletionProvider.js
|
|
48262
48420
|
var require_ReferencedBlockTypeCompletionProvider = __commonJS({
|
|
48263
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48421
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/ReferencedBlockTypeCompletionProvider.js"(exports) {
|
|
48264
48422
|
"use strict";
|
|
48265
48423
|
init_cjs_shims();
|
|
48266
48424
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48309,9 +48467,9 @@ var require_ReferencedBlockTypeCompletionProvider = __commonJS({
|
|
|
48309
48467
|
}
|
|
48310
48468
|
});
|
|
48311
48469
|
|
|
48312
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48470
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/SchemaTranslationCompletionProvider.js
|
|
48313
48471
|
var require_SchemaTranslationCompletionProvider = __commonJS({
|
|
48314
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48472
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/SchemaTranslationCompletionProvider.js"(exports) {
|
|
48315
48473
|
"use strict";
|
|
48316
48474
|
init_cjs_shims();
|
|
48317
48475
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48350,9 +48508,9 @@ var require_SchemaTranslationCompletionProvider = __commonJS({
|
|
|
48350
48508
|
}
|
|
48351
48509
|
});
|
|
48352
48510
|
|
|
48353
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48511
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/SchemaTranslationHoverProvider.js
|
|
48354
48512
|
var require_SchemaTranslationHoverProvider = __commonJS({
|
|
48355
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48513
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/SchemaTranslationHoverProvider.js"(exports) {
|
|
48356
48514
|
"use strict";
|
|
48357
48515
|
init_cjs_shims();
|
|
48358
48516
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48380,9 +48538,9 @@ var require_SchemaTranslationHoverProvider = __commonJS({
|
|
|
48380
48538
|
}
|
|
48381
48539
|
});
|
|
48382
48540
|
|
|
48383
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48541
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/TranslationPathHoverProvider.js
|
|
48384
48542
|
var require_TranslationPathHoverProvider = __commonJS({
|
|
48385
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48543
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/TranslationPathHoverProvider.js"(exports) {
|
|
48386
48544
|
"use strict";
|
|
48387
48545
|
init_cjs_shims();
|
|
48388
48546
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48429,9 +48587,9 @@ var require_TranslationPathHoverProvider = __commonJS({
|
|
|
48429
48587
|
}
|
|
48430
48588
|
});
|
|
48431
48589
|
|
|
48432
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48590
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/helpers/schemaSettings.js
|
|
48433
48591
|
var require_schemaSettings = __commonJS({
|
|
48434
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48592
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/helpers/schemaSettings.js"(exports) {
|
|
48435
48593
|
"use strict";
|
|
48436
48594
|
init_cjs_shims();
|
|
48437
48595
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48462,9 +48620,9 @@ var require_schemaSettings = __commonJS({
|
|
|
48462
48620
|
}
|
|
48463
48621
|
});
|
|
48464
48622
|
|
|
48465
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48623
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/SettingsPropertyCompletionProvider.js
|
|
48466
48624
|
var require_SettingsPropertyCompletionProvider = __commonJS({
|
|
48467
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48625
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/SettingsPropertyCompletionProvider.js"(exports) {
|
|
48468
48626
|
"use strict";
|
|
48469
48627
|
init_cjs_shims();
|
|
48470
48628
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48499,9 +48657,9 @@ var require_SettingsPropertyCompletionProvider = __commonJS({
|
|
|
48499
48657
|
}
|
|
48500
48658
|
});
|
|
48501
48659
|
|
|
48502
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48660
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/SettingsHoverProvider.js
|
|
48503
48661
|
var require_SettingsHoverProvider = __commonJS({
|
|
48504
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48662
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/SettingsHoverProvider.js"(exports) {
|
|
48505
48663
|
"use strict";
|
|
48506
48664
|
init_cjs_shims();
|
|
48507
48665
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48540,9 +48698,9 @@ var require_SettingsHoverProvider = __commonJS({
|
|
|
48540
48698
|
}
|
|
48541
48699
|
});
|
|
48542
48700
|
|
|
48543
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48701
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/BlockSettingsPropertyCompletionProvider.js
|
|
48544
48702
|
var require_BlockSettingsPropertyCompletionProvider = __commonJS({
|
|
48545
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48703
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/completions/providers/BlockSettingsPropertyCompletionProvider.js"(exports) {
|
|
48546
48704
|
"use strict";
|
|
48547
48705
|
init_cjs_shims();
|
|
48548
48706
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48584,9 +48742,9 @@ var require_BlockSettingsPropertyCompletionProvider = __commonJS({
|
|
|
48584
48742
|
}
|
|
48585
48743
|
});
|
|
48586
48744
|
|
|
48587
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48745
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/BlockSettingsHoverProvider.js
|
|
48588
48746
|
var require_BlockSettingsHoverProvider = __commonJS({
|
|
48589
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48747
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/hover/providers/BlockSettingsHoverProvider.js"(exports) {
|
|
48590
48748
|
"use strict";
|
|
48591
48749
|
init_cjs_shims();
|
|
48592
48750
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48635,9 +48793,9 @@ var require_BlockSettingsHoverProvider = __commonJS({
|
|
|
48635
48793
|
}
|
|
48636
48794
|
});
|
|
48637
48795
|
|
|
48638
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48796
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/JSONContributions.js
|
|
48639
48797
|
var require_JSONContributions = __commonJS({
|
|
48640
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48798
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/JSONContributions.js"(exports) {
|
|
48641
48799
|
"use strict";
|
|
48642
48800
|
init_cjs_shims();
|
|
48643
48801
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -48701,9 +48859,9 @@ var require_JSONContributions = __commonJS({
|
|
|
48701
48859
|
}
|
|
48702
48860
|
});
|
|
48703
48861
|
|
|
48704
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48862
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/JSONLanguageService.js
|
|
48705
48863
|
var require_JSONLanguageService = __commonJS({
|
|
48706
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
48864
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/json/JSONLanguageService.js"(exports) {
|
|
48707
48865
|
"use strict";
|
|
48708
48866
|
init_cjs_shims();
|
|
48709
48867
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84024,9 +84182,9 @@ var defaultLanguageServiceOptions, init_cssLanguageService = __esm({
|
|
|
84024
84182
|
}
|
|
84025
84183
|
});
|
|
84026
84184
|
|
|
84027
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84185
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/css/CSSLanguageService.js
|
|
84028
84186
|
var require_CSSLanguageService = __commonJS({
|
|
84029
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84187
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/css/CSSLanguageService.js"(exports) {
|
|
84030
84188
|
"use strict";
|
|
84031
84189
|
init_cjs_shims();
|
|
84032
84190
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84096,9 +84254,9 @@ var require_CSSLanguageService = __commonJS({
|
|
|
84096
84254
|
}
|
|
84097
84255
|
});
|
|
84098
84256
|
|
|
84099
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84257
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/wordPattern.js
|
|
84100
84258
|
var require_wordPattern = __commonJS({
|
|
84101
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84259
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/wordPattern.js"(exports) {
|
|
84102
84260
|
"use strict";
|
|
84103
84261
|
init_cjs_shims();
|
|
84104
84262
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84108,9 +84266,9 @@ var require_wordPattern = __commonJS({
|
|
|
84108
84266
|
}
|
|
84109
84267
|
});
|
|
84110
84268
|
|
|
84111
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84269
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/EmptyHtmlTagLinkedRangesProvider.js
|
|
84112
84270
|
var require_EmptyHtmlTagLinkedRangesProvider = __commonJS({
|
|
84113
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84271
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/EmptyHtmlTagLinkedRangesProvider.js"(exports) {
|
|
84114
84272
|
"use strict";
|
|
84115
84273
|
init_cjs_shims();
|
|
84116
84274
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84145,9 +84303,9 @@ var require_EmptyHtmlTagLinkedRangesProvider = __commonJS({
|
|
|
84145
84303
|
}
|
|
84146
84304
|
});
|
|
84147
84305
|
|
|
84148
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84306
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/HtmlTagNameLinkedRangesProvider.js
|
|
84149
84307
|
var require_HtmlTagNameLinkedRangesProvider = __commonJS({
|
|
84150
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84308
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/HtmlTagNameLinkedRangesProvider.js"(exports) {
|
|
84151
84309
|
"use strict";
|
|
84152
84310
|
init_cjs_shims();
|
|
84153
84311
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84174,9 +84332,9 @@ var require_HtmlTagNameLinkedRangesProvider = __commonJS({
|
|
|
84174
84332
|
}
|
|
84175
84333
|
});
|
|
84176
84334
|
|
|
84177
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84335
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/index.js
|
|
84178
84336
|
var require_providers6 = __commonJS({
|
|
84179
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84337
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/providers/index.js"(exports) {
|
|
84180
84338
|
"use strict";
|
|
84181
84339
|
init_cjs_shims();
|
|
84182
84340
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84192,9 +84350,9 @@ var require_providers6 = __commonJS({
|
|
|
84192
84350
|
}
|
|
84193
84351
|
});
|
|
84194
84352
|
|
|
84195
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84353
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/LinkedEditingRangesProvider.js
|
|
84196
84354
|
var require_LinkedEditingRangesProvider = __commonJS({
|
|
84197
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84355
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/linkedEditingRanges/LinkedEditingRangesProvider.js"(exports) {
|
|
84198
84356
|
"use strict";
|
|
84199
84357
|
init_cjs_shims();
|
|
84200
84358
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84221,9 +84379,9 @@ var require_LinkedEditingRangesProvider = __commonJS({
|
|
|
84221
84379
|
}
|
|
84222
84380
|
});
|
|
84223
84381
|
|
|
84224
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84382
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/providers/HtmlTagNameRenameProvider.js
|
|
84225
84383
|
var require_HtmlTagNameRenameProvider = __commonJS({
|
|
84226
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84384
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/providers/HtmlTagNameRenameProvider.js"(exports) {
|
|
84227
84385
|
"use strict";
|
|
84228
84386
|
init_cjs_shims();
|
|
84229
84387
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84261,9 +84419,9 @@ var require_HtmlTagNameRenameProvider = __commonJS({
|
|
|
84261
84419
|
}
|
|
84262
84420
|
});
|
|
84263
84421
|
|
|
84264
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84422
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/uri.js
|
|
84265
84423
|
var require_uri2 = __commonJS({
|
|
84266
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84424
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/utils/uri.js"(exports) {
|
|
84267
84425
|
"use strict";
|
|
84268
84426
|
init_cjs_shims();
|
|
84269
84427
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84295,9 +84453,9 @@ var require_uri2 = __commonJS({
|
|
|
84295
84453
|
}
|
|
84296
84454
|
});
|
|
84297
84455
|
|
|
84298
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84456
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/providers/LiquidVariableRenameProvider.js
|
|
84299
84457
|
var require_LiquidVariableRenameProvider = __commonJS({
|
|
84300
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84458
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/providers/LiquidVariableRenameProvider.js"(exports) {
|
|
84301
84459
|
"use strict";
|
|
84302
84460
|
init_cjs_shims();
|
|
84303
84461
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84440,9 +84598,9 @@ var require_LiquidVariableRenameProvider = __commonJS({
|
|
|
84440
84598
|
}
|
|
84441
84599
|
});
|
|
84442
84600
|
|
|
84443
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84601
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/RenameProvider.js
|
|
84444
84602
|
var require_RenameProvider = __commonJS({
|
|
84445
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84603
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/rename/RenameProvider.js"(exports) {
|
|
84446
84604
|
"use strict";
|
|
84447
84605
|
init_cjs_shims();
|
|
84448
84606
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84482,9 +84640,9 @@ var require_RenameProvider = __commonJS({
|
|
|
84482
84640
|
}
|
|
84483
84641
|
});
|
|
84484
84642
|
|
|
84485
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84643
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/AssetRenameHandler.js
|
|
84486
84644
|
var require_AssetRenameHandler = __commonJS({
|
|
84487
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84645
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/AssetRenameHandler.js"(exports) {
|
|
84488
84646
|
"use strict";
|
|
84489
84647
|
init_cjs_shims();
|
|
84490
84648
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84550,9 +84708,9 @@ var require_AssetRenameHandler = __commonJS({
|
|
|
84550
84708
|
}
|
|
84551
84709
|
});
|
|
84552
84710
|
|
|
84553
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84711
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/utils.js
|
|
84554
84712
|
var require_utils10 = __commonJS({
|
|
84555
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84713
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/utils.js"(exports) {
|
|
84556
84714
|
"use strict";
|
|
84557
84715
|
init_cjs_shims();
|
|
84558
84716
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84568,9 +84726,9 @@ var require_utils10 = __commonJS({
|
|
|
84568
84726
|
}
|
|
84569
84727
|
});
|
|
84570
84728
|
|
|
84571
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84729
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/BlockRenameHandler.js
|
|
84572
84730
|
var require_BlockRenameHandler = __commonJS({
|
|
84573
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84731
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/BlockRenameHandler.js"(exports) {
|
|
84574
84732
|
"use strict";
|
|
84575
84733
|
init_cjs_shims();
|
|
84576
84734
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84741,9 +84899,9 @@ var require_BlockRenameHandler = __commonJS({
|
|
|
84741
84899
|
}
|
|
84742
84900
|
});
|
|
84743
84901
|
|
|
84744
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84902
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/SnippetRenameHandler.js
|
|
84745
84903
|
var require_SnippetRenameHandler = __commonJS({
|
|
84746
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84904
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/SnippetRenameHandler.js"(exports) {
|
|
84747
84905
|
"use strict";
|
|
84748
84906
|
init_cjs_shims();
|
|
84749
84907
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84812,9 +84970,9 @@ var require_SnippetRenameHandler = __commonJS({
|
|
|
84812
84970
|
}
|
|
84813
84971
|
});
|
|
84814
84972
|
|
|
84815
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84973
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/SectionRenameHandler.js
|
|
84816
84974
|
var require_SectionRenameHandler = __commonJS({
|
|
84817
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
84975
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/handlers/SectionRenameHandler.js"(exports) {
|
|
84818
84976
|
"use strict";
|
|
84819
84977
|
init_cjs_shims();
|
|
84820
84978
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84930,9 +85088,9 @@ var require_SectionRenameHandler = __commonJS({
|
|
|
84930
85088
|
}
|
|
84931
85089
|
});
|
|
84932
85090
|
|
|
84933
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85091
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/RenameHandler.js
|
|
84934
85092
|
var require_RenameHandler = __commonJS({
|
|
84935
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85093
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/renamed/RenameHandler.js"(exports) {
|
|
84936
85094
|
"use strict";
|
|
84937
85095
|
init_cjs_shims();
|
|
84938
85096
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -84960,12 +85118,12 @@ var require_RenameHandler = __commonJS({
|
|
|
84960
85118
|
}
|
|
84961
85119
|
});
|
|
84962
85120
|
|
|
84963
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85121
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/package.json
|
|
84964
85122
|
var require_package3 = __commonJS({
|
|
84965
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85123
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/package.json"(exports, module) {
|
|
84966
85124
|
module.exports = {
|
|
84967
85125
|
name: "@shopify/theme-language-server-common",
|
|
84968
|
-
version: "2.
|
|
85126
|
+
version: "2.15.2",
|
|
84969
85127
|
main: "dist/index.js",
|
|
84970
85128
|
types: "dist/index.d.ts",
|
|
84971
85129
|
author: "CP Clermont <cp.clermont@shopify.com>",
|
|
@@ -84993,7 +85151,7 @@ var require_package3 = __commonJS({
|
|
|
84993
85151
|
},
|
|
84994
85152
|
dependencies: {
|
|
84995
85153
|
"@shopify/liquid-html-parser": "^2.8.2",
|
|
84996
|
-
"@shopify/theme-check-common": "3.
|
|
85154
|
+
"@shopify/theme-check-common": "3.17.0",
|
|
84997
85155
|
"@vscode/web-custom-data": "^0.4.6",
|
|
84998
85156
|
"vscode-json-languageservice": "^5.3.10",
|
|
84999
85157
|
"vscode-languageserver": "^8.0.2",
|
|
@@ -85005,9 +85163,9 @@ var require_package3 = __commonJS({
|
|
|
85005
85163
|
}
|
|
85006
85164
|
});
|
|
85007
85165
|
|
|
85008
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85166
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/version.js
|
|
85009
85167
|
var require_version2 = __commonJS({
|
|
85010
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85168
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/version.js"(exports) {
|
|
85011
85169
|
"use strict";
|
|
85012
85170
|
init_cjs_shims();
|
|
85013
85171
|
var __importDefault2 = exports && exports.__importDefault || function(mod) {
|
|
@@ -85020,9 +85178,9 @@ var require_version2 = __commonJS({
|
|
|
85020
85178
|
}
|
|
85021
85179
|
});
|
|
85022
85180
|
|
|
85023
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85181
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/CachedFileSystem.js
|
|
85024
85182
|
var require_CachedFileSystem = __commonJS({
|
|
85025
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85183
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/CachedFileSystem.js"(exports) {
|
|
85026
85184
|
"use strict";
|
|
85027
85185
|
init_cjs_shims();
|
|
85028
85186
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -85045,9 +85203,9 @@ var require_CachedFileSystem = __commonJS({
|
|
|
85045
85203
|
}
|
|
85046
85204
|
});
|
|
85047
85205
|
|
|
85048
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85206
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/Configuration.js
|
|
85049
85207
|
var require_Configuration = __commonJS({
|
|
85050
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85208
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/Configuration.js"(exports) {
|
|
85051
85209
|
"use strict";
|
|
85052
85210
|
init_cjs_shims();
|
|
85053
85211
|
var _a42, _b, _c, _d;
|
|
@@ -85106,9 +85264,9 @@ var require_Configuration = __commonJS({
|
|
|
85106
85264
|
}
|
|
85107
85265
|
});
|
|
85108
85266
|
|
|
85109
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85267
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/safe.js
|
|
85110
85268
|
var require_safe = __commonJS({
|
|
85111
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85269
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/safe.js"(exports) {
|
|
85112
85270
|
"use strict";
|
|
85113
85271
|
init_cjs_shims();
|
|
85114
85272
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -85124,9 +85282,9 @@ var require_safe = __commonJS({
|
|
|
85124
85282
|
}
|
|
85125
85283
|
});
|
|
85126
85284
|
|
|
85127
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85285
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/startServer.js
|
|
85128
85286
|
var require_startServer = __commonJS({
|
|
85129
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85287
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/startServer.js"(exports) {
|
|
85130
85288
|
"use strict";
|
|
85131
85289
|
init_cjs_shims();
|
|
85132
85290
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -85363,9 +85521,9 @@ var require_startServer = __commonJS({
|
|
|
85363
85521
|
}
|
|
85364
85522
|
});
|
|
85365
85523
|
|
|
85366
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85524
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/index.js
|
|
85367
85525
|
var require_server2 = __commonJS({
|
|
85368
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85526
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/server/index.js"(exports) {
|
|
85369
85527
|
"use strict";
|
|
85370
85528
|
init_cjs_shims();
|
|
85371
85529
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -85377,9 +85535,9 @@ var require_server2 = __commonJS({
|
|
|
85377
85535
|
}
|
|
85378
85536
|
});
|
|
85379
85537
|
|
|
85380
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85538
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/index.js
|
|
85381
85539
|
var require_dist7 = __commonJS({
|
|
85382
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.
|
|
85540
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-common@2.15.2/node_modules/@shopify/theme-language-server-common/dist/index.js"(exports) {
|
|
85383
85541
|
"use strict";
|
|
85384
85542
|
init_cjs_shims();
|
|
85385
85543
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -85436,9 +85594,9 @@ var require_node4 = __commonJS({
|
|
|
85436
85594
|
}
|
|
85437
85595
|
});
|
|
85438
85596
|
|
|
85439
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
85597
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/dependencies.js
|
|
85440
85598
|
var require_dependencies = __commonJS({
|
|
85441
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
85599
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/dependencies.js"(exports) {
|
|
85442
85600
|
"use strict";
|
|
85443
85601
|
init_cjs_shims();
|
|
85444
85602
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
@@ -85470,9 +85628,9 @@ var require_dependencies = __commonJS({
|
|
|
85470
85628
|
}
|
|
85471
85629
|
});
|
|
85472
85630
|
|
|
85473
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
85631
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/metafieldDefinitions.js
|
|
85474
85632
|
var require_metafieldDefinitions = __commonJS({
|
|
85475
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
85633
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/metafieldDefinitions.js"(exports) {
|
|
85476
85634
|
"use strict";
|
|
85477
85635
|
init_cjs_shims();
|
|
85478
85636
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -85532,9 +85690,9 @@ var require_metafieldDefinitions = __commonJS({
|
|
|
85532
85690
|
}
|
|
85533
85691
|
});
|
|
85534
85692
|
|
|
85535
|
-
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
85693
|
+
// ../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/index.js
|
|
85536
85694
|
var require_dist8 = __commonJS({
|
|
85537
|
-
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.
|
|
85695
|
+
"../../node_modules/.pnpm/@shopify+theme-language-server-node@2.15.2/node_modules/@shopify/theme-language-server-node/dist/index.js"(exports) {
|
|
85538
85696
|
"use strict";
|
|
85539
85697
|
init_cjs_shims();
|
|
85540
85698
|
var __createBinding2 = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
@@ -204946,8 +205104,8 @@ async function adminRequest2(query, session, variables) {
|
|
|
204946
205104
|
let api = "Admin", version = await fetchLatestSupportedApiVersion(session), store = await normalizeStoreFqdn(session.storeFqdn), url = adminUrl(store, version, session), addedHeaders = themeAccessHeaders(session);
|
|
204947
205105
|
return graphqlRequest({ query, api, addedHeaders, url, token: session.token, variables });
|
|
204948
205106
|
}
|
|
204949
|
-
async function adminRequestDoc(
|
|
204950
|
-
let apiVersion = version ?? LatestApiVersionByFQDN.get(session.storeFqdn);
|
|
205107
|
+
async function adminRequestDoc(options) {
|
|
205108
|
+
let { query, session, variables, version, responseOptions, requestBehaviour } = options, apiVersion = version ?? LatestApiVersionByFQDN.get(session.storeFqdn);
|
|
204951
205109
|
apiVersion || (apiVersion = await fetchLatestSupportedApiVersion(session));
|
|
204952
205110
|
let store = await normalizeStoreFqdn(session.storeFqdn), addedHeaders = themeAccessHeaders(session), opts = {
|
|
204953
205111
|
url: adminUrl(store, apiVersion, session),
|
|
@@ -204960,7 +205118,8 @@ async function adminRequestDoc(query, session, variables, version, responseOptio
|
|
|
204960
205118
|
query,
|
|
204961
205119
|
variables,
|
|
204962
205120
|
responseOptions,
|
|
204963
|
-
unauthorizedHandler
|
|
205121
|
+
unauthorizedHandler,
|
|
205122
|
+
requestBehaviour
|
|
204964
205123
|
});
|
|
204965
205124
|
}
|
|
204966
205125
|
function themeAccessHeaders(session) {
|
|
@@ -204975,7 +205134,13 @@ async function supportedApiVersions(session) {
|
|
|
204975
205134
|
}
|
|
204976
205135
|
async function fetchApiVersions(session) {
|
|
204977
205136
|
try {
|
|
204978
|
-
return (await adminRequestDoc(
|
|
205137
|
+
return (await adminRequestDoc({
|
|
205138
|
+
query: PublicApiVersions,
|
|
205139
|
+
session,
|
|
205140
|
+
variables: {},
|
|
205141
|
+
version: "unstable",
|
|
205142
|
+
responseOptions: { handleErrors: !1 }
|
|
205143
|
+
})).publicApiVersions;
|
|
204979
205144
|
} catch (error) {
|
|
204980
205145
|
if (error instanceof ClientError && error.response.status === 403) {
|
|
204981
205146
|
let storeName = session.storeFqdn.replace(".myshopify.com", "");
|
|
@@ -205019,12 +205184,20 @@ var Operation;
|
|
|
205019
205184
|
})(Operation || (Operation = {}));
|
|
205020
205185
|
|
|
205021
205186
|
// ../cli-kit/dist/public/node/themes/api.js
|
|
205022
|
-
var SkeletonThemeCdn = "https://cdn.shopify.com/static/online-store/theme-skeleton.zip"
|
|
205187
|
+
var SkeletonThemeCdn = "https://cdn.shopify.com/static/online-store/theme-skeleton.zip", THEME_API_NETWORK_BEHAVIOUR = {
|
|
205188
|
+
useNetworkLevelRetry: !0,
|
|
205189
|
+
useAbortSignal: !0,
|
|
205190
|
+
timeoutMs: 90 * 1e3,
|
|
205191
|
+
maxRetryTimeMs: 90 * 1e3
|
|
205192
|
+
};
|
|
205023
205193
|
async function fetchTheme(id, session) {
|
|
205024
205194
|
let gid = composeThemeGid(id);
|
|
205025
205195
|
try {
|
|
205026
|
-
let { theme } = await adminRequestDoc(
|
|
205027
|
-
|
|
205196
|
+
let { theme } = await adminRequestDoc({
|
|
205197
|
+
query: GetTheme,
|
|
205198
|
+
session,
|
|
205199
|
+
variables: { id: gid },
|
|
205200
|
+
responseOptions: { handleErrors: !1 }
|
|
205028
205201
|
});
|
|
205029
205202
|
if (theme)
|
|
205030
205203
|
return buildTheme({
|
|
@@ -205040,7 +205213,12 @@ async function fetchTheme(id, session) {
|
|
|
205040
205213
|
async function fetchThemes(session) {
|
|
205041
205214
|
let themes = [], after = null;
|
|
205042
205215
|
for (; ; ) {
|
|
205043
|
-
let response = await adminRequestDoc(
|
|
205216
|
+
let response = await adminRequestDoc({
|
|
205217
|
+
query: GetThemes,
|
|
205218
|
+
session,
|
|
205219
|
+
variables: { after },
|
|
205220
|
+
responseOptions: { handleErrors: !1 }
|
|
205221
|
+
});
|
|
205044
205222
|
response.themes || unexpectedGraphQLError("Failed to fetch themes");
|
|
205045
205223
|
let { nodes, pageInfo } = response.themes;
|
|
205046
205224
|
if (nodes.forEach((theme) => {
|
|
@@ -205057,10 +205235,15 @@ async function fetchThemes(session) {
|
|
|
205057
205235
|
}
|
|
205058
205236
|
}
|
|
205059
205237
|
async function themeCreate(params, session) {
|
|
205060
|
-
let themeSource = params.src ?? SkeletonThemeCdn, { themeCreate: themeCreate2 } = await adminRequestDoc(
|
|
205061
|
-
|
|
205062
|
-
|
|
205063
|
-
|
|
205238
|
+
let themeSource = params.src ?? SkeletonThemeCdn, { themeCreate: themeCreate2 } = await adminRequestDoc({
|
|
205239
|
+
query: ThemeCreate,
|
|
205240
|
+
session,
|
|
205241
|
+
variables: {
|
|
205242
|
+
name: params.name ?? "",
|
|
205243
|
+
source: themeSource,
|
|
205244
|
+
role: (params.role ?? DEVELOPMENT_THEME_ROLE).toUpperCase()
|
|
205245
|
+
},
|
|
205246
|
+
responseOptions: { handleErrors: !1 }
|
|
205064
205247
|
});
|
|
205065
205248
|
themeCreate2 || unexpectedGraphQLError("Failed to create theme");
|
|
205066
205249
|
let { theme, userErrors } = themeCreate2;
|
|
@@ -205077,10 +205260,11 @@ async function themeCreate(params, session) {
|
|
|
205077
205260
|
async function fetchThemeAssets(id, filenames, session) {
|
|
205078
205261
|
let assets = [], after = null;
|
|
205079
205262
|
for (; ; ) {
|
|
205080
|
-
let response = await adminRequestDoc(
|
|
205081
|
-
|
|
205082
|
-
|
|
205083
|
-
after
|
|
205263
|
+
let response = await adminRequestDoc({
|
|
205264
|
+
query: GetThemeFileBodies,
|
|
205265
|
+
session,
|
|
205266
|
+
variables: { id: themeGid(id), filenames, after },
|
|
205267
|
+
responseOptions: { handleErrors: !1 }
|
|
205084
205268
|
});
|
|
205085
205269
|
if (!response.theme?.files?.nodes || !response.theme?.files?.pageInfo) {
|
|
205086
205270
|
let userErrors = response.theme?.files?.userErrors.map((error) => error.filename).join(", ");
|
|
@@ -205105,9 +205289,14 @@ async function fetchThemeAssets(id, filenames, session) {
|
|
|
205105
205289
|
async function deleteThemeAssets(id, filenames, session) {
|
|
205106
205290
|
let results = [];
|
|
205107
205291
|
for (let i = 0; i < filenames.length; i += 50) {
|
|
205108
|
-
let batch = filenames.slice(i, i + 50), { themeFilesDelete } = await adminRequestDoc(
|
|
205109
|
-
|
|
205110
|
-
|
|
205292
|
+
let batch = filenames.slice(i, i + 50), { themeFilesDelete } = await adminRequestDoc({
|
|
205293
|
+
query: ThemeFilesDelete,
|
|
205294
|
+
session,
|
|
205295
|
+
variables: {
|
|
205296
|
+
themeId: composeThemeGid(id),
|
|
205297
|
+
files: batch
|
|
205298
|
+
},
|
|
205299
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
205111
205300
|
});
|
|
205112
205301
|
themeFilesDelete || unexpectedGraphQLError("Failed to delete theme assets");
|
|
205113
205302
|
let { deletedThemeFiles, userErrors } = themeFilesDelete;
|
|
@@ -205148,7 +205337,12 @@ function prepareFilesForUpload(assets) {
|
|
|
205148
205337
|
});
|
|
205149
205338
|
}
|
|
205150
205339
|
async function uploadFiles(themeId, files, session) {
|
|
205151
|
-
return adminRequestDoc(
|
|
205340
|
+
return adminRequestDoc({
|
|
205341
|
+
query: ThemeFilesUpsert,
|
|
205342
|
+
session,
|
|
205343
|
+
variables: { themeId: themeGid(themeId), files },
|
|
205344
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
205345
|
+
});
|
|
205152
205346
|
}
|
|
205153
205347
|
function processUploadResults(uploadResults) {
|
|
205154
205348
|
let { themeFilesUpsert } = uploadResults;
|
|
@@ -205172,7 +205366,12 @@ function processUploadResults(uploadResults) {
|
|
|
205172
205366
|
async function fetchChecksums(id, session) {
|
|
205173
205367
|
let checksums = [], after = null;
|
|
205174
205368
|
for (; ; ) {
|
|
205175
|
-
let response = await adminRequestDoc(
|
|
205369
|
+
let response = await adminRequestDoc({
|
|
205370
|
+
query: GetThemeFileChecksums,
|
|
205371
|
+
session,
|
|
205372
|
+
variables: { id: themeGid(id), after },
|
|
205373
|
+
responseOptions: { handleErrors: !1 }
|
|
205374
|
+
});
|
|
205176
205375
|
if (!response?.theme?.files?.nodes || !response?.theme?.files?.pageInfo) {
|
|
205177
205376
|
let userErrors = response.theme?.files?.userErrors.map((error) => error.filename).join(", ");
|
|
205178
205377
|
throw new AbortError(`Failed to fetch checksums for: ${userErrors}`);
|
|
@@ -205189,7 +205388,12 @@ async function fetchChecksums(id, session) {
|
|
|
205189
205388
|
async function themeUpdate(id, params, session) {
|
|
205190
205389
|
let name = params.name, input = {};
|
|
205191
205390
|
name && (input.name = name);
|
|
205192
|
-
let { themeUpdate: themeUpdate2 } = await adminRequestDoc(
|
|
205391
|
+
let { themeUpdate: themeUpdate2 } = await adminRequestDoc({
|
|
205392
|
+
query: ThemeUpdate,
|
|
205393
|
+
session,
|
|
205394
|
+
variables: { id: composeThemeGid(id), input },
|
|
205395
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
205396
|
+
});
|
|
205193
205397
|
themeUpdate2 || unexpectedGraphQLError("Failed to update theme");
|
|
205194
205398
|
let { theme, userErrors } = themeUpdate2;
|
|
205195
205399
|
if (userErrors.length) {
|
|
@@ -205203,7 +205407,12 @@ async function themeUpdate(id, params, session) {
|
|
|
205203
205407
|
});
|
|
205204
205408
|
}
|
|
205205
205409
|
async function themePublish(id, session) {
|
|
205206
|
-
let { themePublish: themePublish2 } = await adminRequestDoc(
|
|
205410
|
+
let { themePublish: themePublish2 } = await adminRequestDoc({
|
|
205411
|
+
query: ThemePublish,
|
|
205412
|
+
session,
|
|
205413
|
+
variables: { id: composeThemeGid(id) },
|
|
205414
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
205415
|
+
});
|
|
205207
205416
|
themePublish2 || unexpectedGraphQLError("Failed to update theme");
|
|
205208
205417
|
let { theme, userErrors } = themePublish2;
|
|
205209
205418
|
if (userErrors.length) {
|
|
@@ -205217,7 +205426,12 @@ async function themePublish(id, session) {
|
|
|
205217
205426
|
});
|
|
205218
205427
|
}
|
|
205219
205428
|
async function themeDelete(id, session) {
|
|
205220
|
-
let { themeDelete: themeDelete2 } = await adminRequestDoc(
|
|
205429
|
+
let { themeDelete: themeDelete2 } = await adminRequestDoc({
|
|
205430
|
+
query: ThemeDelete,
|
|
205431
|
+
session,
|
|
205432
|
+
variables: { id: composeThemeGid(id) },
|
|
205433
|
+
requestBehaviour: THEME_API_NETWORK_BEHAVIOUR
|
|
205434
|
+
});
|
|
205221
205435
|
themeDelete2 || unexpectedGraphQLError("Failed to update theme");
|
|
205222
205436
|
let { deletedThemeId, userErrors } = themeDelete2;
|
|
205223
205437
|
if (userErrors.length) {
|
|
@@ -205227,8 +205441,10 @@ async function themeDelete(id, session) {
|
|
|
205227
205441
|
return deletedThemeId || unexpectedGraphQLError("Failed to update theme"), !0;
|
|
205228
205442
|
}
|
|
205229
205443
|
async function metafieldDefinitionsByOwnerType(type, session) {
|
|
205230
|
-
let { metafieldDefinitions } = await adminRequestDoc(
|
|
205231
|
-
|
|
205444
|
+
let { metafieldDefinitions } = await adminRequestDoc({
|
|
205445
|
+
query: MetafieldDefinitionsByOwnerType,
|
|
205446
|
+
session,
|
|
205447
|
+
variables: { ownerType: type }
|
|
205232
205448
|
});
|
|
205233
205449
|
return metafieldDefinitions.nodes.map((definition) => ({
|
|
205234
205450
|
key: definition.key,
|
|
@@ -205242,7 +205458,10 @@ async function metafieldDefinitionsByOwnerType(type, session) {
|
|
|
205242
205458
|
}));
|
|
205243
205459
|
}
|
|
205244
205460
|
async function passwordProtected(session) {
|
|
205245
|
-
let { onlineStore } = await adminRequestDoc(
|
|
205461
|
+
let { onlineStore } = await adminRequestDoc({
|
|
205462
|
+
query: OnlineStorePasswordProtection,
|
|
205463
|
+
session
|
|
205464
|
+
});
|
|
205246
205465
|
onlineStore || unexpectedGraphQLError("Unable to get details about the storefront's password protection");
|
|
205247
205466
|
let { passwordProtection } = onlineStore;
|
|
205248
205467
|
return passwordProtection.enabled;
|
|
@@ -214680,10 +214899,10 @@ async function buildAssetsUrl(port, root) {
|
|
|
214680
214899
|
async function startMiniOxygen(options, useNodeRuntime = !1) {
|
|
214681
214900
|
if (useNodeRuntime) {
|
|
214682
214901
|
process.env.MINIFLARE_SUBREQUEST_LIMIT = 100;
|
|
214683
|
-
let { startNodeServer } = await import("./node-
|
|
214902
|
+
let { startNodeServer } = await import("./node-D2EIZN3I.js");
|
|
214684
214903
|
return startNodeServer(options);
|
|
214685
214904
|
}
|
|
214686
|
-
let { startWorkerdServer } = await import("./workerd-
|
|
214905
|
+
let { startWorkerdServer } = await import("./workerd-IJSWR4MJ.js");
|
|
214687
214906
|
return startWorkerdServer(options);
|
|
214688
214907
|
}
|
|
214689
214908
|
|
|
@@ -220878,12 +221097,6 @@ var IncludeSchema = z.object({
|
|
|
220878
221097
|
identifier: "editor_extension_collection",
|
|
220879
221098
|
schema: EditorExtensionCollectionSchema,
|
|
220880
221099
|
appModuleFeatures: (_3) => [],
|
|
220881
|
-
validate: async (config2, path4) => {
|
|
220882
|
-
let errors = [];
|
|
220883
|
-
return config2.inCollection.length < 2 && errors.push(`${config2.handle}: This editor extension collection must include at least 2 extensions`), errors.length > 0 ? (errors.push(`Please check the configuration in ${path4}`), err(errors.join(`
|
|
220884
|
-
|
|
220885
|
-
`))) : ok({});
|
|
220886
|
-
},
|
|
220887
221100
|
deployConfig: async (config2, directory) => ({
|
|
220888
221101
|
name: config2.name,
|
|
220889
221102
|
handle: config2.handle,
|