@performant-software/core-data 2.2.4 → 2.2.5-beta.1

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 (1177) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs102.js +1 -1
  4. package/dist/index.cjs103.js +1 -1
  5. package/dist/index.cjs104.js +1 -1
  6. package/dist/index.cjs108.js +1 -1
  7. package/dist/index.cjs116.js +1 -1
  8. package/dist/index.cjs117.js +1 -1
  9. package/dist/index.cjs118.js +1 -1
  10. package/dist/index.cjs119.js +1 -1
  11. package/dist/index.cjs120.js +1 -1
  12. package/dist/index.cjs120.js.map +1 -1
  13. package/dist/index.cjs121.js +1 -1
  14. package/dist/index.cjs121.js.map +1 -1
  15. package/dist/index.cjs122.js +1 -1
  16. package/dist/index.cjs122.js.map +1 -1
  17. package/dist/index.cjs123.js +1 -1
  18. package/dist/index.cjs123.js.map +1 -1
  19. package/dist/index.cjs124.js +1 -1
  20. package/dist/index.cjs124.js.map +1 -1
  21. package/dist/index.cjs125.js +1 -1
  22. package/dist/index.cjs125.js.map +1 -1
  23. package/dist/index.cjs126.js +1 -1
  24. package/dist/index.cjs126.js.map +1 -1
  25. package/dist/index.cjs127.js +1 -1
  26. package/dist/index.cjs127.js.map +1 -1
  27. package/dist/index.cjs128.js +1 -1
  28. package/dist/index.cjs128.js.map +1 -1
  29. package/dist/index.cjs129.js +1 -1
  30. package/dist/index.cjs129.js.map +1 -1
  31. package/dist/index.cjs130.js +1 -1
  32. package/dist/index.cjs130.js.map +1 -1
  33. package/dist/index.cjs131.js +1 -1
  34. package/dist/index.cjs131.js.map +1 -1
  35. package/dist/index.cjs132.js +1 -1
  36. package/dist/index.cjs132.js.map +1 -1
  37. package/dist/index.cjs133.js +8 -1
  38. package/dist/index.cjs133.js.map +1 -1
  39. package/dist/index.cjs134.js +26 -1
  40. package/dist/index.cjs134.js.map +1 -1
  41. package/dist/index.cjs135.js +1 -8
  42. package/dist/index.cjs135.js.map +1 -1
  43. package/dist/index.cjs136.js +1 -26
  44. package/dist/index.cjs136.js.map +1 -1
  45. package/dist/index.cjs137.js +1 -1
  46. package/dist/index.cjs137.js.map +1 -1
  47. package/dist/index.cjs138.js +1 -1
  48. package/dist/index.cjs138.js.map +1 -1
  49. package/dist/index.cjs139.js +7 -1
  50. package/dist/index.cjs139.js.map +1 -1
  51. package/dist/index.cjs140.js +1 -1
  52. package/dist/index.cjs140.js.map +1 -1
  53. package/dist/index.cjs141.js +1 -7
  54. package/dist/index.cjs141.js.map +1 -1
  55. package/dist/index.cjs142.js +1 -1
  56. package/dist/index.cjs142.js.map +1 -1
  57. package/dist/index.cjs143.js +1 -1
  58. package/dist/index.cjs143.js.map +1 -1
  59. package/dist/index.cjs144.js +1 -1
  60. package/dist/index.cjs144.js.map +1 -1
  61. package/dist/index.cjs145.js +1 -1
  62. package/dist/index.cjs145.js.map +1 -1
  63. package/dist/index.cjs146.js +1 -1
  64. package/dist/index.cjs146.js.map +1 -1
  65. package/dist/index.cjs147.js +1 -1
  66. package/dist/index.cjs147.js.map +1 -1
  67. package/dist/index.cjs148.js +1 -1
  68. package/dist/index.cjs148.js.map +1 -1
  69. package/dist/index.cjs149.js +1 -1
  70. package/dist/index.cjs149.js.map +1 -1
  71. package/dist/index.cjs150.js +1 -1
  72. package/dist/index.cjs150.js.map +1 -1
  73. package/dist/index.cjs151.js +1 -1
  74. package/dist/index.cjs151.js.map +1 -1
  75. package/dist/index.cjs152.js +1 -1
  76. package/dist/index.cjs152.js.map +1 -1
  77. package/dist/index.cjs153.js +1 -1
  78. package/dist/index.cjs155.js +1 -1
  79. package/dist/index.cjs159.js +1 -1
  80. package/dist/index.cjs160.js +1 -1
  81. package/dist/index.cjs177.js +1 -1
  82. package/dist/index.cjs181.js +1 -1
  83. package/dist/index.cjs188.js +1 -1
  84. package/dist/index.cjs189.js +1 -1
  85. package/dist/index.cjs190.js +1 -1
  86. package/dist/index.cjs191.js +1 -1
  87. package/dist/index.cjs192.js +1 -1
  88. package/dist/index.cjs193.js +1 -1
  89. package/dist/index.cjs194.js +1 -1
  90. package/dist/index.cjs195.js +1 -1
  91. package/dist/index.cjs196.js +1 -1
  92. package/dist/index.cjs199.js +1 -1
  93. package/dist/index.cjs200.js +1 -1
  94. package/dist/index.cjs202.js +1 -1
  95. package/dist/index.cjs203.js +1 -1
  96. package/dist/index.cjs204.js +1 -1
  97. package/dist/index.cjs205.js +1 -1
  98. package/dist/index.cjs210.js +1 -1
  99. package/dist/index.cjs211.js +1 -1
  100. package/dist/index.cjs212.js +1 -1
  101. package/dist/index.cjs213.js +1 -1
  102. package/dist/index.cjs216.js +1 -1
  103. package/dist/index.cjs217.js +1 -1
  104. package/dist/index.cjs218.js +1 -1
  105. package/dist/index.cjs222.js +1 -1
  106. package/dist/index.cjs225.js +1 -1
  107. package/dist/index.cjs229.js +1 -1
  108. package/dist/index.cjs232.js +1 -1
  109. package/dist/index.cjs240.js +1 -1
  110. package/dist/index.cjs241.js +1 -1
  111. package/dist/index.cjs242.js +1 -1
  112. package/dist/index.cjs243.js +1 -1
  113. package/dist/index.cjs244.js +1 -1
  114. package/dist/index.cjs245.js +1 -1
  115. package/dist/index.cjs246.js +1 -1
  116. package/dist/index.cjs248.js +1 -1
  117. package/dist/index.cjs249.js +1 -1
  118. package/dist/index.cjs250.js +1 -1
  119. package/dist/index.cjs251.js +1 -1
  120. package/dist/index.cjs252.js +1 -1
  121. package/dist/index.cjs253.js +1 -1
  122. package/dist/index.cjs254.js +1 -1
  123. package/dist/index.cjs255.js +1 -1
  124. package/dist/index.cjs256.js +1 -1
  125. package/dist/index.cjs259.js +1 -1
  126. package/dist/index.cjs260.js +1 -1
  127. package/dist/index.cjs262.js +1 -1
  128. package/dist/index.cjs263.js +1 -1
  129. package/dist/index.cjs264.js +1 -1
  130. package/dist/index.cjs265.js +1 -1
  131. package/dist/index.cjs266.js +1 -1
  132. package/dist/index.cjs267.js +1 -1
  133. package/dist/index.cjs268.js +1 -1
  134. package/dist/index.cjs269.js +1 -1
  135. package/dist/index.cjs275.js +1 -1
  136. package/dist/index.cjs276.js +1 -1
  137. package/dist/index.cjs277.js +1 -1
  138. package/dist/index.cjs278.js +1 -1
  139. package/dist/index.cjs279.js +1 -1
  140. package/dist/index.cjs283.js +1 -1
  141. package/dist/index.cjs284.js +1 -1
  142. package/dist/index.cjs285.js +1 -1
  143. package/dist/index.cjs286.js +1 -1
  144. package/dist/index.cjs287.js +1 -1
  145. package/dist/index.cjs288.js +1 -1
  146. package/dist/index.cjs289.js +1 -1
  147. package/dist/index.cjs290.js +1 -1
  148. package/dist/index.cjs291.js +1 -1
  149. package/dist/index.cjs292.js +1 -1
  150. package/dist/index.cjs296.js +1 -1
  151. package/dist/index.cjs297.js +1 -1
  152. package/dist/index.cjs298.js +6 -1
  153. package/dist/index.cjs298.js.map +1 -1
  154. package/dist/index.cjs299.js +6 -1
  155. package/dist/index.cjs299.js.map +1 -1
  156. package/dist/index.cjs300.js +1 -1
  157. package/dist/index.cjs300.js.map +1 -1
  158. package/dist/index.cjs301.js +1 -1
  159. package/dist/index.cjs301.js.map +1 -1
  160. package/dist/index.cjs302.js +1 -1
  161. package/dist/index.cjs302.js.map +1 -1
  162. package/dist/index.cjs303.js +1 -1
  163. package/dist/index.cjs303.js.map +1 -1
  164. package/dist/index.cjs304.js +1 -1
  165. package/dist/index.cjs304.js.map +1 -1
  166. package/dist/index.cjs305.js +1 -1
  167. package/dist/index.cjs305.js.map +1 -1
  168. package/dist/index.cjs306.js +1 -1
  169. package/dist/index.cjs306.js.map +1 -1
  170. package/dist/index.cjs307.js +1 -1
  171. package/dist/index.cjs307.js.map +1 -1
  172. package/dist/index.cjs311.js +1 -1
  173. package/dist/index.cjs312.js +1 -6
  174. package/dist/index.cjs312.js.map +1 -1
  175. package/dist/index.cjs313.js +1 -1
  176. package/dist/index.cjs313.js.map +1 -1
  177. package/dist/index.cjs314.js +6 -1
  178. package/dist/index.cjs314.js.map +1 -1
  179. package/dist/index.cjs315.js +1 -1
  180. package/dist/index.cjs315.js.map +1 -1
  181. package/dist/index.cjs316.js +1 -1
  182. package/dist/index.cjs316.js.map +1 -1
  183. package/dist/index.cjs317.js +1 -1
  184. package/dist/index.cjs317.js.map +1 -1
  185. package/dist/index.cjs318.js +1 -1
  186. package/dist/index.cjs318.js.map +1 -1
  187. package/dist/index.cjs319.js +1 -1
  188. package/dist/index.cjs319.js.map +1 -1
  189. package/dist/index.cjs320.js +1 -1
  190. package/dist/index.cjs320.js.map +1 -1
  191. package/dist/index.cjs321.js +1 -1
  192. package/dist/index.cjs321.js.map +1 -1
  193. package/dist/index.cjs322.js +1 -1
  194. package/dist/index.cjs322.js.map +1 -1
  195. package/dist/index.cjs323.js +1 -1
  196. package/dist/index.cjs323.js.map +1 -1
  197. package/dist/index.cjs324.js +1 -2
  198. package/dist/index.cjs324.js.map +1 -1
  199. package/dist/index.cjs325.js +1 -4
  200. package/dist/index.cjs325.js.map +1 -1
  201. package/dist/index.cjs326.js +2 -2
  202. package/dist/index.cjs326.js.map +1 -1
  203. package/dist/index.cjs327.js +4 -1
  204. package/dist/index.cjs327.js.map +1 -1
  205. package/dist/index.cjs328.js +2 -1
  206. package/dist/index.cjs328.js.map +1 -1
  207. package/dist/index.cjs329.js +1 -2
  208. package/dist/index.cjs329.js.map +1 -1
  209. package/dist/index.cjs330.js +1 -1
  210. package/dist/index.cjs330.js.map +1 -1
  211. package/dist/index.cjs331.js +2 -6
  212. package/dist/index.cjs331.js.map +1 -1
  213. package/dist/index.cjs332.js +1 -6
  214. package/dist/index.cjs332.js.map +1 -1
  215. package/dist/index.cjs333.js +1 -1
  216. package/dist/index.cjs333.js.map +1 -1
  217. package/dist/index.cjs334.js +1 -1
  218. package/dist/index.cjs334.js.map +1 -1
  219. package/dist/index.cjs335.js +1 -1
  220. package/dist/index.cjs335.js.map +1 -1
  221. package/dist/index.cjs336.js +1 -1
  222. package/dist/index.cjs336.js.map +1 -1
  223. package/dist/index.cjs337.js +1 -1
  224. package/dist/index.cjs337.js.map +1 -1
  225. package/dist/index.cjs338.js +1 -1
  226. package/dist/index.cjs338.js.map +1 -1
  227. package/dist/index.cjs339.js +1 -1
  228. package/dist/index.cjs339.js.map +1 -1
  229. package/dist/index.cjs340.js +1 -1
  230. package/dist/index.cjs340.js.map +1 -1
  231. package/dist/index.cjs341.js +1 -4
  232. package/dist/index.cjs341.js.map +1 -1
  233. package/dist/index.cjs342.js +1 -1
  234. package/dist/index.cjs342.js.map +1 -1
  235. package/dist/index.cjs343.js +1 -1
  236. package/dist/index.cjs343.js.map +1 -1
  237. package/dist/index.cjs344.js +1 -1
  238. package/dist/index.cjs344.js.map +1 -1
  239. package/dist/index.cjs345.js +1 -1
  240. package/dist/index.cjs345.js.map +1 -1
  241. package/dist/index.cjs346.js +1 -1
  242. package/dist/index.cjs346.js.map +1 -1
  243. package/dist/index.cjs347.js +1 -1
  244. package/dist/index.cjs347.js.map +1 -1
  245. package/dist/index.cjs348.js +1 -1
  246. package/dist/index.cjs348.js.map +1 -1
  247. package/dist/index.cjs349.js +1 -1
  248. package/dist/index.cjs349.js.map +1 -1
  249. package/dist/index.cjs350.js +1 -1
  250. package/dist/index.cjs350.js.map +1 -1
  251. package/dist/index.cjs351.js +1 -1
  252. package/dist/index.cjs351.js.map +1 -1
  253. package/dist/index.cjs352.js +1 -1
  254. package/dist/index.cjs352.js.map +1 -1
  255. package/dist/index.cjs353.js +1 -1
  256. package/dist/index.cjs353.js.map +1 -1
  257. package/dist/index.cjs354.js +1 -1
  258. package/dist/index.cjs354.js.map +1 -1
  259. package/dist/index.cjs355.js +1 -1
  260. package/dist/index.cjs355.js.map +1 -1
  261. package/dist/index.cjs356.js +1 -1
  262. package/dist/index.cjs356.js.map +1 -1
  263. package/dist/index.cjs357.js +1 -1
  264. package/dist/index.cjs357.js.map +1 -1
  265. package/dist/index.cjs358.js +1 -1
  266. package/dist/index.cjs358.js.map +1 -1
  267. package/dist/index.cjs359.js +1 -1
  268. package/dist/index.cjs359.js.map +1 -1
  269. package/dist/index.cjs360.js +1 -1
  270. package/dist/index.cjs360.js.map +1 -1
  271. package/dist/index.cjs361.js +1 -1
  272. package/dist/index.cjs361.js.map +1 -1
  273. package/dist/index.cjs362.js +1 -1
  274. package/dist/index.cjs362.js.map +1 -1
  275. package/dist/index.cjs363.js +1 -1
  276. package/dist/index.cjs363.js.map +1 -1
  277. package/dist/index.cjs364.js +1 -1
  278. package/dist/index.cjs364.js.map +1 -1
  279. package/dist/index.cjs365.js +1 -1
  280. package/dist/index.cjs365.js.map +1 -1
  281. package/dist/index.cjs366.js +1 -1
  282. package/dist/index.cjs366.js.map +1 -1
  283. package/dist/index.cjs367.js +1 -1
  284. package/dist/index.cjs367.js.map +1 -1
  285. package/dist/index.cjs368.js +1 -1
  286. package/dist/index.cjs368.js.map +1 -1
  287. package/dist/index.cjs369.js +1 -1
  288. package/dist/index.cjs369.js.map +1 -1
  289. package/dist/index.cjs370.js +1 -1
  290. package/dist/index.cjs370.js.map +1 -1
  291. package/dist/index.cjs371.js +1 -1
  292. package/dist/index.cjs371.js.map +1 -1
  293. package/dist/index.cjs372.js +1 -1
  294. package/dist/index.cjs373.js +1 -1
  295. package/dist/index.cjs373.js.map +1 -1
  296. package/dist/index.cjs374.js +1 -1
  297. package/dist/index.cjs374.js.map +1 -1
  298. package/dist/index.cjs375.js +1 -1
  299. package/dist/index.cjs375.js.map +1 -1
  300. package/dist/index.cjs377.js +1 -1
  301. package/dist/index.cjs377.js.map +1 -1
  302. package/dist/index.cjs378.js +1 -1
  303. package/dist/index.cjs378.js.map +1 -1
  304. package/dist/index.cjs379.js +1 -1
  305. package/dist/index.cjs379.js.map +1 -1
  306. package/dist/index.cjs380.js +1 -1
  307. package/dist/index.cjs380.js.map +1 -1
  308. package/dist/index.cjs381.js +1 -1
  309. package/dist/index.cjs381.js.map +1 -1
  310. package/dist/index.cjs382.js +1 -1
  311. package/dist/index.cjs382.js.map +1 -1
  312. package/dist/index.cjs384.js +1 -1
  313. package/dist/index.cjs384.js.map +1 -1
  314. package/dist/index.cjs385.js +1 -1
  315. package/dist/index.cjs385.js.map +1 -1
  316. package/dist/index.cjs386.js +1 -1
  317. package/dist/index.cjs386.js.map +1 -1
  318. package/dist/index.cjs387.js +4 -1
  319. package/dist/index.cjs387.js.map +1 -1
  320. package/dist/index.cjs388.js +1 -1
  321. package/dist/index.cjs388.js.map +1 -1
  322. package/dist/index.cjs391.js +1 -1
  323. package/dist/index.cjs393.js +1 -1
  324. package/dist/index.cjs394.js +1 -1
  325. package/dist/index.cjs396.js +1 -1
  326. package/dist/index.cjs397.js +1 -1
  327. package/dist/index.cjs398.js +1 -1
  328. package/dist/index.cjs407.js +1 -1
  329. package/dist/index.cjs408.js +1 -1
  330. package/dist/index.cjs410.js +1 -1
  331. package/dist/index.cjs413.js +1 -1
  332. package/dist/index.cjs417.js +1 -1
  333. package/dist/index.cjs418.js +1 -1
  334. package/dist/index.cjs418.js.map +1 -1
  335. package/dist/index.cjs419.js +1 -1
  336. package/dist/index.cjs419.js.map +1 -1
  337. package/dist/index.cjs420.js +1 -38
  338. package/dist/index.cjs420.js.map +1 -1
  339. package/dist/index.cjs421.js +1 -1
  340. package/dist/index.cjs421.js.map +1 -1
  341. package/dist/index.cjs422.js +1 -1
  342. package/dist/index.cjs422.js.map +1 -1
  343. package/dist/index.cjs423.js +1 -1
  344. package/dist/index.cjs423.js.map +1 -1
  345. package/dist/index.cjs424.js +1 -1
  346. package/dist/index.cjs424.js.map +1 -1
  347. package/dist/index.cjs425.js +1 -1
  348. package/dist/index.cjs425.js.map +1 -1
  349. package/dist/index.cjs426.js +1 -1
  350. package/dist/index.cjs426.js.map +1 -1
  351. package/dist/index.cjs427.js +1 -1
  352. package/dist/index.cjs427.js.map +1 -1
  353. package/dist/index.cjs428.js +1 -1
  354. package/dist/index.cjs428.js.map +1 -1
  355. package/dist/index.cjs429.js +1 -1
  356. package/dist/index.cjs429.js.map +1 -1
  357. package/dist/index.cjs430.js +1 -1
  358. package/dist/index.cjs430.js.map +1 -1
  359. package/dist/index.cjs431.js +1 -1
  360. package/dist/index.cjs431.js.map +1 -1
  361. package/dist/index.cjs432.js +1 -1
  362. package/dist/index.cjs432.js.map +1 -1
  363. package/dist/index.cjs433.js +1 -1
  364. package/dist/index.cjs433.js.map +1 -1
  365. package/dist/index.cjs434.js +1 -1
  366. package/dist/index.cjs434.js.map +1 -1
  367. package/dist/index.cjs435.js +1 -1
  368. package/dist/index.cjs435.js.map +1 -1
  369. package/dist/index.cjs436.js +1 -1
  370. package/dist/index.cjs436.js.map +1 -1
  371. package/dist/index.cjs437.js +1 -1
  372. package/dist/index.cjs437.js.map +1 -1
  373. package/dist/index.cjs438.js +1 -1
  374. package/dist/index.cjs438.js.map +1 -1
  375. package/dist/index.cjs439.js +1 -1
  376. package/dist/index.cjs439.js.map +1 -1
  377. package/dist/index.cjs440.js +1 -1
  378. package/dist/index.cjs440.js.map +1 -1
  379. package/dist/index.cjs441.js +1 -1
  380. package/dist/index.cjs441.js.map +1 -1
  381. package/dist/index.cjs442.js +1 -1
  382. package/dist/index.cjs442.js.map +1 -1
  383. package/dist/index.cjs443.js +1 -1
  384. package/dist/index.cjs443.js.map +1 -1
  385. package/dist/index.cjs444.js +1 -1
  386. package/dist/index.cjs444.js.map +1 -1
  387. package/dist/index.cjs445.js +1 -1
  388. package/dist/index.cjs445.js.map +1 -1
  389. package/dist/index.cjs446.js +1 -1
  390. package/dist/index.cjs446.js.map +1 -1
  391. package/dist/index.cjs447.js +1 -1
  392. package/dist/index.cjs447.js.map +1 -1
  393. package/dist/index.cjs448.js +1 -1
  394. package/dist/index.cjs448.js.map +1 -1
  395. package/dist/index.cjs449.js +1 -1
  396. package/dist/index.cjs449.js.map +1 -1
  397. package/dist/index.cjs450.js +1 -1
  398. package/dist/index.cjs450.js.map +1 -1
  399. package/dist/index.cjs451.js +1 -1
  400. package/dist/index.cjs451.js.map +1 -1
  401. package/dist/index.cjs452.js +1 -1
  402. package/dist/index.cjs452.js.map +1 -1
  403. package/dist/index.cjs453.js +1 -1
  404. package/dist/index.cjs453.js.map +1 -1
  405. package/dist/index.cjs454.js +1 -1
  406. package/dist/index.cjs454.js.map +1 -1
  407. package/dist/index.cjs455.js +1 -1
  408. package/dist/index.cjs455.js.map +1 -1
  409. package/dist/index.cjs456.js +1 -1
  410. package/dist/index.cjs456.js.map +1 -1
  411. package/dist/index.cjs457.js +1 -1
  412. package/dist/index.cjs457.js.map +1 -1
  413. package/dist/index.cjs458.js +1 -1
  414. package/dist/index.cjs458.js.map +1 -1
  415. package/dist/index.cjs459.js +1 -1
  416. package/dist/index.cjs459.js.map +1 -1
  417. package/dist/index.cjs460.js +1 -1
  418. package/dist/index.cjs460.js.map +1 -1
  419. package/dist/index.cjs461.js +1 -1
  420. package/dist/index.cjs461.js.map +1 -1
  421. package/dist/index.cjs462.js +2 -1
  422. package/dist/index.cjs462.js.map +1 -1
  423. package/dist/index.cjs463.js +1 -1
  424. package/dist/index.cjs463.js.map +1 -1
  425. package/dist/index.cjs465.js +1 -1
  426. package/dist/index.cjs465.js.map +1 -1
  427. package/dist/index.cjs466.js +1 -1
  428. package/dist/index.cjs466.js.map +1 -1
  429. package/dist/index.cjs467.js +2 -1
  430. package/dist/index.cjs467.js.map +1 -1
  431. package/dist/index.cjs468.js +1 -2
  432. package/dist/index.cjs468.js.map +1 -1
  433. package/dist/index.cjs469.js +1 -1
  434. package/dist/index.cjs470.js +1 -1
  435. package/dist/index.cjs470.js.map +1 -1
  436. package/dist/index.cjs471.js +38 -1
  437. package/dist/index.cjs471.js.map +1 -1
  438. package/dist/index.cjs472.js +1 -1
  439. package/dist/index.cjs472.js.map +1 -1
  440. package/dist/index.cjs473.js +1 -2
  441. package/dist/index.cjs473.js.map +1 -1
  442. package/dist/index.cjs474.js +1 -1
  443. package/dist/index.cjs474.js.map +1 -1
  444. package/dist/index.cjs481.js +1 -1
  445. package/dist/index.cjs481.js.map +1 -1
  446. package/dist/index.cjs482.js +1 -1
  447. package/dist/index.cjs482.js.map +1 -1
  448. package/dist/index.cjs483.js +1 -1
  449. package/dist/index.cjs483.js.map +1 -1
  450. package/dist/index.cjs484.js +1 -1
  451. package/dist/index.cjs484.js.map +1 -1
  452. package/dist/index.cjs485.js +1 -1
  453. package/dist/index.cjs485.js.map +1 -1
  454. package/dist/index.cjs486.js +1 -1
  455. package/dist/index.cjs486.js.map +1 -1
  456. package/dist/index.cjs487.js +1 -1
  457. package/dist/index.cjs487.js.map +1 -1
  458. package/dist/index.cjs488.js +1 -1
  459. package/dist/index.cjs488.js.map +1 -1
  460. package/dist/index.cjs489.js +1 -1
  461. package/dist/index.cjs489.js.map +1 -1
  462. package/dist/index.cjs490.js +1 -1
  463. package/dist/index.cjs490.js.map +1 -1
  464. package/dist/index.cjs491.js +1 -1
  465. package/dist/index.cjs491.js.map +1 -1
  466. package/dist/index.cjs492.js +1 -1
  467. package/dist/index.cjs493.js +1 -1
  468. package/dist/index.cjs493.js.map +1 -1
  469. package/dist/index.cjs495.js +1 -1
  470. package/dist/index.cjs495.js.map +1 -1
  471. package/dist/index.cjs497.js +1 -1
  472. package/dist/index.cjs497.js.map +1 -1
  473. package/dist/index.cjs498.js +1 -1
  474. package/dist/index.cjs499.js +1 -1
  475. package/dist/index.cjs499.js.map +1 -1
  476. package/dist/index.cjs500.js +1 -1
  477. package/dist/index.cjs501.js +1 -1
  478. package/dist/index.cjs502.js +1 -1
  479. package/dist/index.cjs502.js.map +1 -1
  480. package/dist/index.cjs504.js +1 -1
  481. package/dist/index.cjs504.js.map +1 -1
  482. package/dist/index.cjs507.js +7 -1
  483. package/dist/index.cjs507.js.map +1 -1
  484. package/dist/index.cjs508.js +1 -1
  485. package/dist/index.cjs508.js.map +1 -1
  486. package/dist/index.cjs509.js +1 -1
  487. package/dist/index.cjs509.js.map +1 -1
  488. package/dist/index.cjs510.js +1 -1
  489. package/dist/index.cjs510.js.map +1 -1
  490. package/dist/index.cjs511.js +1 -1
  491. package/dist/index.cjs511.js.map +1 -1
  492. package/dist/index.cjs512.js +1 -7
  493. package/dist/index.cjs512.js.map +1 -1
  494. package/dist/index.cjs513.js +1 -1
  495. package/dist/index.cjs513.js.map +1 -1
  496. package/dist/index.cjs514.js +1 -1
  497. package/dist/index.cjs514.js.map +1 -1
  498. package/dist/index.cjs515.js +1 -1
  499. package/dist/index.cjs515.js.map +1 -1
  500. package/dist/index.cjs516.js +1 -1
  501. package/dist/index.cjs516.js.map +1 -1
  502. package/dist/index.cjs517.js +1 -1
  503. package/dist/index.cjs517.js.map +1 -1
  504. package/dist/index.cjs522.js +1 -1
  505. package/dist/index.cjs522.js.map +1 -1
  506. package/dist/index.cjs526.js +1 -1
  507. package/dist/index.cjs526.js.map +1 -1
  508. package/dist/index.cjs527.js +1 -1
  509. package/dist/index.cjs527.js.map +1 -1
  510. package/dist/index.cjs529.js +1 -1
  511. package/dist/index.cjs529.js.map +1 -1
  512. package/dist/index.cjs530.js +1 -1
  513. package/dist/index.cjs530.js.map +1 -1
  514. package/dist/index.cjs533.js +1 -1
  515. package/dist/index.cjs533.js.map +1 -1
  516. package/dist/index.cjs535.js +1 -1
  517. package/dist/index.cjs535.js.map +1 -1
  518. package/dist/index.cjs538.js +1 -1
  519. package/dist/index.cjs538.js.map +1 -1
  520. package/dist/index.cjs539.js +1 -1
  521. package/dist/index.cjs539.js.map +1 -1
  522. package/dist/index.cjs54.js +1 -1
  523. package/dist/index.cjs544.js +1 -1
  524. package/dist/index.cjs544.js.map +1 -1
  525. package/dist/index.cjs545.js +1 -1
  526. package/dist/index.cjs545.js.map +1 -1
  527. package/dist/index.cjs546.js +1 -1
  528. package/dist/index.cjs546.js.map +1 -1
  529. package/dist/index.cjs547.js +1 -1
  530. package/dist/index.cjs547.js.map +1 -1
  531. package/dist/index.cjs548.js +1 -1
  532. package/dist/index.cjs549.js +1 -1
  533. package/dist/index.cjs549.js.map +1 -1
  534. package/dist/index.cjs55.js +1 -1
  535. package/dist/index.cjs551.js +1 -1
  536. package/dist/index.cjs551.js.map +1 -1
  537. package/dist/index.cjs554.js +1 -1
  538. package/dist/index.cjs557.js +1 -1
  539. package/dist/index.cjs557.js.map +1 -1
  540. package/dist/index.cjs558.js +1 -1
  541. package/dist/index.cjs558.js.map +1 -1
  542. package/dist/index.cjs559.js +1 -1
  543. package/dist/index.cjs559.js.map +1 -1
  544. package/dist/index.cjs56.js +1 -1
  545. package/dist/index.cjs560.js +1 -1
  546. package/dist/index.cjs560.js.map +1 -1
  547. package/dist/index.cjs58.js +1 -1
  548. package/dist/index.cjs59.js +1 -1
  549. package/dist/index.cjs60.js +1 -1
  550. package/dist/index.cjs62.js +1 -1
  551. package/dist/index.cjs63.js +1 -1
  552. package/dist/index.cjs64.js +1 -1
  553. package/dist/index.cjs66.js +1 -1
  554. package/dist/index.cjs67.js +1 -1
  555. package/dist/index.cjs68.js +1 -1
  556. package/dist/index.cjs72.js +1 -1
  557. package/dist/index.cjs73.js +1 -1
  558. package/dist/index.cjs74.js +1 -1
  559. package/dist/index.cjs76.js +1 -1
  560. package/dist/index.cjs77.js +1 -1
  561. package/dist/index.cjs79.js +1 -1
  562. package/dist/index.cjs81.js +1 -1
  563. package/dist/index.cjs82.js +1 -1
  564. package/dist/index.cjs83.js +1 -1
  565. package/dist/index.cjs84.js +1 -1
  566. package/dist/index.cjs85.js +1 -1
  567. package/dist/index.cjs86.js +1 -1
  568. package/dist/index.cjs87.js +1 -1
  569. package/dist/index.cjs88.js +1 -1
  570. package/dist/index.cjs90.js +1 -1
  571. package/dist/index.cjs91.js +1 -1
  572. package/dist/index.cjs94.js +1 -1
  573. package/dist/index.cjs95.js +1 -1
  574. package/dist/index.cjs96.js +1 -1
  575. package/dist/index.cjs97.js +1 -1
  576. package/dist/index.cjs98.js +1 -1
  577. package/dist/index.cjs99.js +1 -1
  578. package/dist/index.es100.js +2 -2
  579. package/dist/index.es101.js +1 -1
  580. package/dist/index.es102.js +1 -1
  581. package/dist/index.es103.js +1 -1
  582. package/dist/index.es104.js +1 -1
  583. package/dist/index.es108.js +4 -4
  584. package/dist/index.es116.js +1 -1
  585. package/dist/index.es117.js +1 -1
  586. package/dist/index.es118.js +13 -13
  587. package/dist/index.es119.js +1 -1
  588. package/dist/index.es120.js +132 -9
  589. package/dist/index.es120.js.map +1 -1
  590. package/dist/index.es121.js +182 -31
  591. package/dist/index.es121.js.map +1 -1
  592. package/dist/index.es122.js +11 -133
  593. package/dist/index.es122.js.map +1 -1
  594. package/dist/index.es123.js +69 -176
  595. package/dist/index.es123.js.map +1 -1
  596. package/dist/index.es124.js +18 -12
  597. package/dist/index.es124.js.map +1 -1
  598. package/dist/index.es125.js +10 -79
  599. package/dist/index.es125.js.map +1 -1
  600. package/dist/index.es126.js +47 -18
  601. package/dist/index.es126.js.map +1 -1
  602. package/dist/index.es127.js +50 -9
  603. package/dist/index.es127.js.map +1 -1
  604. package/dist/index.es128.js +501 -43
  605. package/dist/index.es128.js.map +1 -1
  606. package/dist/index.es129.js +103 -49
  607. package/dist/index.es129.js.map +1 -1
  608. package/dist/index.es130.js +76 -494
  609. package/dist/index.es130.js.map +1 -1
  610. package/dist/index.es131.js +373 -103
  611. package/dist/index.es131.js.map +1 -1
  612. package/dist/index.es132.js +120 -84
  613. package/dist/index.es132.js.map +1 -1
  614. package/dist/index.es133.js +654 -351
  615. package/dist/index.es133.js.map +1 -1
  616. package/dist/index.es134.js +16844 -118
  617. package/dist/index.es134.js.map +1 -1
  618. package/dist/index.es135.js +146 -673
  619. package/dist/index.es135.js.map +1 -1
  620. package/dist/index.es136.js +7 -16849
  621. package/dist/index.es136.js.map +1 -1
  622. package/dist/index.es137.js +181 -143
  623. package/dist/index.es137.js.map +1 -1
  624. package/dist/index.es138.js +810 -7
  625. package/dist/index.es138.js.map +1 -1
  626. package/dist/index.es139.js +10069 -187
  627. package/dist/index.es139.js.map +1 -1
  628. package/dist/index.es140.js +83 -795
  629. package/dist/index.es140.js.map +1 -1
  630. package/dist/index.es141.js +16 -10070
  631. package/dist/index.es141.js.map +1 -1
  632. package/dist/index.es142.js +9 -96
  633. package/dist/index.es142.js.map +1 -1
  634. package/dist/index.es143.js +34 -16
  635. package/dist/index.es143.js.map +1 -1
  636. package/dist/index.es144.js +57 -5
  637. package/dist/index.es144.js.map +1 -1
  638. package/dist/index.es145.js +6 -4
  639. package/dist/index.es145.js.map +1 -1
  640. package/dist/index.es146.js +13 -24
  641. package/dist/index.es146.js.map +1 -1
  642. package/dist/index.es147.js +214 -11
  643. package/dist/index.es147.js.map +1 -1
  644. package/dist/index.es148.js +195 -56
  645. package/dist/index.es148.js.map +1 -1
  646. package/dist/index.es149.js +4 -7
  647. package/dist/index.es149.js.map +1 -1
  648. package/dist/index.es150.js +5 -216
  649. package/dist/index.es150.js.map +1 -1
  650. package/dist/index.es151.js +4 -196
  651. package/dist/index.es151.js.map +1 -1
  652. package/dist/index.es152.js +24 -3
  653. package/dist/index.es152.js.map +1 -1
  654. package/dist/index.es153.js +1 -1
  655. package/dist/index.es155.js +7 -7
  656. package/dist/index.es159.js +1 -1
  657. package/dist/index.es160.js +18 -18
  658. package/dist/index.es177.js +1 -1
  659. package/dist/index.es181.js +1 -1
  660. package/dist/index.es188.js +1 -1
  661. package/dist/index.es189.js +1 -1
  662. package/dist/index.es190.js +1 -1
  663. package/dist/index.es191.js +1 -1
  664. package/dist/index.es192.js +1 -1
  665. package/dist/index.es193.js +1 -1
  666. package/dist/index.es194.js +1 -1
  667. package/dist/index.es195.js +1 -1
  668. package/dist/index.es196.js +1 -1
  669. package/dist/index.es199.js +1 -1
  670. package/dist/index.es200.js +1 -1
  671. package/dist/index.es202.js +3 -3
  672. package/dist/index.es203.js +1 -1
  673. package/dist/index.es204.js +2 -2
  674. package/dist/index.es205.js +1 -1
  675. package/dist/index.es210.js +1 -1
  676. package/dist/index.es211.js +1 -1
  677. package/dist/index.es212.js +1 -1
  678. package/dist/index.es213.js +1 -1
  679. package/dist/index.es216.js +2 -2
  680. package/dist/index.es217.js +2 -2
  681. package/dist/index.es218.js +1 -1
  682. package/dist/index.es222.js +2 -2
  683. package/dist/index.es225.js +1 -1
  684. package/dist/index.es229.js +1 -1
  685. package/dist/index.es232.js +1 -1
  686. package/dist/index.es240.js +1 -1
  687. package/dist/index.es241.js +1 -1
  688. package/dist/index.es242.js +1 -1
  689. package/dist/index.es243.js +2 -2
  690. package/dist/index.es244.js +1 -1
  691. package/dist/index.es245.js +1 -1
  692. package/dist/index.es246.js +1 -1
  693. package/dist/index.es248.js +2 -2
  694. package/dist/index.es249.js +2 -2
  695. package/dist/index.es250.js +1 -1
  696. package/dist/index.es251.js +1 -1
  697. package/dist/index.es252.js +1 -1
  698. package/dist/index.es253.js +1 -1
  699. package/dist/index.es254.js +2 -2
  700. package/dist/index.es255.js +2 -2
  701. package/dist/index.es256.js +1 -1
  702. package/dist/index.es259.js +2 -2
  703. package/dist/index.es260.js +2 -2
  704. package/dist/index.es262.js +2 -2
  705. package/dist/index.es263.js +1 -1
  706. package/dist/index.es264.js +2 -2
  707. package/dist/index.es265.js +1 -1
  708. package/dist/index.es266.js +2 -2
  709. package/dist/index.es267.js +1 -1
  710. package/dist/index.es268.js +1 -1
  711. package/dist/index.es269.js +1 -1
  712. package/dist/index.es275.js +1 -1
  713. package/dist/index.es276.js +2 -2
  714. package/dist/index.es277.js +1 -1
  715. package/dist/index.es278.js +1 -1
  716. package/dist/index.es279.js +1 -1
  717. package/dist/index.es283.js +1 -1
  718. package/dist/index.es284.js +1 -1
  719. package/dist/index.es285.js +1 -1
  720. package/dist/index.es286.js +1 -1
  721. package/dist/index.es287.js +2 -2
  722. package/dist/index.es288.js +1 -1
  723. package/dist/index.es289.js +4 -4
  724. package/dist/index.es290.js +2 -2
  725. package/dist/index.es291.js +6 -6
  726. package/dist/index.es292.js +2 -2
  727. package/dist/index.es296.js +3 -3
  728. package/dist/index.es297.js +3 -3
  729. package/dist/index.es298.js +39 -3
  730. package/dist/index.es298.js.map +1 -1
  731. package/dist/index.es299.js +18 -8
  732. package/dist/index.es299.js.map +1 -1
  733. package/dist/index.es300.js +4 -7
  734. package/dist/index.es300.js.map +1 -1
  735. package/dist/index.es301.js +8 -261
  736. package/dist/index.es301.js.map +1 -1
  737. package/dist/index.es302.js +9 -85
  738. package/dist/index.es302.js.map +1 -1
  739. package/dist/index.es303.js +261 -337
  740. package/dist/index.es303.js.map +1 -1
  741. package/dist/index.es304.js +85 -12
  742. package/dist/index.es304.js.map +1 -1
  743. package/dist/index.es305.js +339 -47
  744. package/dist/index.es305.js.map +1 -1
  745. package/dist/index.es306.js +12 -4
  746. package/dist/index.es306.js.map +1 -1
  747. package/dist/index.es307.js +47 -4
  748. package/dist/index.es307.js.map +1 -1
  749. package/dist/index.es310.js +2 -2
  750. package/dist/index.es311.js +2 -2
  751. package/dist/index.es312.js +2 -43
  752. package/dist/index.es312.js.map +1 -1
  753. package/dist/index.es313.js +2 -13
  754. package/dist/index.es313.js.map +1 -1
  755. package/dist/index.es314.js +38 -344
  756. package/dist/index.es314.js.map +1 -1
  757. package/dist/index.es315.js +10 -221
  758. package/dist/index.es315.js.map +1 -1
  759. package/dist/index.es316.js +344 -34
  760. package/dist/index.es316.js.map +1 -1
  761. package/dist/index.es317.js +223 -7
  762. package/dist/index.es317.js.map +1 -1
  763. package/dist/index.es318.js +36 -38
  764. package/dist/index.es318.js.map +1 -1
  765. package/dist/index.es319.js +7 -18
  766. package/dist/index.es319.js.map +1 -1
  767. package/dist/index.es320.js +37 -16
  768. package/dist/index.es320.js.map +1 -1
  769. package/dist/index.es321.js +16 -7
  770. package/dist/index.es321.js.map +1 -1
  771. package/dist/index.es322.js +17 -14
  772. package/dist/index.es322.js.map +1 -1
  773. package/dist/index.es323.js +8 -22
  774. package/dist/index.es323.js.map +1 -1
  775. package/dist/index.es324.js +13 -129
  776. package/dist/index.es324.js.map +1 -1
  777. package/dist/index.es325.js +22 -18
  778. package/dist/index.es325.js.map +1 -1
  779. package/dist/index.es326.js +132 -18
  780. package/dist/index.es326.js.map +1 -1
  781. package/dist/index.es327.js +17 -16
  782. package/dist/index.es327.js.map +1 -1
  783. package/dist/index.es328.js +16 -32
  784. package/dist/index.es328.js.map +1 -1
  785. package/dist/index.es329.js +15 -214
  786. package/dist/index.es329.js.map +1 -1
  787. package/dist/index.es330.js +34 -5
  788. package/dist/index.es330.js.map +1 -1
  789. package/dist/index.es331.js +217 -39
  790. package/dist/index.es331.js.map +1 -1
  791. package/dist/index.es332.js +6 -18
  792. package/dist/index.es332.js.map +1 -1
  793. package/dist/index.es333.js +10 -11
  794. package/dist/index.es333.js.map +1 -1
  795. package/dist/index.es334.js +11 -10
  796. package/dist/index.es334.js.map +1 -1
  797. package/dist/index.es335.js +9 -4
  798. package/dist/index.es335.js.map +1 -1
  799. package/dist/index.es336.js +5 -12
  800. package/dist/index.es336.js.map +1 -1
  801. package/dist/index.es337.js +12 -10
  802. package/dist/index.es337.js.map +1 -1
  803. package/dist/index.es338.js +8 -5
  804. package/dist/index.es338.js.map +1 -1
  805. package/dist/index.es339.js +5 -3
  806. package/dist/index.es339.js.map +1 -1
  807. package/dist/index.es340.js +4 -24
  808. package/dist/index.es340.js.map +1 -1
  809. package/dist/index.es341.js +3 -107
  810. package/dist/index.es341.js.map +1 -1
  811. package/dist/index.es342.js +3 -16
  812. package/dist/index.es342.js.map +1 -1
  813. package/dist/index.es343.js +8 -7
  814. package/dist/index.es343.js.map +1 -1
  815. package/dist/index.es344.js +21 -4
  816. package/dist/index.es344.js.map +1 -1
  817. package/dist/index.es345.js +22 -4
  818. package/dist/index.es345.js.map +1 -1
  819. package/dist/index.es346.js +14 -3
  820. package/dist/index.es346.js.map +1 -1
  821. package/dist/index.es347.js +17 -3
  822. package/dist/index.es347.js.map +1 -1
  823. package/dist/index.es348.js +5 -8
  824. package/dist/index.es348.js.map +1 -1
  825. package/dist/index.es349.js +8 -21
  826. package/dist/index.es349.js.map +1 -1
  827. package/dist/index.es350.js +6 -21
  828. package/dist/index.es350.js.map +1 -1
  829. package/dist/index.es351.js +19 -11
  830. package/dist/index.es351.js.map +1 -1
  831. package/dist/index.es352.js +8 -15
  832. package/dist/index.es352.js.map +1 -1
  833. package/dist/index.es353.js +9 -6
  834. package/dist/index.es353.js.map +1 -1
  835. package/dist/index.es354.js +4 -9
  836. package/dist/index.es354.js.map +1 -1
  837. package/dist/index.es355.js +10 -6
  838. package/dist/index.es355.js.map +1 -1
  839. package/dist/index.es356.js +8 -21
  840. package/dist/index.es356.js.map +1 -1
  841. package/dist/index.es357.js +22 -9
  842. package/dist/index.es357.js.map +1 -1
  843. package/dist/index.es358.js +12 -9
  844. package/dist/index.es358.js.map +1 -1
  845. package/dist/index.es359.js +19 -4
  846. package/dist/index.es359.js.map +1 -1
  847. package/dist/index.es360.js +4 -11
  848. package/dist/index.es360.js.map +1 -1
  849. package/dist/index.es361.js +17 -8
  850. package/dist/index.es361.js.map +1 -1
  851. package/dist/index.es362.js +11 -22
  852. package/dist/index.es362.js.map +1 -1
  853. package/dist/index.es363.js +3 -11
  854. package/dist/index.es363.js.map +1 -1
  855. package/dist/index.es364.js +4 -18
  856. package/dist/index.es364.js.map +1 -1
  857. package/dist/index.es365.js +2 -4
  858. package/dist/index.es365.js.map +1 -1
  859. package/dist/index.es366.js +320 -16
  860. package/dist/index.es366.js.map +1 -1
  861. package/dist/index.es367.js +2 -12
  862. package/dist/index.es367.js.map +1 -1
  863. package/dist/index.es368.js +2 -4
  864. package/dist/index.es368.js.map +1 -1
  865. package/dist/index.es369.js +2 -5
  866. package/dist/index.es369.js.map +1 -1
  867. package/dist/index.es370.js +15 -2
  868. package/dist/index.es370.js.map +1 -1
  869. package/dist/index.es371.js +2 -322
  870. package/dist/index.es371.js.map +1 -1
  871. package/dist/index.es372.js +2 -2
  872. package/dist/index.es373.js +48 -2
  873. package/dist/index.es373.js.map +1 -1
  874. package/dist/index.es374.js +38 -2
  875. package/dist/index.es374.js.map +1 -1
  876. package/dist/index.es375.js +42 -14
  877. package/dist/index.es375.js.map +1 -1
  878. package/dist/index.es376.js +2 -2
  879. package/dist/index.es377.js +16 -2
  880. package/dist/index.es377.js.map +1 -1
  881. package/dist/index.es378.js +2 -48
  882. package/dist/index.es378.js.map +1 -1
  883. package/dist/index.es379.js +15 -37
  884. package/dist/index.es379.js.map +1 -1
  885. package/dist/index.es380.js +15 -42
  886. package/dist/index.es380.js.map +1 -1
  887. package/dist/index.es381.js +18 -2
  888. package/dist/index.es381.js.map +1 -1
  889. package/dist/index.es382.js +18 -14
  890. package/dist/index.es382.js.map +1 -1
  891. package/dist/index.es384.js +5 -16
  892. package/dist/index.es384.js.map +1 -1
  893. package/dist/index.es385.js +3 -16
  894. package/dist/index.es385.js.map +1 -1
  895. package/dist/index.es386.js +22 -16
  896. package/dist/index.es386.js.map +1 -1
  897. package/dist/index.es387.js +105 -18
  898. package/dist/index.es387.js.map +1 -1
  899. package/dist/index.es388.js +16 -2
  900. package/dist/index.es388.js.map +1 -1
  901. package/dist/index.es391.js +2 -2
  902. package/dist/index.es393.js +5 -5
  903. package/dist/index.es394.js +2 -2
  904. package/dist/index.es396.js +2 -2
  905. package/dist/index.es397.js +2 -2
  906. package/dist/index.es398.js +2 -2
  907. package/dist/index.es407.js +1 -1
  908. package/dist/index.es408.js +1 -1
  909. package/dist/index.es410.js +1 -1
  910. package/dist/index.es413.js +3 -3
  911. package/dist/index.es417.js +6 -6
  912. package/dist/index.es418.js +156 -7
  913. package/dist/index.es418.js.map +1 -1
  914. package/dist/index.es419.js +101 -62
  915. package/dist/index.es419.js.map +1 -1
  916. package/dist/index.es420.js +16 -54
  917. package/dist/index.es420.js.map +1 -1
  918. package/dist/index.es421.js +7 -9
  919. package/dist/index.es421.js.map +1 -1
  920. package/dist/index.es422.js +3 -14
  921. package/dist/index.es422.js.map +1 -1
  922. package/dist/index.es423.js +8 -60
  923. package/dist/index.es423.js.map +1 -1
  924. package/dist/index.es424.js +5 -155
  925. package/dist/index.es424.js.map +1 -1
  926. package/dist/index.es425.js +2 -104
  927. package/dist/index.es425.js.map +1 -1
  928. package/dist/index.es426.js +2 -17
  929. package/dist/index.es426.js.map +1 -1
  930. package/dist/index.es427.js +22 -3
  931. package/dist/index.es427.js.map +1 -1
  932. package/dist/index.es428.js +2 -6
  933. package/dist/index.es428.js.map +1 -1
  934. package/dist/index.es429.js +94 -6
  935. package/dist/index.es429.js.map +1 -1
  936. package/dist/index.es430.js +275 -2
  937. package/dist/index.es430.js.map +1 -1
  938. package/dist/index.es431.js +129 -2
  939. package/dist/index.es431.js.map +1 -1
  940. package/dist/index.es432.js +159 -87
  941. package/dist/index.es432.js.map +1 -1
  942. package/dist/index.es433.js +83 -227
  943. package/dist/index.es433.js.map +1 -1
  944. package/dist/index.es434.js +72 -73
  945. package/dist/index.es434.js.map +1 -1
  946. package/dist/index.es435.js +82 -117
  947. package/dist/index.es435.js.map +1 -1
  948. package/dist/index.es436.js +74 -77
  949. package/dist/index.es436.js.map +1 -1
  950. package/dist/index.es437.js +64 -75
  951. package/dist/index.es437.js.map +1 -1
  952. package/dist/index.es438.js +39 -55
  953. package/dist/index.es438.js.map +1 -1
  954. package/dist/index.es439.js +64 -75
  955. package/dist/index.es439.js.map +1 -1
  956. package/dist/index.es440.js +58 -58
  957. package/dist/index.es440.js.map +1 -1
  958. package/dist/index.es441.js +55 -47
  959. package/dist/index.es441.js.map +1 -1
  960. package/dist/index.es442.js +80 -66
  961. package/dist/index.es442.js.map +1 -1
  962. package/dist/index.es443.js +77 -66
  963. package/dist/index.es443.js.map +1 -1
  964. package/dist/index.es444.js +26 -118
  965. package/dist/index.es444.js.map +1 -1
  966. package/dist/index.es445.js +2 -131
  967. package/dist/index.es445.js.map +1 -1
  968. package/dist/index.es446.js +14 -121
  969. package/dist/index.es446.js.map +1 -1
  970. package/dist/index.es447.js +2 -33
  971. package/dist/index.es447.js.map +1 -1
  972. package/dist/index.es448.js +43 -2
  973. package/dist/index.es448.js.map +1 -1
  974. package/dist/index.es449.js +39 -17
  975. package/dist/index.es449.js.map +1 -1
  976. package/dist/index.es450.js +43 -2
  977. package/dist/index.es450.js.map +1 -1
  978. package/dist/index.es451.js +23 -23
  979. package/dist/index.es451.js.map +1 -1
  980. package/dist/index.es452.js +35 -35
  981. package/dist/index.es452.js.map +1 -1
  982. package/dist/index.es453.js +33 -33
  983. package/dist/index.es453.js.map +1 -1
  984. package/dist/index.es454.js +30 -30
  985. package/dist/index.es454.js.map +1 -1
  986. package/dist/index.es455.js +31 -31
  987. package/dist/index.es455.js.map +1 -1
  988. package/dist/index.es456.js +32 -31
  989. package/dist/index.es456.js.map +1 -1
  990. package/dist/index.es457.js +33 -35
  991. package/dist/index.es457.js.map +1 -1
  992. package/dist/index.es458.js +2 -43
  993. package/dist/index.es458.js.map +1 -1
  994. package/dist/index.es459.js +11 -43
  995. package/dist/index.es459.js.map +1 -1
  996. package/dist/index.es460.js +32 -39
  997. package/dist/index.es460.js.map +1 -1
  998. package/dist/index.es461.js +21 -2
  999. package/dist/index.es461.js.map +1 -1
  1000. package/dist/index.es462.js +12 -2
  1001. package/dist/index.es462.js.map +1 -1
  1002. package/dist/index.es463.js +2 -22
  1003. package/dist/index.es463.js.map +1 -1
  1004. package/dist/index.es464.js +2 -2
  1005. package/dist/index.es465.js +8 -6
  1006. package/dist/index.es465.js.map +1 -1
  1007. package/dist/index.es466.js +10 -32
  1008. package/dist/index.es466.js.map +1 -1
  1009. package/dist/index.es467.js +10 -19
  1010. package/dist/index.es467.js.map +1 -1
  1011. package/dist/index.es468.js +2 -12
  1012. package/dist/index.es468.js.map +1 -1
  1013. package/dist/index.es469.js +2 -2
  1014. package/dist/index.es470.js +65 -2
  1015. package/dist/index.es470.js.map +1 -1
  1016. package/dist/index.es471.js +55 -14
  1017. package/dist/index.es471.js.map +1 -1
  1018. package/dist/index.es472.js +9 -12
  1019. package/dist/index.es472.js.map +1 -1
  1020. package/dist/index.es473.js +14 -12
  1021. package/dist/index.es473.js.map +1 -1
  1022. package/dist/index.es474.js +60 -2
  1023. package/dist/index.es474.js.map +1 -1
  1024. package/dist/index.es481.js +146 -3
  1025. package/dist/index.es481.js.map +1 -1
  1026. package/dist/index.es482.js +2 -2
  1027. package/dist/index.es482.js.map +1 -1
  1028. package/dist/index.es483.js +2 -109
  1029. package/dist/index.es483.js.map +1 -1
  1030. package/dist/index.es484.js +3 -146
  1031. package/dist/index.es484.js.map +1 -1
  1032. package/dist/index.es485.js +118 -2
  1033. package/dist/index.es485.js.map +1 -1
  1034. package/dist/index.es486.js +9 -118
  1035. package/dist/index.es486.js.map +1 -1
  1036. package/dist/index.es487.js +13 -8
  1037. package/dist/index.es487.js.map +1 -1
  1038. package/dist/index.es488.js +108 -13
  1039. package/dist/index.es488.js.map +1 -1
  1040. package/dist/index.es489.js +2 -3
  1041. package/dist/index.es489.js.map +1 -1
  1042. package/dist/index.es490.js +2 -23
  1043. package/dist/index.es490.js.map +1 -1
  1044. package/dist/index.es491.js +2 -3
  1045. package/dist/index.es491.js.map +1 -1
  1046. package/dist/index.es492.js +2 -2
  1047. package/dist/index.es493.js +2 -151
  1048. package/dist/index.es493.js.map +1 -1
  1049. package/dist/index.es494.js +2 -2
  1050. package/dist/index.es495.js +2 -6
  1051. package/dist/index.es495.js.map +1 -1
  1052. package/dist/index.es496.js +2 -2
  1053. package/dist/index.es497.js +2 -148
  1054. package/dist/index.es497.js.map +1 -1
  1055. package/dist/index.es498.js +2 -2
  1056. package/dist/index.es499.js +2 -138
  1057. package/dist/index.es499.js.map +1 -1
  1058. package/dist/index.es501.js +2 -2
  1059. package/dist/index.es502.js +151 -2
  1060. package/dist/index.es502.js.map +1 -1
  1061. package/dist/index.es503.js +2 -2
  1062. package/dist/index.es504.js +6 -2
  1063. package/dist/index.es504.js.map +1 -1
  1064. package/dist/index.es505.js +2 -2
  1065. package/dist/index.es506.js +2 -2
  1066. package/dist/index.es507.js +225 -2
  1067. package/dist/index.es507.js.map +1 -1
  1068. package/dist/index.es508.js +134 -2
  1069. package/dist/index.es508.js.map +1 -1
  1070. package/dist/index.es509.js +129 -2
  1071. package/dist/index.es509.js.map +1 -1
  1072. package/dist/index.es510.js +134 -2
  1073. package/dist/index.es510.js.map +1 -1
  1074. package/dist/index.es511.js +129 -2
  1075. package/dist/index.es511.js.map +1 -1
  1076. package/dist/index.es512.js +82 -172
  1077. package/dist/index.es512.js.map +1 -1
  1078. package/dist/index.es513.js +2 -134
  1079. package/dist/index.es513.js.map +1 -1
  1080. package/dist/index.es514.js +2 -129
  1081. package/dist/index.es514.js.map +1 -1
  1082. package/dist/index.es515.js +2 -134
  1083. package/dist/index.es515.js.map +1 -1
  1084. package/dist/index.es516.js +2 -129
  1085. package/dist/index.es516.js.map +1 -1
  1086. package/dist/index.es517.js +2 -135
  1087. package/dist/index.es517.js.map +1 -1
  1088. package/dist/index.es518.js +2 -2
  1089. package/dist/index.es520.js +2 -2
  1090. package/dist/index.es521.js +2 -2
  1091. package/dist/index.es522.js +148 -2
  1092. package/dist/index.es522.js.map +1 -1
  1093. package/dist/index.es523.js +2 -2
  1094. package/dist/index.es524.js +2 -2
  1095. package/dist/index.es525.js +2 -2
  1096. package/dist/index.es526.js +131 -2
  1097. package/dist/index.es526.js.map +1 -1
  1098. package/dist/index.es527.js +128 -2
  1099. package/dist/index.es527.js.map +1 -1
  1100. package/dist/index.es528.js +2 -2
  1101. package/dist/index.es529.js +74 -67
  1102. package/dist/index.es529.js.map +1 -1
  1103. package/dist/index.es530.js +2 -128
  1104. package/dist/index.es530.js.map +1 -1
  1105. package/dist/index.es531.js +2 -2
  1106. package/dist/index.es533.js +14 -2
  1107. package/dist/index.es533.js.map +1 -1
  1108. package/dist/index.es534.js +2 -2
  1109. package/dist/index.es535.js +2 -14
  1110. package/dist/index.es535.js.map +1 -1
  1111. package/dist/index.es536.js +2 -2
  1112. package/dist/index.es537.js +2 -2
  1113. package/dist/index.es538.js +4 -2
  1114. package/dist/index.es538.js.map +1 -1
  1115. package/dist/index.es539.js +23 -2
  1116. package/dist/index.es539.js.map +1 -1
  1117. package/dist/index.es54.js +1 -1
  1118. package/dist/index.es544.js +2 -23
  1119. package/dist/index.es544.js.map +1 -1
  1120. package/dist/index.es545.js +2 -13
  1121. package/dist/index.es545.js.map +1 -1
  1122. package/dist/index.es546.js +2 -28
  1123. package/dist/index.es546.js.map +1 -1
  1124. package/dist/index.es547.js +2 -5
  1125. package/dist/index.es547.js.map +1 -1
  1126. package/dist/index.es548.js +2 -2
  1127. package/dist/index.es549.js +2 -30
  1128. package/dist/index.es549.js.map +1 -1
  1129. package/dist/index.es55.js +1 -1
  1130. package/dist/index.es551.js +30 -2
  1131. package/dist/index.es551.js.map +1 -1
  1132. package/dist/index.es552.js +2 -2
  1133. package/dist/index.es553.js +2 -2
  1134. package/dist/index.es554.js +2 -2
  1135. package/dist/index.es555.js +2 -2
  1136. package/dist/index.es556.js +2 -2
  1137. package/dist/index.es557.js +23 -2
  1138. package/dist/index.es557.js.map +1 -1
  1139. package/dist/index.es558.js +13 -2
  1140. package/dist/index.es558.js.map +1 -1
  1141. package/dist/index.es559.js +28 -2
  1142. package/dist/index.es559.js.map +1 -1
  1143. package/dist/index.es56.js +2 -2
  1144. package/dist/index.es560.js +5 -2
  1145. package/dist/index.es560.js.map +1 -1
  1146. package/dist/index.es58.js +2 -2
  1147. package/dist/index.es59.js +2 -2
  1148. package/dist/index.es60.js +2 -2
  1149. package/dist/index.es62.js +1 -1
  1150. package/dist/index.es63.js +2 -2
  1151. package/dist/index.es64.js +2 -2
  1152. package/dist/index.es66.js +1 -1
  1153. package/dist/index.es67.js +1 -1
  1154. package/dist/index.es68.js +1 -1
  1155. package/dist/index.es72.js +2 -2
  1156. package/dist/index.es73.js +3 -3
  1157. package/dist/index.es74.js +1 -1
  1158. package/dist/index.es76.js +1 -1
  1159. package/dist/index.es77.js +1 -1
  1160. package/dist/index.es79.js +1 -1
  1161. package/dist/index.es81.js +1 -1
  1162. package/dist/index.es82.js +1 -1
  1163. package/dist/index.es83.js +1 -1
  1164. package/dist/index.es84.js +8 -8
  1165. package/dist/index.es85.js +14 -14
  1166. package/dist/index.es86.js +1 -1
  1167. package/dist/index.es87.js +1 -1
  1168. package/dist/index.es88.js +2 -2
  1169. package/dist/index.es90.js +1 -1
  1170. package/dist/index.es91.js +1 -1
  1171. package/dist/index.es94.js +3 -3
  1172. package/dist/index.es95.js +1 -1
  1173. package/dist/index.es96.js +1 -1
  1174. package/dist/index.es97.js +3 -3
  1175. package/dist/index.es98.js +1 -1
  1176. package/dist/index.es99.js +1 -1
  1177. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs487.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/typeof.js"],"sourcesContent":["export default function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}"],"names":["_typeof","o"],"mappings":"aAAA,SAAwBA,EAAQC,EAAG,CACjC,0BAEO,OAAAD,EAAwB,OAAO,QAArB,YAA2C,OAAO,OAAO,UAA1B,SAAqC,SAAUC,EAAG,CAChG,OAAO,OAAOA,CAChB,EAAI,SAAUA,EAAG,CACRA,OAAAA,GAAmB,OAAO,QAArB,YAA+BA,EAAE,cAAgB,QAAUA,IAAM,OAAO,UAAY,SAAW,OAAOA,CAAA,EACjHD,EAAQC,CAAC,CACd","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs487.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}"],"names":["toPrimitive","t","r","_typeof","e","i"],"mappings":"kDACwB,SAAAA,EAAYC,EAAGC,EAAG,CACxC,GAAgBC,EAAQF,CAAC,GAArB,UAA0B,CAACA,EAAU,OAAAA,EACrC,IAAAG,EAAIH,EAAE,OAAO,WAAW,EAC5B,GAAeG,IAAX,OAAc,CAChB,IAAIC,EAAID,EAAE,KAAKH,EAAGC,GAAK,SAAS,EAC5B,GAAYC,EAAQE,CAAC,GAArB,SAA+B,OAAAA,EAC7B,MAAA,IAAI,UAAU,8CAA8C,CACpE,CACA,OAAqBH,IAAb,SAAiB,OAAS,QAAQD,CAAC,CAC7C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs487.js");function u(r,e){if(o(r)!="object"||!r)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var t=i.call(r,e||"default");if(o(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=39,I=34,A=92,U=47,C=10,i=32,f=12,E=9,u=13,Q=91,z=93,K=40,y=41,F=123,M=125,W=59,Y=42,j=58,q=64,S=/[\t\n\f\r "#'()/;[\\\]{}]/g,O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,G=/.[\r\n"'(/\\]/,P=/[\da-f]/i;var X=function(w,m={}){let c=w.css.valueOf(),g=m.ignoreErrors,o,e,x,k,d,r,a,L,n,s,N=c.length,t=0,b=[],h=[];function D(){return t}function _(l){throw w.error("Unclosed "+l,t)}function B(){return h.length===0&&t>=N}function H(l){if(h.length)return h.pop();if(t>=N)return;let R=l?l.ignoreUnclosed:!1;switch(o=c.charCodeAt(t),o){case C:case i:case E:case u:case f:{e=t;do e+=1,o=c.charCodeAt(e);while(o===i||o===C||o===E||o===u||o===f);s=["space",c.slice(t,e)],t=e-1;break}case Q:case z:case F:case M:case j:case W:case y:{let T=String.fromCharCode(o);s=[T,T,t];break}case K:{if(L=b.length?b.pop()[1]:"",n=c.charCodeAt(t+1),L==="url"&&n!==p&&n!==I&&n!==i&&n!==C&&n!==E&&n!==f&&n!==u){e=t;do{if(r=!1,e=c.indexOf(")",e+1),e===-1)if(g||R){e=t;break}else _("bracket");for(a=e;c.charCodeAt(a-1)===A;)a-=1,r=!r}while(r);s=["brackets",c.slice(t,e+1),t,e],t=e}else e=c.indexOf(")",t+1),k=c.slice(t,e+1),e===-1||G.test(k)?s=["(","(",t]:(s=["brackets",k,t,e],t=e);break}case p:case I:{x=o===p?"'":'"',e=t;do{if(r=!1,e=c.indexOf(x,e+1),e===-1)if(g||R){e=t+1;break}else _("string");for(a=e;c.charCodeAt(a-1)===A;)a-=1,r=!r}while(r);s=["string",c.slice(t,e+1),t,e],t=e;break}case q:{S.lastIndex=t+1,S.test(c),S.lastIndex===0?e=c.length-1:e=S.lastIndex-2,s=["at-word",c.slice(t,e+1),t,e],t=e;break}case A:{for(e=t,d=!0;c.charCodeAt(e+1)===A;)e+=1,d=!d;if(o=c.charCodeAt(e+1),d&&o!==U&&o!==i&&o!==C&&o!==E&&o!==u&&o!==f&&(e+=1,P.test(c.charAt(e)))){for(;P.test(c.charAt(e+1));)e+=1;c.charCodeAt(e+1)===i&&(e+=1)}s=["word",c.slice(t,e+1),t,e],t=e;break}default:{o===U&&c.charCodeAt(t+1)===Y?(e=c.indexOf("*/",t+2)+1,e===0&&(g||R?e=c.length:_("comment")),s=["comment",c.slice(t,e+1),t,e],t=e):(O.lastIndex=t+1,O.test(c),O.lastIndex===0?e=c.length-1:e=O.lastIndex-2,s=["word",c.slice(t,e+1),t,e],b.push(s),t=e);break}}return t++,s}function v(l){h.push(l)}return{back:v,endOfFile:B,nextToken:H,position:D}};exports.tokenize=X;
