@ikas/storefront 1.0.21 → 2.0.0-alpha.10

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 (1158) hide show
  1. package/build/__generated__/global-types.d.ts +35 -5
  2. package/build/__generated__/global-types.js +1 -0
  3. package/build/_virtual/Observable.js_commonjs-proxy.js +1 -0
  4. package/build/_virtual/Parser.js_commonjs-proxy.js +1 -0
  5. package/build/_virtual/ReactPropTypesSecret.js_commonjs-proxy.js +1 -0
  6. package/build/_virtual/Tokenizer.js_commonjs-proxy.js +1 -0
  7. package/build/_virtual/_DataView.js_commonjs-proxy.js +1 -0
  8. package/build/_virtual/_Hash.js_commonjs-proxy.js +1 -0
  9. package/build/_virtual/_ListCache.js_commonjs-proxy.js +1 -0
  10. package/build/_virtual/_Map.js_commonjs-proxy.js +1 -0
  11. package/build/_virtual/_MapCache.js_commonjs-proxy.js +1 -0
  12. package/build/_virtual/_Promise.js_commonjs-proxy.js +1 -0
  13. package/build/_virtual/_Set.js_commonjs-proxy.js +1 -0
  14. package/build/_virtual/_SetCache.js_commonjs-proxy.js +1 -0
  15. package/build/_virtual/_Stack.js_commonjs-proxy.js +1 -0
  16. package/build/_virtual/_Symbol.js_commonjs-proxy.js +1 -0
  17. package/build/_virtual/_Uint8Array.js_commonjs-proxy.js +1 -0
  18. package/build/_virtual/_WeakMap.js_commonjs-proxy.js +1 -0
  19. package/build/_virtual/_apply.js_commonjs-proxy.js +1 -0
  20. package/build/_virtual/_arrayAggregator.js_commonjs-proxy.js +1 -0
  21. package/build/_virtual/_arrayEach.js_commonjs-proxy.js +1 -0
  22. package/build/_virtual/_arrayFilter.js_commonjs-proxy.js +1 -0
  23. package/build/_virtual/_arrayIncludes.js_commonjs-proxy.js +1 -0
  24. package/build/_virtual/_arrayIncludesWith.js_commonjs-proxy.js +1 -0
  25. package/build/_virtual/_arrayLikeKeys.js_commonjs-proxy.js +1 -0
  26. package/build/_virtual/_arrayMap.js_commonjs-proxy.js +1 -0
  27. package/build/_virtual/_arrayPush.js_commonjs-proxy.js +1 -0
  28. package/build/_virtual/_arraySome.js_commonjs-proxy.js +1 -0
  29. package/build/_virtual/_assignValue.js_commonjs-proxy.js +1 -0
  30. package/build/_virtual/_assocIndexOf.js_commonjs-proxy.js +1 -0
  31. package/build/_virtual/_baseAggregator.js_commonjs-proxy.js +1 -0
  32. package/build/_virtual/_baseAssign.js_commonjs-proxy.js +1 -0
  33. package/build/_virtual/_baseAssignIn.js_commonjs-proxy.js +1 -0
  34. package/build/_virtual/_baseAssignValue.js_commonjs-proxy.js +1 -0
  35. package/build/_virtual/_baseClone.js_commonjs-proxy.js +1 -0
  36. package/build/_virtual/_baseCreate.js_commonjs-proxy.js +1 -0
  37. package/build/_virtual/_baseEach.js_commonjs-proxy.js +1 -0
  38. package/build/_virtual/_baseFindIndex.js_commonjs-proxy.js +1 -0
  39. package/build/_virtual/_baseFlatten.js_commonjs-proxy.js +1 -0
  40. package/build/_virtual/_baseFor.js_commonjs-proxy.js +1 -0
  41. package/build/_virtual/_baseForOwn.js_commonjs-proxy.js +1 -0
  42. package/build/_virtual/_baseGet.js_commonjs-proxy.js +1 -0
  43. package/build/_virtual/_baseGetAllKeys.js_commonjs-proxy.js +1 -0
  44. package/build/_virtual/_baseGetTag.js_commonjs-proxy.js +1 -0
  45. package/build/_virtual/_baseHasIn.js_commonjs-proxy.js +1 -0
  46. package/build/_virtual/_baseIndexOf.js_commonjs-proxy.js +1 -0
  47. package/build/_virtual/_baseIsArguments.js_commonjs-proxy.js +1 -0
  48. package/build/_virtual/_baseIsEqual.js_commonjs-proxy.js +1 -0
  49. package/build/_virtual/_baseIsEqualDeep.js_commonjs-proxy.js +1 -0
  50. package/build/_virtual/_baseIsMap.js_commonjs-proxy.js +1 -0
  51. package/build/_virtual/_baseIsMatch.js_commonjs-proxy.js +1 -0
  52. package/build/_virtual/_baseIsNaN.js_commonjs-proxy.js +1 -0
  53. package/build/_virtual/_baseIsNative.js_commonjs-proxy.js +1 -0
  54. package/build/_virtual/_baseIsSet.js_commonjs-proxy.js +1 -0
  55. package/build/_virtual/_baseIsTypedArray.js_commonjs-proxy.js +1 -0
  56. package/build/_virtual/_baseIteratee.js_commonjs-proxy.js +1 -0
  57. package/build/_virtual/_baseKeys.js_commonjs-proxy.js +1 -0
  58. package/build/_virtual/_baseKeysIn.js_commonjs-proxy.js +1 -0
  59. package/build/_virtual/_baseMap.js_commonjs-proxy.js +1 -0
  60. package/build/_virtual/_baseMatches.js_commonjs-proxy.js +1 -0
  61. package/build/_virtual/_baseMatchesProperty.js_commonjs-proxy.js +1 -0
  62. package/build/_virtual/_baseOrderBy.js_commonjs-proxy.js +1 -0
  63. package/build/_virtual/_baseProperty.js_commonjs-proxy.js +1 -0
  64. package/build/_virtual/_basePropertyDeep.js_commonjs-proxy.js +1 -0
  65. package/build/_virtual/_baseRest.js_commonjs-proxy.js +1 -0
  66. package/build/_virtual/_baseSetToString.js_commonjs-proxy.js +1 -0
  67. package/build/_virtual/_baseSortBy.js_commonjs-proxy.js +1 -0
  68. package/build/_virtual/_baseTimes.js_commonjs-proxy.js +1 -0
  69. package/build/_virtual/_baseToString.js_commonjs-proxy.js +1 -0
  70. package/build/_virtual/_baseUnary.js_commonjs-proxy.js +1 -0
  71. package/build/_virtual/_baseUniq.js_commonjs-proxy.js +1 -0
  72. package/build/_virtual/_cacheHas.js_commonjs-proxy.js +1 -0
  73. package/build/_virtual/_castFunction.js_commonjs-proxy.js +1 -0
  74. package/build/_virtual/_castPath.js_commonjs-proxy.js +1 -0
  75. package/build/_virtual/_cloneArrayBuffer.js_commonjs-proxy.js +1 -0
  76. package/build/_virtual/_cloneBuffer.js_commonjs-proxy.js +1 -0
  77. package/build/_virtual/_cloneDataView.js_commonjs-proxy.js +1 -0
  78. package/build/_virtual/_cloneRegExp.js_commonjs-proxy.js +1 -0
  79. package/build/_virtual/_cloneSymbol.js_commonjs-proxy.js +1 -0
  80. package/build/_virtual/_cloneTypedArray.js_commonjs-proxy.js +1 -0
  81. package/build/_virtual/_commonjsHelpers.js +1 -0
  82. package/build/_virtual/_compareAscending.js_commonjs-proxy.js +1 -0
  83. package/build/_virtual/_compareMultiple.js_commonjs-proxy.js +1 -0
  84. package/build/_virtual/_copyArray.js_commonjs-proxy.js +1 -0
  85. package/build/_virtual/_copyObject.js_commonjs-proxy.js +1 -0
  86. package/build/_virtual/_copySymbols.js_commonjs-proxy.js +1 -0
  87. package/build/_virtual/_copySymbolsIn.js_commonjs-proxy.js +1 -0
  88. package/build/_virtual/_coreJsData.js_commonjs-proxy.js +1 -0
  89. package/build/_virtual/_createAggregator.js_commonjs-proxy.js +1 -0
  90. package/build/_virtual/_createBaseEach.js_commonjs-proxy.js +1 -0
  91. package/build/_virtual/_createBaseFor.js_commonjs-proxy.js +1 -0
  92. package/build/_virtual/_createSet.js_commonjs-proxy.js +1 -0
  93. package/build/_virtual/_defineProperty.js_commonjs-proxy.js +1 -0
  94. package/build/_virtual/_equalArrays.js_commonjs-proxy.js +1 -0
  95. package/build/_virtual/_equalByTag.js_commonjs-proxy.js +1 -0
  96. package/build/_virtual/_equalObjects.js_commonjs-proxy.js +1 -0
  97. package/build/_virtual/_freeGlobal.js_commonjs-proxy.js +1 -0
  98. package/build/_virtual/_getAllKeys.js_commonjs-proxy.js +1 -0
  99. package/build/_virtual/_getAllKeysIn.js_commonjs-proxy.js +1 -0
  100. package/build/_virtual/_getMapData.js_commonjs-proxy.js +1 -0
  101. package/build/_virtual/_getMatchData.js_commonjs-proxy.js +1 -0
  102. package/build/_virtual/_getNative.js_commonjs-proxy.js +1 -0
  103. package/build/_virtual/_getPrototype.js_commonjs-proxy.js +1 -0
  104. package/build/_virtual/_getRawTag.js_commonjs-proxy.js +1 -0
  105. package/build/_virtual/_getSymbols.js_commonjs-proxy.js +1 -0
  106. package/build/_virtual/_getSymbolsIn.js_commonjs-proxy.js +1 -0
  107. package/build/_virtual/_getTag.js_commonjs-proxy.js +1 -0
  108. package/build/_virtual/_getValue.js_commonjs-proxy.js +1 -0
  109. package/build/_virtual/_hasPath.js_commonjs-proxy.js +1 -0
  110. package/build/_virtual/_hashClear.js_commonjs-proxy.js +1 -0
  111. package/build/_virtual/_hashDelete.js_commonjs-proxy.js +1 -0
  112. package/build/_virtual/_hashGet.js_commonjs-proxy.js +1 -0
  113. package/build/_virtual/_hashHas.js_commonjs-proxy.js +1 -0
  114. package/build/_virtual/_hashSet.js_commonjs-proxy.js +1 -0
  115. package/build/_virtual/_initCloneArray.js_commonjs-proxy.js +1 -0
  116. package/build/_virtual/_initCloneByTag.js_commonjs-proxy.js +1 -0
  117. package/build/_virtual/_initCloneObject.js_commonjs-proxy.js +1 -0
  118. package/build/_virtual/_isFlattenable.js_commonjs-proxy.js +1 -0
  119. package/build/_virtual/_isIndex.js_commonjs-proxy.js +1 -0
  120. package/build/_virtual/_isIterateeCall.js_commonjs-proxy.js +1 -0
  121. package/build/_virtual/_isKey.js_commonjs-proxy.js +1 -0
  122. package/build/_virtual/_isKeyable.js_commonjs-proxy.js +1 -0
  123. package/build/_virtual/_isMasked.js_commonjs-proxy.js +1 -0
  124. package/build/_virtual/_isPrototype.js_commonjs-proxy.js +1 -0
  125. package/build/_virtual/_isStrictComparable.js_commonjs-proxy.js +1 -0
  126. package/build/_virtual/_listCacheClear.js_commonjs-proxy.js +1 -0
  127. package/build/_virtual/_listCacheDelete.js_commonjs-proxy.js +1 -0
  128. package/build/_virtual/_listCacheGet.js_commonjs-proxy.js +1 -0
  129. package/build/_virtual/_listCacheHas.js_commonjs-proxy.js +1 -0
  130. package/build/_virtual/_listCacheSet.js_commonjs-proxy.js +1 -0
  131. package/build/_virtual/_mapCacheClear.js_commonjs-proxy.js +1 -0
  132. package/build/_virtual/_mapCacheDelete.js_commonjs-proxy.js +1 -0
  133. package/build/_virtual/_mapCacheGet.js_commonjs-proxy.js +1 -0
  134. package/build/_virtual/_mapCacheHas.js_commonjs-proxy.js +1 -0
  135. package/build/_virtual/_mapCacheSet.js_commonjs-proxy.js +1 -0
  136. package/build/_virtual/_mapToArray.js_commonjs-proxy.js +1 -0
  137. package/build/_virtual/_matchesStrictComparable.js_commonjs-proxy.js +1 -0
  138. package/build/_virtual/_memoizeCapped.js_commonjs-proxy.js +1 -0
  139. package/build/_virtual/_nativeCreate.js_commonjs-proxy.js +1 -0
  140. package/build/_virtual/_nativeKeys.js_commonjs-proxy.js +1 -0
  141. package/build/_virtual/_nativeKeysIn.js_commonjs-proxy.js +1 -0
  142. package/build/_virtual/_nodeUtil.js_commonjs-proxy.js +1 -0
  143. package/build/_virtual/_objectToString.js_commonjs-proxy.js +1 -0
  144. package/build/_virtual/_overArg.js_commonjs-proxy.js +1 -0
  145. package/build/_virtual/_overRest.js_commonjs-proxy.js +1 -0
  146. package/build/_virtual/_registry.js_commonjs-proxy.js +1 -0
  147. package/build/_virtual/_root.js_commonjs-proxy.js +1 -0
  148. package/build/_virtual/_setCacheAdd.js_commonjs-proxy.js +1 -0
  149. package/build/_virtual/_setCacheHas.js_commonjs-proxy.js +1 -0
  150. package/build/_virtual/_setToArray.js_commonjs-proxy.js +1 -0
  151. package/build/_virtual/_setToString.js_commonjs-proxy.js +1 -0
  152. package/build/_virtual/_shortOut.js_commonjs-proxy.js +1 -0
  153. package/build/_virtual/_stackClear.js_commonjs-proxy.js +1 -0
  154. package/build/_virtual/_stackDelete.js_commonjs-proxy.js +1 -0
  155. package/build/_virtual/_stackGet.js_commonjs-proxy.js +1 -0
  156. package/build/_virtual/_stackHas.js_commonjs-proxy.js +1 -0
  157. package/build/_virtual/_stackSet.js_commonjs-proxy.js +1 -0
  158. package/build/_virtual/_stream_duplex.js_commonjs-proxy.js +1 -0
  159. package/build/_virtual/_stream_passthrough.js_commonjs-proxy.js +1 -0
  160. package/build/_virtual/_stream_readable.js_commonjs-proxy.js +1 -0
  161. package/build/_virtual/_stream_transform.js_commonjs-proxy.js +1 -0
  162. package/build/_virtual/_stream_writable.js_commonjs-proxy.js +1 -0
  163. package/build/_virtual/_strictIndexOf.js_commonjs-proxy.js +1 -0
  164. package/build/_virtual/_stringToPath.js_commonjs-proxy.js +1 -0
  165. package/build/_virtual/_toKey.js_commonjs-proxy.js +1 -0
  166. package/build/_virtual/_toSource.js_commonjs-proxy.js +1 -0
  167. package/build/_virtual/async_iterator.js_commonjs-proxy.js +1 -0
  168. package/build/_virtual/attributes-to-props.js_commonjs-proxy.js +1 -0
  169. package/build/_virtual/buffer_list.js_commonjs-proxy.js +1 -0
  170. package/build/_virtual/checkPropTypes.js_commonjs-proxy.js +1 -0
  171. package/build/_virtual/constant.js_commonjs-proxy.js +1 -0
  172. package/build/_virtual/decode_codepoint.js_commonjs-proxy.js +1 -0
  173. package/build/_virtual/destroy.js_commonjs-proxy.js +1 -0
  174. package/build/_virtual/dom-to-react.js_commonjs-proxy.js +1 -0
  175. package/build/_virtual/end-of-stream.js_commonjs-proxy.js +1 -0
  176. package/build/_virtual/eq.js_commonjs-proxy.js +1 -0
  177. package/build/_virtual/errors.js_commonjs-proxy.js +1 -0
  178. package/build/_virtual/factoryWithThrowingShims.js_commonjs-proxy.js +1 -0
  179. package/build/_virtual/factoryWithTypeCheckers.js_commonjs-proxy.js +1 -0
  180. package/build/_virtual/from.js_commonjs-proxy.js +1 -0
  181. package/build/_virtual/get.js_commonjs-proxy.js +1 -0
  182. package/build/_virtual/hasIn.js_commonjs-proxy.js +1 -0
  183. package/build/_virtual/html-to-dom.js_commonjs-proxy.js +1 -0
  184. package/build/_virtual/identity.js_commonjs-proxy.js +1 -0
  185. package/build/_virtual/index.js_commonjs-proxy.js +1 -0
  186. package/build/_virtual/index.js_commonjs-proxy10.js +1 -0
  187. package/build/_virtual/index.js_commonjs-proxy11.js +1 -0
  188. package/build/_virtual/index.js_commonjs-proxy12.js +1 -0
  189. package/build/_virtual/index.js_commonjs-proxy13.js +1 -0
  190. package/build/_virtual/index.js_commonjs-proxy2.js +1 -0
  191. package/build/_virtual/index.js_commonjs-proxy3.js +1 -0
  192. package/build/_virtual/index.js_commonjs-proxy4.js +1 -0
  193. package/build/_virtual/index.js_commonjs-proxy5.js +1 -0
  194. package/build/_virtual/index.js_commonjs-proxy6.js +1 -0
  195. package/build/_virtual/index.js_commonjs-proxy7.js +1 -0
  196. package/build/_virtual/index.js_commonjs-proxy8.js +1 -0
  197. package/build/_virtual/index.js_commonjs-proxy9.js +1 -0
  198. package/build/_virtual/inherits.js_commonjs-proxy.js +1 -0
  199. package/build/_virtual/inherits_browser.js_commonjs-proxy.js +1 -0
  200. package/build/_virtual/isArguments.js_commonjs-proxy.js +1 -0
  201. package/build/_virtual/isArray.js_commonjs-proxy.js +1 -0
  202. package/build/_virtual/isArrayLike.js_commonjs-proxy.js +1 -0
  203. package/build/_virtual/isBuffer.js_commonjs-proxy.js +1 -0
  204. package/build/_virtual/isFunction.js_commonjs-proxy.js +1 -0
  205. package/build/_virtual/isLength.js_commonjs-proxy.js +1 -0
  206. package/build/_virtual/isMap.js_commonjs-proxy.js +1 -0
  207. package/build/_virtual/isObject.js_commonjs-proxy.js +1 -0
  208. package/build/_virtual/isObjectLike.js_commonjs-proxy.js +1 -0
  209. package/build/_virtual/isSet.js_commonjs-proxy.js +1 -0
  210. package/build/_virtual/isSymbol.js_commonjs-proxy.js +1 -0
  211. package/build/_virtual/isTypedArray.js_commonjs-proxy.js +1 -0
  212. package/build/_virtual/keys.js_commonjs-proxy.js +1 -0
  213. package/build/_virtual/keysIn.js_commonjs-proxy.js +1 -0
  214. package/build/_virtual/memoize.js_commonjs-proxy.js +1 -0
  215. package/build/_virtual/node.js_commonjs-proxy.js +1 -0
  216. package/build/_virtual/node.js_commonjs-proxy2.js +1 -0
  217. package/build/_virtual/noop.js_commonjs-proxy.js +1 -0
  218. package/build/_virtual/now.js_commonjs-proxy.js +1 -0
  219. package/build/_virtual/parser.mjs_commonjs-proxy.js +1 -0
  220. package/build/_virtual/pipeline.js_commonjs-proxy.js +1 -0
  221. package/build/_virtual/possibleStandardNamesOptimized.js_commonjs-proxy.js +1 -0
  222. package/build/_virtual/property.js_commonjs-proxy.js +1 -0
  223. package/build/_virtual/react-is.development.js_commonjs-proxy.js +1 -0
  224. package/build/_virtual/react-is.production.min.js_commonjs-proxy.js +1 -0
  225. package/build/_virtual/readable.js_commonjs-proxy.js +1 -0
  226. package/build/_virtual/state.js_commonjs-proxy.js +1 -0
  227. package/build/_virtual/stream.js_commonjs-proxy.js +1 -0
  228. package/build/_virtual/string_decoder.js_commonjs-proxy.js +1 -0
  229. package/build/_virtual/stubArray.js_commonjs-proxy.js +1 -0
  230. package/build/_virtual/stubFalse.js_commonjs-proxy.js +1 -0
  231. package/build/_virtual/toNumber.js_commonjs-proxy.js +1 -0
  232. package/build/_virtual/toString.js_commonjs-proxy.js +1 -0
  233. package/build/_virtual/utilities.js_commonjs-proxy.js +1 -0
  234. package/build/_virtual/utilities.js_commonjs-proxy2.js +1 -0
  235. package/build/_virtual/utilities.js_commonjs-proxy3.js +1 -0
  236. package/build/analytics/analytics.d.ts +2 -2
  237. package/build/analytics/analytics.js +1 -0
  238. package/build/analytics/events.js +1 -0
  239. package/build/analytics/facebookPixel.d.ts +2 -2
  240. package/build/analytics/facebookPixel.js +1 -0
  241. package/build/analytics/googleTagManager.d.ts +3 -3
  242. package/build/analytics/googleTagManager.js +1 -0
  243. package/build/analytics/head/index.js +1 -0
  244. package/build/analytics/ikas.d.ts +2 -2
  245. package/build/analytics/ikas.js +1 -0
  246. package/build/analytics/index.d.ts +1 -1
  247. package/build/api/apollo.js +1 -0
  248. package/build/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +1 -1
  249. package/build/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +1 -1
  250. package/build/api/back-in-stock-reminder/index.js +1 -0
  251. package/build/api/blog/__generated__/getBlog.d.ts +17 -15
  252. package/build/api/blog/__generated__/listBlog.d.ts +17 -15
  253. package/build/api/blog/__generated__/listBlogCategory.d.ts +17 -15
  254. package/build/api/blog/__generated__/listBlogMetaData.d.ts +17 -15
  255. package/build/api/blog/index.d.ts +1 -1
  256. package/build/api/blog/index.js +1 -0
  257. package/build/api/brand/__generated__/listProductBrand.d.ts +4 -4
  258. package/build/api/brand/index.d.ts +1 -1
  259. package/build/api/brand/index.js +1 -0
  260. package/build/api/cart/__generated__/getCart.d.ts +5 -3
  261. package/build/api/cart/__generated__/saveItemToCart.d.ts +5 -3
  262. package/build/api/cart/index.d.ts +1 -1
  263. package/build/api/cart/index.js +1 -0
  264. package/build/api/category/__generated__/listCategory.d.ts +4 -4
  265. package/build/api/category/__generated__/listCategoryPaths.d.ts +1 -1
  266. package/build/api/category/index.d.ts +2 -2
  267. package/build/api/category/index.js +1 -0
  268. package/build/api/checkout/__generated__/checkStocks.d.ts +1 -1
  269. package/build/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +1 -1
  270. package/build/api/checkout/__generated__/getCheckoutById.d.ts +5 -3
  271. package/build/api/checkout/__generated__/getOrder.d.ts +12 -6
  272. package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +2 -2
  273. package/build/api/checkout/__generated__/listPaymentGateway.d.ts +1 -1
  274. package/build/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +1 -1
  275. package/build/api/checkout/__generated__/saveCheckout.d.ts +1 -1
  276. package/build/api/checkout/index.d.ts +3 -3
  277. package/build/api/checkout/index.js +1 -0
  278. package/build/api/city/__generated__/listCity.d.ts +1 -1
  279. package/build/api/city/index.d.ts +1 -1
  280. package/build/api/city/index.js +1 -0
  281. package/build/api/contact-form/index.js +1 -0
  282. package/build/api/country/__generated__/listCountry.d.ts +1 -1
  283. package/build/api/country/index.d.ts +1 -1
  284. package/build/api/country/index.js +1 -0
  285. package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +1 -1
  286. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +12 -6
  287. package/build/api/customer/__generated__/customerLogin.d.ts +6 -13
  288. package/build/api/customer/__generated__/getCustomerOrders.d.ts +12 -6
  289. package/build/api/customer/__generated__/getMyCustomer.d.ts +6 -5
  290. package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +1 -1
  291. package/build/api/customer/__generated__/listOrderTransactions.d.ts +1 -1
  292. package/build/api/customer/__generated__/registerCustomer.d.ts +6 -13
  293. package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +1 -1
  294. package/build/api/customer/__generated__/saveMyCustomer.d.ts +6 -13
  295. package/build/api/customer/index.d.ts +2 -7
  296. package/build/api/customer/index.js +1 -0
  297. package/build/api/customer-review/__generated__/createCustomerReview.d.ts +1 -1
  298. package/build/api/customer-review/__generated__/listCustomerReviews.d.ts +17 -15
  299. package/build/api/customer-review/index.d.ts +1 -1
  300. package/build/api/customer-review/index.js +1 -0
  301. package/build/api/district/__generated__/listDistrict.d.ts +1 -1
  302. package/build/api/district/index.d.ts +1 -1
  303. package/build/api/district/index.js +1 -0
  304. package/build/api/favorite-product/index.d.ts +1 -1
  305. package/build/api/favorite-product/index.js +1 -0
  306. package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +1 -1
  307. package/build/api/html-meta-data/index.d.ts +1 -1
  308. package/build/api/html-meta-data/index.js +1 -0
  309. package/build/api/index.d.ts +22 -20
  310. package/build/api/merchant/index.d.ts +1 -1
  311. package/build/api/merchant/index.js +1 -0
  312. package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +1 -1
  313. package/build/api/product-attribute/index.d.ts +1 -1
  314. package/build/api/product-option-set/__generated__/ListProductOptionSet.d.ts +1 -1
  315. package/build/api/product-option-set/index.d.ts +2 -4
  316. package/build/api/product-option-set/index.js +1 -0
  317. package/build/api/product-search/__generated__/getProductFilterData.d.ts +1 -1
  318. package/build/api/product-search/__generated__/searchProducts.d.ts +1 -1
  319. package/build/api/product-search/index.d.ts +3 -3
  320. package/build/api/product-search/index.js +1 -0
  321. package/build/api/raffle/__generated__/getRafflesByCustomerId.d.ts +44 -0
  322. package/build/api/raffle/__generated__/listRaffle.d.ts +83 -0
  323. package/build/api/raffle/__generated__/listRaffleMetaData.d.ts +22 -0
  324. package/build/api/raffle/__generated__/saveRaffleParticipant.d.ts +30 -0
  325. package/build/api/raffle/index.d.ts +24 -0
  326. package/build/api/raffle/index.js +1 -0
  327. package/build/api/state/__generated__/listState.d.ts +1 -1
  328. package/build/api/state/index.d.ts +1 -1
  329. package/build/api/state/index.js +1 -0
  330. package/build/api/storefront/__generated__/getStorefront.d.ts +1 -1
  331. package/build/api/storefront/index.d.ts +1 -1
  332. package/build/api/storefront/index.js +1 -0
  333. package/build/api/variant-type/__generated__/listVariantType.d.ts +8 -4
  334. package/build/api/variant-type/index.d.ts +1 -1
  335. package/build/assets/translations/checkout/en.js +1 -165
  336. package/build/assets/translations/checkout/tr.js +1 -164
  337. package/build/components/checkout/components/address-form/index.js +1 -0
  338. package/build/components/checkout/components/address-form/model.d.ts +2 -10
  339. package/build/components/checkout/components/address-form/model.js +1 -0
  340. package/build/components/checkout/components/button/index.js +1 -0
  341. package/build/components/checkout/components/button/style.module.scss.js +1 -0
  342. package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +2 -2
  343. package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -0
  344. package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -0
  345. package/build/components/checkout/components/cart-summary/index.js +1 -0
  346. package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -0
  347. package/build/components/checkout/components/checkbox/check.js +1 -0
  348. package/build/components/checkout/components/checkbox/index.js +1 -0
  349. package/build/components/checkout/components/checkbox/style.module.scss.js +1 -0
  350. package/build/components/checkout/components/credit-card-form/index.js +1 -0
  351. package/build/components/checkout/components/credit-card-form/model.js +1 -0
  352. package/build/components/checkout/components/credit-card-form/style.module.scss.js +1 -0
  353. package/build/components/checkout/components/credit-card-form/svg/amex.js +1 -0
  354. package/build/components/checkout/components/credit-card-form/svg/master-card.js +1 -0
  355. package/build/components/checkout/components/credit-card-form/svg/troy.js +1 -0
  356. package/build/components/checkout/components/credit-card-form/svg/visa.js +1 -0
  357. package/build/components/checkout/components/customer-addresses/index.js +1 -0
  358. package/build/components/checkout/components/customer-addresses/model.d.ts +2 -2
  359. package/build/components/checkout/components/customer-addresses/model.js +1 -0
  360. package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -0
  361. package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +1 -1
  362. package/build/components/checkout/components/error/customer-login-required-error/index.js +1 -0
  363. package/build/components/checkout/components/error/index.js +1 -0
  364. package/build/components/checkout/components/error/no-shipping-error/index.js +1 -0
  365. package/build/components/checkout/components/error/payment-error/index.d.ts +1 -1
  366. package/build/components/checkout/components/error/payment-error/index.js +1 -0
  367. package/build/components/checkout/components/error/stock-error/index.d.ts +1 -1
  368. package/build/components/checkout/components/error/stock-error/index.js +1 -0
  369. package/build/components/checkout/components/error/stock-error/style.module.scss.js +1 -0
  370. package/build/components/checkout/components/error/unknown-error/index.js +1 -0
  371. package/build/components/checkout/components/expandable-section/index.js +1 -0
  372. package/build/components/checkout/components/expandable-section/style.module.scss.js +1 -0
  373. package/build/components/checkout/components/form-item/caret-down.js +1 -0
  374. package/build/components/checkout/components/form-item/index.js +1 -0
  375. package/build/components/checkout/components/form-item/model.js +1 -0
  376. package/build/components/checkout/components/form-item/style.module.scss.js +1 -0
  377. package/build/components/checkout/components/fullscreen-loading/index.js +1 -0
  378. package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +1 -0
  379. package/build/components/checkout/components/input-with-button/index.js +1 -0
  380. package/build/components/checkout/components/input-with-button/style.module.scss.js +1 -0
  381. package/build/components/checkout/components/modal/index.js +1 -0
  382. package/build/components/checkout/components/modal/style.module.scss.js +1 -0
  383. package/build/components/checkout/components/notification-box/index.js +1 -0
  384. package/build/components/checkout/components/notification-box/style.module.scss.js +1 -0
  385. package/build/components/checkout/components/select-box/index.js +1 -0
  386. package/build/components/checkout/components/select-box/style.module.scss.js +1 -0
  387. package/build/components/checkout/components/step-container/index.js +1 -0
  388. package/build/components/checkout/components/step-container/style.module.scss.js +1 -0
  389. package/build/components/checkout/components/svg/arrow-down.js +1 -0
  390. package/build/components/checkout/components/svg/cross.js +1 -0
  391. package/build/components/checkout/components/svg/external.js +1 -0
  392. package/build/components/checkout/components/svg/gift.js +1 -0
  393. package/build/components/checkout/components/svg/ikas.js +1 -0
  394. package/build/components/checkout/components/svg/lock.js +1 -0
  395. package/build/components/checkout/components/svg/success-circle.js +1 -0
  396. package/build/components/checkout/components/svg/warning.js +1 -0
  397. package/build/components/checkout/components/toggle/index.js +1 -0
  398. package/build/components/checkout/components/toggle/style.module.scss.js +1 -0
  399. package/build/components/checkout/components/tooltip/index.js +1 -0
  400. package/build/components/checkout/components/tooltip/style.module.scss.js +1 -0
  401. package/build/components/checkout/index.d.ts +2 -2
  402. package/build/components/checkout/index.js +1 -0
  403. package/build/components/checkout/model.d.ts +8 -10
  404. package/build/components/checkout/model.js +1 -0
  405. package/build/components/checkout/steps/step-info/index.js +1 -0
  406. package/build/components/checkout/steps/step-payment/billing-address/index.js +1 -0
  407. package/build/components/checkout/steps/step-payment/index.js +1 -0
  408. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -0
  409. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +1 -0
  410. package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +1 -0
  411. package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +1 -0
  412. package/build/components/checkout/steps/step-payment/style.module.scss.js +1 -0
  413. package/build/components/checkout/steps/step-shipping/index.js +1 -0
  414. package/build/components/checkout/steps/step-shipping/style.module.scss.js +1 -0
  415. package/build/components/checkout/steps/step-success/index.js +1 -0
  416. package/build/components/checkout/steps/step-success/style.module.scss.js +1 -0
  417. package/build/components/checkout/style.module.scss.js +1 -0
  418. package/build/components/checkout/styles/common.module.scss.js +1 -0
  419. package/build/components/image/index.d.ts +2 -2
  420. package/build/components/image/index.js +1 -0
  421. package/build/components/index.d.ts +3 -3
  422. package/build/components/page/ThemeComponent.d.ts +13 -2
  423. package/build/components/page/ThemeComponent.js +1 -0
  424. package/build/components/page/head.d.ts +1 -1
  425. package/build/components/page/head.js +1 -0
  426. package/build/components/page/index.d.ts +2 -1
  427. package/build/components/page/index.js +1 -0
  428. package/build/components/page-editor/ThemeComponentEditor.d.ts +26 -2
  429. package/build/components/page-editor/ThemeComponentEditor.js +1 -0
  430. package/build/components/{error → page-editor/error}/index.d.ts +0 -0
  431. package/build/components/page-editor/error/index.js +1 -0
  432. package/build/components/page-editor/index.js +1 -0
  433. package/build/components/page-editor/loader/index.d.ts +2 -0
  434. package/build/components/page-editor/loader/index.js +1 -0
  435. package/build/components/page-editor/loader/style.module.scss.js +1 -0
  436. package/build/components/page-editor/model.d.ts +3 -3
  437. package/build/components/page-editor/model.js +1 -0
  438. package/build/ext/@apollo/client/cache/core/cache.js +1 -0
  439. package/build/ext/@apollo/client/cache/core/types/common.js +1 -0
  440. package/build/ext/@apollo/client/cache/inmemory/entityStore.js +1 -0
  441. package/build/ext/@apollo/client/cache/inmemory/helpers.js +1 -0
  442. package/build/ext/@apollo/client/cache/inmemory/inMemoryCache.js +1 -0
  443. package/build/ext/@apollo/client/cache/inmemory/policies.js +1 -0
  444. package/build/ext/@apollo/client/cache/inmemory/reactiveVars.js +1 -0
  445. package/build/ext/@apollo/client/cache/inmemory/readFromStore.js +1 -0
  446. package/build/ext/@apollo/client/cache/inmemory/writeToStore.js +1 -0
  447. package/build/ext/@apollo/client/core/ApolloClient.js +1 -0
  448. package/build/ext/@apollo/client/core/LocalState.js +1 -0
  449. package/build/ext/@apollo/client/core/ObservableQuery.js +1 -0
  450. package/build/ext/@apollo/client/core/QueryInfo.js +1 -0
  451. package/build/ext/@apollo/client/core/QueryManager.js +1 -0
  452. package/build/ext/@apollo/client/core/Reobserver.js +1 -0
  453. package/build/ext/@apollo/client/core/networkStatus.js +1 -0
  454. package/build/ext/@apollo/client/errors/index.js +1 -0
  455. package/build/ext/@apollo/client/link/context/index.js +1 -0
  456. package/build/ext/@apollo/client/link/core/ApolloLink.js +1 -0
  457. package/build/ext/@apollo/client/link/core/execute.js +1 -0
  458. package/build/ext/@apollo/client/link/error/index.js +1 -0
  459. package/build/ext/@apollo/client/link/http/HttpLink.js +1 -0
  460. package/build/ext/@apollo/client/link/http/checkFetcher.js +1 -0
  461. package/build/ext/@apollo/client/link/http/createHttpLink.js +1 -0
  462. package/build/ext/@apollo/client/link/http/createSignalIfSupported.js +1 -0
  463. package/build/ext/@apollo/client/link/http/parseAndCheckHttpResponse.js +1 -0
  464. package/build/ext/@apollo/client/link/http/rewriteURIForGET.js +1 -0
  465. package/build/ext/@apollo/client/link/http/selectHttpOptionsAndBody.js +1 -0
  466. package/build/ext/@apollo/client/link/http/selectURI.js +1 -0
  467. package/build/ext/@apollo/client/link/http/serializeFetchParameter.js +1 -0
  468. package/build/ext/@apollo/client/link/utils/createOperation.js +1 -0
  469. package/build/ext/@apollo/client/link/utils/fromError.js +1 -0
  470. package/build/ext/@apollo/client/link/utils/throwServerError.js +1 -0
  471. package/build/ext/@apollo/client/link/utils/transformOperation.js +1 -0
  472. package/build/ext/@apollo/client/link/utils/validateOperation.js +1 -0
  473. package/build/ext/@apollo/client/utilities/common/arrays.js +1 -0
  474. package/build/ext/@apollo/client/utilities/common/canUse.js +1 -0
  475. package/build/ext/@apollo/client/utilities/common/cloneDeep.js +1 -0
  476. package/build/ext/@apollo/client/utilities/common/compact.js +1 -0
  477. package/build/ext/@apollo/client/utilities/common/environment.js +1 -0
  478. package/build/ext/@apollo/client/utilities/common/errorHandling.js +1 -0
  479. package/build/ext/@apollo/client/utilities/common/filterInPlace.js +1 -0
  480. package/build/ext/@apollo/client/utilities/common/maybeDeepFreeze.js +1 -0
  481. package/build/ext/@apollo/client/utilities/common/mergeDeep.js +1 -0
  482. package/build/ext/@apollo/client/utilities/graphql/directives.js +1 -0
  483. package/build/ext/@apollo/client/utilities/graphql/fragments.js +1 -0
  484. package/build/ext/@apollo/client/utilities/graphql/getFromAST.js +1 -0
  485. package/build/ext/@apollo/client/utilities/graphql/storeUtils.js +1 -0
  486. package/build/ext/@apollo/client/utilities/graphql/transform.js +1 -0
  487. package/build/ext/@apollo/client/utilities/observables/Concast.js +1 -0
  488. package/build/ext/@apollo/client/utilities/observables/Observable.js +1 -0
  489. package/build/ext/@apollo/client/utilities/observables/asyncMap.js +1 -0
  490. package/build/ext/@apollo/client/utilities/observables/iteration.js +1 -0
  491. package/build/ext/@apollo/client/version.js +1 -0
  492. package/build/ext/@ikas/react-phone-number-input/locale/en.json.js +1 -0
  493. package/build/ext/@ikas/react-phone-number-input/min/index.js +1 -0
  494. package/build/ext/@ikas/react-phone-number-input/modules/CountryIcon.js +1 -0
  495. package/build/ext/@ikas/react-phone-number-input/modules/CountrySelect.js +1 -0
  496. package/build/ext/@ikas/react-phone-number-input/modules/Flag.js +1 -0
  497. package/build/ext/@ikas/react-phone-number-input/modules/InputBasic.js +1 -0
  498. package/build/ext/@ikas/react-phone-number-input/modules/InputSmart.js +1 -0
  499. package/build/ext/@ikas/react-phone-number-input/modules/InternationalIcon.js +1 -0
  500. package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountry.js +1 -0
  501. package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountryDefault.js +1 -0
  502. package/build/ext/@ikas/react-phone-number-input/modules/PropTypes.js +1 -0
  503. package/build/ext/@ikas/react-phone-number-input/modules/helpers/countries.js +1 -0
  504. package/build/ext/@ikas/react-phone-number-input/modules/helpers/getInternationalPhoneNumberPrefix.js +1 -0
  505. package/build/ext/@ikas/react-phone-number-input/modules/helpers/getPhoneInputWithCountryStateUpdateFromNewProps.js +1 -0
  506. package/build/ext/@ikas/react-phone-number-input/modules/helpers/inputValuePrefix.js +1 -0
  507. package/build/ext/@ikas/react-phone-number-input/modules/helpers/phoneInputHelpers.js +1 -0
  508. package/build/ext/@ungap/global-this/esm/index.js +1 -0
  509. package/build/ext/@wry/context/lib/context.esm.js +1 -0
  510. package/build/ext/@wry/equality/lib/equality.esm.js +1 -0
  511. package/build/ext/@wry/trie/lib/trie.esm.js +1 -0
  512. package/build/ext/classnames/index.js +6 -0
  513. package/build/ext/country-flag-icons/modules/unicode.js +1 -0
  514. package/build/ext/decode-uri-component/index.js +1 -0
  515. package/build/ext/domhandler/ext/domelementtype/lib/index.js +1 -0
  516. package/build/ext/domhandler/lib/index.js +1 -0
  517. package/build/ext/domhandler/lib/node.js +1 -0
  518. package/build/ext/entities/lib/decode_codepoint.js +1 -0
  519. package/build/ext/entities/lib/maps/decode.json.js +1 -0
  520. package/build/ext/entities/lib/maps/entities.json.js +1 -0
  521. package/build/ext/entities/lib/maps/legacy.json.js +1 -0
  522. package/build/ext/entities/lib/maps/xml.json.js +1 -0
  523. package/build/ext/fast-json-stable-stringify/index.js +1 -0
  524. package/build/ext/graphql/error/GraphQLError.mjs.js +1 -0
  525. package/build/ext/graphql/error/syntaxError.mjs.js +1 -0
  526. package/build/ext/graphql/jsutils/defineInspect.mjs.js +1 -0
  527. package/build/ext/graphql/jsutils/devAssert.mjs.js +1 -0
  528. package/build/ext/graphql/jsutils/inspect.mjs.js +1 -0
  529. package/build/ext/graphql/jsutils/instanceOf.mjs.js +1 -0
  530. package/build/ext/graphql/jsutils/invariant.mjs.js +1 -0
  531. package/build/ext/graphql/jsutils/isObjectLike.mjs.js +1 -0
  532. package/build/ext/graphql/jsutils/nodejsCustomInspectSymbol.mjs.js +1 -0
  533. package/build/ext/graphql/language/ast.mjs.js +1 -0
  534. package/build/ext/graphql/language/blockString.mjs.js +1 -0
  535. package/build/ext/graphql/language/directiveLocation.mjs.js +1 -0
  536. package/build/ext/graphql/language/kinds.mjs.js +1 -0
  537. package/build/ext/graphql/language/lexer.mjs.js +1 -0
  538. package/build/ext/graphql/language/location.mjs.js +1 -0
  539. package/build/ext/graphql/language/parser.mjs.js +1 -0
  540. package/build/ext/graphql/language/printLocation.mjs.js +1 -0
  541. package/build/ext/graphql/language/printer.mjs.js +1 -0
  542. package/build/ext/graphql/language/source.mjs.js +1 -0
  543. package/build/ext/graphql/language/tokenKind.mjs.js +1 -0
  544. package/build/ext/graphql/language/visitor.mjs.js +1 -0
  545. package/build/ext/graphql/polyfills/symbols.mjs.js +1 -0
  546. package/build/ext/graphql-tag/src/index.js +1 -0
  547. package/build/ext/html-dom-parser/index.js +1 -0
  548. package/build/ext/html-dom-parser/lib/server/html-to-dom.js +1 -0
  549. package/build/ext/html-dom-parser/lib/server/utilities.js +1 -0
  550. package/build/ext/html-react-parser/index.js +1 -0
  551. package/build/ext/html-react-parser/index.mjs.js +1 -0
  552. package/build/ext/html-react-parser/lib/attributes-to-props.js +1 -0
  553. package/build/ext/html-react-parser/lib/dom-to-react.js +1 -0
  554. package/build/ext/html-react-parser/lib/utilities.js +1 -0
  555. package/build/ext/htmlparser2/lib/Parser.js +1 -0
  556. package/build/ext/htmlparser2/lib/Tokenizer.js +1 -0
  557. package/build/ext/inherits/inherits.js +1 -0
  558. package/build/ext/inherits/inherits_browser.js +1 -0
  559. package/build/ext/inline-style-parser/index.js +1 -0
  560. package/build/ext/input-format/modules/closeBraces.js +1 -0
  561. package/build/ext/input-format/modules/dom.js +1 -0
  562. package/build/ext/input-format/modules/edit.js +1 -0
  563. package/build/ext/input-format/modules/format.js +1 -0
  564. package/build/ext/input-format/modules/helpers.js +1 -0
  565. package/build/ext/input-format/modules/inputControl.js +1 -0
  566. package/build/ext/input-format/modules/parse.js +1 -0
  567. package/build/ext/input-format/modules/react/Input.js +1 -0
  568. package/build/ext/input-format/modules/templateFormatter.js +1 -0
  569. package/build/ext/libphonenumber-js/es6/AsYouType.js +1 -0
  570. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +1 -0
  571. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +1 -0
  572. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.js +1 -0
  573. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.util.js +1 -0
  574. package/build/ext/libphonenumber-js/es6/AsYouTypeParser.js +1 -0
  575. package/build/ext/libphonenumber-js/es6/AsYouTypeState.js +1 -0
  576. package/build/ext/libphonenumber-js/es6/ParseError.js +1 -0
  577. package/build/ext/libphonenumber-js/es6/PhoneNumber.js +1 -0
  578. package/build/ext/libphonenumber-js/es6/constants.js +1 -0
  579. package/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +1 -0
  580. package/build/ext/libphonenumber-js/es6/format_.js +1 -0
  581. package/build/ext/libphonenumber-js/es6/getCountries.js +1 -0
  582. package/build/ext/libphonenumber-js/es6/helpers/RFC3966.js +1 -0
  583. package/build/ext/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +1 -0
  584. package/build/ext/libphonenumber-js/es6/helpers/checkNumberLength.js +1 -0
  585. package/build/ext/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +1 -0
  586. package/build/ext/libphonenumber-js/es6/helpers/extension/extractExtension.js +1 -0
  587. package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +1 -0
  588. package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +1 -0
  589. package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumber.js +1 -0
  590. package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +1 -0
  591. package/build/ext/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +1 -0
  592. package/build/ext/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +1 -0
  593. package/build/ext/libphonenumber-js/es6/helpers/getIddPrefix.js +1 -0
  594. package/build/ext/libphonenumber-js/es6/helpers/getNumberType.js +1 -0
  595. package/build/ext/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +1 -0
  596. package/build/ext/libphonenumber-js/es6/helpers/matchesEntirely.js +1 -0
  597. package/build/ext/libphonenumber-js/es6/helpers/mergeArrays.js +1 -0
  598. package/build/ext/libphonenumber-js/es6/helpers/parseDigits.js +1 -0
  599. package/build/ext/libphonenumber-js/es6/helpers/stripIddPrefix.js +1 -0
  600. package/build/ext/libphonenumber-js/es6/isPossibleNumber_.js +1 -0
  601. package/build/ext/libphonenumber-js/es6/metadata.js +1 -0
  602. package/build/ext/libphonenumber-js/es6/parseIncompletePhoneNumber.js +1 -0
  603. package/build/ext/libphonenumber-js/es6/parsePhoneNumber.js +1 -0
  604. package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString.js +1 -0
  605. package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString_.js +1 -0
  606. package/build/ext/libphonenumber-js/es6/parsePhoneNumber_.js +1 -0
  607. package/build/ext/libphonenumber-js/es6/parse_.js +1 -0
  608. package/build/ext/libphonenumber-js/es6/tools/semver-compare.js +1 -0
  609. package/build/ext/libphonenumber-js/es6/validate_.js +1 -0
  610. package/build/ext/libphonenumber-js/metadata.min.json.js +1 -0
  611. package/build/ext/lodash/_DataView.js +1 -0
  612. package/build/ext/lodash/_Hash.js +1 -0
  613. package/build/ext/lodash/_ListCache.js +1 -0
  614. package/build/ext/lodash/_Map.js +1 -0
  615. package/build/ext/lodash/_MapCache.js +1 -0
  616. package/build/ext/lodash/_Promise.js +1 -0
  617. package/build/ext/lodash/_Set.js +1 -0
  618. package/build/ext/lodash/_SetCache.js +1 -0
  619. package/build/ext/lodash/_Stack.js +1 -0
  620. package/build/ext/lodash/_Symbol.js +1 -0
  621. package/build/ext/lodash/_Uint8Array.js +1 -0
  622. package/build/ext/lodash/_WeakMap.js +1 -0
  623. package/build/ext/lodash/_apply.js +1 -0
  624. package/build/ext/lodash/_arrayAggregator.js +1 -0
  625. package/build/ext/lodash/_arrayEach.js +1 -0
  626. package/build/ext/lodash/_arrayFilter.js +1 -0
  627. package/build/ext/lodash/_arrayIncludes.js +1 -0
  628. package/build/ext/lodash/_arrayIncludesWith.js +1 -0
  629. package/build/ext/lodash/_arrayLikeKeys.js +1 -0
  630. package/build/ext/lodash/_arrayMap.js +1 -0
  631. package/build/ext/lodash/_arrayPush.js +1 -0
  632. package/build/ext/lodash/_arraySome.js +1 -0
  633. package/build/ext/lodash/_assignValue.js +1 -0
  634. package/build/ext/lodash/_assocIndexOf.js +1 -0
  635. package/build/ext/lodash/_baseAggregator.js +1 -0
  636. package/build/ext/lodash/_baseAssign.js +1 -0
  637. package/build/ext/lodash/_baseAssignIn.js +1 -0
  638. package/build/ext/lodash/_baseAssignValue.js +1 -0
  639. package/build/ext/lodash/_baseClone.js +1 -0
  640. package/build/ext/lodash/_baseCreate.js +1 -0
  641. package/build/ext/lodash/_baseEach.js +1 -0
  642. package/build/ext/lodash/_baseFindIndex.js +1 -0
  643. package/build/ext/lodash/_baseFlatten.js +1 -0
  644. package/build/ext/lodash/_baseFor.js +1 -0
  645. package/build/ext/lodash/_baseForOwn.js +1 -0
  646. package/build/ext/lodash/_baseGet.js +1 -0
  647. package/build/ext/lodash/_baseGetAllKeys.js +1 -0
  648. package/build/ext/lodash/_baseGetTag.js +1 -0
  649. package/build/ext/lodash/_baseHasIn.js +1 -0
  650. package/build/ext/lodash/_baseIndexOf.js +1 -0
  651. package/build/ext/lodash/_baseIsArguments.js +1 -0
  652. package/build/ext/lodash/_baseIsEqual.js +1 -0
  653. package/build/ext/lodash/_baseIsEqualDeep.js +1 -0
  654. package/build/ext/lodash/_baseIsMap.js +1 -0
  655. package/build/ext/lodash/_baseIsMatch.js +1 -0
  656. package/build/ext/lodash/_baseIsNaN.js +1 -0
  657. package/build/ext/lodash/_baseIsNative.js +1 -0
  658. package/build/ext/lodash/_baseIsSet.js +1 -0
  659. package/build/ext/lodash/_baseIsTypedArray.js +1 -0
  660. package/build/ext/lodash/_baseIteratee.js +1 -0
  661. package/build/ext/lodash/_baseKeys.js +1 -0
  662. package/build/ext/lodash/_baseKeysIn.js +1 -0
  663. package/build/ext/lodash/_baseMap.js +1 -0
  664. package/build/ext/lodash/_baseMatches.js +1 -0
  665. package/build/ext/lodash/_baseMatchesProperty.js +1 -0
  666. package/build/ext/lodash/_baseOrderBy.js +1 -0
  667. package/build/ext/lodash/_baseProperty.js +1 -0
  668. package/build/ext/lodash/_basePropertyDeep.js +1 -0
  669. package/build/ext/lodash/_baseRest.js +1 -0
  670. package/build/ext/lodash/_baseSetToString.js +1 -0
  671. package/build/ext/lodash/_baseSortBy.js +1 -0
  672. package/build/ext/lodash/_baseTimes.js +1 -0
  673. package/build/ext/lodash/_baseToString.js +1 -0
  674. package/build/ext/lodash/_baseUnary.js +1 -0
  675. package/build/ext/lodash/_baseUniq.js +1 -0
  676. package/build/ext/lodash/_cacheHas.js +1 -0
  677. package/build/ext/lodash/_castFunction.js +1 -0
  678. package/build/ext/lodash/_castPath.js +1 -0
  679. package/build/ext/lodash/_cloneArrayBuffer.js +1 -0
  680. package/build/ext/lodash/_cloneBuffer.js +1 -0
  681. package/build/ext/lodash/_cloneDataView.js +1 -0
  682. package/build/ext/lodash/_cloneRegExp.js +1 -0
  683. package/build/ext/lodash/_cloneSymbol.js +1 -0
  684. package/build/ext/lodash/_cloneTypedArray.js +1 -0
  685. package/build/ext/lodash/_compareAscending.js +1 -0
  686. package/build/ext/lodash/_compareMultiple.js +1 -0
  687. package/build/ext/lodash/_copyArray.js +1 -0
  688. package/build/ext/lodash/_copyObject.js +1 -0
  689. package/build/ext/lodash/_copySymbols.js +1 -0
  690. package/build/ext/lodash/_copySymbolsIn.js +1 -0
  691. package/build/ext/lodash/_coreJsData.js +1 -0
  692. package/build/ext/lodash/_createAggregator.js +1 -0
  693. package/build/ext/lodash/_createBaseEach.js +1 -0
  694. package/build/ext/lodash/_createBaseFor.js +1 -0
  695. package/build/ext/lodash/_createSet.js +1 -0
  696. package/build/ext/lodash/_defineProperty.js +1 -0
  697. package/build/ext/lodash/_equalArrays.js +1 -0
  698. package/build/ext/lodash/_equalByTag.js +1 -0
  699. package/build/ext/lodash/_equalObjects.js +1 -0
  700. package/build/ext/lodash/_freeGlobal.js +1 -0
  701. package/build/ext/lodash/_getAllKeys.js +1 -0
  702. package/build/ext/lodash/_getAllKeysIn.js +1 -0
  703. package/build/ext/lodash/_getMapData.js +1 -0
  704. package/build/ext/lodash/_getMatchData.js +1 -0
  705. package/build/ext/lodash/_getNative.js +1 -0
  706. package/build/ext/lodash/_getPrototype.js +1 -0
  707. package/build/ext/lodash/_getRawTag.js +1 -0
  708. package/build/ext/lodash/_getSymbols.js +1 -0
  709. package/build/ext/lodash/_getSymbolsIn.js +1 -0
  710. package/build/ext/lodash/_getTag.js +1 -0
  711. package/build/ext/lodash/_getValue.js +1 -0
  712. package/build/ext/lodash/_hasPath.js +1 -0
  713. package/build/ext/lodash/_hashClear.js +1 -0
  714. package/build/ext/lodash/_hashDelete.js +1 -0
  715. package/build/ext/lodash/_hashGet.js +1 -0
  716. package/build/ext/lodash/_hashHas.js +1 -0
  717. package/build/ext/lodash/_hashSet.js +1 -0
  718. package/build/ext/lodash/_initCloneArray.js +1 -0
  719. package/build/ext/lodash/_initCloneByTag.js +1 -0
  720. package/build/ext/lodash/_initCloneObject.js +1 -0
  721. package/build/ext/lodash/_isFlattenable.js +1 -0
  722. package/build/ext/lodash/_isIndex.js +1 -0
  723. package/build/ext/lodash/_isIterateeCall.js +1 -0
  724. package/build/ext/lodash/_isKey.js +1 -0
  725. package/build/ext/lodash/_isKeyable.js +1 -0
  726. package/build/ext/lodash/_isMasked.js +1 -0
  727. package/build/ext/lodash/_isPrototype.js +1 -0
  728. package/build/ext/lodash/_isStrictComparable.js +1 -0
  729. package/build/ext/lodash/_listCacheClear.js +1 -0
  730. package/build/ext/lodash/_listCacheDelete.js +1 -0
  731. package/build/ext/lodash/_listCacheGet.js +1 -0
  732. package/build/ext/lodash/_listCacheHas.js +1 -0
  733. package/build/ext/lodash/_listCacheSet.js +1 -0
  734. package/build/ext/lodash/_mapCacheClear.js +1 -0
  735. package/build/ext/lodash/_mapCacheDelete.js +1 -0
  736. package/build/ext/lodash/_mapCacheGet.js +1 -0
  737. package/build/ext/lodash/_mapCacheHas.js +1 -0
  738. package/build/ext/lodash/_mapCacheSet.js +1 -0
  739. package/build/ext/lodash/_mapToArray.js +1 -0
  740. package/build/ext/lodash/_matchesStrictComparable.js +1 -0
  741. package/build/ext/lodash/_memoizeCapped.js +1 -0
  742. package/build/ext/lodash/_nativeCreate.js +1 -0
  743. package/build/ext/lodash/_nativeKeys.js +1 -0
  744. package/build/ext/lodash/_nativeKeysIn.js +1 -0
  745. package/build/ext/lodash/_nodeUtil.js +1 -0
  746. package/build/ext/lodash/_objectToString.js +1 -0
  747. package/build/ext/lodash/_overArg.js +1 -0
  748. package/build/ext/lodash/_overRest.js +1 -0
  749. package/build/ext/lodash/_root.js +1 -0
  750. package/build/ext/lodash/_setCacheAdd.js +1 -0
  751. package/build/ext/lodash/_setCacheHas.js +1 -0
  752. package/build/ext/lodash/_setToArray.js +1 -0
  753. package/build/ext/lodash/_setToString.js +1 -0
  754. package/build/ext/lodash/_shortOut.js +1 -0
  755. package/build/ext/lodash/_stackClear.js +1 -0
  756. package/build/ext/lodash/_stackDelete.js +1 -0
  757. package/build/ext/lodash/_stackGet.js +1 -0
  758. package/build/ext/lodash/_stackHas.js +1 -0
  759. package/build/ext/lodash/_stackSet.js +1 -0
  760. package/build/ext/lodash/_strictIndexOf.js +1 -0
  761. package/build/ext/lodash/_stringToPath.js +1 -0
  762. package/build/ext/lodash/_toKey.js +1 -0
  763. package/build/ext/lodash/_toSource.js +1 -0
  764. package/build/ext/lodash/cloneDeep.js +1 -0
  765. package/build/ext/lodash/constant.js +1 -0
  766. package/build/ext/lodash/debounce.js +1 -0
  767. package/build/ext/lodash/eq.js +1 -0
  768. package/build/ext/lodash/flatten.js +1 -0
  769. package/build/ext/lodash/forEach.js +1 -0
  770. package/build/ext/lodash/get.js +1 -0
  771. package/build/ext/lodash/groupBy.js +1 -0
  772. package/build/ext/lodash/hasIn.js +1 -0
  773. package/build/ext/lodash/identity.js +1 -0
  774. package/build/ext/lodash/isArguments.js +1 -0
  775. package/build/ext/lodash/isArray.js +1 -0
  776. package/build/ext/lodash/isArrayLike.js +1 -0
  777. package/build/ext/lodash/isBuffer.js +1 -0
  778. package/build/ext/lodash/isFunction.js +1 -0
  779. package/build/ext/lodash/isLength.js +1 -0
  780. package/build/ext/lodash/isMap.js +1 -0
  781. package/build/ext/lodash/isObject.js +1 -0
  782. package/build/ext/lodash/isObjectLike.js +1 -0
  783. package/build/ext/lodash/isSet.js +1 -0
  784. package/build/ext/lodash/isSymbol.js +1 -0
  785. package/build/ext/lodash/isTypedArray.js +1 -0
  786. package/build/ext/lodash/keys.js +1 -0
  787. package/build/ext/lodash/keysIn.js +1 -0
  788. package/build/ext/lodash/memoize.js +1 -0
  789. package/build/ext/lodash/noop.js +1 -0
  790. package/build/ext/lodash/now.js +1 -0
  791. package/build/ext/lodash/property.js +1 -0
  792. package/build/ext/lodash/sortBy.js +1 -0
  793. package/build/ext/lodash/stubArray.js +1 -0
  794. package/build/ext/lodash/stubFalse.js +1 -0
  795. package/build/ext/lodash/toNumber.js +1 -0
  796. package/build/ext/lodash/toString.js +1 -0
  797. package/build/ext/lodash/uniq.js +1 -0
  798. package/build/ext/lodash/uniqBy.js +1 -0
  799. package/build/ext/lzutf8/build/production/lzutf8.js +11 -0
  800. package/build/ext/object-assign/index.js +6 -0
  801. package/build/ext/optimism/lib/bundle.esm.js +1 -0
  802. package/build/ext/prop-types/checkPropTypes.js +1 -0
  803. package/build/ext/prop-types/factoryWithThrowingShims.js +1 -0
  804. package/build/ext/prop-types/factoryWithTypeCheckers.js +1 -0
  805. package/build/ext/prop-types/index.js +1 -0
  806. package/build/ext/prop-types/lib/ReactPropTypesSecret.js +1 -0
  807. package/build/ext/query-string/index.js +1 -0
  808. package/build/ext/react-is/cjs/react-is.development.js +9 -0
  809. package/build/ext/react-is/cjs/react-is.production.min.js +9 -0
  810. package/build/ext/react-is/index.js +1 -0
  811. package/build/ext/react-property/lib/index.js +1 -0
  812. package/build/ext/react-property/lib/possibleStandardNamesOptimized.js +1 -0
  813. package/build/ext/react-tooltip/dist/index.es.js +1 -0
  814. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/bytesToUuid.js +1 -0
  815. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/rng.js +1 -0
  816. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/v4.js +1 -0
  817. package/build/ext/readable-stream/errors.js +1 -0
  818. package/build/ext/readable-stream/lib/_registry.js +1 -0
  819. package/build/ext/readable-stream/lib/_stream_duplex.js +1 -0
  820. package/build/ext/readable-stream/lib/_stream_passthrough.js +1 -0
  821. package/build/ext/readable-stream/lib/_stream_readable.js +1 -0
  822. package/build/ext/readable-stream/lib/_stream_transform.js +1 -0
  823. package/build/ext/readable-stream/lib/_stream_writable.js +1 -0
  824. package/build/ext/readable-stream/lib/internal/streams/async_iterator.js +1 -0
  825. package/build/ext/readable-stream/lib/internal/streams/buffer_list.js +1 -0
  826. package/build/ext/readable-stream/lib/internal/streams/destroy.js +1 -0
  827. package/build/ext/readable-stream/lib/internal/streams/end-of-stream.js +1 -0
  828. package/build/ext/readable-stream/lib/internal/streams/from.js +1 -0
  829. package/build/ext/readable-stream/lib/internal/streams/pipeline.js +1 -0
  830. package/build/ext/readable-stream/lib/internal/streams/state.js +1 -0
  831. package/build/ext/readable-stream/lib/internal/streams/stream.js +1 -0
  832. package/build/ext/readable-stream/readable.js +1 -0
  833. package/build/ext/safe-buffer/index.js +1 -0
  834. package/build/ext/split-on-first/index.js +1 -0
  835. package/build/ext/strict-uri-encode/index.js +1 -0
  836. package/build/ext/string_decoder/lib/string_decoder.js +1 -0
  837. package/build/ext/style-inject/dist/style-inject.es.js +1 -0
  838. package/build/ext/style-to-js/cjs/index.js +1 -0
  839. package/build/ext/style-to-js/cjs/utilities.js +1 -0
  840. package/build/ext/style-to-object/index.js +1 -0
  841. package/build/ext/symbol-observable/es/index.js +1 -0
  842. package/build/ext/symbol-observable/es/ponyfill.js +1 -0
  843. package/build/ext/ts-invariant/lib/invariant.esm.js +1 -0
  844. package/build/ext/tslib/tslib.es6.js +15 -0
  845. package/build/ext/util-deprecate/node.js +1 -0
  846. package/build/ext/uuid/dist/esm-browser/regex.js +1 -0
  847. package/build/ext/uuid/dist/esm-browser/rng.js +1 -0
  848. package/build/ext/uuid/dist/esm-browser/stringify.js +1 -0
  849. package/build/ext/uuid/dist/esm-browser/v4.js +1 -0
  850. package/build/ext/uuid/dist/esm-browser/validate.js +1 -0
  851. package/build/ext/zen-observable/index.js +1 -0
  852. package/build/ext/zen-observable/lib/Observable.js +1 -0
  853. package/build/ikas.js +16 -0
  854. package/build/index.d.ts +9 -8
  855. package/build/index.js +1 -74756
  856. package/build/models/data/blog/index.d.ts +1 -1
  857. package/build/models/data/blog/index.js +1 -0
  858. package/build/models/data/brand/index.d.ts +2 -2
  859. package/build/models/data/brand/index.js +1 -0
  860. package/build/models/data/cart/index.d.ts +2 -2
  861. package/build/models/data/cart/index.js +1 -0
  862. package/build/models/data/category/index.d.ts +2 -2
  863. package/build/models/data/category/index.js +1 -0
  864. package/build/models/data/checkout/index.d.ts +6 -6
  865. package/build/models/data/checkout/index.js +1 -0
  866. package/build/models/data/checkout-settings/index.d.ts +1 -1
  867. package/build/models/data/checkout-settings/index.js +1 -0
  868. package/build/models/data/contact-form/index.js +1 -0
  869. package/build/models/data/customer/address/index.d.ts +2 -5
  870. package/build/models/data/customer/address/index.js +1 -0
  871. package/build/models/data/customer/index.d.ts +1 -1
  872. package/build/models/data/customer/index.js +1 -0
  873. package/build/models/data/customer-review/index.js +1 -0
  874. package/build/models/data/favorite-product/index.js +1 -0
  875. package/build/models/data/html-meta-data/index.js +1 -0
  876. package/build/models/data/image/index.js +1 -0
  877. package/build/models/data/index.d.ts +36 -32
  878. package/build/models/data/installment-info/index.js +1 -0
  879. package/build/models/data/merchant-settings/index.d.ts +1 -1
  880. package/build/models/data/merchant-settings/index.js +1 -0
  881. package/build/models/data/order/address/index.d.ts +2 -3
  882. package/build/models/data/order/address/index.js +1 -0
  883. package/build/models/data/order/index.d.ts +4 -3
  884. package/build/models/data/order/index.js +1 -0
  885. package/build/models/data/order/line-item/discount/index.js +1 -0
  886. package/build/models/data/order/line-item/index.d.ts +3 -4
  887. package/build/models/data/order/line-item/index.js +1 -0
  888. package/build/models/data/order/line-item/options/index.d.ts +2 -2
  889. package/build/models/data/order/line-item/options/index.js +1 -0
  890. package/build/models/data/order/line-item/options/options-value/index.js +1 -0
  891. package/build/models/data/order/line-item/variant/index.d.ts +1 -1
  892. package/build/models/data/order/line-item/variant/index.js +1 -0
  893. package/build/models/data/order/refund/index.d.ts +1 -1
  894. package/build/models/data/order/refund/settings.js +1 -0
  895. package/build/models/data/order-transaction/index.js +1 -0
  896. package/build/models/data/payment-gateway/index.d.ts +1 -1
  897. package/build/models/data/payment-gateway/index.js +1 -0
  898. package/build/models/data/product/attribute-value/index.d.ts +2 -2
  899. package/build/models/data/product/attribute-value/index.js +1 -0
  900. package/build/models/data/product/index.d.ts +9 -9
  901. package/build/models/data/product/index.js +1 -0
  902. package/build/models/data/product/variant/index.d.ts +4 -4
  903. package/build/models/data/product/variant/index.js +1 -0
  904. package/build/models/data/product/variant/price/index.js +1 -0
  905. package/build/models/data/product/variant-type/index.d.ts +1 -1
  906. package/build/models/data/product/variant-type/index.js +1 -0
  907. package/build/models/data/product-attribute/index.d.ts +2 -2
  908. package/build/models/data/product-attribute/index.js +1 -0
  909. package/build/models/data/product-attribute/product-attribute-option/index.js +1 -0
  910. package/build/models/data/product-attribute/product-attribute-table-cell/index.js +1 -0
  911. package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +1 -1
  912. package/build/models/data/product-attribute/product-attribute-table-template/index.js +1 -0
  913. package/build/models/data/product-cart-item-options/index.js +1 -0
  914. package/build/models/data/product-filter/index.d.ts +2 -2
  915. package/build/models/data/product-filter/index.js +1 -0
  916. package/build/models/data/product-option-set/index.d.ts +1 -5
  917. package/build/models/data/product-option-set/index.js +1 -0
  918. package/build/models/data/product-tag/index.js +1 -0
  919. package/build/models/data/raffle/index.d.ts +66 -0
  920. package/build/models/data/raffle/index.js +1 -0
  921. package/build/models/data/sales-channel/index.js +1 -0
  922. package/build/models/data/simple-product/index.d.ts +1 -1
  923. package/build/models/data/storefront/domain/index.js +1 -0
  924. package/build/models/data/storefront/index.d.ts +4 -4
  925. package/build/models/data/storefront/index.js +1 -0
  926. package/build/models/data/storefront/localization/index.js +1 -0
  927. package/build/models/data/storefront/routing/index.js +1 -0
  928. package/build/models/data/storefront/theme/index.js +1 -0
  929. package/build/models/data/storefront/theme-localization/index.d.ts +1 -1
  930. package/build/models/data/storefront/theme-localization/index.js +1 -0
  931. package/build/models/data/variant-type/index.d.ts +1 -1
  932. package/build/models/data/variant-type/index.js +1 -0
  933. package/build/models/data/variant-type/variant-value/index.d.ts +1 -1
  934. package/build/models/data/variant-type/variant-value/index.js +1 -0
  935. package/build/models/index.d.ts +3 -3
  936. package/build/models/theme/component/index.d.ts +1 -1
  937. package/build/models/theme/component/index.js +1 -0
  938. package/build/models/theme/component/prop/index.d.ts +3 -1
  939. package/build/models/theme/component/prop/index.js +1 -0
  940. package/build/models/theme/custom-data/index.d.ts +2 -2
  941. package/build/models/theme/custom-data/index.js +1 -0
  942. package/build/models/theme/index.d.ts +8 -6
  943. package/build/models/theme/page/component/index.js +1 -0
  944. package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +1 -1
  945. package/build/models/theme/page/component/prop-value/blog-category-list.js +1 -0
  946. package/build/models/theme/page/component/prop-value/blog-category.js +1 -0
  947. package/build/models/theme/page/component/prop-value/blog-list.d.ts +1 -1
  948. package/build/models/theme/page/component/prop-value/blog-list.js +1 -0
  949. package/build/models/theme/page/component/prop-value/blog.js +1 -0
  950. package/build/models/theme/page/component/prop-value/brand-list.d.ts +1 -1
  951. package/build/models/theme/page/component/prop-value/brand-list.js +1 -0
  952. package/build/models/theme/page/component/prop-value/brand.js +1 -0
  953. package/build/models/theme/page/component/prop-value/category-list.d.ts +1 -1
  954. package/build/models/theme/page/component/prop-value/category-list.js +1 -0
  955. package/build/models/theme/page/component/prop-value/category.js +1 -0
  956. package/build/models/theme/page/component/prop-value/link.d.ts +1 -1
  957. package/build/models/theme/page/component/prop-value/link.js +1 -0
  958. package/build/models/theme/page/component/prop-value/product-detail.js +1 -0
  959. package/build/models/theme/page/component/prop-value/product-list.d.ts +1 -1
  960. package/build/models/theme/page/component/prop-value/product-list.js +1 -0
  961. package/build/models/theme/page/component/prop-value/raffle-list.d.ts +5 -0
  962. package/build/models/theme/page/component/prop-value/raffle-list.js +1 -0
  963. package/build/models/theme/page/component/prop-value/raffle.d.ts +5 -0
  964. package/build/models/theme/page/component/prop-value/raffle.js +1 -0
  965. package/build/models/theme/page/index.d.ts +5 -2
  966. package/build/models/theme/page/index.js +1 -0
  967. package/build/models/theme/settings/index.d.ts +2 -2
  968. package/build/models/theme/settings/index.js +1 -0
  969. package/build/models/theme/settings/prop/color/index.js +1 -0
  970. package/build/models/theme/settings/prop/favicon/index.js +1 -0
  971. package/build/models/theme/theme.d.ts +4 -4
  972. package/build/models/theme/theme.js +1 -0
  973. package/build/models/ui/blog-category-list/index.d.ts +2 -2
  974. package/build/models/ui/blog-category-list/index.js +1 -0
  975. package/build/models/ui/blog-list/index.d.ts +2 -2
  976. package/build/models/ui/blog-list/index.js +1 -0
  977. package/build/models/ui/brand-list/index.d.ts +2 -2
  978. package/build/models/ui/brand-list/index.js +1 -0
  979. package/build/models/ui/category-list/index.d.ts +2 -2
  980. package/build/models/ui/category-list/index.js +1 -0
  981. package/build/models/ui/component-renderer/index.js +1 -0
  982. package/build/models/ui/customer-review-list/index.d.ts +1 -1
  983. package/build/models/ui/customer-review-list/index.js +1 -0
  984. package/build/models/ui/index.d.ts +18 -14
  985. package/build/models/ui/navigation-link/index.js +1 -0
  986. package/build/models/ui/product-attribute-detail/index.d.ts +3 -3
  987. package/build/models/ui/product-attribute-detail/index.js +1 -0
  988. package/build/models/ui/product-attribute-list/index.d.ts +3 -3
  989. package/build/models/ui/product-attribute-list/index.js +1 -0
  990. package/build/models/ui/product-detail/index.d.ts +3 -3
  991. package/build/models/ui/product-detail/index.js +1 -0
  992. package/build/models/ui/product-list/index.d.ts +7 -7
  993. package/build/models/ui/product-list/index.js +1 -0
  994. package/build/models/ui/raffle-list/index.d.ts +54 -0
  995. package/build/models/ui/raffle-list/index.js +1 -0
  996. package/build/models/ui/validator/form/account-info.d.ts +3 -3
  997. package/build/models/ui/validator/form/account-info.js +1 -0
  998. package/build/models/ui/validator/form/address.d.ts +4 -4
  999. package/build/models/ui/validator/form/address.js +1 -0
  1000. package/build/models/ui/validator/form/contact-form.d.ts +1 -1
  1001. package/build/models/ui/validator/form/contact-form.js +1 -0
  1002. package/build/models/ui/validator/form/customer-review.d.ts +1 -1
  1003. package/build/models/ui/validator/form/customer-review.js +1 -0
  1004. package/build/models/ui/validator/form/forgot-password.d.ts +1 -1
  1005. package/build/models/ui/validator/form/forgot-password.js +1 -0
  1006. package/build/models/ui/validator/form/login.d.ts +1 -1
  1007. package/build/models/ui/validator/form/login.js +1 -0
  1008. package/build/models/ui/validator/form/raffle-form.d.ts +60 -0
  1009. package/build/models/ui/validator/form/raffle-form.js +1 -0
  1010. package/build/models/ui/validator/form/recover-password.d.ts +1 -1
  1011. package/build/models/ui/validator/form/recover-password.js +1 -0
  1012. package/build/models/ui/validator/form/register.d.ts +1 -1
  1013. package/build/models/ui/validator/form/register.js +1 -0
  1014. package/build/models/ui/validator/index.d.ts +1 -1
  1015. package/build/models/ui/validator/index.js +1 -0
  1016. package/build/models/ui/validator/rules/index.d.ts +4 -0
  1017. package/build/models/ui/validator/rules/index.js +1 -0
  1018. package/build/pages/404.d.ts +1 -1
  1019. package/build/pages/404.js +1 -0
  1020. package/build/pages/[slug]/index.d.ts +1 -1
  1021. package/build/pages/_slug_/index.js +1 -0
  1022. package/build/pages/account/addresses.d.ts +1 -1
  1023. package/build/pages/account/addresses.js +1 -0
  1024. package/build/pages/account/favorite-products.d.ts +1 -1
  1025. package/build/pages/account/favorite-products.js +1 -0
  1026. package/build/pages/account/forgot-password.d.ts +1 -1
  1027. package/build/pages/account/forgot-password.js +1 -0
  1028. package/build/pages/account/index.d.ts +1 -1
  1029. package/build/pages/account/index.js +1 -0
  1030. package/build/pages/account/login.d.ts +1 -1
  1031. package/build/pages/account/login.js +1 -0
  1032. package/build/pages/account/orders/[id].d.ts +1 -1
  1033. package/build/pages/account/orders/_id_.js +1 -0
  1034. package/build/pages/account/orders/index.d.ts +1 -1
  1035. package/build/pages/account/orders/index.js +1 -0
  1036. package/build/pages/account/raffles.d.ts +6 -0
  1037. package/build/pages/account/raffles.js +1 -0
  1038. package/build/pages/account/recover-password.d.ts +1 -1
  1039. package/build/pages/account/recover-password.js +1 -0
  1040. package/build/pages/account/register.d.ts +1 -1
  1041. package/build/pages/account/register.js +1 -0
  1042. package/build/pages/blog/[slug].d.ts +1 -1
  1043. package/build/pages/blog/_slug_.js +1 -0
  1044. package/build/pages/blog/index.d.ts +1 -1
  1045. package/build/pages/blog/index.js +1 -0
  1046. package/build/pages/cart.d.ts +1 -1
  1047. package/build/pages/cart.js +1 -0
  1048. package/build/pages/checkout.d.ts +1 -1
  1049. package/build/pages/checkout.js +1 -0
  1050. package/build/pages/editor.d.ts +1 -0
  1051. package/build/pages/editor.js +1 -0
  1052. package/build/pages/home.d.ts +1 -1
  1053. package/build/pages/home.js +1 -0
  1054. package/build/pages/index.d.ts +22 -20
  1055. package/build/pages/pages/[slug].d.ts +1 -1
  1056. package/build/pages/pages/_slug_.js +1 -0
  1057. package/build/pages/raffle/[slug].d.ts +7 -0
  1058. package/build/pages/raffle/_slug_.js +1 -0
  1059. package/build/pages/raffle/index.d.ts +6 -0
  1060. package/build/pages/raffle/index.js +1 -0
  1061. package/build/pages/search.d.ts +1 -1
  1062. package/build/pages/search.js +1 -0
  1063. package/build/providers/helpers/raffles.d.ts +2 -0
  1064. package/build/providers/helpers/raffles.js +1 -0
  1065. package/build/providers/page-data-get.d.ts +4 -4
  1066. package/build/providers/page-data-get.js +1 -0
  1067. package/build/providers/page-data-init.d.ts +12 -6
  1068. package/build/providers/page-data-init.js +1 -0
  1069. package/build/providers/page-data-next.d.ts +8 -8
  1070. package/build/providers/page-data-next.js +1 -0
  1071. package/build/providers/placeholders.d.ts +2 -1
  1072. package/build/providers/placeholders.js +1 -0
  1073. package/build/providers/prop-value/attribute-list.d.ts +2 -2
  1074. package/build/providers/prop-value/attribute-list.js +1 -0
  1075. package/build/providers/prop-value/attribute.d.ts +2 -2
  1076. package/build/providers/prop-value/attribute.js +1 -0
  1077. package/build/providers/prop-value/blog-category-list.d.ts +2 -2
  1078. package/build/providers/prop-value/blog-category-list.js +1 -0
  1079. package/build/providers/prop-value/blog-category.d.ts +2 -2
  1080. package/build/providers/prop-value/blog-category.js +1 -0
  1081. package/build/providers/prop-value/blog-list.d.ts +2 -2
  1082. package/build/providers/prop-value/blog-list.js +1 -0
  1083. package/build/providers/prop-value/blog.d.ts +2 -2
  1084. package/build/providers/prop-value/blog.js +1 -0
  1085. package/build/providers/prop-value/boolean.d.ts +1 -1
  1086. package/build/providers/prop-value/boolean.js +1 -0
  1087. package/build/providers/prop-value/brand-list.d.ts +2 -2
  1088. package/build/providers/prop-value/brand-list.js +1 -0
  1089. package/build/providers/prop-value/brand.d.ts +2 -2
  1090. package/build/providers/prop-value/brand.js +1 -0
  1091. package/build/providers/prop-value/category-list.d.ts +2 -2
  1092. package/build/providers/prop-value/category-list.js +1 -0
  1093. package/build/providers/prop-value/category.d.ts +2 -2
  1094. package/build/providers/prop-value/category.js +1 -0
  1095. package/build/providers/prop-value/color.d.ts +1 -1
  1096. package/build/providers/prop-value/color.js +1 -0
  1097. package/build/providers/prop-value/custom.d.ts +4 -2
  1098. package/build/providers/prop-value/custom.js +1 -0
  1099. package/build/providers/prop-value/image-list.d.ts +2 -2
  1100. package/build/providers/prop-value/image-list.js +1 -0
  1101. package/build/providers/prop-value/image.d.ts +2 -2
  1102. package/build/providers/prop-value/image.js +1 -0
  1103. package/build/providers/prop-value/link.d.ts +2 -2
  1104. package/build/providers/prop-value/link.js +1 -0
  1105. package/build/providers/prop-value/product-detail.d.ts +2 -2
  1106. package/build/providers/prop-value/product-detail.js +1 -0
  1107. package/build/providers/prop-value/product-list.d.ts +2 -2
  1108. package/build/providers/prop-value/product-list.js +1 -0
  1109. package/build/providers/prop-value/raffle-list.d.ts +5 -0
  1110. package/build/providers/prop-value/raffle-list.js +1 -0
  1111. package/build/providers/prop-value/raffle.d.ts +11 -0
  1112. package/build/providers/prop-value/raffle.js +1 -0
  1113. package/build/providers/prop-value/rich-text.d.ts +1 -1
  1114. package/build/providers/prop-value/rich-text.js +1 -0
  1115. package/build/providers/prop-value/text.d.ts +1 -1
  1116. package/build/providers/prop-value/text.js +1 -0
  1117. package/build/scripts/generators/api/index.d.ts +5 -0
  1118. package/build/scripts/generators/api/index.js +1 -0
  1119. package/build/scripts/generators/api/info.d.ts +12 -0
  1120. package/build/scripts/generators/api/info.js +1 -0
  1121. package/build/scripts/generators/components/index.d.ts +6 -0
  1122. package/build/scripts/generators/components/index.js +1 -0
  1123. package/build/scripts/generators/config/content.d.ts +37 -0
  1124. package/build/scripts/generators/config/content.js +1 -0
  1125. package/build/scripts/generators/config/index.d.ts +8 -0
  1126. package/build/scripts/generators/config/index.js +1 -0
  1127. package/build/scripts/generators/index.d.ts +6 -0
  1128. package/build/scripts/generators/pages/index.d.ts +7 -0
  1129. package/build/scripts/generators/pages/index.js +1 -0
  1130. package/build/scripts/generators/pages/info.d.ts +14 -0
  1131. package/build/scripts/generators/pages/info.js +1 -0
  1132. package/build/scripts/generators/store/content.d.ts +1 -0
  1133. package/build/scripts/generators/store/content.js +1 -0
  1134. package/build/scripts/generators/store/index.d.ts +3 -0
  1135. package/build/scripts/generators/store/index.js +1 -0
  1136. package/build/scripts/generators/theme/index.d.ts +6 -0
  1137. package/build/scripts/generators/theme/index.js +1 -0
  1138. package/build/scripts/ikas.d.ts +2 -0
  1139. package/build/store/base.d.ts +2 -2
  1140. package/build/store/base.js +1 -0
  1141. package/build/store/cart.d.ts +2 -2
  1142. package/build/store/cart.js +1 -0
  1143. package/build/store/customer.d.ts +4 -22
  1144. package/build/store/customer.js +1 -0
  1145. package/build/storefront/index.d.ts +10 -12
  1146. package/build/storefront/index.js +1 -0
  1147. package/build/utils/currency.js +1 -0
  1148. package/build/utils/fs.d.ts +28 -0
  1149. package/build/utils/fs.js +1 -0
  1150. package/build/utils/helper.d.ts +2 -0
  1151. package/build/utils/helper.js +1 -0
  1152. package/build/utils/i18n.js +1 -0
  1153. package/package.json +25 -21
  1154. package/build/api/customer/__generated__/customerSocialLogin.d.ts +0 -161
  1155. package/build/index.css +0 -1521
  1156. package/build/index.es.css +0 -1521
  1157. package/build/index.es.js +0 -74627
  1158. package/build/providers/prop-value/checkout.d.ts +0 -4
