sass-template-common 0.1.39 → 0.1.41

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 (426) hide show
  1. package/dist/sass-template-common.css +1 -0
  2. package/dist/sass-template-common.d.ts +4 -1
  3. package/dist/sass-template-common.js +12027 -2707
  4. package/dist/sass-template-common.umd.cjs +111 -3
  5. package/package.json +12 -335
  6. package/dist/AutorComponent.d.ts +0 -240
  7. package/dist/AutorComponent.js +0 -4
  8. package/dist/AutorComponent.umd.cjs +0 -1
  9. package/dist/AutorHeader1.d.ts +0 -64
  10. package/dist/AutorHeader1.js +0 -4
  11. package/dist/AutorHeader1.umd.cjs +0 -1
  12. package/dist/AutorHeader2.d.ts +0 -63
  13. package/dist/AutorHeader2.js +0 -4
  14. package/dist/AutorHeader2.umd.cjs +0 -1
  15. package/dist/BannerAdvertising.d.ts +0 -22
  16. package/dist/BannerAdvertising.js +0 -4
  17. package/dist/BannerAdvertising.umd.cjs +0 -1
  18. package/dist/BannerAdvertisingMiddle.d.ts +0 -22
  19. package/dist/BannerAdvertisingMiddle.js +0 -4
  20. package/dist/BannerAdvertisingMiddle.umd.cjs +0 -1
  21. package/dist/CarrouselCSR-CJYbRwia.js +0 -303
  22. package/dist/CarrouselCSR-DYd0tK22.cjs +0 -1
  23. package/dist/CarrouselCSR.d.ts +0 -17
  24. package/dist/CarrouselCSR.js +0 -5
  25. package/dist/CarrouselCSR.umd.cjs +0 -1
  26. package/dist/CarrouselIRS.d.ts +0 -17
  27. package/dist/CarrouselIRS.js +0 -5
  28. package/dist/CarrouselIRS.umd.cjs +0 -1
  29. package/dist/CarruselCard.d.ts +0 -177
  30. package/dist/CarruselCard.js +0 -4
  31. package/dist/CarruselCard.umd.cjs +0 -1
  32. package/dist/CarruselOpinion.d.ts +0 -172
  33. package/dist/CarruselOpinion.js +0 -4
  34. package/dist/CarruselOpinion.umd.cjs +0 -1
  35. package/dist/Clipboard-DjMsnSX4.js +0 -68
  36. package/dist/Clipboard-u_S1RBEo.cjs +0 -1
  37. package/dist/Close-C-8qzSDP.cjs +0 -1
  38. package/dist/Close-IzObL1Y8.js +0 -8
  39. package/dist/Comscore-Bq6K5xi3.js +0 -17
  40. package/dist/Comscore-DMCbZ32O.cjs +0 -1
  41. package/dist/Comscore.d.ts +0 -5
  42. package/dist/Comscore.js +0 -4
  43. package/dist/Comscore.umd.cjs +0 -1
  44. package/dist/ContactInfoServer.d.ts +0 -21
  45. package/dist/ContactInfoServer.js +0 -4
  46. package/dist/ContactInfoServer.umd.cjs +0 -1
  47. package/dist/ContactInput.d.ts +0 -10
  48. package/dist/ContactInput.js +0 -4
  49. package/dist/ContactInput.umd.cjs +0 -1
  50. package/dist/ContactSelect.d.ts +0 -16
  51. package/dist/ContactSelect.js +0 -4
  52. package/dist/ContactSelect.umd.cjs +0 -1
  53. package/dist/ContactTextarea.d.ts +0 -11
  54. package/dist/ContactTextarea.js +0 -4
  55. package/dist/ContactTextarea.umd.cjs +0 -1
  56. package/dist/ContentLayout1.d.ts +0 -12
  57. package/dist/ContentLayout1.js +0 -4
  58. package/dist/ContentLayout1.umd.cjs +0 -1
  59. package/dist/ContentLayoutTema.d.ts +0 -11
  60. package/dist/ContentLayoutTema.js +0 -4
  61. package/dist/ContentLayoutTema.umd.cjs +0 -1
  62. package/dist/DestacadoNoticias.d.ts +0 -187
  63. package/dist/DestacadoNoticias.js +0 -4
  64. package/dist/DestacadoNoticias.umd.cjs +0 -1
  65. package/dist/DestacadoVideos.d.ts +0 -117
  66. package/dist/DestacadoVideos.js +0 -4
  67. package/dist/DestacadoVideos.umd.cjs +0 -1
  68. package/dist/DynamicComponents-CAua5xWx.cjs +0 -1
  69. package/dist/DynamicComponents-g01hPNe8.js +0 -58
  70. package/dist/DynamicComponents.d.ts +0 -232
  71. package/dist/DynamicComponents.js +0 -4
  72. package/dist/DynamicComponents.umd.cjs +0 -1
  73. package/dist/DynamicMainSlot.d.ts +0 -24
  74. package/dist/DynamicMainSlot.js +0 -4
  75. package/dist/DynamicMainSlot.umd.cjs +0 -1
  76. package/dist/DynamicSlot.d.ts +0 -24
  77. package/dist/DynamicSlot.js +0 -4
  78. package/dist/DynamicSlot.umd.cjs +0 -1
  79. package/dist/EditorialBlock.d.ts +0 -180
  80. package/dist/EditorialBlock.js +0 -4
  81. package/dist/EditorialBlock.umd.cjs +0 -1
  82. package/dist/ErrorComponent.d.ts +0 -13
  83. package/dist/ErrorComponent.js +0 -4
  84. package/dist/ErrorComponent.umd.cjs +0 -1
  85. package/dist/Footer.d.ts +0 -27
  86. package/dist/Footer.js +0 -4
  87. package/dist/Footer.umd.cjs +0 -1
  88. package/dist/GA4-2trwkmRz.js +0 -45
  89. package/dist/GA4-BHcMQc6X.cjs +0 -7
  90. package/dist/GA4.d.ts +0 -12
  91. package/dist/GA4.js +0 -4
  92. package/dist/GA4.umd.cjs +0 -1
  93. package/dist/GTM-BYKEijOo.js +0 -34
  94. package/dist/GTM-DUpgJ4I-.cjs +0 -7
  95. package/dist/GTM.d.ts +0 -5
  96. package/dist/GTM.js +0 -4
  97. package/dist/GTM.umd.cjs +0 -1
  98. package/dist/Header.d.ts +0 -217
  99. package/dist/Header.js +0 -4
  100. package/dist/Header.umd.cjs +0 -1
  101. package/dist/ImageOffline.d.ts +0 -31
  102. package/dist/ImageOffline.js +0 -4
  103. package/dist/ImageOffline.umd.cjs +0 -1
  104. package/dist/Instagram-C7jTvuG0.cjs +0 -1
  105. package/dist/Instagram-m7-mm3Ce.js +0 -60
  106. package/dist/JournalistArticule2.d.ts +0 -77
  107. package/dist/JournalistArticule2.js +0 -4
  108. package/dist/JournalistArticule2.umd.cjs +0 -1
  109. package/dist/JournalistGroup.d.ts +0 -182
  110. package/dist/JournalistGroup.js +0 -4
  111. package/dist/JournalistGroup.umd.cjs +0 -1
  112. package/dist/LayoutNewsComponent.d.ts +0 -165
  113. package/dist/LayoutNewsComponent.js +0 -4
  114. package/dist/LayoutNewsComponent.umd.cjs +0 -1
  115. package/dist/Link-BZyN_6rI.js +0 -20
  116. package/dist/Link-CHPphz3c.cjs +0 -1
  117. package/dist/LinkedIn-BIuKknxr.cjs +0 -3
  118. package/dist/LinkedIn-CCndDbG_.js +0 -33
  119. package/dist/LiveBlogHeader.d.ts +0 -150
  120. package/dist/LiveBlogHeader.js +0 -4
  121. package/dist/LiveBlogHeader.umd.cjs +0 -1
  122. package/dist/Location.d.ts +0 -10
  123. package/dist/Location.js +0 -4
  124. package/dist/Location.umd.cjs +0 -1
  125. package/dist/Marfeel-B7k-2klo.js +0 -17
  126. package/dist/Marfeel-C-_4NuGW.cjs +0 -1
  127. package/dist/Marfeel.d.ts +0 -5
  128. package/dist/Marfeel.js +0 -4
  129. package/dist/Marfeel.umd.cjs +0 -1
  130. package/dist/MiddleSection.d.ts +0 -10
  131. package/dist/MiddleSection.js +0 -4
  132. package/dist/MiddleSection.umd.cjs +0 -1
  133. package/dist/Modulo1x3.d.ts +0 -247
  134. package/dist/Modulo1x3.js +0 -4
  135. package/dist/Modulo1x3.umd.cjs +0 -1
  136. package/dist/Modulo1x3Card.d.ts +0 -153
  137. package/dist/Modulo1x3Card.js +0 -4
  138. package/dist/Modulo1x3Card.umd.cjs +0 -1
  139. package/dist/Modulo1x4.d.ts +0 -189
  140. package/dist/Modulo1x4.js +0 -4
  141. package/dist/Modulo1x4.umd.cjs +0 -1
  142. package/dist/Modulo1x5.d.ts +0 -189
  143. package/dist/Modulo1x5.js +0 -4
  144. package/dist/Modulo1x5.umd.cjs +0 -1
  145. package/dist/Modulo2Columnas.d.ts +0 -175
  146. package/dist/Modulo2Columnas.js +0 -4
  147. package/dist/Modulo2Columnas.umd.cjs +0 -1
  148. package/dist/Modulo3Columnas.d.ts +0 -234
  149. package/dist/Modulo3Columnas.js +0 -4
  150. package/dist/Modulo3Columnas.umd.cjs +0 -1
  151. package/dist/ModuloNewsletter.d.ts +0 -32
  152. package/dist/ModuloNewsletter.js +0 -4
  153. package/dist/ModuloNewsletter.umd.cjs +0 -1
  154. package/dist/ModuloOpinion.d.ts +0 -170
  155. package/dist/ModuloOpinion.js +0 -4
  156. package/dist/ModuloOpinion.umd.cjs +0 -1
  157. package/dist/NewsComponent.d.ts +0 -294
  158. package/dist/NewsComponent.js +0 -4
  159. package/dist/NewsComponent.umd.cjs +0 -1
  160. package/dist/NewsContent.d.ts +0 -13
  161. package/dist/NewsContent.js +0 -4
  162. package/dist/NewsContent.umd.cjs +0 -1
  163. package/dist/NextPrev.d.ts +0 -16
  164. package/dist/NextPrev.js +0 -4
  165. package/dist/NextPrev.umd.cjs +0 -1
  166. package/dist/Play-DtFrAVg_.cjs +0 -1
  167. package/dist/Play-mVECew4T.js +0 -25
  168. package/dist/Readest.d.ts +0 -163
  169. package/dist/Readest.js +0 -4
  170. package/dist/Readest.umd.cjs +0 -1
  171. package/dist/SearchSection.d.ts +0 -30
  172. package/dist/SearchSection.js +0 -4
  173. package/dist/SearchSection.umd.cjs +0 -1
  174. package/dist/Section.d.ts +0 -16
  175. package/dist/Section.js +0 -4
  176. package/dist/Section.umd.cjs +0 -1
  177. package/dist/SectionCard.d.ts +0 -191
  178. package/dist/SectionCard.js +0 -4
  179. package/dist/SectionCard.umd.cjs +0 -1
  180. package/dist/SectionCard2.d.ts +0 -189
  181. package/dist/SectionCard2.js +0 -4
  182. package/dist/SectionCard2.umd.cjs +0 -1
  183. package/dist/SectionServerComponent.d.ts +0 -185
  184. package/dist/SectionServerComponent.js +0 -4
  185. package/dist/SectionServerComponent.umd.cjs +0 -1
  186. package/dist/ShowSection.d.ts +0 -12
  187. package/dist/ShowSection.js +0 -4
  188. package/dist/ShowSection.umd.cjs +0 -1
  189. package/dist/SocialIcons-Df5cb5eG.js +0 -148
  190. package/dist/SocialIcons-T8ywDEIw.cjs +0 -22
  191. package/dist/StaticSlotWrapper.d.ts +0 -13
  192. package/dist/StaticSlotWrapper.js +0 -4
  193. package/dist/StaticSlotWrapper.umd.cjs +0 -1
  194. package/dist/SubscribeColumn.d.ts +0 -33
  195. package/dist/SubscribeColumn.js +0 -4
  196. package/dist/SubscribeColumn.umd.cjs +0 -1
  197. package/dist/SubscribeRow.d.ts +0 -32
  198. package/dist/SubscribeRow.js +0 -4
  199. package/dist/SubscribeRow.umd.cjs +0 -1
  200. package/dist/SubscribeWhatsAppColumn.d.ts +0 -10
  201. package/dist/SubscribeWhatsAppColumn.js +0 -4
  202. package/dist/SubscribeWhatsAppColumn.umd.cjs +0 -1
  203. package/dist/TagComponent.d.ts +0 -33
  204. package/dist/TagComponent.js +0 -4
  205. package/dist/TagComponent.umd.cjs +0 -1
  206. package/dist/TagSection.d.ts +0 -28
  207. package/dist/TagSection.js +0 -4
  208. package/dist/TagSection.umd.cjs +0 -1
  209. package/dist/TimeLine.d.ts +0 -45
  210. package/dist/TimeLine.js +0 -4
  211. package/dist/TimeLine.umd.cjs +0 -1
  212. package/dist/VideoBlock3.d.ts +0 -65
  213. package/dist/VideoBlock3.js +0 -4
  214. package/dist/VideoBlock3.umd.cjs +0 -1
  215. package/dist/VideoBlock4.d.ts +0 -97
  216. package/dist/VideoBlock4.js +0 -4
  217. package/dist/VideoBlock4.umd.cjs +0 -1
  218. package/dist/VideoSection.d.ts +0 -65
  219. package/dist/VideoSection.js +0 -4
  220. package/dist/VideoSection.umd.cjs +0 -1
  221. package/dist/X-BZxGttQP.js +0 -5
  222. package/dist/X-D2YkFTMd.cjs +0 -1
  223. package/dist/assets/carrousel.css +0 -1
  224. package/dist/assets/comments.css +0 -1
  225. package/dist/assets/dynamicMainSlot.css +0 -1
  226. package/dist/assets/dynamicSlot.css +0 -1
  227. package/dist/assets/image-offline.css +0 -1
  228. package/dist/assets/index.css +0 -1
  229. package/dist/assets/index10.css +0 -1
  230. package/dist/assets/index11.css +0 -1
  231. package/dist/assets/index12.css +0 -1
  232. package/dist/assets/index13.css +0 -1
  233. package/dist/assets/index14.css +0 -1
  234. package/dist/assets/index15.css +0 -1
  235. package/dist/assets/index16.css +0 -1
  236. package/dist/assets/index17.css +0 -1
  237. package/dist/assets/index18.css +0 -1
  238. package/dist/assets/index19.css +0 -1
  239. package/dist/assets/index2.css +0 -1
  240. package/dist/assets/index20.css +0 -1
  241. package/dist/assets/index21.css +0 -1
  242. package/dist/assets/index22.css +0 -1
  243. package/dist/assets/index23.css +0 -1
  244. package/dist/assets/index24.css +0 -1
  245. package/dist/assets/index25.css +0 -1
  246. package/dist/assets/index26.css +0 -1
  247. package/dist/assets/index27.css +0 -1
  248. package/dist/assets/index28.css +0 -1
  249. package/dist/assets/index29.css +0 -1
  250. package/dist/assets/index3.css +0 -1
  251. package/dist/assets/index30.css +0 -1
  252. package/dist/assets/index31.css +0 -1
  253. package/dist/assets/index32.css +0 -1
  254. package/dist/assets/index33.css +0 -1
  255. package/dist/assets/index34.css +0 -1
  256. package/dist/assets/index35.css +0 -1
  257. package/dist/assets/index36.css +0 -1
  258. package/dist/assets/index37.css +0 -1
  259. package/dist/assets/index38.css +0 -1
  260. package/dist/assets/index39.css +0 -1
  261. package/dist/assets/index4.css +0 -1
  262. package/dist/assets/index40.css +0 -1
  263. package/dist/assets/index41.css +0 -1
  264. package/dist/assets/index42.css +0 -1
  265. package/dist/assets/index43.css +0 -1
  266. package/dist/assets/index44.css +0 -1
  267. package/dist/assets/index45.css +0 -1
  268. package/dist/assets/index46.css +0 -1
  269. package/dist/assets/index47.css +0 -1
  270. package/dist/assets/index48.css +0 -1
  271. package/dist/assets/index49.css +0 -1
  272. package/dist/assets/index5.css +0 -1
  273. package/dist/assets/index50.css +0 -1
  274. package/dist/assets/index6.css +0 -1
  275. package/dist/assets/index7.css +0 -1
  276. package/dist/assets/index8.css +0 -1
  277. package/dist/assets/index9.css +0 -1
  278. package/dist/assets/sass-template-common.css +0 -1
  279. package/dist/assets/section.card.css +0 -1
  280. package/dist/become-video-object-CgIYzHRq.js +0 -36
  281. package/dist/become-video-object-WRT2JnXP.cjs +0 -1
  282. package/dist/build-tag-url-BMptN9hq.cjs +0 -1
  283. package/dist/build-tag-url-BggBzzek.js +0 -7
  284. package/dist/comments-CnOBAekK.js +0 -2801
  285. package/dist/comments-vw6ZqDan.cjs +0 -74
  286. package/dist/compileStyleProps-5AwxR1Kg.cjs +0 -1
  287. package/dist/compileStyleProps-C3Ic-G8F.js +0 -9
  288. package/dist/config-BzB6kHCH.cjs +0 -1
  289. package/dist/config-aAufvvYO.js +0 -59
  290. package/dist/cut-string-B_KYH_LD.cjs +0 -1
  291. package/dist/cut-string-Bmt-tKWG.js +0 -4
  292. package/dist/date-format-CZUf6krO.js +0 -515
  293. package/dist/date-format-JqOZCdHW.cjs +0 -1
  294. package/dist/dynamicMainSlot-CWY6CjB7.js +0 -319
  295. package/dist/dynamicMainSlot-fqHTjgoU.cjs +0 -1
  296. package/dist/dynamicSlot-DL19jW8L.js +0 -169
  297. package/dist/dynamicSlot-Dj0VsU9z.cjs +0 -1
  298. package/dist/image-environtment-DvN02hR9.js +0 -13
  299. package/dist/image-environtment-n-o8Wvct.cjs +0 -1
  300. package/dist/image-offline.client-094B6Vbc.cjs +0 -1
  301. package/dist/image-offline.client-D_VOV4DF.js +0 -80
  302. package/dist/index-01sxU_nQ.cjs +0 -1
  303. package/dist/index-1nRlmYma.js +0 -175
  304. package/dist/index-206HWYfY.js +0 -106
  305. package/dist/index-2xLsJpig.js +0 -98
  306. package/dist/index-6nGoIas0.cjs +0 -1
  307. package/dist/index-6xbgjlTE.js +0 -208
  308. package/dist/index-79scsK_s.cjs +0 -1
  309. package/dist/index-8AIZcUFg.cjs +0 -1
  310. package/dist/index-B11FU2xn.cjs +0 -1
  311. package/dist/index-B3_gGLoj.cjs +0 -1
  312. package/dist/index-B8BHCE2p.js +0 -161
  313. package/dist/index-B8izkNKr.cjs +0 -1
  314. package/dist/index-B9BK2M6P.cjs +0 -1
  315. package/dist/index-B9jhBtiE.js +0 -109
  316. package/dist/index-BASp9Rw7.js +0 -39
  317. package/dist/index-BBaoMr4J.js +0 -9
  318. package/dist/index-BC_qZuA8.cjs +0 -1
  319. package/dist/index-BF1Iiz49.js +0 -80
  320. package/dist/index-BJWUECgU.js +0 -24
  321. package/dist/index-BM4EmmWC.cjs +0 -1
  322. package/dist/index-BMIGe0k3.js +0 -20
  323. package/dist/index-BT2xJxik.cjs +0 -1
  324. package/dist/index-BT8DDIgu.cjs +0 -1
  325. package/dist/index-BURxnRp9.js +0 -38
  326. package/dist/index-BVDmj2-u.cjs +0 -1
  327. package/dist/index-BVzh76v-.cjs +0 -1
  328. package/dist/index-BWvzK8By.js +0 -220
  329. package/dist/index-BeX3dr5Y.cjs +0 -1
  330. package/dist/index-BfMDHQVZ.cjs +0 -1
  331. package/dist/index-Bj5wiOtg.js +0 -83
  332. package/dist/index-BjQxKMZV.cjs +0 -1
  333. package/dist/index-BnCIkyjy.js +0 -9
  334. package/dist/index-BrzzDteW.cjs +0 -1
  335. package/dist/index-BuFCv_ZK.js +0 -970
  336. package/dist/index-Bvv8KLeV.cjs +0 -1
  337. package/dist/index-BymofdAP.js +0 -72
  338. package/dist/index-BziV6H04.js +0 -44
  339. package/dist/index-C09PzuZV.cjs +0 -1
  340. package/dist/index-C0T6q1l6.js +0 -25
  341. package/dist/index-C1eIq6sq.cjs +0 -1
  342. package/dist/index-C3a-esGw.js +0 -17
  343. package/dist/index-C4wV7YpT.js +0 -27
  344. package/dist/index-C5ddOOVA.cjs +0 -1
  345. package/dist/index-C8jv6y2S.js +0 -55
  346. package/dist/index-C9RSUrx6.cjs +0 -1
  347. package/dist/index-CC0Up8mz.js +0 -35
  348. package/dist/index-CF0dbpBz.js +0 -53
  349. package/dist/index-CFtQUkHA.cjs +0 -1
  350. package/dist/index-CGvv6Mz4.cjs +0 -1
  351. package/dist/index-CMvT-wav.js +0 -82
  352. package/dist/index-CQK9ULhe.js +0 -69
  353. package/dist/index-CRCuuj2w.cjs +0 -1
  354. package/dist/index-CWaNsBNE.cjs +0 -1
  355. package/dist/index-CXLoOs8-.js +0 -66
  356. package/dist/index-Cha1B0OE.cjs +0 -1
  357. package/dist/index-ClXVoyxi.cjs +0 -1
  358. package/dist/index-CuGk1qLi.cjs +0 -1
  359. package/dist/index-CuXn2KNK.js +0 -20
  360. package/dist/index-CvIjAQpP.cjs +0 -1
  361. package/dist/index-CwhtEO0_.js +0 -57
  362. package/dist/index-CzwqIqRa.js +0 -18
  363. package/dist/index-D0ijvW_Z.js +0 -136
  364. package/dist/index-D13w3ohD.cjs +0 -1
  365. package/dist/index-D2rzdhRp.cjs +0 -1
  366. package/dist/index-D4G63Cmc.js +0 -16
  367. package/dist/index-D50ReVGb.js +0 -74
  368. package/dist/index-D5SEzUHu.js +0 -32
  369. package/dist/index-D5sbe8cc.cjs +0 -1
  370. package/dist/index-DEDd6D4W.js +0 -8
  371. package/dist/index-DG5AJVRO.cjs +0 -1
  372. package/dist/index-DIbgvdRF.cjs +0 -1
  373. package/dist/index-DJDV_9DI.js +0 -98
  374. package/dist/index-DOKkCePN.cjs +0 -1
  375. package/dist/index-DOUgegj3.cjs +0 -1
  376. package/dist/index-DcEW6J_8.js +0 -64
  377. package/dist/index-DdqfhkBq.js +0 -143
  378. package/dist/index-DfxT97ME.js +0 -64
  379. package/dist/index-DiG2MZu5.js +0 -33
  380. package/dist/index-DmgMBpJx.js +0 -609
  381. package/dist/index-DnIMib6U.cjs +0 -1
  382. package/dist/index-Do1AIOsH.js +0 -7
  383. package/dist/index-DoyvTwqo.js +0 -12
  384. package/dist/index-Dp5yTP4L.cjs +0 -1
  385. package/dist/index-DpNeJc2k.cjs +0 -1
  386. package/dist/index-DqtiXHWZ.js +0 -50
  387. package/dist/index-Dt1KF0y9.cjs +0 -1
  388. package/dist/index-Dw11uZRk.cjs +0 -1
  389. package/dist/index-DwDCC2st.js +0 -41
  390. package/dist/index-DyCbgkPT.js +0 -50
  391. package/dist/index-DzxCd_Lw.cjs +0 -1
  392. package/dist/index-E-bijVAm.cjs +0 -1
  393. package/dist/index-EgaojWqy.js +0 -22
  394. package/dist/index-FHGXNMMw.cjs +0 -1
  395. package/dist/index-HmI2Ty6Z.js +0 -28
  396. package/dist/index-IuGcJ86k.cjs +0 -1
  397. package/dist/index-Kkux9VTu.cjs +0 -1
  398. package/dist/index-KmESlap_.js +0 -15
  399. package/dist/index-MFdRBVph.cjs +0 -1
  400. package/dist/index-XVuBbMF3.cjs +0 -1
  401. package/dist/index-XWcvMYgt.cjs +0 -1
  402. package/dist/index-ZvFtGSr-.js +0 -20
  403. package/dist/index-hUYWRY65.cjs +0 -1
  404. package/dist/index-jbOOF6ba.js +0 -29
  405. package/dist/index-k-7uO50f.cjs +0 -1
  406. package/dist/index-mYUGtZGn.js +0 -10
  407. package/dist/index-n7tqaTGB.cjs +0 -1
  408. package/dist/index-nWQFVTYn.js +0 -47
  409. package/dist/index-nmL6Djl5.js +0 -47
  410. package/dist/index-t891F8AX.js +0 -40
  411. package/dist/index-tqTHg0yi.js +0 -44
  412. package/dist/index-v7G2hPSn.js +0 -123
  413. package/dist/index-vaHN-n9C.cjs +0 -1
  414. package/dist/index-vp0fZr_A.cjs +0 -1
  415. package/dist/index-xDIiU7BB.js +0 -218
  416. package/dist/index-xLfu4_aj.cjs +0 -1
  417. package/dist/index-xynEpeyX.cjs +0 -1
  418. package/dist/index-yDSNW_-4.js +0 -53
  419. package/dist/index-zO225IHl.cjs +0 -1
  420. package/dist/section.card.server-BUfTTZSi.js +0 -54
  421. package/dist/section.card.server-UGrsIo_p.cjs +0 -1
  422. package/dist/shareButtons.d.ts +0 -19
  423. package/dist/shareButtons.js +0 -4
  424. package/dist/shareButtons.umd.cjs +0 -1
  425. package/dist/staticSlotWrapper-CmDA3CVW.cjs +0 -1
  426. package/dist/staticSlotWrapper-VRNBG2M8.js +0 -11
