PageSourceSearch

https://kokusaibujinrenmei.org/assets/WhatsAppTopBar-BBcSt_KY.js

js kokusaibujinrenmei.org collected 2026-09-25 11:49:39 UTC 1,914 bytes, 1 lines download raw bytes

1import{r as m,j as n}from"./react-vendor-B85QsyED.js";import{u as p,b as l,g as c,o as u}from"./alert-dialog-BT6x731p.js";import{W as f}from"./WhatsAppConfirmDialog-D5uwABMp.js";import{M as x}from"./message-circle-bvAxL-Z1.js";import"./maps-DeNBPk8t.js";import"./index-Df-PK-QF.js";import"./index-BVuFAtou.js";import"./index-C5O6btP5.js";import"./index-A8-gc0Dc.js";import"./index-DqSziBWp.js";import"./index-C0AOaaLp.js";import"./index-kQO3QPKW.js";import"./index-cTrnW49R.js";import"./index-qofZSg7P.js";import"./index-D1F6uIz-.js";import"./Combination-kGSvfh8j.js";import"./index--1A-FE_7.js";import"./index-BDP74mfF.js";const h=[{name:"Kobukan Kobudo Renmei",number:"34667520280"},{name:"Kokusai Bujin Renmei",number:"34644065861"}],B=()=>{const{pathname:o,search:s}=p(),[t,a]=m.useState(null);return n.jsxs("div",{className:"w-full bg-[#075E54] text-white text-xs sm:text-sm",children:[n.jsx("div",{className:"container mx-auto px-3 py-2 flex flex-col sm:flex-row sm:items-center sm:justify-center gap-2 sm:gap-6",children:h.map(e=>{const i=`Hola ${e.name}, me gustaría más información.`;return n.jsxs("a",{href:l(e.number,i,o,s),target:"_blank",rel:"noopener noreferrer",onClick:r=>{r.metaKey||r.ctrlKey||r.shiftKey||r.button!==0||(r.preventDefault(),a({name:e.name,number:e.number,intro:i}))},className:"inline-flex items-center gap-2 hover:underline underline-offset-2","aria-label":`Chat de WhatsApp con ${e.name}`,children:[n.jsx(x,{className:"w-4 h-4 text-[#25D366]",fill:"currentColor",fillOpacity:.25}),n.jsx("span",{className:"font-semibold",children:e.name}),n.jsx("span",{className:"opacity-70 italic",children:"(solo chat disponible)"})]},e.number)})}),n.jsx(f,{open:!!t,onOpenChange:e=>!e&&a(null),contactName:t?.name??"",notice:c(t?.number),onConfirm:()=>{t&&(u({number:t.number,intro:t.intro,pathname:o,search:s,contactName:t.name}),a(null))}})]})};export{B as WhatsAppTopBar,B as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.