PageSourceSearch

https://srisathyasaiglobalcouncil.org/_next/static/chunks/pages/zo…/country/[countrySlug]-ac3aa8b721330eec.js

js srisathyasaiglobalcouncil.org collected 2026-10-03 00:25:02 UTC 15,588 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[387],{4e3:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/zone/[slug]/country/[countrySlug]",function(){return s(4376)}])},3073:function(e,t,s){"use strict";s.d(t,{Z:function(){return n}});var a=s(5893),i=s(1664),l=s.n(i);function n(){return(0,a.jsx)("section",{className:"page_404",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-sm-12",children:(0,a.jsxs)("div",{className:"col-sm-10 col-sm-offset-1 text-center",children:[(0,a.jsx)("div",{className:"four_zero_four_bg"}),(0,a.jsxs)("div",{className:"contant_box_404",children:[(0,a.jsx)("h3",{className:"h2",children:"Looks like you're lost."}),(0,a.jsx)("p",{children:"The Page you are looking for is not Available!"}),(0,a.jsx)(l(),{href:"/",legacyBehavior:!0,children:(0,a.jsx)("a",{className:"link_404",children:"Go to Home"})})]})]})})})})})}},1642:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var a=s(5893);function i(){return(0,a.jsxs)("section",{className:"bg-gray-100",children:[(0,a.jsx)("div",{className:"page-title",children:(0,a.jsx)("h1",{children:"No Posts Found"})}),(0,a.jsx)("div",{className:"container mx-auto py-8",children:(0,a.jsx)("div",{className:"page-content",children:"The content you are looking for is not available."})})]})}},3045:function(e,t,s){"use strict";var a=s(5893);s(7294);var i=s(1664),l=s.n(i);t.Z=e=>{let{allzones:t,zoneSlug:s,zone:i}=e;return(0,a.jsxs)("div",{className:"row backgroundGrey",style:{margin:"0px",paddingBottom:"0px"},children:[(0,a.jsx)("div",{className:"nav-scroller h-100 col-md-12 d-flex justify-content-center align-items-center",children:(0,a.jsx)("div",{className:"d-flex justify-content-center w-100",children:(0,a.jsxs)("nav",{className:"nav","aria-label":"Secondary navigation",children:[(0,a.jsx)(l(),{href:"/zone/all",passHref:!0,legacyBehavior:!0,children:(0,a.jsx)("a",{className:"list-group-item list-group-item-action zone-card mb-2 ".concat("all"===s?" zone-active noHover":""),children:(0,a.jsxs)("div",{className:"h-100 d-flex flex-column gap-4",children:[(0,a.jsx)("div",{className:"sphere m-3 shine ".concat("all"===s?"sphere-active":""),children:(0,a.jsx)("img",{className:"rounded-circle sphere-img",src:"../../assets/images/Assets-GC-Website/Zone/allzones.png",alt:"All Zones of Global Council",width:"100"})}),(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:"All".replace(/-/g,"<br />")}})]})})},"all"),t&&Array.isArray(t)&&t.length>0?t.map(e=>{var t,i,n,r,o,c,d,u;return(0,a.jsx)(l(),{href:"/zone/".concat(null==e?void 0:null===(t=e.attributes)||void 0===t?void 0:t.slug),passHref:!0,legacyBehavior:!0,children:(0,a.jsx)("a",{className:"list-group-item list-group-item-action zone-card mb-2 ".concat((null==e?void 0:null===(i=e.attributes)||void 0===i?void 0:i.slug)===s?" zone-active noHover":""),children:(0,a.jsxs)("div",{className:"h-100 d-flex flex-column gap-4",children:[(0,a.jsx)("div",{className:"sphere m-3 shine ".concat((null==e?void 0:null===(n=e.attributes)||void 0===n?void 0:n.slug)===s?"sphere-active":""),children:(0,a.jsx)("img",{className:"rounded-circle sphere-img",src:(null===(u=e.attributes.ZoneIcon)||void 0===u?void 0:null===(d=u.data)||void 0===d?void 0:null===(c=d.attributes)||void 0===c?void 0:null===(o=c.formats)||void 0===o?void 0:null===(r=o.thumbnail)||void 0===r?void 0:r.url)||"https://sssgc-production.s3.ap-south-1.amazonaws.com/399_3995632_offering_my_most_humble_and_reverential_salutations_sathya_e6db64fcec.png",alt:e.attributes.name,width:"100"})}),(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.attributes.name.replace(/-/g,"<br />")}})]})})},e.id)}):(0,a.jsx)("h4",{children:"..."})||"Loading.."]})})}),(0,a.jsx)("div",{className:"col-md-2"})]})}},2551:function(e,t,s){"use strict";var a=s(5893);s(7294);var i=s(1664),l=s.n(i),n=s(5697),r=s.n(n);s(2518);let o=e=>{var t,s,i,n,r,o,c,d,u,h,m;let{post:v,__:p,type:g}=e,b=null===(s=v.attributes)||void 0===s?void 0:null===(t=s.cover_image)||void 0===t?void 0:t.data,x="https://sssgc-production.s3.ap-south-1.amazonaws.com/399_3995632_offering_my_most_humble_and_reverential_salutations_sathya_e6db64fcec.png";b&&(x=(null===(h=b.attributes)||void 0===h?void 0:null===(u=h.formats)||void 0===u?void 0:null===(d=u.small)||void 0===d?void 0:d.url)||(null===(m=b.attributes)||void 0===m?void 0:m.url));let y=(null===(c=v.attributes)||void 0===c?void 0:null===(o=c.countries)||void 0===o?void 0:null===(r=o.data)||void 0===r?void 0:null===(n=r[0])||void 0===n?void 0:null===(i=n.attributes)||void 0===i?void 0:i.Name)||"Global",j=p.stripHtmlTags(v.attributes.description);j||(j=p.stripHtmlTags(v.attributes.editor));let f="/post";return"page"===g&&(f=""),(0,a.jsx)("div",{className:"col-md-4 col-sm-12 pb-1 mb-md-5 mb-2 pb-md-0 aos-animate","data-aos":"fade-up","data-aos-duration":"1200",children:(0,a.jsxs)("div",{className:"card card-material h-100",children:[(0,a.jsx)("div",{className:"img-container",children:(0,a.jsx)("img",{className:"card-img-top",src:x,alt:"Card image cap"})}),(0,a.jsxs)("div",{className:"card-body text-left",children:[(0,a.jsx)("div",{className:"card-categories mb-0",children:p.categoryTemplate(v.attributes.categories)}),(0,a.jsx)("h3",{className:"card-title mb-0",children:(0,a.jsx)(l(),{href:"".concat(f,"/").concat(v.attributes.slug),children:v.attributes.title})}),(0,a.jsxs)("small",{className:"text-secondary",children:[p.formatDate(v.attributes.publishedAt),(0,a.jsx)("strong",{children:(0,a.jsx)("big",{children:"\xa0\xb7\xa0"})})," ",(0,a.jsx)("span",{className:"badge badge-pill badge-info font-point9em",children:y})]}),(0,a.jsx)("p",{className:"card-text mt-1",children:j}),(0,a.jsx)(l(),{href:"".concat(f,"/").concat(v.attributes.slug),className:"readmore",children:"Read More"})]})]})},v.id)};o.propTypes={post:r().object.isRequired,__:r().object.isRequired,type:r().object},t.Z=o},4376:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return b}});var a=s(5893),i=s(1642),l=s(3073),n=s(1829),r=s(2518),o=s(1664),c=s.n(o),d=s(1163),u=s(7294),h=s(2551),m=s(4851),v=e=>{let{currentCountry:t,backgroundImage:s,websiteUrl:i}=e;return(0,a.jsx)("div",{className:"banner events h-100 d-flex justify-content-center align-items-center",style:{backgroundImage:"url(".concat(s||"https://sssgc-production.s3.ap-south-1.amazonaws.com/uploads/events_banner_2a3a193a49.png",")")},children:(0,a.jsxs)("div",{className:"d-flex flex-column align-items-center",children:[(0,a.jsx)("h1",{className:"text-white text-center bannerText mb-4",children:t||"..."}),i&&(0,a.jsxs)("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"btn btn-info mt-3",children:[(0,a.jsx)("i",{className:"fas fa-external-link-alt me-2"}),"\xa0Visit Country Website"]})]})})};s(3045);var p=e=>{let{allzones:t,zoneSlug:s}=e;return(0,a.jsxs)("div",{className:"row backgroundGrey",style:{margin:"0px",paddingBottom:"0px"},children:[(0,a.jsx)("div",{className:"nav-scroller h-100 col-md-12 d-flex justify-content-center align-items-center",children:(0,a.jsx)("div",{className:"d-flex justify-content-center w-100",children:(0,a.jsxs)("nav",{className:"nav","aria-label":"Secondary navigation",children:[(0,a.jsx)(c(),{href:"/zone/all",passHref:!0,legacyBehavior:!0,children:(0,a.jsx)("a",{className:"list-group-item list-group-item-action zone-card mb-2 ".concat("all"===s?" zone-active noHover":""),children:(0,a.jsxs)("div",{className:"h-100 d-flex flex-column gap-4",children:[(0,a.jsx)("div",{className:"sphere m-3 shine ".concat("all"===s?"sphere-active":""),children:(0,a.jsx)("img",{className:"rounded-circle sphere-img",src:"../../../assets/images/Assets-GC-Website/Zone/allzones.png",alt:"All Zones of Global Council",width:"100"})}),(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:"All".replace(/-/g,"<br />")}})]})})},"all"),t&&Array.isArray(t)&&t.length>0?t.map(e=>{var t,i,l,n,r,o,d,u;return(0,a.jsx)(c(),{href:"/zone/".concat(null==e?void 0:null===(t=e.attributes)||void 0===t?void 0:t.slug),passHref:!0,legacyBehavior:!0,children:(0,a.jsx)("a",{className:"list-group-item list-group-item-action zone-card mb-2 ".concat((null==e?void 0:null===(i=e.attributes)||void 0===i?void 0:i.slug)===s?" zone-active noHover":""),children:(0,a.jsxs)("div",{className:"h-100 d-flex flex-column gap-4 ".concat(s),children:[(0,a.jsx)("div",{className:"sphere m-3 shine ".concat((null==e?void 0:null===(l=e.attributes)||void 0===l?void 0:l.slug)===s?"sphere-active":""),children:(0,a.jsx)("img",{className:"rounded-circle sphere-img",src:(null===(u=e.attributes.ZoneIcon)||void 0===u?void 0:null===(d=u.data)||void 0===d?void 0:null===(o=d.attributes)||void 0===o?void 0:null===(r=o.formats)||void 0===r?void 0:null===(n=r.thumbnail)||void 0===n?void 0:n.url)||"https://sssgc-production.s3.ap-south-1.amazonaws.com/399_3995632_offering_my_most_humble_and_reverential_salutations_sathya_e6db64fcec.png",alt:e.attributes.name,width:"100"})}),(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.attributes.name.replace(/-/g,"<br />")}})]})})},e.id)}):(0,a.jsx)("h4",{children:"..."})||"Loading.."]})})}),(0,a.jsx)("div",{className:"col-md-2"})]})};class g extends u.Component{async componentDidMount(){setTimeout(async()=>{let e=this.props.router.state.query.countrySlug,t=this.props.router.state.query.slug;await this.getAllZones(t,e);let s=this.props.router.asPath;if(await this.handleLink(s),await this.getAllCategories(),!this.state.zone||0===this.state.zone.length)return},500)}render(){var e,t,s,o,d,u,g,b,x,y,j,f,N,_,C,z,w,A;let{categories:S,data:Z,allzones:k,isInvalidURL:T,currentzone:H,websiteurl:I,zone:L,currentCountry:R,selectedCategory:q}=this.state,E=(null===(o=this.props)||void 0===o?void 0:null===(s=o.router)||void 0===s?void 0:null===(t=s.state)||void 0===t?void 0:null===(e=t.query)||void 0===e?void 0:e.slug)?null===(b=this.props)||void 0===b?void 0:null===(g=b.router)||void 0===g?void 0:null===(u=g.state)||void 0===u?void 0:null===(d=u.query)||void 0===d?void 0:d.slug:{},O=(null===(f=this.props)||void 0===f?void 0:null===(j=f.router)||void 0===j?void 0:null===(y=j.state)||void 0===y?void 0:null===(x=y.query)||void 0===x?void 0:x.countrySlug)?null===(z=this.props)||void 0===z?void 0:null===(C=z.router)||void 0===C?void 0:null===(_=C.state)||void 0===_?void 0:null===(N=_.query)||void 0===N?void 0:N.countrySlug:{};return(S&&S[0]&&(r.Z.empty(S[0].attributes.plural)?S[0].attributes.name:S[0].attributes.plural),T)?(0,a.jsx)(n.Z,{state:{...this.props.state,...this.props.router.state},children:(0,a.jsx)(l.Z,{})}):(0,a.jsx)(n.Z,{state:{...this.props.state,...this.props.router.state},children:void 0===k?(0,a.jsx)(m.Z,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{websiteUrl:I,currentCountry:R}),(0,a.jsx)(p,{allzones:k,zoneSlug:E}),(0,a.jsxs)("div",{className:"backgroundGrey",children:[(0,a.jsx)("h5",{children:(null==L?void 0:null===(w=L.attributes)||void 0===w?void 0:w.name)?null==L?void 0:null===(A=L.attributes)||void 0===A?void 0:A.name:"All Zones"}),(0,a.jsx)("h2",{children:"Community Engagement across the Globe"}),(0,a.jsxs)("div",{className:"row",children:[(0,a.jsxs)("div",{className:"col-md-12 mb-3",children:[(0,a.jsx)("span",{children:"Filter by Country: \xa0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)(c(),{href:"/zone/".concat(E),passHref:!0,scroll:!1,legacyBehavior:!0,children:(0,a.jsx)("a",{className:"btn btn-primary m-2 btn-sm ".concat(O?"":"active"),role:"button",children:"All"})}),L&&L.attributes&&L.attributes.countries&&Array.isArray(L.attributes.countries.data)&&L.attributes.countries.data.slice().sort((e,t)=>
1e.attributes.Name.localeCompare(t.attributes.Name)).map(e=>(0,a.jsx)(c(),{href:"/zone/".concat(E,"/country/").concat(e.attributes.slug),passHref:!0,scroll:!1,legacyBehavior:!0,children:(0,a.jsx)("a",{className:"btn btn-primary m-2 btn-sm ".concat(O===e.attributes.slug?"active":""),children:e.attributes.Name})},e.id))]})]}),(0,a.jsxs)("div",{className:"col-md-12 ml-auto",children:[(0,a.jsx)("span",{children:"Filter by Category: "}),(0,a.jsxs)("div",{children:[(0,a.jsx)("button",{className:"btn btn-outline-secondary btn-sm m-2 ".concat(q?"":"active"),onClick:()=>this.handleCategoryFilter(null,O),children:"All"}),S&&Array.isArray(S)&&S.map(e=>(0,a.jsx)("button",{className:"btn btn-outline-secondary m-2 btn-sm ".concat(q===e.attributes.slug?"active":""),onClick:()=>this.handleCategoryFilter(e.attributes.slug,O),children:e.attributes.name},e.id))]})]})]})]}),(0,a.jsx)("div",{className:"backgroundWhite",children:(0,a.jsx)("div",{className:"container",children:Z&&Array.isArray(Z)&&Z.length>0?(0,a.jsx)("div",{className:"row text-center aos-init",children:Z.map(e=>(0,a.jsx)(h.Z,{post:e,__:r.Z},e.id))}):(0,a.jsx)(i.Z,{})})})]})})}constructor(e){super(e),this.getAllCategories=async()=>{let e=await r.Z.getentries("categories","?sort[0]=name:asc&populate=*");Array.isArray(e)?this.setState({categories:e},()=>{}):this.setState({categories:[]})},this.getAllZones=async(e,t)=>{let s=await r.Z.getentries("zones","?sort[0]=name:asc&populate=*");Array.isArray(s)?this.setState({allzones:s},()=>{if(this.state.allzones&&this.state.allzones.length>0){let s=this.state.allzones.find(t=>t.attributes.slug===e);s?this.setState({zone:s,isInvalidURL:!1},async()=>{let e=this.state.zone.attributes.countries.data.find(e=>e.attributes.slug===t);e?(this.setState({currentCountry:e.attributes.Name,websiteurl:e.attributes.websiteurl}),await this.getData(t)):this.setState({isInvalidURL:!0})}):this.setState({zone:[],isInvalidURL:!0})}}):this.setState({allzones:[],isInvalidURL:!0})},this.getData=async e=>{let t="",{selectedCategory:s}=this.state;t="?filters[countries][slug][$eq]=".concat(e,"&populate=*&sort[0]=publishedAt:desc"),s&&(t+="&filters[categories][slug][$eq]=".concat(s));let a=await r.Z.getentries("blog-posts",t);Array.isArray(a)&&a.length>0?this.setState({data:a},()=>{}):this.setState({data:[]})},this.handleCountryFilter=e=>{this.setState(t=>({selectedCountry:t.selectedCountry===e?null:e}),()=>{this.getData()})},this.handleCategoryFilter=(e,t)=>{this.setState(t=>({selectedCategory:t.selectedCategory===e?null:e}),()=>{this.getData(t)})},this.handleLink=async e=>{let t=async(e,t)=>{let{shallow:s}=t,{slug:a,countrySlug:i}=this.props.router.state.query;await this.getAllZones(a,i),this.setState({selectedCountry:null,selectedCategory:null},()=>{})};this.props.router.events.on("routeChangeStart",(e,t)=>{let{shallow:s}=t,{slug:a}=this.props.router.state.query}),this.props.router.events.on("routeChangeComplete",t)},this.state={data:null,categories:null,country:null,allzones:[],zone:[],currentCountry:null,selectedCountry:null,selectedCategory:null,isInvalidURL:!1,websiteurl:null}}}var b=(0,d.withRouter)(g)},2703:function(e,t,s){"use strict";var a=s(414);function i(){}function l(){}l.resetWarningCache=i,e.exports=function(){function e(e,t,s,i,l,n){if(n!==a){var r=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw r.name="Invariant Violation",r}}function t(){return e}e.isRequired=e;var s={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:i}
1;return s.PropTypes=s,s}},5697:function(e,t,s){e.exports=s(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},function(e){e.O(0,[192,829,888,774,179],function(){return e(e.s=4e3)}),_N_E=e.O()}]);

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.