2
2
  //# sourceMappingURL=index.cjs488.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs488.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}"],"names":["toPrimitive","t","r","_typeof","e","i"],"mappings":"kDACwB,SAAAA,EAAYC,EAAGC,EAAG,CACxC,GAAgBC,EAAQF,CAAC,GAArB,UAA0B,CAACA,EAAU,OAAAA,EACrC,IAAAG,EAAIH,EAAE,OAAO,WAAW,EAC5B,GAAeG,IAAX,OAAc,CAChB,IAAIC,EAAID,EAAE,KAAKH,EAAGC,GAAK,SAAS,EAC5B,GAAYC,EAAQE,CAAC,GAArB,SAA+B,OAAAA,EAC7B,MAAA,IAAI,UAAU,8CAA8C,CACpE,CACA,OAAqBH,IAAb,SAAiB,OAAS,QAAQD,CAAC,CAC7C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs488.js","sources":["../../../node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js"],"sourcesContent":["'use strict'\n\nconst SINGLE_QUOTE = \"'\".charCodeAt(0)\nconst DOUBLE_QUOTE = '\"'.charCodeAt(0)\nconst BACKSLASH = '\\\\'.charCodeAt(0)\nconst SLASH = '/'.charCodeAt(0)\nconst NEWLINE = '\\n'.charCodeAt(0)\nconst SPACE = ' '.charCodeAt(0)\nconst FEED = '\\f'.charCodeAt(0)\nconst TAB = '\\t'.charCodeAt(0)\nconst CR = '\\r'.charCodeAt(0)\nconst OPEN_SQUARE = '['.charCodeAt(0)\nconst CLOSE_SQUARE = ']'.charCodeAt(0)\nconst OPEN_PARENTHESES = '('.charCodeAt(0)\nconst CLOSE_PARENTHESES = ')'.charCodeAt(0)\nconst OPEN_CURLY = '{'.charCodeAt(0)\nconst CLOSE_CURLY = '}'.charCodeAt(0)\nconst SEMICOLON = ';'.charCodeAt(0)\nconst ASTERISK = '*'.charCodeAt(0)\nconst COLON = ':'.charCodeAt(0)\nconst AT = '@'.charCodeAt(0)\n\nconst RE_AT_END = /[\\t\\n\\f\\r \"#'()/;[\\\\\\]{}]/g\nconst RE_WORD_END = /[\\t\\n\\f\\r !\"#'():;@[\\\\\\]{}]|\\/(?=\\*)/g\nconst RE_BAD_BRACKET = /.[\\r\\n\"'(/\\\\]/\nconst RE_HEX_ESCAPE = /[\\da-f]/i\n\nmodule.exports = function tokenizer(input, options = {}) {\n let css = input.css.valueOf()\n let ignore = options.ignoreErrors\n\n let code, next, quote, content, escape\n let escaped, escapePos, prev, n, currentToken\n\n let length = css.length\n let pos = 0\n let buffer = []\n let returned = []\n\n function position() {\n return pos\n }\n\n function unclosed(what) {\n throw input.error('Unclosed ' + what, pos)\n }\n\n function endOfFile() {\n return returned.length === 0 && pos >= length\n }\n\n function nextToken(opts) {\n if (returned.length) return returned.pop()\n if (pos >= length) return\n\n let ignoreUnclosed = opts ? opts.ignoreUnclosed : false\n\n code = css.charCodeAt(pos)\n\n switch (code) {\n case NEWLINE:\n case SPACE:\n case TAB:\n case CR:\n case FEED: {\n next = pos\n do {\n next += 1\n code = css.charCodeAt(next)\n } while (\n code === SPACE ||\n code === NEWLINE ||\n code === TAB ||\n code === CR ||\n code === FEED\n )\n\n currentToken = ['space', css.slice(pos, next)]\n pos = next - 1\n break\n }\n\n case OPEN_SQUARE:\n case CLOSE_SQUARE:\n case OPEN_CURLY:\n case CLOSE_CURLY:\n case COLON:\n case SEMICOLON:\n case CLOSE_PARENTHESES: {\n let controlChar = String.fromCharCode(code)\n currentToken = [controlChar, controlChar, pos]\n break\n }\n\n case OPEN_PARENTHESES: {\n prev = buffer.length ? buffer.pop()[1] : ''\n n = css.charCodeAt(pos + 1)\n if (\n prev === 'url' &&\n n !== SINGLE_QUOTE &&\n n !== DOUBLE_QUOTE &&\n n !== SPACE &&\n n !== NEWLINE &&\n n !== TAB &&\n n !== FEED &&\n n !== CR\n ) {\n next = pos\n do {\n escaped = false\n next = css.indexOf(')', next + 1)\n if (next === -1) {\n if (ignore || ignoreUnclosed) {\n next = pos\n break\n } else {\n unclosed('bracket')\n }\n }\n escapePos = next\n while (css.charCodeAt(escapePos - 1) === BACKSLASH) {\n escapePos -= 1\n escaped = !escaped\n }\n } while (escaped)\n\n currentToken = ['brackets', css.slice(pos, next + 1), pos, next]\n\n pos = next\n } else {\n next = css.indexOf(')', pos + 1)\n content = css.slice(pos, next + 1)\n\n if (next === -1 || RE_BAD_BRACKET.test(content)) {\n currentToken = ['(', '(', pos]\n } else {\n currentToken = ['brackets', content, pos, next]\n pos = next\n }\n }\n\n break\n }\n\n case SINGLE_QUOTE:\n case DOUBLE_QUOTE: {\n quote = code === SINGLE_QUOTE ? \"'\" : '\"'\n next = pos\n do {\n escaped = false\n next = css.indexOf(quote, next + 1)\n if (next === -1) {\n if (ignore || ignoreUnclosed) {\n next = pos + 1\n break\n } else {\n unclosed('string')\n }\n }\n escapePos = next\n while (css.charCodeAt(escapePos - 1) === BACKSLASH) {\n escapePos -= 1\n escaped = !escaped\n }\n } while (escaped)\n\n currentToken = ['string', css.slice(pos, next + 1), pos, next]\n pos = next\n break\n }\n\n case AT: {\n RE_AT_END.lastIndex = pos + 1\n RE_AT_END.test(css)\n if (RE_AT_END.lastIndex === 0) {\n next = css.length - 1\n } else {\n next = RE_AT_END.lastIndex - 2\n }\n\n currentToken = ['at-word', css.slice(pos, next + 1), pos, next]\n\n pos = next\n break\n }\n\n case BACKSLASH: {\n next = pos\n escape = true\n while (css.charCodeAt(next + 1) === BACKSLASH) {\n next += 1\n escape = !escape\n }\n code = css.charCodeAt(next + 1)\n if (\n escape &&\n code !== SLASH &&\n code !== SPACE &&\n code !== NEWLINE &&\n code !== TAB &&\n code !== CR &&\n code !== FEED\n ) {\n next += 1\n if (RE_HEX_ESCAPE.test(css.charAt(next))) {\n while (RE_HEX_ESCAPE.test(css.charAt(next + 1))) {\n next += 1\n }\n if (css.charCodeAt(next + 1) === SPACE) {\n next += 1\n }\n }\n }\n\n currentToken = ['word', css.slice(pos, next + 1), pos, next]\n\n pos = next\n break\n }\n\n default: {\n if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) {\n next = css.indexOf('*/', pos + 2) + 1\n if (next === 0) {\n if (ignore || ignoreUnclosed) {\n next = css.length\n } else {\n unclosed('comment')\n }\n }\n\n currentToken = ['comment', css.slice(pos, next + 1), pos, next]\n pos = next\n } else {\n RE_WORD_END.lastIndex = pos + 1\n RE_WORD_END.test(css)\n if (RE_WORD_END.lastIndex === 0) {\n next = css.length - 1\n } else {\n next = RE_WORD_END.lastIndex - 2\n }\n\n currentToken = ['word', css.slice(pos, next + 1), pos, next]\n buffer.push(currentToken)\n pos = next\n }\n\n break\n }\n }\n\n pos++\n return currentToken\n }\n\n function back(token) {\n returned.push(token)\n }\n\n return {\n back,\n endOfFile,\n nextToken,\n position\n }\n}\n"],"names":["SINGLE_QUOTE","DOUBLE_QUOTE","BACKSLASH","SLASH","NEWLINE","SPACE","FEED","TAB","CR","OPEN_SQUARE","CLOSE_SQUARE","OPEN_PARENTHESES","CLOSE_PARENTHESES","OPEN_CURLY","CLOSE_CURLY","SEMICOLON","ASTERISK","COLON","AT","RE_AT_END","RE_WORD_END","RE_BAD_BRACKET","RE_HEX_ESCAPE","tokenize","input","options","css","ignore","code","next","quote","content","escape","escaped","escapePos","prev","currentToken","length","pos","buffer","returned","position","unclosed","what","endOfFile","nextToken","opts","ignoreUnclosed","controlChar","back","token"],"mappings":"gFAEA,MAAMA,EAAe,GACfC,EAAe,GACfC,EAAY,GACZC,EAAQ,GACRC,EAAU,GACVC,EAAQ,GACRC,EAAO,GACPC,EAAM,EACNC,EAAK,GACLC,EAAc,GACdC,EAAe,GACfC,EAAmB,GACnBC,EAAoB,GACpBC,EAAa,IACbC,EAAc,IACdC,EAAY,GACZC,EAAW,GACXC,EAAQ,GACRC,EAAK,GAELC,EAAY,6BACZC,EAAc,wCACdC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B,EAAA,CAAC,OAAQV,EAAI,MAAMY,EAAKT,EAAO,CAAC,EAAGS,EAAKT,CAAI,EAC3DU,EAAO,KAAKH,CAAY,EAClBE,EAAAT,GAGR,KACF,CACF,CAEA,OAAAS,IACOF,CACT,CAEA,SAASa,EAAKC,EAAO,CACnBV,EAAS,KAAKU,CAAK,CACrB,CAEO,MAAA,CACL,KAAAD,EACA,UAAAL,EACA,UAAAC,EACA,SAAAJ,CAAA,CAEJ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t,n){return typeof t=="function"?t(n):t&&(t.current=n),t}exports.assignRef=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(){}exports.noop=o;
