@shopify/hydrogen-react 2025.7.1 → 2025.10.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 (287) hide show
  1. package/customer-account.schema.json +1 -1
  2. package/dist/browser-dev/AddToCartButton.mjs +3 -1
  3. package/dist/browser-dev/AddToCartButton.mjs.map +1 -1
  4. package/dist/browser-dev/CartLineProvider.mjs.map +1 -1
  5. package/dist/browser-dev/CartProvider.mjs.map +1 -1
  6. package/dist/browser-dev/Image.mjs.map +1 -1
  7. package/dist/browser-dev/ModelViewer.mjs.map +1 -1
  8. package/dist/browser-dev/Money.mjs.map +1 -1
  9. package/dist/browser-dev/Video.mjs.map +1 -1
  10. package/dist/browser-dev/_virtual/use-sync-external-store-shim.production.mjs +5 -0
  11. package/dist/browser-dev/_virtual/use-sync-external-store-shim.production.mjs.map +1 -0
  12. package/dist/browser-dev/_virtual/with-selector.production.mjs +5 -0
  13. package/dist/browser-dev/_virtual/with-selector.production.mjs.map +1 -0
  14. package/dist/browser-dev/cart-queries.mjs +63 -9
  15. package/dist/browser-dev/cart-queries.mjs.map +1 -1
  16. package/dist/browser-dev/codegen.helpers.mjs.map +1 -1
  17. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +52 -74
  18. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +1 -1
  19. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +78 -0
  20. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs.map +1 -0
  21. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +54 -111
  22. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +1 -1
  23. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +63 -0
  24. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs.map +1 -0
  25. package/dist/browser-dev/node_modules/use-sync-external-store/shim/index.mjs +2 -2
  26. package/dist/browser-dev/node_modules/use-sync-external-store/shim/index.mjs.map +1 -1
  27. package/dist/browser-dev/node_modules/use-sync-external-store/shim/with-selector.mjs +2 -2
  28. package/dist/browser-dev/node_modules/use-sync-external-store/shim/with-selector.mjs.map +1 -1
  29. package/dist/browser-dev/optionValueDecoder.mjs.map +1 -1
  30. package/dist/browser-dev/packages/hydrogen-react/package.json.mjs +1 -1
  31. package/dist/browser-dev/parse-metafield.mjs +2 -0
  32. package/dist/browser-dev/parse-metafield.mjs.map +1 -1
  33. package/dist/browser-dev/storefront-api-constants.mjs +1 -1
  34. package/dist/browser-dev/storefront-api-constants.mjs.map +1 -1
  35. package/dist/browser-dev/useCartAPIStateMachine.mjs.map +1 -1
  36. package/dist/browser-dev/useCartActions.mjs.map +1 -1
  37. package/dist/browser-dev/useMoney.mjs.map +1 -1
  38. package/dist/browser-prod/AddToCartButton.mjs +3 -1
  39. package/dist/browser-prod/AddToCartButton.mjs.map +1 -1
  40. package/dist/browser-prod/CartLineProvider.mjs.map +1 -1
  41. package/dist/browser-prod/CartProvider.mjs.map +1 -1
  42. package/dist/browser-prod/Image.mjs.map +1 -1
  43. package/dist/browser-prod/ModelViewer.mjs.map +1 -1
  44. package/dist/browser-prod/Money.mjs.map +1 -1
  45. package/dist/browser-prod/Video.mjs.map +1 -1
  46. package/dist/browser-prod/_virtual/use-sync-external-store-shim.production.mjs +5 -0
  47. package/dist/browser-prod/_virtual/use-sync-external-store-shim.production.mjs.map +1 -0
  48. package/dist/browser-prod/_virtual/with-selector.production.mjs +5 -0
  49. package/dist/browser-prod/_virtual/with-selector.production.mjs.map +1 -0
  50. package/dist/browser-prod/cart-queries.mjs +63 -9
  51. package/dist/browser-prod/cart-queries.mjs.map +1 -1
  52. package/dist/browser-prod/codegen.helpers.mjs.map +1 -1
  53. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +52 -74
  54. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +1 -1
  55. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +78 -0
  56. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs.map +1 -0
  57. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +54 -111
  58. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +1 -1
  59. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +63 -0
  60. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs.map +1 -0
  61. package/dist/browser-prod/node_modules/use-sync-external-store/shim/index.mjs +2 -2
  62. package/dist/browser-prod/node_modules/use-sync-external-store/shim/index.mjs.map +1 -1
  63. package/dist/browser-prod/node_modules/use-sync-external-store/shim/with-selector.mjs +2 -2
  64. package/dist/browser-prod/node_modules/use-sync-external-store/shim/with-selector.mjs.map +1 -1
  65. package/dist/browser-prod/optionValueDecoder.mjs.map +1 -1
  66. package/dist/browser-prod/packages/hydrogen-react/package.json.mjs +1 -1
  67. package/dist/browser-prod/parse-metafield.mjs +2 -0
  68. package/dist/browser-prod/parse-metafield.mjs.map +1 -1
  69. package/dist/browser-prod/storefront-api-constants.mjs +1 -1
  70. package/dist/browser-prod/storefront-api-constants.mjs.map +1 -1
  71. package/dist/browser-prod/useCartAPIStateMachine.mjs.map +1 -1
  72. package/dist/browser-prod/useCartActions.mjs.map +1 -1
  73. package/dist/browser-prod/useMoney.mjs.map +1 -1
  74. package/dist/node-dev/AddToCartButton.js +3 -1
  75. package/dist/node-dev/AddToCartButton.js.map +1 -1
  76. package/dist/node-dev/AddToCartButton.mjs +3 -1
  77. package/dist/node-dev/AddToCartButton.mjs.map +1 -1
  78. package/dist/node-dev/CartLineProvider.js.map +1 -1
  79. package/dist/node-dev/CartLineProvider.mjs.map +1 -1
  80. package/dist/node-dev/CartProvider.js.map +1 -1
  81. package/dist/node-dev/CartProvider.mjs.map +1 -1
  82. package/dist/node-dev/Image.js.map +1 -1
  83. package/dist/node-dev/Image.mjs.map +1 -1
  84. package/dist/node-dev/ModelViewer.js.map +1 -1
  85. package/dist/node-dev/ModelViewer.mjs.map +1 -1
  86. package/dist/node-dev/Money.js.map +1 -1
  87. package/dist/node-dev/Money.mjs.map +1 -1
  88. package/dist/node-dev/Video.js.map +1 -1
  89. package/dist/node-dev/Video.mjs.map +1 -1
  90. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.js +5 -0
  91. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.js.map +1 -0
  92. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.mjs +5 -0
  93. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.mjs.map +1 -0
  94. package/dist/node-dev/_virtual/with-selector.production.js +5 -0
  95. package/dist/node-dev/_virtual/with-selector.production.js.map +1 -0
  96. package/dist/node-dev/_virtual/with-selector.production.mjs +5 -0
  97. package/dist/node-dev/_virtual/with-selector.production.mjs.map +1 -0
  98. package/dist/node-dev/cart-queries.js +63 -9
  99. package/dist/node-dev/cart-queries.js.map +1 -1
  100. package/dist/node-dev/cart-queries.mjs +63 -9
  101. package/dist/node-dev/cart-queries.mjs.map +1 -1
  102. package/dist/node-dev/codegen.helpers.js.map +1 -1
  103. package/dist/node-dev/codegen.helpers.mjs.map +1 -1
  104. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +52 -74
  105. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -1
  106. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +52 -74
  107. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +1 -1
  108. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +78 -0
  109. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
  110. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +78 -0
  111. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs.map +1 -0
  112. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +54 -111
  113. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -1
  114. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +54 -111
  115. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +1 -1
  116. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +63 -0
  117. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
  118. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +63 -0
  119. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs.map +1 -0
  120. package/dist/node-dev/node_modules/use-sync-external-store/shim/index.js +2 -2
  121. package/dist/node-dev/node_modules/use-sync-external-store/shim/index.js.map +1 -1
  122. package/dist/node-dev/node_modules/use-sync-external-store/shim/index.mjs +2 -2
  123. package/dist/node-dev/node_modules/use-sync-external-store/shim/index.mjs.map +1 -1
  124. package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.js +2 -2
  125. package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -1
  126. package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.mjs +2 -2
  127. package/dist/node-dev/node_modules/use-sync-external-store/shim/with-selector.mjs.map +1 -1
  128. package/dist/node-dev/optionValueDecoder.js.map +1 -1
  129. package/dist/node-dev/optionValueDecoder.mjs.map +1 -1
  130. package/dist/node-dev/packages/hydrogen-react/package.json.js +1 -1
  131. package/dist/node-dev/packages/hydrogen-react/package.json.mjs +1 -1
  132. package/dist/node-dev/parse-metafield.js +2 -0
  133. package/dist/node-dev/parse-metafield.js.map +1 -1
  134. package/dist/node-dev/parse-metafield.mjs +2 -0
  135. package/dist/node-dev/parse-metafield.mjs.map +1 -1
  136. package/dist/node-dev/storefront-api-constants.js +1 -1
  137. package/dist/node-dev/storefront-api-constants.js.map +1 -1
  138. package/dist/node-dev/storefront-api-constants.mjs +1 -1
  139. package/dist/node-dev/storefront-api-constants.mjs.map +1 -1
  140. package/dist/node-dev/useCartAPIStateMachine.js.map +1 -1
  141. package/dist/node-dev/useCartAPIStateMachine.mjs.map +1 -1
  142. package/dist/node-dev/useCartActions.js.map +1 -1
  143. package/dist/node-dev/useCartActions.mjs.map +1 -1
  144. package/dist/node-dev/useMoney.js.map +1 -1
  145. package/dist/node-dev/useMoney.mjs.map +1 -1
  146. package/dist/node-prod/AddToCartButton.js +3 -1
  147. package/dist/node-prod/AddToCartButton.js.map +1 -1
  148. package/dist/node-prod/AddToCartButton.mjs +3 -1
  149. package/dist/node-prod/AddToCartButton.mjs.map +1 -1
  150. package/dist/node-prod/CartLineProvider.js.map +1 -1
  151. package/dist/node-prod/CartLineProvider.mjs.map +1 -1
  152. package/dist/node-prod/CartProvider.js.map +1 -1
  153. package/dist/node-prod/CartProvider.mjs.map +1 -1
  154. package/dist/node-prod/Image.js.map +1 -1
  155. package/dist/node-prod/Image.mjs.map +1 -1
  156. package/dist/node-prod/ModelViewer.js.map +1 -1
  157. package/dist/node-prod/ModelViewer.mjs.map +1 -1
  158. package/dist/node-prod/Money.js.map +1 -1
  159. package/dist/node-prod/Money.mjs.map +1 -1
  160. package/dist/node-prod/Video.js.map +1 -1
  161. package/dist/node-prod/Video.mjs.map +1 -1
  162. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.js +5 -0
  163. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.js.map +1 -0
  164. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.mjs +5 -0
  165. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.mjs.map +1 -0
  166. package/dist/node-prod/_virtual/with-selector.production.js +5 -0
  167. package/dist/node-prod/_virtual/with-selector.production.js.map +1 -0
  168. package/dist/node-prod/_virtual/with-selector.production.mjs +5 -0
  169. package/dist/node-prod/_virtual/with-selector.production.mjs.map +1 -0
  170. package/dist/node-prod/cart-queries.js +63 -9
  171. package/dist/node-prod/cart-queries.js.map +1 -1
  172. package/dist/node-prod/cart-queries.mjs +63 -9
  173. package/dist/node-prod/cart-queries.mjs.map +1 -1
  174. package/dist/node-prod/codegen.helpers.js.map +1 -1
  175. package/dist/node-prod/codegen.helpers.mjs.map +1 -1
  176. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +52 -74
  177. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js.map +1 -1
  178. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +52 -74
  179. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs.map +1 -1
  180. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js +78 -0
  181. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js.map +1 -0
  182. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs +78 -0
  183. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.mjs.map +1 -0
  184. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +54 -111
  185. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js.map +1 -1
  186. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +54 -111
  187. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs.map +1 -1
  188. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +63 -0
  189. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js.map +1 -0
  190. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs +63 -0
  191. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.mjs.map +1 -0
  192. package/dist/node-prod/node_modules/use-sync-external-store/shim/index.js +2 -2
  193. package/dist/node-prod/node_modules/use-sync-external-store/shim/index.js.map +1 -1
  194. package/dist/node-prod/node_modules/use-sync-external-store/shim/index.mjs +2 -2
  195. package/dist/node-prod/node_modules/use-sync-external-store/shim/index.mjs.map +1 -1
  196. package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.js +2 -2
  197. package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.js.map +1 -1
  198. package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.mjs +2 -2
  199. package/dist/node-prod/node_modules/use-sync-external-store/shim/with-selector.mjs.map +1 -1
  200. package/dist/node-prod/optionValueDecoder.js.map +1 -1
  201. package/dist/node-prod/optionValueDecoder.mjs.map +1 -1
  202. package/dist/node-prod/packages/hydrogen-react/package.json.js +1 -1
  203. package/dist/node-prod/packages/hydrogen-react/package.json.mjs +1 -1
  204. package/dist/node-prod/parse-metafield.js +2 -0
  205. package/dist/node-prod/parse-metafield.js.map +1 -1
  206. package/dist/node-prod/parse-metafield.mjs +2 -0
  207. package/dist/node-prod/parse-metafield.mjs.map +1 -1
  208. package/dist/node-prod/storefront-api-constants.js +1 -1
  209. package/dist/node-prod/storefront-api-constants.js.map +1 -1
  210. package/dist/node-prod/storefront-api-constants.mjs +1 -1
  211. package/dist/node-prod/storefront-api-constants.mjs.map +1 -1
  212. package/dist/node-prod/useCartAPIStateMachine.js.map +1 -1
  213. package/dist/node-prod/useCartAPIStateMachine.mjs.map +1 -1
  214. package/dist/node-prod/useCartActions.js.map +1 -1
  215. package/dist/node-prod/useCartActions.mjs.map +1 -1
  216. package/dist/node-prod/useMoney.js.map +1 -1
  217. package/dist/node-prod/useMoney.mjs.map +1 -1
  218. package/dist/types/AddToCartButton.d.ts +3 -0
  219. package/dist/types/CartLineProvider.d.ts +1 -1
  220. package/dist/types/CartProvider.d.ts +2 -2
  221. package/dist/types/Image.d.ts +1 -1
  222. package/dist/types/ModelViewer.d.ts +1 -1
  223. package/dist/types/Money.d.ts +5 -5
  224. package/dist/types/Video.d.ts +1 -1
  225. package/dist/types/codegen.helpers.d.ts +2 -2
  226. package/dist/types/customer-account-api-types.d.ts +27 -13
  227. package/dist/types/optionValueDecoder.d.ts +2 -2
  228. package/dist/types/parse-metafield.d.ts +14 -2
  229. package/dist/types/storefront-api-constants.d.ts +1 -1
  230. package/dist/types/storefront-api-types.d.ts +118 -4
  231. package/dist/types/useCartAPIStateMachine.d.ts +2 -2
  232. package/dist/types/useCartActions.d.ts +2 -2
  233. package/dist/types/useMoney.d.ts +4 -4
  234. package/dist/umd/hydrogen-react.dev.js +176 -197
  235. package/dist/umd/hydrogen-react.dev.js.map +1 -1
  236. package/dist/umd/hydrogen-react.prod.js +82 -28
  237. package/dist/umd/hydrogen-react.prod.js.map +1 -1
  238. package/package.json +5 -5
  239. package/storefront.schema.json +1 -1
  240. package/dist/browser-dev/_virtual/use-sync-external-store-shim.production.min.mjs +0 -5
  241. package/dist/browser-dev/_virtual/use-sync-external-store-shim.production.min.mjs.map +0 -1
  242. package/dist/browser-dev/_virtual/with-selector.production.min.mjs +0 -5
  243. package/dist/browser-dev/_virtual/with-selector.production.min.mjs.map +0 -1
  244. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -67
  245. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +0 -1
  246. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -57
  247. package/dist/browser-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +0 -1
  248. package/dist/browser-prod/_virtual/use-sync-external-store-shim.production.min.mjs +0 -5
  249. package/dist/browser-prod/_virtual/use-sync-external-store-shim.production.min.mjs.map +0 -1
  250. package/dist/browser-prod/_virtual/with-selector.production.min.mjs +0 -5
  251. package/dist/browser-prod/_virtual/with-selector.production.min.mjs.map +0 -1
  252. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -67
  253. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +0 -1
  254. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -57
  255. package/dist/browser-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +0 -1
  256. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.min.js +0 -5
  257. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.min.js.map +0 -1
  258. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.min.mjs +0 -5
  259. package/dist/node-dev/_virtual/use-sync-external-store-shim.production.min.mjs.map +0 -1
  260. package/dist/node-dev/_virtual/with-selector.production.min.js +0 -5
  261. package/dist/node-dev/_virtual/with-selector.production.min.js.map +0 -1
  262. package/dist/node-dev/_virtual/with-selector.production.min.mjs +0 -5
  263. package/dist/node-dev/_virtual/with-selector.production.min.mjs.map +0 -1
  264. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +0 -67
  265. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js.map +0 -1
  266. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -67
  267. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +0 -1
  268. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +0 -57
  269. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js.map +0 -1
  270. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -57
  271. package/dist/node-dev/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +0 -1
  272. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.min.js +0 -5
  273. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.min.js.map +0 -1
  274. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.min.mjs +0 -5
  275. package/dist/node-prod/_virtual/use-sync-external-store-shim.production.min.mjs.map +0 -1
  276. package/dist/node-prod/_virtual/with-selector.production.min.js +0 -5
  277. package/dist/node-prod/_virtual/with-selector.production.min.js.map +0 -1
  278. package/dist/node-prod/_virtual/with-selector.production.min.mjs +0 -5
  279. package/dist/node-prod/_virtual/with-selector.production.min.mjs.map +0 -1
  280. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +0 -67
  281. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js.map +0 -1
  282. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -67
  283. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs.map +0 -1
  284. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +0 -57
  285. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js.map +0 -1
  286. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -57
  287. package/dist/node-prod/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs.map +0 -1