@@ -1,2801 +0,0 @@
1
- import { jsx as h, jsxs as E, Fragment as jt } from "react/jsx-runtime";
2
- import { R as Bt } from "./index-BuFCv_ZK.js";
3
- import { T as Ut } from "./index-KmESlap_.js";
4
- import { N as Ht } from "./index-xDIiU7BB.js";
5
- import { L as zt, s as ze, I as Dt } from "./index-CwhtEO0_.js";
6
- import { I as at } from "./index-v7G2hPSn.js";
7
- import { Fragment as Mt } from "react";
8
- import { b as ct } from "./date-format-CZUf6krO.js";
9
- import { B as X } from "./index-C0T6q1l6.js";
10
- import { a as qt, g as de } from "./image-environtment-DvN02hR9.js";
11
- import { s as N, S as Jt } from "./index-BWvzK8By.js";
12
- import { L as Wt } from "./Link-BZyN_6rI.js";
13
- import { g as lt } from "./config-aAufvvYO.js";
14
- import { C as Vt } from "./index-nmL6Djl5.js";
15
- import { B as oe } from "./index-CzwqIqRa.js";
16
- import { J as Gt } from "./index-6xbgjlTE.js";
17
- import { J as Kt } from "./index-yDSNW_-4.js";
18
- import { T as Zt } from "./index-D4G63Cmc.js";
19
- import { M as xe } from "./index-Do1AIOsH.js";
20
- import { D as Xt } from "./dynamicSlot-DL19jW8L.js";
21
- import { S as Yt } from "./index-DwDCC2st.js";
22
- import './assets/comments.css';function ut(e, t) {
23
- return function() {
24
- return e.apply(t, arguments);
25
- };
26
- }
27
- const { toString: Qt } = Object.prototype, { getPrototypeOf: $e } = Object, { iterator: he, toStringTag: dt } = Symbol, me = /* @__PURE__ */ ((e) => (t) => {
28
- const n = Qt.call(t);
29
- return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
30
- })(/* @__PURE__ */ Object.create(null)), L = (e) => (e = e.toLowerCase(), (t) => me(t) === e), pe = (e) => (t) => typeof t === e, { isArray: W } = Array, J = pe("undefined");
31
- function Y(e) {
32
- return e !== null && !J(e) && e.constructor !== null && !J(e.constructor) && T(e.constructor.isBuffer) && e.constructor.isBuffer(e);
33
- }
34
- const ft = L("ArrayBuffer");
35
- function en(e) {
36
- let t;
37
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ft(e.buffer), t;
38
- }
39
- const tn = pe("string"), T = pe("function"), ht = pe("number"), Q = (e) => e !== null && typeof e == "object", nn = (e) => e === !0 || e === !1, ce = (e) => {
40
- if (me(e) !== "object")
41
- return !1;
42
- const t = $e(e);
43
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(dt in e) && !(he in e);
44
- }, sn = (e) => {
45
- if (!Q(e) || Y(e))
46
- return !1;
47
- try {
48
- return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
49
- } catch {
50
- return !1;
51
- }
52
- }, rn = L("Date"), on = L("File"), an = L("Blob"), cn = L("FileList"), ln = (e) => Q(e) && T(e.pipe), un = (e) => {
53
- let t;
54
- return e && (typeof FormData == "function" && e instanceof FormData || T(e.append) && ((t = me(e)) === "formdata" || // detect form-data instance
55
- t === "object" && T(e.toString) && e.toString() === "[object FormData]"));
56
- }, dn = L("URLSearchParams"), [fn, hn, mn, pn] = ["ReadableStream", "Request", "Response", "Headers"].map(L), gn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
57
- function ee(e, t, { allOwnKeys: n = !1 } = {}) {
58
- if (e === null || typeof e > "u")
59
- return;
60
- let s, r;
61
- if (typeof e != "object" && (e = [e]), W(e))
62
- for (s = 0, r = e.length; s < r; s++)
63
- t.call(null, e[s], s, e);
64
- else {
65
- if (Y(e))
66
- return;
67
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
68
- let a;
69
- for (s = 0; s < i; s++)
70
- a = o[s], t.call(null, e[a], a, e);
71
- }
72
- }
73
- function mt(e, t) {
74
- if (Y(e))
75
- return null;
76
- t = t.toLowerCase();
77
- const n = Object.keys(e);
78
- let s = n.length, r;
79
- for (; s-- > 0; )
80
- if (r = n[s], t === r.toLowerCase())
81
- return r;
82
- return null;
83
- }
84
- const z = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, pt = (e) => !J(e) && e !== z;
85
- function Re() {
86
- const { caseless: e, skipUndefined: t } = pt(this) && this || {}, n = {}, s = (r, o) => {
87
- const i = e && mt(n, o) || o;
88
- ce(n[i]) && ce(r) ? n[i] = Re(n[i], r) : ce(r) ? n[i] = Re({}, r) : W(r) ? n[i] = r.slice() : (!t || !J(r)) && (n[i] = r);
89
- };
90
- for (let r = 0, o = arguments.length; r < o; r++)
91
- arguments[r] && ee(arguments[r], s);
92
- return n;
93
- }
94
- const wn = (e, t, n, { allOwnKeys: s } = {}) => (ee(t, (r, o) => {
95
- n && T(r) ? e[o] = ut(r, n) : e[o] = r;
96
- }, { allOwnKeys: s }), e), yn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), bn = (e, t, n, s) => {
97
- e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
98
- value: t.prototype
99
- }), n && Object.assign(e.prototype, n);
100
- }, Sn = (e, t, n, s) => {
101
- let r, o, i;
102
- const a = {};
103
- if (t = t || {}, e == null) return t;
104
- do {
105
- for (r = Object.getOwnPropertyNames(e), o = r.length; o-- > 0; )
106
- i = r[o], (!s || s(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
107
- e = n !== !1 && $e(e);
108
- } while (e && (!n || n(e, t)) && e !== Object.prototype);
109
- return t;
110
- }, xn = (e, t, n) => {
111
- e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
112
- const s = e.indexOf(t, n);
113
- return s !== -1 && s === n;
114
- }, En = (e) => {
115
- if (!e) return null;
116
- if (W(e)) return e;
117
- let t = e.length;
118
- if (!ht(t)) return null;
119
- const n = new Array(t);
120
- for (; t-- > 0; )
121
- n[t] = e[t];
122
- return n;
123
- }, Cn = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && $e(Uint8Array)), _n = (e, t) => {
124
- const s = (e && e[he]).call(e);
125
- let r;
126
- for (; (r = s.next()) && !r.done; ) {
127
- const o = r.value;
128
- t.call(e, o[0], o[1]);
129
- }
130
- }, An = (e, t) => {
131
- let n;
132
- const s = [];
133
- for (; (n = e.exec(t)) !== null; )
134
- s.push(n);
135
- return s;
136
- }, Rn = L("HTMLFormElement"), Nn = (e) => e.toLowerCase().replace(
137
- /[-_\s]([a-z\d])(\w*)/g,
138
- function(n, s, r) {
139
- return s.toUpperCase() + r;
140
- }
141
- ), De = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Tn = L("RegExp"), gt = (e, t) => {
142
- const n = Object.getOwnPropertyDescriptors(e), s = {};
143
- ee(n, (r, o) => {
144
- let i;
145
- (i = t(r, o, e)) !== !1 && (s[o] = i || r);
146
- }), Object.defineProperties(e, s);
147
- }, vn = (e) => {
148
- gt(e, (t, n) => {
149
- if (T(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
150
- return !1;
151
- const s = e[n];
152
- if (T(s)) {
153
- if (t.enumerable = !1, "writable" in t) {
154
- t.writable = !1;
155
- return;
156
- }
157
- t.set || (t.set = () => {
158
- throw Error("Can not rewrite read-only method '" + n + "'");
159
- });
160
- }
161
- });
162
- }, On = (e, t) => {
163
- const n = {}, s = (r) => {
164
- r.forEach((o) => {
165
- n[o] = !0;
166
- });
167
- };
168
- return W(e) ? s(e) : s(String(e).split(t)), n;
169
- }, $n = () => {
170
- }, Ln = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
171
- function Pn(e) {
172
- return !!(e && T(e.append) && e[dt] === "FormData" && e[he]);
173
- }
174
- const kn = (e) => {
175
- const t = new Array(10), n = (s, r) => {
176
- if (Q(s)) {
177
- if (t.indexOf(s) >= 0)
178
- return;
179
- if (Y(s))
180
- return s;
181
- if (!("toJSON" in s)) {
182
- t[r] = s;
183
- const o = W(s) ? [] : {};
184
- return ee(s, (i, a) => {
185
- const d = n(i, r + 1);
186
- !J(d) && (o[a] = d);
187
- }), t[r] = void 0, o;
188
- }
189
- }
190
- return s;
191
- };
192
- return n(e, 0);
193
- }, Fn = L("AsyncFunction"), In = (e) => e && (Q(e) || T(e)) && T(e.then) && T(e.catch), wt = ((e, t) => e ? setImmediate : t ? ((n, s) => (z.addEventListener("message", ({ source: r, data: o }) => {
194
- r === z && o === n && s.length && s.shift()();
195
- }, !1), (r) => {
196
- s.push(r), z.postMessage(n, "*");
197
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
198
- typeof setImmediate == "function",
199
- T(z.postMessage)
200
- ), jn = typeof queueMicrotask < "u" ? queueMicrotask.bind(z) : typeof process < "u" && process.nextTick || wt, Bn = (e) => e != null && T(e[he]), c = {
201
- isArray: W,
202
- isArrayBuffer: ft,
203
- isBuffer: Y,
204
- isFormData: un,
205
- isArrayBufferView: en,
206
- isString: tn,
207
- isNumber: ht,
208
- isBoolean: nn,
209
- isObject: Q,
210
- isPlainObject: ce,
211
- isEmptyObject: sn,
212
- isReadableStream: fn,
213
- isRequest: hn,
214
- isResponse: mn,
215
- isHeaders: pn,
216
- isUndefined: J,
217
- isDate: rn,
218
- isFile: on,
219
- isBlob: an,
220
- isRegExp: Tn,
221
- isFunction: T,
222
- isStream: ln,
223
- isURLSearchParams: dn,
224
- isTypedArray: Cn,
225
- isFileList: cn,
226
- forEach: ee,
227
- merge: Re,
228
- extend: wn,
229
- trim: gn,
230
- stripBOM: yn,
231
- inherits: bn,
232
- toFlatObject: Sn,
233
- kindOf: me,
234
- kindOfTest: L,
235
- endsWith: xn,
236
- toArray: En,
237
- forEachEntry: _n,
238
- matchAll: An,
239
- isHTMLForm: Rn,
240
- hasOwnProperty: De,
241
- hasOwnProp: De,
242
- // an alias to avoid ESLint no-prototype-builtins detection
243
- reduceDescriptors: gt,
244
- freezeMethods: vn,
245
- toObjectSet: On,
246
- toCamelCase: Nn,
247
- noop: $n,
248
- toFiniteNumber: Ln,
249
- findKey: mt,
250
- global: z,
251
- isContextDefined: pt,
252
- isSpecCompliantForm: Pn,
253
- toJSONObject: kn,
254
- isAsyncFn: Fn,
255
- isThenable: In,
256
- setImmediate: wt,
257
- asap: jn,
258
- isIterable: Bn
259
- };
260
- function y(e, t, n, s, r) {
261
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), s && (this.request = s), r && (this.response = r, this.status = r.status ? r.status : null);
262
- }
263
- c.inherits(y, Error, {
264
- toJSON: function() {
265
- return {
266
- // Standard
267
- message: this.message,
268
- name: this.name,
269
- // Microsoft
270
- description: this.description,
271
- number: this.number,
272
- // Mozilla
273
- fileName: this.fileName,
274
- lineNumber: this.lineNumber,
275
- columnNumber: this.columnNumber,
276
- stack: this.stack,
277
- // Axios
278
- config: c.toJSONObject(this.config),
279
- code: this.code,
280
- status: this.status
281
- };
282
- }
283
- });
284
- const yt = y.prototype, bt = {};
285
- [
286
- "ERR_BAD_OPTION_VALUE",
287
- "ERR_BAD_OPTION",
288
- "ECONNABORTED",
289
- "ETIMEDOUT",
290
- "ERR_NETWORK",
291
- "ERR_FR_TOO_MANY_REDIRECTS",
292
- "ERR_DEPRECATED",
293
- "ERR_BAD_RESPONSE",
294
- "ERR_BAD_REQUEST",
295
- "ERR_CANCELED",
296
- "ERR_NOT_SUPPORT",
297
- "ERR_INVALID_URL"
298
- // eslint-disable-next-line func-names
299
- ].forEach((e) => {
300
- bt[e] = { value: e };
301
- });
302
- Object.defineProperties(y, bt);
303
- Object.defineProperty(yt, "isAxiosError", { value: !0 });
304
- y.from = (e, t, n, s, r, o) => {
305
- const i = Object.create(yt);
306
- c.toFlatObject(e, i, function(u) {
307
- return u !== Error.prototype;
308
- }, (l) => l !== "isAxiosError");
309
- const a = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
310
- return y.call(i, a, d, n, s, r), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", o && Object.assign(i, o), i;
311
- };
312
- const Un = null;
313
- function Ne(e) {
314
- return c.isPlainObject(e) || c.isArray(e);
315
- }
316
- function St(e) {
317
- return c.endsWith(e, "[]") ? e.slice(0, -2) : e;
318
- }
319
- function Me(e, t, n) {
320
- return e ? e.concat(t).map(function(r, o) {
321
- return r = St(r), !n && o ? "[" + r + "]" : r;
322
- }).join(n ? "." : "") : t;
323
- }
324
- function Hn(e) {
325
- return c.isArray(e) && !e.some(Ne);
326
- }
327
- const zn = c.toFlatObject(c, {}, null, function(t) {
328
- return /^is[A-Z]/.test(t);
329
- });
330
- function ge(e, t, n) {
331
- if (!c.isObject(e))
332
- throw new TypeError("target must be an object");
333
- t = t || new FormData(), n = c.toFlatObject(n, {
334
- metaTokens: !0,
335
- dots: !1,
336
- indexes: !1
337
- }, !1, function(w, p) {
338
- return !c.isUndefined(p[w]);
339
- });
340
- const s = n.metaTokens, r = n.visitor || u, o = n.dots, i = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(t);
341
- if (!c.isFunction(r))
342
- throw new TypeError("visitor must be a function");
343
- function l(f) {
344
- if (f === null) return "";
345
- if (c.isDate(f))
346
- return f.toISOString();
347
- if (c.isBoolean(f))
348
- return f.toString();
349
- if (!d && c.isBlob(f))
350
- throw new y("Blob is not supported. Use a Buffer instead.");
351
- return c.isArrayBuffer(f) || c.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
352
- }
353
- function u(f, w, p) {
354
- let x = f;
355
- if (f && !p && typeof f == "object") {
356
- if (c.endsWith(w, "{}"))
357
- w = s ? w : w.slice(0, -2), f = JSON.stringify(f);
358
- else if (c.isArray(f) && Hn(f) || (c.isFileList(f) || c.endsWith(w, "[]")) && (x = c.toArray(f)))
359
- return w = St(w), x.forEach(function(S, R) {
360
- !(c.isUndefined(S) || S === null) && t.append(
361
- // eslint-disable-next-line no-nested-ternary
362
- i === !0 ? Me([w], R, o) : i === null ? w : w + "[]",
363
- l(S)
364
- );
365
- }), !1;
366
- }
367
- return Ne(f) ? !0 : (t.append(Me(p, w, o), l(f)), !1);
368
- }
369
- const m = [], g = Object.assign(zn, {
370
- defaultVisitor: u,
371
- convertValue: l,
372
- isVisitable: Ne
373
- });
374
- function b(f, w) {
375
- if (!c.isUndefined(f)) {
376
- if (m.indexOf(f) !== -1)
377
- throw Error("Circular reference detected in " + w.join("."));
378
- m.push(f), c.forEach(f, function(x, _) {
379
- (!(c.isUndefined(x) || x === null) && r.call(
380
- t,
381
- x,
382
- c.isString(_) ? _.trim() : _,
383
- w,
384
- g
385
- )) === !0 && b(x, w ? w.concat(_) : [_]);
386
- }), m.pop();
387
- }
388
- }
389
- if (!c.isObject(e))
390
- throw new TypeError("data must be an object");
391
- return b(e), t;
392
- }
393
- function qe(e) {
394
- const t = {
395
- "!": "%21",
396
- "'": "%27",
397
- "(": "%28",
398
- ")": "%29",
399
- "~": "%7E",
400
- "%20": "+",
401
- "%00": "\0"
402
- };
403
- return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(s) {
404
- return t[s];
405
- });
406
- }
407
- function Le(e, t) {
408
- this._pairs = [], e && ge(e, this, t);
409
- }
410
- const xt = Le.prototype;
411
- xt.append = function(t, n) {
412
- this._pairs.push([t, n]);
413
- };
414
- xt.toString = function(t) {
415
- const n = t ? function(s) {
416
- return t.call(this, s, qe);
417
- } : qe;
418
- return this._pairs.map(function(r) {
419
- return n(r[0]) + "=" + n(r[1]);
420
- }, "").join("&");
421
- };
422
- function Dn(e) {
423
- return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
424
- }
425
- function Et(e, t, n) {
426
- if (!t)
427
- return e;
428
- const s = n && n.encode || Dn;
429
- c.isFunction(n) && (n = {
430
- serialize: n
431
- });
432
- const r = n && n.serialize;
433
- let o;
434
- if (r ? o = r(t, n) : o = c.isURLSearchParams(t) ? t.toString() : new Le(t, n).toString(s), o) {
435
- const i = e.indexOf("#");
436
- i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
437
- }
438
- return e;
439
- }
440
- class Je {
441
- constructor() {
442
- this.handlers = [];
443
- }
444
- /**
445
- * Add a new interceptor to the stack
446
- *
447
- * @param {Function} fulfilled The function to handle `then` for a `Promise`
448
- * @param {Function} rejected The function to handle `reject` for a `Promise`
449
- *
450
- * @return {Number} An ID used to remove interceptor later
451
- */
452
- use(t, n, s) {
453
- return this.handlers.push({
454
- fulfilled: t,
455
- rejected: n,
456
- synchronous: s ? s.synchronous : !1,
457
- runWhen: s ? s.runWhen : null
458
- }), this.handlers.length - 1;
459
- }
460
- /**
461
- * Remove an interceptor from the stack
462
- *
463
- * @param {Number} id The ID that was returned by `use`
464
- *
465
- * @returns {void}
466
- */
467
- eject(t) {
468
- this.handlers[t] && (this.handlers[t] = null);
469
- }
470
- /**
471
- * Clear all interceptors from the stack
472
- *
473
- * @returns {void}
474
- */
475
- clear() {
476
- this.handlers && (this.handlers = []);
477
- }
478
- /**
479
- * Iterate over all the registered interceptors
480
- *
481
- * This method is particularly useful for skipping over any
482
- * interceptors that may have become `null` calling `eject`.
483
- *
484
- * @param {Function} fn The function to call for each interceptor
485
- *
486
- * @returns {void}
487
- */
488
- forEach(t) {
489
- c.forEach(this.handlers, function(s) {
490
- s !== null && t(s);
491
- });
492
- }
493
- }
494
- const Ct = {
495
- silentJSONParsing: !0,
496
- forcedJSONParsing: !0,
497
- clarifyTimeoutError: !1
498
- }, Mn = typeof URLSearchParams < "u" ? URLSearchParams : Le, qn = typeof FormData < "u" ? FormData : null, Jn = typeof Blob < "u" ? Blob : null, Wn = {
499
- isBrowser: !0,
500
- classes: {
501
- URLSearchParams: Mn,
502
- FormData: qn,
503
- Blob: Jn
504
- },
505
- protocols: ["http", "https", "file", "blob", "url", "data"]
506
- }, Pe = typeof window < "u" && typeof document < "u", Te = typeof navigator == "object" && navigator || void 0, Vn = Pe && (!Te || ["ReactNative", "NativeScript", "NS"].indexOf(Te.product) < 0), Gn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
507
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Kn = Pe && window.location.href || "http://localhost", Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
508
- __proto__: null,
509
- hasBrowserEnv: Pe,
510
- hasStandardBrowserEnv: Vn,
511
- hasStandardBrowserWebWorkerEnv: Gn,
512
- navigator: Te,
513
- origin: Kn
514
- }, Symbol.toStringTag, { value: "Module" })), A = {
515
- ...Zn,
516
- ...Wn
517
- };
518
- function Xn(e, t) {
519
- return ge(e, new A.classes.URLSearchParams(), {
520
- visitor: function(n, s, r, o) {
521
- return A.isNode && c.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
522
- },
523
- ...t
524
- });
525
- }
526
- function Yn(e) {
527
- return c.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
528
- }
529
- function Qn(e) {
530
- const t = {}, n = Object.keys(e);
531
- let s;
532
- const r = n.length;
533
- let o;
534
- for (s = 0; s < r; s++)
535
- o = n[s], t[o] = e[o];
536
- return t;
537
- }
538
- function _t(e) {
539
- function t(n, s, r, o) {
540
- let i = n[o++];
541
- if (i === "__proto__") return !0;
542
- const a = Number.isFinite(+i), d = o >= n.length;
543
- return i = !i && c.isArray(r) ? r.length : i, d ? (c.hasOwnProp(r, i) ? r[i] = [r[i], s] : r[i] = s, !a) : ((!r[i] || !c.isObject(r[i])) && (r[i] = []), t(n, s, r[i], o) && c.isArray(r[i]) && (r[i] = Qn(r[i])), !a);
544
- }
545
- if (c.isFormData(e) && c.isFunction(e.entries)) {
546
- const n = {};
547
- return c.forEachEntry(e, (s, r) => {
548
- t(Yn(s), r, n, 0);
549
- }), n;
550
- }
551
- return null;
552
- }
553
- function es(e, t, n) {
554
- if (c.isString(e))
555
- try {
556
- return (t || JSON.parse)(e), c.trim(e);
557
- } catch (s) {
558
- if (s.name !== "SyntaxError")
559
- throw s;
560
- }
561
- return (n || JSON.stringify)(e);
562
- }
563
- const te = {
564
- transitional: Ct,
565
- adapter: ["xhr", "http", "fetch"],
566
- transformRequest: [function(t, n) {
567
- const s = n.getContentType() || "", r = s.indexOf("application/json") > -1, o = c.isObject(t);
568
- if (o && c.isHTMLForm(t) && (t = new FormData(t)), c.isFormData(t))
569
- return r ? JSON.stringify(_t(t)) : t;
570
- if (c.isArrayBuffer(t) || c.isBuffer(t) || c.isStream(t) || c.isFile(t) || c.isBlob(t) || c.isReadableStream(t))
571
- return t;
572
- if (c.isArrayBufferView(t))
573
- return t.buffer;
574
- if (c.isURLSearchParams(t))
575
- return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
576
- let a;
577
- if (o) {
578
- if (s.indexOf("application/x-www-form-urlencoded") > -1)
579
- return Xn(t, this.formSerializer).toString();
580
- if ((a = c.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
581
- const d = this.env && this.env.FormData;
582
- return ge(
583
- a ? { "files[]": t } : t,
584
- d && new d(),
585
- this.formSerializer
586
- );
587
- }
588
- }
589
- return o || r ? (n.setContentType("application/json", !1), es(t)) : t;
590
- }],
591
- transformResponse: [function(t) {
592
- const n = this.transitional || te.transitional, s = n && n.forcedJSONParsing, r = this.responseType === "json";
593
- if (c.isResponse(t) || c.isReadableStream(t))
594
- return t;
595
- if (t && c.isString(t) && (s && !this.responseType || r)) {
596
- const i = !(n && n.silentJSONParsing) && r;
597
- try {
598
- return JSON.parse(t, this.parseReviver);
599
- } catch (a) {
600
- if (i)
601
- throw a.name === "SyntaxError" ? y.from(a, y.ERR_BAD_RESPONSE, this, null, this.response) : a;
602
- }
603
- }
604
- return t;
605
- }],
606
- /**
607
- * A timeout in milliseconds to abort a request. If set to 0 (default) a
608
- * timeout is not created.
609
- */
610
- timeout: 0,
611
- xsrfCookieName: "XSRF-TOKEN",
612
- xsrfHeaderName: "X-XSRF-TOKEN",
613
- maxContentLength: -1,
614
- maxBodyLength: -1,
615
- env: {
616
- FormData: A.classes.FormData,
617
- Blob: A.classes.Blob
618
- },
619
- validateStatus: function(t) {
620
- return t >= 200 && t < 300;
621
- },
622
- headers: {
623
- common: {
624
- Accept: "application/json, text/plain, */*",
625
- "Content-Type": void 0
626
- }
627
- }
628
- };
629
- c.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
630
- te.headers[e] = {};
631
- });
632
- const ts = c.toObjectSet([
633
- "age",
634
- "authorization",
635
- "content-length",
636
- "content-type",
637
- "etag",
638
- "expires",
639
- "from",
640
- "host",
641
- "if-modified-since",
642
- "if-unmodified-since",
643
- "last-modified",
644
- "location",
645
- "max-forwards",
646
- "proxy-authorization",
647
- "referer",
648
- "retry-after",
649
- "user-agent"
650
- ]), ns = (e) => {
651
- const t = {};
652
- let n, s, r;
653
- return e && e.split(`
654
- `).forEach(function(i) {
655
- r = i.indexOf(":"), n = i.substring(0, r).trim().toLowerCase(), s = i.substring(r + 1).trim(), !(!n || t[n] && ts[n]) && (n === "set-cookie" ? t[n] ? t[n].push(s) : t[n] = [s] : t[n] = t[n] ? t[n] + ", " + s : s);
656
- }), t;
657
- }, We = Symbol("internals");
658
- function K(e) {
659
- return e && String(e).trim().toLowerCase();
660
- }
661
- function le(e) {
662
- return e === !1 || e == null ? e : c.isArray(e) ? e.map(le) : String(e);
663
- }
664
- function ss(e) {
665
- const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
666
- let s;
667
- for (; s = n.exec(e); )
668
- t[s[1]] = s[2];
669
- return t;
670
- }
671
- const rs = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
672
- function Ee(e, t, n, s, r) {
673
- if (c.isFunction(s))
674
- return s.call(this, t, n);
675
- if (r && (t = n), !!c.isString(t)) {
676
- if (c.isString(s))
677
- return t.indexOf(s) !== -1;
678
- if (c.isRegExp(s))
679
- return s.test(t);
680
- }
681
- }
682
- function os(e) {
683
- return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, s) => n.toUpperCase() + s);
684
- }
685
- function is(e, t) {
686
- const n = c.toCamelCase(" " + t);
687
- ["get", "set", "has"].forEach((s) => {
688
- Object.defineProperty(e, s + n, {
689
- value: function(r, o, i) {
690
- return this[s].call(this, t, r, o, i);
691
- },
692
- configurable: !0
693
- });
694
- });
695
- }
696
- let v = class {
697
- constructor(t) {
698
- t && this.set(t);
699
- }
700
- set(t, n, s) {
701
- const r = this;
702
- function o(a, d, l) {
703
- const u = K(d);
704
- if (!u)
705
- throw new Error("header name must be a non-empty string");
706
- const m = c.findKey(r, u);
707
- (!m || r[m] === void 0 || l === !0 || l === void 0 && r[m] !== !1) && (r[m || d] = le(a));
708
- }
709
- const i = (a, d) => c.forEach(a, (l, u) => o(l, u, d));
710
- if (c.isPlainObject(t) || t instanceof this.constructor)
711
- i(t, n);
712
- else if (c.isString(t) && (t = t.trim()) && !rs(t))
713
- i(ns(t), n);
714
- else if (c.isObject(t) && c.isIterable(t)) {
715
- let a = {}, d, l;
716
- for (const u of t) {
717
- if (!c.isArray(u))
718
- throw TypeError("Object iterator must return a key-value pair");
719
- a[l = u[0]] = (d = a[l]) ? c.isArray(d) ? [...d, u[1]] : [d, u[1]] : u[1];
720
- }
721
- i(a, n);
722
- } else
723
- t != null && o(n, t, s);
724
- return this;
725
- }
726
- get(t, n) {
727
- if (t = K(t), t) {
728
- const s = c.findKey(this, t);
729
- if (s) {
730
- const r = this[s];
731
- if (!n)
732
- return r;
733
- if (n === !0)
734
- return ss(r);
735
- if (c.isFunction(n))
736
- return n.call(this, r, s);
737
- if (c.isRegExp(n))
738
- return n.exec(r);
739
- throw new TypeError("parser must be boolean|regexp|function");
740
- }
741
- }
742
- }
743
- has(t, n) {
744
- if (t = K(t), t) {
745
- const s = c.findKey(this, t);
746
- return !!(s && this[s] !== void 0 && (!n || Ee(this, this[s], s, n)));
747
- }
748
- return !1;
749
- }
750
- delete(t, n) {
751
- const s = this;
752
- let r = !1;
753
- function o(i) {
754
- if (i = K(i), i) {
755
- const a = c.findKey(s, i);
756
- a && (!n || Ee(s, s[a], a, n)) && (delete s[a], r = !0);
757
- }
758
- }
759
- return c.isArray(t) ? t.forEach(o) : o(t), r;
760
- }
761
- clear(t) {
762
- const n = Object.keys(this);
763
- let s = n.length, r = !1;
764
- for (; s--; ) {
765
- const o = n[s];
766
- (!t || Ee(this, this[o], o, t, !0)) && (delete this[o], r = !0);
767
- }
768
- return r;
769
- }
770
- normalize(t) {
771
- const n = this, s = {};
772
- return c.forEach(this, (r, o) => {
773
- const i = c.findKey(s, o);
774
- if (i) {
775
- n[i] = le(r), delete n[o];
776
- return;
777
- }
778
- const a = t ? os(o) : String(o).trim();
779
- a !== o && delete n[o], n[a] = le(r), s[a] = !0;
780
- }), this;
781
- }
782
- concat(...t) {
783
- return this.constructor.concat(this, ...t);
784
- }
785
- toJSON(t) {
786
- const n = /* @__PURE__ */ Object.create(null);
787
- return c.forEach(this, (s, r) => {
788
- s != null && s !== !1 && (n[r] = t && c.isArray(s) ? s.join(", ") : s);
789
- }), n;
790
- }
791
- [Symbol.iterator]() {
792
- return Object.entries(this.toJSON())[Symbol.iterator]();
793
- }
794
- toString() {
795
- return Object.entries(this.toJSON()).map(([t, n]) => t + ": " + n).join(`
796
- `);
797
- }
798
- getSetCookie() {
799
- return this.get("set-cookie") || [];
800
- }
801
- get [Symbol.toStringTag]() {
802
- return "AxiosHeaders";
803
- }
804
- static from(t) {
805
- return t instanceof this ? t : new this(t);
806
- }
807
- static concat(t, ...n) {
808
- const s = new this(t);
809
- return n.forEach((r) => s.set(r)), s;
810
- }
811
- static accessor(t) {
812
- const s = (this[We] = this[We] = {
813
- accessors: {}
814
- }).accessors, r = this.prototype;
815
- function o(i) {
816
- const a = K(i);
817
- s[a] || (is(r, i), s[a] = !0);
818
- }
819
- return c.isArray(t) ? t.forEach(o) : o(t), this;
820
- }
821
- };
822
- v.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
823
- c.reduceDescriptors(v.prototype, ({ value: e }, t) => {
824
- let n = t[0].toUpperCase() + t.slice(1);
825
- return {
826
- get: () => e,
827
- set(s) {
828
- this[n] = s;
829
- }
830
- };
831
- });
832
- c.freezeMethods(v);
833
- function Ce(e, t) {
834
- const n = this || te, s = t || n, r = v.from(s.headers);
835
- let o = s.data;
836
- return c.forEach(e, function(a) {
837
- o = a.call(n, o, r.normalize(), t ? t.status : void 0);
838
- }), r.normalize(), o;
839
- }
840
- function At(e) {
841
- return !!(e && e.__CANCEL__);
842
- }
843
- function V(e, t, n) {
844
- y.call(this, e ?? "canceled", y.ERR_CANCELED, t, n), this.name = "CanceledError";
845
- }
846
- c.inherits(V, y, {
847
- __CANCEL__: !0
848
- });
849
- function Rt(e, t, n) {
850
- const s = n.config.validateStatus;
851
- !n.status || !s || s(n.status) ? e(n) : t(new y(
852
- "Request failed with status code " + n.status,
853
- [y.ERR_BAD_REQUEST, y.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
854
- n.config,
855
- n.request,
856
- n
857
- ));
858
- }
859
- function as(e) {
860
- const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
861
- return t && t[1] || "";
862
- }
863
- function cs(e, t) {
864
- e = e || 10;
865
- const n = new Array(e), s = new Array(e);
866
- let r = 0, o = 0, i;
867
- return t = t !== void 0 ? t : 1e3, function(d) {
868
- const l = Date.now(), u = s[o];
869
- i || (i = l), n[r] = d, s[r] = l;
870
- let m = o, g = 0;
871
- for (; m !== r; )
872
- g += n[m++], m = m % e;
873
- if (r = (r + 1) % e, r === o && (o = (o + 1) % e), l - i < t)
874
- return;
875
- const b = u && l - u;
876
- return b ? Math.round(g * 1e3 / b) : void 0;
877
- };
878
- }
879
- function ls(e, t) {
880
- let n = 0, s = 1e3 / t, r, o;
881
- const i = (l, u = Date.now()) => {
882
- n = u, r = null, o && (clearTimeout(o), o = null), e(...l);
883
- };
884
- return [(...l) => {
885
- const u = Date.now(), m = u - n;
886
- m >= s ? i(l, u) : (r = l, o || (o = setTimeout(() => {
887
- o = null, i(r);
888
- }, s - m)));
889
- }, () => r && i(r)];
890
- }
891
- const fe = (e, t, n = 3) => {
892
- let s = 0;
893
- const r = cs(50, 250);
894
- return ls((o) => {
895
- const i = o.loaded, a = o.lengthComputable ? o.total : void 0, d = i - s, l = r(d), u = i <= a;
896
- s = i;
897
- const m = {
898
- loaded: i,
899
- total: a,
900
- progress: a ? i / a : void 0,
901
- bytes: d,
902
- rate: l || void 0,
903
- estimated: l && a && u ? (a - i) / l : void 0,
904
- event: o,
905
- lengthComputable: a != null,
906
- [t ? "download" : "upload"]: !0
907
- };
908
- e(m);
909
- }, n);
910
- }, Ve = (e, t) => {
911
- const n = e != null;
912
- return [(s) => t[0]({
913
- lengthComputable: n,
914
- total: e,
915
- loaded: s
916
- }), t[1]];
917
- }, Ge = (e) => (...t) => c.asap(() => e(...t)), us = A.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, A.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
918
- new URL(A.origin),
919
- A.navigator && /(msie|trident)/i.test(A.navigator.userAgent)
920
- ) : () => !0, ds = A.hasStandardBrowserEnv ? (
921
- // Standard browser envs support document.cookie
922
- {
923
- write(e, t, n, s, r, o, i) {
924
- if (typeof document > "u") return;
925
- const a = [`${e}=${encodeURIComponent(t)}`];
926
- c.isNumber(n) && a.push(`expires=${new Date(n).toUTCString()}`), c.isString(s) && a.push(`path=${s}`), c.isString(r) && a.push(`domain=${r}`), o === !0 && a.push("secure"), c.isString(i) && a.push(`SameSite=${i}`), document.cookie = a.join("; ");
927
- },
928
- read(e) {
929
- if (typeof document > "u") return null;
930
- const t = document.cookie.match(new RegExp("(?:^|; )" + e + "=([^;]*)"));
931
- return t ? decodeURIComponent(t[1]) : null;
932
- },
933
- remove(e) {
934
- this.write(e, "", Date.now() - 864e5, "/");
935
- }
936
- }
937
- ) : (
938
- // Non-standard browser env (web workers, react-native) lack needed support.
939
- {
940
- write() {
941
- },
942
- read() {
943
- return null;
944
- },
945
- remove() {
946
- }
947
- }
948
- );
949
- function fs(e) {
950
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
951
- }
952
- function hs(e, t) {
953
- return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
954
- }
955
- function Nt(e, t, n) {
956
- let s = !fs(t);
957
- return e && (s || n == !1) ? hs(e, t) : t;
958
- }
959
- const Ke = (e) => e instanceof v ? { ...e } : e;
960
- function M(e, t) {
961
- t = t || {};
962
- const n = {};
963
- function s(l, u, m, g) {
964
- return c.isPlainObject(l) && c.isPlainObject(u) ? c.merge.call({ caseless: g }, l, u) : c.isPlainObject(u) ? c.merge({}, u) : c.isArray(u) ? u.slice() : u;
965
- }
966
- function r(l, u, m, g) {
967
- if (c.isUndefined(u)) {
968
- if (!c.isUndefined(l))
969
- return s(void 0, l, m, g);
970
- } else return s(l, u, m, g);
971
- }
972
- function o(l, u) {
973
- if (!c.isUndefined(u))
974
- return s(void 0, u);
975
- }
976
- function i(l, u) {
977
- if (c.isUndefined(u)) {
978
- if (!c.isUndefined(l))
979
- return s(void 0, l);
980
- } else return s(void 0, u);
981
- }
982
- function a(l, u, m) {
983
- if (m in t)
984
- return s(l, u);
985
- if (m in e)
986
- return s(void 0, l);
987
- }
988
- const d = {
989
- url: o,
990
- method: o,
991
- data: o,
992
- baseURL: i,
993
- transformRequest: i,
994
- transformResponse: i,
995
- paramsSerializer: i,
996
- timeout: i,
997
- timeoutMessage: i,
998
- withCredentials: i,
999
- withXSRFToken: i,
1000
- adapter: i,
1001
- responseType: i,
1002
- xsrfCookieName: i,
1003
- xsrfHeaderName: i,
1004
- onUploadProgress: i,
1005
- onDownloadProgress: i,
1006
- decompress: i,
1007
- maxContentLength: i,
1008
- maxBodyLength: i,
1009
- beforeRedirect: i,
1010
- transport: i,
1011
- httpAgent: i,
1012
- httpsAgent: i,
1013
- cancelToken: i,
1014
- socketPath: i,
1015
- responseEncoding: i,
1016
- validateStatus: a,
1017
- headers: (l, u, m) => r(Ke(l), Ke(u), m, !0)
1018
- };
1019
- return c.forEach(Object.keys({ ...e, ...t }), function(u) {
1020
- const m = d[u] || r, g = m(e[u], t[u], u);
1021
- c.isUndefined(g) && m !== a || (n[u] = g);
1022
- }), n;
1023
- }
1024
- const Tt = (e) => {
1025
- const t = M({}, e);
1026
- let { data: n, withXSRFToken: s, xsrfHeaderName: r, xsrfCookieName: o, headers: i, auth: a } = t;
1027
- if (t.headers = i = v.from(i), t.url = Et(Nt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
1028
- "Authorization",
1029
- "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1030
- ), c.isFormData(n)) {
1031
- if (A.hasStandardBrowserEnv || A.hasStandardBrowserWebWorkerEnv)
1032
- i.setContentType(void 0);
1033
- else if (c.isFunction(n.getHeaders)) {
1034
- const d = n.getHeaders(), l = ["content-type", "content-length"];
1035
- Object.entries(d).forEach(([u, m]) => {
1036
- l.includes(u.toLowerCase()) && i.set(u, m);
1037
- });
1038
- }
1039
- }
1040
- if (A.hasStandardBrowserEnv && (s && c.isFunction(s) && (s = s(t)), s || s !== !1 && us(t.url))) {
1041
- const d = r && o && ds.read(o);
1042
- d && i.set(r, d);
1043
- }
1044
- return t;
1045
- }, ms = typeof XMLHttpRequest < "u", ps = ms && function(e) {
1046
- return new Promise(function(n, s) {
1047
- const r = Tt(e);
1048
- let o = r.data;
1049
- const i = v.from(r.headers).normalize();
1050
- let { responseType: a, onUploadProgress: d, onDownloadProgress: l } = r, u, m, g, b, f;
1051
- function w() {
1052
- b && b(), f && f(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
1053
- }
1054
- let p = new XMLHttpRequest();
1055
- p.open(r.method.toUpperCase(), r.url, !0), p.timeout = r.timeout;
1056
- function x() {
1057
- if (!p)
1058
- return;
1059
- const S = v.from(
1060
- "getAllResponseHeaders" in p && p.getAllResponseHeaders()
1061
- ), $ = {
1062
- data: !a || a === "text" || a === "json" ? p.responseText : p.response,
1063
- status: p.status,
1064
- statusText: p.statusText,
1065
- headers: S,
1066
- config: e,
1067
- request: p
1068
- };
1069
- Rt(function(O) {
1070
- n(O), w();
1071
- }, function(O) {
1072
- s(O), w();
1073
- }, $), p = null;
1074
- }
1075
- "onloadend" in p ? p.onloadend = x : p.onreadystatechange = function() {
1076
- !p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(x);
1077
- }, p.onabort = function() {
1078
- p && (s(new y("Request aborted", y.ECONNABORTED, e, p)), p = null);
1079
- }, p.onerror = function(R) {
1080
- const $ = R && R.message ? R.message : "Network Error", U = new y($, y.ERR_NETWORK, e, p);
1081
- U.event = R || null, s(U), p = null;
1082
- }, p.ontimeout = function() {
1083
- let R = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
1084
- const $ = r.transitional || Ct;
1085
- r.timeoutErrorMessage && (R = r.timeoutErrorMessage), s(new y(
1086
- R,
1087
- $.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
1088
- e,
1089
- p
1090
- )), p = null;
1091
- }, o === void 0 && i.setContentType(null), "setRequestHeader" in p && c.forEach(i.toJSON(), function(R, $) {
1092
- p.setRequestHeader($, R);
1093
- }), c.isUndefined(r.withCredentials) || (p.withCredentials = !!r.withCredentials), a && a !== "json" && (p.responseType = r.responseType), l && ([g, f] = fe(l, !0), p.addEventListener("progress", g)), d && p.upload && ([m, b] = fe(d), p.upload.addEventListener("progress", m), p.upload.addEventListener("loadend", b)), (r.cancelToken || r.signal) && (u = (S) => {
1094
- p && (s(!S || S.type ? new V(null, e, p) : S), p.abort(), p = null);
1095
- }, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
1096
- const _ = as(r.url);
1097
- if (_ && A.protocols.indexOf(_) === -1) {
1098
- s(new y("Unsupported protocol " + _ + ":", y.ERR_BAD_REQUEST, e));
1099
- return;
1100
- }
1101
- p.send(o || null);
1102
- });
1103
- }, gs = (e, t) => {
1104
- const { length: n } = e = e ? e.filter(Boolean) : [];
1105
- if (t || n) {
1106
- let s = new AbortController(), r;
1107
- const o = function(l) {
1108
- if (!r) {
1109
- r = !0, a();
1110
- const u = l instanceof Error ? l : this.reason;
1111
- s.abort(u instanceof y ? u : new V(u instanceof Error ? u.message : u));
1112
- }
1113
- };
1114
- let i = t && setTimeout(() => {
1115
- i = null, o(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT));
1116
- }, t);
1117
- const a = () => {
1118
- e && (i && clearTimeout(i), i = null, e.forEach((l) => {
1119
- l.unsubscribe ? l.unsubscribe(o) : l.removeEventListener("abort", o);
1120
- }), e = null);
1121
- };
1122
- e.forEach((l) => l.addEventListener("abort", o));
1123
- const { signal: d } = s;
1124
- return d.unsubscribe = () => c.asap(a), d;
1125
- }
1126
- }, ws = function* (e, t) {
1127
- let n = e.byteLength;
1128
- if (n < t) {
1129
- yield e;
1130
- return;
1131
- }
1132
- let s = 0, r;
1133
- for (; s < n; )
1134
- r = s + t, yield e.slice(s, r), s = r;
1135
- }, ys = async function* (e, t) {
1136
- for await (const n of bs(e))
1137
- yield* ws(n, t);
1138
- }, bs = async function* (e) {
1139
- if (e[Symbol.asyncIterator]) {
1140
- yield* e;
1141
- return;
1142
- }
1143
- const t = e.getReader();
1144
- try {
1145
- for (; ; ) {
1146
- const { done: n, value: s } = await t.read();
1147
- if (n)
1148
- break;
1149
- yield s;
1150
- }
1151
- } finally {
1152
- await t.cancel();
1153
- }
1154
- }, Ze = (e, t, n, s) => {
1155
- const r = ys(e, t);
1156
- let o = 0, i, a = (d) => {
1157
- i || (i = !0, s && s(d));
1158
- };
1159
- return new ReadableStream({
1160
- async pull(d) {
1161
- try {
1162
- const { done: l, value: u } = await r.next();
1163
- if (l) {
1164
- a(), d.close();
1165
- return;
1166
- }
1167
- let m = u.byteLength;
1168
- if (n) {
1169
- let g = o += m;
1170
- n(g);
1171
- }
1172
- d.enqueue(new Uint8Array(u));
1173
- } catch (l) {
1174
- throw a(l), l;
1175
- }
1176
- },
1177
- cancel(d) {
1178
- return a(d), r.return();
1179
- }
1180
- }, {
1181
- highWaterMark: 2
1182
- });
1183
- }, Xe = 64 * 1024, { isFunction: ie } = c, Ss = (({ Request: e, Response: t }) => ({
1184
- Request: e,
1185
- Response: t
1186
- }))(c.global), {
1187
- ReadableStream: Ye,
1188
- TextEncoder: Qe
1189
- } = c.global, et = (e, ...t) => {
1190
- try {
1191
- return !!e(...t);
1192
- } catch {
1193
- return !1;
1194
- }
1195
- }, xs = (e) => {
1196
- e = c.merge.call({
1197
- skipUndefined: !0
1198
- }, Ss, e);
1199
- const { fetch: t, Request: n, Response: s } = e, r = t ? ie(t) : typeof fetch == "function", o = ie(n), i = ie(s);
1200
- if (!r)
1201
- return !1;
1202
- const a = r && ie(Ye), d = r && (typeof Qe == "function" ? /* @__PURE__ */ ((f) => (w) => f.encode(w))(new Qe()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), l = o && a && et(() => {
1203
- let f = !1;
1204
- const w = new n(A.origin, {
1205
- body: new Ye(),
1206
- method: "POST",
1207
- get duplex() {
1208
- return f = !0, "half";
1209
- }
1210
- }).headers.has("Content-Type");
1211
- return f && !w;
1212
- }), u = i && a && et(() => c.isReadableStream(new s("").body)), m = {
1213
- stream: u && ((f) => f.body)
1214
- };
1215
- r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
1216
- !m[f] && (m[f] = (w, p) => {
1217
- let x = w && w[f];
1218
- if (x)
1219
- return x.call(w);
1220
- throw new y(`Response type '${f}' is not supported`, y.ERR_NOT_SUPPORT, p);
1221
- });
1222
- });
1223
- const g = async (f) => {
1224
- if (f == null)
1225
- return 0;
1226
- if (c.isBlob(f))
1227
- return f.size;
1228
- if (c.isSpecCompliantForm(f))
1229
- return (await new n(A.origin, {
1230
- method: "POST",
1231
- body: f
1232
- }).arrayBuffer()).byteLength;
1233
- if (c.isArrayBufferView(f) || c.isArrayBuffer(f))
1234
- return f.byteLength;
1235
- if (c.isURLSearchParams(f) && (f = f + ""), c.isString(f))
1236
- return (await d(f)).byteLength;
1237
- }, b = async (f, w) => {
1238
- const p = c.toFiniteNumber(f.getContentLength());
1239
- return p ?? g(w);
1240
- };
1241
- return async (f) => {
1242
- let {
1243
- url: w,
1244
- method: p,
1245
- data: x,
1246
- signal: _,
1247
- cancelToken: S,
1248
- timeout: R,
1249
- onDownloadProgress: $,
1250
- onUploadProgress: U,
1251
- responseType: O,
1252
- headers: be,
1253
- withCredentials: ne = "same-origin",
1254
- fetchOptions: Fe
1255
- } = Tt(f), Ie = t || fetch;
1256
- O = O ? (O + "").toLowerCase() : "text";
1257
- let se = gs([_, S && S.toAbortSignal()], R), G = null;
1258
- const H = se && se.unsubscribe && (() => {
1259
- se.unsubscribe();
1260
- });
1261
- let je;
1262
- try {
1263
- if (U && l && p !== "get" && p !== "head" && (je = await b(be, x)) !== 0) {
1264
- let j = new n(w, {
1265
- method: "POST",
1266
- body: x,
1267
- duplex: "half"
1268
- }), q;
1269
- if (c.isFormData(x) && (q = j.headers.get("content-type")) && be.setContentType(q), j.body) {
1270
- const [Se, re] = Ve(
1271
- je,
1272
- fe(Ge(U))
1273
- );
1274
- x = Ze(j.body, Xe, Se, re);
1275
- }
1276
- }
1277
- c.isString(ne) || (ne = ne ? "include" : "omit");
1278
- const P = o && "credentials" in n.prototype, Be = {
1279
- ...Fe,
1280
- signal: se,
1281
- method: p.toUpperCase(),
1282
- headers: be.normalize().toJSON(),
1283
- body: x,
1284
- duplex: "half",
1285
- credentials: P ? ne : void 0
1286
- };
1287
- G = o && new n(w, Be);
1288
- let I = await (o ? Ie(G, Fe) : Ie(w, Be));
1289
- const Ue = u && (O === "stream" || O === "response");
1290
- if (u && ($ || Ue && H)) {
1291
- const j = {};
1292
- ["status", "statusText", "headers"].forEach((He) => {
1293
- j[He] = I[He];
1294
- });
1295
- const q = c.toFiniteNumber(I.headers.get("content-length")), [Se, re] = $ && Ve(
1296
- q,
1297
- fe(Ge($), !0)
1298
- ) || [];
1299
- I = new s(
1300
- Ze(I.body, Xe, Se, () => {
1301
- re && re(), H && H();
1302
- }),
1303
- j
1304
- );
1305
- }
1306
- O = O || "text";
1307
- let It = await m[c.findKey(m, O) || "text"](I, f);
1308
- return !Ue && H && H(), await new Promise((j, q) => {
1309
- Rt(j, q, {
1310
- data: It,
1311
- headers: v.from(I.headers),
1312
- status: I.status,
1313
- statusText: I.statusText,
1314
- config: f,
1315
- request: G
1316
- });
1317
- });
1318
- } catch (P) {
1319
- throw H && H(), P && P.name === "TypeError" && /Load failed|fetch/i.test(P.message) ? Object.assign(
1320
- new y("Network Error", y.ERR_NETWORK, f, G),
1321
- {
1322
- cause: P.cause || P
1323
- }
1324
- ) : y.from(P, P && P.code, f, G);
1325
- }
1326
- };
1327
- }, Es = /* @__PURE__ */ new Map(), vt = (e) => {
1328
- let t = e && e.env || {};
1329
- const { fetch: n, Request: s, Response: r } = t, o = [
1330
- s,
1331
- r,
1332
- n
1333
- ];
1334
- let i = o.length, a = i, d, l, u = Es;
1335
- for (; a--; )
1336
- d = o[a], l = u.get(d), l === void 0 && u.set(d, l = a ? /* @__PURE__ */ new Map() : xs(t)), u = l;
1337
- return l;
1338
- };
1339
- vt();
1340
- const ke = {
1341
- http: Un,
1342
- xhr: ps,
1343
- fetch: {
1344
- get: vt
1345
- }
1346
- };
1347
- c.forEach(ke, (e, t) => {
1348
- if (e) {
1349
- try {
1350
- Object.defineProperty(e, "name", { value: t });
1351
- } catch {
1352
- }
1353
- Object.defineProperty(e, "adapterName", { value: t });
1354
- }
1355
- });
1356
- const tt = (e) => `- ${e}`, Cs = (e) => c.isFunction(e) || e === null || e === !1;
1357
- function _s(e, t) {
1358
- e = c.isArray(e) ? e : [e];
1359
- const { length: n } = e;
1360
- let s, r;
1361
- const o = {};
1362
- for (let i = 0; i < n; i++) {
1363
- s = e[i];
1364
- let a;
1365
- if (r = s, !Cs(s) && (r = ke[(a = String(s)).toLowerCase()], r === void 0))
1366
- throw new y(`Unknown adapter '${a}'`);
1367
- if (r && (c.isFunction(r) || (r = r.get(t))))
1368
- break;
1369
- o[a || "#" + i] = r;
1370
- }
1371
- if (!r) {
1372
- const i = Object.entries(o).map(
1373
- ([d, l]) => `adapter ${d} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
1374
- );
1375
- let a = n ? i.length > 1 ? `since :
1376
- ` + i.map(tt).join(`
1377
- `) : " " + tt(i[0]) : "as no adapter specified";
1378
- throw new y(
1379
- "There is no suitable adapter to dispatch the request " + a,
1380
- "ERR_NOT_SUPPORT"
1381
- );
1382
- }
1383
- return r;
1384
- }
1385
- const Ot = {
1386
- /**
1387
- * Resolve an adapter from a list of adapter names or functions.
1388
- * @type {Function}
1389
- */
1390
- getAdapter: _s,
1391
- /**
1392
- * Exposes all known adapters
1393
- * @type {Object<string, Function|Object>}
1394
- */
1395
- adapters: ke
1396
- };
1397
- function _e(e) {
1398
- if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1399
- throw new V(null, e);
1400
- }
1401
- function nt(e) {
1402
- return _e(e), e.headers = v.from(e.headers), e.data = Ce.call(
1403
- e,
1404
- e.transformRequest
1405
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ot.getAdapter(e.adapter || te.adapter, e)(e).then(function(s) {
1406
- return _e(e), s.data = Ce.call(
1407
- e,
1408
- e.transformResponse,
1409
- s
1410
- ), s.headers = v.from(s.headers), s;
1411
- }, function(s) {
1412
- return At(s) || (_e(e), s && s.response && (s.response.data = Ce.call(
1413
- e,
1414
- e.transformResponse,
1415
- s.response
1416
- ), s.response.headers = v.from(s.response.headers))), Promise.reject(s);
1417
- });
1418
- }
1419
- const $t = "1.13.2", we = {};
1420
- ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1421
- we[e] = function(s) {
1422
- return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
1423
- };
1424
- });
1425
- const st = {};
1426
- we.transitional = function(t, n, s) {
1427
- function r(o, i) {
1428
- return "[Axios v" + $t + "] Transitional option '" + o + "'" + i + (s ? ". " + s : "");
1429
- }
1430
- return (o, i, a) => {
1431
- if (t === !1)
1432
- throw new y(
1433
- r(i, " has been removed" + (n ? " in " + n : "")),
1434
- y.ERR_DEPRECATED
1435
- );
1436
- return n && !st[i] && (st[i] = !0, console.warn(
1437
- r(
1438
- i,
1439
- " has been deprecated since v" + n + " and will be removed in the near future"
1440
- )
1441
- )), t ? t(o, i, a) : !0;
1442
- };
1443
- };
1444
- we.spelling = function(t) {
1445
- return (n, s) => (console.warn(`${s} is likely a misspelling of ${t}`), !0);
1446
- };
1447
- function As(e, t, n) {
1448
- if (typeof e != "object")
1449
- throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
1450
- const s = Object.keys(e);
1451
- let r = s.length;
1452
- for (; r-- > 0; ) {
1453
- const o = s[r], i = t[o];
1454
- if (i) {
1455
- const a = e[o], d = a === void 0 || i(a, o, e);
1456
- if (d !== !0)
1457
- throw new y("option " + o + " must be " + d, y.ERR_BAD_OPTION_VALUE);
1458
- continue;
1459
- }
1460
- if (n !== !0)
1461
- throw new y("Unknown option " + o, y.ERR_BAD_OPTION);
1462
- }
1463
- }
1464
- const ue = {
1465
- assertOptions: As,
1466
- validators: we
1467
- }, k = ue.validators;
1468
- let D = class {
1469
- constructor(t) {
1470
- this.defaults = t || {}, this.interceptors = {
1471
- request: new Je(),
1472
- response: new Je()
1473
- };
1474
- }
1475
- /**
1476
- * Dispatch a request
1477
- *
1478
- * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
1479
- * @param {?Object} config
1480
- *
1481
- * @returns {Promise} The Promise to be fulfilled
1482
- */
1483
- async request(t, n) {
1484
- try {
1485
- return await this._request(t, n);
1486
- } catch (s) {
1487
- if (s instanceof Error) {
1488
- let r = {};
1489
- Error.captureStackTrace ? Error.captureStackTrace(r) : r = new Error();
1490
- const o = r.stack ? r.stack.replace(/^.+\n/, "") : "";
1491
- try {
1492
- s.stack ? o && !String(s.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (s.stack += `
1493
- ` + o) : s.stack = o;
1494
- } catch {
1495
- }
1496
- }
1497
- throw s;
1498
- }
1499
- }
1500
- _request(t, n) {
1501
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = M(this.defaults, n);
1502
- const { transitional: s, paramsSerializer: r, headers: o } = n;
1503
- s !== void 0 && ue.assertOptions(s, {
1504
- silentJSONParsing: k.transitional(k.boolean),
1505
- forcedJSONParsing: k.transitional(k.boolean),
1506
- clarifyTimeoutError: k.transitional(k.boolean)
1507
- }, !1), r != null && (c.isFunction(r) ? n.paramsSerializer = {
1508
- serialize: r
1509
- } : ue.assertOptions(r, {
1510
- encode: k.function,
1511
- serialize: k.function
1512
- }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), ue.assertOptions(n, {
1513
- baseUrl: k.spelling("baseURL"),
1514
- withXsrfToken: k.spelling("withXSRFToken")
1515
- }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1516
- let i = o && c.merge(
1517
- o.common,
1518
- o[n.method]
1519
- );
1520
- o && c.forEach(
1521
- ["delete", "get", "head", "post", "put", "patch", "common"],
1522
- (f) => {
1523
- delete o[f];
1524
- }
1525
- ), n.headers = v.concat(i, o);
1526
- const a = [];
1527
- let d = !0;
1528
- this.interceptors.request.forEach(function(w) {
1529
- typeof w.runWhen == "function" && w.runWhen(n) === !1 || (d = d && w.synchronous, a.unshift(w.fulfilled, w.rejected));
1530
- });
1531
- const l = [];
1532
- this.interceptors.response.forEach(function(w) {
1533
- l.push(w.fulfilled, w.rejected);
1534
- });
1535
- let u, m = 0, g;
1536
- if (!d) {
1537
- const f = [nt.bind(this), void 0];
1538
- for (f.unshift(...a), f.push(...l), g = f.length, u = Promise.resolve(n); m < g; )
1539
- u = u.then(f[m++], f[m++]);
1540
- return u;
1541
- }
1542
- g = a.length;
1543
- let b = n;
1544
- for (; m < g; ) {
1545
- const f = a[m++], w = a[m++];
1546
- try {
1547
- b = f(b);
1548
- } catch (p) {
1549
- w.call(this, p);
1550
- break;
1551
- }
1552
- }
1553
- try {
1554
- u = nt.call(this, b);
1555
- } catch (f) {
1556
- return Promise.reject(f);
1557
- }
1558
- for (m = 0, g = l.length; m < g; )
1559
- u = u.then(l[m++], l[m++]);
1560
- return u;
1561
- }
1562
- getUri(t) {
1563
- t = M(this.defaults, t);
1564
- const n = Nt(t.baseURL, t.url, t.allowAbsoluteUrls);
1565
- return Et(n, t.params, t.paramsSerializer);
1566
- }
1567
- };
1568
- c.forEach(["delete", "get", "head", "options"], function(t) {
1569
- D.prototype[t] = function(n, s) {
1570
- return this.request(M(s || {}, {
1571
- method: t,
1572
- url: n,
1573
- data: (s || {}).data
1574
- }));
1575
- };
1576
- });
1577
- c.forEach(["post", "put", "patch"], function(t) {
1578
- function n(s) {
1579
- return function(o, i, a) {
1580
- return this.request(M(a || {}, {
1581
- method: t,
1582
- headers: s ? {
1583
- "Content-Type": "multipart/form-data"
1584
- } : {},
1585
- url: o,
1586
- data: i
1587
- }));
1588
- };
1589
- }
1590
- D.prototype[t] = n(), D.prototype[t + "Form"] = n(!0);
1591
- });
1592
- let Rs = class Lt {
1593
- constructor(t) {
1594
- if (typeof t != "function")
1595
- throw new TypeError("executor must be a function.");
1596
- let n;
1597
- this.promise = new Promise(function(o) {
1598
- n = o;
1599
- });
1600
- const s = this;
1601
- this.promise.then((r) => {
1602
- if (!s._listeners) return;
1603
- let o = s._listeners.length;
1604
- for (; o-- > 0; )
1605
- s._listeners[o](r);
1606
- s._listeners = null;
1607
- }), this.promise.then = (r) => {
1608
- let o;
1609
- const i = new Promise((a) => {
1610
- s.subscribe(a), o = a;
1611
- }).then(r);
1612
- return i.cancel = function() {
1613
- s.unsubscribe(o);
1614
- }, i;
1615
- }, t(function(o, i, a) {
1616
- s.reason || (s.reason = new V(o, i, a), n(s.reason));
1617
- });
1618
- }
1619
- /**
1620
- * Throws a `CanceledError` if cancellation has been requested.
1621
- */
1622
- throwIfRequested() {
1623
- if (this.reason)
1624
- throw this.reason;
1625
- }
1626
- /**
1627
- * Subscribe to the cancel signal
1628
- */
1629
- subscribe(t) {
1630
- if (this.reason) {
1631
- t(this.reason);
1632
- return;
1633
- }
1634
- this._listeners ? this._listeners.push(t) : this._listeners = [t];
1635
- }
1636
- /**
1637
- * Unsubscribe from the cancel signal
1638
- */
1639
- unsubscribe(t) {
1640
- if (!this._listeners)
1641
- return;
1642
- const n = this._listeners.indexOf(t);
1643
- n !== -1 && this._listeners.splice(n, 1);
1644
- }
1645
- toAbortSignal() {
1646
- const t = new AbortController(), n = (s) => {
1647
- t.abort(s);
1648
- };
1649
- return this.subscribe(n), t.signal.unsubscribe = () => this.unsubscribe(n), t.signal;
1650
- }
1651
- /**
1652
- * Returns an object that contains a new `CancelToken` and a function that, when called,
1653
- * cancels the `CancelToken`.
1654
- */
1655
- static source() {
1656
- let t;
1657
- return {
1658
- token: new Lt(function(r) {
1659
- t = r;
1660
- }),
1661
- cancel: t
1662
- };
1663
- }
1664
- };
1665
- function Ns(e) {
1666
- return function(n) {
1667
- return e.apply(null, n);
1668
- };
1669
- }
1670
- function Ts(e) {
1671
- return c.isObject(e) && e.isAxiosError === !0;
1672
- }
1673
- const ve = {
1674
- Continue: 100,
1675
- SwitchingProtocols: 101,
1676
- Processing: 102,
1677
- EarlyHints: 103,
1678
- Ok: 200,
1679
- Created: 201,
1680
- Accepted: 202,
1681
- NonAuthoritativeInformation: 203,
1682
- NoContent: 204,
1683
- ResetContent: 205,
1684
- PartialContent: 206,
1685
- MultiStatus: 207,
1686
- AlreadyReported: 208,
1687
- ImUsed: 226,
1688
- MultipleChoices: 300,
1689
- MovedPermanently: 301,
1690
- Found: 302,
1691
- SeeOther: 303,
1692
- NotModified: 304,
1693
- UseProxy: 305,
1694
- Unused: 306,
1695
- TemporaryRedirect: 307,
1696
- PermanentRedirect: 308,
1697
- BadRequest: 400,
1698
- Unauthorized: 401,
1699
- PaymentRequired: 402,
1700
- Forbidden: 403,
1701
- NotFound: 404,
1702
- MethodNotAllowed: 405,
1703
- NotAcceptable: 406,
1704
- ProxyAuthenticationRequired: 407,
1705
- RequestTimeout: 408,
1706
- Conflict: 409,
1707
- Gone: 410,
1708
- LengthRequired: 411,
1709
- PreconditionFailed: 412,
1710
- PayloadTooLarge: 413,
1711
- UriTooLong: 414,
1712
- UnsupportedMediaType: 415,
1713
- RangeNotSatisfiable: 416,
1714
- ExpectationFailed: 417,
1715
- ImATeapot: 418,
1716
- MisdirectedRequest: 421,
1717
- UnprocessableEntity: 422,
1718
- Locked: 423,
1719
- FailedDependency: 424,
1720
- TooEarly: 425,
1721
- UpgradeRequired: 426,
1722
- PreconditionRequired: 428,
1723
- TooManyRequests: 429,
1724
- RequestHeaderFieldsTooLarge: 431,
1725
- UnavailableForLegalReasons: 451,
1726
- InternalServerError: 500,
1727
- NotImplemented: 501,
1728
- BadGateway: 502,
1729
- ServiceUnavailable: 503,
1730
- GatewayTimeout: 504,
1731
- HttpVersionNotSupported: 505,
1732
- VariantAlsoNegotiates: 506,
1733
- InsufficientStorage: 507,
1734
- LoopDetected: 508,
1735
- NotExtended: 510,
1736
- NetworkAuthenticationRequired: 511,
1737
- WebServerIsDown: 521,
1738
- ConnectionTimedOut: 522,
1739
- OriginIsUnreachable: 523,
1740
- TimeoutOccurred: 524,
1741
- SslHandshakeFailed: 525,
1742
- InvalidSslCertificate: 526
1743
- };
1744
- Object.entries(ve).forEach(([e, t]) => {
1745
- ve[t] = e;
1746
- });
1747
- function Pt(e) {
1748
- const t = new D(e), n = ut(D.prototype.request, t);
1749
- return c.extend(n, D.prototype, t, { allOwnKeys: !0 }), c.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
1750
- return Pt(M(e, r));
1751
- }, n;
1752
- }
1753
- const C = Pt(te);
1754
- C.Axios = D;
1755
- C.CanceledError = V;
1756
- C.CancelToken = Rs;
1757
- C.isCancel = At;
1758
- C.VERSION = $t;
1759
- C.toFormData = ge;
1760
- C.AxiosError = y;
1761
- C.Cancel = C.CanceledError;
1762
- C.all = function(t) {
1763
- return Promise.all(t);
1764
- };
1765
- C.spread = Ns;
1766
- C.isAxiosError = Ts;
1767
- C.mergeConfig = M;
1768
- C.AxiosHeaders = v;
1769
- C.formToJSON = (e) => _t(c.isHTMLForm(e) ? new FormData(e) : e);
1770
- C.getAdapter = Ot.getAdapter;
1771
- C.HttpStatusCode = ve;
1772
- C.default = C;
1773
- const {
1774
- Axios: io,
1775
- AxiosError: ao,
1776
- CanceledError: co,
1777
- isCancel: lo,
1778
- CancelToken: uo,
1779
- VERSION: fo,
1780
- all: ho,
1781
- Cancel: mo,
1782
- isAxiosError: po,
1783
- spread: go,
1784
- toFormData: wo,
1785
- AxiosHeaders: yo,
1786
- HttpStatusCode: bo,
1787
- formToJSON: So,
1788
- getAdapter: xo,
1789
- mergeConfig: Eo
1790
- } = C;
1791
- class ye {
1792
- constructor(t) {
1793
- this.props = t, t?.config?.configVersion && (this.configVersion = t.config.configVersion);
1794
- }
1795
- configVersion = ".config";
1796
- generateTokenOffline = async (t) => {
1797
- const {
1798
- PUBLIC_IS_OFFLINE: n,
1799
- PUBLIC_USERNAME_OFFLINE: s,
1800
- PUBLIC_PASSWORD_OFFLINE: r
1801
- } = lt();
1802
- if (n === "true")
1803
- try {
1804
- return (await this.props?.axiosApi.get("/auth", {
1805
- params: {
1806
- username: s,
1807
- password: r,
1808
- browserid: t
1809
- }
1810
- }).catch((i) => (console.log(`[/auth]Error: ${i.message}`), Promise.reject(i))))?.data.data[0]?.token;
1811
- } catch (o) {
1812
- console.log(`[/auth] Error: ${o.message}`), console.log(o);
1813
- }
1814
- };
1815
- getMainMenu = (t) => this.props?.axiosApi.get("/config/menu", { params: t }).catch((n) => (console.log(`[/config/menu] Error: ${n.message}`), Promise.reject(n)));
1816
- getNewsListZone = (t) => this.props?.axiosApi.get("/news-list-zone", { params: t }).catch((n) => (console.log(`[/news-list-zone] Error: ${n.message}`), Promise.reject(n)));
1817
- getNewsListZoneSection = (t) => this.props?.axiosApi.get("/news-list-zone-section", { params: t }).catch((n) => (console.log(`[/news-list-zone-section] Error: ${n.message}`), Promise.reject(n)));
1818
- getNewsList = (t) => this.props?.axiosApi.get("/news-list", { params: t }).catch((n) => (console.log(`[/news-list] Error: ${n.message}`), Promise.reject(n)));
1819
- getNewsListTag = (t) => this.props?.axiosApi.get("/news-list-tag", { params: t }).catch((n) => (console.log(`[/news-list-tag] Error: ${n.message}`), Promise.reject(n)));
1820
- getNewsListSection = (t) => this.props?.axiosApi.get("/news-list-section", { params: t }).catch((n) => (console.log(`[/news-list-section] Error: ${n.message}`), Promise.reject(n)));
1821
- getNewsListAvanced = (t) => this.props?.axiosApi.get("/news-list-advanced", { params: t }).catch((n) => (console.log(`[/news-list-advanced] Error: ${n.message}`), Promise.reject(n)));
1822
- getNewsListTags = (t) => this.props?.axiosApi.get("/news-list-tag", { params: t }).catch((n) => (console.log(`[/news-list-tag] Error: ${n.message}`), Promise.reject(n)));
1823
- getNewsListAutor = (t) => this.props?.axiosApi.get("/news-list-author", { params: t }).catch((n) => (console.log(`[/news-list-author] Error: ${n.message}`), Promise.reject(n)));
1824
- getNewsSearch = (t) => this.props?.axiosApi.get("/news-list-search", { params: t }).catch((n) => (console.log(`[/news-list-search] Error: ${n.message}`), Promise.reject(n)));
1825
- getAutorInfo = (t) => this.props?.axiosApi.get("/authors", { params: t }).catch((n) => (console.log(`[/authors] Error: ${n.message}`), Promise.reject(n)));
1826
- getvideoListAdvanced = (t) => this.props?.axiosApi.get("/videos-list-advanced", { params: t }).catch((n) => (console.log(`[/videos-list-advanced] Error: ${n.message}`), Promise.reject(n)));
1827
- getVideos = (t) => this.props?.axiosApi.get("/videos", { params: t }).catch((n) => (console.log(`[/videos] Error: ${n.message}`), Promise.reject(n)));
1828
- getVideosList = (t) => this.props?.axiosApi.get("/videos-list", { params: t }).catch((n) => (console.log(`[/videos-list] Error: ${n.message}`), Promise.reject(n)));
1829
- getBanners = async (t) => this.props?.axiosApi.get("/config/banners", {
1830
- params: {
1831
- ...t,
1832
- path: this.props?.config?.servicePrefix + `/${this.configVersion}/banners.html`
1833
- }
1834
- }).catch((n) => (console.log(`[/config/banners] Error: ${n.message}`), Promise.reject(n)));
1835
- getPages = (t) => this.props?.axiosApi.get("/config/pages", { params: t }).catch((n) => (console.log(`[/config/pages] Error: ${n.message}`), Promise.reject(n)));
1836
- getRankingS3 = async (t, n = {
1837
- Referer: "https://goamg.amplifyapp.com/vndomv"
1838
- }) => !t || t === "" ? { data: [] } : await C.get(t, { headers: n }).catch((s) => {
1839
- console.log(`[Rankings s3] Error: ${s.message}`);
1840
- });
1841
- getNews = (t) => this.props?.axiosApi.get("/news", {
1842
- params: {
1843
- ...t,
1844
- exclude: `${t.exclude},pixel`
1845
- }
1846
- }).catch((n) => (console.log(`[/news] Error: ${n.message}`), Promise.reject(n)));
1847
- getNewsMultimedia = (t) => this.props?.axiosApi.get("/news-items-multimedia", { params: t }).catch((n) => (console.log(`[/news-items-multimedia] Error: ${n.message}`), Promise.reject(n)));
1848
- getNewsItemsList = (t) => this.props?.axiosApi.get("/news-items-list", { params: t }).catch((n) => (console.log(`[/news-items-list] Error: ${n.message}`), Promise.reject(n)));
1849
- getNewsItemsRelated = (t) => this.props?.axiosApi.get("/news-items-related", {
1850
- params: {
1851
- path: t,
1852
- // size: NewsListSizes['Carrusel card'].size,
1853
- imagesizes: this.props?.imgSizes.md,
1854
- exclude: "keywords,gallery,related,relatedexternal,external,customfields"
1855
- }
1856
- }).catch((n) => (console.log(`[/news-items-related] Error: ${n.message}`), { data: { data: [] } }));
1857
- sendEmail = (t) => this.props?.axiosApi.post("/send/email", t, {
1858
- headers: {
1859
- "Content-Type": "application/x-www-form-urlencoded",
1860
- Cookie: "JSESSIONID=21FDC2B9C2782893562BC53D52981A0B"
1861
- }
1862
- }).catch((n) => (console.log(`[/send/email] Error: ${n.message}`), Promise.reject(n)));
1863
- searchData = async (t) => {
1864
- const n = await this.getNewsSearch(t);
1865
- return n && n?.data.data && n?.data.data.length > 0 ? {
1866
- search: n
1867
- } : {
1868
- lastNews: await this.getNewsList({
1869
- size: 15,
1870
- exclude: "keywords,gallery,related,relatedexternal,external,customfields",
1871
- imagesizes: this.props?.imgSizes.md,
1872
- newstype: this.props?.config?.newsType
1873
- })
1874
- };
1875
- };
1876
- }
1877
- const vs = "_tagContent_ee6yw_1", Os = "_contentLayout2_ee6yw_9", $s = "_contentHeader_ee6yw_42", Oe = {
1878
- tagContent: vs,
1879
- contentLayout2: Os,
1880
- contentHeader: $s
1881
- }, Ls = "_content_1rbrt_1", Ps = {
1882
- content: Ls
1883
- }, ks = ({ children: e, className: t = "" }) => /* @__PURE__ */ h(
1884
- "div",
1885
- {
1886
- className: `content-layout-2 ${Ps.content} ${t}`,
1887
- children: e
1888
- }
1889
- ), Fs = "_container_1insg_1", Is = "_note_1insg_10", js = "_commercial_1insg_50", Bs = "_commercialContent_1insg_67", Us = "_complement_1insg_83", Z = {
1890
- container: Fs,
1891
- note: Is,
1892
- commercial: js,
1893
- commercialContent: Bs,
1894
- complement: Us
1895
- }, Hs = (e) => /* @__PURE__ */ E("section", { className: Z.container, children: [
1896
- /* @__PURE__ */ h("div", { className: Z.note, children: e.children }),
1897
- /* @__PURE__ */ h("div", { className: Z.commercial, children: /* @__PURE__ */ E("div", { className: Z.commercialContent, children: [
1898
- e.slug === "liveblogs" && /* @__PURE__ */ h(Ut, { itemList: e.itemList }),
1899
- e.bannerTop,
1900
- /* @__PURE__ */ h(
1901
- Bt,
1902
- {
1903
- content: e.ranking,
1904
- title: e.texts.readestTitle,
1905
- paths: e.paths,
1906
- customNewsDescriptionStyles: {
1907
- "--news-description-title-size-desk": "16px",
1908
- "--news-description-title-line-height-desk": "22px",
1909
- "--news-description-title-size-mobile": "16px",
1910
- "--news-description-title-line-height-mobile": "22px"
1911
- }
1912
- }
1913
- ),
1914
- /* @__PURE__ */ h("div", { style: { position: "sticky", top: "110px" }, children: e.banner })
1915
- ] }) }),
1916
- /* @__PURE__ */ h("div", { className: Z.complement, children: e.complement })
1917
- ] }), zs = (e) => {
1918
- const t = {
1919
- ...e.news[0],
1920
- config: {
1921
- zonehome: void 0,
1922
- priorityhome: "",
1923
- zonesection: "",
1924
- prioritysection: ",",
1925
- homepreview: "",
1926
- showcomments: !1,
1927
- showtime: !1,
1928
- showauthor: !1,
1929
- showuppertitle: !1,
1930
- showsubtitle: !0,
1931
- showads: !1
1932
- },
1933
- main: {
1934
- ...e.news[0]?.main,
1935
- title: {
1936
- ...e.news[0]?.main.title,
1937
- section: e.news[0]?.main.title.article ?? ""
1938
- }
1939
- },
1940
- info: {
1941
- ...e.news[0]?.info,
1942
- link: {
1943
- url: void 0,
1944
- target: void 0
1945
- }
1946
- }
1947
- };
1948
- switch (e.option) {
1949
- case "liveblogs":
1950
- return /* @__PURE__ */ h(
1951
- "div",
1952
- {
1953
- style: {
1954
- "--news-description-title-size-desk": "38px",
1955
- "--news-description-title-size-mobile": "30px",
1956
- "--news-description-title-line-height-desk": "46px",
1957
- "--news-description-title-line-height-mobile": "38px",
1958
- "--news-image-height-desk": "600px",
1959
- "--news-image-height-mobile": "420px",
1960
- "--news-image-description-display": "none"
1961
- },
1962
- children: /* @__PURE__ */ h(
1963
- zt,
1964
- {
1965
- ...t,
1966
- fontSizeSubTitle: "18px",
1967
- lineHeightSubTitle: "28px"
1968
- }
1969
- )
1970
- }
1971
- );
1972
- default:
1973
- return /* @__PURE__ */ h(
1974
- "div",
1975
- {
1976
- className: Oe.contentHeader,
1977
- style: {
1978
- "--section-card-chip-padding": "0 0 0 6px",
1979
- "--uppertitle-display": "block",
1980
- "--news-description-title-size-desk": "38px",
1981
- "--news-description-title-size-mobile": "30px",
1982
- "--news-description-title-line-height-desk": "46px",
1983
- "--news-description-title-line-height-mobile": "38px",
1984
- "--news-description-content-gap": "0px",
1985
- "--section-card-chip-margin": "0 0 10px",
1986
- "--news-description-subtitle-margin": "22px 0 0"
1987
- },
1988
- children: /* @__PURE__ */ h(
1989
- Ht,
1990
- {
1991
- ...t,
1992
- fontSizeSubTitle: "18px",
1993
- lineHeightSubTitle: "28px",
1994
- cutSubtitle: !1,
1995
- colorSubTitle: "black",
1996
- isTitle: !0,
1997
- paths: e.paths
1998
- }
1999
- )
2000
- }
2001
- );
2002
- }
2003
- }, Ds = "_content_jrssz_1", Ms = "_contentWithinCard_jrssz_7", qs = "_contentDate_jrssz_13", Js = "_dateInfo_jrssz_20", Ws = "_dot_jrssz_30", Vs = "_contentTitle_jrssz_38", Gs = "_contentTextList_jrssz_47", Ks = "_contentButton_jrssz_101", Zs = "_linkStyled_jrssz_107", F = {
2004
- content: Ds,
2005
- contentWithinCard: Ms,
2006
- contentDate: qs,
2007
- dateInfo: Js,
2008
- dot: Ws,
2009
- contentTitle: Vs,
2010
- contentTextList: Gs,
2011
- contentButton: Ks,
2012
- linkStyled: Zs
2013
- }, Xs = "_content_ifkxj_1", Ys = {
2014
- content: Xs
2015
- }, Qs = (e) => /* @__PURE__ */ h("section", { className: Ys.content, id: e.id, children: e.children }), er = (e) => e.replace(/<p>(\s|&nbsp;)+<\/p>/g, ""), tr = (e) => {
2016
- const t = /src="\/(.*?)"/g;
2017
- return e.replace(t, `src="${qt()}/$1"`);
2018
- }, rt = {
2019
- 2: 1,
2020
- 4: 2,
2021
- 7: 3,
2022
- 10: 4,
2023
- 13: 5
2024
- };
2025
- function nr(e) {
2026
- return e.replace(
2027
- /<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,
2028
- ""
2029
- );
2030
- }
2031
- const sr = async ({
2032
- itemList: e,
2033
- slug: t,
2034
- banners: n,
2035
- texts: s
2036
- }) => {
2037
- if (!e || e.length === 0 || !e[0]) return;
2038
- const r = e[0].list?.items?.map((o) => {
2039
- const i = er(o.body.rendered);
2040
- let a = tr(i);
2041
- return a = nr(a), {
2042
- ...o,
2043
- body: {
2044
- ...o.body,
2045
- rendered: a
2046
- }
2047
- };
2048
- });
2049
- return /* @__PURE__ */ h("section", { className: F.content, id: "block-notes-list", children: r?.map((o, i) => /* @__PURE__ */ E(Mt, { children: [
2050
- /* @__PURE__ */ h(Qs, { id: `item-${i + 1}`, children: /* @__PURE__ */ E("div", { className: F.contentWithinCard, children: [
2051
- o.date > 0 && /* @__PURE__ */ E("div", { className: F.contentDate, children: [
2052
- /* @__PURE__ */ h(
2053
- "span",
2054
- {
2055
- className: F.dot,
2056
- style: {
2057
- background: t === "liveblogs" ? "var(--news-liveblog-timeline-datelink-dot-color)" : "var(--common-black)"
2058
- }
2059
- }
2060
- ),
2061
- /* @__PURE__ */ h(
2062
- "p",
2063
- {
2064
- className: F.dateInfo,
2065
- style: {
2066
- color: t === "liveblogs" ? "var(--news-liveblog-timeline-datelink-color)" : "var(--common-black)"
2067
- },
2068
- children: ct(o.date)
2069
- }
2070
- )
2071
- ] }),
2072
- /* @__PURE__ */ h("p", { className: F.contentTitle, children: e[0]?.list.integrated ? o.title : `${o.index}. ${o.title}` }),
2073
- o.image && /* @__PURE__ */ h(at, { preview: o.image, isLarge: !0 }),
2074
- /* @__PURE__ */ h(
2075
- "div",
2076
- {
2077
- className: F.contentTextList,
2078
- dangerouslySetInnerHTML: {
2079
- __html: o.body.rendered
2080
- }
2081
- }
2082
- ),
2083
- o.related && /* @__PURE__ */ h("div", { className: F.contentButton, children: /* @__PURE__ */ h(
2084
- "a",
2085
- {
2086
- className: F.linkStyled,
2087
- href: o.related ?? "",
2088
- target: "”_blank",
2089
- children: s.blockNoteList_readMore ?? "Leer Más"
2090
- }
2091
- ) })
2092
- ] }) }, i),
2093
- rt[i] && /* @__PURE__ */ h(
2094
- X,
2095
- {
2096
- banners: n,
2097
- name: "list_" + rt[i]
2098
- },
2099
- i
2100
- )
2101
- ] }, i)) });
2102
- }, rr = {
2103
- FaceBook: "facebook",
2104
- Instagram: "instagram",
2105
- WhatsApp: "whatsapp",
2106
- TikTok: "tiktok",
2107
- Youtube: "youtube",
2108
- X: "x",
2109
- Gnews: "gnews",
2110
- Podcast: "podcast",
2111
- Telegram: "telegram"
2112
- };
2113
- function or({ url: e }) {
2114
- return e && e !== "" && /* @__PURE__ */ E(Wt, { href: e, className: N.googleProfileButton, children: [
2115
- /* @__PURE__ */ h(
2116
- "svg",
2117
- {
2118
- xmlns: "http://www.w3.org/2000/svg",
2119
- width: 16,
2120
- height: 16,
2121
- fill: "none",
2122
- children: /* @__PURE__ */ h(
2123
- "path",
2124
- {
2125
- fill: "currentColor",
2126
- d: "M15.583 9.083h-6.5v6.5H6.916v-6.5h-6.5V6.917h6.5v-6.5h2.167v6.5h6.5v2.166Z"
2127
- }
2128
- )
2129
- }
2130
- ),
2131
- "Síguenos en",
2132
- /* @__PURE__ */ h(ir, {})
2133
- ] });
2134
- }
2135
- const ir = () => /* @__PURE__ */ E("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 272 92", width: "272", height: "92", children: [
2136
- /* @__PURE__ */ h("path", { fill: "#EA4335", d: "M115.75 47.18c0 12.77-9.99 22.18-22.25 22.18s-22.25-9.41-22.25-22.18C71.25 34.32 81.24 25 93.5 25s22.25 9.32 22.25 22.18zm-9.74 0c0-7.98-5.79-13.44-12.51-13.44S80.99 39.2 80.99 47.18c0 7.9 5.79 13.44 12.51 13.44s12.51-5.55 12.51-13.44z" }),
2137
- /* @__PURE__ */ h("path", { fill: "#FBBC05", d: "M163.75 47.18c0 12.77-9.99 22.18-22.25 22.18s-22.25-9.41-22.25-22.18c0-12.85 9.99-22.18 22.25-22.18s22.25 9.32 22.25 22.18zm-9.74 0c0-7.98-5.79-13.44-12.51-13.44s-12.51 5.46-12.51 13.44c0 7.9 5.79 13.44 12.51 13.44s12.51-5.55 12.51-13.44z" }),
2138
- /* @__PURE__ */ h("path", { fill: "#4285F4", d: "M209.75 26.34v39.82c0 16.38-9.66 23.07-21.08 23.07-10.75 0-17.22-7.19-19.66-13.07l8.48-3.53c1.51 3.61 5.21 7.87 11.17 7.87 7.31 0 11.84-4.51 11.84-13v-3.19h-.34c-2.18 2.69-6.38 5.04-11.68 5.04-11.09 0-21.25-9.66-21.25-22.09 0-12.52 10.16-22.26 21.25-22.26 5.29 0 9.49 2.35 11.68 4.96h.34v-3.61h9.25zm-8.56 20.92c0-7.81-5.21-13.52-11.84-13.52-6.72 0-12.35 5.71-12.35 13.52 0 7.73 5.63 13.36 12.35 13.36 6.63 0 11.84-5.63 11.84-13.36z" }),
2139
- /* @__PURE__ */ h("path", { fill: "#34A853", d: "M225 3v65h-9.5V3h9.5z" }),
2140
- /* @__PURE__ */ h("path", { fill: "#EA4335", d: "M262.02 54.48l7.56 5.04c-2.44 3.61-8.32 9.83-18.48 9.83-12.6 0-22.01-9.74-22.01-22.18 0-13.19 9.49-22.18 20.92-22.18 11.51 0 17.14 9.16 18.98 14.11l1.01 2.52-29.65 12.28c2.27 4.45 5.8 6.72 10.75 6.72 4.96 0 8.4-2.44 10.92-6.14zm-23.27-7.98l19.82-8.23c-1.09-2.77-4.37-4.7-8.23-4.7-4.95 0-11.84 4.37-11.59 12.93z" }),
2141
- /* @__PURE__ */ h("path", { fill: "#4285F4", d: "M35.29 41.41V32H67c.31 1.64.47 3.58.47 5.68 0 7.06-1.93 15.79-8.15 22.01-6.05 6.3-13.78 9.66-24.02 9.66C16.32 69.35.36 53.89.36 34.91.36 15.93 16.32.47 35.3.47c10.5 0 17.98 4.12 23.6 9.49l-6.64 6.64c-4.03-3.78-9.49-6.72-16.97-6.72-13.86 0-24.7 11.17-24.7 25.03 0 13.86 10.84 25.03 24.7 25.03 8.99 0 14.11-3.61 17.39-6.89 2.66-2.66 4.41-6.46 5.1-11.65l-22.49.01z" })
2142
- ] }), ar = async (e) => {
2143
- if (!e.news || !e.news.authors) return null;
2144
- const { news: t, socials: n, texts: s } = e, r = t.authors.map(
2145
- (a) => a.internaluser ? `<a href="${`/${e.paths.autor}/${a.name}`}">${a.fullname}</a>` : a.fullname
2146
- ).join(", "), o = () => t.authors.length === 1 ? N.width1Autor : t.authors.length === 2 ? N.width2Autor : t.authors.length === 3 ? N.width3Autor : "", { CONFIG_shareOnlyWhatsApp: i } = lt();
2147
- return t.config?.showauthor && /* @__PURE__ */ h("div", { className: N.content, children: /* @__PURE__ */ E("div", { className: N.avatarContent, children: [
2148
- i ? /* @__PURE__ */ E(
2149
- "a",
2150
- {
2151
- className: N.whatsappLink,
2152
- href: n[rr.WhatsApp].url,
2153
- rel: "noreferrer",
2154
- target: "_blank",
2155
- children: [
2156
- /* @__PURE__ */ E(
2157
- "svg",
2158
- {
2159
- width: "30",
2160
- height: "30",
2161
- viewBox: "0 0 30 30",
2162
- fill: "none",
2163
- xmlns: "http://www.w3.org/2000/svg",
2164
- children: [
2165
- /* @__PURE__ */ h("g", { clipPath: "url(#clip0_2906_6960)", children: /* @__PURE__ */ h(
2166
- "path",
2167
- {
2168
- d: "M25.6376 4.36364C22.8169 1.54545 19.0598 0 15.0628 0C6.82908 0 0.125619 6.67045 0.125619 14.8636C0.125619 17.4886 0.810811 20.0455 2.1241 22.2955L0 30L7.91397 27.9318C10.0952 29.1136 12.5504 29.7386 15.0514 29.7386C23.2851 29.7386 29.9886 23.0682 29.9886 14.875C29.9886 10.8977 28.4355 7.17045 25.6148 4.36364M15.0628 27.2273C12.8359 27.2273 10.6433 26.6364 8.74762 25.5L8.29083 25.2273L3.58584 26.4545L4.84202 21.8977L4.54511 21.4318C3.30034 19.4659 2.64941 17.1932 2.64941 14.8523C2.64941 8.04545 8.22231 2.5 15.0742 2.5C18.386 2.5 21.5036 3.78409 23.8561 6.125C26.1972 8.46591 27.4876 11.5682 27.4876 14.8636C27.4876 21.6818 21.9147 27.2159 15.0742 27.2159M21.8805 17.9773C21.5036 17.7955 19.6764 16.8977 19.3338 16.7727C18.9912 16.6477 18.74 16.5909 18.4888 16.9545C18.2375 17.3182 17.5295 18.1591 17.3011 18.4091C17.0841 18.6591 16.8671 18.6932 16.4903 18.5C16.1134 18.3068 14.9144 17.9205 13.4869 16.6591C12.3791 15.6705 11.6254 14.4545 11.4084 14.0909C11.1915 13.7273 11.3856 13.5227 11.5683 13.3295C11.7396 13.1591 11.9452 12.8977 12.1279 12.6818C12.3106 12.4659 12.3791 12.3068 12.5048 12.0568C12.6304 11.8068 12.5619 11.5909 12.4705 11.4091C12.3791 11.2273 11.6254 9.39773 11.3171 8.64773C11.0088 7.92045 10.7118 8.02273 10.472 8.01136C10.255 8.01136 10.0038 8 9.75257 8C9.50133 8 9.10164 8.09091 8.75904 8.46591C8.41644 8.84091 7.45718 9.73864 7.45718 11.5682C7.45718 13.3977 8.7933 15.1591 8.97602 15.4091C9.15874 15.6591 11.6026 19.4091 15.3483 21.0227C16.2391 21.4091 16.9357 21.6364 17.4724 21.8068C18.3632 22.0909 19.1854 22.0455 19.8249 21.9545C20.5443 21.8523 22.0289 21.0568 22.3487 20.1932C22.657 19.3295 22.657 18.5795 22.5657 18.4318C22.4743 18.2727 22.2231 18.1818 21.8462 18",
2169
- fill: "#7AD16D"
2170
- }
2171
- ) }),
2172
- /* @__PURE__ */ h("defs", { children: /* @__PURE__ */ h("clipPath", { id: "clip0_2906_6960", children: /* @__PURE__ */ h("rect", { width: "30", height: "30", fill: "white" }) }) })
2173
- ]
2174
- }
2175
- ),
2176
- s.WhatsAppLinkJournalist
2177
- ]
2178
- }
2179
- ) : /* @__PURE__ */ h(
2180
- "div",
2181
- {
2182
- style: { width: "100%" },
2183
- "data-hydrate": "ShareButtons",
2184
- "data-props": encodeURIComponent(
2185
- JSON.stringify({ noteShare: e.noteShare })
2186
- ),
2187
- children: /* @__PURE__ */ h(Jt, { noteShare: e.noteShare })
2188
- }
2189
- ),
2190
- /* @__PURE__ */ h(or, { url: e.noteShare?.googleProfile ?? "" }),
2191
- /* @__PURE__ */ E("section", { className: N.journalistSection, children: [
2192
- /* @__PURE__ */ h(
2193
- "div",
2194
- {
2195
- className: `${N.imageContent} ${o()}`,
2196
- style: {
2197
- width: `${t.authors?.length > 2 ? t.authors?.length * 30 : t.authors?.length * 35}px`
2198
- },
2199
- children: Array.isArray(t.authors) && t.authors?.map(
2200
- async (a, d) => a.image ? /* @__PURE__ */ h(
2201
- "img",
2202
- {
2203
- fetchPriority: "low",
2204
- loading: "lazy",
2205
- alt: "autor",
2206
- className: `${N.imageStyled} ${N.imageAutor} `,
2207
- src: await de(a.image.sizes[0]?.url || "")
2208
- },
2209
- a.fullname
2210
- ) : /* @__PURE__ */ h(
2211
- "div",
2212
- {
2213
- className: `${N.contentIconStyled} ${N.imageAutor}`,
2214
- children: e.autorIcon
2215
- },
2216
- a.fullname
2217
- )
2218
- )
2219
- }
2220
- ),
2221
- r && /* @__PURE__ */ h(
2222
- "div",
2223
- {
2224
- className: N.journalistInfoLink,
2225
- dangerouslySetInnerHTML: {
2226
- __html: `${s.JournalistPrefix} <h3 style="padding:0px;">${r ?? "Redaccion"}${t.config?.showtime && ","}</h3> ${t.config?.showtime ? ct(t.info.date.modified) : null}`
2227
- }
2228
- }
2229
- )
2230
- ] })
2231
- ] }) });
2232
- }, cr = "_content_opb3u_1", lr = "_journalistArticleContent_opb3u_15", ur = "_contentNews_opb3u_35", dr = "_noteSource_opb3u_392", ae = {
2233
- content: cr,
2234
- journalistArticleContent: lr,
2235
- contentNews: ur,
2236
- noteSource: dr
2237
- }, fr = "_summaryContent_wsypg_1", hr = {
2238
- summaryContent: fr
2239
- }, mr = async ({ summary: e }) => e && e.rendered && /* @__PURE__ */ h(
2240
- "section",
2241
- {
2242
- className: hr.summaryContent,
2243
- dangerouslySetInnerHTML: {
2244
- __html: e.rendered
2245
- }
2246
- }
2247
- ), kt = async ({
2248
- newsformated: e,
2249
- internal: t
2250
- }) => {
2251
- if (!t) return;
2252
- const n = new ye(), s = e.preview.sizes, o = (await n.getNewsMultimedia({
2253
- path: t,
2254
- imagesizes: s ? s[0]?.scale : "w:801,h:449,t:2;"
2255
- }))?.data.data[0]?.gallery ?? [];
2256
- return /* @__PURE__ */ E("div", { className: ze.content, children: [
2257
- /* @__PURE__ */ h(
2258
- Vt,
2259
- {
2260
- slot_id: "header",
2261
- fullPageWidth: !0,
2262
- visibleItems: 1,
2263
- pagination: !0,
2264
- cardGap: 0,
2265
- children: o && o.map((i, a) => /* @__PURE__ */ h(at, { preview: i, priorityHigh: !0 }, a))
2266
- }
2267
- ),
2268
- /* @__PURE__ */ h("div", { className: ze.description, children: o && o[0]?.description })
2269
- ] });
2270
- };
2271
- function pr(e) {
2272
- const t = e.children, n = `${e.slot_id}-`, s = e.visibleItems, r = e.cardGap ?? 20;
2273
- function o(a) {
2274
- const d = [], l = [];
2275
- let u = "", m = !0;
2276
- for (let g = 0; g < a; g++) {
2277
- const b = `[data-index="${g}"]:checked ~ .carrousel-pagination li:nth-child(${g + 1}) {
2278
- background-color:var(--carrousel-pagination-background-color)
2279
- }`;
2280
- u += `
2281
- .${n}.carrousel-container {
2282
- ${b}
2283
- [data-index="${g}"]:checked ~ .carrousel-ssr {
2284
- transform: translate(-${g * (100 + r) + "%"});
2285
- transition: transform 300ms;
2286
- }
2287
- [data-index="${g + 1}"]:checked ~ .visible-arrow.left[data-index="${g}"]
2288
- ${g < a - 1 ? `,[data-index="${g}"]:checked ~ .visible-arrow.right[data-index="${g}"]` : ""} {
2289
- display: flex;
2290
- }
2291
- }
2292
- `, g > a - (s + 1) && (u += `
2293
- @media (min-width:900px) {
2294
- .${n}.carrousel-container {
2295
- [data-index="${g}"]:checked ~ .visible-arrow.right[data-index="${g}"] {
2296
- display:none!important;
2297
- }
2298
- }
2299
- }`), d.push(
2300
- `<input type="radio" name="${n + "card"}" ${m ? "checked" : ""} id="${n + "input-check-" + g}" data-index="${g}" />`
2301
- ), l.push(`
2302
- <label for="${n + "input-check-" + g}" data-index="${g}" class="visible-arrow left">
2303
- <svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
2304
- <path d="M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z" fill="currentColor" />
2305
- </svg>
2306
- </label>
2307
-
2308
- ${g < a - 1 ? `<label for="${n + "input-check-" + (g + 1)}" data-index="${g}" class="visible-arrow right">
2309
- <svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
2310
- <path d="M1 8.99973H12.17L7.29 13.8797C6.9 14.2697 6.9 14.9097 7.29 15.2997C7.68 15.6897 8.31 15.6897 8.7 15.2997L15.29 8.70973C15.68 8.31973 15.68 7.68973 15.29 7.29973L8.71 0.699727C8.32 0.309727 7.69 0.309727 7.3 0.699727C6.91 1.08973 6.91 1.71973 7.3 2.10973L12.17 6.99973H1C0.45 6.99973 0 7.44973 0 7.99973C0 8.54973 0.45 8.99973 1 8.99973Z" fill="currentColor" />
2311
- </svg>
2312
- </label>` : ""}
2313
- `), m = !1;
2314
- }
2315
- return `
2316
- <style>${u}</style>
2317
- ${d.join("")}
2318
- ${l.join("")}
2319
- `;
2320
- }
2321
- const i = (a) => {
2322
- const d = [];
2323
- for (let l = 0; l < a; l++)
2324
- d.push("<li></li>");
2325
- return `<menu class='carrousel-pagination'>
2326
- ${d.join("")}
2327
- </menu>`;
2328
- };
2329
- return `
2330
- <div class="${n + " carrousel-container"}">
2331
- ${o(t.length)}
2332
- <div class="carrousel-ssr" style="gap:${r};margin:${r === 0 ? "0" : "0 0.5rem 1rem"};">
2333
- ${t && t.map((a) => `<section class='card' style="min-width: 100%;width:min-content;">
2334
- ${a}
2335
- </section>`).join("")}
2336
- </div>
2337
- ${i(t.length)}
2338
- </div>
2339
- `;
2340
- }
2341
- const gr = (e) => /* @__PURE__ */ h(
2342
- "svg",
2343
- {
2344
- xmlns: "http://www.w3.org/2000/svg",
2345
- width: 20,
2346
- height: 20,
2347
- fill: "currentColor",
2348
- ...e,
2349
- children: /* @__PURE__ */ h(
2350
- "path",
2351
- {
2352
- fill: "currentColor",
2353
- d: "M9.99 0C4.47 0 0 4.48 0 10s4.47 10 9.99 10C15.52 20 20 15.52 20 10S15.52 0 9.99 0Zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 16.92 6ZM10 2.04c.83 1.2 1.48 2.53 1.91 3.96H8.09C8.52 4.57 9.17 3.24 10 2.04ZM2.26 12C2.1 11.36 2 10.69 2 10s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H2.26Zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 3.08 14Zm2.95-8H3.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 6.03 6ZM10 17.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96ZM12.34 12H7.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2Zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56ZM14.36 12c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38Z"
2354
- }
2355
- )
2356
- }
2357
- ), wr = (e) => e.replace(
2358
- /<iframe(?![^>]*\bloading=)[^>]*>/gi,
2359
- (n) => n.replace("<iframe", '<iframe loading="lazy"')
2360
- ), yr = (e) => e.replace(
2361
- /<iframe(?![^>]*\btitle=)[^>]*>/gi,
2362
- (n) => n.replace("<iframe", '<iframe title="frame custom content"')
2363
- ), Ft = async (e) => {
2364
- const t = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, n = [...e.matchAll(t)], s = {};
2365
- for (const r of n) {
2366
- const o = r[1] ?? "", i = e.includes(o) ? { url: o } : null;
2367
- if (i) {
2368
- const a = await de(i.url) || "";
2369
- s[o] = a;
2370
- }
2371
- }
2372
- return e.replace(
2373
- t,
2374
- (r, o) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${s[o] || o}"`
2375
- );
2376
- }, br = (e, t) => {
2377
- const n = {
2378
- 2: 1,
2379
- 4: 2,
2380
- 7: 3,
2381
- 10: 4,
2382
- 13: 5
2383
- };
2384
- let s = 0, r = e;
2385
- const o = /<(p|li|ul|ol)>\s*<\/\1>/gi, i = /<(p|li|ul|ol)>(?:&(?:nbsp|#160|ensp|emsp|#8194|#8195);)*?<\/\1>/gi;
2386
- do
2387
- r = e.replace(o, "").replace(i, "");
2388
- while (r.match(o) || r.match(i));
2389
- return r = r.replace(
2390
- /<p\b[^>]*?>[\s\S]*?<\/p>|<(ul|ol)[^>]*?>[\s\S]*?<\/\1>/g,
2391
- (a) => {
2392
- const d = a.replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
2393
- if (!new RegExp(
2394
- `<blockquote[^>]*?>(?:(?!<\\/blockquote>)[\\s\\S])*?${d}[\\s\\S]*?<\\/blockquote>`,
2395
- "gi"
2396
- ).test(r)) {
2397
- s++;
2398
- const u = t.find(
2399
- (m) => m.key === `block_2_${n[s]}`
2400
- );
2401
- return u ? `${a}<div class="banner-context">${u.value}</div>` : a;
2402
- }
2403
- return a;
2404
- }
2405
- ), r;
2406
- }, Sr = (e) => {
2407
- const t = /<div class="ck-image-gallery"[^>]*?>([\s\S]*?)<\/div>/g, n = [...e.matchAll(t)];
2408
- let s = "", r = 0;
2409
- for (const o of n) {
2410
- const [i, a = ""] = o, d = o.index, l = d + i.length;
2411
- s += e.slice(r, d);
2412
- const m = [...a.matchAll(/data-src="([^"]+)"/g)].map(
2413
- (f) => f[1]
2414
- ).map(
2415
- (f) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${f}" class="carrusel-note-item" width="800" height="469"/>`
2416
- ), g = "gallery_embeded" + d.toString(), b = pr({
2417
- slot_id: g,
2418
- children: m,
2419
- visibleItems: 1,
2420
- cardGap: 0
2421
- });
2422
- s += b, r = l;
2423
- }
2424
- return s += e.slice(r), s;
2425
- }, xr = async (e, t, n) => {
2426
- if (!n) return e;
2427
- const s = /<span data-src="(.*?)"><\/span>/g, r = [...e.matchAll(s)];
2428
- let o = e;
2429
- for (const i of r) {
2430
- const a = i[0], d = i[1] ?? "", l = n.find(
2431
- (_) => d.includes(_?.[0]?.info.link.internal || "")
2432
- );
2433
- if (!l || !l[0]) continue;
2434
- const u = l[0].preview?.sizes?.[0], m = u ? await de(u.url) : "", g = l[0].info.section?.url ?? "#", b = l[0].info.section?.name ?? "Sección", f = l[0].info.link?.url ?? "#", w = l[0].main?.title.article ?? "Título", p = (await Promise.all(
2435
- l[0].preview?.sizes?.map(async (_) => {
2436
- const S = await de(_.url);
2437
- return _.width < 200 ? `<source srcset="${S}" media="(width < 750px)"/>` : `<source srcset="${S}" media="(width >= 750px)"/>`;
2438
- })
2439
- )).reduce((_, S) => _ += S, ""), x = `
2440
- <span data-src="${d}">
2441
- <picture style='display: flex'>
2442
- ${p}
2443
- <img fetchPriority='low' loading='lazy' src="${m}" alt="${t.noteRelatedImageAlt}" />
2444
- </picture>
2445
- <div>
2446
- <a class="section" href="${g}">${b}</a>
2447
- <a class="title" href="${f}">${w}</a>
2448
- </div>
2449
- </span>
2450
- `;
2451
- o = o.replace(a, x);
2452
- }
2453
- return o;
2454
- };
2455
- async function Er(e, t) {
2456
- const n = /<div class="ck-video-player"[^>]*?>[\s\S]*?<span[^>]*data-src="([^"]+)"[^>]*data-type="video"[^>]*><\/span>[\s\S]*?<\/div>/g, s = [...e.matchAll(n)];
2457
- let r = "", o = 0;
2458
- for (const i of s) {
2459
- const [a, d] = i, l = i.index, u = l + a.length;
2460
- r += e.slice(o, l);
2461
- const m = await t.iframe({ path: d });
2462
- let g = null;
2463
- try {
2464
- g = t.schema ? await t.schema(d) : null;
2465
- } catch {
2466
- console.log("error fetching schema videos embed.");
2467
- }
2468
- let b = "";
2469
- if (m && m.data) {
2470
- let f = "";
2471
- m.data.data[0].info.type === "video-youtube" ? f = `<iframe
2472
- frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen
2473
- style="position: relative!important;" src="https://www.youtube.com/embed/${m.data.data[0].main.code}"></iframe>` : f = m.data.data[0].main.code, b = `
2474
- <figure class="videoFigure">
2475
- ${g && g.data && g.data.data && /* @__PURE__ */ E("script", { type: "application/ld+json", children: [
2476
- "$",
2477
- Ft(
2478
- JSON.stringify(g.data.data) || ""
2479
- )
2480
- ] })}
2481
- ${f}
2482
- <figcaption>${m.data.data[0].main.description || ""}</figcaption>
2483
- </figure>
2484
- `;
2485
- }
2486
- r += b, o = u;
2487
- }
2488
- return r += e.slice(o), r;
2489
- }
2490
- async function Cr(e) {
2491
- const {
2492
- news: t,
2493
- banners: n,
2494
- newsRelatedResponses: s,
2495
- slug: r,
2496
- itemList: o,
2497
- socials: i,
2498
- getVideos: a
2499
- } = e;
2500
- let d = t?.body?.rendered ?? "";
2501
- d = d.replace(/&nbsp;/g, ""), d = br(d, n), d = Sr(d), d = await Ft(d), d = await xr(
2502
- d,
2503
- e.texts,
2504
- s
2505
- ), d = await Er(d, a), d = wr(d), d = yr(d);
2506
- const l = t.main.sources ?? [];
2507
- return /* @__PURE__ */ E("div", { className: ae.content, children: [
2508
- r !== "liveblogs" && e.showHeaderImage ? t.hascontent?.hasgalleryimages ? /* @__PURE__ */ h(
2509
- kt,
2510
- {
2511
- newsformated: t,
2512
- internal: t.info.link.internal
2513
- }
2514
- ) : /* @__PURE__ */ h(Dt, { preview: t.preview }) : null,
2515
- /* @__PURE__ */ h(X, { banners: n, name: "block_1" }),
2516
- /* @__PURE__ */ h("div", { className: ae.journalistArticleContent, children: /* @__PURE__ */ h(
2517
- ar,
2518
- {
2519
- autorIcon: e.autorIcon,
2520
- socials: i,
2521
- news: t,
2522
- texts: e.texts,
2523
- noteShare: e.noteShare,
2524
- paths: e.paths
2525
- }
2526
- ) }),
2527
- /* @__PURE__ */ h(mr, { summary: t.main.summary }),
2528
- /* @__PURE__ */ h(
2529
- "div",
2530
- {
2531
- className: ae.contentNews,
2532
- suppressHydrationWarning: !0,
2533
- id: "content-news-section",
2534
- dangerouslySetInnerHTML: { __html: d }
2535
- }
2536
- ),
2537
- /* @__PURE__ */ h(
2538
- sr,
2539
- {
2540
- texts: e.texts,
2541
- itemList: o,
2542
- banners: n,
2543
- slug: r
2544
- }
2545
- ),
2546
- l.length > 0 && /* @__PURE__ */ E("div", { className: ae.noteSource, children: [
2547
- /* @__PURE__ */ h(gr, {}),
2548
- /* @__PURE__ */ h("p", { children: e.texts.noteSource + (l.length === 1 ? "" : "s") + ": " + l.map((u) => u.name).join(", ") })
2549
- ] })
2550
- ] });
2551
- }
2552
- const _r = "_content_cu8lm_1", Ar = "_title_cu8lm_18", ot = {
2553
- content: _r,
2554
- title: Ar
2555
- }, Rr = async ({
2556
- newsformated: e,
2557
- internal: t
2558
- }) => {
2559
- if (!t) return;
2560
- const s = await new ye().getNewsMultimedia({
2561
- path: t,
2562
- imagesizes: e.preview.sizes[0]?.scale
2563
- });
2564
- if (!s) return;
2565
- const r = s.data.data[0]?.videos.filter(
2566
- (o) => o.type === "video-embedded"
2567
- )[0];
2568
- return /* @__PURE__ */ E("div", { className: ot.content, children: [
2569
- /* @__PURE__ */ h("div", { dangerouslySetInnerHTML: { __html: r?.code ?? "" } }),
2570
- /* @__PURE__ */ h("p", { className: ot.title, children: r?.title })
2571
- ] });
2572
- }, Nr = "_content_cu8lm_1", Tr = "_title_cu8lm_18", Ae = {
2573
- content: Nr,
2574
- title: Tr
2575
- }, vr = async ({
2576
- newsformated: e,
2577
- internal: t
2578
- }) => {
2579
- if (!t) return;
2580
- const s = await new ye().getNewsMultimedia({
2581
- path: t,
2582
- imagesizes: e.preview.sizes[0]?.scale
2583
- });
2584
- if (!s) return;
2585
- const r = s.data.data[0]?.videos.filter(
2586
- (o) => o.type === "video-youtube"
2587
- )[0];
2588
- return /* @__PURE__ */ E("div", { className: Ae.content, children: [
2589
- /* @__PURE__ */ h(
2590
- "iframe",
2591
- {
2592
- className: Ae.iframeStyled,
2593
- src: `https://www.youtube.com/embed/${r?.code ?? ""}`,
2594
- frameBorder: "0",
2595
- allowFullScreen: !0
2596
- }
2597
- ),
2598
- /* @__PURE__ */ h("p", { className: Ae.title, children: r?.title })
2599
- ] });
2600
- }, Or = "_content_ezbiw_1", $r = {
2601
- content: Or
2602
- }, Lr = async ({
2603
- newsformated: e,
2604
- internal: t
2605
- }) => {
2606
- if (!t) return;
2607
- const s = await new ye().getNews({
2608
- path: t,
2609
- imagesizes: e.preview.sizes[0]?.scale
2610
- });
2611
- if (!s) return;
2612
- const r = s.data.data[0]?.external?.iframe;
2613
- return /* @__PURE__ */ h(
2614
- "div",
2615
- {
2616
- className: $r.content,
2617
- dangerouslySetInnerHTML: { __html: r ?? "" }
2618
- }
2619
- );
2620
- }, Pr = "_content_156j7_1", it = {
2621
- content: Pr
2622
- }, B = {
2623
- imagen: "imagen",
2624
- videoEmbedded: "videoEmbedded",
2625
- videoYouTube: "videoYouTube",
2626
- iframe: "iframe"
2627
- }, kr = {
2628
- [B.videoEmbedded]: Rr,
2629
- [B.videoYouTube]: vr,
2630
- [B.iframe]: Lr
2631
- }, Fr = ({ news: e }) => {
2632
- const { config: t, hascontent: n, info: s } = e, r = t.articlepreview, o = s.link.internal, i = n?.hasgalleryimages;
2633
- if (r === B.imagen && i)
2634
- return /* @__PURE__ */ h("div", { className: it.content, children: /* @__PURE__ */ h(kt, { newsformated: e, internal: o }) });
2635
- const a = r ? kr[r] : null;
2636
- return a ? /* @__PURE__ */ h("div", { className: it.content, children: /* @__PURE__ */ h(a, { newsformated: e, internal: o }) }) : null;
2637
- }, Ir = (e) => {
2638
- const { config: t, hascontent: n } = e, s = t.articlepreview, r = [
2639
- B.videoEmbedded,
2640
- B.videoYouTube,
2641
- B.iframe
2642
- ];
2643
- return !!(s === B.imagen && n?.hasgalleryimages || r.includes(s));
2644
- }, Co = async (e) => {
2645
- const {
2646
- custom_complement: t,
2647
- ranking: n = [],
2648
- banners: s,
2649
- autor: r = [],
2650
- news: o = [],
2651
- newsRelatedResponses: i = [],
2652
- itemList: a = [],
2653
- socials: d,
2654
- getVideos: l
2655
- } = e, u = e.slug === "liveblogs";
2656
- if (!(!o || !o[0]))
2657
- return /* @__PURE__ */ h(jt, { children: /* @__PURE__ */ E(ks, { className: Oe.contentLayout2, children: [
2658
- /* @__PURE__ */ h(
2659
- zs,
2660
- {
2661
- option: e.slug,
2662
- news: o,
2663
- paths: e.paths
2664
- }
2665
- ),
2666
- /* @__PURE__ */ h(oe, { banners: s, index: 1 }),
2667
- !u && /* @__PURE__ */ h(Fr, { news: o[0] }),
2668
- /* @__PURE__ */ h(
2669
- Hs,
2670
- {
2671
- texts: e.texts,
2672
- paths: e.paths,
2673
- slug: e.slug,
2674
- itemList: a,
2675
- ranking: n,
2676
- bannerTop: /* @__PURE__ */ h(X, { banners: s ?? [], name: "right_1" }),
2677
- banner: /* @__PURE__ */ h(X, { banners: s ?? [], name: "right_2" }),
2678
- complement: t ? t() : /* @__PURE__ */ E("div", { id: "comentarios", suppressHydrationWarning: !0, children: [
2679
- r.length > 0 && /* @__PURE__ */ h(
2680
- Gt,
2681
- {
2682
- texts: e.texts,
2683
- autorIcon: e.autorIcon,
2684
- autor: r[0],
2685
- paths: e.paths
2686
- }
2687
- ),
2688
- o[0].authors.length > 1 && /* @__PURE__ */ h(
2689
- Kt,
2690
- {
2691
- news: o[0],
2692
- autorIcon: e.autorIcon,
2693
- paths: e.paths,
2694
- texts: e.texts
2695
- }
2696
- ),
2697
- /* @__PURE__ */ h("div", { className: Oe.tagContent, children: /* @__PURE__ */ h(
2698
- Zt,
2699
- {
2700
- tags: o[0]?.keywords?.tags,
2701
- paths: e.paths
2702
- }
2703
- ) }),
2704
- /* @__PURE__ */ E(
2705
- "div",
2706
- {
2707
- style: {
2708
- display: "flex",
2709
- flexDirection: "column",
2710
- gap: "2rem"
2711
- },
2712
- suppressHydrationWarning: !0,
2713
- children: [
2714
- e.showComments && /* @__PURE__ */ h(
2715
- "div",
2716
- {
2717
- suppressHydrationWarning: !0,
2718
- "data-hydrate": "LazyLoader",
2719
- "data-props": encodeURIComponent(
2720
- JSON.stringify({
2721
- render: "comment",
2722
- internalPath: e.internalPath
2723
- })
2724
- )
2725
- }
2726
- ),
2727
- /* @__PURE__ */ h(xe, { children: /* @__PURE__ */ h(oe, { banners: s, index: 2 }) }),
2728
- /* @__PURE__ */ h(
2729
- Xt,
2730
- {
2731
- component: "Carrusel card",
2732
- banners: [],
2733
- slot_id: "Nota_1",
2734
- data: {
2735
- ...e.stylesConfig["Carrusel card"],
2736
- content: e.relatedNewsList ?? [],
2737
- title: e.texts.relatedNewsTitle,
2738
- titleUrl: void 0
2739
- }
2740
- }
2741
- ),
2742
- /* @__PURE__ */ h(xe, { children: /* @__PURE__ */ h(oe, { banners: s, index: 3 }) }),
2743
- /* @__PURE__ */ h(Yt, { title: e.texts.moreNewsTitle, children: /* @__PURE__ */ h(
2744
- "div",
2745
- {
2746
- suppressHydrationWarning: !0,
2747
- "data-hydrate": "LazyLoader",
2748
- "data-props": encodeURIComponent(
2749
- JSON.stringify({
2750
- render: "more",
2751
- stylesConfig: e.stylesConfig,
2752
- section: o[0].info.section?.slug ?? "",
2753
- currentNews: o[0]
2754
- })
2755
- )
2756
- }
2757
- ) }),
2758
- /* @__PURE__ */ h(xe, { children: /* @__PURE__ */ h(oe, { banners: s, index: 4 }) })
2759
- ]
2760
- }
2761
- )
2762
- ] }),
2763
- children: /* @__PURE__ */ E(
2764
- "section",
2765
- {
2766
- style: {
2767
- "--avatar-content-align-items-desk": e.slug === "liveblogs" ? "flex-start" : "center"
2768
- },
2769
- children: [
2770
- /* @__PURE__ */ h(
2771
- Cr,
2772
- {
2773
- texts: e.texts,
2774
- autorIcon: e.autorIcon,
2775
- socials: d,
2776
- news: o[0],
2777
- banners: s,
2778
- newsRelatedResponses: i,
2779
- itemList: a,
2780
- slug: e.slug,
2781
- getVideos: l,
2782
- noteShare: e.noteShare,
2783
- paths: e.paths,
2784
- showHeaderImage: !Ir(o[0])
2785
- }
2786
- ),
2787
- /* @__PURE__ */ h(X, { banners: s ?? [], name: "block_3" })
2788
- ]
2789
- }
2790
- )
2791
- }
2792
- )
2793
- ] }) });
2794
- };
2795
- export {
2796
- ye as C,
2797
- kt as G,
2798
- Co as N,
2799
- rr as S,
2800
- C as a
2801
- };