2
2
  //# sourceMappingURL=index.cjs489.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs489.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"gFAagB,SAAAA,EAAUC,EAAKC,EAAO,CAC9B,OAAA,OAAOD,GAAQ,WACfA,EAAIC,CAAK,EAEJD,IACLA,EAAI,QAAUC,GAEXD,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs489.js","sources":["../../../node_modules/instantsearch.js/es/lib/utils/noop.js"],"sourcesContent":["export function noop() {}"],"names":["noop"],"mappings":"gFAAO,SAASA,GAAO,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function l(u,t){var e=c.useState(function(){return{value:u,callback:t,facade:{get current(){return e.value},set current(r){var a=e.value;a!==r&&(e.value=r,e.callback(r,a))}}}})[0];return e.callback=t,e.facade}exports.useCallbackRef=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
2
2
  //# sourceMappingURL=index.cjs490.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs490.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":"yGAegB,SAAAA,EAAeC,EAAcC,EAAU,CAC/C,IAAAC,EAAMC,EAAAA,SAAS,UAAY,CAAU,MAAA,CAErC,MAAOH,EAEP,SAAAC,EAEA,OAAQ,CACJ,IAAI,SAAU,CACV,OAAOC,EAAI,KACf,EACA,IAAI,QAAQE,EAAO,CACf,IAAIC,EAAOH,EAAI,MACXG,IAASD,IACTF,EAAI,MAAQE,EACRF,EAAA,SAASE,EAAOC,CAAI,EAEhC,CACJ,CAAA,CACJ,CAAK,EAAE,CAAC,EAER,OAAAH,EAAI,SAAWD,EACRC,EAAI,MACf","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs490.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(){}exports.noop=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
