fontdue-js 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +5 -4
  3. package/dist/__generated__/AddToCartBannerQuery.graphql.d.ts +1 -1
  4. package/dist/__generated__/AddToCartBannerQuery.graphql.js +16 -10
  5. package/dist/__generated__/AddToCartBanner_item.graphql.d.ts +4 -1
  6. package/dist/__generated__/AddToCartBanner_item.graphql.js +7 -2
  7. package/dist/__generated__/AddToCartBanner_order.graphql.d.ts +4 -1
  8. package/dist/__generated__/AddToCartBanner_order.graphql.js +6 -1
  9. package/dist/__generated__/BuyButtonIDQuery.graphql.d.ts +3 -3
  10. package/dist/__generated__/BuyButtonIDQuery.graphql.js +31 -16
  11. package/dist/__generated__/BuyButtonPackIDQuery.graphql.d.ts +21 -0
  12. package/dist/__generated__/BuyButtonPackIDQuery.graphql.js +129 -0
  13. package/dist/__generated__/BuyButtonPackSlugQuery.graphql.d.ts +25 -0
  14. package/dist/__generated__/BuyButtonPackSlugQuery.graphql.js +167 -0
  15. package/dist/__generated__/BuyButtonSlugQuery.graphql.d.ts +3 -3
  16. package/dist/__generated__/BuyButtonSlugQuery.graphql.js +45 -17
  17. package/dist/__generated__/BuyButton_product.graphql.d.ts +27 -0
  18. package/dist/__generated__/BuyButton_product.graphql.js +72 -0
  19. package/dist/__generated__/CartItemProduct_product.graphql.d.ts +1 -1
  20. package/dist/__generated__/CartItemProduct_product.graphql.js +7 -2
  21. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.d.ts +1 -1
  22. package/dist/__generated__/CartOrderCompleteOrderMutation.graphql.js +26 -20
  23. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.d.ts +1 -1
  24. package/dist/__generated__/CartOrderRemoveDiscountMutation.graphql.js +26 -20
  25. package/dist/__generated__/CartOrderUpdateMutation.graphql.d.ts +1 -1
  26. package/dist/__generated__/CartOrderUpdateMutation.graphql.js +26 -20
  27. package/dist/__generated__/CartQuery.graphql.d.ts +1 -1
  28. package/dist/__generated__/CartQuery.graphql.js +26 -20
  29. package/dist/__generated__/CartStateUpdateMutation.graphql.d.ts +1 -1
  30. package/dist/__generated__/CartStateUpdateMutation.graphql.js +26 -20
  31. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.d.ts +1 -1
  32. package/dist/__generated__/CheckoutUpdateCustomerMutation.graphql.js +26 -20
  33. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.d.ts +1 -1
  34. package/dist/__generated__/CheckoutUpdateOrderMutation.graphql.js +26 -20
  35. package/dist/__generated__/CollectionAa_Query.graphql.d.ts +1 -1
  36. package/dist/__generated__/CollectionAa_Query.graphql.js +20 -14
  37. package/dist/__generated__/CollectionAa_product.graphql.d.ts +7 -1
  38. package/dist/__generated__/CollectionAa_product.graphql.js +22 -16
  39. package/dist/__generated__/FontFamiliesQuery.graphql.d.ts +4 -1
  40. package/dist/__generated__/FontFamiliesQuery.graphql.js +46 -39
  41. package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.d.ts +3 -3
  42. package/dist/__generated__/NodePasswordFormElementIDQuery.graphql.js +9 -9
  43. package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.d.ts +25 -0
  44. package/dist/__generated__/NodePasswordFormElementPackSlugQuery.graphql.js +108 -0
  45. package/dist/__generated__/PrecartAddToCartMutation.graphql.d.ts +1 -1
  46. package/dist/__generated__/PrecartAddToCartMutation.graphql.js +32 -26
  47. package/dist/__generated__/PriceBar_node.graphql.d.ts +4 -1
  48. package/dist/__generated__/PriceBar_node.graphql.js +23 -16
  49. package/dist/__generated__/StoreModalCartQuery.graphql.d.ts +1 -1
  50. package/dist/__generated__/StoreModalCartQuery.graphql.js +37 -31
  51. package/dist/__generated__/StoreModalFamily_collection.graphql.d.ts +3 -2
  52. package/dist/__generated__/StoreModalFamily_collection.graphql.js +3 -3
  53. package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.d.ts +23 -0
  54. package/dist/__generated__/StoreModalIndexPackItem_fontPack.graphql.js +58 -0
  55. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.d.ts +23 -0
  56. package/dist/__generated__/StoreModalIndexPaginationQuery.graphql.js +303 -0
  57. package/dist/__generated__/StoreModalIndexQuery.graphql.d.ts +6 -3
  58. package/dist/__generated__/StoreModalIndexQuery.graphql.js +218 -117
  59. package/dist/__generated__/StoreModalIndex_viewer.graphql.d.ts +24 -0
  60. package/dist/__generated__/StoreModalIndex_viewer.graphql.js +134 -0
  61. package/dist/__generated__/StoreModalPackButton_fontPack.graphql.d.ts +33 -0
  62. package/dist/__generated__/StoreModalPackButton_fontPack.graphql.js +119 -0
  63. package/dist/__generated__/StoreModalPack_fontPack.graphql.d.ts +45 -0
  64. package/dist/__generated__/StoreModalPack_fontPack.graphql.js +150 -0
  65. package/dist/__generated__/StoreModalProductContent_collection.graphql.d.ts +6 -2
  66. package/dist/__generated__/StoreModalProductContent_collection.graphql.js +43 -19
  67. package/dist/__generated__/{StoreModalProductLicenseSelection_collection.graphql.d.ts → StoreModalProductLicenseSelection_licenseable.graphql.d.ts} +7 -6
  68. package/dist/__generated__/StoreModalProductLicenseSelection_licenseable.graphql.js +43 -0
  69. package/dist/__generated__/StoreModalProductQuery.graphql.d.ts +1 -1
  70. package/dist/__generated__/StoreModalProductQuery.graphql.js +199 -142
  71. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.d.ts +1 -1
  72. package/dist/__generated__/StoreModalProductRefetchQuery.graphql.js +190 -133
  73. package/dist/__generated__/StoreModalProductSlugQuery.graphql.d.ts +5 -1
  74. package/dist/__generated__/StoreModalProductSlugQuery.graphql.js +254 -176
  75. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.d.ts +1 -1
  76. package/dist/__generated__/StoreModalProductSummaryRefetchQuery.graphql.js +9 -4
  77. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.d.ts +7 -1
  78. package/dist/__generated__/StoreModalProductSummary_viewer.graphql.js +7 -2
  79. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.d.ts +1 -1
  80. package/dist/__generated__/TestFontsFormUpdateCustomerMutation.graphql.js +26 -20
  81. package/dist/__generated__/TypeTestersIDQuery.graphql.d.ts +1 -1
  82. package/dist/__generated__/TypeTestersIDQuery.graphql.js +17 -10
  83. package/dist/__generated__/TypeTestersRefetchQuery.graphql.d.ts +1 -1
  84. package/dist/__generated__/TypeTestersRefetchQuery.graphql.js +17 -10
  85. package/dist/__generated__/TypeTestersSlugQuery.graphql.d.ts +1 -1
  86. package/dist/__generated__/TypeTestersSlugQuery.graphql.js +17 -10
  87. package/dist/__generated__/productState_Query.graphql.d.ts +99 -1
  88. package/dist/__generated__/productState_Query.graphql.js +43 -4
  89. package/dist/__generated__/productState_fontPack.graphql.d.ts +111 -0
  90. package/dist/__generated__/productState_fontPack.graphql.js +117 -0
  91. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.d.ts +41 -0
  92. package/dist/__generated__/storefrontEventsTrackStorefrontEventMutation.graphql.js +65 -0
  93. package/dist/__tests__/bundleSelectionOrder.test.js +94 -0
  94. package/dist/__tests__/collectionBundleSelection.test.js +443 -1446
  95. package/dist/__tests__/fontPackSelection.test.js +435 -0
  96. package/dist/__tests__/infiniteScroll.test.js +180 -0
  97. package/dist/__tests__/licenseExclusions.test.js +4 -1
  98. package/dist/__tests__/storeModalPackButton.test.js +102 -0
  99. package/dist/__tests__/storeModalPackUnlisted.test.js +112 -0
  100. package/dist/__tests__/storeModalRoutes.test.js +9 -0
  101. package/dist/__tests__/storefrontEvents.test.js +167 -0
  102. package/dist/__tests__/typeTesterAutofitFeatures.test.js +138 -0
  103. package/dist/components/AddToCartBanner/index.js +1 -1
  104. package/dist/components/BuyButton/index.d.ts +29 -9
  105. package/dist/components/BuyButton/index.js +123 -26
  106. package/dist/components/BuyButton/index.server.d.ts +4 -2
  107. package/dist/components/BuyButton/index.server.js +24 -3
  108. package/dist/components/Cart/CartItem/CartItemProduct.js +3 -3
  109. package/dist/components/Cart/Checkout.js +11 -1
  110. package/dist/components/Cart/storefrontEvents.d.ts +34 -0
  111. package/dist/components/Cart/storefrontEvents.js +138 -0
  112. package/dist/components/CollectionAa/index.js +2 -2
  113. package/dist/components/FontFamilies/index.js +4 -3
  114. package/dist/components/NodePasswordForm/NodePasswordFormElement.d.ts +1 -1
  115. package/dist/components/NodePasswordForm/NodePasswordFormElement.js +45 -21
  116. package/dist/components/NodePasswordForm/index.d.ts +7 -4
  117. package/dist/components/NodePasswordForm/index.js +6 -6
  118. package/dist/components/Precart/index.js +6 -0
  119. package/dist/components/PriceBar/index.js +5 -3
  120. package/dist/components/Root/productState.d.ts +2 -8
  121. package/dist/components/Root/productState.js +100 -61
  122. package/dist/components/SKUPrice/index.js +7 -8
  123. package/dist/components/StoreModal/StoreModalFamily.d.ts +7 -0
  124. package/dist/components/StoreModal/StoreModalFamily.js +11 -7
  125. package/dist/components/StoreModal/StoreModalIndex.js +58 -7
  126. package/dist/components/StoreModal/StoreModalIndexEntry.d.ts +13 -0
  127. package/dist/components/StoreModal/StoreModalIndexEntry.js +43 -0
  128. package/dist/components/StoreModal/StoreModalIndexItem.js +7 -30
  129. package/dist/components/StoreModal/StoreModalIndexPackItem.d.ts +7 -0
  130. package/dist/components/StoreModal/StoreModalIndexPackItem.js +21 -0
  131. package/dist/components/StoreModal/StoreModalPack.d.ts +9 -0
  132. package/dist/components/StoreModal/StoreModalPack.js +79 -0
  133. package/dist/components/StoreModal/StoreModalPackButton.d.ts +8 -0
  134. package/dist/components/StoreModal/StoreModalPackButton.js +53 -0
  135. package/dist/components/StoreModal/StoreModalProduct.js +49 -19
  136. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.d.ts +2 -1
  137. package/dist/components/StoreModalProductLicenseSelection/StoreModalProductLicense.js +8 -3
  138. package/dist/components/StoreModalProductLicenseSelection/index.d.ts +3 -3
  139. package/dist/components/StoreModalProductLicenseSelection/index.js +7 -6
  140. package/dist/components/StoreModalProductSummary/index.js +1 -1
  141. package/dist/components/TypeTester/useTypeTesterStyler.js +1 -0
  142. package/dist/components/elements/StoreModalContainer/StoreModalContainerContext.d.ts +1 -0
  143. package/dist/components/elements/StoreModalContainer/index.js +9 -4
  144. package/dist/components/elements/StoreModalFamily/index.d.ts +1 -1
  145. package/dist/components/elements/StoreModalFamily/index.js +1 -1
  146. package/dist/components/elements/StoreModalIndexLoadMore/index.d.ts +8 -0
  147. package/dist/components/elements/StoreModalIndexLoadMore/index.js +21 -0
  148. package/dist/components/elements/StoreModalUnifiedCheckout.js +12 -0
  149. package/dist/components/useInfiniteScroll.d.ts +28 -0
  150. package/dist/components/useInfiniteScroll.js +50 -0
  151. package/dist/fontdue.css +39 -0
  152. package/dist/hooks/useAutofit.d.ts +2 -1
  153. package/dist/hooks/useAutofit.js +10 -4
  154. package/dist/reducer.d.ts +12 -5
  155. package/dist/reducer.js +18 -87
  156. package/dist/selection.d.ts +44 -0
  157. package/dist/selection.js +539 -0
  158. package/dist/storeModalRoutes.js +5 -4
  159. package/dist/utils.d.ts +1 -12
  160. package/dist/utils.js +1 -36
  161. package/dist/version.js +1 -1
  162. package/package.json +1 -1
  163. package/dist/__generated__/BuyButton_collection.graphql.d.ts +0 -25
  164. package/dist/__generated__/BuyButton_collection.graphql.js +0 -49
  165. package/dist/__generated__/StoreModalProductLicenseSelection_collection.graphql.js +0 -40
  166. package/fontdue.css +0 -2733
  167. package/fontdue.css.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated SignedSource<<bc44ca76db77462ae1d20c80f49d958e>>
