sass-template-common 0.1.34 → 0.1.36
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.
- package/README.md +3 -3
- package/dist/AutorComponent.d.ts +240 -0
- package/dist/AutorComponent.js +4 -0
- package/dist/AutorComponent.umd.cjs +1 -0
- package/dist/AutorHeader1.d.ts +64 -0
- package/dist/AutorHeader1.js +4 -0
- package/dist/AutorHeader1.umd.cjs +1 -0
- package/dist/AutorHeader2.d.ts +63 -0
- package/dist/AutorHeader2.js +4 -0
- package/dist/AutorHeader2.umd.cjs +1 -0
- package/dist/BannerAdvertising.d.ts +22 -0
- package/dist/BannerAdvertising.js +4 -0
- package/dist/BannerAdvertising.umd.cjs +1 -0
- package/dist/BannerAdvertisingMiddle.d.ts +22 -0
- package/dist/BannerAdvertisingMiddle.js +5 -0
- package/dist/BannerAdvertisingMiddle.umd.cjs +1 -0
- package/dist/CarrouselCSR-CJYbRwia.js +303 -0
- package/dist/CarrouselCSR-DYd0tK22.cjs +1 -0
- package/dist/CarrouselCSR.d.ts +17 -0
- package/dist/CarrouselCSR.js +5 -0
- package/dist/CarrouselCSR.umd.cjs +1 -0
- package/dist/CarrouselIRS.d.ts +17 -0
- package/dist/CarrouselIRS.js +5 -0
- package/dist/CarrouselIRS.umd.cjs +1 -0
- package/dist/CarruselCard.d.ts +177 -0
- package/dist/CarruselCard.js +4 -0
- package/dist/CarruselCard.umd.cjs +1 -0
- package/dist/CarruselOpinion.d.ts +172 -0
- package/dist/CarruselOpinion.js +4 -0
- package/dist/CarruselOpinion.umd.cjs +1 -0
- package/dist/Clipboard-DjMsnSX4.js +68 -0
- package/dist/Clipboard-u_S1RBEo.cjs +1 -0
- package/dist/Close-C-8qzSDP.cjs +1 -0
- package/dist/Close-IzObL1Y8.js +8 -0
- package/dist/Comscore-Bq6K5xi3.js +17 -0
- package/dist/Comscore-DMCbZ32O.cjs +1 -0
- package/dist/Comscore.d.ts +5 -0
- package/dist/Comscore.js +4 -0
- package/dist/Comscore.umd.cjs +1 -0
- package/dist/ContactInfoServer.d.ts +21 -0
- package/dist/ContactInfoServer.js +4 -0
- package/dist/ContactInfoServer.umd.cjs +1 -0
- package/dist/ContactInput.d.ts +10 -0
- package/dist/ContactInput.js +4 -0
- package/dist/ContactInput.umd.cjs +1 -0
- package/dist/ContactSelect.d.ts +16 -0
- package/dist/ContactSelect.js +4 -0
- package/dist/ContactSelect.umd.cjs +1 -0
- package/dist/ContactTextarea.d.ts +11 -0
- package/dist/ContactTextarea.js +4 -0
- package/dist/ContactTextarea.umd.cjs +1 -0
- package/dist/ContentLayout1.d.ts +12 -0
- package/dist/ContentLayout1.js +4 -0
- package/dist/ContentLayout1.umd.cjs +1 -0
- package/dist/ContentLayoutTema.d.ts +11 -0
- package/dist/ContentLayoutTema.js +4 -0
- package/dist/ContentLayoutTema.umd.cjs +1 -0
- package/dist/DestacadoNoticias.d.ts +187 -0
- package/dist/DestacadoNoticias.js +4 -0
- package/dist/DestacadoNoticias.umd.cjs +1 -0
- package/dist/DestacadoVideos.d.ts +117 -0
- package/dist/DestacadoVideos.js +4 -0
- package/dist/DestacadoVideos.umd.cjs +1 -0
- package/dist/DynamicComponents-CMeItNDk.js +62 -0
- package/dist/DynamicComponents-DYjDE9AS.cjs +1 -0
- package/dist/DynamicComponents.d.ts +232 -0
- package/dist/DynamicComponents.js +4 -0
- package/dist/DynamicComponents.umd.cjs +1 -0
- package/dist/DynamicMainSlot.d.ts +24 -0
- package/dist/DynamicMainSlot.js +5 -0
- package/dist/DynamicMainSlot.umd.cjs +2 -0
- package/dist/DynamicSlot.d.ts +24 -0
- package/dist/DynamicSlot.js +5 -0
- package/dist/DynamicSlot.umd.cjs +2 -0
- package/dist/EditorialBlock.d.ts +180 -0
- package/dist/EditorialBlock.js +4 -0
- package/dist/EditorialBlock.umd.cjs +1 -0
- package/dist/ErrorComponent.d.ts +13 -0
- package/dist/ErrorComponent.js +4 -0
- package/dist/ErrorComponent.umd.cjs +1 -0
- package/dist/Footer.d.ts +27 -0
- package/dist/Footer.js +4 -0
- package/dist/Footer.umd.cjs +1 -0
- package/dist/GA4-2trwkmRz.js +45 -0
- package/dist/GA4-BHcMQc6X.cjs +7 -0
- package/dist/GA4.d.ts +12 -0
- package/dist/GA4.js +4 -0
- package/dist/GA4.umd.cjs +1 -0
- package/dist/GTM-BYKEijOo.js +34 -0
- package/dist/GTM-DUpgJ4I-.cjs +7 -0
- package/dist/GTM.d.ts +5 -0
- package/dist/GTM.js +4 -0
- package/dist/GTM.umd.cjs +1 -0
- package/dist/GenerateHead.d.ts +1 -0
- package/dist/GenerateHead.js +1 -0
- package/dist/GenerateHead.umd.cjs +1 -0
- package/dist/Header.d.ts +217 -0
- package/dist/Header.js +4 -0
- package/dist/Header.umd.cjs +1 -0
- package/dist/ImageOffline.d.ts +31 -0
- package/dist/ImageOffline.js +4 -0
- package/dist/ImageOffline.umd.cjs +1 -0
- package/dist/Instagram-C7jTvuG0.cjs +1 -0
- package/dist/Instagram-m7-mm3Ce.js +60 -0
- package/dist/JournalistArticule2.d.ts +77 -0
- package/dist/JournalistArticule2.js +4 -0
- package/dist/JournalistArticule2.umd.cjs +1 -0
- package/dist/JournalistGroup.d.ts +182 -0
- package/dist/JournalistGroup.js +4 -0
- package/dist/JournalistGroup.umd.cjs +1 -0
- package/dist/LayoutNewsComponent.d.ts +165 -0
- package/dist/LayoutNewsComponent.js +4 -0
- package/dist/LayoutNewsComponent.umd.cjs +1 -0
- package/dist/Link-BZyN_6rI.js +20 -0
- package/dist/Link-CHPphz3c.cjs +1 -0
- package/dist/LinkedIn-BIuKknxr.cjs +3 -0
- package/dist/LinkedIn-CCndDbG_.js +33 -0
- package/dist/LiveBlogHeader.d.ts +150 -0
- package/dist/LiveBlogHeader.js +4 -0
- package/dist/LiveBlogHeader.umd.cjs +1 -0
- package/dist/Location.d.ts +10 -0
- package/dist/Location.js +4 -0
- package/dist/Location.umd.cjs +1 -0
- package/dist/Marfeel-B7k-2klo.js +17 -0
- package/dist/Marfeel-C-_4NuGW.cjs +1 -0
- package/dist/Marfeel.d.ts +5 -0
- package/dist/Marfeel.js +4 -0
- package/dist/Marfeel.umd.cjs +1 -0
- package/dist/MiddleSection.d.ts +10 -0
- package/dist/MiddleSection.js +4 -0
- package/dist/MiddleSection.umd.cjs +1 -0
- package/dist/Modulo1x3.d.ts +247 -0
- package/dist/Modulo1x3.js +4 -0
- package/dist/Modulo1x3.umd.cjs +1 -0
- package/dist/Modulo1x3Card.d.ts +153 -0
- package/dist/Modulo1x3Card.js +4 -0
- package/dist/Modulo1x3Card.umd.cjs +1 -0
- package/dist/Modulo1x4.d.ts +189 -0
- package/dist/Modulo1x4.js +4 -0
- package/dist/Modulo1x4.umd.cjs +1 -0
- package/dist/Modulo1x5.d.ts +189 -0
- package/dist/Modulo1x5.js +4 -0
- package/dist/Modulo1x5.umd.cjs +1 -0
- package/dist/Modulo2Columnas.d.ts +175 -0
- package/dist/Modulo2Columnas.js +4 -0
- package/dist/Modulo2Columnas.umd.cjs +1 -0
- package/dist/Modulo3Columnas.d.ts +234 -0
- package/dist/Modulo3Columnas.js +4 -0
- package/dist/Modulo3Columnas.umd.cjs +1 -0
- package/dist/ModuloNewsletter.d.ts +32 -0
- package/dist/ModuloNewsletter.js +4 -0
- package/dist/ModuloNewsletter.umd.cjs +1 -0
- package/dist/ModuloOpinion.d.ts +170 -0
- package/dist/ModuloOpinion.js +4 -0
- package/dist/ModuloOpinion.umd.cjs +1 -0
- package/dist/NewsComponent.d.ts +294 -0
- package/dist/NewsComponent.js +4 -0
- package/dist/NewsComponent.umd.cjs +1 -0
- package/dist/NewsContent.d.ts +13 -0
- package/dist/NewsContent.js +4 -0
- package/dist/NewsContent.umd.cjs +1 -0
- package/dist/NextPrev.d.ts +16 -0
- package/dist/NextPrev.js +4 -0
- package/dist/NextPrev.umd.cjs +1 -0
- package/dist/Play-DtFrAVg_.cjs +1 -0
- package/dist/Play-mVECew4T.js +25 -0
- package/dist/PreloadImage-CnJUVuFd.cjs +1 -0
- package/dist/PreloadImage-DU0y-qQS.js +530 -0
- package/dist/Readest.d.ts +163 -0
- package/dist/Readest.js +4 -0
- package/dist/Readest.umd.cjs +1 -0
- package/dist/SearchSection.d.ts +30 -0
- package/dist/SearchSection.js +4 -0
- package/dist/SearchSection.umd.cjs +1 -0
- package/dist/Section.d.ts +16 -0
- package/dist/Section.js +5 -0
- package/dist/Section.umd.cjs +2 -0
- package/dist/SectionCard.d.ts +191 -0
- package/dist/SectionCard.js +4 -0
- package/dist/SectionCard.umd.cjs +1 -0
- package/dist/SectionCard2.d.ts +189 -0
- package/dist/SectionCard2.js +4 -0
- package/dist/SectionCard2.umd.cjs +1 -0
- package/dist/SectionServerComponent.d.ts +185 -0
- package/dist/SectionServerComponent.js +4 -0
- package/dist/SectionServerComponent.umd.cjs +1 -0
- package/dist/ShowSection.d.ts +12 -0
- package/dist/ShowSection.js +4 -0
- package/dist/ShowSection.umd.cjs +1 -0
- package/dist/SocialIcons-Df5cb5eG.js +148 -0
- package/dist/SocialIcons-T8ywDEIw.cjs +22 -0
- package/dist/StaticSlotWrapper.d.ts +13 -0
- package/dist/StaticSlotWrapper.js +4 -0
- package/dist/StaticSlotWrapper.umd.cjs +1 -0
- package/dist/SubscribeColumn.d.ts +33 -0
- package/dist/SubscribeColumn.js +4 -0
- package/dist/SubscribeColumn.umd.cjs +1 -0
- package/dist/SubscribeRow.d.ts +32 -0
- package/dist/SubscribeRow.js +4 -0
- package/dist/SubscribeRow.umd.cjs +1 -0
- package/dist/SubscribeWhatsAppColumn.d.ts +10 -0
- package/dist/SubscribeWhatsAppColumn.js +4 -0
- package/dist/SubscribeWhatsAppColumn.umd.cjs +1 -0
- package/dist/TagComponent.d.ts +33 -0
- package/dist/TagComponent.js +4 -0
- package/dist/TagComponent.umd.cjs +1 -0
- package/dist/TagSection.d.ts +28 -0
- package/dist/TagSection.js +4 -0
- package/dist/TagSection.umd.cjs +1 -0
- package/dist/TimeLine.d.ts +45 -0
- package/dist/TimeLine.js +4 -0
- package/dist/TimeLine.umd.cjs +1 -0
- package/dist/VideoBlock3.d.ts +65 -0
- package/dist/VideoBlock3.js +4 -0
- package/dist/VideoBlock3.umd.cjs +1 -0
- package/dist/VideoBlock4.d.ts +97 -0
- package/dist/VideoBlock4.js +4 -0
- package/dist/VideoBlock4.umd.cjs +1 -0
- package/dist/VideoSection.d.ts +65 -0
- package/dist/VideoSection.js +4 -0
- package/dist/VideoSection.umd.cjs +1 -0
- package/dist/X-BZxGttQP.js +5 -0
- package/dist/X-D2YkFTMd.cjs +1 -0
- package/dist/banner.css +1 -0
- package/dist/become-video-object-CgIYzHRq.js +36 -0
- package/dist/become-video-object-WRT2JnXP.cjs +1 -0
- package/dist/build-tag-url-BMptN9hq.cjs +1 -0
- package/dist/build-tag-url-BggBzzek.js +7 -0
- package/dist/carrousel.css +1 -0
- package/dist/comments-DB8EFXt7.cjs +74 -0
- package/dist/comments-tFoMbyqo.js +2803 -0
- package/dist/comments.css +1 -0
- package/dist/compileStyleProps-5AwxR1Kg.cjs +1 -0
- package/dist/compileStyleProps-C3Ic-G8F.js +9 -0
- package/dist/config-BzB6kHCH.cjs +1 -0
- package/dist/config-aAufvvYO.js +59 -0
- package/dist/cut-string-B_KYH_LD.cjs +1 -0
- package/dist/cut-string-Bmt-tKWG.js +4 -0
- package/dist/dynamicMainSlot-7gASyhub.cjs +1 -0
- package/dist/dynamicMainSlot-BQxEis6R.js +322 -0
- package/dist/dynamicMainSlot.css +1 -0
- package/dist/dynamicSlot-6TFhTtis.cjs +1 -0
- package/dist/dynamicSlot-CIjuUYqf.js +172 -0
- package/dist/dynamicSlot.css +1 -0
- package/dist/image-environtment-DvN02hR9.js +13 -0
- package/dist/image-environtment-n-o8Wvct.cjs +1 -0
- package/dist/image-offline.client-DCUZPh4N.js +80 -0
- package/dist/image-offline.client-r9irG9ar.cjs +1 -0
- package/dist/image-offline.css +1 -0
- package/dist/index-0q5UW-os.js +144 -0
- package/dist/index-1VBX2e-a.js +35 -0
- package/dist/index-8ydwCXM2.cjs +1 -0
- package/dist/index-AOhQz8B7.cjs +1 -0
- package/dist/index-B44ONT01.cjs +1 -0
- package/dist/index-B4Wbmicc.js +970 -0
- package/dist/index-B5h1k3BF.js +57 -0
- package/dist/index-B6nzUpBy.js +26 -0
- package/dist/index-B9BK2M6P.cjs +1 -0
- package/dist/index-BAkw1JP_.js +15 -0
- package/dist/index-BBaoMr4J.js +9 -0
- package/dist/index-BCeqfRUa.js +44 -0
- package/dist/index-BD2BnqMo.js +53 -0
- package/dist/index-BFJwjTEG.cjs +1 -0
- package/dist/index-BFlPL3-o.js +64 -0
- package/dist/index-BHoAVWni.js +9 -0
- package/dist/index-BMVOVUqe.cjs +1 -0
- package/dist/index-BQ0VlH1P.js +17 -0
- package/dist/index-BQ4m8CSd.cjs +1 -0
- package/dist/index-BSUmhtjV.cjs +1 -0
- package/dist/index-BTATfxw3.cjs +1 -0
- package/dist/index-BTXm1q5D.cjs +1 -0
- package/dist/index-BUqygcci.cjs +1 -0
- package/dist/index-BVctif39.js +54 -0
- package/dist/index-BVxIjyTu.cjs +1 -0
- package/dist/index-BWnZC_6p.cjs +1 -0
- package/dist/index-BXzwZS88.js +74 -0
- package/dist/index-BbpSaTTa.cjs +1 -0
- package/dist/index-BctcLaJ3.js +47 -0
- package/dist/index-BdWZsDM5.js +17 -0
- package/dist/index-BeNL3KGf.js +110 -0
- package/dist/index-BhJcbgps.cjs +1 -0
- package/dist/index-BiDQeLSe.cjs +1 -0
- package/dist/index-Bludp5ia.js +98 -0
- package/dist/index-BoFi5oPI.js +20 -0
- package/dist/index-BrR8dqqY.js +44 -0
- package/dist/index-BvxjhgQy.cjs +1 -0
- package/dist/index-ByqRcrmr.cjs +1 -0
- package/dist/index-ByzlJRal.js +22 -0
- package/dist/index-C0V-2Y3F.cjs +1 -0
- package/dist/index-C1b9RnKU.cjs +1 -0
- package/dist/index-C1yrpXf6.cjs +1 -0
- package/dist/index-C3_EDVyC.js +50 -0
- package/dist/index-C731eubZ.cjs +1 -0
- package/dist/index-CBBiNLd8.js +124 -0
- package/dist/index-CEyZh6GH.js +68 -0
- package/dist/index-CSP0gw9M.js +83 -0
- package/dist/index-CSWDcw6Z.js +106 -0
- package/dist/index-CUXrzzoy.js +165 -0
- package/dist/index-CVZ6pe_v.cjs +1 -0
- package/dist/index-CV_41-9o.js +98 -0
- package/dist/index-CZnJNr_-.cjs +1 -0
- package/dist/index-CaKVjYQx.cjs +1 -0
- package/dist/index-CbuyKJUC.js +220 -0
- package/dist/index-CbzRRNeZ.cjs +1 -0
- package/dist/index-Cfw-z8xA.cjs +1 -0
- package/dist/index-CkEGKGNq.cjs +1 -0
- package/dist/index-Cm1R7NCc.cjs +1 -0
- package/dist/index-CrRmOv9N.cjs +1 -0
- package/dist/index-Crk9bWh-.cjs +1 -0
- package/dist/index-CrlWjr_z.js +20 -0
- package/dist/index-CrqMIuml.cjs +1 -0
- package/dist/index-CuvdSdAB.js +46 -0
- package/dist/index-CzWMETLY.js +218 -0
- package/dist/index-D4XJVuVa.js +24 -0
- package/dist/index-D4aYrwX5.cjs +1 -0
- package/dist/index-D4cVrh_r.cjs +1 -0
- package/dist/index-D5HwU9w8.js +72 -0
- package/dist/index-D6GrBLX4.js +55 -0
- package/dist/index-D7OPcLbW.cjs +1 -0
- package/dist/index-D8_NxegM.js +32 -0
- package/dist/index-DAQF8x39.cjs +1 -0
- package/dist/index-DDfRRjFd.js +12 -0
- package/dist/index-DEDd6D4W.js +8 -0
- package/dist/index-DFl5LOA2.cjs +1 -0
- package/dist/index-DG5AJVRO.cjs +1 -0
- package/dist/index-DIFedwog.js +70 -0
- package/dist/index-DNEl0P1w.js +38 -0
- package/dist/index-DOKV7mWM.cjs +1 -0
- package/dist/index-DOUgegj3.cjs +1 -0
- package/dist/index-DPhvZRyf.js +7 -0
- package/dist/index-DQM3eD37.js +28 -0
- package/dist/index-DSiIjU39.js +136 -0
- package/dist/index-DVvcQR8S.js +47 -0
- package/dist/index-DYFMfLMT.cjs +1 -0
- package/dist/index-Da7jky-o.cjs +1 -0
- package/dist/index-DaYUh_52.cjs +1 -0
- package/dist/index-Db6FA9IG.js +15 -0
- package/dist/index-DhvwHZnW.js +24 -0
- package/dist/index-Dhy8tDFP.cjs +1 -0
- package/dist/index-DiG2MZu5.js +33 -0
- package/dist/index-DiRNYGIB.cjs +1 -0
- package/dist/index-DnO4uJnf.js +43 -0
- package/dist/index-Dnne9WW_.js +209 -0
- package/dist/index-DqOsfxCq.cjs +1 -0
- package/dist/index-DqY93RSP.js +41 -0
- package/dist/index-DqoL7iqu.cjs +1 -0
- package/dist/index-DsROBB-B.js +179 -0
- package/dist/index-DvWa7T7x.cjs +1 -0
- package/dist/index-Dw3nrCgB.cjs +1 -0
- package/dist/index-DyBYLT8G.js +29 -0
- package/dist/index-E63jFk_r.cjs +1 -0
- package/dist/index-F6olW6lY.js +50 -0
- package/dist/index-IYXqzMg6.js +19 -0
- package/dist/index-MriZ0V8v.js +86 -0
- package/dist/index-QIsNurJj.js +69 -0
- package/dist/index-V-J_R5-M.cjs +1 -0
- package/dist/index-Z58tQL2j.cjs +1 -0
- package/dist/index-_9wK_nki.js +610 -0
- package/dist/index-acARkfKm.cjs +1 -0
- package/dist/index-awsHS_US.cjs +1 -0
- package/dist/index-d8nN15g8.cjs +1 -0
- package/dist/index-pTs46L3d.cjs +1 -0
- package/dist/index-rPdT1G5L.js +27 -0
- package/dist/index-t7y5omIk.cjs +1 -0
- package/dist/index-uH8io09z.js +81 -0
- package/dist/index-ulfDPRWe.cjs +1 -0
- package/dist/index-w8Wp4avx.cjs +1 -0
- package/dist/index.css +1 -0
- package/dist/index10.css +1 -0
- package/dist/index11.css +1 -0
- package/dist/index12.css +1 -0
- package/dist/index13.css +1 -0
- package/dist/index14.css +1 -0
- package/dist/index15.css +1 -0
- package/dist/index16.css +1 -0
- package/dist/index17.css +1 -0
- package/dist/index18.css +1 -0
- package/dist/index19.css +1 -0
- package/dist/index2.css +1 -0
- package/dist/index20.css +1 -0
- package/dist/index21.css +1 -0
- package/dist/index22.css +1 -0
- package/dist/index23.css +1 -0
- package/dist/index24.css +1 -0
- package/dist/index25.css +1 -0
- package/dist/index26.css +1 -0
- package/dist/index27.css +1 -0
- package/dist/index28.css +1 -0
- package/dist/index29.css +1 -0
- package/dist/index3.css +1 -0
- package/dist/index30.css +1 -0
- package/dist/index31.css +1 -0
- package/dist/index32.css +1 -0
- package/dist/index33.css +1 -0
- package/dist/index34.css +1 -0
- package/dist/index35.css +1 -0
- package/dist/index36.css +1 -0
- package/dist/index37.css +1 -0
- package/dist/index38.css +1 -0
- package/dist/index39.css +1 -0
- package/dist/index4.css +1 -0
- package/dist/index40.css +1 -0
- package/dist/index41.css +1 -0
- package/dist/index42.css +1 -0
- package/dist/index43.css +1 -0
- package/dist/index44.css +1 -0
- package/dist/index45.css +1 -0
- package/dist/index46.css +1 -0
- package/dist/index47.css +1 -0
- package/dist/index48.css +1 -0
- package/dist/index49.css +1 -0
- package/dist/index5.css +1 -0
- package/dist/index6.css +1 -0
- package/dist/index7.css +1 -0
- package/dist/index8.css +1 -0
- package/dist/index9.css +1 -0
- package/dist/sass-template-common.css +1 -1
- package/dist/sass-template-common.js +2752 -12064
- package/dist/sass-template-common.umd.cjs +4 -111
- package/dist/section.card.css +1 -0
- package/dist/section.card.server-B99ARPky.js +54 -0
- package/dist/section.card.server-D4OCsd_w.cjs +1 -0
- package/dist/shareButtons.d.ts +19 -0
- package/dist/shareButtons.js +4 -0
- package/dist/shareButtons.umd.cjs +1 -0
- package/dist/staticSlotWrapper-CmDA3CVW.cjs +1 -0
- package/dist/staticSlotWrapper-VRNBG2M8.js +11 -0
- package/package.json +380 -60
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
declare interface ImageProps {
|
|
4
|
+
copyright: boolean;
|
|
5
|
+
description: string | false;
|
|
6
|
+
photographer: boolean;
|
|
7
|
+
sizes: Array<{
|
|
8
|
+
scale: string;
|
|
9
|
+
url: string;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
}>;
|
|
13
|
+
original: {
|
|
14
|
+
height: number;
|
|
15
|
+
width: number;
|
|
16
|
+
url: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare type Props = {
|
|
21
|
+
option: string;
|
|
22
|
+
data: Array<VideoResponseData>;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
declare interface VideoResponseData {
|
|
26
|
+
config: {
|
|
27
|
+
autoplay: boolean;
|
|
28
|
+
mute: boolean;
|
|
29
|
+
};
|
|
30
|
+
info: {
|
|
31
|
+
type: string;
|
|
32
|
+
size: boolean;
|
|
33
|
+
path: string;
|
|
34
|
+
bitrate: boolean;
|
|
35
|
+
creator: string;
|
|
36
|
+
date: {
|
|
37
|
+
created: number;
|
|
38
|
+
modified: number;
|
|
39
|
+
};
|
|
40
|
+
duration: {
|
|
41
|
+
rendered: string;
|
|
42
|
+
striped: number;
|
|
43
|
+
};
|
|
44
|
+
link: {
|
|
45
|
+
canonical: boolean;
|
|
46
|
+
internal: string;
|
|
47
|
+
target: string;
|
|
48
|
+
url: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
main: {
|
|
52
|
+
agency: boolean;
|
|
53
|
+
author: boolean;
|
|
54
|
+
categories: string;
|
|
55
|
+
code: string;
|
|
56
|
+
description: string;
|
|
57
|
+
tags: string;
|
|
58
|
+
title: string;
|
|
59
|
+
image: ImageProps;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export declare const VideoSection: FC<Props>;
|
|
64
|
+
|
|
65
|
+
export { }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-t7y5omIk.cjs");exports.VideoSection=e.VideoSection;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
const o = (r) => /* @__PURE__ */ l("svg", { ...r, version: "1.1", baseProfile: "tiny", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 30 30", overflow: "visible", xmlSpace: "preserve", children: /* @__PURE__ */ l("path", { fill: "currentColor", d: "M5.9,6.1l7.1,9.8l-7.1,7.9h1.6l6.2-7l5,7h5.4l-7.5-10.3l6.6-7.4h-1.6L16,12.5l-4.6-6.4L5.9,6.1L5.9,6.1zM8.2,7.4h2.5l11,15.3h-2.5L8.2,7.4z" }) });
|
|
3
|
+
export {
|
|
4
|
+
o as X
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),r=e=>l.jsx("svg",{...e,version:"1.1",baseProfile:"tiny",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 30 30",overflow:"visible",xmlSpace:"preserve",children:l.jsx("path",{fill:"currentColor",d:"M5.9,6.1l7.1,9.8l-7.1,7.9h1.6l6.2-7l5,7h5.4l-7.5-10.3l6.6-7.4h-1.6L16,12.5l-4.6-6.4L5.9,6.1L5.9,6.1zM8.2,7.4h2.5l11,15.3h-2.5L8.2,7.4z"})});exports.X=r;
|
package/dist/banner.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.banner-container{display:flex;justify-content:center;align-items:center;width:100%;flex-direction:column}.banner-container>.banner-mobile{display:flex;justify-content:center;align-items:center}.banner-container>.banner-tablet{display:none}.banner-container>.banner-desktop{display:none}@media(min-width:900px){.banner-container>.banner-mobile{display:none}.banner-container>.banner-tablet{display:flex;justify-content:center;align-items:center}.banner-container>.banner-desktop{display:none}}@media(min-width:1200px){.banner-container>.banner-mobile{display:none}.banner-container>.banner-tablet{display:none}.banner-container>.banner-desktop{display:flex;justify-content:center;align-items:center}}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const n = (i, t, e) => ({
|
|
2
|
+
authors: [],
|
|
3
|
+
social: {
|
|
4
|
+
description: "",
|
|
5
|
+
images: { facebook: "", twitter: "" },
|
|
6
|
+
title: ""
|
|
7
|
+
},
|
|
8
|
+
info: {
|
|
9
|
+
date: { ...i?.info.date, lastpublish: 0, firstpublish: 0, date: "" },
|
|
10
|
+
link: i?.info.link
|
|
11
|
+
},
|
|
12
|
+
preview: {
|
|
13
|
+
sizes: i?.main.image.sizes,
|
|
14
|
+
description: i?.main.image.description
|
|
15
|
+
},
|
|
16
|
+
config: {
|
|
17
|
+
showtime: t,
|
|
18
|
+
showsubtitle: e
|
|
19
|
+
},
|
|
20
|
+
main: {
|
|
21
|
+
title: {
|
|
22
|
+
article: i?.main.title,
|
|
23
|
+
home: i?.main.title,
|
|
24
|
+
seo: i?.main.title,
|
|
25
|
+
section: i?.main.title
|
|
26
|
+
},
|
|
27
|
+
subtitle: {
|
|
28
|
+
rendered: i?.main.description,
|
|
29
|
+
striped: i?.main.description
|
|
30
|
+
},
|
|
31
|
+
tags: []
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
n as b
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=(i,t,e)=>({authors:[],social:{description:"",images:{facebook:"",twitter:""},title:""},info:{date:{...i?.info.date,lastpublish:0,firstpublish:0,date:""},link:i?.info.link},preview:{sizes:i?.main.image.sizes,description:i?.main.image.description},config:{showtime:t,showsubtitle:e},main:{title:{article:i?.main.title,home:i?.main.title,seo:i?.main.title,section:i?.main.title},subtitle:{rendered:i?.main.description,striped:i?.main.description},tags:[]}});exports.becomeVideoObject=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=(e,l)=>{const r=e.name.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/ñ/g,"n").replace(/Ñ/g,"n").replace(/[^\w\s]/gi,"").replaceAll(" ","-").toLowerCase();return l.tema?`/${l.tema}/${r}-t${e.id}`:`/${r}-t${e.id}`};exports.buildTagUrl=a;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const a = (e, r) => {
|
|
2
|
+
const l = e.name.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/ñ/g, "n").replace(/Ñ/g, "n").replace(/[^\w\s]/gi, "").replaceAll(" ", "-").toLowerCase();
|
|
3
|
+
return r.tema ? `/${r.tema}/${l}-t${e.id}` : `/${l}-t${e.id}`;
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
a as b
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.carrousel-container{position:relative;display:flex;align-items:center;overflow:hidden;border-radius:var(--carrousel-border-radius, 0);box-shadow:var(--box-shadow_carrousel-container, none)}.carrousel-ssr{justify-content:flex-start!important;display:flex;position:relative;align-items:center;width:100%;margin:0 .5rem 1rem;transition:transform .3s;transform:translate(0)}.carrousel-pagination{display:flex;gap:2px;align-items:center;height:3px;position:absolute;bottom:2rem;justify-content:center;width:100%}.carrousel-pagination>li{background-color:var(--carrousel-pagination-background-color-white);border-radius:10px;width:2rem;height:100%;list-style:none}@media(max-width:900px){.carrousel-pagination>li{width:1rem}}.card{position:relative;display:flex;justify-content:center;align-items:center}.card>:first-child{width:100%}input[type=radio]{display:none}.visible-arrow{position:absolute;display:none;width:3.5rem;background-color:var(--carrousel-button-background);color:var(--carrousel-button-color);align-items:center;justify-content:center;border-radius:50%;z-index:3;font-size:2rem;height:3.5rem;border:none;cursor:pointer;top:var(--carrousel-arrow-top, auto)}.visible-arrow.right{right:.5rem}.visible-arrow.left{rotate:180deg;left:.5rem}.visible-arrow:hover{background-color:var(--carrousel-button-hover-background, var(--carrousel-button-background));opacity:1!important;color:var(--carrousel-button-hover-color, var(--carrousel-button-color))}.carrousel-ssr{touch-action:pan-y pinch-zoom}.carrousel-ssr[style*="cursor: grab"]{cursor:grab!important}.carrousel-ssr[style*="cursor: grabbing"]{cursor:grabbing!important}.carrousel-ssr[style*="cursor: grabbing"] *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important}.carrousel-ssr[style*="cursor: grabbing"] .card{pointer-events:none}.carrousel-ssr[style*="cursor: grabbing"] .card *{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.visible-arrow[style*="display: flex"]{display:flex!important}@media(max-width:900px){.carrousel-ssr{touch-action:pan-y}.visible-arrow{touch-action:manipulation}}.carrousel-ssr{will-change:transform}body.dragging{touch-action:none}.carrousel-pagination li.active{background-color:var(--carrousel-pagination-background-color, rgba(0, 0, 0, .8))!important}.carrousel-ssr[style*="transition: none"]{transition:none!important}.carrousel-ssr,.carrousel-ssr *,.visible-arrow{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}.carrousel-ssr img{-webkit-user-drag:none;-khtml-user-drag:none;-moz-user-drag:none;-o-user-drag:none;user-drag:none;pointer-events:none}.carrousel-ssr[style*="cursor: grab"] img{pointer-events:none}.visible-arrow:focus{outline:2px solid var(--carrousel-button-focus-color, #007bff);outline-offset:2px}.carrousel-pagination li:focus{outline:2px solid var(--carrousel-button-focus-color, #007bff);outline-offset:2px}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),Bt=require("react");;/* empty css */const Se=require("./index-BhJcbgps.cjs"),ie=require("./index-V-J_R5-M.cjs"),Z=require("./index-E63jFk_r.cjs"),at=require("./PreloadImage-CnJUVuFd.cjs"),Ft=require("./index-BvxjhgQy.cjs"),Ut=require("./index-DqOsfxCq.cjs"),Ht=require("./index-CbzRRNeZ.cjs"),zt=require("./index-acARkfKm.cjs"),Dt=require("./index-D7OPcLbW.cjs"),Mt=require("./index-DAQF8x39.cjs"),qt=require("./index-DiRNYGIB.cjs");;/* empty css */const fe=require("./index-Z58tQL2j.cjs"),ct=require("./index-Da7jky-o.cjs"),X=require("./image-environtment-n-o8Wvct.cjs"),lt=require("./config-BzB6kHCH.cjs"),_=require("./index-BTATfxw3.cjs"),Jt=require("./Link-CHPphz3c.cjs"),Wt=require("./index-CrRmOv9N.cjs"),Vt=require("./dynamicSlot-6TFhTtis.cjs");function ut(e,t){return function(){return e.apply(t,arguments)}}const{toString:Gt}=Object.prototype,{getPrototypeOf:$e}=Object,{iterator:me,toStringTag:dt}=Symbol,pe=(e=>t=>{const n=Gt.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),$=e=>(e=e.toLowerCase(),t=>pe(t)===e),ge=e=>t=>typeof t===e,{isArray:J}=Array,q=ge("undefined");function Y(e){return e!==null&&!q(e)&&e.constructor!==null&&!q(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ft=$("ArrayBuffer");function Kt(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ft(e.buffer),t}const Zt=ge("string"),R=ge("function"),ht=ge("number"),Q=e=>e!==null&&typeof e=="object",Xt=e=>e===!0||e===!1,le=e=>{if(pe(e)!=="object")return!1;const t=$e(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(dt in e)&&!(me in e)},Yt=e=>{if(!Q(e)||Y(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Qt=$("Date"),en=$("File"),tn=$("Blob"),nn=$("FileList"),sn=e=>Q(e)&&R(e.pipe),rn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||R(e.append)&&((t=pe(e))==="formdata"||t==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))},on=$("URLSearchParams"),[an,cn,ln,un]=["ReadableStream","Request","Response","Headers"].map($),dn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ee(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),J(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{if(Y(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(s=0;s<i;s++)a=o[s],t.call(null,e[a],a,e)}}function mt(e,t){if(Y(e))return null;t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const H=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,pt=e=>!q(e)&&e!==H;function Ae(){const{caseless:e,skipUndefined:t}=pt(this)&&this||{},n={},s=(r,o)=>{const i=e&&mt(n,o)||o;le(n[i])&&le(r)?n[i]=Ae(n[i],r):le(r)?n[i]=Ae({},r):J(r)?n[i]=r.slice():(!t||!q(r))&&(n[i]=r)};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&ee(arguments[r],s);return n}const fn=(e,t,n,{allOwnKeys:s}={})=>(ee(t,(r,o)=>{n&&R(r)?e[o]=ut(r,n):e[o]=r},{allOwnKeys:s}),e),hn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mn=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},pn=(e,t,n,s)=>{let r,o,i;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)i=r[o],(!s||s(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&$e(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},gn=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},wn=e=>{if(!e)return null;if(J(e))return e;let t=e.length;if(!ht(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},yn=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$e(Uint8Array)),xn=(e,t)=>{const s=(e&&e[me]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},bn=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Sn=$("HTMLFormElement"),En=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),De=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Cn=$("RegExp"),gt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};ee(n,(r,o)=>{let i;(i=t(r,o,e))!==!1&&(s[o]=i||r)}),Object.defineProperties(e,s)},jn=e=>{gt(e,(t,n)=>{if(R(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(R(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},_n=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return J(e)?s(e):s(String(e).split(t)),n},An=()=>{},Rn=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Nn(e){return!!(e&&R(e.append)&&e[dt]==="FormData"&&e[me])}const vn=e=>{const t=new Array(10),n=(s,r)=>{if(Q(s)){if(t.indexOf(s)>=0)return;if(Y(s))return s;if(!("toJSON"in s)){t[r]=s;const o=J(s)?[]:{};return ee(s,(i,a)=>{const f=n(i,r+1);!q(f)&&(o[a]=f)}),t[r]=void 0,o}}return s};return n(e,0)},Tn=$("AsyncFunction"),$n=e=>e&&(Q(e)||R(e))&&R(e.then)&&R(e.catch),wt=((e,t)=>e?setImmediate:t?((n,s)=>(H.addEventListener("message",({source:r,data:o})=>{r===H&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),H.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",R(H.postMessage)),On=typeof queueMicrotask<"u"?queueMicrotask.bind(H):typeof process<"u"&&process.nextTick||wt,kn=e=>e!=null&&R(e[me]),c={isArray:J,isArrayBuffer:ft,isBuffer:Y,isFormData:rn,isArrayBufferView:Kt,isString:Zt,isNumber:ht,isBoolean:Xt,isObject:Q,isPlainObject:le,isEmptyObject:Yt,isReadableStream:an,isRequest:cn,isResponse:ln,isHeaders:un,isUndefined:q,isDate:Qt,isFile:en,isBlob:tn,isRegExp:Cn,isFunction:R,isStream:sn,isURLSearchParams:on,isTypedArray:yn,isFileList:nn,forEach:ee,merge:Ae,extend:fn,trim:dn,stripBOM:hn,inherits:mn,toFlatObject:pn,kindOf:pe,kindOfTest:$,endsWith:gn,toArray:wn,forEachEntry:xn,matchAll:bn,isHTMLForm:Sn,hasOwnProperty:De,hasOwnProp:De,reduceDescriptors:gt,freezeMethods:jn,toObjectSet:_n,toCamelCase:En,noop:An,toFiniteNumber:Rn,findKey:mt,global:H,isContextDefined:pt,isSpecCompliantForm:Nn,toJSONObject:vn,isAsyncFn:Tn,isThenable:$n,setImmediate:wt,asap:On,isIterable:kn};function y(e,t,n,s,r){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)}c.inherits(y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.status}}});const yt=y.prototype,xt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{xt[e]={value:e}});Object.defineProperties(y,xt);Object.defineProperty(yt,"isAxiosError",{value:!0});y.from=(e,t,n,s,r,o)=>{const i=Object.create(yt);c.toFlatObject(e,i,function(d){return d!==Error.prototype},u=>u!=="isAxiosError");const a=e&&e.message?e.message:"Error",f=t==null&&e?e.code:t;return y.call(i,a,f,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};const Pn=null;function Re(e){return c.isPlainObject(e)||c.isArray(e)}function bt(e){return c.endsWith(e,"[]")?e.slice(0,-2):e}function Me(e,t,n){return e?e.concat(t).map(function(r,o){return r=bt(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Ln(e){return c.isArray(e)&&!e.some(Re)}const In=c.toFlatObject(c,{},null,function(t){return/^is[A-Z]/.test(t)});function we(e,t,n){if(!c.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=c.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,p){return!c.isUndefined(p[w])});const s=n.metaTokens,r=n.visitor||d,o=n.dots,i=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(t);if(!c.isFunction(r))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(c.isDate(h))return h.toISOString();if(c.isBoolean(h))return h.toString();if(!f&&c.isBlob(h))throw new y("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(h)||c.isTypedArray(h)?f&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,w,p){let E=h;if(h&&!p&&typeof h=="object"){if(c.endsWith(w,"{}"))w=s?w:w.slice(0,-2),h=JSON.stringify(h);else if(c.isArray(h)&&Ln(h)||(c.isFileList(h)||c.endsWith(w,"[]"))&&(E=c.toArray(h)))return w=bt(w),E.forEach(function(b,A){!(c.isUndefined(b)||b===null)&&t.append(i===!0?Me([w],A,o):i===null?w:w+"[]",u(b))}),!1}return Re(h)?!0:(t.append(Me(p,w,o),u(h)),!1)}const m=[],g=Object.assign(In,{defaultVisitor:d,convertValue:u,isVisitable:Re});function x(h,w){if(!c.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+w.join("."));m.push(h),c.forEach(h,function(E,C){(!(c.isUndefined(E)||E===null)&&r.call(t,E,c.isString(C)?C.trim():C,w,g))===!0&&x(E,w?w.concat(C):[C])}),m.pop()}}if(!c.isObject(e))throw new TypeError("data must be an object");return x(e),t}function qe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Oe(e,t){this._pairs=[],e&&we(e,this,t)}const St=Oe.prototype;St.append=function(t,n){this._pairs.push([t,n])};St.toString=function(t){const n=t?function(s){return t.call(this,s,qe)}:qe;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Bn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Et(e,t,n){if(!t)return e;const s=n&&n.encode||Bn;c.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=c.isURLSearchParams(t)?t.toString():new Oe(t,n).toString(s),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Je{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){c.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Fn=typeof URLSearchParams<"u"?URLSearchParams:Oe,Un=typeof FormData<"u"?FormData:null,Hn=typeof Blob<"u"?Blob:null,zn={isBrowser:!0,classes:{URLSearchParams:Fn,FormData:Un,Blob:Hn},protocols:["http","https","file","blob","url","data"]},ke=typeof window<"u"&&typeof document<"u",Ne=typeof navigator=="object"&&navigator||void 0,Dn=ke&&(!Ne||["ReactNative","NativeScript","NS"].indexOf(Ne.product)<0),Mn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qn=ke&&window.location.href||"http://localhost",Jn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ke,hasStandardBrowserEnv:Dn,hasStandardBrowserWebWorkerEnv:Mn,navigator:Ne,origin:qn},Symbol.toStringTag,{value:"Module"})),j={...Jn,...zn};function Wn(e,t){return we(e,new j.classes.URLSearchParams,{visitor:function(n,s,r,o){return j.isNode&&c.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function Vn(e){return c.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Gn(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s<r;s++)o=n[s],t[o]=e[o];return t}function jt(e){function t(n,s,r,o){let i=n[o++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),f=o>=n.length;return i=!i&&c.isArray(r)?r.length:i,f?(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]=Gn(r[i])),!a)}if(c.isFormData(e)&&c.isFunction(e.entries)){const n={};return c.forEachEntry(e,(s,r)=>{t(Vn(s),r,n,0)}),n}return null}function Kn(e,t,n){if(c.isString(e))try{return(t||JSON.parse)(e),c.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const te={transitional:Ct,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=c.isObject(t);if(o&&c.isHTMLForm(t)&&(t=new FormData(t)),c.isFormData(t))return r?JSON.stringify(jt(t)):t;if(c.isArrayBuffer(t)||c.isBuffer(t)||c.isStream(t)||c.isFile(t)||c.isBlob(t)||c.isReadableStream(t))return t;if(c.isArrayBufferView(t))return t.buffer;if(c.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Wn(t,this.formSerializer).toString();if((a=c.isFileList(t))||s.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return we(a?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Kn(t)):t}],transformResponse:[function(t){const n=this.transitional||te.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(c.isResponse(t)||c.isReadableStream(t))return t;if(t&&c.isString(t)&&(s&&!this.responseType||r)){const i=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(a){if(i)throw a.name==="SyntaxError"?y.from(a,y.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:j.classes.FormData,Blob:j.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],e=>{te.headers[e]={}});const Zn=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Xn=e=>{const t={};let n,s,r;return e&&e.split(`
|
|
2
|
+
`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),s=i.substring(r+1).trim(),!(!n||t[n]&&Zn[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},We=Symbol("internals");function G(e){return e&&String(e).trim().toLowerCase()}function ue(e){return e===!1||e==null?e:c.isArray(e)?e.map(ue):String(e)}function Yn(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Qn=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ee(e,t,n,s,r){if(c.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!c.isString(t)){if(c.isString(s))return t.indexOf(s)!==-1;if(c.isRegExp(s))return s.test(t)}}function es(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function ts(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,i){return this[s].call(this,t,r,o,i)},configurable:!0})})}let N=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(a,f,u){const d=G(f);if(!d)throw new Error("header name must be a non-empty string");const m=c.findKey(r,d);(!m||r[m]===void 0||u===!0||u===void 0&&r[m]!==!1)&&(r[m||f]=ue(a))}const i=(a,f)=>c.forEach(a,(u,d)=>o(u,d,f));if(c.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(c.isString(t)&&(t=t.trim())&&!Qn(t))i(Xn(t),n);else if(c.isObject(t)&&c.isIterable(t)){let a={},f,u;for(const d of t){if(!c.isArray(d))throw TypeError("Object iterator must return a key-value pair");a[u=d[0]]=(f=a[u])?c.isArray(f)?[...f,d[1]]:[f,d[1]]:d[1]}i(a,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=G(t),t){const s=c.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Yn(r);if(c.isFunction(n))return n.call(this,r,s);if(c.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=G(t),t){const s=c.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Ee(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(i){if(i=G(i),i){const a=c.findKey(s,i);a&&(!n||Ee(s,s[a],a,n))&&(delete s[a],r=!0)}}return c.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||Ee(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return c.forEach(this,(r,o)=>{const i=c.findKey(s,o);if(i){n[i]=ue(r),delete n[o];return}const a=t?es(o):String(o).trim();a!==o&&delete n[o],n[a]=ue(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&c.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[We]=this[We]={accessors:{}}).accessors,r=this.prototype;function o(i){const a=G(i);s[a]||(ts(r,i),s[a]=!0)}return c.isArray(t)?t.forEach(o):o(t),this}};N.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors(N.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});c.freezeMethods(N);function Ce(e,t){const n=this||te,s=t||n,r=N.from(s.headers);let o=s.data;return c.forEach(e,function(a){o=a.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function _t(e){return!!(e&&e.__CANCEL__)}function W(e,t,n){y.call(this,e??"canceled",y.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(W,y,{__CANCEL__:!0});function At(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function ns(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ss(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const u=Date.now(),d=s[o];i||(i=u),n[r]=f,s[r]=u;let m=o,g=0;for(;m!==r;)g+=n[m++],m=m%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),u-i<t)return;const x=d&&u-d;return x?Math.round(g*1e3/x):void 0}}function rs(e,t){let n=0,s=1e3/t,r,o;const i=(u,d=Date.now())=>{n=d,r=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const d=Date.now(),m=d-n;m>=s?i(u,d):(r=u,o||(o=setTimeout(()=>{o=null,i(r)},s-m)))},()=>r&&i(r)]}const he=(e,t,n=3)=>{let s=0;const r=ss(50,250);return rs(o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,f=i-s,u=r(f),d=i<=a;s=i;const m={loaded:i,total:a,progress:a?i/a:void 0,bytes:f,rate:u||void 0,estimated:u&&a&&d?(a-i)/u:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(m)},n)},Ve=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Ge=e=>(...t)=>c.asap(()=>e(...t)),os=j.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,j.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(j.origin),j.navigator&&/(msie|trident)/i.test(j.navigator.userAgent)):()=>!0,is=j.hasStandardBrowserEnv?{write(e,t,n,s,r,o,i){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];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("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function as(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cs(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Rt(e,t,n){let s=!as(t);return e&&(s||n==!1)?cs(e,t):t}const Ke=e=>e instanceof N?{...e}:e;function D(e,t){t=t||{};const n={};function s(u,d,m,g){return c.isPlainObject(u)&&c.isPlainObject(d)?c.merge.call({caseless:g},u,d):c.isPlainObject(d)?c.merge({},d):c.isArray(d)?d.slice():d}function r(u,d,m,g){if(c.isUndefined(d)){if(!c.isUndefined(u))return s(void 0,u,m,g)}else return s(u,d,m,g)}function o(u,d){if(!c.isUndefined(d))return s(void 0,d)}function i(u,d){if(c.isUndefined(d)){if(!c.isUndefined(u))return s(void 0,u)}else return s(void 0,d)}function a(u,d,m){if(m in t)return s(u,d);if(m in e)return s(void 0,u)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,d,m)=>r(Ke(u),Ke(d),m,!0)};return c.forEach(Object.keys({...e,...t}),function(d){const m=f[d]||r,g=m(e[d],t[d],d);c.isUndefined(g)&&m!==a||(n[d]=g)}),n}const Nt=e=>{const t=D({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:i,auth:a}=t;if(t.headers=i=N.from(i),t.url=Et(Rt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),c.isFormData(n)){if(j.hasStandardBrowserEnv||j.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(c.isFunction(n.getHeaders)){const f=n.getHeaders(),u=["content-type","content-length"];Object.entries(f).forEach(([d,m])=>{u.includes(d.toLowerCase())&&i.set(d,m)})}}if(j.hasStandardBrowserEnv&&(s&&c.isFunction(s)&&(s=s(t)),s||s!==!1&&os(t.url))){const f=r&&o&&is.read(o);f&&i.set(r,f)}return t},ls=typeof XMLHttpRequest<"u",us=ls&&function(e){return new Promise(function(n,s){const r=Nt(e);let o=r.data;const i=N.from(r.headers).normalize();let{responseType:a,onUploadProgress:f,onDownloadProgress:u}=r,d,m,g,x,h;function w(){x&&x(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(d),r.signal&&r.signal.removeEventListener("abort",d)}let p=new XMLHttpRequest;p.open(r.method.toUpperCase(),r.url,!0),p.timeout=r.timeout;function E(){if(!p)return;const b=N.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),T={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:b,config:e,request:p};At(function(v){n(v),w()},function(v){s(v),w()},T),p=null}"onloadend"in p?p.onloadend=E:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(E)},p.onabort=function(){p&&(s(new y("Request aborted",y.ECONNABORTED,e,p)),p=null)},p.onerror=function(A){const T=A&&A.message?A.message:"Network Error",F=new y(T,y.ERR_NETWORK,e,p);F.event=A||null,s(F),p=null},p.ontimeout=function(){let A=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const T=r.transitional||Ct;r.timeoutErrorMessage&&(A=r.timeoutErrorMessage),s(new y(A,T.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,e,p)),p=null},o===void 0&&i.setContentType(null),"setRequestHeader"in p&&c.forEach(i.toJSON(),function(A,T){p.setRequestHeader(T,A)}),c.isUndefined(r.withCredentials)||(p.withCredentials=!!r.withCredentials),a&&a!=="json"&&(p.responseType=r.responseType),u&&([g,h]=he(u,!0),p.addEventListener("progress",g)),f&&p.upload&&([m,x]=he(f),p.upload.addEventListener("progress",m),p.upload.addEventListener("loadend",x)),(r.cancelToken||r.signal)&&(d=b=>{p&&(s(!b||b.type?new W(null,e,p):b),p.abort(),p=null)},r.cancelToken&&r.cancelToken.subscribe(d),r.signal&&(r.signal.aborted?d():r.signal.addEventListener("abort",d)));const C=ns(r.url);if(C&&j.protocols.indexOf(C)===-1){s(new y("Unsupported protocol "+C+":",y.ERR_BAD_REQUEST,e));return}p.send(o||null)})},ds=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(u){if(!r){r=!0,a();const d=u instanceof Error?u:this.reason;s.abort(d instanceof y?d:new W(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,o(new y(`timeout ${t} of ms exceeded`,y.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:f}=s;return f.unsubscribe=()=>c.asap(a),f}},fs=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},hs=async function*(e,t){for await(const n of ms(e))yield*fs(n,t)},ms=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},Ze=(e,t,n,s)=>{const r=hs(e,t);let o=0,i,a=f=>{i||(i=!0,s&&s(f))};return new ReadableStream({async pull(f){try{const{done:u,value:d}=await r.next();if(u){a(),f.close();return}let m=d.byteLength;if(n){let g=o+=m;n(g)}f.enqueue(new Uint8Array(d))}catch(u){throw a(u),u}},cancel(f){return a(f),r.return()}},{highWaterMark:2})},Xe=64*1024,{isFunction:ae}=c,ps=(({Request:e,Response:t})=>({Request:e,Response:t}))(c.global),{ReadableStream:Ye,TextEncoder:Qe}=c.global,et=(e,...t)=>{try{return!!e(...t)}catch{return!1}},gs=e=>{e=c.merge.call({skipUndefined:!0},ps,e);const{fetch:t,Request:n,Response:s}=e,r=t?ae(t):typeof fetch=="function",o=ae(n),i=ae(s);if(!r)return!1;const a=r&&ae(Ye),f=r&&(typeof Qe=="function"?(h=>w=>h.encode(w))(new Qe):async h=>new Uint8Array(await new n(h).arrayBuffer())),u=o&&a&&et(()=>{let h=!1;const w=new n(j.origin,{body:new Ye,method:"POST",get duplex(){return h=!0,"half"}}).headers.has("Content-Type");return h&&!w}),d=i&&a&&et(()=>c.isReadableStream(new s("").body)),m={stream:d&&(h=>h.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach(h=>{!m[h]&&(m[h]=(w,p)=>{let E=w&&w[h];if(E)return E.call(w);throw new y(`Response type '${h}' is not supported`,y.ERR_NOT_SUPPORT,p)})});const g=async h=>{if(h==null)return 0;if(c.isBlob(h))return h.size;if(c.isSpecCompliantForm(h))return(await new n(j.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(c.isArrayBufferView(h)||c.isArrayBuffer(h))return h.byteLength;if(c.isURLSearchParams(h)&&(h=h+""),c.isString(h))return(await f(h)).byteLength},x=async(h,w)=>{const p=c.toFiniteNumber(h.getContentLength());return p??g(w)};return async h=>{let{url:w,method:p,data:E,signal:C,cancelToken:b,timeout:A,onDownloadProgress:T,onUploadProgress:F,responseType:v,headers:xe,withCredentials:se="same-origin",fetchOptions:Ie}=Nt(h),Be=t||fetch;v=v?(v+"").toLowerCase():"text";let re=ds([C,b&&b.toAbortSignal()],A),V=null;const U=re&&re.unsubscribe&&(()=>{re.unsubscribe()});let Fe;try{if(F&&u&&p!=="get"&&p!=="head"&&(Fe=await x(xe,E))!==0){let I=new n(w,{method:"POST",body:E,duplex:"half"}),M;if(c.isFormData(E)&&(M=I.headers.get("content-type"))&&xe.setContentType(M),I.body){const[be,oe]=Ve(Fe,he(Ge(F)));E=Ze(I.body,Xe,be,oe)}}c.isString(se)||(se=se?"include":"omit");const O=o&&"credentials"in n.prototype,Ue={...Ie,signal:re,method:p.toUpperCase(),headers:xe.normalize().toJSON(),body:E,duplex:"half",credentials:O?se:void 0};V=o&&new n(w,Ue);let L=await(o?Be(V,Ie):Be(w,Ue));const He=d&&(v==="stream"||v==="response");if(d&&(T||He&&U)){const I={};["status","statusText","headers"].forEach(ze=>{I[ze]=L[ze]});const M=c.toFiniteNumber(L.headers.get("content-length")),[be,oe]=T&&Ve(M,he(Ge(T),!0))||[];L=new s(Ze(L.body,Xe,be,()=>{oe&&oe(),U&&U()}),I)}v=v||"text";let It=await m[c.findKey(m,v)||"text"](L,h);return!He&&U&&U(),await new Promise((I,M)=>{At(I,M,{data:It,headers:N.from(L.headers),status:L.status,statusText:L.statusText,config:h,request:V})})}catch(O){throw U&&U(),O&&O.name==="TypeError"&&/Load failed|fetch/i.test(O.message)?Object.assign(new y("Network Error",y.ERR_NETWORK,h,V),{cause:O.cause||O}):y.from(O,O&&O.code,h,V)}}},ws=new Map,vt=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:r}=t,o=[s,r,n];let i=o.length,a=i,f,u,d=ws;for(;a--;)f=o[a],u=d.get(f),u===void 0&&d.set(f,u=a?new Map:gs(t)),d=u;return u};vt();const Pe={http:Pn,xhr:us,fetch:{get:vt}};c.forEach(Pe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const tt=e=>`- ${e}`,ys=e=>c.isFunction(e)||e===null||e===!1;function xs(e,t){e=c.isArray(e)?e:[e];const{length:n}=e;let s,r;const o={};for(let i=0;i<n;i++){s=e[i];let a;if(r=s,!ys(s)&&(r=Pe[(a=String(s)).toLowerCase()],r===void 0))throw new y(`Unknown adapter '${a}'`);if(r&&(c.isFunction(r)||(r=r.get(t))))break;o[a||"#"+i]=r}if(!r){const i=Object.entries(o).map(([f,u])=>`adapter ${f} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=n?i.length>1?`since :
|
|
4
|
+
`+i.map(tt).join(`
|
|
5
|
+
`):" "+tt(i[0]):"as no adapter specified";throw new y("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r}const Tt={getAdapter:xs,adapters:Pe};function je(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new W(null,e)}function nt(e){return je(e),e.headers=N.from(e.headers),e.data=Ce.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Tt.getAdapter(e.adapter||te.adapter,e)(e).then(function(s){return je(e),s.data=Ce.call(e,e.transformResponse,s),s.headers=N.from(s.headers),s},function(s){return _t(s)||(je(e),s&&s.response&&(s.response.data=Ce.call(e,e.transformResponse,s.response),s.response.headers=N.from(s.response.headers))),Promise.reject(s)})}const $t="1.13.2",ye={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ye[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const st={};ye.transitional=function(t,n,s){function r(o,i){return"[Axios v"+$t+"] Transitional option '"+o+"'"+i+(s?". "+s:"")}return(o,i,a)=>{if(t===!1)throw new y(r(i," has been removed"+(n?" in "+n:"")),y.ERR_DEPRECATED);return n&&!st[i]&&(st[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};ye.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function bs(e,t,n){if(typeof e!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],i=t[o];if(i){const a=e[o],f=a===void 0||i(a,o,e);if(f!==!0)throw new y("option "+o+" must be "+f,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+o,y.ERR_BAD_OPTION)}}const de={assertOptions:bs,validators:ye},k=de.validators;let z=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Je,response:new Je}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
|
6
|
+
`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=D(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&de.assertOptions(s,{silentJSONParsing:k.transitional(k.boolean),forcedJSONParsing:k.transitional(k.boolean),clarifyTimeoutError:k.transitional(k.boolean)},!1),r!=null&&(c.isFunction(r)?n.paramsSerializer={serialize:r}:de.assertOptions(r,{encode:k.function,serialize:k.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),de.assertOptions(n,{baseUrl:k.spelling("baseURL"),withXsrfToken:k.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&c.merge(o.common,o[n.method]);o&&c.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=N.concat(i,o);const a=[];let f=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(f=f&&w.synchronous,a.unshift(w.fulfilled,w.rejected))});const u=[];this.interceptors.response.forEach(function(w){u.push(w.fulfilled,w.rejected)});let d,m=0,g;if(!f){const h=[nt.bind(this),void 0];for(h.unshift(...a),h.push(...u),g=h.length,d=Promise.resolve(n);m<g;)d=d.then(h[m++],h[m++]);return d}g=a.length;let x=n;for(;m<g;){const h=a[m++],w=a[m++];try{x=h(x)}catch(p){w.call(this,p);break}}try{d=nt.call(this,x)}catch(h){return Promise.reject(h)}for(m=0,g=u.length;m<g;)d=d.then(u[m++],u[m++]);return d}getUri(t){t=D(this.defaults,t);const n=Rt(t.baseURL,t.url,t.allowAbsoluteUrls);return Et(n,t.params,t.paramsSerializer)}};c.forEach(["delete","get","head","options"],function(t){z.prototype[t]=function(n,s){return this.request(D(s||{},{method:t,url:n,data:(s||{}).data}))}});c.forEach(["post","put","patch"],function(t){function n(s){return function(o,i,a){return this.request(D(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}z.prototype[t]=n(),z.prototype[t+"Form"]=n(!0)});let Ss=class Ot{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const i=new Promise(a=>{s.subscribe(a),o=a}).then(r);return i.cancel=function(){s.unsubscribe(o)},i},t(function(o,i,a){s.reason||(s.reason=new W(o,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ot(function(r){t=r}),cancel:t}}};function Es(e){return function(n){return e.apply(null,n)}}function Cs(e){return c.isObject(e)&&e.isAxiosError===!0}const ve={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ve).forEach(([e,t])=>{ve[t]=e});function kt(e){const t=new z(e),n=ut(z.prototype.request,t);return c.extend(n,z.prototype,t,{allOwnKeys:!0}),c.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return kt(D(e,r))},n}const S=kt(te);S.Axios=z;S.CanceledError=W;S.CancelToken=Ss;S.isCancel=_t;S.VERSION=$t;S.toFormData=we;S.AxiosError=y;S.Cancel=S.CanceledError;S.all=function(t){return Promise.all(t)};S.spread=Es;S.isAxiosError=Cs;S.mergeConfig=D;S.AxiosHeaders=N;S.formToJSON=e=>jt(c.isHTMLForm(e)?new FormData(e):e);S.getAdapter=Tt.getAdapter;S.HttpStatusCode=ve;S.default=S;const{Axios:Pr,AxiosError:Lr,CanceledError:Ir,isCancel:Br,CancelToken:Fr,VERSION:Ur,all:Hr,Cancel:zr,isAxiosError:Dr,spread:Mr,toFormData:qr,AxiosHeaders:Jr,HttpStatusCode:Wr,formToJSON:Vr,getAdapter:Gr,mergeConfig:Kr}=S;class ne{constructor(t){this.props=t,t?.config?.configVersion&&(this.configVersion=t.config.configVersion)}configVersion=".config";generateTokenOffline=async t=>{const{PUBLIC_IS_OFFLINE:n,PUBLIC_USERNAME_OFFLINE:s,PUBLIC_PASSWORD_OFFLINE:r}=lt.getConfig();if(n==="true")try{return(await this.props?.axiosApi.get("/auth",{params:{username:s,password:r,browserid:t}}).catch(i=>(console.log(`[/auth]Error: ${i.message}`),Promise.reject(i))))?.data.data[0]?.token}catch(o){console.log(`[/auth] Error: ${o.message}`),console.log(o)}};getMainMenu=t=>this.props?.axiosApi.get("/config/menu",{params:t}).catch(n=>(console.log(`[/config/menu] Error: ${n.message}`),Promise.reject(n)));getNewsListZone=t=>this.props?.axiosApi.get("/news-list-zone",{params:t}).catch(n=>(console.log(`[/news-list-zone] Error: ${n.message}`),Promise.reject(n)));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)));getNewsList=t=>this.props?.axiosApi.get("/news-list",{params:t}).catch(n=>(console.log(`[/news-list] Error: ${n.message}`),Promise.reject(n)));getNewsListTag=t=>this.props?.axiosApi.get("/news-list-tag",{params:t}).catch(n=>(console.log(`[/news-list-tag] Error: ${n.message}`),Promise.reject(n)));getNewsListSection=t=>this.props?.axiosApi.get("/news-list-section",{params:t}).catch(n=>(console.log(`[/news-list-section] Error: ${n.message}`),Promise.reject(n)));getNewsListAvanced=t=>this.props?.axiosApi.get("/news-list-advanced",{params:t}).catch(n=>(console.log(`[/news-list-advanced] Error: ${n.message}`),Promise.reject(n)));getNewsListTags=t=>this.props?.axiosApi.get("/news-list-tag",{params:t}).catch(n=>(console.log(`[/news-list-tag] Error: ${n.message}`),Promise.reject(n)));getNewsListAutor=t=>this.props?.axiosApi.get("/news-list-author",{params:t}).catch(n=>(console.log(`[/news-list-author] Error: ${n.message}`),Promise.reject(n)));getNewsSearch=t=>this.props?.axiosApi.get("/news-list-search",{params:t}).catch(n=>(console.log(`[/news-list-search] Error: ${n.message}`),Promise.reject(n)));getAutorInfo=t=>this.props?.axiosApi.get("/authors",{params:t}).catch(n=>(console.log(`[/authors] Error: ${n.message}`),Promise.reject(n)));getvideoListAdvanced=t=>this.props?.axiosApi.get("/videos-list-advanced",{params:t}).catch(n=>(console.log(`[/videos-list-advanced] Error: ${n.message}`),Promise.reject(n)));getVideos=t=>this.props?.axiosApi.get("/videos",{params:t}).catch(n=>(console.log(`[/videos] Error: ${n.message}`),Promise.reject(n)));getVideosList=t=>this.props?.axiosApi.get("/videos-list",{params:t}).catch(n=>(console.log(`[/videos-list] Error: ${n.message}`),Promise.reject(n)));getBanners=async t=>this.props?.axiosApi.get("/config/banners",{params:{...t,path:this.props?.config?.servicePrefix+`/${this.configVersion}/banners.html`}}).catch(n=>(console.log(`[/config/banners] Error: ${n.message}`),Promise.reject(n)));getPages=t=>this.props?.axiosApi.get("/config/pages",{params:t}).catch(n=>(console.log(`[/config/pages] Error: ${n.message}`),Promise.reject(n)));getRankingS3=async(t,n={Referer:"https://goamg.amplifyapp.com/vndomv"})=>!t||t===""?{data:[]}:await S.get(t,{headers:n}).catch(s=>{console.log(`[Rankings s3] Error: ${s.message}`)});getNews=t=>this.props?.axiosApi.get("/news",{params:{...t,exclude:`${t.exclude},pixel`}}).catch(n=>(console.log(`[/news] Error: ${n.message}`),Promise.reject(n)));getNewsMultimedia=t=>this.props?.axiosApi.get("/news-items-multimedia",{params:t}).catch(n=>(console.log(`[/news-items-multimedia] Error: ${n.message}`),Promise.reject(n)));getNewsItemsList=t=>this.props?.axiosApi.get("/news-items-list",{params:t}).catch(n=>(console.log(`[/news-items-list] Error: ${n.message}`),Promise.reject(n)));getNewsItemsRelated=t=>this.props?.axiosApi.get("/news-items-related",{params:{path:t,imagesizes:this.props?.imgSizes.md,exclude:"keywords,gallery,related,relatedexternal,external,customfields"}}).catch(n=>(console.log(`[/news-items-related] Error: ${n.message}`),{data:{data:[]}}));sendEmail=t=>this.props?.axiosApi.post("/send/email",t,{headers:{"Content-Type":"application/x-www-form-urlencoded",Cookie:"JSESSIONID=21FDC2B9C2782893562BC53D52981A0B"}}).catch(n=>(console.log(`[/send/email] Error: ${n.message}`),Promise.reject(n)));searchData=async t=>{const n=await this.getNewsSearch(t);return n&&n?.data.data&&n?.data.data.length>0?{search:n}:{lastNews:await this.getNewsList({size:15,exclude:"keywords,gallery,related,relatedexternal,external,customfields",imagesizes:this.props?.imgSizes.md,newstype:this.props?.config?.newsType})}}}const js="_tagContent_ee6yw_1",_s="_contentLayout2_ee6yw_9",As="_contentHeader_ee6yw_42",Te={tagContent:js,contentLayout2:_s,contentHeader:As},Rs="_content_1rbrt_1",Ns={content:Rs},vs=({children:e,className:t=""})=>l.jsx("div",{className:`content-layout-2 ${Ns.content} ${t}`,children:e}),Ts="_container_1insg_1",$s="_note_1insg_10",Os="_commercial_1insg_50",ks="_commercialContent_1insg_67",Ps="_complement_1insg_83",K={container:Ts,note:$s,commercial:Os,commercialContent:ks,complement:Ps},Ls=e=>l.jsxs("section",{className:K.container,children:[l.jsx("div",{className:K.note,children:e.children}),l.jsx("div",{className:K.commercial,children:l.jsxs("div",{className:K.commercialContent,children:[e.slug==="liveblogs"&&l.jsx(Mt.TimeLine,{itemList:e.itemList}),e.bannerTop,l.jsx(Dt.Readest,{content:e.ranking,title:e.texts.readestTitle,paths:e.paths,customNewsDescriptionStyles:{"--news-description-title-size-desk":"16px","--news-description-title-line-height-desk":"22px","--news-description-title-size-mobile":"16px","--news-description-title-line-height-mobile":"22px"}}),l.jsx("div",{style:{position:"sticky",top:"110px"},children:e.banner})]})}),l.jsx("div",{className:K.complement,children:e.complement})]}),Is=e=>{const t={...e.news[0],config:{zonehome:void 0,priorityhome:"",zonesection:"",prioritysection:",",homepreview:"",showcomments:!1,showtime:!1,showauthor:!1,showuppertitle:!1,showsubtitle:!0,showads:!1},main:{...e.news[0]?.main,title:{...e.news[0]?.main.title,section:e.news[0]?.main.title.article??""}},info:{...e.news[0]?.info,link:{url:void 0,target:void 0}}};switch(e.option){case"liveblogs":return l.jsx("div",{style:{"--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-image-height-desk":"600px","--news-image-height-mobile":"420px","--news-image-description-display":"none"},children:l.jsx(fe.LiveBlogHeader,{...t,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px"})});default:return l.jsx("div",{className:Te.contentHeader,style:{"--section-card-chip-padding":"0 0 0 6px","--uppertitle-display":"block","--news-description-title-size-desk":"38px","--news-description-title-size-mobile":"30px","--news-description-title-line-height-desk":"46px","--news-description-title-line-height-mobile":"38px","--news-description-content-gap":"0px","--section-card-chip-margin":"0 0 10px","--news-description-subtitle-margin":"22px 0 0"},children:l.jsx(qt.NewsDescription,{...t,fontSizeSubTitle:"18px",lineHeightSubTitle:"28px",cutSubtitle:!1,colorSubTitle:"black",isTitle:!0,paths:e.paths})})}},Bs="_content_jrssz_1",Fs="_contentWithinCard_jrssz_7",Us="_contentDate_jrssz_13",Hs="_dateInfo_jrssz_20",zs="_dot_jrssz_30",Ds="_contentTitle_jrssz_38",Ms="_contentTextList_jrssz_47",qs="_contentButton_jrssz_101",Js="_linkStyled_jrssz_107",P={content:Bs,contentWithinCard:Fs,contentDate:Us,dateInfo:Hs,dot:zs,contentTitle:Ds,contentTextList:Ms,contentButton:qs,linkStyled:Js},Ws="_content_ifkxj_1",Vs={content:Ws},Gs=e=>l.jsx("section",{className:Vs.content,id:e.id,children:e.children}),Ks=e=>e.replace(/<p>(\s| )+<\/p>/g,""),Zs=e=>{const t=/src="\/(.*?)"/g;return e.replace(t,`src="${X.getEnvironmentUrl()}/$1"`)},rt={2:1,4:2,7:3,10:4,13:5};function Xs(e){return e.replace(/<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,"")}const Ys=async({itemList:e,slug:t,banners:n,texts:s})=>{if(!e||e.length===0||!e[0])return;const r=e[0].list?.items?.map(o=>{const i=Ks(o.body.rendered);let a=Zs(i);return a=Xs(a),{...o,body:{...o.body,rendered:a}}});return l.jsx("section",{className:P.content,id:"block-notes-list",children:r?.map((o,i)=>l.jsxs(Bt.Fragment,{children:[l.jsx(Gs,{id:`item-${i+1}`,children:l.jsxs("div",{className:P.contentWithinCard,children:[o.date>0&&l.jsxs("div",{className:P.contentDate,children:[l.jsx("span",{className:P.dot,style:{background:t==="liveblogs"?"var(--news-liveblog-timeline-datelink-dot-color)":"var(--common-black)"}}),l.jsx("p",{className:P.dateInfo,style:{color:t==="liveblogs"?"var(--news-liveblog-timeline-datelink-color)":"var(--common-black)"},children:at.formatDateJournalistArticule(o.date)})]}),l.jsx("p",{className:P.contentTitle,children:e[0]?.list.integrated?o.title:`${o.index}. ${o.title}`}),o.image&&l.jsx(ct.Image,{preview:o.image,isLarge:!0}),l.jsx("div",{className:P.contentTextList,dangerouslySetInnerHTML:{__html:o.body.rendered}}),o.related&&l.jsx("div",{className:P.contentButton,children:l.jsx("a",{className:P.linkStyled,href:o.related??"",target:"”_blank",children:s.blockNoteList_readMore??"Leer Más"})})]})},i),rt[i]&&l.jsx(Z.BannerAdvertising,{banners:n,name:"list_"+rt[i]},i)]},i))})},Pt={FaceBook:"facebook",Instagram:"instagram",WhatsApp:"whatsapp",TikTok:"tiktok",Youtube:"youtube",X:"x",Gnews:"gnews",Podcast:"podcast",Telegram:"telegram"};function Qs({url:e}){return e&&e!==""&&l.jsxs(Jt.Link,{href:e,className:_.styles.googleProfileButton,children:[l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",children:l.jsx("path",{fill:"currentColor",d:"M15.583 9.083h-6.5v6.5H6.916v-6.5h-6.5V6.917h6.5v-6.5h2.167v6.5h6.5v2.166Z"})}),"Síguenos en",l.jsx(er,{})]})}const er=()=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 272 92",width:"272",height:"92",children:[l.jsx("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"}),l.jsx("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"}),l.jsx("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"}),l.jsx("path",{fill:"#34A853",d:"M225 3v65h-9.5V3h9.5z"}),l.jsx("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"}),l.jsx("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"})]}),tr=async e=>{if(!e.news||!e.news.authors)return null;const{news:t,socials:n,texts:s}=e,r=t.authors.map(a=>a.internaluser?`<a href="${`/${e.paths.autor}/${a.name}`}">${a.fullname}</a>`:a.fullname).join(", "),o=()=>t.authors.length===1?_.styles.width1Autor:t.authors.length===2?_.styles.width2Autor:t.authors.length===3?_.styles.width3Autor:"",{CONFIG_shareOnlyWhatsApp:i}=lt.getConfig();return t.config?.showauthor&&l.jsx("div",{className:_.styles.content,children:l.jsxs("div",{className:_.styles.avatarContent,children:[i?l.jsxs("a",{className:_.styles.whatsappLink,href:n[Pt.WhatsApp].url,rel:"noreferrer",target:"_blank",children:[l.jsxs("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l.jsx("g",{clipPath:"url(#clip0_2906_6960)",children:l.jsx("path",{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",fill:"#7AD16D"})}),l.jsx("defs",{children:l.jsx("clipPath",{id:"clip0_2906_6960",children:l.jsx("rect",{width:"30",height:"30",fill:"white"})})})]}),s.WhatsAppLinkJournalist]}):l.jsx("div",{style:{width:"100%"},"data-hydrate":"ShareButtons","data-props":encodeURIComponent(JSON.stringify({noteShare:e.noteShare})),children:l.jsx(_.ShareButtons,{noteShare:e.noteShare})}),l.jsx(Qs,{url:e.noteShare?.googleProfile??""}),l.jsxs("section",{className:_.styles.journalistSection,children:[l.jsx("div",{className:`${_.styles.imageContent} ${o()}`,style:{width:`${t.authors?.length>2?t.authors?.length*30:t.authors?.length*35}px`},children:Array.isArray(t.authors)&&t.authors?.map(async(a,f)=>a.image?l.jsx("img",{fetchPriority:"low",loading:"lazy",alt:"autor",className:`${_.styles.imageStyled} ${_.styles.imageAutor} `,src:await X.getImageUrl(a.image.sizes[0]?.url||"")},a.fullname):l.jsx("div",{className:`${_.styles.contentIconStyled} ${_.styles.imageAutor}`,children:e.autorIcon},a.fullname))}),r&&l.jsx("div",{className:_.styles.journalistInfoLink,dangerouslySetInnerHTML:{__html:`${s.JournalistPrefix} <h3 style="padding:0px;">${r??"Redaccion"}${t.config?.showtime&&","}</h3> ${t.config?.showtime?at.formatDateJournalistArticule(t.info.date.modified):null}`}})]})]})})},nr="_content_opb3u_1",sr="_journalistArticleContent_opb3u_15",rr="_contentNews_opb3u_35",or="_noteSource_opb3u_392",ce={content:nr,journalistArticleContent:sr,contentNews:rr,noteSource:or},ir="_summaryContent_wsypg_1",ar={summaryContent:ir},cr=async({summary:e})=>e&&e.rendered&&l.jsx("section",{className:ar.summaryContent,dangerouslySetInnerHTML:{__html:e.rendered}}),Le=async({newsformated:e,internal:t})=>{if(!t)return;const n=new ne,s=e.preview.sizes,o=(await n.getNewsMultimedia({path:t,imagesizes:s?s[0]?.scale:"w:801,h:449,t:2;"}))?.data.data[0]?.gallery??[];return l.jsxs("div",{className:fe.styles.content,children:[l.jsx(Wt.CarrouselIRS,{slot_id:"header",fullPageWidth:!0,visibleItems:1,pagination:!0,cardGap:0,children:o&&o.map((i,a)=>l.jsx(ct.Image,{preview:i,priorityHigh:!0},a))}),l.jsx("div",{className:fe.styles.description,children:o&&o[0]?.description})]})};function lr(e){const t=e.children,n=`${e.slot_id}-`,s=e.visibleItems,r=e.cardGap??20;function o(a){const f=[],u=[];let d="",m=!0;for(let g=0;g<a;g++){const x=`[data-index="${g}"]:checked ~ .carrousel-pagination li:nth-child(${g+1}) {
|
|
7
|
+
background-color:var(--carrousel-pagination-background-color)
|
|
8
|
+
}`;d+=`
|
|
9
|
+
.${n}.carrousel-container {
|
|
10
|
+
${x}
|
|
11
|
+
[data-index="${g}"]:checked ~ .carrousel-ssr {
|
|
12
|
+
transform: translate(-${g*(100+r)+"%"});
|
|
13
|
+
transition: transform 300ms;
|
|
14
|
+
}
|
|
15
|
+
[data-index="${g+1}"]:checked ~ .visible-arrow.left[data-index="${g}"]
|
|
16
|
+
${g<a-1?`,[data-index="${g}"]:checked ~ .visible-arrow.right[data-index="${g}"]`:""} {
|
|
17
|
+
display: flex;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
`,g>a-(s+1)&&(d+=`
|
|
21
|
+
@media (min-width:900px) {
|
|
22
|
+
.${n}.carrousel-container {
|
|
23
|
+
[data-index="${g}"]:checked ~ .visible-arrow.right[data-index="${g}"] {
|
|
24
|
+
display:none!important;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}`),f.push(`<input type="radio" name="${n+"card"}" ${m?"checked":""} id="${n+"input-check-"+g}" data-index="${g}" />`),u.push(`
|
|
28
|
+
<label for="${n+"input-check-"+g}" data-index="${g}" class="visible-arrow left">
|
|
29
|
+
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
30
|
+
<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" />
|
|
31
|
+
</svg>
|
|
32
|
+
</label>
|
|
33
|
+
|
|
34
|
+
${g<a-1?`<label for="${n+"input-check-"+(g+1)}" data-index="${g}" class="visible-arrow right">
|
|
35
|
+
<svg width="16" height="16" view-box="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
36
|
+
<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" />
|
|
37
|
+
</svg>
|
|
38
|
+
</label>`:""}
|
|
39
|
+
`),m=!1}return`
|
|
40
|
+
<style>${d}</style>
|
|
41
|
+
${f.join("")}
|
|
42
|
+
${u.join("")}
|
|
43
|
+
`}const i=a=>{const f=[];for(let u=0;u<a;u++)f.push("<li></li>");return`<menu class='carrousel-pagination'>
|
|
44
|
+
${f.join("")}
|
|
45
|
+
</menu>`};return`
|
|
46
|
+
<div class="${n+" carrousel-container"}">
|
|
47
|
+
${o(t.length)}
|
|
48
|
+
<div class="carrousel-ssr" style="gap:${r};margin:${r===0?"0":"0 0.5rem 1rem"};">
|
|
49
|
+
${t&&t.map(a=>`<section class='card' style="min-width: 100%;width:min-content;">
|
|
50
|
+
${a}
|
|
51
|
+
</section>`).join("")}
|
|
52
|
+
</div>
|
|
53
|
+
${i(t.length)}
|
|
54
|
+
</div>
|
|
55
|
+
`}const ur=e=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",...e,children:l.jsx("path",{fill:"currentColor",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"})}),dr=e=>e.replace(/<iframe(?![^>]*\bloading=)[^>]*>/gi,n=>n.replace("<iframe",'<iframe loading="lazy"')),fr=e=>e.replace(/<iframe(?![^>]*\btitle=)[^>]*>/gi,n=>n.replace("<iframe",'<iframe title="frame custom content"')),Lt=async e=>{const t=/<img\b[^>]*\bsrc=["']([^"']+)["']/g,n=[...e.matchAll(t)],s={};for(const r of n){const o=r[1]??"",i=e.includes(o)?{url:o}:null;if(i){const a=await X.getImageUrl(i.url)||"";s[o]=a}}return e.replace(t,(r,o)=>`<img fetchPriority='low' loading='lazy' alt='imagen' src="${s[o]||o}"`)},hr=(e,t)=>{const n={2:1,4:2,7:3,10:4,13:5};let s=0,r=e;const o=/<(p|li|ul|ol)>\s*<\/\1>/gi,i=/<(p|li|ul|ol)>(?:&(?:nbsp|#160|ensp|emsp|#8194|#8195);)*?<\/\1>/gi;do r=e.replace(o,"").replace(i,"");while(r.match(o)||r.match(i));return r=r.replace(/<p\b[^>]*?>[\s\S]*?<\/p>|<(ul|ol)[^>]*?>[\s\S]*?<\/\1>/g,a=>{const f=a.replace(/[.*+?^${}()|[\]\\/]/g,"\\$&");if(!new RegExp(`<blockquote[^>]*?>(?:(?!<\\/blockquote>)[\\s\\S])*?${f}[\\s\\S]*?<\\/blockquote>`,"gi").test(r)){s++;const d=t.find(m=>m.key===`block_2_${n[s]}`);return d?`${a}<div class="banner-context">${d.value}</div>`:a}return a}),r},mr=e=>{const t=/<div class="ck-image-gallery"[^>]*?>([\s\S]*?)<\/div>/g,n=[...e.matchAll(t)];let s="",r=0;for(const o of n){const[i,a=""]=o,f=o.index,u=f+i.length;s+=e.slice(r,f);const m=[...a.matchAll(/data-src="([^"]+)"/g)].map(h=>h[1]).map(h=>`<img fetchPriority='low' loading='lazy' alt='imagen' src="${h}" class="carrusel-note-item" width="800" height="469"/>`),g="gallery_embeded"+f.toString(),x=lr({slot_id:g,children:m,visibleItems:1,cardGap:0});s+=x,r=u}return s+=e.slice(r),s},pr=async(e,t,n)=>{if(!n)return e;const s=/<span data-src="(.*?)"><\/span>/g,r=[...e.matchAll(s)];let o=e;for(const i of r){const a=i[0],f=i[1]??"",u=n.find(C=>f.includes(C?.[0]?.info.link.internal||""));if(!u||!u[0])continue;const d=u[0].preview?.sizes?.[0],m=d?await X.getImageUrl(d.url):"",g=u[0].info.section?.url??"#",x=u[0].info.section?.name??"Sección",h=u[0].info.link?.url??"#",w=u[0].main?.title.article??"Título",p=(await Promise.all(u[0].preview?.sizes?.map(async C=>{const b=await X.getImageUrl(C.url);return C.width<200?`<source srcset="${b}" media="(width < 750px)"/>`:`<source srcset="${b}" media="(width >= 750px)"/>`}))).reduce((C,b)=>C+=b,""),E=`
|
|
56
|
+
<span data-src="${f}">
|
|
57
|
+
<picture style='display: flex'>
|
|
58
|
+
${p}
|
|
59
|
+
<img fetchPriority='low' loading='lazy' src="${m}" alt="${t.noteRelatedImageAlt}" />
|
|
60
|
+
</picture>
|
|
61
|
+
<div>
|
|
62
|
+
<a class="section" href="${g}">${x}</a>
|
|
63
|
+
<a class="title" href="${h}">${w}</a>
|
|
64
|
+
</div>
|
|
65
|
+
</span>
|
|
66
|
+
`;o=o.replace(a,E)}return o};async function gr(e,t){const n=/<div class="ck-video-player"[^>]*?>[\s\S]*?<span[^>]*data-src="([^"]+)"[^>]*data-type="video"[^>]*><\/span>[\s\S]*?<\/div>/g,s=[...e.matchAll(n)];let r="",o=0;for(const i of s){const[a,f]=i,u=i.index,d=u+a.length;r+=e.slice(o,u);const m=await t.iframe({path:f});let g=null;try{g=t.schema?await t.schema(f):null}catch{console.log("error fetching schema videos embed.")}let x="";if(m&&m.data){let h="";m.data.data[0].info.type==="video-youtube"?h=`<iframe
|
|
67
|
+
frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen
|
|
68
|
+
style="position: relative!important;" src="https://www.youtube.com/embed/${m.data.data[0].main.code}"></iframe>`:h=m.data.data[0].main.code,x=`
|
|
69
|
+
<figure class="videoFigure">
|
|
70
|
+
${g&&g.data&&g.data.data&&l.jsxs("script",{type:"application/ld+json",children:["$",Lt(JSON.stringify(g.data.data)||"")]})}
|
|
71
|
+
${h}
|
|
72
|
+
<figcaption>${m.data.data[0].main.description||""}</figcaption>
|
|
73
|
+
</figure>
|
|
74
|
+
`}r+=x,o=d}return r+=e.slice(o),r}async function wr(e){const{news:t,banners:n,newsRelatedResponses:s,slug:r,itemList:o,socials:i,getVideos:a}=e;let f=t?.body?.rendered??"";f=f.replace(/ /g,""),f=hr(f,n),f=mr(f),f=await Lt(f),f=await pr(f,e.texts,s),f=await gr(f,a),f=dr(f),f=fr(f);const u=t.main.sources??[];return l.jsxs("div",{className:ce.content,children:[r!=="liveblogs"&&e.showHeaderImage?t.hascontent?.hasgalleryimages?l.jsx(Le,{newsformated:t,internal:t.info.link.internal}):l.jsx(fe.ImageNews2,{preview:t.preview}):null,l.jsx(Z.BannerAdvertising,{banners:n,name:"block_1"}),l.jsx("div",{className:ce.journalistArticleContent,children:l.jsx(tr,{autorIcon:e.autorIcon,socials:i,news:t,texts:e.texts,noteShare:e.noteShare,paths:e.paths})}),l.jsx(cr,{summary:t.main.summary}),l.jsx("div",{className:ce.contentNews,suppressHydrationWarning:!0,id:"content-news-section",dangerouslySetInnerHTML:{__html:f}}),l.jsx(Ys,{texts:e.texts,itemList:o,banners:n,slug:r}),u.length>0&&l.jsxs("div",{className:ce.noteSource,children:[l.jsx(ur,{}),l.jsx("p",{children:e.texts.noteSource+(u.length===1?"":"s")+": "+u.map(d=>d.name).join(", ")})]})]})}const yr="_content_cu8lm_1",xr="_title_cu8lm_18",ot={content:yr,title:xr},br=async({newsformated:e,internal:t})=>{if(!t)return;const s=await new ne().getNewsMultimedia({path:t,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const r=s.data.data[0]?.videos.filter(o=>o.type==="video-embedded")[0];return l.jsxs("div",{className:ot.content,children:[l.jsx("div",{dangerouslySetInnerHTML:{__html:r?.code??""}}),l.jsx("p",{className:ot.title,children:r?.title})]})},Sr="_content_cu8lm_1",Er="_title_cu8lm_18",_e={content:Sr,title:Er},Cr=async({newsformated:e,internal:t})=>{if(!t)return;const s=await new ne().getNewsMultimedia({path:t,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const r=s.data.data[0]?.videos.filter(o=>o.type==="video-youtube")[0];return l.jsxs("div",{className:_e.content,children:[l.jsx("iframe",{className:_e.iframeStyled,src:`https://www.youtube.com/embed/${r?.code??""}`,frameBorder:"0",allowFullScreen:!0}),l.jsx("p",{className:_e.title,children:r?.title})]})},jr="_content_ezbiw_1",_r={content:jr},Ar=async({newsformated:e,internal:t})=>{if(!t)return;const s=await new ne().getNews({path:t,imagesizes:e.preview.sizes[0]?.scale});if(!s)return;const r=s.data.data[0]?.external?.iframe;return l.jsx("div",{className:_r.content,dangerouslySetInnerHTML:{__html:r??""}})},Rr="_content_156j7_1",it={content:Rr},B={imagen:"imagen",videoEmbedded:"videoEmbedded",videoYouTube:"videoYouTube",iframe:"iframe"},Nr={[B.videoEmbedded]:br,[B.videoYouTube]:Cr,[B.iframe]:Ar},vr=({news:e})=>{const{config:t,hascontent:n,info:s}=e,r=t.articlepreview,o=s.link.internal,i=n?.hasgalleryimages;if(r===B.imagen&&i)return l.jsx("div",{className:it.content,children:l.jsx(Le,{newsformated:e,internal:o})});const a=r?Nr[r]:null;return a?l.jsx("div",{className:it.content,children:l.jsx(a,{newsformated:e,internal:o})}):null},Tr=e=>{const{config:t,hascontent:n}=e,s=t.articlepreview,r=[B.videoEmbedded,B.videoYouTube,B.iframe];return!!(s===B.imagen&&n?.hasgalleryimages||r.includes(s))},$r=async e=>{const{custom_complement:t,ranking:n=[],banners:s,autor:r=[],news:o=[],newsRelatedResponses:i=[],itemList:a=[],socials:f,getVideos:u}=e,d=e.slug==="liveblogs";if(!(!o||!o[0]))return l.jsx(l.Fragment,{children:l.jsxs(vs,{className:Te.contentLayout2,children:[l.jsx(Is,{option:e.slug,news:o,paths:e.paths}),l.jsx(ie.BannerAdvertisingMiddle,{banners:s,index:1}),!d&&l.jsx(vr,{news:o[0]}),l.jsx(Ls,{texts:e.texts,paths:e.paths,slug:e.slug,itemList:a,ranking:n,bannerTop:l.jsx(Z.BannerAdvertising,{banners:s??[],name:"right_1"}),banner:l.jsx(Z.BannerAdvertising,{banners:s??[],name:"right_2"}),complement:t?t():l.jsxs("div",{id:"comentarios",suppressHydrationWarning:!0,children:[r.length>0&&l.jsx(Ht.JournalistArticule2,{texts:e.texts,autorIcon:e.autorIcon,autor:r[0],paths:e.paths}),o[0].authors.length>1&&l.jsx(zt.JournalistGroup,{news:o[0],autorIcon:e.autorIcon,paths:e.paths,texts:e.texts}),l.jsx("div",{className:Te.tagContent,children:l.jsx(Ut.TagSection,{tags:o[0]?.keywords?.tags,paths:e.paths})}),l.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"2rem"},suppressHydrationWarning:!0,children:[e.showComments&&l.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"comment",internalPath:e.internalPath}))}),l.jsx(Se.MiddleSection,{children:l.jsx(ie.BannerAdvertisingMiddle,{banners:s,index:2})}),l.jsx(Vt.DynamicSlot,{component:"Carrusel card",banners:[],slot_id:"Nota_1",data:{...e.stylesConfig["Carrusel card"],content:e.relatedNewsList??[],title:e.texts.relatedNewsTitle,titleUrl:void 0}}),l.jsx(Se.MiddleSection,{children:l.jsx(ie.BannerAdvertisingMiddle,{banners:s,index:3})}),l.jsx(Ft.Section,{title:e.texts.moreNewsTitle,children:l.jsx("div",{suppressHydrationWarning:!0,"data-hydrate":"LazyLoader","data-props":encodeURIComponent(JSON.stringify({render:"more",stylesConfig:e.stylesConfig,section:o[0].info.section?.slug??"",currentNews:o[0]}))})}),l.jsx(Se.MiddleSection,{children:l.jsx(ie.BannerAdvertisingMiddle,{banners:s,index:4})})]})]}),children:l.jsxs("section",{style:{"--avatar-content-align-items-desk":e.slug==="liveblogs"?"flex-start":"center"},children:[l.jsx(wr,{texts:e.texts,autorIcon:e.autorIcon,socials:f,news:o[0],banners:s,newsRelatedResponses:i,itemList:a,slug:e.slug,getVideos:u,noteShare:e.noteShare,paths:e.paths,showHeaderImage:!Tr(o[0])}),l.jsx(Z.BannerAdvertising,{banners:s??[],name:"block_3"})]})})]})})};exports.CommonServices=ne;exports.GalleryHeader=Le;exports.NewsComponent=$r;exports.SocialNetworks=Pt;exports.axios=S;
|