2
2
  //# sourceMappingURL=index.cjs491.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs491.js","sources":["../../../node_modules/instantsearch.js/es/lib/utils/noop.js"],"sourcesContent":["export function noop() {}"],"names":["noop"],"mappings":"gFAAO,SAASA,GAAO,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs491.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
2
2
  //# sourceMappingURL=index.cjs492.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs154.js"),w=require("./index.cjs548.js");var T;function N(){return T||(T=1,function(L){(function(g,i){L.exports?L.exports=i():g.log=i()})(q.commonjsGlobal,function(){var g=function(){},i="undefined",_=typeof window!==i&&typeof window.navigator!==i&&/Trident\/|MSIE /.test(window.navigator.userAgent),p=["trace","debug","info","warn","error"],c={},l=null;function h(o,n){var e=o[n];if(typeof e.bind=="function")return e.bind(o);try{return Function.prototype.bind.call(e,o)}catch{return function(){return Function.prototype.apply.apply(e,[o,arguments])}}}function C(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function R(o){return o==="debug"&&(o="log"),typeof console===i?!1:o==="trace"&&_?C:console[o]!==void 0?h(console,o):console.log!==void 0?h(console,"log"):g}function f(){for(var o=this.getLevel(),n=0;n<p.length;n++){var e=p[n];this[e]=n<o?g:this.methodFactory(e,o,this.name)}if(this.log=this.debug,typeof console===i&&o<this.levels.SILENT)return"No console available for logging"}function S(o){return function(){typeof console!==i&&(f.call(this),this[o].apply(this,arguments))}}function F(o,n,e){return R(o)||S.apply(this,arguments)}function b(o,n){var e=this,v,y,u,s="loglevel";typeof o=="string"?s+=":"+o:typeof o=="symbol"&&(s=void 0);function U(t){var r=(p[t]||"silent").toUpperCase();if(!(typeof window===i||!s)){try{window.localStorage[s]=r;return}catch{}try{window.document.cookie=encodeURIComponent(s)+"="+r+";"}catch{}}}function m(){var t;if(!(typeof window===i||!s)){try{t=window.localStorage[s]}catch{}if(typeof t===i)try{var r=window.document.cookie,d=encodeURIComponent(s),I=r.indexOf(d+"=");I!==-1&&(t=/^([^;]+)/.exec(r.slice(I+d.length+1))[1])}catch{}return e.levels[t]===void 0&&(t=void 0),t}}function x(){if(!(typeof window===i||!s)){try{window.localStorage.removeItem(s)}catch{}try{window.document.cookie=encodeURIComponent(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function a(t){var r=t;if(typeof r=="string"&&e.levels[r.toUpperCase()]!==void 0&&(r=e.levels[r.toUpperCase()]),typeof r=="number"&&r>=0&&r<=e.levels.SILENT)return r;throw new TypeError("log.setLevel() called with invalid level: "+t)}e.name=o,e.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},e.methodFactory=n||F,e.getLevel=function(){return u??y??v},e.setLevel=function(t,r){return u=a(t),r!==!1&&U(u),f.call(e)},e.setDefaultLevel=function(t){y=a(t),m()||e.setLevel(t,!1)},e.resetLevel=function(){u=null,x(),f.call(e)},e.enableAll=function(t){e.setLevel(e.levels.TRACE,t)},e.disableAll=function(t){e.setLevel(e.levels.SILENT,t)},e.rebuild=function(){if(l!==e&&(v=a(l.getLevel())),f.call(e),l===e)for(var t in c)c[t].rebuild()},v=a(l?l.getLevel():"WARN");var E=m();E!=null&&(u=a(E)),f.call(e)}l=new b,l.getLogger=function(n){if(typeof n!="symbol"&&typeof n!="string"||n==="")throw new TypeError("You must supply a name when creating a logger.");var e=c[n];return e||(e=c[n]=new b(n,l.methodFactory)),e};var A=typeof window!==i?window.log:void 0;return l.noConflict=function(){return typeof window!==i&&window.log===l&&(window.log=A),l},l.getLoggers=function(){return c},l.default=l,l})}(w.__module)),w.__module.exports}exports.__require=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs493.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs493.js","sources":["../../../node_modules/loglevel/lib/loglevel.js"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n var _loggersByName = {};\n var defaultLogger = null;\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods() {\n /*jshint validthis:true */\n var level = this.getLevel();\n\n // Replace the actual methods.\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, this.name);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n\n // Return any important warnings.\n if (typeof console === undefinedType && level < this.levels.SILENT) {\n return \"No console available for logging\";\n }\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, _level, _loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, factory) {\n // Private instance variables.\n var self = this;\n /**\n * The level inherited from a parent logger (or a global default). We\n * cache this here rather than delegating to the parent so that it stays\n * in sync with the actual logging methods that we have installed (the\n * parent could change levels but we might not have rebuilt the loggers\n * in this child yet).\n * @type {number}\n */\n var inheritedLevel;\n /**\n * The default level for this logger, if any. If set, this overrides\n * `inheritedLevel`.\n * @type {number|null}\n */\n var defaultLevel;\n /**\n * A user-specific level for this logger. If set, this overrides\n * `defaultLevel`.\n * @type {number|null}\n */\n var userLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var cookieName = encodeURIComponent(storageKey);\n var location = cookie.indexOf(cookieName + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(\n cookie.slice(location + cookieName.length + 1)\n )[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n function normalizeLevel(input) {\n var level = input;\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n return level;\n } else {\n throw new TypeError(\"log.setLevel() called with invalid level: \" + input);\n }\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n if (userLevel != null) {\n return userLevel;\n } else if (defaultLevel != null) {\n return defaultLevel;\n } else {\n return inheritedLevel;\n }\n };\n\n self.setLevel = function (level, persist) {\n userLevel = normalizeLevel(level);\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(userLevel);\n }\n\n // NOTE: in v2, this should call rebuild(), which updates children.\n return replaceLoggingMethods.call(self);\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = normalizeLevel(level);\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n userLevel = null;\n clearPersistedLevel();\n replaceLoggingMethods.call(self);\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n self.rebuild = function () {\n if (defaultLogger !== self) {\n inheritedLevel = normalizeLevel(defaultLogger.getLevel());\n }\n replaceLoggingMethods.call(self);\n\n if (defaultLogger === self) {\n for (var childName in _loggersByName) {\n _loggersByName[childName].rebuild();\n }\n }\n };\n\n // Initialize all the internal levels.\n inheritedLevel = normalizeLevel(\n defaultLogger ? defaultLogger.getLevel() : \"WARN\"\n );\n var initialLevel = getPersistedLevel();\n if (initialLevel != null) {\n userLevel = normalizeLevel(initialLevel);\n }\n replaceLoggingMethods.call(self);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n defaultLogger = new Logger();\n\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name,\n defaultLogger.methodFactory\n );\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n"],"names":["root","definition","module","this","noop","undefinedType","isIE","logMethods","_loggersByName","defaultLogger","bindMethod","obj","methodName","method","traceForIE","realMethod","replaceLoggingMethods","level","i","enableLoggingWhenConsoleArrives","defaultMethodFactory","_level","_loggerName","Logger","name","factory","self","inheritedLevel","defaultLevel","userLevel","storageKey","persistLevelIfPossible","levelNum","levelName","getPersistedLevel","storedLevel","cookie","cookieName","location","clearPersistedLevel","normalizeLevel","input","persist","childName","initialLevel","logger","_log"],"mappings":"mMAMC,SAAUA,EAAMC,EAAY,CAIgBC,EAAO,QAC5CA,EAAA,QAAiBD,IAEjBD,EAAK,IAAMC,GAEnB,GAAEE,iBAAM,UAAY,CAIhB,IAAIC,EAAO,UAAW,CAAA,EAClBC,EAAgB,YAChBC,EAAQ,OAAO,SAAWD,GAAmB,OAAO,OAAO,YAAcA,GACzE,kBAAkB,KAAK,OAAO,UAAU,SAAS,EAGjDE,EAAa,CACb,QACA,QACA,OACA,OACA,OAAA,EAGAC,EAAiB,CAAA,EACjBC,EAAgB,KAGX,SAAAC,EAAWC,EAAKC,EAAY,CAC7B,IAAAC,EAASF,EAAIC,CAAU,EACvB,GAAA,OAAOC,EAAO,MAAS,WAChB,OAAAA,EAAO,KAAKF,CAAG,EAElB,GA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,EAGpE,IAAAqB,EAASrC,EAAegB,CAAI,EAChC,OAAKqB,IACQA,EAAArC,EAAegB,CAAI,EAAI,IAAID,EAChCC,EACAf,EAAc,aAAA,GAGfoC,CAAA,EAIX,IAAIC,EAAQ,OAAO,SAAWzC,EAAiB,OAAO,IAAM,OAC5D,OAAAI,EAAc,WAAa,UAAW,CAClC,OAAI,OAAO,SAAWJ,GACf,OAAO,MAAQI,IAClB,OAAO,IAAMqC,GAGVrC,CAAA,EAGGA,EAAA,WAAa,UAAsB,CACtC,OAAAD,CAAA,EAIXC,EAAc,QAAaA,EAEpBA,CACX,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs493.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs549.js");var e,r;function u(){return r||(r=1,e=i.__require()),e}exports.__require=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs495.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs495.js","sources":["../../../node_modules/axios/index.js"],"sourcesContent":["module.exports = require('./lib/axios');"],"names":["axios","require$$0"],"mappings":"yJAAAA,EAAiBC,EAAqB,UAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs495.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs154.js"),C=require("./index.cjs551.js");var S;function z(){if(S)return C.__exports;S=1;var g=f.commonjsGlobal&&f.commonjsGlobal.__awaiter||function(c,o,t,n){function a(e){return e instanceof t?e:new t(function(i){i(e)})}return new(t||(t=Promise))(function(e,i){function l(r){try{s(n.next(r))}catch(h){i(h)}}function u(r){try{s(n.throw(r))}catch(h){i(h)}}function s(r){r.done?e(r.value):a(r.value).then(l,u)}s((n=n.apply(c,o||[])).next())})},R=f.commonjsGlobal&&f.commonjsGlobal.__generator||function(c,o){var t={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},n,a,e,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(s){return function(r){return u([s,r])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(e=s[0]&2?a.return:s[0]?a.throw||((e=a.return)&&e.call(a),0):a.next)&&!(e=e.call(a,s[1])).done)return e;switch(a=0,e&&(s=[s[0]&2,e.value]),s[0]){case 0:case 1:e=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,a=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(e=t.trys,!(e=e.length>0&&e[e.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!e||s[1]>e[0]&&s[1]<e[3])){t.label=s[1];break}if(s[0]===6&&t.label<e[1]){t.label=e[1],e=s;break}if(e&&t.label<e[2]){t.label=e[2],t.ops.push(s);break}e[2]&&t.ops.pop(),t.trys.pop();continue}s=o.call(c,t)}catch(r){s=[6,r],a=0}finally{n=e=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},v=f.commonjsGlobal&&f.commonjsGlobal.__spreadArray||function(c,o,t){if(t||arguments.length===2)for(var n=0,a=o.length,e;n<a;n++)(e||!(n in o))&&(e||(e=Array.prototype.slice.call(o,0,n)),e[n]=o[n]);return c.concat(e||Array.prototype.slice.call(o))};Object.defineProperty(C.__exports,"__esModule",{value:!0});var j=2*60,q=100,M=function(){function c(){this.responseCache=new Map,this.responsePromiseCache=new Map}return c.prototype.clearCache=function(){this.responseCache=new Map,this.responsePromiseCache=new Map},c.prototype.perform=function(o,t,n,a){return g(this,void 0,void 0,function(){var e,i,l,u,s,r,h,p,d,m,d,b,_,w,y,x,y;return R(this,function(P){switch(P.label){case 0:if(e=a.cacheResponseForSeconds,i=e===void 0?j:e,l=a.maxSize,u=l===void 0?q:l,s=i<=0||u<=0,s)return[2,t.call.apply(t,v([o],n,!1))];if(r=JSON.stringify(n),h=this.responseCache.get(r),p=Date.now(),h){if(d=p-h.requestTimestamp<i*1e3,d)return this.responseCache.delete(r),this.responseCache.set(r,h),[2,Promise.resolve(h.response)];this.responseCache.delete(r)}if(m=this.responsePromiseCache.get(r),m){if(d=p-m.requestTimestamp<i*1e3,d)return this.responsePromiseCache.delete(r),this.responsePromiseCache.set(r,m),[2,m.responsePromise];this.responsePromiseCache.delete(r)}return b=t.call.apply(t,v([o],n,!1)),this.responsePromiseCache.set(r,{requestTimestamp:p,responsePromise:b}),[4,b];case 1:return _=P.sent(),this.responseCache.set(r,{requestTimestamp:p,response:_}),w=this.responseCache.size>u,w&&(y=this.responseCache.keys().next().value,this.responseCache.delete(y)),x=this.responsePromiseCache.size>u,x&&(y=this.responsePromiseCache.keys().next().value,this.responsePromiseCache.delete(y)),[2,_]}})})},c}();return C.__exports.default=M,C.__exports}exports.__require=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs497.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs497.js","sources":["../../../node_modules/typesense/lib/Typesense/RequestWithCache.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar defaultCacheResponseForSeconds = 2 * 60;\nvar defaultMaxSize = 100;\nvar RequestWithCache = /** @class */ (function () {\n function RequestWithCache() {\n this.responseCache = new Map();\n this.responsePromiseCache = new Map();\n }\n RequestWithCache.prototype.clearCache = function () {\n this.responseCache = new Map();\n this.responsePromiseCache = new Map();\n };\n // Todo: should probably be passed a callback instead, or an apiCall instance. Types are messy this way\n RequestWithCache.prototype.perform = function (requestContext, requestFunction, requestFunctionArguments, cacheOptions) {\n return __awaiter(this, void 0, void 0, function () {\n var _a, cacheResponseForSeconds, _b, maxSize, isCacheDisabled, requestFunctionArgumentsJSON, cacheEntry, now, isEntryValid, cachePromiseEntry, isEntryValid, responsePromise, response, isCacheOverMaxSize, oldestEntry, isResponsePromiseCacheOverMaxSize, oldestEntry;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n _a = cacheOptions.cacheResponseForSeconds, cacheResponseForSeconds = _a === void 0 ? defaultCacheResponseForSeconds : _a, _b = cacheOptions.maxSize, maxSize = _b === void 0 ? defaultMaxSize : _b;\n isCacheDisabled = cacheResponseForSeconds <= 0 || maxSize <= 0;\n if (isCacheDisabled) {\n return [2 /*return*/, requestFunction.call.apply(requestFunction, __spreadArray([requestContext], requestFunctionArguments, false))];\n }\n requestFunctionArgumentsJSON = JSON.stringify(requestFunctionArguments);\n cacheEntry = this.responseCache.get(requestFunctionArgumentsJSON);\n now = Date.now();\n if (cacheEntry) {\n isEntryValid = now - cacheEntry.requestTimestamp < cacheResponseForSeconds * 1000;\n if (isEntryValid) {\n this.responseCache.delete(requestFunctionArgumentsJSON);\n this.responseCache.set(requestFunctionArgumentsJSON, cacheEntry);\n return [2 /*return*/, Promise.resolve(cacheEntry.response)];\n }\n else {\n this.responseCache.delete(requestFunctionArgumentsJSON);\n }\n }\n cachePromiseEntry = this.responsePromiseCache.get(requestFunctionArgumentsJSON);\n if (cachePromiseEntry) {\n isEntryValid = now - cachePromiseEntry.requestTimestamp <\n cacheResponseForSeconds * 1000;\n if (isEntryValid) {\n this.responsePromiseCache.delete(requestFunctionArgumentsJSON);\n this.responsePromiseCache.set(requestFunctionArgumentsJSON, cachePromiseEntry);\n return [2 /*return*/, cachePromiseEntry.responsePromise];\n }\n else {\n this.responsePromiseCache.delete(requestFunctionArgumentsJSON);\n }\n }\n responsePromise = requestFunction.call.apply(requestFunction, __spreadArray([requestContext], requestFunctionArguments, false));\n this.responsePromiseCache.set(requestFunctionArgumentsJSON, {\n requestTimestamp: now,\n responsePromise: responsePromise,\n });\n return [4 /*yield*/, responsePromise];\n case 1:\n response = _c.sent();\n this.responseCache.set(requestFunctionArgumentsJSON, {\n requestTimestamp: now,\n response: response,\n });\n isCacheOverMaxSize = this.responseCache.size > maxSize;\n if (isCacheOverMaxSize) {\n oldestEntry = this.responseCache.keys().next().value;\n this.responseCache.delete(oldestEntry);\n }\n isResponsePromiseCacheOverMaxSize = this.responsePromiseCache.size > maxSize;\n if (isResponsePromiseCacheOverMaxSize) {\n oldestEntry = this.responsePromiseCache.keys().next().value;\n this.responsePromiseCache.delete(oldestEntry);\n }\n return [2 /*return*/, response];\n }\n });\n });\n };\n return RequestWithCache;\n}());\nexports.default = RequestWithCache;\n//# sourceMappingURL=RequestWithCache.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__spreadArray","to","from","pack","i","l","ar","RequestWithCache_1","defaultCacheResponseForSeconds","defaultMaxSize","RequestWithCache","requestContext","requestFunction","requestFunctionArguments","cacheOptions","_a","cacheResponseForSeconds","_b","maxSize","isCacheDisabled","requestFunctionArgumentsJSON","cacheEntry","now","isEntryValid","cachePromiseEntry","responsePromise","response","isCacheOverMaxSize","oldestEntry","isResponsePromiseCacheOverMaxSize","_c"],"mappings":"mMACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAA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,EAClB,SAAAI,CAAA,CACH,EACoBC,EAAA,KAAK,cAAc,KAAOT,EAC3CS,IACAC,EAAc,KAAK,cAAc,KAAK,EAAE,KAAO,EAAA,MAC1C,KAAA,cAAc,OAAOA,CAAW,GAELC,EAAA,KAAK,qBAAqB,KAAOX,EACjEW,IACAD,EAAc,KAAK,qBAAqB,KAAK,EAAE,KAAO,EAAA,MACjD,KAAA,qBAAqB,OAAOA,CAAW,GAEzC,CAAC,EAAcF,CAAQ,CACtC,CAAA,CACH,CAAA,CACJ,CAAA,EAEEhB,CAAA,EACT,EACFH,OAAAA,EAAA,UAAA,QAAkBG","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs497.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