@@ -7,7 +7,13 @@ const CartLineAdd = (cartFragment) => (
7
7
  $numCartLines: Int = 250
8
8
  $country: CountryCode = ZZ
9
9
  $language: LanguageCode
10
- ) @inContext(country: $country, language: $language) {
10
+ $visitorConsent: VisitorConsent
11
+ )
12
+ @inContext(
13
+ country: $country
14
+ language: $language
15
+ visitorConsent: $visitorConsent
16
+ ) {
11
17
  cartLinesAdd(cartId: $cartId, lines: $lines) {
12
18
  cart {
13
19
  ...CartFragment
@@ -26,7 +32,13 @@ const CartCreate = (cartFragment) => (
26
32
  $numCartLines: Int = 250
27
33
  $country: CountryCode = ZZ
28
34
  $language: LanguageCode
29
- ) @inContext(country: $country, language: $language) {
35
+ $visitorConsent: VisitorConsent
36
+ )
37
+ @inContext(
38
+ country: $country
39
+ language: $language
40
+ visitorConsent: $visitorConsent
41
+ ) {
30
42
  cartCreate(input: $input) {
31
43
  cart {
32
44
  ...CartFragment
@@ -46,7 +58,13 @@ const CartLineRemove = (cartFragment) => (
46
58
  $numCartLines: Int = 250
47
59
  $country: CountryCode = ZZ
48
60
  $language: LanguageCode
49
- ) @inContext(country: $country, language: $language) {
61
+ $visitorConsent: VisitorConsent
62
+ )
63
+ @inContext(
64
+ country: $country
65
+ language: $language
66
+ visitorConsent: $visitorConsent
67
+ ) {
50
68
  cartLinesRemove(cartId: $cartId, lineIds: $lines) {
51
69
  cart {
52
70
  ...CartFragment
@@ -66,7 +84,13 @@ const CartLineUpdate = (cartFragment) => (
66
84
  $numCartLines: Int = 250
67
85
  $country: CountryCode = ZZ
68
86
  $language: LanguageCode
69
- ) @inContext(country: $country, language: $language) {
87
+ $visitorConsent: VisitorConsent
88
+ )
89
+ @inContext(
90
+ country: $country
91
+ language: $language
92
+ visitorConsent: $visitorConsent
93
+ ) {
70
94
  cartLinesUpdate(cartId: $cartId, lines: $lines) {
71
95
  cart {
72
96
  ...CartFragment
@@ -86,7 +110,13 @@ const CartNoteUpdate = (cartFragment) => (
86
110
  $numCartLines: Int = 250
87
111
  $country: CountryCode = ZZ
88
112
  $language: LanguageCode
89
- ) @inContext(country: $country, language: $language) {
113
+ $visitorConsent: VisitorConsent
114
+ )
115
+ @inContext(
116
+ country: $country
117
+ language: $language
118
+ visitorConsent: $visitorConsent
119
+ ) {
90
120
  cartNoteUpdate(cartId: $cartId, note: $note) {
91
121
  cart {
92
122
  ...CartFragment
@@ -106,7 +136,13 @@ const CartBuyerIdentityUpdate = (cartFragment) => (
106
136
  $numCartLines: Int = 250
107
137
  $country: CountryCode = ZZ
108
138
  $language: LanguageCode
109
- ) @inContext(country: $country, language: $language) {
139
+ $visitorConsent: VisitorConsent
140
+ )
141
+ @inContext(
142
+ country: $country
143
+ language: $language
144
+ visitorConsent: $visitorConsent
145
+ ) {
110
146
  cartBuyerIdentityUpdate(cartId: $cartId, buyerIdentity: $buyerIdentity) {
111
147
  cart {
112
148
  ...CartFragment
@@ -126,7 +162,13 @@ const CartAttributesUpdate = (cartFragment) => (
126
162
  $numCartLines: Int = 250
127
163
  $country: CountryCode = ZZ
128
164
  $language: LanguageCode
129
- ) @inContext(country: $country, language: $language) {
165
+ $visitorConsent: VisitorConsent
166
+ )
167
+ @inContext(
168
+ country: $country
169
+ language: $language
170
+ visitorConsent: $visitorConsent
171
+ ) {
130
172
  cartAttributesUpdate(attributes: $attributes, cartId: $cartId) {
131
173
  cart {
132
174
  ...CartFragment
@@ -146,7 +188,13 @@ const CartDiscountCodesUpdate = (cartFragment) => (
146
188
  $numCartLines: Int = 250
147
189
  $country: CountryCode = ZZ
148
190
  $language: LanguageCode
149
- ) @inContext(country: $country, language: $language) {
191
+ $visitorConsent: VisitorConsent
192
+ )
193
+ @inContext(
194
+ country: $country
195
+ language: $language
196
+ visitorConsent: $visitorConsent
197
+ ) {
150
198
  cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) {
151
199
  cart {
152
200
  ...CartFragment
@@ -165,7 +213,13 @@ const CartQuery = (cartFragment) => (
165
213
  $numCartLines: Int = 250
166
214
  $country: CountryCode = ZZ
167
215
  $language: LanguageCode
168
- ) @inContext(country: $country, language: $language) {
216
+ $visitorConsent: VisitorConsent
217
+ )
218
+ @inContext(
219
+ country: $country
220
+ language: $language
221
+ visitorConsent: $visitorConsent
222
+ ) {
169
223
  cart(id: $id) {
170
224
  ...CartFragment
171
225
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cart-queries.mjs","sources":["../../src/cart-queries.ts"],"sourcesContent":["export const CartLineAdd = (cartFragment: string): string => /* GraphQL */ `\n mutation CartLineAdd(\n $cartId: ID!\n $lines: [CartLineInput!]!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cartLinesAdd(cartId: $cartId, lines: $lines) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartCreate = (cartFragment: string): string => /* GraphQL */ `\n mutation CartCreate(\n $input: CartInput!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cartCreate(input: $input) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartLineRemove = (cartFragment: string): string => /* GraphQL */ `\n mutation CartLineRemove(\n $cartId: ID!\n $lines: [ID!]!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cartLinesRemove(cartId: $cartId, lineIds: $lines) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartLineUpdate = (cartFragment: string): string => /* GraphQL */ `\n mutation CartLineUpdate(\n $cartId: ID!\n $lines: [CartLineUpdateInput!]!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cartLinesUpdate(cartId: $cartId, lines: $lines) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartNoteUpdate = (cartFragment: string): string => /* GraphQL */ `\n mutation CartNoteUpdate(\n $cartId: ID!\n $note: String!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cartNoteUpdate(cartId: $cartId, note: $note) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartBuyerIdentityUpdate = (\n cartFragment: string,\n): string => /* GraphQL */ `\n mutation CartBuyerIdentityUpdate(\n $cartId: ID!\n $buyerIdentity: CartBuyerIdentityInput!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cartBuyerIdentityUpdate(cartId: $cartId, buyerIdentity: $buyerIdentity) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartAttributesUpdate = (\n cartFragment: string,\n): string => /* GraphQL */ `\n mutation CartAttributesUpdate(\n $attributes: [AttributeInput!]!\n $cartId: ID!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cartAttributesUpdate(attributes: $attributes, cartId: $cartId) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartDiscountCodesUpdate = (\n cartFragment: string,\n): string => /* GraphQL */ `\n mutation CartDiscountCodesUpdate(\n $cartId: ID!\n $discountCodes: [String!]\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartQuery = (cartFragment: string): string => /* GraphQL */ `\n query CartQuery(\n $id: ID!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n ) @inContext(country: $country, language: $language) {\n cart(id: $id) {\n ...CartFragment\n }\n }\n\n ${cartFragment}\n`;\n\nexport const defaultCartFragment = /* GraphQL */ `\n fragment CartFragment on Cart {\n id\n checkoutUrl\n totalQuantity\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n cost {\n totalAmount {\n amount\n currencyCode\n }\n compareAtAmountPerQuantity {\n amount\n currencyCode\n }\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPrice {\n ...MoneyFragment\n }\n price {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n id\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n cost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n applicable\n }\n }\n\n fragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n }\n fragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n }\n`;\n"],"names":[],"mappings":"AAAO,MAAM,cAAc,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAevE,YAAY;AAAA;AAAA;AAGT,MAAM,aAAa,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IActE,YAAY;AAAA;AAAA;AAGT,MAAM,iBAAiB,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAe1E,YAAY;AAAA;AAAA;AAGT,MAAM,iBAAiB,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAe1E,YAAY;AAAA;AAAA;AAGT,MAAM,iBAAiB,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAe1E,YAAY;AAAA;AAAA;AAGT,MAAM,0BAA0B,CACrC;AAAA;AAAA,EACyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAevB,YAAY;AAAA;AAAA;AAGT,MAAM,uBAAuB,CAClC;AAAA;AAAA,EACyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAevB,YAAY;AAAA;AAAA;AAGT,MAAM,0BAA0B,CACrC;AAAA;AAAA,EACyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAevB,YAAY;AAAA;AAAA;AAGT,MAAM,YAAY,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAYrE,YAAY;AAAA;AAAA;AAGT,MAAM;AAAA;AAAA,EAAoC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"cart-queries.mjs","sources":["../../src/cart-queries.ts"],"sourcesContent":["export const CartLineAdd = (cartFragment: string): string => /* GraphQL */ `\n mutation CartLineAdd(\n $cartId: ID!\n $lines: [CartLineInput!]!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cartLinesAdd(cartId: $cartId, lines: $lines) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartCreate = (cartFragment: string): string => /* GraphQL */ `\n mutation CartCreate(\n $input: CartInput!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cartCreate(input: $input) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartLineRemove = (cartFragment: string): string => /* GraphQL */ `\n mutation CartLineRemove(\n $cartId: ID!\n $lines: [ID!]!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cartLinesRemove(cartId: $cartId, lineIds: $lines) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartLineUpdate = (cartFragment: string): string => /* GraphQL */ `\n mutation CartLineUpdate(\n $cartId: ID!\n $lines: [CartLineUpdateInput!]!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cartLinesUpdate(cartId: $cartId, lines: $lines) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartNoteUpdate = (cartFragment: string): string => /* GraphQL */ `\n mutation CartNoteUpdate(\n $cartId: ID!\n $note: String!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cartNoteUpdate(cartId: $cartId, note: $note) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartBuyerIdentityUpdate = (\n cartFragment: string,\n): string => /* GraphQL */ `\n mutation CartBuyerIdentityUpdate(\n $cartId: ID!\n $buyerIdentity: CartBuyerIdentityInput!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cartBuyerIdentityUpdate(cartId: $cartId, buyerIdentity: $buyerIdentity) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartAttributesUpdate = (\n cartFragment: string,\n): string => /* GraphQL */ `\n mutation CartAttributesUpdate(\n $attributes: [AttributeInput!]!\n $cartId: ID!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cartAttributesUpdate(attributes: $attributes, cartId: $cartId) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartDiscountCodesUpdate = (\n cartFragment: string,\n): string => /* GraphQL */ `\n mutation CartDiscountCodesUpdate(\n $cartId: ID!\n $discountCodes: [String!]\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) {\n cart {\n ...CartFragment\n }\n }\n }\n\n ${cartFragment}\n`;\n\nexport const CartQuery = (cartFragment: string): string => /* GraphQL */ `\n query CartQuery(\n $id: ID!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n $language: LanguageCode\n $visitorConsent: VisitorConsent\n )\n @inContext(\n country: $country\n language: $language\n visitorConsent: $visitorConsent\n ) {\n cart(id: $id) {\n ...CartFragment\n }\n }\n\n ${cartFragment}\n`;\n\nexport const defaultCartFragment = /* GraphQL */ `\n fragment CartFragment on Cart {\n id\n checkoutUrl\n totalQuantity\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n cost {\n totalAmount {\n amount\n currencyCode\n }\n compareAtAmountPerQuantity {\n amount\n currencyCode\n }\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPrice {\n ...MoneyFragment\n }\n price {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n id\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n cost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n applicable\n }\n }\n\n fragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n }\n fragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n }\n`;\n"],"names":[],"mappings":"AAAO,MAAM,cAAc,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAqBvE,YAAY;AAAA;AAAA;AAGT,MAAM,aAAa,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAoBtE,YAAY;AAAA;AAAA;AAGT,MAAM,iBAAiB,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAqB1E,YAAY;AAAA;AAAA;AAGT,MAAM,iBAAiB,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAqB1E,YAAY;AAAA;AAAA;AAGT,MAAM,iBAAiB,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAqB1E,YAAY;AAAA;AAAA;AAGT,MAAM,0BAA0B,CACrC;AAAA;AAAA,EACyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAqBvB,YAAY;AAAA;AAAA;AAGT,MAAM,uBAAuB,CAClC;AAAA;AAAA,EACyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAqBvB,YAAY;AAAA;AAAA;AAGT,MAAM,0BAA0B,CACrC;AAAA;AAAA,EACyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAqBvB,YAAY;AAAA;AAAA;AAGT,MAAM,YAAY,CAAC;AAAA;AAAA,EAA+C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAkBrE,YAAY;AAAA;AAAA;AAGT,MAAM;AAAA;AAAA,EAAoC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
@@ -1 +1 @@
1
- {"version":3,"file":"codegen.helpers.mjs","sources":["../../src/codegen.helpers.ts"],"sourcesContent":["/**\n * Meant to be used with GraphQL CodeGen to type the Storefront API's custom scalars correctly.\n * Reference for the GraphQL types: https://shopify.dev/docs/api/storefront/2025-07/scalars/HTML\n * Note: JSON is generated as 'unknown' by default.\n */\nexport const storefrontApiCustomScalars = {\n // Keep in sync with the definitions in the app/nextjs/codegen.ts!\n DateTime: 'string',\n Decimal: 'string',\n HTML: 'string',\n URL: 'string',\n Color: 'string',\n UnsignedInt64: 'string',\n};\n\n/**\n * Meant to be used with GraphQL CodeGen to type the Storefront API's custom scalars correctly.\n * Reference for the GraphQL types: https://shopify.dev/docs/api/customer/2025-07/scalars/HTML\n * Note: JSON is generated as 'unknown' by default.\n */\nexport const customerAccountApiCustomScalars = {\n DateTime: 'string',\n Decimal: 'string',\n HTML: 'string',\n ISO8601DateTime: 'string',\n URL: 'string',\n UnsignedInt64: 'string',\n};\n"],"names":[],"mappings":"AAKO,MAAM,6BAA6B;AAAA;AAAA,EAExC,UAAU;AAAA,EACV,SAAS;AAAA,EACT,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,eAAe;AACjB;AAOO,MAAM,kCAAkC;AAAA,EAC7C,UAAU;AAAA,EACV,SAAS;AAAA,EACT,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,KAAK;AAAA,EACL,eAAe;AACjB;"}
1
+ {"version":3,"file":"codegen.helpers.mjs","sources":["../../src/codegen.helpers.ts"],"sourcesContent":["/**\n * Meant to be used with GraphQL CodeGen to type the Storefront API's custom scalars correctly.\n * Reference for the GraphQL types: https://shopify.dev/docs/api/storefront/2025-10/scalars/HTML\n * Note: JSON is generated as 'unknown' by default.\n */\nexport const storefrontApiCustomScalars = {\n // Keep in sync with the definitions in the app/nextjs/codegen.ts!\n DateTime: 'string',\n Decimal: 'string',\n HTML: 'string',\n URL: 'string',\n Color: 'string',\n UnsignedInt64: 'string',\n};\n\n/**\n * Meant to be used with GraphQL CodeGen to type the Storefront API's custom scalars correctly.\n * Reference for the GraphQL types: https://shopify.dev/docs/api/customer/2025-10/scalars/HTML\n * Note: JSON is generated as 'unknown' by default.\n */\nexport const customerAccountApiCustomScalars = {\n DateTime: 'string',\n Decimal: 'string',\n HTML: 'string',\n ISO8601DateTime: 'string',\n URL: 'string',\n UnsignedInt64: 'string',\n};\n"],"names":[],"mappings":"AAKO,MAAM,6BAA6B;AAAA;AAAA,EAExC,UAAU;AAAA,EACV,SAAS;AAAA,EACT,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,eAAe;AACjB;AAOO,MAAM,kCAAkC;AAAA,EAC7C,UAAU;AAAA,EACV,SAAS;AAAA,EACT,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,KAAK;AAAA,EACL,eAAe;AACjB;"}
@@ -5,7 +5,7 @@ import { __require as requireShim } from "../../shim/index.mjs";
5
5
  * @license React
6
6
  * use-sync-external-store-shim/with-selector.development.js
7
7
  *
8
- * Copyright (c) Facebook, Inc. and its affiliates.
8
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
9
9
  *
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
@@ -14,88 +14,66 @@ var hasRequiredWithSelector_development;
14
14
  function requireWithSelector_development() {
15
15
  if (hasRequiredWithSelector_development) return withSelector_development;
16
16
  hasRequiredWithSelector_development = 1;
17
- if (process.env.NODE_ENV !== "production") {
18
- (function() {
19
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
20
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
21
- }
22
- var React = React__default;
23
- var shim = requireShim();
24
- function is(x, y) {
25
- return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
26
- }
27
- var objectIs = typeof Object.is === "function" ? Object.is : is;
28
- var useSyncExternalStore = shim.useSyncExternalStore;
29
- var useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
30
- function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
31
- var instRef = useRef(null);
32
- var inst;
33
- if (instRef.current === null) {
34
- inst = {
35
- hasValue: false,
36
- value: null
37
- };
38
- instRef.current = inst;
39
- } else {
40
- inst = instRef.current;
41
- }
42
- var _useMemo = useMemo(function() {
43
- var hasMemo = false;
44
- var memoizedSnapshot;
45
- var memoizedSelection;
46
- var memoizedSelector = function(nextSnapshot) {
17
+ "production" !== process.env.NODE_ENV && (function() {
18
+ function is(x, y) {
19
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
20
+ }
21
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
22
+ var React = React__default, shim = requireShim(), objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
23
+ withSelector_development.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
24
+ var instRef = useRef(null);
25
+ if (null === instRef.current) {
26
+ var inst = { hasValue: false, value: null };
27
+ instRef.current = inst;
28
+ } else inst = instRef.current;
29
+ instRef = useMemo(
30
+ function() {
31
+ function memoizedSelector(nextSnapshot) {
47
32
  if (!hasMemo) {
48
33
  hasMemo = true;
49
34
  memoizedSnapshot = nextSnapshot;
50
- var _nextSelection = selector(nextSnapshot);
51
- if (isEqual !== void 0) {
52
- if (inst.hasValue) {
53
- var currentSelection = inst.value;
54
- if (isEqual(currentSelection, _nextSelection)) {
55
- memoizedSelection = currentSelection;
56
- return currentSelection;
57
- }
58
- }
35
+ nextSnapshot = selector(nextSnapshot);
36
+ if (void 0 !== isEqual && inst.hasValue) {
37
+ var currentSelection = inst.value;
38
+ if (isEqual(currentSelection, nextSnapshot))
39
+ return memoizedSelection = currentSelection;
59
40
  }
60
- memoizedSelection = _nextSelection;
61
- return _nextSelection;
62
- }
63
- var prevSnapshot = memoizedSnapshot;
64
- var prevSelection = memoizedSelection;
65
- if (objectIs(prevSnapshot, nextSnapshot)) {
66
- return prevSelection;
41
+ return memoizedSelection = nextSnapshot;
67
42
  }
43
+ currentSelection = memoizedSelection;
44
+ if (objectIs(memoizedSnapshot, nextSnapshot))
45
+ return currentSelection;
68
46
  var nextSelection = selector(nextSnapshot);
69
- if (isEqual !== void 0 && isEqual(prevSelection, nextSelection)) {
70
- return prevSelection;
71
- }
47
+ if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
48
+ return memoizedSnapshot = nextSnapshot, currentSelection;
72
49
  memoizedSnapshot = nextSnapshot;
73
- memoizedSelection = nextSelection;
74
- return nextSelection;
75
- };
76
- var maybeGetServerSnapshot = getServerSnapshot === void 0 ? null : getServerSnapshot;
77
- var getSnapshotWithSelector = function() {
78
- return memoizedSelector(getSnapshot());
79
- };
80
- var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? void 0 : function() {
81
- return memoizedSelector(maybeGetServerSnapshot());
82
- };
83
- return [getSnapshotWithSelector, getServerSnapshotWithSelector];
84
- }, [getSnapshot, getServerSnapshot, selector, isEqual]), getSelection = _useMemo[0], getServerSelection = _useMemo[1];
85
- var value = useSyncExternalStore(subscribe, getSelection, getServerSelection);
86
- useEffect(function() {
50
+ return memoizedSelection = nextSelection;
51
+ }
52
+ var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
53
+ return [
54
+ function() {
55
+ return memoizedSelector(getSnapshot());
56
+ },
57
+ null === maybeGetServerSnapshot ? void 0 : function() {
58
+ return memoizedSelector(maybeGetServerSnapshot());
59
+ }
60
+ ];
61
+ },
62
+ [getSnapshot, getServerSnapshot, selector, isEqual]
63
+ );
64
+ var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
65
+ useEffect(
66
+ function() {
87
67
  inst.hasValue = true;
88
68
  inst.value = value;
89
- }, [value]);
90
- useDebugValue(value);
91
- return value;
92
- }
93
- withSelector_development.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;
94
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
95
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
96
- }
97
- })();
98
- }
69
+ },
70
+ [value]
71
+ );
72
+ useDebugValue(value);
73
+ return value;
74
+ };
75
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
76
+ })();
99
77
  return withSelector_development;
100
78
  }
101
79
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"with-selector.development.mjs","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n\n 'use strict';\n\n/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());\n}\n var React = require('react');\nvar shim = require('use-sync-external-store/shim');\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y // eslint-disable-line no-self-compare\n ;\n}\n\nvar objectIs = typeof Object.is === 'function' ? Object.is : is;\n\nvar useSyncExternalStore = shim.useSyncExternalStore;\n\n// for CommonJS interop.\n\nvar useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue; // Same as useSyncExternalStore, but supports selector and isEqual arguments.\n\nfunction useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {\n // Use this to track the rendered snapshot.\n var instRef = useRef(null);\n var inst;\n\n if (instRef.current === null) {\n inst = {\n hasValue: false,\n value: null\n };\n instRef.current = inst;\n } else {\n inst = instRef.current;\n }\n\n var _useMemo = useMemo(function () {\n // Track the memoized state using closure variables that are local to this\n // memoized instance of a getSnapshot function. Intentionally not using a\n // useRef hook, because that state would be shared across all concurrent\n // copies of the hook/component.\n var hasMemo = false;\n var memoizedSnapshot;\n var memoizedSelection;\n\n var memoizedSelector = function (nextSnapshot) {\n if (!hasMemo) {\n // The first time the hook is called, there is no memoized result.\n hasMemo = true;\n memoizedSnapshot = nextSnapshot;\n\n var _nextSelection = selector(nextSnapshot);\n\n if (isEqual !== undefined) {\n // Even if the selector has changed, the currently rendered selection\n // may be equal to the new selection. We should attempt to reuse the\n // current value if possible, to preserve downstream memoizations.\n if (inst.hasValue) {\n var currentSelection = inst.value;\n\n if (isEqual(currentSelection, _nextSelection)) {\n memoizedSelection = currentSelection;\n return currentSelection;\n }\n }\n }\n\n memoizedSelection = _nextSelection;\n return _nextSelection;\n } // We may be able to reuse the previous invocation's result.\n\n\n // We may be able to reuse the previous invocation's result.\n var prevSnapshot = memoizedSnapshot;\n var prevSelection = memoizedSelection;\n\n if (objectIs(prevSnapshot, nextSnapshot)) {\n // The snapshot is the same as last time. Reuse the previous selection.\n return prevSelection;\n } // The snapshot has changed, so we need to compute a new selection.\n\n\n // The snapshot has changed, so we need to compute a new selection.\n var nextSelection = selector(nextSnapshot); // If a custom isEqual function is provided, use that to check if the data\n // has changed. If it hasn't, return the previous selection. That signals\n // to React that the selections are conceptually equal, and we can bail\n // out of rendering.\n\n // If a custom isEqual function is provided, use that to check if the data\n // has changed. If it hasn't, return the previous selection. That signals\n // to React that the selections are conceptually equal, and we can bail\n // out of rendering.\n if (isEqual !== undefined && isEqual(prevSelection, nextSelection)) {\n return prevSelection;\n }\n\n memoizedSnapshot = nextSnapshot;\n memoizedSelection = nextSelection;\n return nextSelection;\n }; // Assigning this to a constant so that Flow knows it can't change.\n\n\n // Assigning this to a constant so that Flow knows it can't change.\n var maybeGetServerSnapshot = getServerSnapshot === undefined ? null : getServerSnapshot;\n\n var getSnapshotWithSelector = function () {\n return memoizedSelector(getSnapshot());\n };\n\n var getServerSnapshotWithSelector = maybeGetServerSnapshot === null ? undefined : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n };\n return [getSnapshotWithSelector, getServerSnapshotWithSelector];\n }, [getSnapshot, getServerSnapshot, selector, isEqual]),\n getSelection = _useMemo[0],\n getServerSelection = _useMemo[1];\n\n var value = useSyncExternalStore(subscribe, getSelection, getServerSelection);\n useEffect(function () {\n inst.hasValue = true;\n inst.value = value;\n }, [value]);\n useDebugValue(value);\n return value;\n}\n\nexports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\nif (\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop ===\n 'function'\n) {\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());\n}\n \n })();\n}\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;AAYA,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,KAAC,WAAW;AAKd,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,gCACpC,YACF;AACA,uCAA+B,4BAA4B,IAAI,OAAO;AAAA,MACxE;AACU,UAAI,QAAQA;AACtB,UAAI,OAAOC,YAAA;AAMX,eAAS,GAAG,GAAG,GAAG;AAChB,eAAO,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAM,MAAM,KAAK,MAAM;AAAA,MAErE;AAEA,UAAI,WAAW,OAAO,OAAO,OAAO,aAAa,OAAO,KAAK;AAE7D,UAAI,uBAAuB,KAAK;AAIhC,UAAI,SAAS,MAAM,QACf,YAAY,MAAM,WAClB,UAAU,MAAM,SAChB,gBAAgB,MAAM;AAE1B,eAAS,iCAAiC,WAAW,aAAa,mBAAmB,UAAU,SAAS;AAEtG,YAAI,UAAU,OAAO,IAAI;AACzB,YAAI;AAEJ,YAAI,QAAQ,YAAY,MAAM;AAC5B,iBAAO;AAAA,YACL,UAAU;AAAA,YACV,OAAO;AAAA;AAET,kBAAQ,UAAU;AAAA,QACtB,OAAS;AACL,iBAAO,QAAQ;AAAA,QACnB;AAEE,YAAI,WAAW,QAAQ,WAAY;AAKjC,cAAI,UAAU;AACd,cAAI;AACJ,cAAI;AAEJ,cAAI,mBAAmB,SAAU,cAAc;AAC7C,gBAAI,CAAC,SAAS;AAEZ,wBAAU;AACV,iCAAmB;AAEnB,kBAAI,iBAAiB,SAAS,YAAY;AAE1C,kBAAI,YAAY,QAAW;AAIzB,oBAAI,KAAK,UAAU;AACjB,sBAAI,mBAAmB,KAAK;AAE5B,sBAAI,QAAQ,kBAAkB,cAAc,GAAG;AAC7C,wCAAoB;AACpB,2BAAO;AAAA,kBACrB;AAAA,gBACA;AAAA,cACA;AAEQ,kCAAoB;AACpB,qBAAO;AAAA,YACf;AAIM,gBAAI,eAAe;AACnB,gBAAI,gBAAgB;AAEpB,gBAAI,SAAS,cAAc,YAAY,GAAG;AAExC,qBAAO;AAAA,YACf;AAIM,gBAAI,gBAAgB,SAAS,YAAY;AASzC,gBAAI,YAAY,UAAa,QAAQ,eAAe,aAAa,GAAG;AAClE,qBAAO;AAAA,YACf;AAEM,+BAAmB;AACnB,gCAAoB;AACpB,mBAAO;AAAA,UACb;AAII,cAAI,yBAAyB,sBAAsB,SAAY,OAAO;AAEtE,cAAI,0BAA0B,WAAY;AACxC,mBAAO,iBAAiB,aAAa;AAAA,UAC3C;AAEI,cAAI,gCAAgC,2BAA2B,OAAO,SAAY,WAAY;AAC5F,mBAAO,iBAAiB,wBAAwB;AAAA,UACtD;AACI,iBAAO,CAAC,yBAAyB,6BAA6B;AAAA,QAClE,GAAK,CAAC,aAAa,mBAAmB,UAAU,OAAO,CAAC,GAClD,eAAe,SAAS,CAAC,GACzB,qBAAqB,SAAS,CAAC;AAEnC,YAAI,QAAQ,qBAAqB,WAAW,cAAc,kBAAkB;AAC5E,kBAAU,WAAY;AACpB,eAAK,WAAW;AAChB,eAAK,QAAQ;AAAA,QACjB,GAAK,CAAC,KAAK,CAAC;AACV,sBAAc,KAAK;AACnB,eAAO;AAAA,MACT;AAEA,+BAAA,mCAA2C;AAE3C,UACE,OAAO,mCAAmC,eAC1C,OAAO,+BAA+B,+BACpC,YACF;AACA,uCAA+B,2BAA2B,IAAI,OAAO;AAAA,MACvE;AAAA,IAEA,GAAG;AAAA,EACH;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"with-selector.development.mjs","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;AAWA,mBAAiB,QAAQ,IAAI,aAC1B,WAAY;AACX,aAAS,GAAG,GAAG,GAAG;AAChB,aAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,IAC5E;AACI,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,+BACxC,+BAA+B,4BAA4B,OAAO;AACpE,QAAI,QAAQA,gBACV,OAAOC,YAAA,GACP,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IACzD,uBAAuB,KAAK,sBAC5B,SAAS,MAAM,QACf,YAAY,MAAM,WAClB,UAAU,MAAM,SAChB,gBAAgB,MAAM;AACxB,gEAA2C,SACzC,WACA,aACA,mBACA,UACA,SACA;AACA,UAAI,UAAU,OAAO,IAAI;AACzB,UAAI,SAAS,QAAQ,SAAS;AAC5B,YAAI,OAAO,EAAE,UAAU,OAAI,OAAO,KAAI;AACtC,gBAAQ,UAAU;AAAA,MAC1B,MAAa,QAAO,QAAQ;AACtB,gBAAU;AAAA,QACR,WAAY;AACV,mBAAS,iBAAiB,cAAc;AACtC,gBAAI,CAAC,SAAS;AACZ,wBAAU;AACV,iCAAmB;AACnB,6BAAe,SAAS,YAAY;AACpC,kBAAI,WAAW,WAAW,KAAK,UAAU;AACvC,oBAAI,mBAAmB,KAAK;AAC5B,oBAAI,QAAQ,kBAAkB,YAAY;AACxC,yBAAQ,oBAAoB;AAAA,cAC9C;AACc,qBAAQ,oBAAoB;AAAA,YAC1C;AACY,+BAAmB;AACnB,gBAAI,SAAS,kBAAkB,YAAY;AACzC,qBAAO;AACT,gBAAI,gBAAgB,SAAS,YAAY;AACzC,gBAAI,WAAW,WAAW,QAAQ,kBAAkB,aAAa;AAC/D,qBAAQ,mBAAmB,cAAe;AAC5C,+BAAmB;AACnB,mBAAQ,oBAAoB;AAAA,UACxC;AACU,cAAI,UAAU,OACZ,kBACA,mBACA,yBACE,WAAW,oBAAoB,OAAO;AAC1C,iBAAO;AAAA,YACL,WAAY;AACV,qBAAO,iBAAiB,aAAa;AAAA,YACnD;AAAA,YACY,SAAS,yBACL,SACA,WAAY;AACV,qBAAO,iBAAiB,wBAAwB;AAAA,YAClE;AAAA;QAEA;AAAA,QACQ,CAAC,aAAa,mBAAmB,UAAU,OAAO;AAAA;AAEpD,UAAI,QAAQ,qBAAqB,WAAW,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;AAClE;AAAA,QACE,WAAY;AACV,eAAK,WAAW;AAChB,eAAK,QAAQ;AAAA,QACvB;AAAA,QACQ,CAAC,KAAK;AAAA;AAER,oBAAc,KAAK;AACnB,aAAO;AAAA,IACb;AACI,oBAAgB,OAAO,kCACrB,eACE,OAAO,+BAA+B,8BACxC,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,GAAG;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,78 @@
1
+ import { __exports as withSelector_production } from "../../../../_virtual/with-selector.production.mjs";
2
+ import React__default from "react";
3
+ import { __require as requireShim } from "../../shim/index.mjs";
4
+ /**
5
+ * @license React
6
+ * use-sync-external-store-shim/with-selector.production.js
7
+ *
8
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */
13
+ var hasRequiredWithSelector_production;
14
+ function requireWithSelector_production() {
15
+ if (hasRequiredWithSelector_production) return withSelector_production;
16
+ hasRequiredWithSelector_production = 1;
17
+ var React = React__default, shim = requireShim();
18
+ function is(x, y) {
19
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
20
+ }
21
+ var objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef = React.useRef, useEffect = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
22
+ withSelector_production.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
23
+ var instRef = useRef(null);
24
+ if (null === instRef.current) {
25
+ var inst = { hasValue: false, value: null };
26
+ instRef.current = inst;
27
+ } else inst = instRef.current;
28
+ instRef = useMemo(
29
+ function() {
30
+ function memoizedSelector(nextSnapshot) {
31
+ if (!hasMemo) {
32
+ hasMemo = true;
33
+ memoizedSnapshot = nextSnapshot;
34
+ nextSnapshot = selector(nextSnapshot);
35
+ if (void 0 !== isEqual && inst.hasValue) {
36
+ var currentSelection = inst.value;
37
+ if (isEqual(currentSelection, nextSnapshot))
38
+ return memoizedSelection = currentSelection;
39
+ }
40
+ return memoizedSelection = nextSnapshot;
41
+ }
42
+ currentSelection = memoizedSelection;
43
+ if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
44
+ var nextSelection = selector(nextSnapshot);
45
+ if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))
46
+ return memoizedSnapshot = nextSnapshot, currentSelection;
47
+ memoizedSnapshot = nextSnapshot;
48
+ return memoizedSelection = nextSelection;
49
+ }
50
+ var hasMemo = false, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
51
+ return [
52
+ function() {
53
+ return memoizedSelector(getSnapshot());
54
+ },
55
+ null === maybeGetServerSnapshot ? void 0 : function() {
56
+ return memoizedSelector(maybeGetServerSnapshot());
57
+ }
58
+ ];
59
+ },
60
+ [getSnapshot, getServerSnapshot, selector, isEqual]
61
+ );
62
+ var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
63
+ useEffect(
64
+ function() {
65
+ inst.hasValue = true;
66
+ inst.value = value;
67
+ },
68
+ [value]
69
+ );
70
+ useDebugValue(value);
71
+ return value;
72
+ };
73
+ return withSelector_production;
74
+ }
75
+ export {
76
+ requireWithSelector_production as __require
77
+ };
78
+ //# sourceMappingURL=with-selector.production.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"with-selector.production.mjs","sources":["../../../../../../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n"],"names":["require$$0","require$$1"],"mappings":";;;;;;;;;;;;;;;;AAWA,MAAI,QAAQA,gBACV,OAAOC,YAAA;AACT,WAAS,GAAG,GAAG,GAAG;AAChB,WAAQ,MAAM,MAAM,MAAM,KAAK,IAAI,MAAM,IAAI,MAAQ,MAAM,KAAK,MAAM;AAAA,EACxE;AACA,MAAI,WAAW,eAAe,OAAO,OAAO,KAAK,OAAO,KAAK,IAC3D,uBAAuB,KAAK,sBAC5B,SAAS,MAAM,QACf,YAAY,MAAM,WAClB,UAAU,MAAM,SAChB,gBAAgB,MAAM;AACxB,0BAAA,mCAA2C,SACzC,WACA,aACA,mBACA,UACA,SACA;AACA,QAAI,UAAU,OAAO,IAAI;AACzB,QAAI,SAAS,QAAQ,SAAS;AAC5B,UAAI,OAAO,EAAE,UAAU,OAAI,OAAO,KAAI;AACtC,cAAQ,UAAU;AAAA,IACtB,MAAS,QAAO,QAAQ;AACtB,cAAU;AAAA,MACR,WAAY;AACV,iBAAS,iBAAiB,cAAc;AACtC,cAAI,CAAC,SAAS;AACZ,sBAAU;AACV,+BAAmB;AACnB,2BAAe,SAAS,YAAY;AACpC,gBAAI,WAAW,WAAW,KAAK,UAAU;AACvC,kBAAI,mBAAmB,KAAK;AAC5B,kBAAI,QAAQ,kBAAkB,YAAY;AACxC,uBAAQ,oBAAoB;AAAA,YAC1C;AACU,mBAAQ,oBAAoB;AAAA,UACtC;AACQ,6BAAmB;AACnB,cAAI,SAAS,kBAAkB,YAAY,EAAG,QAAO;AACrD,cAAI,gBAAgB,SAAS,YAAY;AACzC,cAAI,WAAW,WAAW,QAAQ,kBAAkB,aAAa;AAC/D,mBAAQ,mBAAmB,cAAe;AAC5C,6BAAmB;AACnB,iBAAQ,oBAAoB;AAAA,QACpC;AACM,YAAI,UAAU,OACZ,kBACA,mBACA,yBACE,WAAW,oBAAoB,OAAO;AAC1C,eAAO;AAAA,UACL,WAAY;AACV,mBAAO,iBAAiB,aAAa;AAAA,UAC/C;AAAA,UACQ,SAAS,yBACL,SACA,WAAY;AACV,mBAAO,iBAAiB,wBAAwB;AAAA,UAC9D;AAAA;MAEA;AAAA,MACI,CAAC,aAAa,mBAAmB,UAAU,OAAO;AAAA;AAEpD,QAAI,QAAQ,qBAAqB,WAAW,QAAQ,CAAC,GAAG,QAAQ,CAAC,CAAC;AAClE;AAAA,MACE,WAAY;AACV,aAAK,WAAW;AAChB,aAAK,QAAQ;AAAA,MACnB;AAAA,MACI,CAAC,KAAK;AAAA;AAER,kBAAc,KAAK;AACnB,WAAO;AAAA,EACT;;;","x_google_ignoreList":[0]}