@@ -0,0 +1 @@
1
+ import{__awaiter as e,__generator as t,__assign as r}from"../../../tslib/tslib.es6.js";import{invariant as o}from"../../../ts-invariant/lib/invariant.esm.js";import{hasDirectives as i,shouldInclude as n}from"../utilities/graphql/directives.js";import{createFragmentMap as s}from"../utilities/graphql/fragments.js";import{getMainDefinition as a,getFragmentDefinitions as u}from"../utilities/graphql/getFromAST.js";import{resultKeyNameFromField as l,argumentsObjectFromField as c,isField as v,isInlineFragment as h}from"../utilities/graphql/storeUtils.js";import{removeClientSetsFromDocument as p,buildQueryFromSelectionSet as m}from"../utilities/graphql/transform.js";import{mergeDeep as f,mergeDeepArray as d}from"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import"../cache/core/cache.js";import"../cache/inmemory/inMemoryCache.js";import{cacheSlot as y}from"../cache/inmemory/reactiveVars.js";import"../cache/inmemory/policies.js";import{visit as g,BREAK as b}from"../../../graphql/language/visitor.mjs.js";var S=function(){function S(e){var t=e.cache,r=e.client,o=e.resolvers,i=e.fragmentMatcher;this.cache=t,r&&(this.client=r),o&&this.addResolvers(o),i&&this.setFragmentMatcher(i)}return S.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=f(t.resolvers,e)})):this.resolvers=f(this.resolvers,e)},S.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},S.prototype.getResolvers=function(){return this.resolvers||{}},S.prototype.runResolvers=function(o){var i=o.document,n=o.remoteResult,s=o.context,a=o.variables,u=o.onlyRunForcedResolvers,l=void 0!==u&&u;return e(this,void 0,void 0,(function(){return t(this,(function(e){return i?[2,this.resolveDocument(i,n.data,s,a,this.fragmentMatcher,l).then((function(e){return r(r({},n),{data:e.result})}))]:[2,n]}))}))},S.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},S.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},S.prototype.clientQuery=function(e){return i(["client"],e)&&this.resolvers?e:null},S.prototype.serverQuery=function(e){return p(e)},S.prototype.prepareContext=function(e){var t=this.cache;return r(r({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},S.prototype.addExportedVariables=function(o,i,n){return void 0===i&&(i={}),void 0===n&&(n={}),e(this,void 0,void 0,(function(){return t(this,(function(e){return o?[2,this.resolveDocument(o,this.buildRootValueFromCache(o,i)||{},this.prepareContext(n),i).then((function(e){return r(r({},i),e.exportedVariables)}))]:[2,r({},i)]}))}))},S.prototype.shouldForceResolvers=function(e){var t=!1;return g(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return b}}}),t},S.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:m(e),variables:t,returnPartialData:!0,optimistic:!1}).result},S.prototype.resolveDocument=function(o,i,n,l,c,v){return void 0===n&&(n={}),void 0===l&&(l={}),void 0===c&&(c=function(){return!0}),void 0===v&&(v=!1),e(this,void 0,void 0,(function(){var e,h,p,m,f,d,y,g,b;return t(this,(function(t){return e=a(o),h=u(o),p=s(h),m=e.operation,f=m?m.charAt(0).toUpperCase()+m.slice(1):"Query",y=(d=this).cache,g=d.client,b={fragmentMap:p,context:r(r({},n),{cache:y,client:g}),variables:l,fragmentMatcher:c,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:v},[2,this.resolveSelectionSet(e.selectionSet,i,b).then((function(e){return{result:e,exportedVariables:b.exportedVariables}}))]}))}))},S.prototype.resolveSelectionSet=function(r,i,s){return e(this,void 0,void 0,(function(){var a,u,c,p,m,f=this;return t(this,(function(y){return a=s.fragmentMap,u=s.context,c=s.variables,p=[i],m=function(r){return e(f,void 0,void 0,(function(){var e,m;return t(this,(function(t){return n(r,c)?v(r)?[2,this.resolveField(r,i,s).then((function(e){var t;void 0!==e&&p.push(((t={})[l(r)]=e,t))}))]:(h(r)?e=r:(e=a[r.name.value],"production"===process.env.NODE_ENV?o(e,11):o(e,"No fragment named "+r.name.value)),e&&e.typeCondition&&(m=e.typeCondition.name.value,s.fragmentMatcher(i,m,u))?[2,this.resolveSelectionSet(e.selectionSet,i,s).then((function(e){p.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(r.selections.map(m)).then((function(){return d(p)}))]}))}))},S.prototype.resolveField=function(r,o,i){return e(this,void 0,void 0,(function(){var e,n,s,a,u,v,h,p,m,f=this;return t(this,(function(t){return e=i.variables,n=r.name.value,s=l(r),a=n!==s,u=o[s]||o[n],v=Promise.resolve(u),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(r)||(h=o.__typename||i.defaultOperationType,(p=this.resolvers&&this.resolvers[h])&&(m=p[a?n:s])&&(v=Promise.resolve(y.withValue(this.cache,m,[o,c(r,e),i.context,{field:r,fragmentMap:i.fragmentMap}])))),[2,v.then((function(e){return void 0===e&&(e=u),r.directives&&r.directives.forEach((function(t){"export"===t.name.value&&t.arguments&&t.arguments.forEach((function(t){"as"===t.name.value&&"StringValue"===t.value.kind&&(i.exportedVariables[t.value.value]=e)}))})),r.selectionSet?null==e?e:Array.isArray(e)?f.resolveSubSelectedArray(r,e,i):r.selectionSet?f.resolveSelectionSet(r.selectionSet,e,i):void 0:e}))]}))}))},S.prototype.resolveSubSelectedArray=function(e,t,r){var o=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?o.resolveSubSelectedArray(e,t,r):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,r):void 0})))},S}();export{S as LocalState};
@@ -0,0 +1 @@
1
+ import{__extends as e,__assign as r}from"../../../tslib/tslib.es6.js";import{invariant as t}from"../../../ts-invariant/lib/invariant.esm.js";import s from"../../../@wry/equality/lib/equality.esm.js";import{NetworkStatus as o,isNetworkRequestInFlight as i}from"./networkStatus.js";import{getOperationDefinition as n}from"../utilities/graphql/getFromAST.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import{cloneDeep as a}from"../utilities/common/cloneDeep.js";import{iterateObserversSafely as u}from"../utilities/observables/iteration.js";import"../utilities/observables/Concast.js";import{isNonEmptyArray as l}from"../utilities/common/arrays.js";import{Reobserver as c}from"./Reobserver.js";import h from"../../../zen-observable/index.js";var p=!1,v=function(h){function v(e){var t=e.queryManager,s=e.queryInfo,i=e.options,a=h.call(this,(function(e){return a.onSubscribe(e)}))||this;a.observers=new Set,a.subscriptions=new Set,a.observer={next:function(e){(a.lastError||a.isDifferentFromLastResult(e))&&(a.updateLastResult(e),u(a.observers,"next",e))},error:function(e){a.updateLastResult(r(r({},a.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:o.error,loading:!1})),u(a.observers,"error",a.lastError=e)}},a.isTornDown=!1,a.options=i,a.queryId=t.generateQueryId();var l=n(i.query);return a.queryName=l&&l.name&&l.name.value,a.queryManager=t,a.queryInfo=s,a}return e(v,h),Object.defineProperty(v.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),v.prototype.result=function(){var e=this;return new Promise((function(r,t){var s={next:function(t){r(t),e.observers.delete(s),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:t},o=e.subscribe(s)}))},v.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,s=this.queryInfo.networkStatus||t&&t.networkStatus||o.ready,n=r(r({},t),{loading:i(s),networkStatus:s});if(this.isTornDown)return n;var a=this.options.fetchPolicy,u=void 0===a?"cache-first":a;if("no-cache"===u||"network-only"===u)delete n.partial;else if(!n.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var l=this.queryInfo.getDiff();n.data=l.complete||this.options.returnPartialData?l.result:void 0,l.complete?(n.networkStatus!==o.loading||"cache-first"!==u&&"cache-only"!==u||(n.networkStatus=o.ready,n.loading=!1),delete n.partial):n.partial=!0}return e&&this.updateLastResult(n),n},v.prototype.isDifferentFromLastResult=function(e){return!s(this.lastResultSnapshot,e)},v.prototype.getLastResult=function(){return this.lastResult},v.prototype.getLastError=function(){return this.lastError},v.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},v.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},v.prototype.refetch=function(e){var t={pollInterval:0},i=this.options.fetchPolicy;return"no-cache"!==i&&"cache-and-network"!==i&&(t.fetchPolicy="network-only",t.nextFetchPolicy=i||"cache-first"),e&&!s(this.options.variables,e)&&(t.variables=this.options.variables=r(r({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,o.refetch)},v.prototype.fetchMore=function(e){var s=this,i=r(r({},e.query?e:r(r(r({},this.options),e),{variables:r(r({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),n=this.queryManager.generateQueryId();return i.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=o.fetchMore,this.observe()),this.queryManager.fetchQuery(n,i,o.fetchMore).then((function(r){var o=r.data,n=e.updateQuery;return n?("production"===process.env.NODE_ENV||p||("production"===process.env.NODE_ENV||t.warn("The updateQuery callback for fetchMore is deprecated, and will be removed\nin the next major version of Apollo Client.\n\nPlease convert updateQuery functions to field policies with appropriate\nread and merge functions, or use/adapt a helper function (such as\nconcatPagination, offsetLimitPagination, or relayStylePagination) from\n@apollo/client/utilities.\n\nThe field policy system handles pagination more effectively than a\nhand-written updateQuery function, and you only need to define the policy\nonce, rather than every time you call fetchMore."),p=!0),s.updateQuery((function(e){return n(e,{fetchMoreResult:o,variables:i.variables})}))):s.queryManager.cache.writeQuery({query:i.query,variables:i.variables,data:o}),r})).finally((function(){s.queryManager.stopQuery(n),s.reobserve()}))},v.prototype.subscribeToMore=function(e){var r=this,s=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(t){var s=e.updateQuery;s&&r.updateQuery((function(e,r){var o=r.variables;return s(e,{subscriptionData:t,variables:o})}))},error:function(r){e.onError?e.onError(r):"production"===process.env.NODE_ENV||t.error("Unhandled GraphQL subscription error",r)}});return this.subscriptions.add(s),function(){r.subscriptions.delete(s)&&s.unsubscribe()}},v.prototype.setOptions=function(e){return this.reobserve(e)},v.prototype.setVariables=function(e){if(s(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var r=this.options.fetchPolicy,t=void 0===r?"cache-first":r,i={fetchPolicy:t,variables:e};return"cache-first"!==t&&"no-cache"!==t&&"network-only"!==t&&(i.fetchPolicy="cache-and-network",i.nextFetchPolicy=t),this.reobserve(i,o.setVariables)},v.prototype.updateQuery=function(e){var r,t=this.queryManager,s=e(t.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(r=this.lastResult)||void 0===r?void 0:r.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});s&&(t.cache.writeQuery({query:this.options.query,data:s,variables:this.variables}),t.broadcastQueries())},v.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},v.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},v.prototype.updateLastResult=function(e){var r=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:a(e),l(e.errors)||delete this.lastError,r},v.prototype.onSubscribe=function(e){var r=this;if(e===this.observer)return function(){};try{var t=e._subscription._observer;t&&!t.error&&(t.error=b)}catch(e){}var s=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),s&&this.reobserve().catch((function(e){})),function(){r.observers.delete(e)&&!r.observers.size&&r.tearDownQuery()}},v.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},v.prototype.newReobserver=function(e){var t=this,s=this.queryManager,o=this.queryId;return s.setObservableQuery(this),new c(this.observer,e?this.options:r({},this.options),(function(e,r){return s.setObservableQuery(t),s.fetchQueryObservable(o,e,r)}),!s.ssrMode&&function(){return!i(t.queryInfo.networkStatus)})},v.prototype.reobserve=function(e,r){return this.isTornDown=!1,this.getReobserver().reobserve(e,r)},v.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},v.prototype.hasObservers=function(){return this.observers.size>0},v.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),delete this.options.context,this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},v}(h);function b(e){"production"===process.env.NODE_ENV||t.error("Unhandled error",e.message,e.stack)}export{v as ObservableQuery};
@@ -0,0 +1 @@
1
+ import t from"../../../@wry/equality/lib/equality.esm.js";import"../../../ts-invariant/lib/invariant.esm.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import{isNonEmptyArray as i}from"../utilities/common/arrays.js";import{graphQLResultHasError as e}from"../utilities/common/errorHandling.js";import{canUseWeakMap as r}from"../utilities/common/canUse.js";import{NetworkStatus as s,isNetworkRequestInFlight as o}from"./networkStatus.js";var a=new(r?WeakMap:Map);function n(t,i){var e=t[i];"function"==typeof e&&(t[i]=function(){return a.set(t,(a.get(t)+1)%1e15),e.apply(this,arguments)})}function h(t){t.notifyTimeout&&(clearTimeout(t.notifyTimeout),t.notifyTimeout=void 0)}var u=function(){function e(t){this.cache=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.diff=null,this.observableQuery=null,a.has(t)||(a.set(t,0),n(t,"evict"),n(t,"modify"),n(t,"reset"))}return e.prototype.init=function(i){var e=i.networkStatus||s.loading;return this.variables&&this.networkStatus!==s.loading&&!t(this.variables,i.variables)&&(e=s.setVariables),t(i.variables,this.variables)||(this.diff=null),Object.assign(this,{document:i.document,variables:i.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:e}),i.observableQuery&&this.setObservableQuery(i.observableQuery),i.lastRequestId&&(this.lastRequestId=i.lastRequestId),this},e.prototype.getDiff=function(i){return void 0===i&&(i=this.variables),this.diff&&t(i,this.variables)?this.diff:(this.updateWatch(this.variables=i),this.diff=this.cache.diff({query:this.document,variables:i,returnPartialData:!0,optimistic:!0}))},e.prototype.setDiff=function(t){var i=this,e=this.diff;this.diff=t,this.dirty||(t&&t.result)===(e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return i.notify()}),0)))},e.prototype.setObservableQuery=function(t){var i=this;t!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=t,t?(t.queryInfo=this,this.listeners.add(this.oqListener=function(){i.getDiff().fromOptimisticTransaction?t.observe():t.reobserve()})):delete this.oqListener)},e.prototype.notify=function(){var t=this;h(this),this.shouldNotify()&&this.listeners.forEach((function(i){return i(t)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(o(this.networkStatus)&&this.observableQuery){var t=this.observableQuery.options.fetchPolicy;if("cache-only"!==t&&"cache-and-network"!==t)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.cancel(),delete this.cancel,this.subscriptions.forEach((function(t){return t.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(i){var e=this;void 0===i&&(i=this.variables);var r=this.observableQuery;r&&"no-cache"===r.options.fetchPolicy||this.lastWatch&&this.lastWatch.query===this.document&&t(i,this.lastWatch.variables)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch={query:this.document,variables:i,optimistic:!0,callback:function(t){return e.setDiff(t)}}))},e.prototype.shouldWrite=function(i,e){var r=this.lastWrite;return!(r&&r.dmCount===a.get(this.cache)&&t(e,r.variables)&&t(i.data,r.result.data))},e.prototype.markResult=function(t,e,r){var s=this;this.graphQLErrors=i(t.errors)?t.errors:[],h(this),"no-cache"===e.fetchPolicy?this.diff={result:t.data,complete:!0}:r&&(l(t,e.errorPolicy)?this.cache.performTransaction((function(i){if(s.shouldWrite(t,e.variables))i.writeQuery({query:s.document,data:t.data,variables:e.variables}),s.lastWrite={result:t,variables:e.variables,dmCount:a.get(s.cache)};else if(s.diff&&s.diff.complete)return void(t.data=s.diff.result);var r=i.diff({query:s.document,variables:e.variables,returnPartialData:!0,optimistic:!0});s.stopped||s.updateWatch(e.variables),s.diff=r,r.complete&&(t.data=r.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=s.ready},e.prototype.markError=function(t){return this.networkStatus=s.error,this.lastWrite=void 0,h(this),t.graphQLErrors&&(this.graphQLErrors=t.graphQLErrors),t.networkError&&(this.networkError=t.networkError),t},e}();function l(t,i){void 0===i&&(i="none");var r="ignore"===i||"all"===i,s=!e(t);return!s&&r&&t.data&&(s=!0),s}export{u as QueryInfo,l as shouldWriteResult};
@@ -0,0 +1 @@
1
+ import{__awaiter as e,__generator as t,__assign as r}from"../../../tslib/tslib.es6.js";import{InvariantError as o,invariant as i}from"../../../ts-invariant/lib/invariant.esm.js";import n from"../../../@wry/equality/lib/equality.esm.js";import"../link/core/ApolloLink.js";import{execute as a}from"../link/core/execute.js";import{hasClientExports as s}from"../utilities/graphql/directives.js";import{getOperationName as u,getDefaultValues as c,getOperationDefinition as l}from"../utilities/graphql/getFromAST.js";import{removeConnectionDirectiveFromDocument as h}from"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import{asyncMap as p}from"../utilities/observables/asyncMap.js";import{Concast as f}from"../utilities/observables/Concast.js";import{isNonEmptyArray as y}from"../utilities/common/arrays.js";import{graphQLResultHasError as d}from"../utilities/common/errorHandling.js";import{canUseWeakMap as v}from"../utilities/common/canUse.js";import{ApolloError as m,isApolloError as b}from"../errors/index.js";import{ObservableQuery as g}from"./ObservableQuery.js";import{NetworkStatus as w,isNetworkRequestInFlight as q}from"./networkStatus.js";import{LocalState as Q}from"./LocalState.js";import{shouldWriteResult as k,QueryInfo as E}from"./QueryInfo.js";import O from"../../../zen-observable/index.js";var S=Object.prototype.hasOwnProperty,P=function(){function P(e){var t=e.cache,r=e.link,o=e.queryDeduplication,i=void 0!==o&&o,n=e.onBroadcast,a=e.ssrMode,s=void 0!==a&&a,u=e.clientAwareness,c=void 0===u?{}:u,l=e.localState,h=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(v?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.queryDeduplication=i,this.clientAwareness=c,this.localState=l||new Q({cache:t}),this.ssrMode=s,this.assumeImmutableResults=!!h,(this.onBroadcast=n)&&(this.mutationStore=Object.create(null))}return P.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches("production"===process.env.NODE_ENV?new o(12):new o("QueryManager stopped while query was in flight"))},P.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},P.prototype.mutate=function(o){var n=o.mutation,a=o.variables,s=o.optimisticResponse,u=o.updateQueries,c=o.refetchQueries,l=void 0===c?[]:c,h=o.awaitRefetchQueries,p=void 0!==h&&h,f=o.update,v=o.errorPolicy,b=void 0===v?"none":v,g=o.fetchPolicy,w=o.context,q=void 0===w?{}:w;return e(this,void 0,void 0,(function(){var e,o,c;return t(this,(function(t){switch(t.label){case 0:return"production"===process.env.NODE_ENV?i(n,13):i(n,"mutation option is required. You must specify your GraphQL document in the mutation option."),"production"===process.env.NODE_ENV?i(!g||"no-cache"===g,14):i(!g||"no-cache"===g,"Mutations only support a 'no-cache' fetchPolicy. If you don't want to disable the cache, remove your fetchPolicy setting to proceed with the default mutation behavior."),e=this.generateMutationId(),n=this.transform(n).document,a=this.getVariables(n,a),this.transform(n).hasClientExports?[4,this.localState.addExportedVariables(n,a,q)]:[3,2];case 1:a=t.sent(),t.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[e]={mutation:n,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:e,document:n,variables:a,errorPolicy:b,updateQueries:u,update:f}),this.broadcastQueries(),c=this,[2,new Promise((function(t,i){var h,v;c.getObservableFromLink(n,r(r({},q),{optimisticResponse:s}),a,!1).subscribe({next:function(t){if(d(t)&&"none"===b)v=new m({graphQLErrors:t.errors});else{if(o&&(o.loading=!1,o.error=null),"no-cache"!==g)try{c.markMutationResult({mutationId:e,result:t,document:n,variables:a,errorPolicy:b,updateQueries:u,update:f})}catch(e){return void(v=new m({networkError:e}))}h=t}},error:function(t){o&&(o.loading=!1,o.error=t),s&&c.cache.removeOptimistic(e),c.broadcastQueries(),i(new m({networkError:t}))},complete:function(){if(v&&o&&(o.loading=!1,o.error=v),s&&c.cache.removeOptimistic(e),c.broadcastQueries(),v)i(v);else{"function"==typeof l&&(l=l(h));var r=[];y(l)&&l.forEach((function(e){if("string"==typeof e)c.queries.forEach((function(t){var o=t.observableQuery;o&&o.queryName===e&&r.push(o.refetch())}));else{var t={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(t.context=e.context),r.push(c.query(t))}})),Promise.all(p?r:[]).then((function(){"ignore"===b&&h&&d(h)&&delete h.errors,t(h)}),i)}}})}))]}}))}))},P.prototype.markMutationResult=function(e,t){var r=this;if(void 0===t&&(t=this.cache),k(e.result,e.errorPolicy)){var o=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],i=e.updateQueries;i&&this.queries.forEach((function(n,a){var s=n.observableQuery,c=s&&s.queryName;if(c&&S.call(i,c)){var l=i[c],h=r.queries.get(a),p=h.document,f=h.variables,y=t.diff({query:p,variables:f,returnPartialData:!0,optimistic:!1}),d=y.result;if(y.complete&&d){var v=l(d,{mutationResult:e.result,queryName:p&&u(p)||void 0,queryVariables:f});v&&o.push({result:v,dataId:"ROOT_QUERY",query:p,variables:f})}}})),t.performTransaction((function(t){o.forEach((function(e){return t.write(e)}));var r=e.update;r&&r(t,e.result)}),null)}},P.prototype.markMutationOptimistic=function(e,t){var o=this,n="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{o.markMutationResult(r(r({},t),{result:{data:n}}),e)}catch(e){"production"===process.env.NODE_ENV||i.error(e)}}),t.mutationId)},P.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).promise},P.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},P.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},P.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),o=h(this.cache.transformForLink(r)),i=this.localState.clientQuery(r),n=o&&this.localState.serverQuery(o),a={document:r,hasClientExports:s(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:i,serverQuery:n,defaultVars:c(l(r))},u=function(e){e&&!t.has(e)&&t.set(e,a)};u(e),u(r),u(i),u(n)}return t.get(e)},P.prototype.getVariables=function(e,t){return r(r({},this.transform(e).defaultVars),t)},P.prototype.watchQuery=function(e){void 0===(e=r(r({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new E(this.cache),o=new g({queryManager:this,queryInfo:t,options:e});return this.queries.set(o.queryId,t),t.init({document:e.query,observableQuery:o,variables:e.variables}),o},P.prototype.query=function(e){var t=this;"production"===process.env.NODE_ENV?i(e.query,15):i(e.query,"query option is required. You must specify your GraphQL document in the query option."),"production"===process.env.NODE_ENV?i("Document"===e.query.kind,16):i("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'),"production"===process.env.NODE_ENV?i(!e.returnPartialData,17):i(!e.returnPartialData,"returnPartialData option only supported on watchQuery."),"production"===process.env.NODE_ENV?i(!e.pollInterval,18):i(!e.pollInterval,"pollInterval option only supported on watchQuery.");var r=this.generateQueryId();return this.fetchQuery(r,e).finally((function(){return t.stopQuery(r)}))},P.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},P.prototype.generateRequestId=function(){return this.requestIdCounter++},P.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},P.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},P.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},P.prototype.clearStore=function(){return this.cancelPendingFetches("production"===process.env.NODE_ENV?new o(19):new o("Store reset while query was in flight (not completed in link chain)")),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=w.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset()},P.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},P.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.queries.forEach((function(o,i){var n=o.observableQuery;if(n&&n.hasObservers()){var a=n.options.fetchPolicy;n.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(n.refetch()),t.getQuery(i).setDiff(null)}})),this.broadcastQueries(),Promise.all(r)},P.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},P.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,o=e.fetchPolicy,i=e.errorPolicy,n=e.variables,a=e.context,s=void 0===a?{}:a;r=this.transform(r).document,n=this.getVariables(r,n);var u=function(e){return t.getObservableFromLink(r,s,e,!1).map((function(n){if("no-cache"!==o&&(k(n,i)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),d(n))throw new m({graphQLErrors:n.errors});return n}))};if(this.transform(r).hasClientExports){var c=this.localState.addExportedVariables(r,n,s).then(u);return new O((function(e){var t=null;return c.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(n)},P.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},P.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},P.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.getQuery(e).stop(),this.queries.delete(e)},P.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},P.prototype.getLocalState=function(){return this.localState},P.prototype.getObservableFromLink=function(e,t,o,i){var n,s,c=this;void 0===i&&(i=null!==(n=null==t?void 0:t.queryDeduplication)&&void 0!==n?n:this.queryDeduplication);var l=this.transform(e).serverQuery;if(l){var h=this.inFlightLinkObservables,y=this.link,d={query:l,variables:o,operationName:u(l)||void 0,context:this.prepareContext(r(r({},t),{forceFetch:!i}))};if(t=d.context,i){var v=h.get(l)||new Map;h.set(l,v);var m=JSON.stringify(o);if(!(s=v.get(m))){var b=new f([a(y,d)]);v.set(m,s=b),b.cleanup((function(){v.delete(m)&&v.size<1&&h.delete(l)}))}}else s=new f([a(y,d)])}else s=new f([O.of({data:{}})]),t=this.prepareContext(t);var g=this.transform(e).clientQuery;return g&&(s=p(s,(function(e){return c.localState.runResolvers({document:g,remoteResult:e,context:t,variables:o})}))),s},P.prototype.getResultsFromLink=function(e,t,r){var o=e.lastRequestId;return p(this.getObservableFromLink(e.document,r.context,r.variables),(function(i){var n=y(i.errors);if(o>=e.lastRequestId){if(n&&"none"===r.errorPolicy)throw e.markError(new m({graphQLErrors:i.errors}));e.markResult(i,r,t),e.markReady()}var a={data:i.data,loading:!1,networkStatus:e.networkStatus||w.ready};return n&&"ignore"!==r.errorPolicy&&(a.errors=i.errors),a}),(function(t){var r=b(t)?t:new m({networkError:t});throw o>=e.lastRequestId&&e.markError(r),r}))},P.prototype.fetchQueryObservable=function(e,t,r){var o=this;void 0===r&&(r=w.loading);var i=this.transform(t.query).document,n=this.getVariables(i,t.variables),a=this.getQuery(e),s=a.networkStatus,u=t.fetchPolicy,c=void 0===u?"cache-first":u,l=t.errorPolicy,h=void 0===l?"none":l,p=t.returnPartialData,y=void 0!==p&&p,d=t.notifyOnNetworkStatusChange,v=void 0!==d&&d,m=t.context,b=void 0===m?{}:m;("cache-first"===c||"cache-and-network"===c||"network-only"===c||"no-cache"===c)&&v&&"number"==typeof s&&s!==r&&q(r)&&("cache-first"!==c&&(c="cache-and-network"),y=!0);var g=Object.assign({},t,{query:i,variables:n,fetchPolicy:c,errorPolicy:h,returnPartialData:y,notifyOnNetworkStatusChange:v,context:b}),Q=function(e){return g.variables=e,o.fetchQueryByPolicy(a,g,r)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return k.cancel(e)}))}));var k=new f(this.transform(g.query).hasClientExports?this.localState.addExportedVariables(g.query,g.variables,g.context).then(Q):Q(g.variables));return k.cleanup((function(){o.fetchCancelFns.delete(e);var r=t.nextFetchPolicy;r&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof r?r.call(t,t.fetchPolicy||"cache-first"):r)})),k},P.prototype.fetchQueryByPolicy=function(e,t,o){var a=this,s=t.query,u=t.variables,c=t.fetchPolicy,l=t.errorPolicy,h=t.returnPartialData,p=t.context;e.init({document:s,variables:u,lastRequestId:this.generateRequestId(),networkStatus:o});var f=function(){return e.getDiff(u)},d=function(t,o){void 0===o&&(o=e.networkStatus||w.loading);var c=t.result;"production"===process.env.NODE_ENV||!y(t.missing)||n(c,{})||h||"production"===process.env.NODE_ENV||i.warn("Missing cache result fields: "+t.missing.map((function(e){return e.path.join(".")})).join(", "),t.missing);var l=function(e){return O.of(r({data:e,loading:q(o),networkStatus:o},t.complete?null:{partial:!0}))};return a.transform(s).hasForcedResolvers?a.localState.runResolvers({document:s,remoteResult:{data:c},context:p,variables:u,onlyRunForcedResolvers:!0}).then((function(e){return l(e.data)})):l(c)},v=function(t){return a.getResultsFromLink(e,t,{variables:u,context:p,fetchPolicy:c,errorPolicy:l})};switch(c){default:case"cache-first":return(m=f()).complete?[d(m,e.markReady())]:h?[d(m),v(!0)]:[v(!0)];case"cache-and-network":var m;return(m=f()).complete||h?[d(m),v(!0)]:[v(!0)];case"cache-only":return[d(f(),e.markReady())];case"network-only":return[v(!0)];case"no-cache":return[v(!1)];case"standby":return[]}},P.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new E(this.cache)),this.queries.get(e)},P.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return r(r({},t),{clientAwareness:this.clientAwareness})},P}();export{P as QueryManager};
@@ -0,0 +1 @@
1
+ import{NetworkStatus as t}from"./networkStatus.js";import{invariant as o}from"../../../ts-invariant/lib/invariant.esm.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import{compact as i}from"../utilities/common/compact.js";var e=function(){function e(t,o,i,e){this.observer=t,this.options=o,this.fetch=i,this.shouldFetch=e}return e.prototype.reobserve=function(t,o){t?this.updateOptions(t):this.updatePolling();var i=this.fetch(this.options,o);return this.concast&&this.concast.removeObserver(this.observer,!0),i.addObserver(this.observer),(this.concast=i).promise},e.prototype.updateOptions=function(t){return Object.assign(this.options,i(t)),this.updatePolling(),this},e.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},e.prototype.updatePolling=function(){var i=this,e=this.pollingInfo,s=this.options.pollInterval;if(s){if((!e||e.interval!==s)&&("production"===process.env.NODE_ENV?o(s,20):o(s,"Attempted to start a polling query without a polling interval."),!1!==this.shouldFetch)){(e||(this.pollingInfo={})).interval=s;var n=function(){i.pollingInfo&&(i.shouldFetch&&i.shouldFetch()?i.reobserve({fetchPolicy:"network-only",nextFetchPolicy:i.options.fetchPolicy||"cache-first"},t.poll).then(r,r):r())},r=function(){var t=i.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};r()}}else e&&(clearTimeout(e.timeout),delete this.pollingInfo)},e}();export{e as Reobserver};
@@ -0,0 +1 @@
1
+ var e;function r(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(e||(e={}));export{e as NetworkStatus,r as isNetworkRequestInFlight};
@@ -0,0 +1 @@
1
+ import{__extends as r}from"../../../tslib/tslib.es6.js";import"../../../ts-invariant/lib/invariant.esm.js";import"../utilities/graphql/transform.js";import"../utilities/common/mergeDeep.js";import"../utilities/observables/Observable.js";import"../utilities/observables/Concast.js";import{isNonEmptyArray as o}from"../utilities/common/arrays.js";function t(r){return r.hasOwnProperty("graphQLErrors")}var s=function(t){function s(r){var e,i,n=r.graphQLErrors,a=r.networkError,m=r.errorMessage,p=r.extraInfo,l=t.call(this,m)||this;return l.graphQLErrors=n||[],l.networkError=a||null,l.message=m||(i="",o((e=l).graphQLErrors)&&e.graphQLErrors.forEach((function(r){var o=r?r.message:"Error message not found.";i+=o+"\n"})),e.networkError&&(i+=e.networkError.message+"\n"),i=i.replace(/\n$/,"")),l.extraInfo=p,l.__proto__=s.prototype,l}return r(s,t),s}(Error);export{s as ApolloError,t as isApolloError};
@@ -0,0 +1 @@
1
+ import{__rest as e}from"../../../../tslib/tslib.es6.js";import{ApolloLink as t}from"../core/ApolloLink.js";import"../../../../ts-invariant/lib/invariant.esm.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";import r from"../../../../zen-observable/index.js";function i(i){return new t((function(t,n){var o=e(t,[]);return new r((function(e){var r;return Promise.resolve(o).then((function(e){return i(e,t.getContext())})).then(t.setContext).then((function(){r=n(t).subscribe({next:e.next.bind(e),error:e.error.bind(e),complete:e.complete.bind(e)})})).catch(e.error.bind(e)),function(){r&&r.unsubscribe()}}))}))}export{i as setContext};
@@ -0,0 +1 @@
1
+ import{__extends as t}from"../../../../tslib/tslib.es6.js";import{InvariantError as r,invariant as n}from"../../../../ts-invariant/lib/invariant.esm.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";import{validateOperation as e}from"../utils/validateOperation.js";import{createOperation as o}from"../utils/createOperation.js";import{transformOperation as i}from"../utils/transformOperation.js";import u from"../../../../zen-observable/index.js";function s(t,r){return r?r(t):u.of()}function c(t){return"function"==typeof t?new a(t):t}function f(t){return t.request.length<=1}var p=function(r){function n(t,n){var e=r.call(this,t)||this;return e.link=n,e}return t(n,r),n}(Error),a=function(){function t(t){t&&(this.request=t)}return t.empty=function(){return new t((function(){return u.of()}))},t.from=function(r){return 0===r.length?t.empty():r.map(c).reduce((function(t,r){return t.concat(r)}))},t.split=function(r,n,e){var o=c(n),i=c(e||new t(s));return f(o)&&f(i)?new t((function(t){return r(t)?o.request(t)||u.of():i.request(t)||u.of()})):new t((function(t,n){return r(t)?o.request(t,n)||u.of():i.request(t,n)||u.of()}))},t.execute=function(t,r){return t.request(o(r.context,i(e(r))))||u.of()},t.concat=function(r,e){var o=c(r);if(f(o))return"production"===process.env.NODE_ENV||n.warn(new p("You are calling concat on a terminating link, which will have no effect",o)),o;var i=c(e);return f(i)?new t((function(t){return o.request(t,(function(t){return i.request(t)||u.of()}))||u.of()})):new t((function(t,r){return o.request(t,(function(t){return i.request(t,r)||u.of()}))||u.of()}))},t.prototype.split=function(r,n,e){return this.concat(t.split(r,n,e||new t(s)))},t.prototype.concat=function(r){return t.concat(this,r)},t.prototype.request=function(t,n){throw"production"===process.env.NODE_ENV?new r(21):new r("request is not implemented")},t.prototype.onError=function(t,r){if(r&&r.error)return r.error(t),!1;throw t},t.prototype.setOnError=function(t){return this.onError=t,this},t}();export{a as ApolloLink};
@@ -0,0 +1 @@
1
+ import{ApolloLink as o}from"./ApolloLink.js";var e=o.execute;export{e as execute};
@@ -0,0 +1 @@
1
+ import{__extends as r}from"../../../../tslib/tslib.es6.js";import{ApolloLink as e}from"../core/ApolloLink.js";import"../../../../ts-invariant/lib/invariant.esm.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";import t from"../../../../zen-observable/index.js";function o(r){return new e((function(e,o){return new t((function(t){var n,i,s;try{n=o(e).subscribe({next:function(n){n.errors&&(s=r({graphQLErrors:n.errors,response:n,operation:e,forward:o}))?i=s.subscribe({next:t.next.bind(t),error:t.error.bind(t),complete:t.complete.bind(t)}):t.next(n)},error:function(n){(s=r({operation:e,networkError:n,graphQLErrors:n&&n.result&&n.result.errors,forward:o}))?i=s.subscribe({next:t.next.bind(t),error:t.error.bind(t),complete:t.complete.bind(t)}):t.error(n)},complete:function(){s||t.complete.bind(t)()}})}catch(n){r({networkError:n,operation:e,forward:o}),t.error(n)}return function(){n&&n.unsubscribe(),i&&n.unsubscribe()}}))}))}!function(e){function t(r){var t=e.call(this)||this;return t.link=o(r),t}r(t,e),t.prototype.request=function(r,e){return this.link.request(r,e)}}(e);export{o as onError};
@@ -0,0 +1 @@
1
+ import{__extends as t}from"../../../../tslib/tslib.es6.js";import{ApolloLink as r}from"../core/ApolloLink.js";import{createHttpLink as o}from"./createHttpLink.js";var i=function(r){function i(t){void 0===t&&(t={});var i=r.call(this,o(t).request)||this;return i.options=t,i}return t(i,r),i}(r);export{i as HttpLink};
@@ -0,0 +1 @@
1
+ import{InvariantError as n}from"../../../../ts-invariant/lib/invariant.esm.js";var t=function(t){if(!t&&"undefined"==typeof fetch)throw"production"===process.env.NODE_ENV?new n(22):new n("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n ")};export{t as checkFetcher};
@@ -0,0 +1 @@
1
+ import{__rest as e,__assign as r}from"../../../../tslib/tslib.es6.js";import{visit as t}from"../../../../graphql/language/visitor.mjs.js";import{ApolloLink as i}from"../core/ApolloLink.js";import"../../../../ts-invariant/lib/invariant.esm.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";import{serializeFetchParameter as o}from"./serializeFetchParameter.js";import{selectURI as n}from"./selectURI.js";import{parseAndCheckHttpResponse as s}from"./parseAndCheckHttpResponse.js";import{checkFetcher as a}from"./checkFetcher.js";import{selectHttpOptionsAndBody as l,fallbackHttpConfig as c}from"./selectHttpOptionsAndBody.js";import{createSignalIfSupported as p}from"./createSignalIfSupported.js";import{rewriteURIForGET as m}from"./rewriteURIForGET.js";import{fromError as u}from"../utils/fromError.js";import f from"../../../../zen-observable/index.js";var d=function(d){void 0===d&&(d={});var h=d.uri,v=void 0===h?"/graphql":h,b=d.fetch,j=d.includeExtensions,g=d.useGETForQueries,E=d.includeUnusedVariables,x=void 0!==E&&E,y=e(d,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);a(b),b||(b=fetch);var q={http:{includeExtensions:j},options:y.fetchOptions,credentials:y.credentials,headers:y.headers};return new i((function(e){var i=n(e,v),a=e.getContext(),d={};if(a.clientAwareness){var h=a.clientAwareness,j=h.name,E=h.version;j&&(d["apollographql-client-name"]=j),E&&(d["apollographql-client-version"]=E)}var y,w=r(r({},d),a.headers),k={http:a.http,options:a.fetchOptions,credentials:a.credentials,headers:w},A=l(e,c,q,k),O=A.options,F=A.body;if(F.variables&&!x){var G=new Set(Object.keys(F.variables));t(e.query,{Variable:function(e,r,t){t&&"VariableDefinition"!==t.kind&&G.delete(e.name.value)}}),G.size&&(F.variables=r({},F.variables),G.forEach((function(e){delete F.variables[e]})))}if(!O.signal){var T=p(),U=T.controller,C=T.signal;(y=U)&&(O.signal=C)}if(g&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(O.method="GET"),"GET"===O.method){var I=m(i,F),R=I.newURI,V=I.parseError;if(V)return u(V);i=R}else try{O.body=o(F,"Payload")}catch(V){return u(V)}return new f((function(r){return b(i,O).then((function(r){return e.setContext({response:r}),r})).then(s(e)).then((function(e){return r.next(e),r.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e))})),function(){y&&y.abort()}}))}))};export{d as createHttpLink};
@@ -0,0 +1 @@
1
+ var r=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var r=new AbortController;return{controller:r,signal:r.signal}};export{r as createSignalIfSupported};
@@ -0,0 +1 @@
1
+ import"../../../../ts-invariant/lib/invariant.esm.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";import{throwServerError as r}from"../utils/throwServerError.js";var t=Object.prototype.hasOwnProperty;function e(e){return function(s){return s.text().then((function(r){try{return JSON.parse(r)}catch(e){var t=e;throw t.name="ServerParseError",t.response=s,t.statusCode=s.status,t.bodyText=r,t}})).then((function(o){return s.status>=300&&r(s,o,"Response not successful: Received status code "+s.status),Array.isArray(o)||t.call(o,"data")||t.call(o,"errors")||r(s,o,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(r){return r.operationName})):e.operationName)+"'."),o}))}}export{e as parseAndCheckHttpResponse};
@@ -0,0 +1 @@
1
+ import{serializeFetchParameter as r}from"./serializeFetchParameter.js";function e(e,a){var n=[],i=function(r,e){n.push(r+"="+encodeURIComponent(e))};if("query"in a&&i("query",a.query),a.operationName&&i("operationName",a.operationName),a.variables){var o=void 0;try{o=r(a.variables,"Variables map")}catch(r){return{parseError:r}}i("variables",o)}if(a.extensions){var t=void 0;try{t=r(a.extensions,"Extensions map")}catch(r){return{parseError:r}}i("extensions",t)}var s="",p=e,u=e.indexOf("#");-1!==u&&(s=e.substr(u),p=e.substr(0,u));var v=-1===p.indexOf("?")?"?":"&";return{newURI:p+v+n.join("&")+s}}export{e as rewriteURIForGET};
@@ -0,0 +1 @@
1
+ import{__assign as e}from"../../../../tslib/tslib.es6.js";import{print as t}from"../../../../graphql/language/printer.mjs.js";var n={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},r=function(n,r){for(var s=[],a=2;a<arguments.length;a++)s[a-2]=arguments[a];var i=e(e({},r.options),{headers:r.headers,credentials:r.credentials}),o=r.http||{};s.forEach((function(t){i=e(e(e({},i),t.options),{headers:e(e({},i.headers),t.headers)}),t.credentials&&(i.credentials=t.credentials),o=e(e({},o),t.http)}));var p=n.operationName,d=n.extensions,l=n.variables,c=n.query,h={operationName:p,variables:l};return o.includeExtensions&&(h.extensions=d),o.includeQuery&&(h.query=t(c)),{options:i,body:h}};export{n as fallbackHttpConfig,r as selectHttpOptionsAndBody};
@@ -0,0 +1 @@
1
+ var t=function(t,r){var n=t.getContext().uri;return n||("function"==typeof r?r(t):r||"/graphql")};export{t as selectURI};
@@ -0,0 +1 @@
1
+ import{InvariantError as r}from"../../../../ts-invariant/lib/invariant.esm.js";var e=function(e,t){var i;try{i=JSON.stringify(e)}catch(e){var a="production"===process.env.NODE_ENV?new r(23):new r("Network request failed. "+t+" is not serializable: "+e.message);throw a.parseError=e,a}return i};export{e as serializeFetchParameter};
@@ -0,0 +1 @@
1
+ import{__assign as e}from"../../../../tslib/tslib.es6.js";function t(t,n){var r=e({},t);return Object.defineProperty(n,"setContext",{enumerable:!1,value:function(t){r=e(e({},r),"function"==typeof t?t(r):t)}}),Object.defineProperty(n,"getContext",{enumerable:!1,value:function(){return e({},r)}}),n}export{t as createOperation};
@@ -0,0 +1 @@
1
+ import"../../../../ts-invariant/lib/invariant.esm.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";import i from"../../../../zen-observable/index.js";function e(e){return new i((function(i){i.error(e)}))}export{e as fromError};
@@ -0,0 +1 @@
1
+ var r=function(r,e,t){var o=new Error(t);throw o.name="ServerError",o.response=r,o.statusCode=r.status,o.result=e,o};export{r as throwServerError};
@@ -0,0 +1 @@
1
+ import"../../../../ts-invariant/lib/invariant.esm.js";import{getOperationName as e}from"../../utilities/graphql/getFromAST.js";import"../../utilities/graphql/transform.js";import"../../utilities/common/mergeDeep.js";import"../../utilities/observables/Observable.js";import"../../utilities/observables/Concast.js";function i(i){var r={variables:i.variables||{},extensions:i.extensions||{},operationName:i.operationName,query:i.query};return r.operationName||(r.operationName="string"!=typeof r.query?e(r.query)||void 0:""),r}export{i as transformOperation};
@@ -0,0 +1 @@
1
+ import{InvariantError as e}from"../../../../ts-invariant/lib/invariant.esm.js";function n(n){for(var r=["query","operationName","variables","extensions","context"],t=0,i=Object.keys(n);t<i.length;t++){var o=i[t];if(r.indexOf(o)<0)throw"production"===process.env.NODE_ENV?new e(26):new e("illegal argument: "+o)}return n}export{n as validateOperation};
@@ -0,0 +1 @@
1
+ function r(r){return Array.isArray(r)&&r.length>0}export{r as isNonEmptyArray};
@@ -0,0 +1 @@
1
+ var t="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);export{t as canUseWeakMap};
@@ -0,0 +1 @@
1
+ var t=Object.prototype.toString;function e(t){return r(t)}function r(e,c){switch(t.call(e)){case"[object Array]":if((c=c||new Map).has(e))return c.get(e);var n=e.slice(0);return c.set(e,n),n.forEach((function(t,e){n[e]=r(t,c)})),n;case"[object Object]":if((c=c||new Map).has(e))return c.get(e);var a=Object.create(Object.getPrototypeOf(e));return c.set(e,a),Object.keys(e).forEach((function(t){a[t]=r(e[t],c)})),a;default:return e}}export{e as cloneDeep};
@@ -0,0 +1 @@
1
+ function r(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var t=Object.create(null);return r.forEach((function(r){r&&Object.keys(r).forEach((function(n){var c=r[n];void 0!==c&&(t[n]=c)}))})),t}export{r as compact};
@@ -0,0 +1 @@
1
+ function e(){return"undefined"!=typeof process&&process.env.NODE_ENV?process.env.NODE_ENV:"development"}function n(n){return e()===n}function t(){return!0===n("development")}function r(){return!0===n("test")}export{e as getEnv,t as isDevelopment,n as isEnv,r as isTest};
@@ -0,0 +1 @@
1
+ function r(r){return r.errors&&r.errors.length>0||!1}export{r as graphQLResultHasError};
@@ -0,0 +1 @@
1
+ function n(n,t,r){var c=0;return n.forEach((function(r,o){t.call(this,r,o,n)&&(n[c++]=r)}),r),n.length=c,n}export{n as filterInPlace};
@@ -0,0 +1 @@
1
+ import{isDevelopment as e,isTest as n}from"./environment.js";function t(e){return null!==e&&"object"==typeof e}function o(o){var r,c;return"production"!==process.env.NODE_ENV&&(e()||n())&&(r=o,(c=new Set([r])).forEach((function(e){t(e)&&(Object.isFrozen(e)||Object.freeze(e),Object.getOwnPropertyNames(e).forEach((function(n){t(e[n])&&c.add(e[n])})))}))),o}export{o as maybeDeepFreeze};
@@ -0,0 +1 @@
1
+ import{__spreadArrays as r,__assign as t}from"../../../../tslib/tslib.es6.js";var e=Object.prototype.hasOwnProperty;function o(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return n(r)}function n(r){var t=r[0]||{},e=r.length;if(e>1)for(var o=new p,n=1;n<e;++n)t=o.merge(t,r[n]);return t}function i(r){return null!==r&&"object"==typeof r}var s=function(r,t,e){return this.merge(r[e],t[e])},p=function(){function o(r){void 0===r&&(r=s),this.reconciler=r,this.isObject=i,this.pastCopies=new Set}return o.prototype.merge=function(t,o){for(var n=this,s=[],p=2;p<arguments.length;p++)s[p-2]=arguments[p];return i(o)&&i(t)?(Object.keys(o).forEach((function(i){if(e.call(t,i)){var p=t[i];if(o[i]!==p){var a=n.reconciler.apply(n,r([t,o,i],s));a!==p&&((t=n.shallowCopyForMerge(t))[i]=a)}}else(t=n.shallowCopyForMerge(t))[i]=o[i]})),t):o},o.prototype.shallowCopyForMerge=function(r){return i(r)&&!this.pastCopies.has(r)&&(r=Array.isArray(r)?r.slice(0):t({__proto__:Object.getPrototypeOf(r)},r),this.pastCopies.add(r)),r},o}();export{p as DeepMerger,o as mergeDeep,n as mergeDeepArray};
@@ -0,0 +1 @@
1
+ import{invariant as e}from"../../../../ts-invariant/lib/invariant.esm.js";import{visit as n}from"../../../../graphql/language/visitor.mjs.js";function r(n,r){var i=n.directives;return!i||!i.length||u(i).every((function(n){var i=n.directive,a=n.ifArgument,t=!1;return"Variable"===a.value.kind?(t=r&&r[a.value.name.value],"production"===process.env.NODE_ENV?e(void 0!==t,38):e(void 0!==t,"Invalid variable referenced in @"+i.name.value+" directive.")):t=a.value.value,"skip"===i.name.value?!t:t}))}function i(e){var r=[];return n(e,{Directive:function(e){r.push(e.name.value)}}),r}function a(e,n){return i(n).some((function(n){return e.indexOf(n)>-1}))}function t(e){return e&&a(["client"],e)&&a(["export"],e)}function u(n){var r=[];return n&&n.length&&n.forEach((function(n){if("skip"===(i=n.name.value)||"include"===i){var i,a=n.arguments,t=n.name.value;"production"===process.env.NODE_ENV?e(a&&1===a.length,39):e(a&&1===a.length,"Incorrect number of arguments for the @"+t+" directive.");var u=a[0];"production"===process.env.NODE_ENV?e(u.name&&"if"===u.name.value,40):e(u.name&&"if"===u.name.value,"Invalid argument for the @"+t+" directive.");var o=u.value;"production"===process.env.NODE_ENV?e(o&&("Variable"===o.kind||"BooleanValue"===o.kind),41):e(o&&("Variable"===o.kind||"BooleanValue"===o.kind),"Argument for the @"+t+" directive must be a variable or a boolean value."),r.push({directive:n,ifArgument:u})}})),r}export{i as getDirectiveNames,u as getInclusionDirectives,t as hasClientExports,a as hasDirectives,r as shouldInclude};
@@ -0,0 +1 @@
1
+ import{__assign as n,__spreadArrays as e}from"../../../../tslib/tslib.es6.js";import{InvariantError as i,invariant as t}from"../../../../ts-invariant/lib/invariant.esm.js";function a(a,r){var o=r,s=[];return a.definitions.forEach((function(n){if("OperationDefinition"===n.kind)throw"production"===process.env.NODE_ENV?new i(42):new i("Found a "+n.operation+" operation"+(n.name?" named '"+n.name.value+"'":"")+". No operations are allowed when using a fragment as a query. Only fragments are allowed.");"FragmentDefinition"===n.kind&&s.push(n)})),void 0===o&&("production"===process.env.NODE_ENV?t(1===s.length,43):t(1===s.length,"Found "+s.length+" fragments. `fragmentName` must be provided when there is not exactly 1 fragment."),o=s[0].name.value),n(n({},a),{definitions:e([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:o}}]}}],a.definitions)})}function r(n){void 0===n&&(n=[]);var e={};return n.forEach((function(n){e[n.name.value]=n})),e}function o(n,e){switch(n.kind){case"InlineFragment":return n;case"FragmentSpread":var i=e&&e[n.name.value];return"production"===process.env.NODE_ENV?t(i,44):t(i,"No fragment named "+n.name.value+"."),i;default:return null}}export{r as createFragmentMap,o as getFragmentFromSelection,a as getFragmentQueryDocument};
@@ -0,0 +1 @@
1
+ import{invariant as n,InvariantError as i}from"../../../../ts-invariant/lib/invariant.esm.js";import{valueToObjectRepresentation as t}from"./storeUtils.js";function e(t){"production"===process.env.NODE_ENV?n(t&&"Document"===t.kind,45):n(t&&"Document"===t.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql');var e=t.definitions.filter((function(n){return"FragmentDefinition"!==n.kind})).map((function(n){if("OperationDefinition"!==n.kind)throw"production"===process.env.NODE_ENV?new i(46):new i('Schema type definitions not allowed in queries. Found: "'+n.kind+'"');return n}));return"production"===process.env.NODE_ENV?n(e.length<=1,47):n(e.length<=1,"Ambiguous GraphQL document: contains "+e.length+" operations"),t}function o(n){return e(n),n.definitions.filter((function(n){return"OperationDefinition"===n.kind}))[0]}function r(n){return n.definitions.filter((function(n){return"OperationDefinition"===n.kind&&n.name})).map((function(n){return n.name.value}))[0]||null}function a(n){return n.definitions.filter((function(n){return"FragmentDefinition"===n.kind}))}function u(i){var t=o(i);return"production"===process.env.NODE_ENV?n(t&&"query"===t.operation,48):n(t&&"query"===t.operation,"Must contain a query definition."),t}function c(i){"production"===process.env.NODE_ENV?n("Document"===i.kind,49):n("Document"===i.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'),"production"===process.env.NODE_ENV?n(i.definitions.length<=1,50):n(i.definitions.length<=1,"Fragment must have exactly one definition.");var t=i.definitions[0];return"production"===process.env.NODE_ENV?n("FragmentDefinition"===t.kind,51):n("FragmentDefinition"===t.kind,"Must be a fragment definition."),t}function s(n){var t;e(n);for(var o=0,r=n.definitions;o<r.length;o++){var a=r[o];if("OperationDefinition"===a.kind){var u=a.operation;if("query"===u||"mutation"===u||"subscription"===u)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw"production"===process.env.NODE_ENV?new i(52):new i("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment.")}function f(n){var i=Object.create(null),e=n&&n.variableDefinitions;return e&&e.length&&e.forEach((function(n){n.defaultValue&&t(i,n.variable.name,n.defaultValue)})),i}export{e as checkDocument,f as getDefaultValues,c as getFragmentDefinition,a as getFragmentDefinitions,s as getMainDefinition,o as getOperationDefinition,r as getOperationName,u as getQueryDefinition};
@@ -0,0 +1 @@
1
+ import n from"../../../../fast-json-stable-stringify/index.js";import{InvariantError as e}from"../../../../ts-invariant/lib/invariant.esm.js";import{getFragmentFromSelection as t}from"./fragments.js";function r(n){return{__ref:String(n)}}function i(n){return Boolean(n&&"object"==typeof n&&"string"==typeof n.__ref)}function u(n,t,r,i){if(function(n){return"IntValue"===n.kind}(r)||function(n){return"FloatValue"===n.kind}(r))n[t.value]=Number(r.value);else if(function(n){return"BooleanValue"===n.kind}(r)||function(n){return"StringValue"===n.kind}(r))n[t.value]=r.value;else if(function(n){return"ObjectValue"===n.kind}(r)){var a={};r.fields.map((function(n){return u(a,n.name,n.value,i)})),n[t.value]=a}else if(function(n){return"Variable"===n.kind}(r)){var o=(i||{})[r.name.value];n[t.value]=o}else if(function(n){return"ListValue"===n.kind}(r))n[t.value]=r.values.map((function(n){var e={};return u(e,t,n,i),e[t.value]}));else if(function(n){return"EnumValue"===n.kind}(r))n[t.value]=r.value;else{if(!function(n){return"NullValue"===n.kind}(r))throw"production"===process.env.NODE_ENV?new e(53):new e('The inline argument "'+t.value+'" of kind "'+r.kind+'"is not supported. Use variables instead of inline arguments to overcome this limitation.');n[t.value]=null}}function a(n,e){var t=null;n.directives&&(t={},n.directives.forEach((function(n){t[n.name.value]={},n.arguments&&n.arguments.forEach((function(r){var i=r.name,a=r.value;return u(t[n.name.value],i,a,e)}))})));var r=null;return n.arguments&&n.arguments.length&&(r={},n.arguments.forEach((function(n){var t=n.name,i=n.value;return u(r,t,i,e)}))),l(n.name.value,r,t)}var o=["connection","include","skip","client","rest","export"];function l(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var i=r.connection.filter?r.connection.filter:[];i.sort();var u={};return i.forEach((function(n){u[n]=t[n]})),r.connection.key+"("+JSON.stringify(u)+")"}return r.connection.key}var a=e;if(t){var l=n(t);a+="("+l+")"}return r&&Object.keys(r).forEach((function(n){-1===o.indexOf(n)&&(r[n]&&Object.keys(r[n]).length?a+="@"+n+"("+JSON.stringify(r[n])+")":a+="@"+n)})),a}function f(n,e){if(n.arguments&&n.arguments.length){var t={};return n.arguments.forEach((function(n){var r=n.name,i=n.value;return u(t,r,i,e)})),t}return null}function c(n){return n.alias?n.alias.value:n.name.value}function s(n,e,r){if("string"==typeof n.__typename)return n.__typename;for(var i=0,u=e.selections;i<u.length;i++){var a=u[i];if(v(a)){if("__typename"===a.name.value)return n[c(a)]}else{var o=s(n,t(a,r).selectionSet,r);if("string"==typeof o)return o}}}function v(n){return"Field"===n.kind}function m(n){return"InlineFragment"===n.kind}export{f as argumentsObjectFromField,l as getStoreKeyName,s as getTypenameFromResult,v as isField,m as isInlineFragment,i as isReference,r as makeReference,c as resultKeyNameFromField,a as storeKeyNameFromField,u as valueToObjectRepresentation};
@@ -0,0 +1 @@
1
+ import{__assign as e,__spreadArrays as n}from"../../../../tslib/tslib.es6.js";import{invariant as t}from"../../../../ts-invariant/lib/invariant.esm.js";import{checkDocument as r,getFragmentDefinitions as i,getOperationDefinition as u,getFragmentDefinition as a,getMainDefinition as o}from"./getFromAST.js";import{filterInPlace as c}from"../common/filterInPlace.js";import{isField as f,isInlineFragment as m}from"./storeUtils.js";import{createFragmentMap as l}from"./fragments.js";import{visit as s}from"../../../../graphql/language/visitor.mjs.js";var v={kind:"Field",name:{kind:"Name",value:"__typename"}};function p(e,n){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&p(n[e.name.value],n)}))}function d(e){return p(u(e)||a(e),l(i(e)))?null:e}function g(e){return function(n){return e.some((function(e){return e.name&&e.name===n.name.value||e.test&&e.test(n)}))}}function h(e,n){var t=Object.create(null),r=[],i=Object.create(null),u=[],a=d(s(n,{Variable:{enter:function(e,n,r){"VariableDefinition"!==r.kind&&(t[e.name.value]=!0)}},Field:{enter:function(n){if(e&&n.directives&&(e.some((function(e){return e.remove}))&&n.directives&&n.directives.some(g(e))))return n.arguments&&n.arguments.forEach((function(e){"Variable"===e.value.kind&&r.push({name:e.value.name.value})})),n.selectionSet&&j(n.selectionSet).forEach((function(e){u.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){i[e.name.value]=!0}},Directive:{enter:function(n){if(g(e)(n))return null}}}));return a&&c(r,(function(e){return!!e.name&&!t[e.name]})).length&&(a=k(r,a)),a&&c(u,(function(e){return!!e.name&&!i[e.name]})).length&&(a=D(u,a)),a}function S(t){return s(r(t),{SelectionSet:{enter:function(t,r,i){if(!i||"OperationDefinition"!==i.kind){var u=t.selections;if(u)if(!u.some((function(e){return f(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var a=i;if(!(f(a)&&a.directives&&a.directives.some((function(e){return"export"===e.name.value}))))return e(e({},t),{selections:n(u,[v])})}}}}})}S.added=function(e){return e===v};var b={test:function(e){var n="connection"===e.name.value;return n&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||"production"===process.env.NODE_ENV||t.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),n}};function y(e){return h([b],r(e))}function k(n,t){var r=function(e){return function(n){return e.some((function(e){return n.value&&"Variable"===n.value.kind&&n.value.name&&(e.name===n.value.name.value||e.test&&e.test(n))}))}}(n);return d(s(t,{OperationDefinition:{enter:function(t){return e(e({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(e){return!n.some((function(n){return n.name===e.variable.name.value}))})):[]})}},Field:{enter:function(e){if(n.some((function(e){return e.remove}))){var t=0;if(e.arguments&&e.arguments.forEach((function(e){r(e)&&(t+=1)})),1===t)return null}}},Argument:{enter:function(e){if(r(e))return null}}}))}function D(e,n){function t(n){if(e.some((function(e){return e.name===n.name.value})))return null}return d(s(n,{FragmentSpread:{enter:t},FragmentDefinition:{enter:t}}))}function j(e){var n=[];return e.selections.forEach((function(e){(f(e)||m(e))&&e.selectionSet?j(e.selectionSet).forEach((function(e){return n.push(e)})):"FragmentSpread"===e.kind&&n.push(e)})),n}function F(n){return"query"===o(n).operation?n:s(n,{OperationDefinition:{enter:function(n){return e(e({},n),{operation:"query"})}}})}function _(e){r(e);var n=h([{test:function(e){return"client"===e.name.value},remove:!0}],e);return n&&(n=s(n,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return f(e)&&"__typename"===e.name.value})))return null}}})),n}export{S as addTypenameToDocument,F as buildQueryFromSelectionSet,k as removeArgumentsFromDocument,_ as removeClientSetsFromDocument,y as removeConnectionDirectiveFromDocument,h as removeDirectivesFromDocument,D as removeFragmentSpreadFromDocument};
@@ -0,0 +1 @@
1
+ import{__extends as e}from"../../../../tslib/tslib.es6.js";import"./Observable.js";import{iterateObserversSafely as t}from"./iteration.js";import r from"../../../../zen-observable/index.js";function s(e){return e&&"function"==typeof e.then}var n=function(r){function n(e){var n=r.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.addCount=0,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],t(n.observers,"next",e))},error:function(e){var r=n.sub;null!==r&&(r&&Promise.resolve().then((function(){return r.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),t(n.observers,"error",e))},complete:function(){if(null!==n.sub){var e=n.sources.shift();e?s(e)?e.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=e.subscribe(n.handlers):(n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),t(n.observers,"complete"))}}},n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){})),s(e)?e.then((function(e){return n.start(e)}),n.handlers.error):n.start(e),n}return e(n,r),n.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},n.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},n.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},n.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.error(new Error("Observable cancelled prematurely"))},n.prototype.cleanup=function(e){var t=this,r=!1,s=function(){r||(r=!0,t.observers.delete(n),e())},n={next:s,error:s,complete:s},o=this.addCount;this.addObserver(n),this.addCount=o},n}(r);"function"==typeof Symbol&&Symbol.species&&Object.defineProperty(n,Symbol.species,{value:r});export{n as Concast};
@@ -0,0 +1 @@
1
+ import e from"../../../../zen-observable/index.js";export{default as Observable}from"../../../../zen-observable/index.js";import"../../../../symbol-observable/es/index.js";e.prototype["@@observable"]=function(){return this};
@@ -0,0 +1 @@
1
+ import"./Observable.js";import n from"../../../../zen-observable/index.js";function e(e,r,t){return new n((function(n){var o=n.next,c=n.error,u=n.complete,i=0,l=!1;function f(e,r){return e?function(r){++i,new Promise((function(n){return n(e(r))})).then((function(e){--i,o&&o.call(n,e),l&&s.complete()}),(function(e){--i,c&&c.call(n,e)}))}:function(e){return r&&r.call(n,e)}}var s={next:f(r,o),error:f(t,c),complete:function(){l=!0,i||u&&u.call(n)}},a=e.subscribe(s);return function(){return a.unsubscribe()}}))}export{e as asyncMap};
@@ -0,0 +1 @@
1
+ function n(n,r,o){var t=[];n.forEach((function(n){return n[r]&&t.push(n)})),t.forEach((function(n){return n[r](o)}))}export{n as iterateObserversSafely};
@@ -0,0 +1 @@
1
+ var r="3.3.7";export{r as version};
@@ -0,0 +1 @@
1
+ var a="ext.",n="Phone number country",i="Phone",e="Abkhazia",r="Ascension Island",o="Andorra",t="United Arab Emirates",u="Afghanistan",s="Antigua and Barbuda",l="Anguilla",d="Albania",S="Armenia",M="Angola",C="Antarctica",G="Argentina",B="American Samoa",I="Austria",c="Australia",h="Aruba",A="Åland Islands",m="Azerbaijan",T="Bosnia and Herzegovina",g="Barbados",N="Bangladesh",b="Belgium",P="Burkina Faso",y="Bulgaria",L="Bahrain",K="Burundi",E="Benin",R="Saint Barthélemy",F="Bermuda",U="Brunei Darussalam",p="Bolivia",H="Bonaire, Sint Eustatius and Saba",D="Brazil",V="Bahamas",w="Bhutan",O="Bouvet Island",Z="Botswana",k="Belarus",v="Belize",J="Canada",z="Cocos (Keeling) Islands",W="Congo, Democratic Republic of the",Y="Central African Republic",f="Congo",Q="Switzerland",x="Cote d'Ivoire",q="Cook Islands",j="Chile",X="Cameroon",$="China",_="Colombia",aa="Costa Rica",na="Cuba",ia="Cape Verde",ea="Curaçao",ra="Christmas Island",oa="Cyprus",ta="Czech Republic",ua="Germany",sa="Djibouti",la="Denmark",da="Dominica",Sa="Dominican Republic",Ma="Algeria",Ca="Ecuador",Ga="Estonia",Ba="Egypt",Ia="Western Sahara",ca="Eritrea",ha="Spain",Aa="Ethiopia",ma="Finland",Ta="Fiji",ga="Falkland Islands",Na="Federated States of Micronesia",ba="Faroe Islands",Pa="France",ya="Gabon",La="United Kingdom",Ka="Grenada",Ea="Georgia",Ra="French Guiana",Fa="Guernsey",Ua="Ghana",pa="Gibraltar",Ha="Greenland",Da="Gambia",Va="Guinea",wa="Guadeloupe",Oa="Equatorial Guinea",Za="Greece",ka="South Georgia and the South Sandwich Islands",va="Guatemala",Ja="Guam",za="Guinea-Bissau",Wa="Guyana",Ya="Hong Kong",fa="Heard Island and McDonald Islands",Qa="Honduras",xa="Croatia",qa="Haiti",ja="Hungary",Xa="Indonesia",$a="Ireland",_a="Israel",an="Isle of Man",nn="India",en="British Indian Ocean Territory",rn="Iraq",on="Iran",tn="Iceland",un="Italy",sn="Jersey",ln="Jamaica",dn="Jordan",Sn="Japan",Mn="Kenya",Cn="Kyrgyzstan",Gn="Cambodia",Bn="Kiribati",In="Comoros",cn="Saint Kitts and Nevis",hn="North Korea",An="South Korea",mn="Kuwait",Tn="Cayman Islands",gn="Kazakhstan",Nn="Laos",bn="Lebanon",Pn="Saint Lucia",yn="Liechtenstein",Ln="Sri Lanka",Kn="Liberia",En="Lesotho",Rn="Lithuania",Fn="Luxembourg",Un="Latvia",pn="Libya",Hn="Morocco",Dn="Monaco",Vn="Moldova",wn="Montenegro",On="Saint Martin (French Part)",Zn="Madagascar",kn="Marshall Islands",vn="North Macedonia",Jn="Mali",zn="Burma",Wn="Mongolia",Yn="Macao",fn="Northern Mariana Islands",Qn="Martinique",xn="Mauritania",qn="Montserrat",jn="Malta",Xn="Mauritius",$n="Maldives",_n="Malawi",ai="Mexico",ni="Malaysia",ii="Mozambique",ei="Namibia",ri="New Caledonia",oi="Niger",ti="Norfolk Island",ui="Nigeria",si="Nicaragua",li="Netherlands",di="Norway",Si="Nepal",Mi="Nauru",Ci="Niue",Gi="New Zealand",Bi="Oman",Ii="South Ossetia",ci="Panama",hi="Peru",Ai="French Polynesia",mi="Papua New Guinea",Ti="Philippines",gi="Pakistan",Ni="Poland",bi="Saint Pierre and Miquelon",Pi="Pitcairn",yi="Puerto Rico",Li="Palestine",Ki="Portugal",Ei="Palau",Ri="Paraguay",Fi="Qatar",Ui="Reunion",pi="Romania",Hi="Serbia",Di="Russia",Vi="Rwanda",wi="Saudi Arabia",Oi="Solomon Islands",Zi="Seychelles",ki="Sudan",vi="Sweden",Ji="Singapore",zi="Saint Helena",Wi="Slovenia",Yi="Svalbard and Jan Mayen",fi="Slovakia",Qi="Sierra Leone",xi="San Marino",qi="Senegal",ji="Somalia",Xi="Suriname",$i="South Sudan",_i="Sao Tome and Principe",ae="El Salvador",ne="Sint Maarten",ie="Syria",ee="Swaziland",re="Tristan da Cunha",oe="Turks and Caicos Islands",te="Chad",ue="French Southern Territories",se="Togo",le="Thailand",de="Tajikistan",Se="Tokelau",Me="Timor-Leste",Ce="Turkmenistan",Ge="Tunisia",Be="Tonga",Ie="Turkey",ce="Trinidad and Tobago",he="Tuvalu",Ae="Taiwan",me="Tanzania",Te="Ukraine",ge="Uganda",Ne="United States Minor Outlying Islands",be="United States",Pe="Uruguay",ye="Uzbekistan",Le="Holy See (Vatican City State)",Ke="Saint Vincent and the Grenadines",Ee="Venezuela",Re="Virgin Islands, British",Fe="Virgin Islands, U.S.",Ue="Vietnam",pe="Vanuatu",He="Wallis and Futuna",De="Samoa",Ve="Kosovo",we="Yemen",Oe="Mayotte",Ze="South Africa",ke="Zambia",ve="Zimbabwe",Je="International",ze={ext:"ext.",country:"Phone number country",phone:"Phone",AB:e,AC:r,AD:o,AE:t,AF:u,AG:s,AI:l,AL:d,AM:S,AO:"Angola",AQ:C,AR:G,AS:B,AT:I,AU:c,AW:"Aruba",AX:A,AZ:m,BA:T,BB:g,BD:N,BE:b,BF:P,BG:y,BH:L,BI:K,BJ:"Benin",BL:R,BM:F,BN:U,BO:p,BQ:H,BR:"Brazil",BS:V,BT:"Bhutan",BV:O,BW:Z,BY:k,BZ:"Belize",CA:"Canada",CC:z,CD:W,CF:Y,CG:"Congo",CH:Q,CI:x,CK:q,CL:"Chile",CM:X,CN:"China",CO:_,CR:aa,CU:"Cuba",CV:ia,CW:ea,CX:ra,CY:"Cyprus",CZ:ta,DE:ua,DJ:sa,DK:la,DM:da,DO:Sa,DZ:Ma,EC:Ca,EE:Ga,EG:"Egypt",EH:Ia,ER:ca,ES:"Spain",ET:Aa,FI:ma,FJ:"Fiji",FK:ga,FM:Na,FO:ba,FR:"France",GA:"Gabon",GB:La,GD:Ka,GE:Ea,GF:Ra,GG:Fa,GH:"Ghana",GI:pa,GL:Ha,GM:"Gambia",GN:"Guinea",GP:wa,GQ:Oa,GR:"Greece",GS:ka,GT:va,GU:"Guam",GW:za,GY:"Guyana",HK:Ya,HM:fa,HN:Qa,HR:xa,HT:"Haiti",HU:ja,ID:Xa,IE:$a,IL:"Israel",IM:an,IN:"India",IO:en,IQ:"Iraq",IR:"Iran",IS:tn,IT:"Italy",JE:"Jersey",JM:ln,JO:"Jordan",JP:"Japan",KE:"Kenya",KG:Cn,KH:Gn,KI:Bn,KM:In,KN:cn,KP:hn,KR:An,KW:"Kuwait",KY:Tn,KZ:gn,LA:"Laos",LB:bn,LC:Pn,LI:yn,LK:Ln,LR:Kn,LS:En,LT:Rn,LU:Fn,LV:"Latvia",LY:"Libya",MA:Hn,MC:"Monaco",MD:Vn,ME:wn,MF:On,MG:Zn,MH:kn,MK:vn,ML:"Mali",MM:"Burma",MN:Wn,MO:"Macao",MP:fn,MQ:Qn,MR:xn,MS:qn,MT:"Malta",MU:Xn,MV:$n,MW:"Malawi",MX:"Mexico",MY:ni,MZ:ii,NA:ei,NC:ri,NE:"Niger",NF:ti,NG:ui,NI:si,NL:li,NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:Gi,OM:"Oman",OS:Ii,PA:"Panama",PE:"Peru",PF:Ai,PG:mi,PH:Ti,PK:gi,PL:"Poland",PM:bi,PN:Pi,PR:yi,PS:Li,PT:Ki,PW:"Palau",PY:Ri,QA:"Qatar",RE:Ui,RO:pi,RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:wi,SB:Oi,SC:Zi,SD:"Sudan",SE:"Sweden",SG:Ji,SH:zi,SI:Wi,SJ:Yi,SK:fi,SL:Qi,SM:xi,SN:qi,SO:ji,SR:Xi,SS:$i,ST:_i,SV:ae,SX:ne,SY:"Syria",SZ:ee,TA:re,TC:oe,TD:"Chad",TF:ue,TG:"Togo",TH:le,TJ:de,TK:Se,TL:Me,TM:Ce,TN:Ge,TO:"Tonga",TR:"Turkey",TT:ce,TV:"Tuvalu",TW:"Taiwan",TZ:me,UA:Te,UG:"Uganda",UM:Ne,US:be,UY:Pe,UZ:ye,VA:Le,VC:Ke,VE:Ee,VG:Re,VI:Fe,VN:Ue,VU:pe,WF:He,WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:Oe,ZA:Ze,ZM:"Zambia",ZW:ve,ZZ:Je};export{e as AB,r as AC,o as AD,t as AE,u as AF,s as AG,l as AI,d as AL,S as AM,M as AO,C as AQ,G as AR,B as AS,I as AT,c as AU,h as AW,A as AX,m as AZ,T as BA,g as BB,N as BD,b as BE,P as BF,y as BG,L as BH,K as BI,E as BJ,R as BL,F as BM,U as BN,p as BO,H as BQ,D as BR,V as BS,w as BT,O as BV,Z as BW,k as BY,v as BZ,J as CA,z as CC,W as CD,Y as CF,f as CG,Q as CH,x as CI,q as CK,j as CL,X as CM,$ as CN,_ as CO,aa as CR,na as CU,ia as CV,ea as CW,ra as CX,oa as CY,ta as CZ,ua as DE,sa as DJ,la as DK,da as DM,Sa as DO,Ma as DZ,Ca as EC,Ga as EE,Ba as EG,Ia as EH,ca as ER,ha as ES,Aa as ET,ma as FI,Ta as FJ,ga as FK,Na as FM,ba as FO,Pa as FR,ya as GA,La as GB,Ka as GD,Ea as GE,Ra as GF,Fa as GG,Ua as GH,pa as GI,Ha as GL,Da as GM,Va as GN,wa as GP,Oa as GQ,Za as GR,ka as GS,va as GT,Ja as GU,za as GW,Wa as GY,Ya as HK,fa as HM,Qa as HN,xa as HR,qa as HT,ja as HU,Xa as ID,$a as IE,_a as IL,an as IM,nn as IN,en as IO,rn as IQ,on as IR,tn as IS,un as IT,sn as JE,ln as JM,dn as JO,Sn as JP,Mn as KE,Cn as KG,Gn as KH,Bn as KI,In as KM,cn as KN,hn as KP,An as KR,mn as KW,Tn as KY,gn as KZ,Nn as LA,bn as LB,Pn as LC,yn as LI,Ln as LK,Kn as LR,En as LS,Rn as LT,Fn as LU,Un as LV,pn as LY,Hn as MA,Dn as MC,Vn as MD,wn as ME,On as MF,Zn as MG,kn as MH,vn as MK,Jn as ML,zn as MM,Wn as MN,Yn as MO,fn as MP,Qn as MQ,xn as MR,qn as MS,jn as MT,Xn as MU,$n as MV,_n as MW,ai as MX,ni as MY,ii as MZ,ei as NA,ri as NC,oi as NE,ti as NF,ui as NG,si as NI,li as NL,di as NO,Si as NP,Mi as NR,Ci as NU,Gi as NZ,Bi as OM,Ii as OS,ci as PA,hi as PE,Ai as PF,mi as PG,Ti as PH,gi as PK,Ni as PL,bi as PM,Pi as PN,yi as PR,Li as PS,Ki as PT,Ei as PW,Ri as PY,Fi as QA,Ui as RE,pi as RO,Hi as RS,Di as RU,Vi as RW,wi as SA,Oi as SB,Zi as SC,ki as SD,vi as SE,Ji as SG,zi as SH,Wi as SI,Yi as SJ,fi as SK,Qi as SL,xi as SM,qi as SN,ji as SO,Xi as SR,$i as SS,_i as ST,ae as SV,ne as SX,ie as SY,ee as SZ,re as TA,oe as TC,te as TD,ue as TF,se as TG,le as TH,de as TJ,Se as TK,Me as TL,Ce as TM,Ge as TN,Be as TO,Ie as TR,ce as TT,he as TV,Ae as TW,me as TZ,Te as UA,ge as UG,Ne as UM,be as US,Pe as UY,ye as UZ,Le as VA,Ke as VC,Ee as VE,Re as VG,Fe as VI,Ue as VN,pe as VU,He as WF,De as WS,Ve as XK,we as YE,Oe as YT,Ze as ZA,ke as ZM,ve as ZW,Je as ZZ,n as country,ze as default,a as ext,i as phone};
@@ -0,0 +1 @@
1
+ import o from"../../../libphonenumber-js/metadata.min.json.js";import{createPhoneInput as t}from"../modules/PhoneInputWithCountryDefault.js";var e=t(o);export{e as default};
@@ -0,0 +1 @@
1
+ import n from"react";import t from"../../../prop-types/index.js";import o from"../../../classnames/index.js";import e from"./InternationalIcon.js";import r from"./Flag.js";function a(r){var a=r.flags,s=r.flagUrl,c=r.flagComponent,l=r.internationalIcon;function i(t){var r=t.country,i=t.label,m=t.aspectRatio,p=l===e?m:void 0;return n.createElement("div",{className:o("PhoneInputCountryIcon",{"PhoneInputCountryIcon--square":1===p,"PhoneInputCountryIcon--border":r})},r?n.createElement(c,{country:r,countryName:i,flags:a,flagUrl:s,className:"PhoneInputCountryIconImg"}):n.createElement(l,{title:i,aspectRatio:p,className:"PhoneInputCountryIconImg"}))}return i.propTypes={country:t.string,label:t.string.isRequired,aspectRatio:t.number},i}a({flagUrl:"https://cdn.myikas.com/sf/assets/flags/3x2/{XX}.svg",flagComponent:r,internationalIcon:e});export{a as createCountryIconComponent};
@@ -0,0 +1 @@
1
+ import e,{useMemo as n,useCallback as r}from"react";import o from"../../../prop-types/index.js";import t from"../../../classnames/index.js";import a from"../../../country-flag-icons/modules/unicode.js";function i(){return i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},i.apply(this,arguments)}function l(e,n){if(null==e)return{};var r,o,t=function(e,n){if(null==e)return{};var r,o,t={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],n.indexOf(r)>=0||(t[r]=e[r]);return t}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],n.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(t[r]=e[r])}return t}function u(o){var t=o.value,a=o.onChange,u=o.options,s=l(o,["value","onChange","options"]),m=r((function(e){var n=e.target.value;a("ZZ"===n?void 0:n)}),[a]);return n((function(){return p(u,t)}),[u,t]),e.createElement("select",i({},s,{value:t||"ZZ",onChange:m}),u.map((function(n){var r=n.value,o=n.label,t=n.divider;return e.createElement("option",{key:t?"|":r||"ZZ",value:t?"|":r||"ZZ",disabled:!!t,style:t?c:void 0},o)})))}u.propTypes={value:o.string,onChange:o.func.isRequired,options:o.arrayOf(o.shape({value:o.string,label:o.string,divider:o.bool})).isRequired};var c={fontSize:"1px",backgroundColor:"currentColor",color:"inherit"};function s(r){var o=r.value,c=r.options,s=r.className,m=r.iconComponent;r.getIconAspectRatio;var v=r.arrowComponent,f=r.unicodeFlags,d=l(r,["value","options","className","iconComponent","getIconAspectRatio","arrowComponent","unicodeFlags"]),y=n((function(){return p(c,o)}),[c,o]);return e.createElement("div",{className:"PhoneInputCountry"},e.createElement(u,i({},d,{value:o,options:c,className:t("PhoneInputCountrySelect",s)})),f&&o&&e.createElement("div",{className:"PhoneInputCountryIconUnicode"},a(o)),!(f&&o)&&e.createElement(m,{country:o,label:y&&y.label,aspectRatio:f?1:void 0}),e.createElement(v,null))}function p(e,n){var r=e,o=Array.isArray(r),t=0;for(r=o?r:r[Symbol.iterator]();;){var a;if(o){if(t>=r.length)break;a=r[t++]}else{if((t=r.next()).done)break;a=t.value}var i=a;if(!i.divider&&i.value===n)return i}}s.propTypes={iconComponent:o.elementType,arrowComponent:o.elementType.isRequired,unicodeFlags:o.bool},s.defaultProps={arrowComponent:function(){return e.createElement("div",{className:"PhoneInputCountrySelectArrow"})}};export{s as CountrySelectWithIcon,u as default};
@@ -0,0 +1 @@
1
+ import r from"react";import e from"../../../prop-types/index.js";import"../../../classnames/index.js";function t(){return t=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},t.apply(this,arguments)}function n(r,e){if(null==r)return{};var t,n,o=function(r,e){if(null==r)return{};var t,n,o={},a=Object.keys(r);for(n=0;n<a.length;n++)t=a[n],e.indexOf(t)>=0||(o[t]=r[t]);return o}(r,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);for(n=0;n<a.length;n++)t=a[n],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(r,t)&&(o[t]=r[t])}return o}function o(e){var o=e.country,a=e.countryName,l=e.flags,i=e.flagUrl,s=n(e,["country","countryName","flags","flagUrl"]);return l&&l[o]?l[o]({title:a}):r.createElement("img",t({},s,{alt:a,role:a?void 0:"presentation",src:i.replace("{XX}",o).replace("{xx}",o.toLowerCase())}))}o.propTypes={country:e.string.isRequired,countryName:e.string.isRequired,flags:e.objectOf(e.elementType),flagUrl:e.string.isRequired};export{o as default};
@@ -0,0 +1 @@
1
+ import e,{useCallback as t}from"react";import n from"../../../prop-types/index.js";import{getInputValuePrefix as r,removeInputValuePrefix as o}from"./helpers/inputValuePrefix.js";import a from"../../../libphonenumber-js/es6/parseIncompletePhoneNumber.js";import i from"../../../libphonenumber-js/es6/formatIncompletePhoneNumber.js";function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function p(o){function i(n,o){var i=n.value,p=n.onChange,f=n.country,s=n.international,c=n.withCountryCallingCode,y=n.metadata,d=n.inputComponent,C=l(n,["value","onChange","country","international","withCountryCallingCode","metadata","inputComponent"]),b=r({country:f,international:s,withCountryCallingCode:c,metadata:y}),g=t((function(e){var t=a(e.target.value);t===i&&(0===m(b,t,f,y).indexOf(e.target.value)&&(t=t.slice(0,-1)));p(t)}),[b,i,p,f,y]);return e.createElement(d,u({},C,{ref:o,value:m(b,i,f,y),onChange:g}))}return(i=e.forwardRef(i)).propTypes={value:n.string.isRequired,onChange:n.func.isRequired,country:n.string,international:n.bool,withCountryCallingCode:n.bool,metadata:n.object.isRequired,inputComponent:n.elementType.isRequired},i.defaultProps={metadata:o,inputComponent:"input"},i}var f=p();function m(e,t,n,r){return o(i(e+t,n,r),e)}export{p as createInput,f as default};
@@ -0,0 +1 @@
1
+ import t,{useCallback as r}from"react";import e from"../../../prop-types/index.js";import{getInputValuePrefix as n,removeInputValuePrefix as o}from"./helpers/inputValuePrefix.js";import a from"../../../libphonenumber-js/es6/AsYouType.js";import i from"../../../input-format/modules/react/Input.js";import{parsePhoneNumberCharacter as l}from"../../../libphonenumber-js/es6/parseIncompletePhoneNumber.js";function u(){return u=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},u.apply(this,arguments)}function p(t,r){if(null==t)return{};var e,n,o=function(t,r){if(null==t)return{};var e,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)e=a[n],r.indexOf(e)>=0||(o[e]=t[e]);return o}(t,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)e=a[n],r.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}function f(f){function m(e,f){var m=e.country,s=e.international,c=e.withCountryCallingCode,y=e.metadata,b=p(e,["country","international","withCountryCallingCode","metadata"]),d=r((function(t){var r=new a(m,y),e=n({country:m,international:s,withCountryCallingCode:c,metadata:y}),i=r.input(e+t),l=r.getTemplate();return e&&(i=o(i,e),l&&(l=o(l,e))),{text:i,template:l}}),[m,y]);return t.createElement(i,u({},b,{ref:f,parse:l,format:d}))}return(m=t.forwardRef(m)).propTypes={country:e.string,international:e.bool,withCountryCallingCode:e.bool,metadata:e.object.isRequired},m.defaultProps={metadata:f},m}var m=f();export{f as createInput,m as default};
@@ -0,0 +1 @@
1
+ import e from"react";import t from"../../../prop-types/index.js";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}function r(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}function l(t){var n=t.aspectRatio,l=r(t,["aspectRatio"]);return 1===n?e.createElement(o,l):e.createElement(a,l)}function a(t){var l=t.title,a=r(t,["title"]);return e.createElement("svg",n({},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 75 50"}),e.createElement("title",null,l),e.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeMiterlimit:"10"},e.createElement("path",{strokeLinecap:"round",d:"M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"}),e.createElement("path",{d:"M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"}),e.createElement("line",{x1:"26",y1:"25",x2:"74",y2:"25"}),e.createElement("line",{x1:"50",y1:"1",x2:"50",y2:"49"}),e.createElement("path",{strokeLinecap:"round",d:"M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"}),e.createElement("path",{strokeLinecap:"round",d:"M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"})),e.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"none",fill:"currentColor",d:"M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"}))}function o(t){var l=t.title,a=r(t,["title"]);return e.createElement("svg",n({},a,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50"}),e.createElement("title",null,l),e.createElement("g",{className:"PhoneInputInternationalIconGlobe",stroke:"currentColor",fill:"none",strokeWidth:"2",strokeLinecap:"round"},e.createElement("path",{d:"M8.45,13A21.44,21.44,0,1,1,37.08,41.56"}),e.createElement("path",{d:"M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"}),e.createElement("path",{d:"M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"}),e.createElement("path",{d:"M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"}),e.createElement("line",{x1:"27.8",y1:"0.85",x2:"27.8",y2:"34.61"}),e.createElement("line",{x1:"15.2",y1:"22.23",x2:"49.15",y2:"22.23"})),e.createElement("path",{className:"PhoneInputInternationalIconPhone",stroke:"transparent",fill:"currentColor",d:"M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"}))}l.propTypes={title:t.string.isRequired,aspectRatio:t.number},a.propTypes={title:t.string.isRequired},o.propTypes={title:t.string.isRequired};export{l as default};
@@ -0,0 +1 @@
1
+ import t from"react";import e from"../../../prop-types/index.js";import n from"../../../classnames/index.js";import o from"./InputSmart.js";import r from"./InputBasic.js";import a from"./Flag.js";import i from"./InternationalIcon.js";import{getSupportedCountries as u,isCountrySupportedWithError as s,sortCountryOptions as l,getSupportedCountryOptions as c}from"./helpers/countries.js";import{createCountryIconComponent as p}from"./CountryIcon.js";import{labels as f,metadata as y}from"./PropTypes.js";import{parsePhoneNumber as m,getPreSelectedCountry as d,getInitialPhoneDigits as C,getPhoneDigitsForNewCountry as g,e164 as b,onPhoneDigitsChange as h,getCountrySelectOptions as v}from"./helpers/phoneInputHelpers.js";import O from"./helpers/getPhoneInputWithCountryStateUpdateFromNewProps.js";import j from"../../../libphonenumber-js/es6/getCountries.js";function S(t){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(t)}function I(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function P(){return P=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},P.apply(this,arguments)}function R(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},a=Object.keys(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function F(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w(t){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},w(t)}function E(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q(t,e){return q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},q(t,e)}function D(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var N=function(e){function a(e){var n,o,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o=this,r=w(a).call(this,e),n=!r||"object"!==S(r)&&"function"!=typeof r?E(o):r,D(E(n),"inputRef",t.createRef()),D(E(n),"setInputRef",(function(t){n.inputRef.current=t;var e=n.props.inputRef;e&&("function"==typeof e?e(t):e.current=t)})),D(E(n),"isCountrySupportedWithError",(function(t){var e=n.props.metadata;return s(t,e)})),D(E(n),"onCountryChange",(function(t){var e=n.props,o=e.international,r=e.metadata,a=e.onChange,i=e.focusInputOnCountrySelection,u=n.state,s=u.phoneDigits,l=u.country,c=g(s,{prevCountry:l,newCountry:t,metadata:r,useNationalFormat:!o}),p=b(c,t,r);i&&n.inputRef.current.focus(),n.setState({country:t,hasUserSelectedACountry:!0,phoneDigits:c,value:p},(function(){a(p)}))})),D(E(n),"onChange",(function(t){var e=n.props,o=e.defaultCountry,r=e.onChange,a=e.addInternationalOption,i=e.international,u=e.limitMaxLength,s=e.countryCallingCodeEditable,l=e.metadata,c=n.state,p=c.countries,f=c.phoneDigits,y=c.country,m=h(t,{prevPhoneDigits:f,country:y,countryRequired:!a,defaultCountry:o,getAnyCountry:function(){return n.getFirstSupportedCountry({countries:p})},countries:p,international:i,limitMaxLength:u,countryCallingCodeEditable:s,metadata:l}),d=m.phoneDigits,C=m.country,g=m.value,b={phoneDigits:d,value:g,country:C};!1===s&&(g||d!==n.state.phoneDigits||(b.forceRerender={})),n.setState(b,(function(){return r(g)}))})),D(E(n),"_onFocus",(function(){return n.setState({isFocused:!0})})),D(E(n),"_onBlur",(function(){return n.setState({isFocused:!1})})),D(E(n),"onFocus",(function(t){n._onFocus();var e=n.props.onFocus;e&&e(t)})),D(E(n),"onBlur",(function(t){var e=n.props.onBlur;n._onBlur(),e&&e(t)})),D(E(n),"onCountryFocus",(function(t){n._onFocus();var e=n.props.countrySelectProps;if(e){var o=e.onFocus;o&&o(t)}})),D(E(n),"onCountryBlur",(function(t){n._onBlur();var e=n.props.countrySelectProps;if(e){var o=e.onBlur;o&&o(t)}}));var i=n.props,l=i.value;i.labels;var c=i.international,f=i.addInternationalOption,y=i.displayInitialValueAsLocalNumber,v=i.initialValueFormat,O=i.metadata,I=n.props,P=I.defaultCountry,R=I.countries;P&&(n.isCountrySupportedWithError(P)||(P=void 0)),R=u(R,O);var F=m(l,O);n.CountryIcon=p(n.props);var q=d({value:l,phoneNumber:F,defaultCountry:P,required:!f,countries:R||j(O),getAnyCountry:function(){return n.getFirstSupportedCountry({countries:R})},metadata:O});return n.state={props:n.props,country:q,countries:R,phoneDigits:C({value:l,phoneNumber:F,defaultCountry:P,international:c,useNationalFormat:y||"national"===v,metadata:O}),value:l},n}var i,f,y;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&q(t,e)}(a,t.PureComponent),i=a,f=[{key:"componentDidMount",value:function(){var t=this.props.onCountryChange,e=this.props.defaultCountry,n=this.state.country;t&&(e&&(this.isCountrySupportedWithError(e)||(e=void 0)),n!==e&&t(n))}},{key:"componentDidUpdate",value:function(t,e){var n=this.props.onCountryChange,o=this.state.country;n&&o!==e.country&&n(o)}},{key:"getCountrySelectOptions",value:function(t){var e,n,o=t.countries,r=this.props,a=r.international,i=r.countryCallingCodeEditable,u=r.countryOptionsOrder,s=r.addInternationalOption,p=r.labels,f=r.locales,y=r.metadata;return e=function(){return l(v({countries:o||j(y),countryNames:p,addInternationalOption:(!a||!1!==i)&&s,compareStringsLocales:f}),c(u,y))},n=[o,u,s,p,y],B&&function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;){if(t[n]!==e[n])return!1;n++}return!0}(n,B)||(x=e(),B=n),x}},{key:"getFirstSupportedCountry",value:function(t){var e=t.countries;return this.getCountrySelectOptions({countries:e})[0].value}},{key:"render",value:function(){var e=this.props,a=e.name,i=e.disabled,u=e.autoComplete,s=e.style,l=e.className;e.inputRef;var c=e.inputComponent,p=e.numberInputProps,f=e.smartCaret,y=e.countrySelectComponent,m=e.countrySelectProps,d=e.containerComponent;e.defaultCountry,e.countries,e.countryOptionsOrder;var C=e.labels;e.flags,e.flagComponent,e.flagUrl,e.addInternationalOption,e.internationalIcon,e.displayInitialValueAsLocalNumber,e.initialValueFormat,e.onCountryChange,e.limitMaxLength,e.countryCallingCodeEditable,e.focusInputOnCountrySelection,e.reset;var g=e.metadata;e.international,e.locales;var b=R(e,["name","disabled","autoComplete","style","className","inputRef","inputComponent","numberInputProps","smartCaret","countrySelectComponent","countrySelectProps","containerComponent","defaultCountry","countries","countryOptionsOrder","labels","flags","flagComponent","flagUrl","addInternationalOption","internationalIcon","displayInitialValueAsLocalNumber","initialValueFormat","onCountryChange","limitMaxLength","countryCallingCodeEditable","focusInputOnCountrySelection","reset","metadata","international","locales"]),h=this.state,v=h.country,O=h.countries,j=h.phoneDigits,S=h.isFocused,I=f?o:r,F=this.getCountrySelectOptions({countries:O});return t.createElement(d,{style:s,className:n(l,"PhoneInput",{"PhoneInput--focus":S})},t.createElement(y,P({name:a?"".concat(a,"Country"):void 0,"aria-label":C.country},m,{value:v,options:F,onChange:this.onCountryChange,onFocus:this.onCountryFocus,onBlur:this.onCountryBlur,disabled:i||m&&m.disabled,iconComponent:this.CountryIcon})),t.createElement(I,P({ref:this.setInputRef,type:"tel",autoComplete:u},p,b,{name:a,metadata:g,country:v,value:j||"",onChange:this.onChange,onFocus:this.onFocus,onBlur:this.onBlur,disabled:i,inputComponent:c,className:n("PhoneInputInput",p&&p.className,b.className)})))}}],y=[{key:"getDerivedStateFromProps",value:function(t,e){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){D(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({props:t},O(t,e.props,e))}}],f&&F(i.prototype,f),y&&F(i,y),a}(),_=t.forwardRef((function(e,n){return t.createElement(N,P({},e,{inputRef:n}))}));_.propTypes={value:e.string,onChange:e.func.isRequired,onFocus:e.func,onBlur:e.func,onKeyDown:e.func,disabled:e.bool,autoComplete:e.string.isRequired,initialValueFormat:e.oneOf(["national"]),displayInitialValueAsLocalNumber:e.bool,defaultCountry:e.string,countries:e.arrayOf(e.string),labels:f.isRequired,locales:e.oneOfType([e.string,e.arrayOf(e.string)]),flagUrl:e.string.isRequired,flags:e.objectOf(e.elementType),flagComponent:e.elementType.isRequired,addInternationalOption:e.bool.isRequired,internationalIcon:e.elementType.isRequired,countryOptionsOrder:e.arrayOf(e.string),style:e.object,className:e.string,countrySelectComponent:e.elementType.isRequired,countrySelectProps:e.object,inputComponent:e.elementType.isRequired,containerComponent:e.elementType.isRequired,numberInputProps:e.object,smartCaret:e.bool.isRequired,international:e.bool,limitMaxLength:e.bool.isRequired,countryCallingCodeEditable:e.bool.isRequired,metadata:y.isRequired,onCountryChange:e.func,focusInputOnCountrySelection:e.bool.isRequired},_.defaultProps={autoComplete:"tel",flagComponent:a,flagUrl:"https://cdn.myikas.com/sf/assets/flags/3x2/{XX}.svg",internationalIcon:i,inputComponent:"input",containerComponent:"div",reset:e.any,smartCaret:!0,addInternationalOption:!0,limitMaxLength:!1,countryCallingCodeEditable:!0,focusInputOnCountrySelection:!0};var x,B,L=_;export{L as default};
@@ -0,0 +1 @@
1
+ import e from"react";import r from"../../../prop-types/index.js";import t from"../locale/en.json.js";import{metadata as o,labels as n}from"./PropTypes.js";import p from"./PhoneInputWithCountry.js";import{CountrySelectWithIcon as a}from"./CountrySelect.js";function i(){return i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},i.apply(this,arguments)}function s(s){var m=e.forwardRef((function(r,t){return e.createElement(p,i({ref:t},r))}));return m.propTypes={metadata:o.isRequired,labels:n.isRequired,countrySelectComponent:r.elementType.isRequired},m.defaultProps={metadata:s,labels:t,countrySelectComponent:a},m}s();export{s as createPhoneInput};
@@ -0,0 +1 @@
1
+ import e from"../../../prop-types/index.js";var o=e.shape({country_calling_codes:e.object.isRequired,countries:e.object.isRequired}),r=e.objectOf(e.string);export{r as labels,o as metadata};
@@ -0,0 +1 @@
1
+ import{isSupportedCountry as r}from"../../../../libphonenumber-js/es6/metadata.js";function n(r,n){if(!n)return r;var e=[],t=[],i=e,o=n,u=Array.isArray(o),a=0;for(o=u?o:o[Symbol.iterator]();;){var c;if(u){if(a>=o.length)break;c=o[a++]}else{if((a=o.next()).done)break;c=a.value}var f=c;"|"===f?i.push({divider:!0}):"..."===f||"…"===f?i=t:function(){var n=void 0;n="🌐"===f?void 0:f;var e=r.indexOf(r.filter((function(r){return r.value===n}))[0]),t=r[e];r.splice(e,1),i.push(t)}()}return e.concat(r).concat(t)}function e(r,n){if(r&&(r=r.filter((function(r){switch(r){case"🌐":case"|":case"...":case"…":return!0;default:return t(r,n)}}))).length>0)return r}function t(n,e){return!!r(n,e)||(console.error("Country not found: ".concat(n)),!1)}function i(r,n){return r&&0===(r=r.filter((function(r){return t(r,n)}))).length&&(r=void 0),r}export{i as getSupportedCountries,e as getSupportedCountryOptions,t as isCountrySupportedWithError,n as sortCountryOptions};
@@ -0,0 +1 @@
1
+ import n,{getCountryCallingCode as e}from"../../../../libphonenumber-js/es6/metadata.js";var i=/^\d+$/;function a(a,t){var r="+"+e(a,t);return(t=new n(t)).country(a),t.numberingPlan.leadingDigits()&&i.test(t.numberingPlan.leadingDigits())&&(r+=t.numberingPlan.leadingDigits()),r}export{a as default};
@@ -0,0 +1 @@
1
+ import{getInitialPhoneDigits as e,parsePhoneNumber as t,getCountryForPartialE164Number as r}from"./phoneInputHelpers.js";import{isCountrySupportedWithError as n,getSupportedCountries as o}from"./countries.js";function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(u,i,l){var c=u.metadata,f=u.countries,s=u.defaultCountry,y=u.value,v=u.reset,p=u.international,d=u.displayInitialValueAsLocalNumber,b=u.initialValueFormat,O=i.defaultCountry,m=i.value,j=i.reset;l.country;var h=l.value,g=l.hasUserSelectedACountry,C=function(t){return e(a({},t,{international:p,useNationalFormat:d||"national"===b,metadata:c}))};if(v!==j)return{phoneDigits:C({value:void 0,defaultCountry:s}),value:void 0,country:s,hasUserSelectedACountry:void 0};if(s!==O){var P=!s||n(s,c),w=!h||p&&h===C({value:void 0,defaultCountry:O});if(!g&&P&&(!y&&w))return{country:s,phoneDigits:C({value:void 0,defaultCountry:s}),value:void 0}}if(y!==m&&y!==h){var D,S,A;if(y){D=t(y,c);var N=o(f,c);D&&D.country?(!N||N.indexOf(D.country)>=0)&&(S=D.country):S=r(y,{country:void 0,countries:N,metadata:c})}return y||(A={hasUserSelectedACountry:void 0}),a({},A,{phoneDigits:C({phoneNumber:D,value:y,defaultCountry:s}),value:y,country:y?S:s})}}export{l as default};
@@ -0,0 +1 @@
1
+ import{getCountryCallingCode as t}from"../../../../libphonenumber-js/es6/metadata.js";function n(n){var e=n.country,r=n.international,a=n.withCountryCallingCode,o=n.metadata;return e&&r&&!a?"+".concat(t(e,o)):""}function e(t,n){return n&&" "===(t=t.slice(n.length))[0]&&(t=t.slice(1)),t}export{n as getInputValuePrefix,e as removeInputValuePrefix};
@@ -0,0 +1 @@
1
+ import n from"./getInternationalPhoneNumberPrefix.js";import r from"../../../../libphonenumber-js/es6/parsePhoneNumberFromString.js";import e from"../../../../libphonenumber-js/es6/AsYouType.js";import t,{getCountryCallingCode as i}from"../../../../libphonenumber-js/es6/metadata.js";function u(n){var r,e=n.value,t=n.phoneNumber,i=n.defaultCountry,u=n.getAnyCountry,o=n.countries,a=n.required,l=n.metadata;return t&&t.country?r=t.country:i&&(e&&!b(e,i,l)||(r=i)),o&&o.indexOf(r)<0&&(r=void 0),!r&&a&&o&&o.length>0&&(r=u()),r}function o(n){var r=n.countries,e=n.countryNames,t=n.addInternationalOption,i=n.compareStringsLocales,u=n.compareStrings;u||(u=p);var o=r.map((function(n){return{value:n,label:e[n]||n}}));return o.sort((function(n,r){return u(n.label,r.label,i)})),t&&o.unshift({label:e.ZZ}),o}function a(n,e){return r(n||"",e)}function l(n){return n.formatNational().replace(/\D/g,"")}function f(r,e){var t=e.prevCountry,u=e.newCountry,o=e.metadata,a=e.useNationalFormat;if(!r)return a?"":n(u,o);if(u){if("+"===r[0]){if(a)return 0===r.indexOf("+"+i(u,o))?h(r,u,o):"";if(t){var l=n(u,o);return 0===r.indexOf(l)?r:l}var f=n(u,o);return 0===r.indexOf(f)?r:f}}else if("+"!==r[0])return c(r,t,o)||"";return r}function c(n,r,e){if(n){if("+"===n[0]){if("+"===n)return;return n}if(r){var t=y(n,r,e);return t?"+".concat(i(r,e)).concat(t):void 0}}}function s(n,r,e){var i=y(n,r,e);if(i){var u=i.length-function(n,r){return(r=new t(r)).country(n),r.numberingPlan.possibleLengths()[r.numberingPlan.possibleLengths().length-1]}(r,e);if(u>0)return n.slice(0,n.length-u)}return n}function m(n,r){var e=r.country,t=r.countries,i=r.required,u=r.metadata;if("+"===n)return e;var o=d(n,u);return o&&(!t||t.indexOf(o)>=0)?o:!e||i||b(n,e,u)?e:void 0}function g(r,e){var t,i=e.prevPhoneDigits,u=e.country,o=e.defaultCountry,a=e.countryRequired,l=e.getAnyCountry,f=e.countries,g=e.international,d=e.limitMaxLength,p=e.countryCallingCodeEditable,h=e.metadata;if(g&&!1===p){var y,b=n(u,h);if(0!==r.indexOf(b))return r&&"+"!==r[0]?y=r=b+r:r=b,{phoneDigits:r,value:y,country:u}}return!1===g&&u&&r&&"+"===r[0]&&(r=v(r,u,h)),r&&u&&d&&(r=s(r,u,h)),!r||"+"===r[0]||u&&!g||(r="+"+r),!r&&i&&"+"===i[0]&&(u=g?void 0:o),"+"===r&&i&&"+"===i[0]&&i.length>"+".length&&(u=void 0),r&&(t="+"===r[0]?"+"===r||u&&0===n(u,h).indexOf(r)?void 0:r:c(r,u,h)),t&&(u=m(t,{country:u,countries:f,metadata:h}),!1===g&&u&&r&&"+"===r[0]&&(t=c(r=v(r,u,h),u,h))),!u&&a&&(u=o||l()),{phoneDigits:r,country:u,value:t}}function v(r,t,i){if(0===r.indexOf(n(t,i))){var u=new e(t,i);u.input(r);var o=u.getNumber();return o?o.formatNational().replace(/\D/g,""):""}return r.replace(/\D/g,"")}function d(n,r){var t=new e(null,r);return t.input(n),t.getCountry()}function p(n,r,e){return String.prototype.localeCompare?n.localeCompare(r,e):n<r?-1:n>r?1:0}function h(n,r,e){if(r){var t="+"+i(r,e);if(n.length<t.length){if(0===t.indexOf(n))return""}else if(0===n.indexOf(t))return n.slice(t.length)}for(var u=0,o=Object.keys(e.country_calling_codes);u<o.length;u++){var a=o[u];if(n.indexOf(a)==="+".length)return n.slice("+".length+a.length)}return""}function y(n,r,t){var i=new e(r,t);i.input(n);var u=i.getNumber();return u&&u.nationalNumber}function b(r,e,t){for(var i=n(e,t),u=0;u<r.length&&u<i.length;){if(r[u]!==i[u])return!1;u++}return!0}function x(r){var e=r.value,t=r.phoneNumber,i=r.defaultCountry,u=r.international,o=r.useNationalFormat,a=r.metadata;return(!1===u||o)&&t&&t.country?l(t):!e&&u&&i?n(i,a):e}export{p as compareStrings,b as couldNumberBelongToCountry,c as e164,l as generateNationalNumberDigits,m as getCountryForPartialE164Number,d as getCountryFromPossiblyIncompleteInternationalPhoneNumber,o as getCountrySelectOptions,x as getInitialPhoneDigits,y as getNationalSignificantNumberDigits,f as getPhoneDigitsForNewCountry,u as getPreSelectedCountry,g as onPhoneDigitsChange,a as parsePhoneNumber,h as stripCountryCallingCode,s as trimNumber};
@@ -0,0 +1 @@
1
+ !function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var e=globalThis;export{e as default};
@@ -0,0 +1 @@
1
+ var t=null,n={},r=1,i=Array,o=i["@wry/context:Slot"]||function(){var o=function(){function i(){this.id=["slot",r++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return i.prototype.hasValue=function(){for(var r=t;r;r=r.parent)if(this.id in r.slots){var i=r.slots[this.id];if(i===n)break;return r!==t&&(t.slots[this.id]=i),!0}return t&&(t.slots[this.id]=n),!1},i.prototype.getValue=function(){if(this.hasValue())return t.slots[this.id]},i.prototype.withValue=function(n,r,i,o){var e,l=((e={__proto__:null})[this.id]=n,e),a=t;t={parent:a,slots:l};try{return r.apply(o,i)}finally{t=a}},i.bind=function(n){var r=t;return function(){var i=t;try{return t=r,n.apply(this,arguments)}finally{t=i}}},i.noContext=function(n,r,i){if(!t)return n.apply(i,r);var o=t;try{return t=null,n.apply(i,r)}finally{t=o}},i}();try{Object.defineProperty(i,"@wry/context:Slot",{value:i["@wry/context:Slot"]=o,enumerable:!1,writable:!1,configurable:!1})}finally{return o}}();o.bind,o.noContext;export{o as Slot};
@@ -0,0 +1 @@
1
+ var e=Object.prototype,r=e.toString,t=e.hasOwnProperty,n=Function.prototype.toString,a=new Map;function c(e,r){try{return o(e,r)}finally{a.clear()}}function o(e,a){if(e===a)return!0;var c,u,l,b=r.call(e);if(b!==r.call(a))return!1;switch(b){case"[object Array]":if(e.length!==a.length)return!1;case"[object Object]":if(f(e,a))return!0;var j=i(e),g=i(a),v=j.length;if(v!==g.length)return!1;for(var h=0;h<v;++h)if(!t.call(a,j[h]))return!1;for(h=0;h<v;++h){var p=j[h];if(!o(e[p],a[p]))return!1}return!0;case"[object Error]":return e.name===a.name&&e.message===a.message;case"[object Number]":if(e!=e)return a!=a;case"[object Boolean]":case"[object Date]":return+e==+a;case"[object RegExp]":case"[object String]":return e==""+a;case"[object Map]":case"[object Set]":if(e.size!==a.size)return!1;if(f(e,a))return!0;for(var y=e.entries(),d="[object Map]"===b;;){var m=y.next();if(m.done)break;var F=m.value,O=F[0],S=F[1];if(!a.has(O))return!1;if(d&&!o(S,a.get(O)))return!1}return!0;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var w=n.call(e);return w===n.call(a)&&(u=s,!((l=(c=w).length-u.length)>=0&&c.indexOf(u,l)===l))}return!1}function i(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}var s="{ [native code] }";function f(e,r){var t=a.get(e);if(t){if(t.has(r))return!0}else a.set(e,t=new Set);return t.add(r),!1}export{c as default,c as equal};
@@ -0,0 +1 @@
1
+ var t=function(){return Object.create(null)},e=Array.prototype,r=e.forEach,n=e.slice,a=function(){function e(e,r){void 0===e&&(e=!0),void 0===r&&(r=t),this.weakness=e,this.makeData=r}return e.prototype.lookup=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return this.lookupArray(t)},e.prototype.lookupArray=function(t){var e=this;return r.call(t,(function(t){return e=e.getChildTrie(t)})),e.data||(e.data=this.makeData(n.call(t)))},e.prototype.getChildTrie=function(t){var r=this.weakness&&function(t){switch(typeof t){case"object":if(null===t)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=r.get(t);return n||r.set(t,n=new e(this.weakness,this.makeData)),n},e}();export{a as Trie};
@@ -0,0 +1,6 @@
1
+ import{createCommonjsModule as r}from"../../_virtual/_commonjsHelpers.js";
2
+ /*!
3
+ Copyright (c) 2017 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */var e=r((function(r){!function(){var e={}.hasOwnProperty;function a(){for(var r=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var s=typeof o;if("string"===s||"number"===s)r.push(o);else if(Array.isArray(o)&&o.length){var t=a.apply(null,o);t&&r.push(t)}else if("object"===s)for(var i in o)e.call(o,i)&&o[i]&&r.push(i)}}return r.join(" ")}r.exports?(a.default=a,r.exports=a):window.classNames=a}()}));export{e as default};
@@ -0,0 +1 @@
1
+ function t(t){return r(t[0])+r(t[1])}function r(t){return String.fromCodePoint(127397+t.toUpperCase().charCodeAt(0))}export{t as default};
@@ -0,0 +1 @@
1
+ var e=new RegExp("%[a-f0-9]{2}","gi"),t=new RegExp("(%[a-f0-9]{2})+","gi");function r(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),o=e.slice(t);return Array.prototype.concat.call([],r(n),r(o))}function n(t){try{return decodeURIComponent(t)}catch(c){for(var n=t.match(e),o=1;o<n.length;o++)n=(t=r(n,o).join("")).match(e);return t}}var o=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(r){return function(e){for(var r={"%FE%FF":"��","%FF%FE":"��"},o=t.exec(e);o;){try{r[o[0]]=decodeURIComponent(o[0])}catch(e){var c=n(o[0]);c!==o[0]&&(r[o[0]]=c)}o=t.exec(e)}r["%C2"]="�";for(var a=Object.keys(r),p=0;p<a.length;p++){var f=a[p];e=e.replace(new RegExp(f,"g"),r[f])}return e}(e)}};export{o as default};
@@ -0,0 +1 @@
1
+ import{createCommonjsModule as t}from"../../../../../_virtual/_commonjsHelpers.js";var e=t((function(t,e){var o;Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(o=e.ElementType||(e.ElementType={})),e.isTag=function(t){return t.type===o.Tag||t.type===o.Script||t.type===o.Style},e.Root=o.Root,e.Text=o.Text,e.Directive=o.Directive,e.Comment=o.Comment,e.Script=o.Script,e.Style=o.Style,e.Tag=o.Tag,e.CDATA=o.CDATA,e.Doctype=o.Doctype}));export{e as l};
@@ -0,0 +1 @@
1
+ import{createCommonjsModule as t,commonjsGlobal as e}from"../../../_virtual/_commonjsHelpers.js";import n from"../../../_virtual/index.js_commonjs-proxy6.js";import o from"../../../_virtual/node.js_commonjs-proxy.js";var i=t((function(t,i){var s=e&&e.__createBinding||(Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}),a=e&&e.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||s(e,t,n)};Object.defineProperty(i,"__esModule",{value:!0}),i.DomHandler=void 0,a(o,i);var r=/\s+/g,d={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function t(t,e,n){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof e&&(n=e,e=d),"object"==typeof t&&(e=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=e?e:d,this.elementCB=null!=n?n:null}return t.prototype.onparserinit=function(t){this.parser=t},t.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},t.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},t.prototype.onerror=function(t){this.handleCallback(t)},t.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},t.prototype.onopentag=function(t,e){var i=this.options.xmlMode?n.ElementType.Tag:void 0,s=new o.Element(t,e,void 0,i);this.addNode(s),this.tagStack.push(s)},t.prototype.ontext=function(t){var e=this.options.normalizeWhitespace,i=this.lastNode;if(i&&i.type===n.ElementType.Text)e?i.data=(i.data+t).replace(r," "):i.data+=t,this.options.withEndIndices&&(i.endIndex=this.parser.endIndex);else{e&&(t=t.replace(r," "));var s=new o.Text(t);this.addNode(s),this.lastNode=s}},t.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment)this.lastNode.data+=t;else{var e=new o.Comment(t);this.addNode(e),this.lastNode=e}},t.prototype.oncommentend=function(){this.lastNode=null},t.prototype.oncdatastart=function(){var t=new o.Text(""),e=new o.NodeWithChildren(n.ElementType.CDATA,[t]);this.addNode(e),t.parent=e,this.lastNode=t},t.prototype.oncdataend=function(){this.lastNode=null},t.prototype.onprocessinginstruction=function(t,e){var n=new o.ProcessingInstruction(t,e);this.addNode(n)},t.prototype.handleCallback=function(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t},t.prototype.addNode=function(t){var e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null},t}();i.DomHandler=l,i.default=l}));export{i as l};
@@ -0,0 +1 @@
1
+ import{createCommonjsModule as e,commonjsGlobal as t}from"../../../_virtual/_commonjsHelpers.js";import n from"../../../_virtual/index.js_commonjs-proxy6.js";var r=e((function(e,r){var i,o=t&&t.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=t&&t.__assign||function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},u.apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0}),r.cloneNode=r.hasChildren=r.isDocument=r.isDirective=r.isComment=r.isText=r.isCDATA=r.isTag=r.Element=r.Document=r.NodeWithChildren=r.ProcessingInstruction=r.Comment=r.Text=r.DataNode=r.Node=void 0;var a=new Map([[n.ElementType.Tag,1],[n.ElementType.Script,1],[n.ElementType.Style,1],[n.ElementType.Directive,1],[n.ElementType.Text,3],[n.ElementType.CDATA,4],[n.ElementType.Comment,8],[n.ElementType.Root,9]]),c=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=a.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();r.Node=c;var l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.data=n,r}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(c);r.DataNode=l;var s=function(e){function t(t){return e.call(this,n.ElementType.Text,t)||this}return o(t,e),t}(l);r.Text=s;var p=function(e){function t(t){return e.call(this,n.ElementType.Comment,t)||this}return o(t,e),t}(l);r.Comment=p;var f=function(e){function t(t,r){var i=e.call(this,n.ElementType.Directive,r)||this;return i.name=t,i}return o(t,e),t}(l);r.ProcessingInstruction=f;var m=function(e){function t(t,n){var r=e.call(this,t)||this;return r.children=n,r}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(c);r.NodeWithChildren=m;var d=function(e){function t(t){return e.call(this,n.ElementType.Root,t)||this}return o(t,e),t}(m);r.Document=d;var h=function(e){function t(t,r,i,o){void 0===i&&(i=[]),void 0===o&&(o="script"===t?n.ElementType.Script:"style"===t?n.ElementType.Style:n.ElementType.Tag);var u=e.call(this,o,i)||this;return u.name=t,u.attribs=r,u}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(m);function y(e){return(0,n.isTag)(e)}function b(e){return e.type===n.ElementType.CDATA}function v(e){return e.type===n.ElementType.Text}function x(e){return e.type===n.ElementType.Comment}function T(e){return e.type===n.ElementType.Directive}function g(e){return e.type===n.ElementType.Root}function E(e,t){var r;if(void 0===t&&(t=!1),v(e))r=new s(e.data);else if(x(e))r=new p(e.data);else if(y(e)){var i=t?j(e.children):[],o=new h(e.name,u({},e.attribs),i);i.forEach((function(e){return e.parent=o})),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=u({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=u({},e["x-attribsPrefix"])),r=o}else if(b(e)){i=t?j(e.children):[];var a=new m(n.ElementType.CDATA,i);i.forEach((function(e){return e.parent=a})),r=a}else if(g(e)){i=t?j(e.children):[];var c=new d(i);i.forEach((function(e){return e.parent=c})),e["x-mode"]&&(c["x-mode"]=e["x-mode"]),r=c}else{if(!T(e))throw new Error("Not implemented yet: "+e.type);var l=new f(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,r}function j(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}r.Element=h,r.isTag=y,r.isCDATA=b,r.isText=v,r.isComment=x,r.isDirective=T,r.isDocument=g,r.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},r.cloneNode=E}));export{r as n};
@@ -0,0 +1 @@
1
+ import{commonjsGlobal as r}from"../../../_virtual/_commonjsHelpers.js";import e from"./maps/decode.json.js";var o=(r&&r.__importDefault||function(r){return r&&r.__esModule?r:{default:r}})(e),t=String.fromCodePoint||function(r){var e="";return r>65535&&(r-=65536,e+=String.fromCharCode(r>>>10&1023|55296),r=56320|1023&r),e+=String.fromCharCode(r)};var n=function(r){return r>=55296&&r<=57343||r>1114111?"�":(r in o.default&&(r=o.default[r]),t(r))},a=Object.defineProperty({default:n},"__esModule",{value:!0});export{a as d,n as default};
@@ -0,0 +1 @@
1
+ var a={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};export{a as default};