2
2
  //# sourceMappingURL=index.cjs498.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs154.js"),f=require("./index.cjs550.js"),q=require("./index.cjs497.js"),g=require("./index.cjs434.js");var b;function w(){if(b)return f.__exports;b=1;var m=h.commonjsGlobal&&h.commonjsGlobal.__awaiter||function(c,i,n,a){function r(t){return t instanceof n?t:new n(function(u){u(t)})}return new(n||(n=Promise))(function(t,u){function s(o){try{e(a.next(o))}catch(_){u(_)}}function l(o){try{e(a.throw(o))}catch(_){u(_)}}function e(o){o.done?t(o.value):r(o.value).then(s,l)}e((a=a.apply(c,i||[])).next())})},v=h.commonjsGlobal&&h.commonjsGlobal.__generator||function(c,i){var n={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},a,r,t,u;return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(e){return function(o){return l([e,o])}}function l(e){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(t=e[0]&2?r.return:e[0]?r.throw||((t=r.return)&&t.call(r),0):r.next)&&!(t=t.call(r,e[1])).done)return t;switch(r=0,t&&(e=[e[0]&2,t.value]),e[0]){case 0:case 1:t=e;break;case 4:return n.label++,{value:e[1],done:!1};case 5:n.label++,r=e[1],e=[0];continue;case 7:e=n.ops.pop(),n.trys.pop();continue;default:if(t=n.trys,!(t=t.length>0&&t[t.length-1])&&(e[0]===6||e[0]===2)){n=0;continue}if(e[0]===3&&(!t||e[1]>t[0]&&e[1]<t[3])){n.label=e[1];break}if(e[0]===6&&n.label<t[1]){n.label=t[1],t=e;break}if(t&&n.label<t[2]){n.label=t[2],n.ops.push(e);break}t[2]&&n.ops.pop(),n.trys.pop();continue}e=i.call(c,n)}catch(o){e=[6,o],r=0}finally{a=t=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}},d=h.commonjsGlobal&&h.commonjsGlobal.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(f.__exports,"__esModule",{value:!0}),f.__exports.SearchOnlyDocuments=void 0;var S=d(q.__require()),p=d(g.__require()),y="/documents",C=function(){function c(i,n,a){this.collectionName=i,this.apiCall=n,this.configuration=a,this.requestWithCache=new S.default}return c.prototype.clearCache=function(){this.requestWithCache.clearCache()},c.prototype.search=function(i,n){var a=n===void 0?{}:n,r=a.cacheSearchResultsForSeconds,t=r===void 0?this.configuration.cacheSearchResultsForSeconds:r,u=a.abortSignal,s=u===void 0?null:u;return m(this,void 0,void 0,function(){var l,e,o;return v(this,function(_){l={},this.configuration.useServerSideSearchCache===!0&&(l.use_cache=!0);for(e in i)Array.isArray(i[e])&&(l[e]=i[e].join(","));return o=Object.assign({},i,l),[2,this.requestWithCache.perform(this.apiCall,this.apiCall.get,[this.endpointPath("search"),o,{abortSignal:s}],{cacheResponseForSeconds:t})]})})},c.prototype.endpointPath=function(i){return"".concat(p.default.RESOURCEPATH,"/").concat(this.collectionName).concat(y).concat(i===void 0?"":"/"+i)},Object.defineProperty(c,"RESOURCEPATH",{get:function(){return y},enumerable:!1,configurable:!0}),c}();return f.__exports.SearchOnlyDocuments=C,f.__exports}exports.__require=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
