PageSourceSearch

https://buddismoesocieta.org/_next/static/chunks/469-b09bcc1b97e5d678.js

js buddismoesocieta.org collected 2026-10-08 03:16:46 UTC 9,511 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[469],{7903:function(e,t){t.Z={src:"/_next/static/media/ico-pdf.28305781.svg",height:32,width:25,blurWidth:0,blurHeight:0}},6441:function(e,t){t.Z={src:"/_next/static/media/text-size.42cd091b.svg",height:512,width:512,blurWidth:0,blurHeight:0}},3611:function(e,t,i){var l=i(9156),s=i(1163),a=i(7294),n=i(8767);t.Z=(e,t)=>{var i,r,o,c;let d=(0,s.useRouter)(),u=d.query.q,h=(0,l.Zh)(d.query.fields||[]),{isLoading:m,error:p,data:x}=(0,n.useQuery)({queryKey:["highligh-post",u,d.query.fields,d.query.searchType],queryFn:()=>{if(!u)return;let t=new URLSearchParams;return t.set("q",u),t.set("postId",e.post_id),h.forEach(e=>t.append("fields",e)),d.query.searchType&&t.set("searchType",d.query.searchType),fetch("/api/highlight?".concat(t.toString())).then(e=>e.json()).then(e=>{var t,i,l;return null==e?void 0:null===(l=e.hits)||void 0===l?void 0:null===(i=l.hits)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.highlight})},enabled:!t,refetchOnWindowFocus:!1});return((0,a.useEffect)(()=>{d.isReady&&x&&!m&&d.query.q&&!d.asPath.includes("#")&&setTimeout(()=>{var e;return null===(e=document.querySelector("mark"))||void 0===e?void 0:e.scrollIntoView()},500)},[x,m]),e)?[{...e,post_title:(null==x?void 0:null===(i=x.post_title)||void 0===i?void 0:i[0])||(null==x?void 0:null===(r=x["post_title.exact"])||void 0===r?void 0:r[0])||(null==e?void 0:e.post_title),post_content:(null==x?void 0:null===(o=x.post_content)||void 0===o?void 0:o[0])||(null==x?void 0:null===(c=x["post_content.exact"])||void 0===c?void 0:c[0])||(null==e?void 0:e.post_content)},m,p]:[void 0,m,p]}},1450:function(e,t,i){i.d(t,{Z:function(){return r}});var l=i(5893),s={src:"/_next/static/media/ico-print.70c40aee.svg",height:35,width:34,blurWidth:0,blurHeight:0},a=i(5675),n=i.n(a),r=()=>(0,l.jsxs)("button",{onClick:()=>window.print(),className:"flex items-center gap-2.5 hover:cursor-pointer hover:underline print:hidden",children:[(0,l.jsx)(n(),{width:32,height:32,src:s,alt:"Stampa"}),(0,l.jsx)("span",{className:"hidden text-base sm:block",children:"Stampa"})]})},6211:function(e,t,i){i.d(t,{Z:function(){return d}});var l=i(5893),s={src:"/_next/static/media/ico-share.824b26e7.svg",height:24,width:24,blurWidth:0,blurHeight:0},a=i(5675),n=i.n(a),r=i(7294),o=i(5621),c=e=>{let{title:t,onClose:i}=e,s=window.location.href,a="https://twitter.com/intent/tweet?url=".concat(s,"&text=").concat(t,"&via="),r="https://www.facebook.com/sharer/sharer.php?u=".concat(s),c="https://api.whatsapp.com/send?text=".concat(t," ").concat(s),d="https://t.me/share/url?url=".concat(s,"&text=").concat(t);return(0,l.jsxs)("div",{className:"fixed inset-0 flex items-center justify-center z-50 mb-12 ml-auto mr-auto max-w-[832px] px-4",children:[(0,l.jsx)("div",{className:"absolute inset-0 bg-gray-500 opacity-75 z-10"}),(0,l.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-4 z-30 w-96",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("div",{className:"text-lg font-bold",children:"Condividi su"}),(0,l.jsx)("button",{className:"text-gray-500 hover:text-gray-700",onClick:i,children:(0,l.jsx)(n(),{width:30,height:30,src:o.Z,alt:"chiudi"})})]}),(0,l.jsxs)("div",{className:"mt-4 w-100",children:[[{name:"Twitter",url:a},{name:"Facebook",url:r},{name:"WhatsApp",url:c},{name:"Telegram",url:d}].map(e=>(0,l.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"block py-2 px-4 hover:bg-gray-200",children:e.name},e.url)),(0,l.jsx)("button",{onClick:()=>{navigator.clipboard.writeText(s),i()},className:"block py-2 px-4 hover:bg-gray-200 w-full text-left",children:"Copia link"})]})]})]})},d=e=>{let[t,i]=(0,r.useState)(!1),a=(0,r.useCallback)(()=>{navigator.share?navigator.share({title:e.title,url:window.location.href}).then(()=>console.log("Successful share")).catch(e=>console.log("Error sharing",e)):i(!0)},[e.title]);return(0,l.jsxs)(l.Fragment,{children:[t&&(0,l.jsx)(c,{title:e.title,onClose:()=>i(!1)}),(0,l.jsxs)("button",{onClick:a,className:"flex items-center gap-2.5 hover:cursor-pointer hover:underline",children:[(0,l.jsx)(n(),{width:32,height:32,src:s,alt:"Condividi"}),(0,l.jsx)("span",{className:"hidden text-base sm:block",children:"Condividi"})]})]})}},3351:function(e,t,i){var l=i(5893),s=i(1664),a=i.n(s),n=i(9156);t.Z=e=>{var t,i,s,r,o,c;let{category:d}=e,u=[],h=[];(null==d?void 0:d.catHeading)!=void 0?(null==d?void 0:null===(i=d.catHeading)||void 0===i?void 0:i.parentSlug)==null&&u.push({name:null==d?void 0:null===(s=d.catHeading)||void 0===s?void 0:s.name,slug:(0,n._o)(null==d?void 0:null===(r=d.catHeading)||void 0===r?void 0:r.slug,null==d?void 0:null===(o=d.catHeading)||void 0===o?void 0:o.taxonomy)}):null==d||null===(c=d.main)||void 0===c||c.map(e=>{var t;(null==d?void 0:null===(t=d.sub)||void 0===t?void 0:t.filter(t=>e.name==t.parentName))==!1&&u.push({name:e.name,slug:(0,n._o)(e.slug,e.taxonomy)})});let m=((null==d?void 0:d.catHeading)!=void 0?(null==d?void 0:null===(t=d.catHeading)||void 0===t?void 0:t.parentSlug)!=null?[null==d?void 0:d.catHeading]:[]:d.sub).reduce((e,t)=>
1{let{name:i,slug:l,parentName:s,parentSlug:a,taxonomy:r}=t;return e[s]?e[s].childre.push({name:i,slug:(0,n._o)(l,r)}):(e[s]={parent:{name:s,slug:(0,n._o)(a,r)},childre:[{name:i,slug:(0,n._o)(l,r)}]},h.push(s)),e},[]);return(0,l.jsxs)("ul",{children:[u&&u.map((e,t)=>(0,l.jsx)("li",{className:"inline",children:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a(),{className:"font-medium text-black",href:"/s/speciali"==e.slug?"/speciali":e.slug,children:e.name},e.slug),h.length>0||t<u.length-1?", ":""]})},t)),!!h&&h.length>0&&(0,l.jsx)("li",{className:"inline",children:h.map(e=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a(),{className:"font-medium text-black",href:"/s/speciali"==m[e].parent.slug?"/speciali":m[e].parent.slug,children:m[e].parent.name},"/s/speciali"==m[e].parent.slug?"/speciali":m[e].parent.slug),(0,l.jsx)("span",{children:" / "})]}),m[e].childre.map((t,i)=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a(),{className:"",href:t.slug,children:t.name},t.slug),i<m[e].childre.length-1?", ":""]}))]}))})]})}},829:function(e,t,i){var l=i(5893),s=i(3299),a=i(5675),n=i.n(a);let r=e=>{let{imagePost:t,smallImage:i=!1}=e;return t&&!1==!!t.url?(0,l.jsx)(l.Fragment,{}):(0,l.jsxs)("div",{className:"mt-14 print:mt-9 print:pb-4",children:[i?(0,l.jsx)("figure",{className:"inline-block rounded-3xl bg-lightLightGray print:text-center",children:(0,l.jsx)(n(),{src:t.url,width:200,height:300,alt:(null==t?void 0:t.alt)||"immagine di copertina",className:"h-auto rounded-3xl object-cover mix-blend-multiply print:block",sizes:"200px",quality:"65",priority:!0})}):(0,l.jsx)("figure",{className:"rounded-3xl bg-lightLightGray print:w-full print:text-center",children:(0,l.jsx)(n(),{src:t.url,width:1200,height:790,alt:(null==t?void 0:t.alt)||"immagine di copertina",className:"rounded-3xl object-cover mix-blend-multiply print:block print:w-1/3",sizes:"(min-width: 1300px) 1200px, 100vw",priority:!0})}),(null==t?void 0:t.caption)&&(0,l.jsx)("figcaption",{className:"mt-3 text-center text-base font-medium",itemProp:"caption",children:t.caption})]})},o=e=>{let{videoPost:t}=e,i=/^\d+$/g.test(t)?"https://player.vimeo.com/video/".concat(t):"https://www.youtube.com/embed/".concat(t);return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("iframe",{className:"aspect-video",src:i,width:"100%",allow:"autoplay; fullscreen; picture-in-picture"})})},c=e=>{let{audioMultimedia:t,categoryIsPodcast:i,imagePost:a}=e,n=(0,s.useSession)(),r=(null==n?void 0:n.status)==="authenticated";return(0,l.jsx)("iframe",{className:"mb-6 mt-14 print:hidden ".concat(r?"block":"hidden"),width:"100%",height:"166",scrolling:"no",frameBorder:"no",allow:"autoplay; encrypted-media",src:"".concat(t,"&amp;color=%233e8498&amp;auto_play=false&amp;hide_related=true&amp;show_comments=false&amp;show_user=true&amp;show_reposts=false&amp;show_teaser=false")})};t.ZP=e=>{let{imagePost:t,videoPost:i,audioMultimedia:s,mainCateogry:a=[],subCategory:n=[],smallImage:d=!1}=e,u=!!(a.find(e=>e.slug.includes("podcast"))||n.find(e=>e.slug.includes("podcast")));return i?(0,l.jsx)(o,{videoPost:i}):s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r,{imagePost:t,smallImage:d}),(0,l.jsx)(c,{audioMultimedia:s,categoryIsPodcast:u,imagePost:t})]}):(0,l.jsx)(r,{imagePost:t,smallImage:d})}},6383:function(e,t,i){var l=i(5893),s=i(7294),a=i(2637);let n=(0,s.memo)(()=>(0,l.jsx)("li",{className:"animate-pulse list-none py-6",children:(0,l.jsx)("div",{className:"flex animate-pulse space-x-4",children:(0,l.jsxs)("div",{className:"flex-1 space-y-6 py-1",children:[(0,l.jsx)("div",{className:"h-2 max-w-sm rounded bg-slate-200"}),(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsxs)("div",{className:"grid grid-cols-3 gap-4",children:[(0,l.jsx)("div",{className:"col-span-2 h-2 rounded bg-slate-200"}),(0,l.jsx)("div",{className:"col-span-1 h-2 rounded bg-slate-200"})]}),(0,l.jsx)("div",{className:"h-2 rounded bg-slate-200"})]})]})})}));n.displayName="LoadingElementPost",t.Z=()=>(0,l.jsx)(a.Z,{children:(0,l.jsx)("main",{children:(0,l.jsx)("div",{className:" ml-auto mr-auto max-w-section px-4",children:(0,l.jsx)("div",{className:"s mx-auto mb-10 rounded-3xl px-4 py-8 md:px-10",children:(0,l.jsxs)("ul",{children:[(0,l.jsx)(n,{}),(0,l.jsx)(n,{}),(0,l.jsx)(n,{}),(0,l.jsx)(n,{}),(0,l.jsx)(n,{}),(0,l.jsx)(n,{}),(0,l.jsx)(n,{}),(0,l.jsx)(n,{})]})})})})})}}]);
2//# sourceMappingURL=469-b09bcc1b97e5d678.js.map

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.