@mjhls/mjh-framework 1.0.108 → 1.0.109-8.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 (370) hide show
  1. package/README.md +1 -5
  2. package/dist/cjs/AD.js +32 -0
  3. package/dist/cjs/AD300x250.js +95 -0
  4. package/dist/cjs/AD300x250x600.js +112 -0
  5. package/dist/cjs/AD728x90.js +109 -0
  6. package/dist/cjs/ADFloatingFooter.js +151 -0
  7. package/dist/cjs/ADFooter.js +53 -0
  8. package/dist/cjs/ADGutter.js +123 -0
  9. package/dist/cjs/ADInfeed-7c075eda.js +75 -0
  10. package/dist/cjs/ADSkyscraper.js +125 -0
  11. package/dist/cjs/ADSponsoredResources.js +122 -0
  12. package/dist/cjs/ADWebcast.js +127 -0
  13. package/dist/cjs/ADWelcome.js +166 -0
  14. package/dist/cjs/ADlgInfeed-d4f556bd.js +69 -0
  15. package/dist/cjs/AccordionPanel.js +94 -0
  16. package/dist/cjs/AdSlot.js +283 -0
  17. package/dist/cjs/AdSlotsProvider.js +184 -0
  18. package/dist/cjs/AlgoliaSearch.js +15221 -0
  19. package/dist/cjs/AlphabeticList.js +134 -0
  20. package/dist/cjs/ArticleCarousel.js +45 -0
  21. package/dist/cjs/ArticleProgramLandingPage.js +186 -0
  22. package/dist/cjs/ArticleSeriesLandingPage.js +162 -0
  23. package/dist/cjs/ArticleSeriesListing.js +314 -0
  24. package/dist/cjs/AuthWrapper.js +1526 -0
  25. package/dist/cjs/AuthorComponent-7d00f6d5.js +96 -0
  26. package/dist/cjs/Beam.js +405 -0
  27. package/dist/cjs/BlockContent-96b44364.js +916 -0
  28. package/dist/cjs/Breadcrumbs.js +107 -0
  29. package/dist/cjs/CEDeckSupabase.js +444 -0
  30. package/dist/cjs/CMEDeck.js +444 -0
  31. package/dist/cjs/Column1.js +36 -0
  32. package/dist/cjs/Column2.js +73 -0
  33. package/dist/cjs/Column3.js +140 -0
  34. package/dist/cjs/ConferenceArticleCard.js +94 -0
  35. package/dist/cjs/ConferenceBanner-213003ce.js +24 -0
  36. package/dist/cjs/ContentCardPaginated.js +416 -0
  37. package/dist/cjs/DeckContent.js +507 -0
  38. package/dist/cjs/DeckQueue.js +402 -0
  39. package/dist/cjs/DeckQueuePaginated.js +347 -0
  40. package/dist/cjs/Dfp-67646058.js +103 -0
  41. package/dist/cjs/EventsDeck.js +856 -0
  42. package/dist/cjs/ExternalResources.js +220 -0
  43. package/dist/cjs/Feature.js +132 -0
  44. package/dist/cjs/ForbesHero.js +138 -0
  45. package/dist/cjs/GridContent.js +828 -0
  46. package/dist/cjs/GridContentPaginated.js +703 -0
  47. package/dist/cjs/GridHero.js +148 -0
  48. package/dist/cjs/GroupDeck.js +314 -0
  49. package/dist/cjs/HamMagazine.js +664 -0
  50. package/dist/cjs/Header.js +65 -0
  51. package/dist/cjs/HealthCareProfessionalModal.js +78 -0
  52. package/dist/cjs/Hero.js +49 -0
  53. package/dist/cjs/HighlightenVideo.js +69 -0
  54. package/dist/cjs/HorizontalArticleListing.js +167 -0
  55. package/dist/cjs/HorizontalHero.js +112 -0
  56. package/dist/cjs/ImageSlider-7c995858.js +2808 -0
  57. package/dist/cjs/IssueContentDeck.js +242 -0
  58. package/dist/cjs/IssueDeck.js +267 -0
  59. package/dist/cjs/IssueLanding.js +176 -0
  60. package/dist/cjs/KMTracker.js +27 -0
  61. package/dist/cjs/LeftNav.js +153 -0
  62. package/dist/cjs/MasterDeck.js +555 -0
  63. package/dist/cjs/MasterDeckPaginated.js +468 -0
  64. package/dist/cjs/MediaSeriesCard.js +134 -0
  65. package/dist/cjs/MediaSeriesLanding.js +507 -0
  66. package/dist/cjs/MediaSeriesLandingPaginated.js +532 -0
  67. package/dist/cjs/NavDvm.js +278 -0
  68. package/dist/cjs/NavFooter-b7b16d48.js +72 -0
  69. package/dist/cjs/NavMagazine.js +615 -0
  70. package/dist/cjs/NavNative.js +880 -0
  71. package/dist/cjs/OncliveHero.js +80 -0
  72. package/dist/cjs/OncliveLargeHero.js +242 -0
  73. package/dist/cjs/PageFilter.js +72 -0
  74. package/dist/cjs/Pagination-6359861a.js +97 -0
  75. package/dist/cjs/PartnerDetailListing.js +374 -0
  76. package/dist/cjs/PartnerDetailListingPaginated.js +365 -0
  77. package/dist/cjs/PdfDownload.js +28 -0
  78. package/dist/cjs/PixelTracking.js +191 -0
  79. package/dist/cjs/PodcastsLanding.js +234 -0
  80. package/dist/cjs/PopUpModal.js +58 -0
  81. package/dist/cjs/PtceDeck.js +150 -0
  82. package/dist/cjs/PubSection.js +120 -0
  83. package/dist/cjs/PubToc.js +88 -0
  84. package/dist/cjs/PublicationDeck.js +184 -0
  85. package/dist/cjs/PublicationFeature-4b68e0db.js +130 -0
  86. package/dist/cjs/PublicationLanding.js +826 -0
  87. package/dist/cjs/QueueDeckExpanded.js +1540 -0
  88. package/dist/cjs/QueueDeckExpandedPaginated.js +1387 -0
  89. package/dist/cjs/RecentNews.js +91 -0
  90. package/dist/cjs/RelatedContent.js +115 -0
  91. package/dist/cjs/RelatedTopicsDropdown.js +90 -0
  92. package/dist/cjs/RolesDeck.js +94 -0
  93. package/dist/cjs/Schema.js +102 -0
  94. package/dist/cjs/Search.js +66 -0
  95. package/dist/cjs/Segment.js +458 -0
  96. package/dist/cjs/SeriesListingDeck.js +247 -0
  97. package/dist/cjs/SeriesSlider-086a8319.js +332 -0
  98. package/dist/cjs/SetCookie.js +10 -0
  99. package/dist/cjs/SideFooter.js +152 -0
  100. package/dist/cjs/SocialIcons.js +103 -0
  101. package/dist/cjs/SocialSearchComponent-d7e5d3a6.js +213 -0
  102. package/dist/cjs/SocialShare.js +74 -0
  103. package/dist/cjs/TaxonomyCard.js +256 -0
  104. package/dist/cjs/TaxonomyDescription.js +208 -0
  105. package/dist/cjs/TemplateNormal.js +204 -0
  106. package/dist/cjs/ThumbnailCard.js +60 -0
  107. package/dist/cjs/Tooltip-b8516cbf.js +9541 -0
  108. package/dist/cjs/Ustream.js +157 -0
  109. package/dist/cjs/VerticalHero.js +75 -0
  110. package/dist/cjs/VideoProgramLandingPage.js +262 -0
  111. package/dist/cjs/VideoSeriesCard.js +88 -0
  112. package/dist/cjs/VideoSeriesFilter.js +129 -0
  113. package/dist/cjs/VideoSeriesLandingPage.js +178 -0
  114. package/dist/cjs/VideoSeriesListing.js +421 -0
  115. package/dist/cjs/View.js +2841 -0
  116. package/dist/cjs/YahooHero.js +127 -0
  117. package/dist/cjs/YoutubeGroup.js +372 -0
  118. package/dist/cjs/_commonjsHelpers-06173234.js +25 -0
  119. package/dist/cjs/_is-array-54228b29.js +74 -0
  120. package/dist/cjs/_iter-detect-b1df62f0.js +52 -0
  121. package/dist/cjs/_library-dd23b178.js +5 -0
  122. package/dist/cjs/_object-sap-d1978572.js +16 -0
  123. package/dist/cjs/_object-to-array-9337ba83.js +25 -0
  124. package/dist/cjs/_set-species-0c7864a2.js +55 -0
  125. package/dist/cjs/asyncToGenerator-65df6bf8.js +1347 -0
  126. package/dist/cjs/brightcove-react-player-loader.es-35faab67.js +2232 -0
  127. package/dist/cjs/checkSisterSite-c3a4ac98.js +19 -0
  128. package/dist/cjs/core.get-iterator-method-5643aa10.js +584 -0
  129. package/dist/cjs/debounce-d4a2369b.js +216 -0
  130. package/dist/cjs/define-property-e8404b64.js +20 -0
  131. package/dist/cjs/defineProperty-19580e93.js +71 -0
  132. package/dist/cjs/defineProperty-9673846a.js +34 -0
  133. package/dist/cjs/entities-df1aed86.js +510 -0
  134. package/dist/cjs/eq-5fc26c07.js +79 -0
  135. package/dist/cjs/extends-be0d85bc.js +100 -0
  136. package/dist/cjs/faundadb.js +765 -0
  137. package/dist/cjs/get-5839e5b5.js +920 -0
  138. package/dist/cjs/getContentCategory-f38a4c00.js +11 -0
  139. package/dist/cjs/getKeywords.js +46 -0
  140. package/dist/cjs/getPtceActivities.js +90 -0
  141. package/dist/cjs/getQuery.js +27 -0
  142. package/dist/cjs/getRelatedArticle.js +766 -0
  143. package/dist/cjs/getRootDocGroup.js +63 -0
  144. package/dist/cjs/getSerializers.js +66 -0
  145. package/dist/cjs/getSeriesDetail.js +40 -0
  146. package/dist/cjs/getTIData.js +93 -0
  147. package/dist/cjs/getTargeting-7ce7037b.js +166 -0
  148. package/dist/cjs/getTargeting.js +12 -0
  149. package/dist/cjs/iconBase-be4097c0.js +104 -0
  150. package/dist/cjs/index-187c967e.js +54 -0
  151. package/dist/cjs/index-3177f564.js +1573 -0
  152. package/dist/cjs/index-65621b6c.js +613 -0
  153. package/dist/cjs/index-7435b964.js +1683 -0
  154. package/dist/cjs/index-a26637a3.js +11764 -0
  155. package/dist/cjs/index-d48b231c.js +556 -0
  156. package/dist/cjs/index-ff83a88b.js +104 -0
  157. package/dist/cjs/index.es-1ab8dda7.js +445 -0
  158. package/dist/cjs/index.esm-2ea9e9ff.js +98 -0
  159. package/dist/cjs/index.esm-c1e16606.js +13 -0
  160. package/dist/cjs/index.esm-d51c9ac6.js +25 -0
  161. package/dist/cjs/index.esm-d81454e7.js +19 -0
  162. package/dist/cjs/index.js +638 -0
  163. package/dist/cjs/inherits-e47b5342.js +188 -0
  164. package/dist/cjs/isSymbol-03abbdf0.js +209 -0
  165. package/dist/cjs/js.cookie-a511c430.js +160 -0
  166. package/dist/cjs/keys-e982b3fa.js +25 -0
  167. package/dist/cjs/lodash-f0783643.js +17195 -0
  168. package/dist/cjs/main-ae8472f3.js +969 -0
  169. package/dist/cjs/moment-f730814d.js +5684 -0
  170. package/dist/cjs/react-social-icons-2c5c389a.js +616 -0
  171. package/dist/cjs/slicedToArray-067dd3bc.js +95 -0
  172. package/dist/cjs/smoothscroll-99df7f93.js +438 -0
  173. package/dist/cjs/stringify-f7a37a8d.js +17 -0
  174. package/dist/cjs/style-inject.es-dcee06b6.js +30 -0
  175. package/dist/cjs/timeDifferenceCalc.js +39 -0
  176. package/dist/cjs/toConsumableArray-d7797c2b.js +74 -0
  177. package/dist/cjs/toNumber-5e1fac58.js +104 -0
  178. package/dist/cjs/typeof-220bbf73.js +382 -0
  179. package/dist/cjs/urlFor.js +66 -0
  180. package/dist/cjs/urlForFile-5084fc48.js +29 -0
  181. package/dist/cjs/ustream-api-3819e4aa.js +106 -0
  182. package/dist/cjs/visibility-sensor-56020df6.js +597 -0
  183. package/dist/cjs/web.dom.iterable-d98303e0.js +50 -0
  184. package/dist/esm/AD.js +26 -0
  185. package/dist/esm/AD300x250.js +89 -0
  186. package/dist/esm/AD300x250x600.js +106 -0
  187. package/dist/esm/AD728x90.js +103 -0
  188. package/dist/esm/ADFloatingFooter.js +145 -0
  189. package/dist/esm/ADFooter.js +47 -0
  190. package/dist/esm/ADGutter.js +117 -0
  191. package/dist/esm/ADInfeed-3442c999.js +68 -0
  192. package/dist/esm/ADSkyscraper.js +119 -0
  193. package/dist/esm/ADSponsoredResources.js +116 -0
  194. package/dist/esm/ADWebcast.js +121 -0
  195. package/dist/esm/ADWelcome.js +160 -0
  196. package/dist/esm/ADlgInfeed-30649360.js +63 -0
  197. package/dist/esm/AccordionPanel.js +87 -0
  198. package/dist/esm/AdSlot.js +276 -0
  199. package/dist/esm/AdSlotsProvider.js +177 -0
  200. package/dist/esm/AlgoliaSearch.js +15214 -0
  201. package/dist/esm/AlphabeticList.js +128 -0
  202. package/dist/esm/ArticleCarousel.js +39 -0
  203. package/dist/esm/ArticleProgramLandingPage.js +180 -0
  204. package/dist/esm/ArticleSeriesLandingPage.js +156 -0
  205. package/dist/esm/ArticleSeriesListing.js +307 -0
  206. package/dist/esm/AuthWrapper.js +1520 -0
  207. package/dist/esm/AuthorComponent-d9653ae5.js +90 -0
  208. package/dist/esm/Beam.js +403 -0
  209. package/dist/esm/BlockContent-1e73bd2c.js +909 -0
  210. package/dist/esm/Breadcrumbs.js +100 -0
  211. package/dist/esm/CEDeckSupabase.js +438 -0
  212. package/dist/esm/CMEDeck.js +438 -0
  213. package/dist/esm/Column1.js +28 -0
  214. package/dist/esm/Column2.js +65 -0
  215. package/dist/esm/Column3.js +132 -0
  216. package/dist/esm/ConferenceArticleCard.js +88 -0
  217. package/dist/esm/ConferenceBanner-8792ebd2.js +18 -0
  218. package/dist/esm/ContentCardPaginated.js +405 -0
  219. package/dist/esm/DeckContent.js +497 -0
  220. package/dist/esm/DeckQueue.js +392 -0
  221. package/dist/esm/DeckQueuePaginated.js +336 -0
  222. package/dist/esm/Dfp-3b6eb620.js +96 -0
  223. package/dist/esm/EventsDeck.js +843 -0
  224. package/dist/esm/ExternalResources.js +213 -0
  225. package/dist/esm/Feature.js +125 -0
  226. package/dist/esm/ForbesHero.js +132 -0
  227. package/dist/esm/GridContent.js +818 -0
  228. package/dist/esm/GridContentPaginated.js +692 -0
  229. package/dist/esm/GridHero.js +142 -0
  230. package/dist/esm/GroupDeck.js +308 -0
  231. package/dist/esm/HamMagazine.js +651 -0
  232. package/dist/esm/Header.js +54 -0
  233. package/dist/esm/HealthCareProfessionalModal.js +70 -0
  234. package/dist/esm/Hero.js +43 -0
  235. package/dist/esm/HighlightenVideo.js +63 -0
  236. package/dist/esm/HorizontalArticleListing.js +161 -0
  237. package/dist/esm/HorizontalHero.js +106 -0
  238. package/dist/esm/ImageSlider-75f7b81a.js +2799 -0
  239. package/dist/esm/IssueContentDeck.js +232 -0
  240. package/dist/esm/IssueDeck.js +257 -0
  241. package/dist/esm/IssueLanding.js +170 -0
  242. package/dist/esm/KMTracker.js +25 -0
  243. package/dist/esm/LeftNav.js +143 -0
  244. package/dist/esm/MasterDeck.js +548 -0
  245. package/dist/esm/MasterDeckPaginated.js +460 -0
  246. package/dist/esm/MediaSeriesCard.js +128 -0
  247. package/dist/esm/MediaSeriesLanding.js +500 -0
  248. package/dist/esm/MediaSeriesLandingPaginated.js +525 -0
  249. package/dist/esm/NavDvm.js +265 -0
  250. package/dist/esm/NavFooter-4bcffccb.js +66 -0
  251. package/dist/esm/NavMagazine.js +602 -0
  252. package/dist/esm/NavNative.js +864 -0
  253. package/dist/esm/OncliveHero.js +74 -0
  254. package/dist/esm/OncliveLargeHero.js +236 -0
  255. package/dist/esm/PageFilter.js +66 -0
  256. package/dist/esm/Pagination-9fe9f61d.js +90 -0
  257. package/dist/esm/PartnerDetailListing.js +368 -0
  258. package/dist/esm/PartnerDetailListingPaginated.js +359 -0
  259. package/dist/esm/PdfDownload.js +22 -0
  260. package/dist/esm/PixelTracking.js +182 -0
  261. package/dist/esm/PodcastsLanding.js +227 -0
  262. package/dist/esm/PopUpModal.js +51 -0
  263. package/dist/esm/PtceDeck.js +144 -0
  264. package/dist/esm/PubSection.js +114 -0
  265. package/dist/esm/PubToc.js +82 -0
  266. package/dist/esm/PublicationDeck.js +174 -0
  267. package/dist/esm/PublicationFeature-6c334891.js +121 -0
  268. package/dist/esm/PublicationLanding.js +816 -0
  269. package/dist/esm/QueueDeckExpanded.js +1534 -0
  270. package/dist/esm/QueueDeckExpandedPaginated.js +1381 -0
  271. package/dist/esm/RecentNews.js +85 -0
  272. package/dist/esm/RelatedContent.js +109 -0
  273. package/dist/esm/RelatedTopicsDropdown.js +82 -0
  274. package/dist/esm/RolesDeck.js +84 -0
  275. package/dist/esm/Schema.js +96 -0
  276. package/dist/esm/Search.js +57 -0
  277. package/dist/esm/Segment.js +456 -0
  278. package/dist/esm/SeriesListingDeck.js +241 -0
  279. package/dist/esm/SeriesSlider-acbdf4c9.js +326 -0
  280. package/dist/esm/SetCookie.js +8 -0
  281. package/dist/esm/SideFooter.js +146 -0
  282. package/dist/esm/SocialIcons.js +97 -0
  283. package/dist/esm/SocialSearchComponent-9e65c8d6.js +204 -0
  284. package/dist/esm/SocialShare.js +67 -0
  285. package/dist/esm/TaxonomyCard.js +246 -0
  286. package/dist/esm/TaxonomyDescription.js +201 -0
  287. package/dist/esm/TemplateNormal.js +197 -0
  288. package/dist/esm/ThumbnailCard.js +53 -0
  289. package/dist/esm/Tooltip-fe0ed92d.js +9532 -0
  290. package/dist/esm/Ustream.js +151 -0
  291. package/dist/esm/VerticalHero.js +69 -0
  292. package/dist/esm/VideoProgramLandingPage.js +253 -0
  293. package/dist/esm/VideoSeriesCard.js +82 -0
  294. package/dist/esm/VideoSeriesFilter.js +123 -0
  295. package/dist/esm/VideoSeriesLandingPage.js +172 -0
  296. package/dist/esm/VideoSeriesListing.js +414 -0
  297. package/dist/esm/View.js +2831 -0
  298. package/dist/esm/YahooHero.js +121 -0
  299. package/dist/esm/YoutubeGroup.js +366 -0
  300. package/dist/esm/_commonjsHelpers-0c4b6f40.js +19 -0
  301. package/dist/esm/_is-array-68c79b29.js +71 -0
  302. package/dist/esm/_iter-detect-2f89237f.js +48 -0
  303. package/dist/esm/_library-528f1934.js +3 -0
  304. package/dist/esm/_object-sap-14bd8e96.js +14 -0
  305. package/dist/esm/_object-to-array-9dfdfb29.js +23 -0
  306. package/dist/esm/_set-species-7d3317b7.js +50 -0
  307. package/dist/esm/asyncToGenerator-1ebeb135.js +1343 -0
  308. package/dist/esm/brightcove-react-player-loader.es-a2422c4b.js +2226 -0
  309. package/dist/esm/checkSisterSite-a7218fda.js +17 -0
  310. package/dist/esm/core.get-iterator-method-95db387d.js +547 -0
  311. package/dist/esm/debounce-533d9748.js +214 -0
  312. package/dist/esm/define-property-433c51d3.js +18 -0
  313. package/dist/esm/defineProperty-e5afb9eb.js +32 -0
  314. package/dist/esm/defineProperty-e8022d1e.js +66 -0
  315. package/dist/esm/entities-6d9154b4.js +507 -0
  316. package/dist/esm/eq-bdcbf886.js +76 -0
  317. package/dist/esm/extends-2f4448b8.js +94 -0
  318. package/dist/esm/faundadb.js +754 -0
  319. package/dist/esm/get-3c308da4.js +918 -0
  320. package/dist/esm/getContentCategory-15dcc413.js +9 -0
  321. package/dist/esm/getKeywords.js +44 -0
  322. package/dist/esm/getPtceActivities.js +88 -0
  323. package/dist/esm/getQuery.js +25 -0
  324. package/dist/esm/getRelatedArticle.js +764 -0
  325. package/dist/esm/getRootDocGroup.js +61 -0
  326. package/dist/esm/getSerializers.js +60 -0
  327. package/dist/esm/getSeriesDetail.js +38 -0
  328. package/dist/esm/getTIData.js +91 -0
  329. package/dist/esm/getTargeting-301942ae.js +163 -0
  330. package/dist/esm/getTargeting.js +6 -0
  331. package/dist/esm/iconBase-ccc56b97.js +81 -0
  332. package/dist/esm/index-3f5c03b2.js +553 -0
  333. package/dist/esm/index-4550ef23.js +1571 -0
  334. package/dist/esm/index-5cc7b406.js +1674 -0
  335. package/dist/esm/index-755f2cc2.js +605 -0
  336. package/dist/esm/index-a68bfe70.js +11743 -0
  337. package/dist/esm/index-c7e2ac95.js +52 -0
  338. package/dist/esm/index-c8d5e72b.js +99 -0
  339. package/dist/esm/index.es-a6137319.js +439 -0
  340. package/dist/esm/index.esm-1bd8a0a8.js +18 -0
  341. package/dist/esm/index.esm-9508070a.js +91 -0
  342. package/dist/esm/index.esm-9b042655.js +10 -0
  343. package/dist/esm/index.esm-eb1e8e80.js +14 -0
  344. package/dist/esm/index.js +531 -0
  345. package/dist/esm/inherits-96c84cbd.js +179 -0
  346. package/dist/esm/isSymbol-a7e9aafe.js +203 -0
  347. package/dist/esm/js.cookie-6874175c.js +158 -0
  348. package/dist/esm/keys-185288f4.js +23 -0
  349. package/dist/esm/lodash-f97fd99a.js +17193 -0
  350. package/dist/esm/main-754d4992.js +956 -0
  351. package/dist/esm/moment-48faeb9c.js +5682 -0
  352. package/dist/esm/react-social-icons-9be47857.js +609 -0
  353. package/dist/esm/slicedToArray-72ed566b.js +92 -0
  354. package/dist/esm/smoothscroll-fa4e3f8c.js +436 -0
  355. package/dist/esm/stringify-1e2a5946.js +15 -0
  356. package/dist/esm/style-inject.es-1f59c1d0.js +28 -0
  357. package/dist/esm/timeDifferenceCalc.js +37 -0
  358. package/dist/esm/toConsumableArray-e6f28e5c.js +71 -0
  359. package/dist/esm/toNumber-5aeba6e7.js +102 -0
  360. package/dist/esm/typeof-3ab7d3b6.js +378 -0
  361. package/dist/esm/urlFor.js +64 -0
  362. package/dist/esm/urlForFile-2e523b67.js +27 -0
  363. package/dist/esm/ustream-api-63a164b3.js +104 -0
  364. package/dist/esm/visibility-sensor-72fd8f8b.js +590 -0
  365. package/dist/esm/web.dom.iterable-3fffc027.js +48 -0
  366. package/package.json +55 -26
  367. package/dist/index.es.js +0 -20497
  368. package/dist/index.es.js.map +0 -1
  369. package/dist/index.js +0 -20535
  370. package/dist/index.js.map +0 -1