2
2
  //# sourceMappingURL=index.cjs499.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs499.js","sources":["../../../node_modules/typesense/lib/Typesense/SearchOnlyDocuments.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SearchOnlyDocuments = void 0;\nvar RequestWithCache_1 = __importDefault(require(\"./RequestWithCache\"));\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/documents\";\nvar SearchOnlyDocuments = /** @class */ (function () {\n function SearchOnlyDocuments(collectionName, apiCall, configuration) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n this.configuration = configuration;\n this.requestWithCache = new RequestWithCache_1.default();\n }\n SearchOnlyDocuments.prototype.clearCache = function () {\n this.requestWithCache.clearCache();\n };\n SearchOnlyDocuments.prototype.search = function (searchParameters, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.cacheSearchResultsForSeconds, cacheSearchResultsForSeconds = _c === void 0 ? this.configuration\n .cacheSearchResultsForSeconds : _c, _d = _b.abortSignal, abortSignal = _d === void 0 ? null : _d;\n return __awaiter(this, void 0, void 0, function () {\n var additionalQueryParams, key, queryParams;\n return __generator(this, function (_e) {\n additionalQueryParams = {};\n if (this.configuration.useServerSideSearchCache === true) {\n additionalQueryParams[\"use_cache\"] = true;\n }\n for (key in searchParameters) {\n if (Array.isArray(searchParameters[key])) {\n additionalQueryParams[key] = searchParameters[key].join(\",\");\n }\n }\n queryParams = Object.assign({}, searchParameters, additionalQueryParams);\n return [2 /*return*/, this.requestWithCache.perform(this.apiCall, this.apiCall.get, [this.endpointPath(\"search\"), queryParams, { abortSignal: abortSignal }], {\n cacheResponseForSeconds: cacheSearchResultsForSeconds,\n })];\n });\n });\n };\n SearchOnlyDocuments.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(SearchOnlyDocuments, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return SearchOnlyDocuments;\n}());\nexports.SearchOnlyDocuments = SearchOnlyDocuments;\n//# sourceMappingURL=SearchOnlyDocuments.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","f","y","g","verb","n","v","op","__importDefault","mod","SearchOnlyDocuments_1","RequestWithCache_1","require$$0","Collections_1","require$$1","RESOURCEPATH","SearchOnlyDocuments","collectionName","apiCall","configuration","searchParameters","_a","_b","_c","cacheSearchResultsForSeconds","_d","abortSignal","additionalQueryParams","key","queryParams","_e","operation"],"mappings":"iQACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EA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IAAK,CAAC,KAAK,aAAa,QAAQ,EAAGE,EAAa,CAAE,YAAAH,CAAA,CAA0B,EAAG,CACtJ,wBAAyBF,CAC5B,CAAA,CAAC,CAAA,CACT,CAAA,CACJ,CAAA,EAELR,EAAoB,UAAU,aAAe,SAAUe,EAAW,CAC9D,MAAO,GAAG,OAAOlB,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOE,CAAY,EAAE,OAAOgB,IAAc,OAAY,GAAK,IAAMA,CAAS,CAAA,EAE7J,OAAA,eAAef,EAAqB,eAAgB,CACvD,IAAK,UAAY,CACN,OAAAD,CACX,EACA,WAAY,GACZ,aAAc,EAAA,CACjB,EACMC,CAAA,EACT,EACFN,OAAAA,EAAA,UAAA,oBAA8BM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs499.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs500.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs501.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs154.js"),w=require("./index.cjs544.js");var T;function N(){return T||(T=1,function(L){(function(g,i){L.exports?L.exports=i():g.log=i()})(q.commonjsGlobal,function(){var g=function(){},i="undefined",_=typeof window!==i&&typeof window.navigator!==i&&/Trident\/|MSIE /.test(window.navigator.userAgent),p=["trace","debug","info","warn","error"],c={},l=null;function h(o,n){var e=o[n];if(typeof e.bind=="function")return e.bind(o);try{return Function.prototype.bind.call(e,o)}catch{return function(){return Function.prototype.apply.apply(e,[o,arguments])}}}function C(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function R(o){return o==="debug"&&(o="log"),typeof console===i?!1:o==="trace"&&_?C:console[o]!==void 0?h(console,o):console.log!==void 0?h(console,"log"):g}function f(){for(var o=this.getLevel(),n=0;n<p.length;n++){var e=p[n];this[e]=n<o?g:this.methodFactory(e,o,this.name)}if(this.log=this.debug,typeof console===i&&o<this.levels.SILENT)return"No console available for logging"}function S(o){return function(){typeof console!==i&&(f.call(this),this[o].apply(this,arguments))}}function F(o,n,e){return R(o)||S.apply(this,arguments)}function b(o,n){var e=this,v,y,u,s="loglevel";typeof o=="string"?s+=":"+o:typeof o=="symbol"&&(s=void 0);function U(t){var r=(p[t]||"silent").toUpperCase();if(!(typeof window===i||!s)){try{window.localStorage[s]=r;return}catch{}try{window.document.cookie=encodeURIComponent(s)+"="+r+";"}catch{}}}function m(){var t;if(!(typeof window===i||!s)){try{t=window.localStorage[s]}catch{}if(typeof t===i)try{var r=window.document.cookie,d=encodeURIComponent(s),I=r.indexOf(d+"=");I!==-1&&(t=/^([^;]+)/.exec(r.slice(I+d.length+1))[1])}catch{}return e.levels[t]===void 0&&(t=void 0),t}}function x(){if(!(typeof window===i||!s)){try{window.localStorage.removeItem(s)}catch{}try{window.document.cookie=encodeURIComponent(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function a(t){var r=t;if(typeof r=="string"&&e.levels[r.toUpperCase()]!==void 0&&(r=e.levels[r.toUpperCase()]),typeof r=="number"&&r>=0&&r<=e.levels.SILENT)return r;throw new TypeError("log.setLevel() called with invalid level: "+t)}e.name=o,e.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},e.methodFactory=n||F,e.getLevel=function(){return u??y??v},e.setLevel=function(t,r){return u=a(t),r!==!1&&U(u),f.call(e)},e.setDefaultLevel=function(t){y=a(t),m()||e.setLevel(t,!1)},e.resetLevel=function(){u=null,x(),f.call(e)},e.enableAll=function(t){e.setLevel(e.levels.TRACE,t)},e.disableAll=function(t){e.setLevel(e.levels.SILENT,t)},e.rebuild=function(){if(l!==e&&(v=a(l.getLevel())),f.call(e),l===e)for(var t in c)c[t].rebuild()},v=a(l?l.getLevel():"WARN");var E=m();E!=null&&(u=a(E)),f.call(e)}l=new b,l.getLogger=function(n){if(typeof n!="symbol"&&typeof n!="string"||n==="")throw new TypeError("You must supply a name when creating a logger.");var e=c[n];return e||(e=c[n]=new b(n,l.methodFactory)),e};var A=typeof window!==i?window.log:void 0;return l.noConflict=function(){return typeof window!==i&&window.log===l&&(window.log=A),l},l.getLoggers=function(){return c},l.default=l,l})}(w.__module)),w.__module.exports}exports.__require=N;