2
+ * @generated SignedSource<<5a1f99f864f7661fe006d3119e6d7c7f>>
3
3
  * @lightSyntaxTransform
4
4
  * @nogrep
5
5
  */
@@ -47,42 +47,61 @@ const node = function () {
47
47
  "variableName": "orderVariables"
48
48
  },
49
49
  v7 = [v5 /*: any*/, v6 /*: any*/],
50
- v8 = {
50
+ v8 = [v4 /*: any*/, {
51
+ "args": v7 /*: any*/,
52
+ "kind": "FragmentSpread",
53
+ "name": "StoreModalProductContent_collection"
54
+ }],
55
+ v9 = {
56
+ "alias": null,
57
+ "args": null,
58
+ "kind": "ScalarField",
59
+ "name": "__typename",
60
+ "storageKey": null
61
+ },
62
+ v10 = {
63
+ "alias": null,
64
+ "args": null,
65
+ "kind": "ScalarField",
66
+ "name": "visibility",
67
+ "storageKey": null
68
+ },
69
+ v11 = {
51
70
  "alias": null,
52
71
  "args": null,
53
72
  "kind": "ScalarField",
54
73
  "name": "isVariableFont",
55
74
  "storageKey": null
56
75
  },
57
- v9 = {
76
+ v12 = {
58
77
  "alias": null,
59
78
  "args": null,
60
79
  "kind": "ScalarField",
61
80
  "name": "collectionType",
62
81
  "storageKey": null
63
82
  },
64
- v10 = {
83
+ v13 = {
65
84
  "alias": null,
66
85
  "args": null,
67
86
  "kind": "ScalarField",
68
87
  "name": "name",
69
88
  "storageKey": null
70
89
  },
71
- v11 = {
90
+ v14 = {
72
91
  "alias": null,
73
92
  "args": null,
74
93
  "kind": "ScalarField",
75
94
  "name": "amount",
76
95
  "storageKey": null
77
96
  },
78
- v12 = [v11 /*: any*/, {
97
+ v15 = [v14 /*: any*/, {
79
98
  "alias": null,
80
99
  "args": null,
81
100
  "kind": "ScalarField",
82
101
  "name": "currency",
83
102
  "storageKey": null
84
103
  }],
85
- v13 = {
104
+ v16 = {
86
105
  "alias": null,
87
106
  "args": null,
88
107
  "concreteType": "Sku",
@@ -96,44 +115,44 @@ const node = function () {
96
115
  "kind": "LinkedField",
97
116
  "name": "price",
98
117
  "plural": false,
99
- "selections": v12 /*: any*/,
118
+ "selections": v15 /*: any*/,
100
119
  "storageKey": null
101
120
  }],
102
121
  "storageKey": null
103
122
  },
104
- v14 = [v4 /*: any*/],
105
- v15 = {
123
+ v17 = [v4 /*: any*/],
124
+ v18 = {
106
125
  "alias": null,
107
126
  "args": null,
108
127
  "concreteType": "FontCollection",
109
128
  "kind": "LinkedField",
110
129
  "name": "parent",
111
130
  "plural": false,
112
- "selections": v14 /*: any*/,
131
+ "selections": v17 /*: any*/,
113
132
  "storageKey": null
114
133
  },
115
- v16 = {
134
+ v19 = {
116
135
  "alias": null,
117
136
  "args": null,
118
137
  "kind": "ScalarField",
119
138
  "name": "cssFamily",
120
139
  "storageKey": null
121
140
  },
122
- v17 = {
141
+ v20 = {
123
142
  "alias": null,
124
143
  "args": null,
125
144
  "kind": "ScalarField",
126
145
  "name": "url",
127
146
  "storageKey": null
128
147
  },
129
- v18 = {
148
+ v21 = {
130
149
  "alias": null,
131
150
  "args": null,
132
151
  "concreteType": "WebfontSource",
133
152
  "kind": "LinkedField",
134
153
  "name": "webfontSources",
135
154
  "plural": true,
136
- "selections": [v17 /*: any*/, {
155
+ "selections": [v20 /*: any*/, {
137
156
  "alias": null,
138
157
  "args": null,
139
158
  "kind": "ScalarField",
@@ -148,7 +167,7 @@ const node = function () {
148
167
  }],
149
168
  "storageKey": null
150
169
  },
151
- v19 = {
170
+ v22 = {
152
171
  "alias": null,
153
172
  "args": null,
154
173
  "concreteType": "VerticalMetrics",
@@ -188,67 +207,67 @@ const node = function () {
188
207
  }],
189
208
  "storageKey": null
190
209
  },
191
- v20 = {
210
+ v23 = {
192
211
  "alias": null,
193
212
  "args": null,
194
213
  "kind": "ScalarField",
195
214
  "name": "supportedLanguages",
196
215
  "storageKey": null
197
216
  },
198
- v21 = {
217
+ v24 = {
199
218
  "alias": null,
200
219
  "args": null,
201
220
  "concreteType": "FontStyle",
202
221
  "kind": "LinkedField",
203
222
  "name": "featureStyle",
204
223
  "plural": false,
205
- "selections": [v16 /*: any*/, v10 /*: any*/, v18 /*: any*/, v19 /*: any*/, v20 /*: any*/, v4 /*: any*/],
224
+ "selections": [v19 /*: any*/, v13 /*: any*/, v21 /*: any*/, v22 /*: any*/, v23 /*: any*/, v4 /*: any*/],
206
225
  "storageKey": null
207
226
  },
208
- v22 = {
227
+ v25 = {
209
228
  "alias": null,
210
229
  "args": null,
211
230
  "kind": "ScalarField",
212
231
  "name": "totalStyles",
213
232
  "storageKey": null
214
233
  },
215
- v23 = {
234
+ v26 = {
216
235
  "alias": null,
217
236
  "args": null,
218
237
  "concreteType": "Money",
219
238
  "kind": "LinkedField",
220
239
  "name": "totalStylesPrice",
221
240
  "plural": false,
222
- "selections": v12 /*: any*/,
241
+ "selections": v15 /*: any*/,
223
242
  "storageKey": null
224
243
  },
225
- v24 = [{
244
+ v27 = [{
226
245
  "kind": "Literal",
227
246
  "name": "collectionTypes",
228
247
  "value": ["FAMILY"]
229
248
  }],
230
- v25 = {
249
+ v28 = {
231
250
  "alias": null,
232
251
  "args": null,
233
252
  "kind": "ScalarField",
234
253
  "name": "cssWeight",
235
254
  "storageKey": null
236
255
  },
237
- v26 = {
256
+ v29 = {
238
257
  "alias": null,
239
258
  "args": null,
240
259
  "kind": "ScalarField",
241
260
  "name": "cssStretch",
242
261
  "storageKey": null
243
262
  },
244
- v27 = {
263
+ v30 = {
245
264
  "alias": null,
246
265
  "args": null,
247
266
  "concreteType": "VariableInstance",
248
267
  "kind": "LinkedField",
249
268
  "name": "variableInstances",
250
269
  "plural": true,
251
- "selections": [v10 /*: any*/, {
270
+ "selections": [v13 /*: any*/, {
252
271
  "alias": null,
253
272
  "args": null,
254
273
  "concreteType": "VariableSetting",
@@ -272,69 +291,208 @@ const node = function () {
272
291
  }],
273
292
  "storageKey": null
274
293
  },
275
- v28 = {
294
+ v31 = {
276
295
  "alias": null,
277
296
  "args": null,
278
297
  "concreteType": "Bundle",
279
298
  "kind": "LinkedField",
280
299
  "name": "bundles",
281
300
  "plural": true,
282
- "selections": [v4 /*: any*/, {
283
- "alias": null,
284
- "args": null,
285
- "kind": "ScalarField",
286
- "name": "hidden",
287
- "storageKey": null
288
- }, {
301
+ "selections": [v4 /*: any*/, v10 /*: any*/, {
289
302
  "alias": null,
290
303
  "args": null,
291
304
  "concreteType": "FontStyle",
292
305
  "kind": "LinkedField",
293
306
  "name": "fontStyles",
294
307
  "plural": true,
295
- "selections": [v4 /*: any*/, v16 /*: any*/, v25 /*: any*/, v26 /*: any*/, v10 /*: any*/, v20 /*: any*/, v27 /*: any*/, v13 /*: any*/, v18 /*: any*/, v19 /*: any*/],
308
+ "selections": [v4 /*: any*/, v19 /*: any*/, v28 /*: any*/, v29 /*: any*/, v13 /*: any*/, v23 /*: any*/, v30 /*: any*/, v16 /*: any*/, v21 /*: any*/, v22 /*: any*/],
296
309
  "storageKey": null
297
- }, v10 /*: any*/, v13 /*: any*/],
310
+ }, v13 /*: any*/, v16 /*: any*/],
298
311
  "storageKey": null
299
312
  },
300
- v29 = {
313
+ v32 = {
314
+ "alias": null,
315
+ "args": null,
316
+ "kind": "ScalarField",
317
+ "name": "cssStyle",
318
+ "storageKey": null
319
+ },
320
+ v33 = {
301
321
  "alias": null,
302
322
  "args": null,
303
323
  "concreteType": "FontStyle",
304
324
  "kind": "LinkedField",
305
325
  "name": "fontStyles",
306
326
  "plural": true,
307
- "selections": [v4 /*: any*/, v16 /*: any*/, v25 /*: any*/, v26 /*: any*/, {
308
- "alias": null,
309
- "args": null,
310
- "kind": "ScalarField",
311
- "name": "cssStyle",
312
- "storageKey": null
313
- }, v10 /*: any*/, v20 /*: any*/, v27 /*: any*/, v13 /*: any*/, v18 /*: any*/, v19 /*: any*/],
327
+ "selections": [v4 /*: any*/, v19 /*: any*/, v28 /*: any*/, v29 /*: any*/, v32 /*: any*/, v13 /*: any*/, v23 /*: any*/, v30 /*: any*/, v16 /*: any*/, v21 /*: any*/, v22 /*: any*/],
314
328
  "storageKey": null
315
329
  },
316
- v30 = {
330
+ v34 = {
331
+ "alias": null,
332
+ "args": v27 /*: any*/,
333
+ "concreteType": "FontCollection",
334
+ "kind": "LinkedField",
335
+ "name": "children",
336
+ "plural": true,
337
+ "selections": [v11 /*: any*/, v25 /*: any*/, v4 /*: any*/, v10 /*: any*/, v12 /*: any*/, v13 /*: any*/, v16 /*: any*/, v18 /*: any*/, v24 /*: any*/, v26 /*: any*/, {
338
+ "alias": null,
339
+ "args": v27 /*: any*/,
340
+ "concreteType": "FontCollection",
341
+ "kind": "LinkedField",
342
+ "name": "children",
343
+ "plural": true,
344
+ "selections": [v11 /*: any*/, v25 /*: any*/, v4 /*: any*/],
345
+ "storageKey": "children(collectionTypes:[\"FAMILY\"])"
346
+ }, v31 /*: any*/, v33 /*: any*/],
347
+ "storageKey": "children(collectionTypes:[\"FAMILY\"])"
348
+ },
349
+ v35 = {
317
350
  "kind": "Literal",
318
351
  "name": "format",
319
352
  "value": "HTML"
320
353
  },
321
- v31 = [v30 /*: any*/],
322
- v32 = {
354
+ v36 = [v35 /*: any*/],
355
+ v37 = {
323
356
  "alias": null,
324
357
  "args": null,
325
358
  "kind": "ScalarField",
326
359
  "name": "variableType",
327
360
  "storageKey": null
328
361
  },
329
- v33 = [v11 /*: any*/],
330
- v34 = [v22 /*: any*/, {
362
+ v38 = {
363
+ "kind": "InlineFragment",
364
+ "selections": [{
365
+ "alias": null,
366
+ "args": null,
367
+ "concreteType": "License",
368
+ "kind": "LinkedField",
369
+ "name": "licenses",
370
+ "plural": true,
371
+ "selections": [v4 /*: any*/, v20 /*: any*/, v13 /*: any*/, {
372
+ "alias": null,
373
+ "args": v36 /*: any*/,
374
+ "kind": "ScalarField",
375
+ "name": "description",
376
+ "storageKey": "description(format:\"HTML\")"
377
+ }, {
378
+ "alias": null,
379
+ "args": null,
380
+ "kind": "ScalarField",
381
+ "name": "defaultSelected",
382
+ "storageKey": null
383
+ }, {
384
+ "alias": null,
385
+ "args": null,
386
+ "concreteType": "License",
387
+ "kind": "LinkedField",
388
+ "name": "excludedLicenses",
389
+ "plural": true,
390
+ "selections": v17 /*: any*/,
391
+ "storageKey": null
392
+ }, {
393
+ "alias": "variables",
394
+ "args": null,
395
+ "concreteType": "LicenseVariable",
396
+ "kind": "LinkedField",
397
+ "name": "licenseVariables",
398
+ "plural": true,
399
+ "selections": [v4 /*: any*/, v13 /*: any*/, v37 /*: any*/, {
400
+ "alias": null,
401
+ "args": null,
402
+ "kind": "ScalarField",
403
+ "name": "units",
404
+ "storageKey": null
405
+ }, {
406
+ "alias": "options",
407
+ "args": null,
408
+ "concreteType": "LicenseOption",
409
+ "kind": "LinkedField",
410
+ "name": "licenseOptions",
411
+ "plural": true,
412
+ "selections": [v4 /*: any*/, v13 /*: any*/, v14 /*: any*/, {
413
+ "alias": null,
414
+ "args": null,
415
+ "kind": "ScalarField",
416
+ "name": "amounts",
417
+ "storageKey": null
418
+ }],
419
+ "storageKey": null
420
+ }],
421
+ "storageKey": null
422
+ }],
423
+ "storageKey": null
424
+ }],
425
+ "type": "Licenseable",
426
+ "abstractKey": "__isLicenseable"
427
+ },
428
+ v39 = {
429
+ "kind": "InlineFragment",
430
+ "selections": v17 /*: any*/,
431
+ "type": "Node",
432
+ "abstractKey": "__isNode"
433
+ },
434
+ v40 = [v4 /*: any*/, {
435
+ "kind": "InlineFragment",
436
+ "selections": [v9 /*: any*/, {
437
+ "kind": "InlineFragment",
438
+ "selections": [v10 /*: any*/, v11 /*: any*/, v12 /*: any*/, v13 /*: any*/, v16 /*: any*/, v18 /*: any*/, v24 /*: any*/, v25 /*: any*/, v26 /*: any*/, v34 /*: any*/, v31 /*: any*/, v33 /*: any*/, v38 /*: any*/],
439
+ "type": "FontCollection",
440
+ "abstractKey": null
441
+ }, {
442
+ "kind": "InlineFragment",
443
+ "selections": [v13 /*: any*/, v16 /*: any*/, v24 /*: any*/, v25 /*: any*/, {
444
+ "alias": null,
445
+ "args": v7 /*: any*/,
446
+ "concreteType": "Money",
447
+ "kind": "LinkedField",
448
+ "name": "totalStylesPrice",
449
+ "plural": false,
450
+ "selections": v15 /*: any*/,
451
+ "storageKey": null
452
+ }, {
453
+ "alias": null,
454
+ "args": null,
455
+ "concreteType": null,
456
+ "kind": "LinkedField",
457
+ "name": "members",
458
+ "plural": true,
459
+ "selections": [v9 /*: any*/, {
460
+ "kind": "InlineFragment",
461
+ "selections": [v4 /*: any*/, v19 /*: any*/, v28 /*: any*/, v29 /*: any*/, v32 /*: any*/, {
462
+ "alias": null,
463
+ "args": null,
464
+ "concreteType": "FontCollection",
465
+ "kind": "LinkedField",
466
+ "name": "family",
467
+ "plural": false,
468
+ "selections": [v4 /*: any*/, v13 /*: any*/, v11 /*: any*/, v10 /*: any*/],
469
+ "storageKey": null
470
+ }, v13 /*: any*/, v23 /*: any*/, v30 /*: any*/, v16 /*: any*/, v21 /*: any*/, v22 /*: any*/],
471
+ "type": "FontStyle",
472
+ "abstractKey": null
473
+ }, {
474
+ "kind": "InlineFragment",
475
+ "selections": [v4 /*: any*/, v10 /*: any*/, v11 /*: any*/, v12 /*: any*/, v13 /*: any*/, v16 /*: any*/, v18 /*: any*/, v24 /*: any*/, v25 /*: any*/, v26 /*: any*/, v34 /*: any*/, v31 /*: any*/, v33 /*: any*/],
476
+ "type": "FontCollection",
477
+ "abstractKey": null
478
+ }, v39 /*: any*/],
479
+ "storageKey": null
480
+ }, v38 /*: any*/],
481
+ "type": "FontPack",
482
+ "abstractKey": null
483
+ }],
484
+ "type": "Node",
485
+ "abstractKey": "__isNode"
486
+ }],
487
+ v41 = [v14 /*: any*/],
488
+ v42 = [v25 /*: any*/, {
331
489
  "alias": null,
332
490
  "args": v7 /*: any*/,
333
491
  "concreteType": "Money",
334
492
  "kind": "LinkedField",
335
493
  "name": "totalStylesPrice",
336
494
  "plural": false,
337
- "selections": v33 /*: any*/,
495
+ "selections": v41 /*: any*/,
338
496
  "storageKey": null
339
497
  }];
340
498
  return {
@@ -364,11 +522,16 @@ const node = function () {
364
522
  "kind": "LinkedField",
365
523
  "name": "fontCollection",
366
524
  "plural": false,
367
- "selections": [v4 /*: any*/, {
368
- "args": v7 /*: any*/,
369
- "kind": "FragmentSpread",
370
- "name": "StoreModalProductContent_collection"
371
- }],
525
+ "selections": v8 /*: any*/,
526
+ "storageKey": null
527
+ }, {
528
+ "alias": "pack",
529
+ "args": null,
530
+ "concreteType": "FontPack",
531
+ "kind": "LinkedField",
532
+ "name": "fontPack",
533
+ "plural": false,
534
+ "selections": v8 /*: any*/,
372
535
  "storageKey": null
373
536
  }],
374
537
  "storageKey": null
@@ -408,95 +571,16 @@ const node = function () {
408
571
  "kind": "LinkedField",
409
572
  "name": "fontCollection",
410
573
  "plural": false,
411
- "selections": [v4 /*: any*/, {
412
- "kind": "InlineFragment",
413
- "selections": [{
414
- "kind": "InlineFragment",
415
- "selections": [v8 /*: any*/, v9 /*: any*/, v10 /*: any*/, v13 /*: any*/, v15 /*: any*/, v21 /*: any*/, v22 /*: any*/, v23 /*: any*/, {
416
- "alias": null,
417
- "args": v24 /*: any*/,
418
- "concreteType": "FontCollection",
419
- "kind": "LinkedField",
420
- "name": "children",
421
- "plural": true,
422
- "selections": [v8 /*: any*/, v22 /*: any*/, v4 /*: any*/, v9 /*: any*/, v10 /*: any*/, v13 /*: any*/, v15 /*: any*/, v21 /*: any*/, v23 /*: any*/, {
423
- "alias": null,
424
- "args": v24 /*: any*/,
425
- "concreteType": "FontCollection",
426
- "kind": "LinkedField",
427
- "name": "children",
428
- "plural": true,
429
- "selections": [v8 /*: any*/, v22 /*: any*/, v4 /*: any*/],
430
- "storageKey": "children(collectionTypes:[\"FAMILY\"])"
431
- }, v28 /*: any*/, v29 /*: any*/],
432
- "storageKey": "children(collectionTypes:[\"FAMILY\"])"
433
- }, v28 /*: any*/, v29 /*: any*/, {
434
- "alias": null,
435
- "args": null,
436
- "concreteType": "License",
437
- "kind": "LinkedField",
438
- "name": "licenses",
439
- "plural": true,
440
- "selections": [v4 /*: any*/, v17 /*: any*/, v10 /*: any*/, {
441
- "alias": null,
442
- "args": v31 /*: any*/,
443
- "kind": "ScalarField",
444
- "name": "description",
445
- "storageKey": "description(format:\"HTML\")"
446
- }, {
447
- "alias": null,
448
- "args": null,
449
- "kind": "ScalarField",
450
- "name": "defaultSelected",
451
- "storageKey": null
452
- }, {
453
- "alias": null,
454
- "args": null,
455
- "concreteType": "License",
456
- "kind": "LinkedField",
457
- "name": "excludedLicenses",
458
- "plural": true,
459
- "selections": v14 /*: any*/,
460
- "storageKey": null
461
- }, {
462
- "alias": "variables",
463
- "args": null,
464
- "concreteType": "LicenseVariable",
465
- "kind": "LinkedField",
466
- "name": "licenseVariables",
467
- "plural": true,
468
- "selections": [v4 /*: any*/, v10 /*: any*/, v32 /*: any*/, {
469
- "alias": null,
470
- "args": null,
471
- "kind": "ScalarField",
472
- "name": "units",
473
- "storageKey": null
474
- }, {
475
- "alias": "options",
476
- "args": null,
477
- "concreteType": "LicenseOption",
478
- "kind": "LinkedField",
479
- "name": "licenseOptions",
480
- "plural": true,
481
- "selections": [v4 /*: any*/, v10 /*: any*/, v11 /*: any*/, {
482
- "alias": null,
483
- "args": null,
484
- "kind": "ScalarField",
485
- "name": "amounts",
486
- "storageKey": null
487
- }],
488
- "storageKey": null
489
- }],
490
- "storageKey": null
491
- }],
492
- "storageKey": null
493
- }],
494
- "type": "FontCollection",
495
- "abstractKey": null
496
- }],
497
- "type": "Node",
498
- "abstractKey": "__isNode"
499
- }],
574
+ "selections": v40 /*: any*/,
575
+ "storageKey": null
576
+ }, {
577
+ "alias": "pack",
578
+ "args": null,
579
+ "concreteType": "FontPack",
580
+ "kind": "LinkedField",
581
+ "name": "fontPack",
582
+ "plural": false,
583
+ "selections": v40 /*: any*/,
500
584
  "storageKey": null
501
585
  }, v4 /*: any*/],
502
586
  "storageKey": null
@@ -519,9 +603,9 @@ const node = function () {
519
603
  "kind": "LinkedField",
520
604
  "name": "orderVariables",
521
605
  "plural": true,
522
- "selections": [v4 /*: any*/, v10 /*: any*/, v32 /*: any*/, {
606
+ "selections": [v4 /*: any*/, v13 /*: any*/, v37 /*: any*/, {
523
607
  "alias": null,
524
- "args": [v30 /*: any*/, v6 /*: any*/],
608
+ "args": [v35 /*: any*/, v6 /*: any*/],
525
609
  "kind": "ScalarField",
526
610
  "name": "description",
527
611
  "storageKey": null
@@ -532,7 +616,7 @@ const node = function () {
532
616
  "kind": "LinkedField",
533
617
  "name": "orderVariableOptions",
534
618
  "plural": true,
535
- "selections": [v4 /*: any*/, v11 /*: any*/],
619
+ "selections": [v4 /*: any*/, v14 /*: any*/],
536
620
  "storageKey": null
537
621
  }],
538
622
  "storageKey": null
@@ -549,7 +633,7 @@ const node = function () {
549
633
  "kind": "ScalarField",
550
634
  "name": "code",
551
635
  "storageKey": null
552
- }, v10 /*: any*/],
636
+ }, v13 /*: any*/],
553
637
  "storageKey": null
554
638
  }, {
555
639
  "alias": null,
@@ -587,49 +671,49 @@ const node = function () {
587
671
  "storageKey": null
588
672
  }, {
589
673
  "alias": null,
590
- "args": v31 /*: any*/,
674
+ "args": v36 /*: any*/,
591
675
  "kind": "ScalarField",
592
676
  "name": "storeModalSelectLicenseeLabel",
593
677
  "storageKey": "storeModalSelectLicenseeLabel(format:\"HTML\")"
594
678
  }, {
595
679
  "alias": null,
596
- "args": v31 /*: any*/,
680
+ "args": v36 /*: any*/,
597
681
  "kind": "ScalarField",
598
682
  "name": "storeModalLicenseeSelfLabel",
599
683
  "storageKey": "storeModalLicenseeSelfLabel(format:\"HTML\")"
600
684
  }, {
601
685
  "alias": null,
602
- "args": v31 /*: any*/,
686
+ "args": v36 /*: any*/,
603
687
  "kind": "ScalarField",
604
688
  "name": "storeModalLicenseeSelfDescription",
605
689
  "storageKey": "storeModalLicenseeSelfDescription(format:\"HTML\")"
606
690
  }, {
607
691
  "alias": null,
608
- "args": v31 /*: any*/,
692
+ "args": v36 /*: any*/,
609
693
  "kind": "ScalarField",
610
694
  "name": "storeModalLicenseeClientLabel",
611
695
  "storageKey": "storeModalLicenseeClientLabel(format:\"HTML\")"
612
696
  }, {
613
697
  "alias": null,
614
- "args": v31 /*: any*/,
698
+ "args": v36 /*: any*/,
615
699
  "kind": "ScalarField",
616
700
  "name": "storeModalLicenseeClientDescription",
617
701
  "storageKey": "storeModalLicenseeClientDescription(format:\"HTML\")"
618
702
  }, {
619
703
  "alias": null,
620
- "args": v31 /*: any*/,
704
+ "args": v36 /*: any*/,
621
705
  "kind": "ScalarField",
622
706
  "name": "storeModalSelectOrderVariablesLabel",
623
707
  "storageKey": "storeModalSelectOrderVariablesLabel(format:\"HTML\")"
624
708
  }, {
625
709
  "alias": null,
626
- "args": v31 /*: any*/,
710
+ "args": v36 /*: any*/,
627
711
  "kind": "ScalarField",
628
712
  "name": "storeModalSelectLicensesLabel",
629
713
  "storageKey": "storeModalSelectLicensesLabel(format:\"HTML\")"
630
714
  }, {
631
715
  "alias": null,
632
- "args": v31 /*: any*/,
716
+ "args": v36 /*: any*/,
633
717
  "kind": "ScalarField",
634
718
  "name": "storeModalSelectFontsLabel",
635
719
  "storageKey": "storeModalSelectFontsLabel(format:\"HTML\")"
@@ -681,7 +765,7 @@ const node = function () {
681
765
  "kind": "LinkedField",
682
766
  "name": "price",
683
767
  "plural": false,
684
- "selections": v33 /*: any*/,
768
+ "selections": v41 /*: any*/,
685
769
  "storageKey": null
686
770
  }, {
687
771
  "alias": null,
@@ -690,33 +774,27 @@ const node = function () {
690
774
  "kind": "LinkedField",
691
775
  "name": "product",
692
776
  "plural": false,
693
- "selections": [{
694
- "alias": null,
695
- "args": null,
696
- "kind": "ScalarField",
697
- "name": "__typename",
698
- "storageKey": null
699
- }, {
777
+ "selections": [v9 /*: any*/, {
700
778
  "kind": "InlineFragment",
701
- "selections": v34 /*: any*/,
779
+ "selections": v42 /*: any*/,
702
780
  "type": "FontCollection",
703
781
  "abstractKey": null
704
782
  }, {
705
783
  "kind": "InlineFragment",
706
- "selections": v34 /*: any*/,
784
+ "selections": v42 /*: any*/,
707
785
  "type": "Bundle",
708
786
  "abstractKey": null
709
787
  }, {
710
788
  "kind": "InlineFragment",
711
- "selections": v34 /*: any*/,
789
+ "selections": v42 /*: any*/,
712
790
  "type": "CollectionBundle",
713
791
  "abstractKey": null
714
792
  }, {
715
793
  "kind": "InlineFragment",
716
- "selections": v14 /*: any*/,
717
- "type": "Node",
718
- "abstractKey": "__isNode"
719
- }],
794
+ "selections": v42 /*: any*/,
795
+ "type": "FontPack",
796
+ "abstractKey": null
797
+ }, v39 /*: any*/],
720
798
  "storageKey": null
721
799
  }, v4 /*: any*/],
722
800
  "storageKey": null
@@ -727,7 +805,7 @@ const node = function () {
727
805
  "kind": "LinkedField",
728
806
  "name": "subtotal",
729
807
  "plural": false,
730
- "selections": v12 /*: any*/,
808
+ "selections": v15 /*: any*/,
731
809
  "storageKey": null
732
810
  }],
733
811
  "storageKey": null
@@ -736,14 +814,14 @@ const node = function () {
736
814
  }]
737
815
  },
738
816
  "params": {
739
- "cacheID": "36520baa8f84321cc4334fe6072ff143",
817
+ "cacheID": "15c4e68db3f3b5c73c62182dd26404ac",
740
818
  "id": null,
741
819
  "metadata": {},
742
820
  "name": "StoreModalProductSlugQuery",
743
821
  "operationKind": "query",
744
- "text": "query StoreModalProductSlugQuery(\n $productSlug: String!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n viewer {\n slug(name: $productSlug) {\n collection: fontCollection {\n id\n ...StoreModalProductContent_collection_4sncub\n }\n id\n }\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n hidden\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n ... on FontCollection {\n id\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_collection\n children(collectionTypes: [FAMILY]) {\n id\n ...StoreModalFamily_collection_4sncub\n }\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_collection on FontCollection {\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalProductViewer_4sncub on Viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
822
+ "text": "query StoreModalProductSlugQuery(\n $productSlug: String!\n $licenseOptions: [LicenseOptionsSpec]!\n $orderVariables: [OrderVariableSelectionInput!]\n) {\n viewer {\n slug(name: $productSlug) {\n collection: fontCollection {\n id\n ...StoreModalProductContent_collection_4sncub\n }\n pack: fontPack {\n id\n ...StoreModalProductContent_collection_4sncub\n }\n id\n }\n ...StoreModalProductViewer_4sncub\n id\n }\n}\n\nfragment FontStyle_fontStyle on FontStyle {\n ...useFontStyle_fontStyle\n}\n\nfragment OrderVariableSelectionRedux_viewer_2ZguDv on Viewer {\n ...OrderVariableSelection_variables_2ZguDv\n detectedCountry\n orderVariables {\n id\n variableType\n }\n}\n\nfragment OrderVariableSelection_variables_2ZguDv on Viewer {\n orderVariables {\n id\n name\n variableType\n description(format: HTML, orderVariables: $orderVariables)\n orderVariableOptions {\n id\n amount\n }\n }\n countries {\n code\n name\n }\n}\n\nfragment Price_price on Money {\n amount\n currency\n}\n\nfragment SKUPrice_sku_4sncub on Sku {\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalBundleButton_bundle_4sncub on Bundle {\n id\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n fontStyles {\n id\n ...FontStyle_fontStyle\n }\n}\n\nfragment StoreModalFamilyButton_collection_4sncub on FontCollection {\n isVariableFont\n collectionType\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n parent {\n id\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice {\n ...Price_price\n }\n ...useTotalStyles_fontCollection\n}\n\nfragment StoreModalFamily_collection_4sncub on FontCollection {\n ...StoreModalFamilyButton_collection_4sncub\n collectionType\n sku {\n id\n }\n isVariableFont\n bundles {\n id\n visibility\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ...StoreModalBundleButton_bundle_4sncub\n }\n fontStyles {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n}\n\nfragment StoreModalPackButton_fontPack_4sncub on FontPack {\n name\n sku {\n ...SKUPrice_sku_4sncub\n id\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n featureStyle {\n ...FontStyle_fontStyle\n supportedLanguages\n id\n }\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n ...Price_price\n }\n}\n\nfragment StoreModalPack_fontPack_4sncub on FontPack {\n ...StoreModalPackButton_fontPack_4sncub\n members {\n __typename\n ... on FontStyle {\n id\n cssFamily\n cssWeight\n cssStretch\n cssStyle\n family {\n id\n name\n isVariableFont\n visibility\n }\n ...StoreModalStyleButton_fontStyle_4sncub\n }\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n}\n\nfragment StoreModalProductContent_collection_4sncub on Node {\n __isNode: __typename\n __typename\n ... on FontCollection {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n children(collectionTypes: [FAMILY]) {\n id\n visibility\n ...StoreModalFamily_collection_4sncub\n }\n }\n ... on FontPack {\n id\n ...StoreModalPack_fontPack_4sncub\n ...StoreModalProductLicenseSelection_licenseable\n }\n id\n}\n\nfragment StoreModalProductLicenseSelection_licenseable on Licenseable {\n __isLicenseable: __typename\n id\n licenses {\n id\n ...StoreModalProductLicense_license\n }\n}\n\nfragment StoreModalProductLicense_license on License {\n id\n url\n name\n description(format: HTML)\n defaultSelected\n excludedLicenses {\n id\n }\n variables: licenseVariables {\n id\n name\n variableType\n ...VariableTableAmounts_variable\n options: licenseOptions {\n id\n name\n amount\n ...VariableTableAmounts_option\n }\n }\n}\n\nfragment StoreModalProductSummary_viewer_4sncub on Viewer {\n settings {\n taxSystem\n stripeTaxSettings {\n taxBehavior\n }\n }\n taxCollections {\n taxName\n inclusive\n }\n orderVariables {\n id\n variableType\n name\n }\n precart(skuIds: [], licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n skus {\n price(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n product {\n __typename\n ... on FontCollection {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Bundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on CollectionBundle {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on FontPack {\n totalStyles\n totalStylesPrice(licenseOptions: $licenseOptions, orderVariables: $orderVariables) {\n amount\n }\n }\n ... on Node {\n __isNode: __typename\n id\n }\n }\n id\n }\n subtotal {\n ...Price_price\n amount\n currency\n }\n }\n}\n\nfragment StoreModalProductViewer_4sncub on Viewer {\n endpoint\n stripeAccountId\n ...OrderVariableSelectionRedux_viewer_2ZguDv\n ...StoreModalProductSummary_viewer_4sncub\n orderVariables {\n id\n variableType\n name\n }\n settings {\n storeModalSelectLicenseeLabel(format: HTML)\n storeModalLicenseeSelfLabel(format: HTML)\n storeModalLicenseeSelfDescription(format: HTML)\n storeModalLicenseeClientLabel(format: HTML)\n storeModalLicenseeClientDescription(format: HTML)\n storeModalSelectOrderVariablesLabel(format: HTML)\n storeModalSelectLicensesLabel(format: HTML)\n storeModalSelectFontsLabel(format: HTML)\n }\n}\n\nfragment StoreModalStyleButton_fontStyle_4sncub on FontStyle {\n id\n name\n supportedLanguages\n variableInstances {\n name\n coordinates {\n axis\n value\n }\n }\n sku {\n ...SKUPrice_sku_4sncub\n id\n }\n ...FontStyle_fontStyle\n}\n\nfragment VariableTableAmounts_option on LicenseOption {\n amounts\n}\n\nfragment VariableTableAmounts_variable on LicenseVariable {\n units\n}\n\nfragment useFontStyle_fontStyle on FontStyle {\n cssFamily\n name\n webfontSources {\n url\n format\n tech\n }\n verticalMetrics {\n unitsPerEm\n ascender\n descender\n lineGap\n avgCharWidth\n }\n}\n\nfragment useTotalStyles_fontCollection on FontCollection {\n isVariableFont\n totalStyles\n children(collectionTypes: [FAMILY]) {\n isVariableFont\n totalStyles\n id\n }\n}\n"
745
823
  }
746
824
  };
747
825
  }();
748
- node.hash = "f0bb35ed9f88ad214b40fd1f3b92fed0";
826
+ node.hash = "bd2c1bf7b7b154501ea47213af58725e";
749
827
  export default node;