@@ -0,0 +1,556 @@
1
+ 'use strict';
2
+
3
+ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
+
5
+ var parseAssetId_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ var example = 'image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg';
8
+ function parseAssetId(ref) {
9
+ var _a = ref.split('-'), id = _a[1], dimensionString = _a[2], format = _a[3];
10
+ if (!id || !dimensionString || !format) {
11
+ throw new Error("Malformed asset _ref '" + ref + "'. Expected an id like \"" + example + "\".");
12
+ }
13
+ var _b = dimensionString.split('x'), imgWidthStr = _b[0], imgHeightStr = _b[1];
14
+ var width = +imgWidthStr;
15
+ var height = +imgHeightStr;
16
+ var isValidAssetId = isFinite(width) && isFinite(height);
17
+ if (!isValidAssetId) {
18
+ throw new Error("Malformed asset _ref '" + ref + "'. Expected an id like \"" + example + "\".");
19
+ }
20
+ return { id: id, width: width, height: height, format: format };
21
+ }
22
+ exports.default = parseAssetId;
23
+
24
+ });
25
+
26
+ _commonjsHelpers.unwrapExports(parseAssetId_1);
27
+
28
+ var parseSource_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
29
+ var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
30
+ __assign = Object.assign || function(t) {
31
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
32
+ s = arguments[i];
33
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
34
+ t[p] = s[p];
35
+ }
36
+ return t;
37
+ };
38
+ return __assign.apply(this, arguments);
39
+ };
40
+ Object.defineProperty(exports, "__esModule", { value: true });
41
+ var isRef = function (src) {
42
+ var source = src;
43
+ return source ? typeof source._ref === 'string' : false;
44
+ };
45
+ var isAsset = function (src) {
46
+ var source = src;
47
+ return source ? typeof source._id === 'string' : false;
48
+ };
49
+ var isAssetStub = function (src) {
50
+ var source = src;
51
+ return source && source.asset ? typeof source.asset.url === 'string' : false;
52
+ };
53
+ // Convert an asset-id, asset or image to an image record suitable for processing
54
+ // eslint-disable-next-line complexity
55
+ function parseSource(source) {
56
+ if (!source) {
57
+ return null;
58
+ }
59
+ var image;
60
+ if (typeof source === 'string' && isUrl(source)) {
61
+ // Someone passed an existing image url?
62
+ image = {
63
+ asset: { _ref: urlToId(source) },
64
+ };
65
+ }
66
+ else if (typeof source === 'string') {
67
+ // Just an asset id
68
+ image = {
69
+ asset: { _ref: source },
70
+ };
71
+ }
72
+ else if (isRef(source)) {
73
+ // We just got passed an asset directly
74
+ image = {
75
+ asset: source,
76
+ };
77
+ }
78
+ else if (isAsset(source)) {
79
+ // If we were passed an image asset document
80
+ image = {
81
+ asset: {
82
+ _ref: source._id || '',
83
+ },
84
+ };
85
+ }
86
+ else if (isAssetStub(source)) {
87
+ // If we were passed a partial asset (`url`, but no `_id`)
88
+ image = {
89
+ asset: {
90
+ _ref: urlToId(source.asset.url),
91
+ },
92
+ };
93
+ }
94
+ else if (typeof source.asset === 'object') {
95
+ // Probably an actual image with materialized asset
96
+ image = source;
97
+ }
98
+ else {
99
+ // We got something that does not look like an image, or it is an image
100
+ // that currently isn't sporting an asset.
101
+ return null;
102
+ }
103
+ var img = source;
104
+ if (img.crop) {
105
+ image.crop = img.crop;
106
+ }
107
+ if (img.hotspot) {
108
+ image.hotspot = img.hotspot;
109
+ }
110
+ return applyDefaults(image);
111
+ }
112
+ exports.default = parseSource;
113
+ function isUrl(url) {
114
+ return /^https?:\/\//.test("" + url);
115
+ }
116
+ function urlToId(url) {
117
+ var parts = url.split('/').slice(-1);
118
+ return ("image-" + parts[0]).replace(/\.([a-z]+)$/, '-$1');
119
+ }
120
+ // Mock crop and hotspot if image lacks it
121
+ function applyDefaults(image) {
122
+ if (image.crop && image.hotspot) {
123
+ return image;
124
+ }
125
+ // We need to pad in default values for crop or hotspot
126
+ var result = __assign({}, image);
127
+ if (!result.crop) {
128
+ result.crop = {
129
+ left: 0,
130
+ top: 0,
131
+ bottom: 0,
132
+ right: 0,
133
+ };
134
+ }
135
+ if (!result.hotspot) {
136
+ result.hotspot = {
137
+ x: 0.5,
138
+ y: 0.5,
139
+ height: 1.0,
140
+ width: 1.0,
141
+ };
142
+ }
143
+ return result;
144
+ }
145
+
146
+ });
147
+
148
+ _commonjsHelpers.unwrapExports(parseSource_1);
149
+
150
+ var urlForImage_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
151
+ var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
152
+ __assign = Object.assign || function(t) {
153
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
154
+ s = arguments[i];
155
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
156
+ t[p] = s[p];
157
+ }
158
+ return t;
159
+ };
160
+ return __assign.apply(this, arguments);
161
+ };
162
+ var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
163
+ return (mod && mod.__esModule) ? mod : { "default": mod };
164
+ };
165
+ Object.defineProperty(exports, "__esModule", { value: true });
166
+ var parseAssetId_1$1 = __importDefault(parseAssetId_1);
167
+ var parseSource_1$1 = __importDefault(parseSource_1);
168
+ exports.parseSource = parseSource_1$1.default;
169
+ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS = [
170
+ ['width', 'w'],
171
+ ['height', 'h'],
172
+ ['format', 'fm'],
173
+ ['download', 'dl'],
174
+ ['blur', 'blur'],
175
+ ['sharpen', 'sharp'],
176
+ ['invert', 'invert'],
177
+ ['orientation', 'or'],
178
+ ['minHeight', 'min-h'],
179
+ ['maxHeight', 'max-h'],
180
+ ['minWidth', 'min-w'],
181
+ ['maxWidth', 'max-w'],
182
+ ['quality', 'q'],
183
+ ['fit', 'fit'],
184
+ ['crop', 'crop'],
185
+ ['saturation', 'sat'],
186
+ ['auto', 'auto'],
187
+ ['dpr', 'dpr'],
188
+ ['pad', 'pad'],
189
+ ];
190
+ function urlForImage(options) {
191
+ var spec = __assign({}, (options || {}));
192
+ var source = spec.source;
193
+ delete spec.source;
194
+ var image = parseSource_1$1.default(source);
195
+ if (!image) {
196
+ return null;
197
+ }
198
+ var id = image.asset._ref || image.asset._id || '';
199
+ var asset = parseAssetId_1$1.default(id);
200
+ // Compute crop rect in terms of pixel coordinates in the raw source image
201
+ var cropLeft = Math.round(image.crop.left * asset.width);
202
+ var cropTop = Math.round(image.crop.top * asset.height);
203
+ var crop = {
204
+ left: cropLeft,
205
+ top: cropTop,
206
+ width: Math.round(asset.width - image.crop.right * asset.width - cropLeft),
207
+ height: Math.round(asset.height - image.crop.bottom * asset.height - cropTop),
208
+ };
209
+ // Compute hot spot rect in terms of pixel coordinates
210
+ var hotSpotVerticalRadius = (image.hotspot.height * asset.height) / 2;
211
+ var hotSpotHorizontalRadius = (image.hotspot.width * asset.width) / 2;
212
+ var hotSpotCenterX = image.hotspot.x * asset.width;
213
+ var hotSpotCenterY = image.hotspot.y * asset.height;
214
+ var hotspot = {
215
+ left: hotSpotCenterX - hotSpotHorizontalRadius,
216
+ top: hotSpotCenterY - hotSpotVerticalRadius,
217
+ right: hotSpotCenterX + hotSpotHorizontalRadius,
218
+ bottom: hotSpotCenterY + hotSpotVerticalRadius,
219
+ };
220
+ // If irrelevant, or if we are requested to: don't perform crop/fit based on
221
+ // the crop/hotspot.
222
+ if (!(spec.rect || spec.focalPoint || spec.ignoreImageParams || spec.crop)) {
223
+ spec = __assign(__assign({}, spec), fit({ crop: crop, hotspot: hotspot }, spec));
224
+ }
225
+ return specToImageUrl(__assign(__assign({}, spec), { asset: asset }));
226
+ }
227
+ exports.default = urlForImage;
228
+ // eslint-disable-next-line complexity
229
+ function specToImageUrl(spec) {
230
+ var cdnUrl = spec.baseUrl || 'https://cdn.sanity.io';
231
+ var filename = spec.asset.id + "-" + spec.asset.width + "x" + spec.asset.height + "." + spec.asset.format;
232
+ var baseUrl = cdnUrl + "/images/" + spec.projectId + "/" + spec.dataset + "/" + filename;
233
+ var params = [];
234
+ if (spec.rect) {
235
+ // Only bother url with a crop if it actually crops anything
236
+ var _a = spec.rect, left = _a.left, top_1 = _a.top, width = _a.width, height = _a.height;
237
+ var isEffectiveCrop = left !== 0 || top_1 !== 0 || height !== spec.asset.height || width !== spec.asset.width;
238
+ if (isEffectiveCrop) {
239
+ params.push("rect=" + left + "," + top_1 + "," + width + "," + height);
240
+ }
241
+ }
242
+ if (spec.bg) {
243
+ params.push("bg=" + spec.bg);
244
+ }
245
+ if (spec.focalPoint) {
246
+ params.push("fp-x=" + spec.focalPoint.x);
247
+ params.push("fp-y=" + spec.focalPoint.y);
248
+ }
249
+ var flip = [spec.flipHorizontal && 'h', spec.flipVertical && 'v'].filter(Boolean).join('');
250
+ if (flip) {
251
+ params.push("flip=" + flip);
252
+ }
253
+ // Map from spec name to url param name, and allow using the actual param name as an alternative
254
+ exports.SPEC_NAME_TO_URL_NAME_MAPPINGS.forEach(function (mapping) {
255
+ var specName = mapping[0], param = mapping[1];
256
+ if (typeof spec[specName] !== 'undefined') {
257
+ params.push(param + "=" + encodeURIComponent(spec[specName]));
258
+ }
259
+ else if (typeof spec[param] !== 'undefined') {
260
+ params.push(param + "=" + encodeURIComponent(spec[param]));
261
+ }
262
+ });
263
+ if (params.length === 0) {
264
+ return baseUrl;
265
+ }
266
+ return baseUrl + "?" + params.join('&');
267
+ }
268
+ function fit(source, spec) {
269
+ var cropRect;
270
+ var imgWidth = spec.width;
271
+ var imgHeight = spec.height;
272
+ // If we are not constraining the aspect ratio, we'll just use the whole crop
273
+ if (!(imgWidth && imgHeight)) {
274
+ return { width: imgWidth, height: imgHeight, rect: source.crop };
275
+ }
276
+ var crop = source.crop;
277
+ var hotspot = source.hotspot;
278
+ // If we are here, that means aspect ratio is locked and fitting will be a bit harder
279
+ var desiredAspectRatio = imgWidth / imgHeight;
280
+ var cropAspectRatio = crop.width / crop.height;
281
+ if (cropAspectRatio > desiredAspectRatio) {
282
+ // The crop is wider than the desired aspect ratio. That means we are cutting from the sides
283
+ var height = crop.height;
284
+ var width = height * desiredAspectRatio;
285
+ var top_2 = crop.top;
286
+ // Center output horizontally over hotspot
287
+ var hotspotXCenter = (hotspot.right - hotspot.left) / 2 + hotspot.left;
288
+ var left = hotspotXCenter - width / 2;
289
+ // Keep output within crop
290
+ if (left < crop.left) {
291
+ left = crop.left;
292
+ }
293
+ else if (left + width > crop.left + crop.width) {
294
+ left = crop.left + crop.width - width;
295
+ }
296
+ cropRect = {
297
+ left: Math.round(left),
298
+ top: Math.round(top_2),
299
+ width: Math.round(width),
300
+ height: Math.round(height),
301
+ };
302
+ }
303
+ else {
304
+ // The crop is taller than the desired ratio, we are cutting from top and bottom
305
+ var width = crop.width;
306
+ var height = width / desiredAspectRatio;
307
+ var left = crop.left;
308
+ // Center output vertically over hotspot
309
+ var hotspotYCenter = (hotspot.bottom - hotspot.top) / 2 + hotspot.top;
310
+ var top_3 = hotspotYCenter - height / 2;
311
+ // Keep output rect within crop
312
+ if (top_3 < crop.top) {
313
+ top_3 = crop.top;
314
+ }
315
+ else if (top_3 + height > crop.top + crop.height) {
316
+ top_3 = crop.top + crop.height - height;
317
+ }
318
+ cropRect = {
319
+ left: Math.max(0, Math.floor(left)),
320
+ top: Math.max(0, Math.floor(top_3)),
321
+ width: Math.round(width),
322
+ height: Math.round(height),
323
+ };
324
+ }
325
+ return {
326
+ width: imgWidth,
327
+ height: imgHeight,
328
+ rect: cropRect,
329
+ };
330
+ }
331
+
332
+ });
333
+
334
+ _commonjsHelpers.unwrapExports(urlForImage_1);
335
+ urlForImage_1.parseSource;
336
+ urlForImage_1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
337
+
338
+ var builder = _commonjsHelpers.createCommonjsModule(function (module, exports) {
339
+ var __assign = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__assign) || function () {
340
+ __assign = Object.assign || function(t) {
341
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
342
+ s = arguments[i];
343
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
344
+ t[p] = s[p];
345
+ }
346
+ return t;
347
+ };
348
+ return __assign.apply(this, arguments);
349
+ };
350
+ var __importStar = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importStar) || function (mod) {
351
+ if (mod && mod.__esModule) return mod;
352
+ var result = {};
353
+ if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
354
+ result["default"] = mod;
355
+ return result;
356
+ };
357
+ Object.defineProperty(exports, "__esModule", { value: true });
358
+ var urlForImage_1$1 = __importStar(urlForImage_1);
359
+ var validFits = ['clip', 'crop', 'fill', 'fillmax', 'max', 'scale', 'min'];
360
+ var validCrops = ['top', 'bottom', 'left', 'right', 'center', 'focalpoint', 'entropy'];
361
+ var validAutoModes = ['format'];
362
+ function isSanityClientLike(client) {
363
+ return client ? typeof client.clientConfig === 'object' : false;
364
+ }
365
+ function rewriteSpecName(key) {
366
+ var specs = urlForImage_1$1.SPEC_NAME_TO_URL_NAME_MAPPINGS;
367
+ for (var _i = 0, specs_1 = specs; _i < specs_1.length; _i++) {
368
+ var entry = specs_1[_i];
369
+ var specName = entry[0], param = entry[1];
370
+ if (key === specName || key === param) {
371
+ return specName;
372
+ }
373
+ }
374
+ return key;
375
+ }
376
+ function urlBuilder(options) {
377
+ // Did we get a SanityClient?
378
+ var client = options;
379
+ if (isSanityClientLike(client)) {
380
+ // Inherit config from client
381
+ var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
382
+ var apiHost = apiUrl || 'https://api.sanity.io';
383
+ return new ImageUrlBuilder(null, {
384
+ baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
385
+ projectId: projectId,
386
+ dataset: dataset,
387
+ });
388
+ }
389
+ // Or just accept the options as given
390
+ return new ImageUrlBuilder(null, options);
391
+ }
392
+ exports.default = urlBuilder;
393
+ var ImageUrlBuilder = /** @class */ (function () {
394
+ function ImageUrlBuilder(parent, options) {
395
+ this.options = parent
396
+ ? __assign(__assign({}, (parent.options || {})), (options || {})) : __assign({}, (options || {})); // Copy options
397
+ }
398
+ ImageUrlBuilder.prototype.withOptions = function (options) {
399
+ var baseUrl = options.baseUrl || this.options.baseUrl;
400
+ var newOptions = { baseUrl: baseUrl };
401
+ for (var key in options) {
402
+ if (options.hasOwnProperty(key)) {
403
+ var specKey = rewriteSpecName(key);
404
+ newOptions[specKey] = options[key];
405
+ }
406
+ }
407
+ return new ImageUrlBuilder(this, __assign({ baseUrl: baseUrl }, newOptions));
408
+ };
409
+ // The image to be represented. Accepts a Sanity 'image'-document, 'asset'-document or
410
+ // _id of asset. To get the benefit of automatic hot-spot/crop integration with the content
411
+ // studio, the 'image'-document must be provided.
412
+ ImageUrlBuilder.prototype.image = function (source) {
413
+ return this.withOptions({ source: source });
414
+ };
415
+ // Specify the dataset
416
+ ImageUrlBuilder.prototype.dataset = function (dataset) {
417
+ return this.withOptions({ dataset: dataset });
418
+ };
419
+ // Specify the projectId
420
+ ImageUrlBuilder.prototype.projectId = function (projectId) {
421
+ return this.withOptions({ projectId: projectId });
422
+ };
423
+ // Specify background color
424
+ ImageUrlBuilder.prototype.bg = function (bg) {
425
+ return this.withOptions({ bg: bg });
426
+ };
427
+ // Set DPR scaling factor
428
+ ImageUrlBuilder.prototype.dpr = function (dpr) {
429
+ return this.withOptions({ dpr: dpr });
430
+ };
431
+ // Specify the width of the image in pixels
432
+ ImageUrlBuilder.prototype.width = function (width) {
433
+ return this.withOptions({ width: width });
434
+ };
435
+ // Specify the height of the image in pixels
436
+ ImageUrlBuilder.prototype.height = function (height) {
437
+ return this.withOptions({ height: height });
438
+ };
439
+ // Specify focal point in fraction of image dimensions. Each component 0.0-1.0
440
+ ImageUrlBuilder.prototype.focalPoint = function (x, y) {
441
+ return this.withOptions({ focalPoint: { x: x, y: y } });
442
+ };
443
+ ImageUrlBuilder.prototype.maxWidth = function (maxWidth) {
444
+ return this.withOptions({ maxWidth: maxWidth });
445
+ };
446
+ ImageUrlBuilder.prototype.minWidth = function (minWidth) {
447
+ return this.withOptions({ minWidth: minWidth });
448
+ };
449
+ ImageUrlBuilder.prototype.maxHeight = function (maxHeight) {
450
+ return this.withOptions({ maxHeight: maxHeight });
451
+ };
452
+ ImageUrlBuilder.prototype.minHeight = function (minHeight) {
453
+ return this.withOptions({ minHeight: minHeight });
454
+ };
455
+ // Specify width and height in pixels
456
+ ImageUrlBuilder.prototype.size = function (width, height) {
457
+ return this.withOptions({ width: width, height: height });
458
+ };
459
+ // Specify blur between 0 and 100
460
+ ImageUrlBuilder.prototype.blur = function (blur) {
461
+ return this.withOptions({ blur: blur });
462
+ };
463
+ ImageUrlBuilder.prototype.sharpen = function (sharpen) {
464
+ return this.withOptions({ sharpen: sharpen });
465
+ };
466
+ // Specify the desired rectangle of the image
467
+ ImageUrlBuilder.prototype.rect = function (left, top, width, height) {
468
+ return this.withOptions({ rect: { left: left, top: top, width: width, height: height } });
469
+ };
470
+ // Specify the image format of the image. 'jpg', 'pjpg', 'png', 'webp'
471
+ ImageUrlBuilder.prototype.format = function (format) {
472
+ return this.withOptions({ format: format });
473
+ };
474
+ ImageUrlBuilder.prototype.invert = function (invert) {
475
+ return this.withOptions({ invert: invert });
476
+ };
477
+ // Rotation in degrees 0, 90, 180, 270
478
+ ImageUrlBuilder.prototype.orientation = function (orientation) {
479
+ return this.withOptions({ orientation: orientation });
480
+ };
481
+ // Compression quality 0-100
482
+ ImageUrlBuilder.prototype.quality = function (quality) {
483
+ return this.withOptions({ quality: quality });
484
+ };
485
+ // Make it a download link. Parameter is default filename.
486
+ ImageUrlBuilder.prototype.forceDownload = function (download) {
487
+ return this.withOptions({ download: download });
488
+ };
489
+ // Flip image horizontally
490
+ ImageUrlBuilder.prototype.flipHorizontal = function () {
491
+ return this.withOptions({ flipHorizontal: true });
492
+ };
493
+ // Flip image vertically
494
+ ImageUrlBuilder.prototype.flipVertical = function () {
495
+ return this.withOptions({ flipVertical: true });
496
+ };
497
+ // Ignore crop/hotspot from image record, even when present
498
+ ImageUrlBuilder.prototype.ignoreImageParams = function () {
499
+ return this.withOptions({ ignoreImageParams: true });
500
+ };
501
+ ImageUrlBuilder.prototype.fit = function (value) {
502
+ if (validFits.indexOf(value) === -1) {
503
+ throw new Error("Invalid fit mode \"" + value + "\"");
504
+ }
505
+ return this.withOptions({ fit: value });
506
+ };
507
+ ImageUrlBuilder.prototype.crop = function (value) {
508
+ if (validCrops.indexOf(value) === -1) {
509
+ throw new Error("Invalid crop mode \"" + value + "\"");
510
+ }
511
+ return this.withOptions({ crop: value });
512
+ };
513
+ // Saturation
514
+ ImageUrlBuilder.prototype.saturation = function (saturation) {
515
+ return this.withOptions({ saturation: saturation });
516
+ };
517
+ ImageUrlBuilder.prototype.auto = function (value) {
518
+ if (validAutoModes.indexOf(value) === -1) {
519
+ throw new Error("Invalid auto mode \"" + value + "\"");
520
+ }
521
+ return this.withOptions({ auto: value });
522
+ };
523
+ // Specify the number of pixels to pad the image
524
+ ImageUrlBuilder.prototype.pad = function (pad) {
525
+ return this.withOptions({ pad: pad });
526
+ };
527
+ // Gets the url based on the submitted parameters
528
+ ImageUrlBuilder.prototype.url = function () {
529
+ return urlForImage_1$1.default(this.options);
530
+ };
531
+ // Alias for url()
532
+ ImageUrlBuilder.prototype.toString = function () {
533
+ return this.url();
534
+ };
535
+ return ImageUrlBuilder;
536
+ }());
537
+ exports.ImageUrlBuilder = ImageUrlBuilder;
538
+
539
+ });
540
+
541
+ _commonjsHelpers.unwrapExports(builder);
542
+ builder.ImageUrlBuilder;
543
+
544
+ var node = _commonjsHelpers.createCommonjsModule(function (module) {
545
+ var __importDefault = (_commonjsHelpers.commonjsGlobal && _commonjsHelpers.commonjsGlobal.__importDefault) || function (mod) {
546
+ return (mod && mod.__esModule) ? mod : { "default": mod };
547
+ };
548
+ var builder_1 = __importDefault(builder);
549
+ module.exports = builder_1.default;
550
+
551
+ });
552
+
553
+ var imageUrlBuilder = _commonjsHelpers.unwrapExports(node);
554
+
555
+ exports.imageUrlBuilder = imageUrlBuilder;
556
+ exports.node = node;
@@ -0,0 +1,104 @@
1
+ 'use strict';
2
+
3
+ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
4
+
5
+ function _extends() {
6
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
7
+ for (var i = 1; i < arguments.length; i++) {
8
+ var source = arguments[i];
9
+
10
+ for (var key in source) {
11
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
12
+ target[key] = source[key];
13
+ }
14
+ }
15
+ }
16
+
17
+ return target;
18
+ };
19
+ return _extends.apply(this, arguments);
20
+ }
21
+
22
+ function _objectWithoutPropertiesLoose(source, excluded) {
23
+ if (source == null) return {};
24
+ var target = {};
25
+ var sourceKeys = Object.keys(source);
26
+ var key, i;
27
+
28
+ for (i = 0; i < sourceKeys.length; i++) {
29
+ key = sourceKeys[i];
30
+ if (excluded.indexOf(key) >= 0) continue;
31
+ target[key] = source[key];
32
+ }
33
+
34
+ return target;
35
+ }
36
+
37
+ function _setPrototypeOf(o, p) {
38
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
39
+ o.__proto__ = p;
40
+ return o;
41
+ };
42
+ return _setPrototypeOf(o, p);
43
+ }
44
+
45
+ var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
46
+ /*!
47
+ Copyright (c) 2018 Jed Watson.
48
+ Licensed under the MIT License (MIT), see
49
+ http://jedwatson.github.io/classnames
50
+ */
51
+ /* global define */
52
+
53
+ (function () {
54
+
55
+ var hasOwn = {}.hasOwnProperty;
56
+
57
+ function classNames() {
58
+ var classes = [];
59
+
60
+ for (var i = 0; i < arguments.length; i++) {
61
+ var arg = arguments[i];
62
+ if (!arg) continue;
63
+
64
+ var argType = typeof arg;
65
+
66
+ if (argType === 'string' || argType === 'number') {
67
+ classes.push(arg);
68
+ } else if (Array.isArray(arg)) {
69
+ if (arg.length) {
70
+ var inner = classNames.apply(null, arg);
71
+ if (inner) {
72
+ classes.push(inner);
73
+ }
74
+ }
75
+ } else if (argType === 'object') {
76
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
77
+ classes.push(arg.toString());
78
+ continue;
79
+ }
80
+
81
+ for (var key in arg) {
82
+ if (hasOwn.call(arg, key) && arg[key]) {
83
+ classes.push(key);
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ return classes.join(' ');
90
+ }
91
+
92
+ if (module.exports) {
93
+ classNames.default = classNames;
94
+ module.exports = classNames;
95
+ } else {
96
+ window.classNames = classNames;
97
+ }
98
+ }());
99
+ });
100
+
101
+ exports._extends = _extends;
102
+ exports._objectWithoutPropertiesLoose = _objectWithoutPropertiesLoose;
103
+ exports._setPrototypeOf = _setPrototypeOf;
104
+ exports.classnames = classnames;