2
2
  //# sourceMappingURL=index.cjs502.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs502.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs502.js","sources":["../../../node_modules/loglevel/lib/loglevel.js"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n var _loggersByName = {};\n var defaultLogger = null;\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods() {\n /*jshint validthis:true */\n var level = this.getLevel();\n\n // Replace the actual methods.\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, this.name);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n\n // Return any important warnings.\n if (typeof console === undefinedType && level < this.levels.SILENT) {\n return \"No console available for logging\";\n }\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, _level, _loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, factory) {\n // Private instance variables.\n var self = this;\n /**\n * The level inherited from a parent logger (or a global default). We\n * cache this here rather than delegating to the parent so that it stays\n * in sync with the actual logging methods that we have installed (the\n * parent could change levels but we might not have rebuilt the loggers\n * in this child yet).\n * @type {number}\n */\n var inheritedLevel;\n /**\n * The default level for this logger, if any. If set, this overrides\n * `inheritedLevel`.\n * @type {number|null}\n */\n var defaultLevel;\n /**\n * A user-specific level for this logger. If set, this overrides\n * `defaultLevel`.\n * @type {number|null}\n */\n var userLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var cookieName = encodeURIComponent(storageKey);\n var location = cookie.indexOf(cookieName + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(\n cookie.slice(location + cookieName.length + 1)\n )[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n function normalizeLevel(input) {\n var level = input;\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n return level;\n } else {\n throw new TypeError(\"log.setLevel() called with invalid level: \" + input);\n }\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n if (userLevel != null) {\n return userLevel;\n } else if (defaultLevel != null) {\n return defaultLevel;\n } else {\n return inheritedLevel;\n }\n };\n\n self.setLevel = function (level, persist) {\n userLevel = normalizeLevel(level);\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(userLevel);\n }\n\n // NOTE: in v2, this should call rebuild(), which updates children.\n return replaceLoggingMethods.call(self);\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = normalizeLevel(level);\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n userLevel = null;\n clearPersistedLevel();\n replaceLoggingMethods.call(self);\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n self.rebuild = function () {\n if (defaultLogger !== self) {\n inheritedLevel = normalizeLevel(defaultLogger.getLevel());\n }\n replaceLoggingMethods.call(self);\n\n if (defaultLogger === self) {\n for (var childName in _loggersByName) {\n _loggersByName[childName].rebuild();\n }\n }\n };\n\n // Initialize all the internal levels.\n inheritedLevel = normalizeLevel(\n defaultLogger ? defaultLogger.getLevel() : \"WARN\"\n );\n var initialLevel = getPersistedLevel();\n if (initialLevel != null) {\n userLevel = normalizeLevel(initialLevel);\n }\n replaceLoggingMethods.call(self);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n defaultLogger = new Logger();\n\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name,\n defaultLogger.methodFactory\n );\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n"],"names":["root","definition","module","this","noop","undefinedType","isIE","logMethods","_loggersByName","defaultLogger","bindMethod","obj","methodName","method","traceForIE","realMethod","replaceLoggingMethods","level","i","enableLoggingWhenConsoleArrives","defaultMethodFactory","_level","_loggerName","Logger","name","factory","self","inheritedLevel","defaultLevel","userLevel","storageKey","persistLevelIfPossible","levelNum","levelName","getPersistedLevel","storedLevel","cookie","cookieName","location","clearPersistedLevel","normalizeLevel","input","persist","childName","initialLevel","logger","_log"],"mappings":"mMAMC,SAAUA,EAAMC,EAAY,CAIgBC,EAAO,QAC5CA,EAAA,QAAiBD,IAEjBD,EAAK,IAAMC,GAEnB,GAAEE,iBAAM,UAAY,CAIhB,IAAIC,EAAO,UAAW,CAAA,EAClBC,EAAgB,YAChBC,EAAQ,OAAO,SAAWD,GAAmB,OAAO,OAAO,YAAcA,GACzE,kBAAkB,KAAK,OAA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C,EAAeV,IACfU,GAAgB,OAChBf,EAAYW,EAAeI,CAAY,GAE3C5B,EAAsB,KAAKU,CAAI,CACjC,CAQAjB,EAAgB,IAAIc,EAENd,EAAA,UAAY,SAAmBe,EAAM,CAC/C,GAAK,OAAOA,GAAS,UAAY,OAAOA,GAAS,UAAaA,IAAS,GAC7D,MAAA,IAAI,UAAU,gDAAgD,EAGpE,IAAAqB,EAASrC,EAAegB,CAAI,EAChC,OAAKqB,IACQA,EAAArC,EAAegB,CAAI,EAAI,IAAID,EAChCC,EACAf,EAAc,aAAA,GAGfoC,CAAA,EAIX,IAAIC,EAAQ,OAAO,SAAWzC,EAAiB,OAAO,IAAM,OAC5D,OAAAI,EAAc,WAAa,UAAW,CAClC,OAAI,OAAO,SAAWJ,GACf,OAAO,MAAQI,IAClB,OAAO,IAAMqC,GAGVrC,CAAA,EAGGA,EAAA,WAAa,UAAsB,CACtC,OAAAD,CAAA,EAIXC,EAAc,QAAaA,EAEpBA,CACX,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs551.js");var e,r;function u(){return r||(r=1,e=i.__require()),e}exports.__require=u;
2
2
  //# sourceMappingURL=index.cjs504.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs504.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs504.js","sources":["../../../node_modules/axios/index.js"],"sourcesContent":["module.exports = require('./lib/axios');"],"names":["axios","require$$0"],"mappings":"yJAAAA,EAAiBC,EAAqB,UAAA","x_google_ignoreList":[0]}
@@ -1,2 +1,8 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs154.js"),p=require("./index.cjs545.js"),g=require("./index.cjs375.js"),j=require("./index.cjs529.js");var y;function x(){if(y)return p.__exports;y=1;var v=d.commonjsGlobal&&d.commonjsGlobal.__extends||function(){var s=function(o,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},s(o,t)};return function(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");s(o,t);function r(){this.constructor=o}o.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),l=d.commonjsGlobal&&d.commonjsGlobal.__awaiter||function(s,o,t,r){function i(n){return n instanceof t?n:new t(function(a){a(n)})}return new(t||(t=Promise))(function(n,a){function c(u){try{e(r.next(u))}catch(m){a(m)}}function h(u){try{e(r.throw(u))}catch(m){a(m)}}function e(u){u.done?n(u.value):i(u.value).then(c,h)}e((r=r.apply(s,o||[])).next())})},f=d.commonjsGlobal&&d.commonjsGlobal.__generator||function(s,o){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(u){return h([e,u])}}function h(e){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,i&&(n=e[0]&2?i.return:e[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,e[1])).done)return n;switch(i=0,n&&(e=[e[0]&2,n.value]),e[0]){case 0:case 1:n=e;break;case 4:return t.label++,{value:e[1],done:!1};case 5:t.label++,i=e[1],e=[0];continue;case 7:e=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(e[0]===6||e[0]===2)){t=0;continue}if(e[0]===3&&(!n||e[1]>n[0]&&e[1]<n[3])){t.label=e[1];break}if(e[0]===6&&t.label<n[1]){t.label=n[1],n=e;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(e);break}n[2]&&t.ops.pop(),t.trys.pop();continue}e=o.call(s,t)}catch(u){e=[6,u],i=0}finally{r=n=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}};Object.defineProperty(p.__exports,"__esModule",{value:!0});var _=g.__require(),w=j.__require(),b=function(s){v(o,s);function o(t,r,i){return s.call(this,t,r,i)||this}return o.prototype.create=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,r)]})})},o.prototype.upsert=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},r,{action:"upsert"}))]})})},o.prototype.update=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return r.filter_by!=null?[2,this.apiCall.patch(this.endpointPath(),t,Object.assign({},r))]:[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},r,{action:"update"}))]})})},o.prototype.delete=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return typeof t=="string"?[2,this.apiCall.delete(this.endpointPath(t),t)]:[2,this.apiCall.delete(this.endpointPath(),t)]})})},o.prototype.createMany=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){return this.configuration.logger.warn("createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents"),[2,this.import(t,r)]})})},o.prototype.import=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){var i,n,a,c;return f(this,function(h){switch(h.label){case 0:if(Array.isArray(t))try{i=t.map(function(e){return JSON.stringify(e)}).join(`
2
+ `)}catch(e){throw RangeError instanceof e&&(e!=null&&e.includes("Too many properties to enumerate"))?new Error("".concat(e,`
3
+ It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object
4
+
5
+ Please try reducing the number of keys in your document, or using CURL to import your data.
6
+ `)):new Error(e)}else i=t;return[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:r,bodyParameters:i,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0})];case 1:if(n=h.sent(),Array.isArray(t)){if(a=n.split(`
7
+ `).map(function(e){return JSON.parse(e)}),c=a.filter(function(e){return e.success===!1}),c.length>0)throw new _.ImportError("".concat(a.length-c.length," documents imported successfully, ").concat(c.length," documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document."),a);return[2,a]}else return[2,n]}})})},o.prototype.export=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return[2,this.apiCall.get(this.endpointPath("export"),t)]})})},o.prototype.exportStream=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return[2,this.apiCall.get(this.endpointPath("export"),t,{responseType:"stream"})]})})},o}(w.SearchOnlyDocuments);return p.__exports.default=b,p.__exports}exports.__require=x;
2
8
  //# sourceMappingURL=index.cjs507.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs507.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs507.js","sources":["../../../node_modules/typesense/lib/Typesense/Documents.js"],"sourcesContent":["\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Errors_1 = require(\"./Errors\");\nvar SearchOnlyDocuments_1 = require(\"./SearchOnlyDocuments\");\nvar Documents = /** @class */ (function (_super) {\n __extends(Documents, _super);\n function Documents(collectionName, apiCall, configuration) {\n return _super.call(this, collectionName, apiCall, configuration) || this;\n }\n Documents.prototype.create = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, options)];\n });\n });\n };\n Documents.prototype.upsert = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, Object.assign({}, options, { action: \"upsert\" }))];\n });\n });\n };\n Documents.prototype.update = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n if (options[\"filter_by\"] != null) {\n return [2 /*return*/, this.apiCall.patch(this.endpointPath(), document, Object.assign({}, options))];\n }\n else {\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, Object.assign({}, options, { action: \"update\" }))];\n }\n return [2 /*return*/];\n });\n });\n };\n Documents.prototype.delete = function (idOrQuery) {\n if (idOrQuery === void 0) { idOrQuery = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (typeof idOrQuery === \"string\") {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath(idOrQuery), idOrQuery)];\n }\n else {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath(), idOrQuery)];\n }\n return [2 /*return*/];\n });\n });\n };\n Documents.prototype.createMany = function (documents, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n this.configuration.logger.warn(\"createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents\");\n return [2 /*return*/, this.import(documents, options)];\n });\n });\n };\n Documents.prototype.import = function (documents, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n var documentsInJSONLFormat, resultsInJSONLFormat, resultsInJSONFormat, failedItems;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (Array.isArray(documents)) {\n try {\n documentsInJSONLFormat = documents\n .map(function (document) { return JSON.stringify(document); })\n .join(\"\\n\");\n }\n catch (error) {\n // if rangeerror, throw custom error message\n if (RangeError instanceof error &&\n (error === null || error === void 0 ? void 0 : error.includes(\"Too many properties to enumerate\"))) {\n throw new Error(\"\".concat(error, \"\\n It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object\\n\\n Please try reducing the number of keys in your document, or using CURL to import your data.\\n \"));\n }\n // else, throw the non-range error anyways\n throw new Error(error);\n }\n }\n else {\n documentsInJSONLFormat = documents;\n }\n return [4 /*yield*/, this.apiCall.performRequest(\"post\", this.endpointPath(\"import\"), {\n queryParameters: options,\n bodyParameters: documentsInJSONLFormat,\n additionalHeaders: { \"Content-Type\": \"text/plain\" },\n skipConnectionTimeout: true, // We never want to client-side-timeout on an import and retry, since imports are syncronous and we want to let them take as long as it takes to complete fully\n })];\n case 1:\n resultsInJSONLFormat = _a.sent();\n if (Array.isArray(documents)) {\n resultsInJSONFormat = resultsInJSONLFormat\n .split(\"\\n\")\n .map(function (r) { return JSON.parse(r); });\n failedItems = resultsInJSONFormat.filter(function (r) { return r.success === false; });\n if (failedItems.length > 0) {\n throw new Errors_1.ImportError(\"\".concat(resultsInJSONFormat.length - failedItems.length, \" documents imported successfully, \").concat(failedItems.length, \" documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document.\"), resultsInJSONFormat);\n }\n else {\n return [2 /*return*/, resultsInJSONFormat];\n }\n }\n else {\n return [2 /*return*/, resultsInJSONLFormat];\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Returns a JSONL string for all the documents in this collection\n */\n Documents.prototype.export = function (options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath(\"export\"), options)];\n });\n });\n };\n /**\n * Returns a NodeJS readable stream of JSONL for all the documents in this collection.\n */\n Documents.prototype.exportStream = function (options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath(\"export\"), options, {\n responseType: \"stream\",\n })];\n });\n });\n };\n return Documents;\n}(SearchOnlyDocuments_1.SearchOnlyDocuments));\nexports.default = Documents;\n//# sourceMappingURL=Documents.js.map"],"names":["__extends","this","extendStatics","d","b","p","__","__awaiter","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","Documents_1","Errors_1","require$$0","SearchOnlyDocuments_1","require$$1","Documents","_super","collectionName","apiCall","configuration","document","options","_a","idOrQuery","documents","documentsInJSONLFormat","resultsInJSONLFormat","resultsInJSONFormat","failedItems","error","r"],"mappings":"iQACA,IAAIA,EAAaC,EAAAA,gBAAQA,EAAK,eAAA,WAA2B,UAAA,CACjD,IAAAC,EAAgB,SAAUC,EAAGC,EAAG,CAChB,OAAAF,EAAA,OAAO,gBAClB,CAAE,UAAW,cAAgB,OAAS,SAAUC,EAAGC,EAAG,CAAED,EAAE,UAAYC,CAAA,GACvE,SAAUD,EAAGC,EAAG,CAAE,QAASC,KAAKD,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGC,CAAC,IAAGF,EAAEE,CAAC,EAAID,EAAEC,CAA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oreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs154.js"),f=require("./index.cjs546.js"),O=require("./index.cjs431.js");var v;function j(){if(v)return f.__exports;v=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,o,n,a){function i(e){return e instanceof n?e:new n(function(l){l(e)})}return new(n||(n=Promise))(function(e,l){function s(u){try{t(a.next(u))}catch(d){l(d)}}function _(u){try{t(a.throw(u))}catch(d){l(d)}}function t(u){u.done?e(u.value):i(u.value).then(s,_)}t((a=a.apply(r,o||[])).next())})},b=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,o){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,i,e,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(t){return function(u){return _([t,u])}}function _(t){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,i&&(e=t[0]&2?i.return:t[0]?i.throw||((e=i.return)&&e.call(i),0):i.next)&&!(e=e.call(i,t[1])).done)return e;switch(i=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,i=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=o.call(r,n)}catch(u){t=[6,u],i=0}finally{a=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},y=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var m=y(O.__require()),p="/overrides",w=function(){function r(o,n){this.collectionName=o,this.apiCall=n}return r.prototype.upsert=function(o,n){return h(this,void 0,void 0,function(){return b(this,function(a){return[2,this.apiCall.put(this.endpointPath(o),n)]})})},r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return b(this,function(o){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.endpointPath=function(o){return"".concat(m.default.RESOURCEPATH,"/").concat(this.collectionName).concat(r.RESOURCEPATH).concat(o===void 0?"":"/"+o)},Object.defineProperty(r,"RESOURCEPATH",{get:function(){return p},enumerable:!1,configurable:!0}),r}();return f.__exports.default=w,f.__exports}exports.__require=j;
2
2
  //# sourceMappingURL=index.cjs508.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs508.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs508.js","sources":["../../../node_modules/typesense/lib/Typesense/Overrides.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/overrides\";\nvar Overrides = /** @class */ (function () {\n function Overrides(collectionName, apiCall) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n }\n Overrides.prototype.upsert = function (overrideId, params) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.put(this.endpointPath(overrideId), params)];\n });\n });\n };\n Overrides.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Overrides.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Overrides.RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(Overrides, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return Overrides;\n}());\nexports.default = Overrides;\n//# sourceMappingURL=Overrides.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Overrides_1","Collections_1","require$$0","RESOURCEPATH","Overrides","collectionName","apiCall","overrideId","params","_a","operation"],"mappings":"kOACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC7F,SAASD,EAAKG,EAAQ,CAASA,EAAA,KAAON,EAAQM,EAAO,KAAK,EAAIR,EAAMQ,EAAO,KAAK,EAAE,KAAKJ,EAAWG,CAAQ,CAAG,CACvGF,GAAAN,EAAYA,EAAU,MAAMH,EAASC,GAAc,CAAE,CAAA,GAAG,KAAA,CAAM,CAAA,CACvE,CACL,EACIY,EAAed,EAAAA,gBAAQA,EAAAA,e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CAC9BA,SAAAA,EAAUC,EAAgBC,EAAS,CACxC,KAAK,eAAiBD,EACtB,KAAK,QAAUC,CACnB,CACAF,OAAAA,EAAU,UAAU,OAAS,SAAUG,EAAYC,EAAQ,CACvD,OAAOpC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAe,EAAY,KAAM,SAAUsB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAaF,CAAU,EAAGC,CAAM,CAAC,CAAA,CAChF,CAAA,CACJ,CAAA,EAELJ,EAAU,UAAU,SAAW,UAAY,CACvC,OAAOhC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAe,EAAY,KAAM,SAAUsB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAc,CAAA,CAAC,CAAA,CAC9D,CAAA,CACJ,CAAA,EAELL,EAAU,UAAU,aAAe,SAAUM,EAAW,CAC7C,MAAA,GAAG,OAAOT,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOG,EAAU,YAAY,EAAE,OAAOM,IAAc,OAAY,GAAK,IAAMA,CAAS,CAAA,EAEvK,OAAA,eAAeN,EAAW,eAAgB,CAC7C,IAAK,UAAY,CACN,OAAAD,CACX,EACA,WAAY,GACZ,aAAc,EAAA,CACjB,EACMC,CAAA,EACT,EACFJ,OAAAA,EAAA,UAAA,QAAkBI","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs154.js"),f=require("./index.cjs547.js"),O=require("./index.cjs431.js"),j=require("./index.cjs508.js");var y;function q(){if(y)return f.__exports;y=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(n,l,r,u){function i(e){return e instanceof r?e:new r(function(a){a(e)})}return new(r||(r=Promise))(function(e,a){function s(o){try{t(u.next(o))}catch(_){a(_)}}function d(o){try{t(u.throw(o))}catch(_){a(_)}}function t(o){o.done?e(o.value):i(o.value).then(s,d)}t((u=u.apply(n,l||[])).next())})},v=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(n,l){var r={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},u,i,e,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(o){return d([t,o])}}function d(t){if(u)throw new TypeError("Generator is already executing.");for(;r;)try{if(u=1,i&&(e=t[0]&2?i.return:t[0]?i.throw||((e=i.return)&&e.call(i),0):i.next)&&!(e=e.call(i,t[1])).done)return e;switch(i=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return r.label++,{value:t[1],done:!1};case 5:r.label++,i=t[1],t=[0];continue;case 7:t=r.ops.pop(),r.trys.pop();continue;default:if(e=r.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){r=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){r.label=t[1];break}if(t[0]===6&&r.label<e[1]){r.label=e[1],e=t;break}if(e&&r.label<e[2]){r.label=e[2],r.ops.push(t);break}e[2]&&r.ops.pop(),r.trys.pop();continue}t=l.call(n,r)}catch(o){t=[6,o],i=0}finally{u=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},b=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var m=b(O.__require()),p=b(j.__require()),w=function(){function n(l,r,u){this.collectionName=l,this.overrideId=r,this.apiCall=u}return n.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return v(this,function(l){return[2,this.apiCall.get(this.endpointPath())]})})},n.prototype.delete=function(){return h(this,void 0,void 0,function(){return v(this,function(l){return[2,this.apiCall.delete(this.endpointPath())]})})},n.prototype.endpointPath=function(){return"".concat(m.default.RESOURCEPATH,"/").concat(this.collectionName).concat(p.default.RESOURCEPATH,"/").concat(this.overrideId)},n}();return f.__exports.default=w,f.__exports}exports.__require=q;
2
2
  //# sourceMappingURL=index.cjs509.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs509.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs509.js","sources":["../../../node_modules/typesense/lib/Typesense/Override.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar Overrides_1 = __importDefault(require(\"./Overrides\"));\nvar Override = /** @class */ (function () {\n function Override(collectionName, overrideId, apiCall) {\n this.collectionName = collectionName;\n this.overrideId = overrideId;\n this.apiCall = apiCall;\n }\n Override.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Override.prototype.delete = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath())];\n });\n });\n };\n Override.prototype.endpointPath = function () {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Overrides_1.default.RESOURCEPATH, \"/\").concat(this.overrideId);\n };\n return Override;\n}());\nexports.default = Override;\n//# sourceMappingURL=Override.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Override_1","Collections_1","require$$0","Overrides_1","require$$1","Override","collectionName","overrideId","apiCall","_a"],"mappings":"iQAC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B,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,OAAO,KAAK,aAAc,CAAA,CAAC,CAAA,CACjE,CAAA,CACJ,CAAA,EAELJ,EAAS,UAAU,aAAe,UAAY,CAC1C,MAAO,GAAG,OAAOJ,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOE,EAAY,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,UAAU,CAAA,EAEvJE,CAAA,EACT,EACFL,OAAAA,EAAA,UAAA,QAAkBK","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs154.js"),f=require("./index.cjs548.js"),S=require("./index.cjs431.js");var m;function j(){if(m)return f.__exports;m=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,i,n,a){function o(e){return e instanceof n?e:new n(function(l){l(e)})}return new(n||(n=Promise))(function(e,l){function s(u){try{t(a.next(u))}catch(_){l(_)}}function y(u){try{t(a.throw(u))}catch(_){l(_)}}function t(u){u.done?e(u.value):o(u.value).then(s,y)}t((a=a.apply(r,i||[])).next())})},b=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,i){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,o,e,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(t){return function(u){return y([t,u])}}function y(t){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,o&&(e=t[0]&2?o.return:t[0]?o.throw||((e=o.return)&&e.call(o),0):o.next)&&!(e=e.call(o,t[1])).done)return e;switch(o=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,o=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=i.call(r,n)}catch(u){t=[6,u],o=0}finally{a=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},d=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var v=d(S.__require()),p="/synonyms",w=function(){function r(i,n){this.collectionName=i,this.apiCall=n}return r.prototype.upsert=function(i,n){return h(this,void 0,void 0,function(){return b(this,function(a){return[2,this.apiCall.put(this.endpointPath(i),n)]})})},r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return b(this,function(i){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.endpointPath=function(i){return"".concat(v.default.RESOURCEPATH,"/").concat(this.collectionName).concat(r.RESOURCEPATH).concat(i===void 0?"":"/"+i)},Object.defineProperty(r,"RESOURCEPATH",{get:function(){return p},enumerable:!1,configurable:!0}),r}();return f.__exports.default=w,f.__exports}exports.__require=j;
2
2
  //# sourceMappingURL=index.cjs510.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs510.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs510.js","sources":["../../../node_modules/typesense/lib/Typesense/Synonyms.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/synonyms\";\nvar Synonyms = /** @class */ (function () {\n function Synonyms(collectionName, apiCall) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n }\n Synonyms.prototype.upsert = function (synonymId, params) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.put(this.endpointPath(synonymId), params)];\n });\n });\n };\n Synonyms.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Synonyms.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Synonyms.RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(Synonyms, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return Synonyms;\n}());\nexports.default = Synonyms;\n//# sourceMappingURL=Synonyms.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Synonyms_1","Collections_1","require$$0","RESOURCEPATH","Synonyms","collectionName","apiCall","synonymId","params","_a","operation"],"mappings":"kOACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAAS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,OAAAA,EAAA,UAAA,QAAkBI","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs154.js"),f=require("./index.cjs549.js"),S=require("./index.cjs431.js"),j=require("./index.cjs510.js");var b;function q(){if(b)return f.__exports;b=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,l,n,u){function o(e){return e instanceof n?e:new n(function(a){a(e)})}return new(n||(n=Promise))(function(e,a){function s(i){try{t(u.next(i))}catch(_){a(_)}}function y(i){try{t(u.throw(i))}catch(_){a(_)}}function t(i){i.done?e(i.value):o(i.value).then(s,y)}t((u=u.apply(r,l||[])).next())})},d=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,l){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},u,o,e,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return y([t,i])}}function y(t){if(u)throw new TypeError("Generator is already executing.");for(;n;)try{if(u=1,o&&(e=t[0]&2?o.return:t[0]?o.throw||((e=o.return)&&e.call(o),0):o.next)&&!(e=e.call(o,t[1])).done)return e;switch(o=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,o=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=l.call(r,n)}catch(i){t=[6,i],o=0}finally{u=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},m=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var v=m(S.__require()),p=m(j.__require()),w=function(){function r(l,n,u){this.collectionName=l,this.synonymId=n,this.apiCall=u}return r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return d(this,function(l){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.delete=function(){return h(this,void 0,void 0,function(){return d(this,function(l){return[2,this.apiCall.delete(this.endpointPath())]})})},r.prototype.endpointPath=function(){return"".concat(v.default.RESOURCEPATH,"/").concat(this.collectionName).concat(p.default.RESOURCEPATH,"/").concat(this.synonymId)},r}();return f.__exports.default=w,f.__exports}exports.__require=q;
2
2
  //# sourceMappingURL=index.cjs511.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs511.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs511.js","sources":["../../../node_modules/typesense/lib/Typesense/Synonym.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar Synonyms_1 = __importDefault(require(\"./Synonyms\"));\nvar Synonym = /** @class */ (function () {\n function Synonym(collectionName, synonymId, apiCall) {\n this.collectionName = collectionName;\n this.synonymId = synonymId;\n this.apiCall = apiCall;\n }\n Synonym.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Synonym.prototype.delete = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath())];\n });\n });\n };\n Synonym.prototype.endpointPath = function () {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Synonyms_1.default.RESOURCEPATH, \"/\").concat(this.synonymId);\n };\n return Synonym;\n}());\nexports.default = Synonym;\n//# sourceMappingURL=Synonym.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Synonym_1","Collections_1","require$$0","Synonyms_1","require$$1","Synonym","collectionName","synonymId","apiCall","_a"],"mappings":"iQACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC7F,SAASD,EAAKG,EAAQ,CAASA,EAAA,KAAON,EAAQM,EAAO,KAAK,EAAIR,EAAMQ,EAAO,KAAK,EAAE,KAAKJ,EAAWG,CAAQ,CAAG,CACvGF,GAAAN,EAAYA,EAAU,MAAMH,EAASC,GAAc,CAAE,CAAA,GAAG,KAAA,CAAM,CAAA,CACvE,CACL,EACIY,EAAed,EAAAA,gBAAQA,EAAAA,eAAK,aAAgB,SAAUC,EAASc,EAAM,CACrE,IAAIC,EAAI,CAAE,MAAO,EAAG,KAAM,UAA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