PageSourceSearch

https://www.balasorediocese.org/_next/static/chunks/pages/templates/119/our-parishes-a6651015de2ace79.js

js balasorediocese.org collected 2026-10-02 22:38:46 UTC 41,255 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3426],{7251:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/templates/119/our-parishes",function(){return t(57519)}])},25458:function(e,a,t){"use strict";t.r(a);var s=t(85893);t(67294);var i=t(8810),n=t(24502),r=t.n(n);a.default=()=>(0,s.jsx)("div",{className:r().page_loader,children:(0,s.jsx)("div",{className:r().page_loader_inner,children:(0,s.jsx)(i.Z,{height:40,width:6,radius:4,margin:3,color:"#2647a4",loading:!0})})})},57519:function(e,a,t){"use strict";t.r(a);var s=t(85893),i=t(67294),n=t(1163),r=t(88665),o=t(41962),l=t(10682),c=t(6212),d=t(35005),u=t(34051),m=t(84583),h=t.n(m),p=t(53449),g=t.n(p),_=t(11163),f=t(95222),w=t(15921),b=t(25675),C=t.n(b),v=t(25458),x=t(99957);let j=[{id:1,heading:"Amsoi, St. Vincent de Paul Parish",creatorName:"Rev. Fr. Jose Mannookulam",designation:"",image:"/templates/119/images/parish1.jpg",phone:"+9584632157",address:"Vennicode, Varkala P.O., Trivandrum - 695 318",history:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum",timing:"Sunday Holy Mass: 5:30 am 7:15 am 9:00 am , Sunday Holy Mass: 5:30 am 7:15 am 9:00 am ",otherData:"1995"}];a.default=()=>{let[e,a]=(0,i.useState)(j),[t,m]=(0,i.useState)("All"),[p,b]=(0,i.useState)(null),[N,y]=(0,i.useState)(!1),T=(0,_.useRouter)(),{id:P}=T.query,{websiteData:L}=(0,f.default)();(0,i.useEffect)(()=>{if(P){let e=j.filter(e=>e.id==P);a(e)}},[P]);let S=e=>{b(e),y(!0)},M=e=>{m(e);let t=(null==A?void 0:A.length)>0?A:j;if("All"===e){a(t);return}let s=t.filter(a=>(null==A?void 0:A.length)>0?a.heading&&a.heading.charAt(0).toUpperCase()===e:a.name&&a.name.charAt(0).toUpperCase()===e||a.parish&&a.parish.charAt(0).toUpperCase()===e);a(s)},F=()=>y(!1),[E,V]=(0,i.useState)(),[H,Z]=(0,i.useState)(),[k,R]=(0,i.useState)(),[I,D]=(0,i.useState)(),[A,O]=(0,i.useState)(),[B,W]=(0,i.useState)(!1);(0,i.useEffect)(()=>{W(window.self!==window.top)},[]);let[z,J]=(0,i.useState)(!0),{handleScrollMessage:$,handleBodyClick:q}=(0,w.default)();(0,i.useEffect)(()=>(window.addEventListener("message",$),document.body.addEventListener("click",q),()=>{window.removeEventListener("message",$),document.body.removeEventListener("click",q)}),[$,q]);let G=()=>{let e=window.location.hash.substring(1),a=new URLSearchParams(e);e&&J(!1),V(a.get("banner-parishes-title")),Z(a.get("banner-parishes-sub-title")),R(a.get("parishes-page-title")),D(a.get("parishes-priest-image"));let t=a.get("parishes");if(t){let e=JSON.parse(decodeURIComponent(t)),a=Array.isArray(e)?e.filter(e=>"Deleted"!==e.status):[];console.log("Non deleted Files",a),a.length>0?O(a.reverse()):O([])}};(0,i.useEffect)(()=>{G()},[]),(0,i.useEffect)(()=>{let e=()=>{G()};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]);let U=e=>{var a;null===(a=e.templateTopics)||void 0===a||a.forEach(e=>{"our-parishes"===e.templateTopicCode?e.templateFields.forEach(e=>{if(""===e.templateTopicFieldName&&setTitle(e.fieldValue),"banner-parishes-title"===e.templateTopicFieldName&&V(e.fieldValue),"banner-parishes-sub-title"===e.templateTopicFieldName&&Z(e.fieldValue),"parishes-page-title"===e.templateTopicFieldName&&R(e.fieldValue),"banner-parishes-image"===e.templateTopicFieldName&&D(e.fieldValue),"parishes"===e.templateTopicFieldName){let a=e.templateTopicFieldDetails,t=a.filter(e=>"Deleted"!==e.status);console.log("All Parishes",t),t.length>0?O(t):O([])}}):console.log("Not equal")})};return((0,i.useEffect)(()=>{L&&(J(!1),U(L))},[L]),null==A||A.length,(0,i.useEffect)(()=>{(null==A?void 0:A.length)>0?a(A):a(j)},[A]),z)?(0,s.jsx)(v.default,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x.default,{topicCode:"our-parishes",titleField:"seo-our-parishes-title",descriptionField:"seo-our-parishes-description",pageName:"Parishes & Institutes"}),(0,s.jsx)(n.default,{websiteData:L}),(0,s.jsxs)("div",{className:g().page,children:[(0,s.jsxs)(l.Z,{children:[(0,s.jsxs)("div",{className:g().bannerContainer,children:[(0,s.jsx)("div",{className:"py-2",children:(0,s.jsx)("nav",{"aria-label":"breadcrumb",children:(0,s.jsxs)("ol",{className:"breadcrumb",children:[(0,s.jsx)("li",{className:"breadcrumb-item ".concat(g().bannerTopText),children:(0,s.jsx)("div",{children:"Home"})}),(0,s.jsx)("li",{className:"breadcrumb-item ".concat(g().bannerTopText),"aria-current":"page",children:(0,s.jsx)("span",{id:"parishes-page-title",children:k||"Our Parish"})})]})})}),(0,s.jsx)("div",{className:"".concat(g().bannerImage," ").concat(h().bannerSize,"  d-flex justify-content-center align-items-center"),style:{backgroundImage:"url( ".concat(I||"/templates/119/images/parishBanner.jpg",")")},id:"banner-parishes-image",children:(0,s.jsxs)("div",{className:"text-center",id:"banner-parishes-title",children:[(0,s.jsx)("span",{id:"banner-parishes-sub-title",children:H||"Our parishes"}),(0,s.jsx)("br",{}),(0,s.jsx)("div",{children:E||"United by faith and our love for God and neighbour."})]})})]}),(0,s.jsxs)("div",{className:"d-flex justify-content-center ".concat(h().alphabetContainer),children:[(0,s.jsx)("button",{className:"btn mx-1 ".concat(h().btn1),onClick:()=>M("All"),children:"All"}),[..."ABCDEFGHIJKLMNOPQRSTUVWXYZ"].map(e=>(0,s.jsx)("button",{className:"btn mx-1 ".concat(h().btn2),onClick:()=>M(e),children:e},e))]}),(0,s.jsxs)(u.Z,{children:[(0,s.jsx)("div",{className:"col-md-8",children:(0,s.jsxs)("div",{className:"input-group mb-4 ".concat(h().searchBar),children:[(0,s.jsx)("input",{type:"text",className:"form-control ".concat(h().searchInput," ").concat(g().Rubik14," no-focus"),placeholder:"Search parish by Name",onChange:e=>{let t=e.target.value.toLowerCase(),s=(null==A?void 0:A.length)>0?A:j,i=s.filter(e=>(null==A?void 0:A.length)>0?e.heading&&e.heading.toLowerCase().includes(t)||e.designation&&e.designation.toLowerCase().includes(t)||e.creatorName&&e.creatorName.toLowerCase().includes(t)||e.address&&e.address.toLowerCase().includes(t):e.name&&e.name.toLowerCase().includes(t)||e.place&&e.place.toLowerCase().includes(t)||e.parish&&e.parish.toLowerCase().includes(t)||e.address&&e.address.toLowerCase().includes(t));a(i)},style:{border:"none",outline:"none"}}),(0,s.jsx)("div",{className:"input-group-append",children:(0,s.jsx)("button",{className:"btn ".concat(h().searchBtn),type:"button",children:"Search"})})]})}),(0,s.jsx)("div",{className:"col-md-4",children:(0,s.jsx)("div",{className:"d-flex justify-content-center mb-4",children:(0,s.jsx)("div",{className:"input-group ".concat(h().dropdownFilter),children:(0,s.jsxs)("select",{className:"form-select ".concat(h().filterSelect),onChange:e=>{let t=e.target.value,s=(null==A?void 0:A.length)>0?A:j;if("All"===t){a(s);return}let i=s.filter(e=>(null==A?void 0:A.length)>0?e.designation===t:e.place===t);a(i)},"aria-label":"Filter Parish",children:[(0,s.jsx)("option",{value:"All",children:"All"}),(null==A?void 0:A.length)>0?null==A?void 0:A.filter(e=>""!==e.designation).map((e,a)=>(0,s.jsx)("option",{value:null==e?void 0:e.designation,children:null==e?void 0:e.designation},a)):j.designation&&(null==j?void 0:j.map((e,a)=>(0,s.jsx)("option",{value:e.designation,children:e.designation},a)))]})})})})]}),(0,s.jsx)(u.Z,{children:(0,s.jsx)("div",{className:"col-md-12 ".concat(h().colTab),children:(0,s.jsx)("div",{className:h().parishWrapper,children:(0,s.jsx)("div",{className:"row",children:(null==e?void 0:e.length)>0?e.sort((e,a)=>{let t=(e.heading||e.parish||"").toLowerCase(),s=(a.heading||a.parish||"").toLowerCase();return t.localeCompare(s)}).map(e=>(0,s.jsx)("div",{className:"col-12 col-md-4  ".concat(h().Col6," ").concat(h().alert),onClick:()=>S(e),children:(0,s.jsxs)("div",{className:"card shadow-sm ".concat(h().parishContainer," ").concat(h().mrgB25),children:[(0,s.jsxs)("div",{className:"row no-gutters",children:[(0,s.jsx)("div",{className:"col-4 ".concat(h().col3," ").concat(h().ImgContainer),children:(0,s.jsx)(C(),{width:500,height:500,src:(null==e?void 0:e.images)||e.image,className:"card-img ".concat(h().parishImg),alt:(null==e?void 0:e.heading)||e.name})}),(0,s.jsx)("div",{className:"col-10 ".concat(h().col9," ").concat(h().parishContent," my-auto"),children:(0,s.jsxs)("div",{className:"card-body ".concat(h().cardContent),children:[(0,s.jsx)("h5",{className:"card-title ".concat(h().Fraunces16," ").concat(h().ParishName),children:e.heading||e.parish}),(0,s.jsx)("p",{className:"card-text ".concat(g().Rubik14,"  ").concat(h().fw500),children:e.designation||e.place}),(0,s.jsxs)("div",{className:"card-text ".concat(g().Rubik14," ").concat(h().iconText),children:[(0,s.jsx)("div",{className:"".concat(h().icon),children:e.creatorName&&(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M2.695 10.57C3.29 10.115 3.955 9.75625 4.69 9.49375C5.425 9.23125 6.195 9.1 7 9.1C7.805 9.1 8.575 9.23125 9.31 9.49375C10.045 9.75625 10.71 10.115 11.305 10.57C11.7133 10.0917 12.0312 9.54917 12.2587 8.9425C12.4862 8.33583 12.6 7.68833 12.6 7C12.6 5.44833 12.0546 4.12708 10.9637 3.03625C9.87292 1.94542 8.5
15167 1.4 7 1.4C5.44833 1.4 4.12708 1.94542 3.03625 3.03625C1.94542 4.12708 1.4 5.44833 1.4 7C1.4 7.68833 1.51375 8.33583 1.74125 8.9425C1.96875 9.54917 2.28667 10.0917 2.695 10.57ZM7 7.7C6.31167 7.7 5.73125 7.46375 5.25875 6.99125C4.78625 6.51875 4.55 5.93833 4.55 5.25C4.55 4.56167 4.78625 3.98125 5.25875 3.50875C5.73125 3.03625 6.31167 2.8 7 2.8C7.68833 2.8 8.26875 3.03625 8.74125 3.50875C9.21375 3.98125 9.45 4.56167 9.45 5.25C9.45 5.93833 9.21375 6.51875 8.74125 6.99125C8.26875 7.46375 7.68833 7.7 7 7.7ZM7 14C6.03167 14 5.12167 13.8162 4.27 13.4488C3.41833 13.0813 2.6775 12.5825 2.0475 11.9525C1.4175 11.3225 0.91875 10.5817 0.55125 9.73C0.18375 8.87833 0 7.96833 0 7C0 6.03167 0.18375 5.12167 0.55125 4.27C0.91875 3.41833 1.4175 2.6775 2.0475 2.0475C2.6775 1.4175 3.41833 0.91875 4.27 0.55125C5.12167 0.18375 6.03167 0 7 0C7.96833 0 8.87833 0.18375 9.73 0.55125C10.5817 0.91875 11.3225 1.4175 11.9525 2.0475C12.5825 2.6775 13.0813 3.41833 13.4488 4.27C13.8162 5.12167 14 6.03167 14 7C14 7.96833 13.8162 8.87833 13.4488 9.73C13.0813 10.5817 12.5825 11.3225 11.9525 11.9525C11.3225 12.5825 10.5817 13.0813 9.73 13.4488C8.87833 13.8162 7.96833 14 7 14ZM7 12.6C7.61833 12.6 8.20167 12.5096 8.75 12.3287C9.29833 12.1479 9.8 11.8883 10.255 11.55C9.8 11.2117 9.29833 10.9521 8.75 10.7712C8.20167 10.5904 7.61833 10.5 7 10.5C6.38167 10.5 5.79833 10.5904 5.25 10.7712C4.70167 10.9521 4.2 11.2117 3.745 11.55C4.2 11.8883 4.70167 12.1479 5.25 12.3287C5.79833 12.5096 6.38167 12.6 7 12.6ZM7 6.3C7.30333 6.3 7.55417 6.20083 7.7525 6.0025C7.95083 5.80417 8.05 5.55333 8.05 5.25C8.05 4.94667 7.95083 4.69583 7.7525 4.4975C7.55417 4.29917 7.30333 4.2 7 4.2C6.69667 4.2 6.44583 4.29917 6.2475 4.4975C6.04917 4.69583 5.95 4.94667 5.95 5.25C5.95 5.55333 6.04917 5.80417 6.2475 6.0025C6.44583 6.20083 6.69667 6.3 7 6.3Z",fill:"#FF8200"})})}),(0,s.jsx)("p",{children:e.creatorName||e.creatorName})]}),e.phone&&(0,s.jsxs)("div",{className:"card-text ".concat(g().Rubik14," ").concat(h().iconText),children:[(0,s.jsx)("div",{className:"".concat(h().icon),children:(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M13.1833 14C11.563 14 9.96204 13.6468 8.38056 12.9403C6.79907 12.2338 5.36019 11.2324 4.06389 9.93611C2.76759 8.63982 1.7662 7.20093 1.05972 5.61944C0.353241 4.03796 0 2.43704 0 0.816667C0 0.583333 0.0777778 0.388889 0.233333 0.233333C0.388889 0.0777778 0.583333 0 0.816667 0H3.96667C4.14815 0 4.31019 0.0615741 4.45278 0.184722C4.59537 0.30787 4.67963 0.453704 4.70556 0.622222L5.21111 3.34444C5.23704 3.55185 5.23056 3.72685 5.19167 3.86944C5.15278 4.01204 5.08148 4.13519 4.97778 4.23889L3.09167 6.14444C3.35093 6.62407 3.6588 7.0875 4.01528 7.53472C4.37176 7.98194 4.76389 8.41296 5.19167 8.82778C5.59352 9.22963 6.01481 9.60231 6.45556 9.94583C6.8963 10.2894 7.36296 10.6037 7.85556 10.8889L9.68333 9.06111C9.8 8.94444 9.95232 8.85695 10.1403 8.79861C10.3282 8.74028 10.513 8.72407 10.6944 8.75L13.3778 9.29445C13.5593 9.3463 13.7083 9.44028 13.825 9.57639C13.9417 9.7125 14 9.86481 14 10.0333V13.1833C14 13.4167 13.9222 13.6111 13.7667 13.7667C13.6111 13.9222 13.4167 14 13.1833 14ZM2.35278 4.66667L3.63611 3.38333L3.30556 1.55556H1.575C1.63981 2.08704 1.73056 2.61204 1.84722 3.13056C1.96389 3.64907 2.13241 4.16111 2.35278 4.66667ZM9.31389 11.6278C9.81944 11.8481 10.3347 12.0231 10.8597 12.1528C11.3847 12.2824 11.913 12.3667 12.4444 12.4056V10.6944L10.6167 10.325L9.31389 11.6278Z",fill:"#FF8200"})})}),(0,s.jsx)("p",{children:e.phone})]}),(0,s.jsxs)("div",{className:"card-text ".concat(g().Rubik14," ").concat(g().grey," ").concat(h().iconText),children:[(0,s.jsx)("div",{className:"".concat(h().icon),children:e.address&&(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M0 14V3.68421H4.42105V2.21053L6.63158 0L8.8421 2.21053V6.63158H13.2632V14H0ZM1.47368 12.5263H2.94737V11.0526H1.47368V12.5263ZM1.47368 9.57895H2.94737V8.10526H1.47368V9.57895ZM1.47368 6.63158H2.94737V5.15789H1.47368V6.63158ZM5.89474 12.5263H7.36842V11.0526H5.89474V12.5263ZM5.89474 9.57895H7.36842V8.10526H5.89474V9.57895ZM5.89474 6.63158H7.36842V5.15789H5.89474V6.63158ZM5.89474 3.68421H7.36842V2.21053H5.89474V3.68421ZM10.3158 12.5263H11.7895V11.0526H10.3158V12.5263ZM10.3158 9.57895H11.7895V8.10526H10.3158V9.57895Z",fill:"#FF8200"})})}),(0,s.jsx)("p",{children:e.address||e.address})]})]})})]}),(()=>{let a=[],t="";try{let s=(null==e?void 0:e.otherData)||"",i=JSON.parse(s);i&&"object"==typeof i&&(a=Array.isArray(i.massTimings)?i.massTimings:[],t=i.massTimingLabel||"")}catch(s){try{let s=(null==e?void 0:e.otherData)||"",i=JSON.parse(JSON.parse(s));i&&"object"==typeof i&&(a=Array.isArray(i.massTimings)?i.massTimings:[],t=i.massTimingLabel||"")}catch(e){}}if(0===a.length)return null;let i=[{bg:"rgba(243, 250, 242, 1)",border:"rgba(13, 85, 22, 0.22)",text:"#0A5F1B"},{bg:"rgba(254, 249, 243, 1)",border:"rgba(255, 130, 0, 0.22)",text:"#FF8200"},{bg:"rgba(244, 247, 254, 1)",border:"rgba(0, 25, 197, 0.22)",text:"#0730C5"}];return(0,s.jsx)("div",{className:"row ".concat(h().cardMassTimingRow),children:(0,s.jsx)("div",{className:"col-12",children:(0,s.jsxs)("div",{className:h().cardMassTimingSection,children:[(0,s.jsxs)("div",{className:h().cardMassTimingLabel,children:[(0,s.jsx)("img",{src:"".concat("https://edpridestorage.blob.core.windows.net","/templatecontentschurch/statictemplatecontentsforchurch/119/mass_timing.png"),alt:"mass timing"}),(0,s.jsx)("div",{children:t||"SUNDAY MASS TIMINGS"})]}),(0,s.jsx)("div",{className:h().massTimingPills,children:a.map((e,a)=>{let t=i[a%i.length];return(0,s.jsxs)("div",{className:h().massTimingPill,style:{backgroundColor:t.bg,border:"1.5px solid ".concat(t.border),color:t.text},children:[(0,s.jsx)("span",{className:h().massTimingTime,children:e.time}),(0,s.jsx)("span",{className:h().massTimingLang,children:e.language})]},a)})})]})})})})()]})},e.id)):(0,s.jsx)("div",{className:"col-12",children:(0,s.jsx)("p",{className:"text-center ".concat(h().alertMsg),children:"Sorry! No parish found"})})})})})})]}),(0,s.jsxs)(c.Z,{show:N,onHide:F,centered:!0,dialogClassName:h().customModal,children:[(0,s.jsx)(c.Z.Header,{className:"position-relative ".concat(h().modalHeadernew),style:{border:"none"},children:(0,s.jsx)(d.Z,{onClick:F,className:h().CloseButton,children:(0,s.jsx)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M18.4 31L17 29.6L22.6 24L17 18.4L18.4 17L24 22.6L29.6 17L31 18.4L25.4 24L31 29.6L29.6 31L24 25.4L18.4 31Z",fill:"#FF8200"})})})}),(0,s.jsxs)(c.Z.Body,{children:[(0,s.jsxs)(u.Z,{children:[(0,s.jsx)("div",{className:"col-12 col-md-3 my-auto",children:(0,s.jsx)(C(),{height:500,src:(null==p?void 0:p.images)||(null==p?void 0:p.image),className:"img-fluid mb-3 ".concat(h().modalImg),alt:null==p?void 0:p.heading,width:500})}),(0,s.jsxs)("div",{className:" col-12 col-md-9 my-auto",children:[(0,s.jsx)("p",{className:"".concat(h().Fraunces40),children:null==p?void 0:p.heading}),(()=>{let e="";try{let a=(null==p?void 0:p.otherData)||"",t=JSON.parse(a);t&&"object"==typeof t&&(e=t.estYear||"")}catch(s){let a=(null==p?void 0:p.otherData)||"",t=a.trim();if(!t||t.startsWith("{")||t.startsWith("["))try{let t=JSON.parse(JSON.parse(a));t&&"object"==typeof t&&(e=t.estYear||"")}catch(a){e=""}else e=a}return e?(0,s.jsx)("p",{className:"".concat(h().Rubik20),children:"EST ".concat(e)}):null})(),(0,s.jsxs)("p",{className:"".concat(h().Rubik24),children:[(0,s.jsx)("i",{className:" ".concat(h().icon2),children:(null==p?void 0:p.phone)&&(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M13.1833 14C11.563 14 9.96204 13.6468 8.38056 12.9403C6.79907 12.2338 5.36019 11.2324 4.06389 9.93611C2.76759 8.63982 1.7662 7.20093 1.05972 5.61944C0.353241 4.03796 0 2.43704 0 0.816667C0 0.583333 0.0777778 0.388889 0.233333 0.233333C0.388889 0.0777778 0.583333 0 0.816667 0H3.96667C4.14815 0 4.31019 0.0615741 4.45278 0.184722C4.59537 0.30787 4.67963 0.453704 4.70556 0.622222L5.21111 3.34444C5.23704 3.55185 5.23056 3.72685 5.19167 3.86944C5.15278 4.01204 5.08148 4.13519 4.97778 4.23889L3.09167 6.14444C3.35093 6.62407 3.6588 7.0875 4.01528 7.53472C4.37176 7.98194 4.76389 8.41296 5.19167 8.82778C5.59352 9.22963 6.01481 9.60231 6.45
1556 9.94583C6.8963 10.2894 7.36296 10.6037 7.85556 10.8889L9.68333 9.06111C9.8 8.94444 9.95232 8.85695 10.1403 8.79861C10.3282 8.74028 10.513 8.72407 10.6944 8.75L13.3778 9.29445C13.5593 9.3463 13.7083 9.44028 13.825 9.57639C13.9417 9.7125 14 9.86481 14 10.0333V13.1833C14 13.4167 13.9222 13.6111 13.7667 13.7667C13.6111 13.9222 13.4167 14 13.1833 14ZM2.35278 4.66667L3.63611 3.38333L3.30556 1.55556H1.575C1.63981 2.08704 1.73056 2.61204 1.84722 3.13056C1.96389 3.64907 2.13241 4.16111 2.35278 4.66667ZM9.31389 11.6278C9.81944 11.8481 10.3347 12.0231 10.8597 12.1528C11.3847 12.2824 11.913 12.3667 12.4444 12.4056V10.6944L10.6167 10.325L9.31389 11.6278Z",fill:"#FF8200"})})}),null==p?void 0:p.phone]}),(0,s.jsxs)("p",{className:"".concat(h().Rubik24),children:[(0,s.jsx)("i",{className:"".concat(h().icon2),children:(null==p?void 0:p.creatorName)&&(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M2.695 10.57C3.29 10.115 3.955 9.75625 4.69 9.49375C5.425 9.23125 6.195 9.1 7 9.1C7.805 9.1 8.575 9.23125 9.31 9.49375C10.045 9.75625 10.71 10.115 11.305 10.57C11.7133 10.0917 12.0312 9.54917 12.2587 8.9425C12.4862 8.33583 12.6 7.68833 12.6 7C12.6 5.44833 12.0546 4.12708 10.9637 3.03625C9.87292 1.94542 8.55167 1.4 7 1.4C5.44833 1.4 4.12708 1.94542 3.03625 3.03625C1.94542 4.12708 1.4 5.44833 1.4 7C1.4 7.68833 1.51375 8.33583 1.74125 8.9425C1.96875 9.54917 2.28667 10.0917 2.695 10.57ZM7 7.7C6.31167 7.7 5.73125 7.46375 5.25875 6.99125C4.78625 6.51875 4.55 5.93833 4.55 5.25C4.55 4.56167 4.78625 3.98125 5.25875 3.50875C5.73125 3.03625 6.31167 2.8 7 2.8C7.68833 2.8 8.26875 3.03625 8.74125 3.50875C9.21375 3.98125 9.45 4.56167 9.45 5.25C9.45 5.93833 9.21375 6.51875 8.74125 6.99125C8.26875 7.46375 7.68833 7.7 7 7.7ZM7 14C6.03167 14 5.12167 13.8162 4.27 13.4488C3.41833 13.0813 2.6775 12.5825 2.0475 11.9525C1.4175 11.3225 0.91875 10.5817 0.55125 9.73C0.18375 8.87833 0 7.96833 0 7C0 6.03167 0.18375 5.12167 0.55125 4.27C0.91875 3.41833 1.4175 2.6775 2.0475 2.0475C2.6775 1.4175 3.41833 0.91875 4.27 0.55125C5.12167 0.18375 6.03167 0 7 0C7.96833 0 8.87833 0.18375 9.73 0.55125C10.5817 0.91875 11.3225 1.4175 11.9525 2.0475C12.5825 2.6775 13.0813 3.41833 13.4488 4.27C13.8162 5.12167 14 6.03167 14 7C14 7.96833 13.8162 8.87833 13.4488 9.73C13.0813 10.5817 12.5825 11.3225 11.9525 11.9525C11.3225 12.5825 10.5817 13.0813 9.73 13.4488C8.87833 13.8162 7.96833 14 7 14ZM7 12.6C7.61833 12.6 8.20167 12.5096 8.75 12.3287C9.29833 12.1479 9.8 11.8883 10.255 11.55C9.8 11.2117 9.29833 10.9521 8.75 10.7712C8.20167 10.5904 7.61833 10.5 7 10.5C6.38167 10.5 5.79833 10.5904 5.25 10.7712C4.70167 10.9521 4.2 11.2117 3.745 11.55C4.2 11.8883 4.70167 12.1479 5.25 12.3287C5.79833 12.5096 6.38167 12.6 7 12.6ZM7 6.3C7.30333 6.3 7.55417 6.20083 7.7525 6.0025C7.95083 5.80417 8.05 5.55333 8.05 5.25C8.05 4.94667 7.95083 4.69583 7.7525 4.4975C7.55417 4.29917 7.30333 4.2 7 4.2C6.69667 4.2 6.44583 4.29917 6.2475 4.4975C6.04917 4.69583 5.95 4.94667 5.95 5.25C5.95 5.55333 6.04917 5.80417 6.2475 6.0025C6.44583 6.20083 6.69667 6.3 7 6.3Z",fill:"#FF8200"})})}),null==p?void 0:p.creatorName]}),(0,s.jsxs)("p",{className:"".concat(h().Rubik24),children:[(0,s.jsx)("i",{className:"".concat(h().icon2),children:(null==p?void 0:p.address)&&(0,s.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M0 14V3.68421H4.42105V2.21053L6.63158 0L8.8421 2.21053V6.63158H13.2632V14H0ZM1.47368 12.5263H2.94737V11.0526H1.47368V12.5263ZM1.47368 9.57895H2.94737V8.10526H1.47368V9.57895ZM1.47368 6.63158H2.94737V5.15789H1.47368V6.63158ZM5.89474 12.5263H7.36842V11.0526H5.89474V12.5263ZM5.89474 9.57895H7.36842V8.10526H5.89474V9.57895ZM5.89474 6.63158H7.36842V5.15789H5.89474V6.63158ZM5.89474 3.68421H7.36842V2.21053H5.89474V3.68421ZM10.3158 12.5263H11.7895V11.0526H10.3158V12.5263ZM10.3158 9.57895H11.7895V8.10526H10.3158V9.57895Z",fill:"#FF8200"})})}),null==p?void 0:p.address]}),(()=>{let e={massTimingLabel:"",massTimings:[]};try{let a=(null==p?void 0:p.otherData)||"",t=JSON.parse(a);t&&"object"==typeof t&&(e={massTimingLabel:t.massTimingLabel||"",massTimings:Array.isArray(t.massTimings)?t.massTimings:[]})}catch(a){try{let a=(null==p?void 0:p.otherData)||"",t=JSON.parse(JSON.parse(a));t&&"object"==typeof t&&(e={massTimingLabel:t.massTimingLabel||"",massTimings:Array.isArray(t.massTimings)?t.massTimings:[]})}catch(e){}}if(0===e.massTimings.length)return null;let a=[{bg:"rgba(243, 250, 242, 1)",border:"rgba(13, 85, 22, 0.22)",text:"#0A5F1B"},{bg:"rgba(254, 249, 243, 1)",border:"rgba(255, 130, 0, 0.22)",text:"#FF8200"},{bg:"rgba(244, 247, 254, 1)",border:"rgba(0, 25, 197, 0.22)",text:"#0730C5"}];return(0,s.jsxs)("div",{className:h().massTimingSection,children:[(0,s.jsxs)("h6",{className:h().Inter16,children:[(0,s.jsx)("img",{src:"".concat("https://edpridestorage.blob.core.windows.net","/templatecontentschurch/statictemplatecontentsforchurch/119/mass_timing.png"),alt:"Mass Timing"}),(e.massTimingLabel||"Sunday Mass Timings").toLowerCase()]}),(0,s.jsx)("div",{className:h().massTimingPills,children:e.massTimings.map((e,t)=>{let i=a[t%a.length];return(0,s.jsxs)("div",{className:h().massTimingPill,style:{backgroundColor:i.bg,border:"1.5px solid ".concat(i.border),color:i.text},children:[(0,s.jsx)("span",{className:h().massTimingTime,children:e.time}),(0,s.jsx)("span",{className:h().massTimingLang,children:e.language})]},t)})})]})})()]})]}),(0,s.jsx)("div",{className:h().historyMassTimings,children:(null==p?void 0:p.content)&&(null==p?void 0:p.content)!=="<p><br></p>"?(0,s.jsx)("div",{className:h().dyanamicContent,dangerouslySetInnerHTML:{__html:null==p?void 0:p.content}}):(null==p?void 0:p.history)?(0,s.jsxs)("div",{className:h().modalDetail,children:[(0,s.jsx)("h6",{className:h().Inter16,children:"History"}),(0,s.jsx)("div",{className:h().ModalDetailHead,children:(0,s.jsx)("p",{children:null==p?void 0:p.history})})]}):null})]})]})]}),(0,s.jsx)(r.default,{websiteData:L}),(0,s.jsx)(o.default,{websiteData:L})]})}},95222:function(e,a,t){"use strict";t.r(a);var s=t(11163),i=t(67294);a.default=()=>{let[e,a]=(0,i.useState)(null),[t,n]=(0,i.useState)(null);(0,s.useRouter)();let r=async e=>{console.log("Fetching data for Domain name: ",e);try{let t=await fetch("/api/templates/masterfields-get?domainName=".concat(e),{headers:{"Content-Type":"application/json"}});if(console.log("API Response Status: ",t.status),!t.ok)throw Error("HTTP error! status: ".concat(t.status));let s=await t.json();console.log("API Response Data: ",s),a(s)}catch(e){console.error("Error fetching data: ",e)}},o=e=>{var a;console.log("Assigning values from website data: ",e),null===(a=e.templateTopics)||void 0===a||a.forEach(e
1=>{"common"===e.templateTopicCode&&e.templateFields.forEach(e=>{"favicon"===e.templateTopicFieldName&&(console.log("Favicon found: ",e.fieldValue),n(e.fieldValue))})})};return(0,i.useEffect)(()=>{if(e)o(e);else{let e="",a=window.location.hostname;if(console.log("Hostname is: ",a),"localhost"===a)console.log("Running on localhost, subDomain is: ",e=a);else if(a.endsWith(".localhost"))console.log("Subdomain extracted from .localhost: ",e=a.replace(".localhost",""));else if(a.endsWith(".ews.church"))console.log("Subdomain extracted from .ews.church: ",e=a.replace(".ews.church",""));else if(a.endsWith(".eloitews.com"))console.log("Subdomain extracted from .eloitews.com: ",e=a.replace(".eloitews.com",""));else if(a.endsWith(".ews-webportal-church-qa.azurewebsites.net"))console.log("Subdomain extracted from .ews-webportal-church-qa: ",e=a.replace(".ews-webportal-church-qa.azurewebsites.net",""));else if(a.endsWith(".ews-webportal-church-slot1.azurewebsites.net"))console.log("Subdomain extracted from .ews-webportal-slot1: ",e=a.replace(".ews-webportal-church-slot1.azurewebsites.net",""));else if(a.endsWith(".ews-webportal-church.azurewebsites.net"))console.log("Subdomain extracted from .ews-webportal-church: ",e=a.replace(".ews-webportal-church.azurewebsites.net",""));else if(a.startsWith("www.")||a.endsWith("ews-webportal-church-slot1.azurewebsites.net")||a.endsWith("ews-webportal-church-qa.azurewebsites.net")||a.endsWith("ews-webportal-church.azurewebsites.net")||a.endsWith(".ews.church")||a.endsWith(".eloitews.com"))console.log("Default subdomain: ",e=a);else{console.log("Updated subDomain with www: ",e="www.".concat(a)),window.location.href="https://".concat(e).concat(window.location.pathname);return}console.log("Final extracted subdomain is: ",e=e.split(":")[0]),e&&"localhost"!==e&&"ews.church"!==e&&"ews-webportal-church-qa.azurewebsites.net"!==e&&"ews-webportal-church-slot1.azurewebsites.net"!==e&&"ews-webportal-church.azurewebsites.net"!==e&&r(e)}},[e]),(0,i.useEffect)(()=>{if(t){console.log("Setting favicon: ",t),document.querySelectorAll("link[rel='icon'], link[rel='shortcut icon']").forEach(e=>e.parentNode&&e.parentNode.removeChild(e));let e=t+"?v="+Date.now(),a=document.createElement("link");a.rel="icon",a.type="image/png",a.sizes="any",a.href=e,document.head.appendChild(a);let s=document.createElement("link");s.rel="shortcut icon",s.href=e,document.head.appendChild(s)}},[t]),{websiteData:e,favicon:t}}},99957:function(e,a,t){"use strict";t.r(a);var s=t(85893),i=t(67294),n=t(9008),r=t.n(n),o=t(95222);a.default=e=>{let{topicCode:a="common",titleField:t="seo-title",descriptionField:n="seo-description",pageName:l="",keywordsField:c="seo-keywords"}=e,{websiteData:d}=(0,o.default)(),[u,m]=(0,i.useState)(!1),[h,p]=(0,i.useState)(""),[g,_]=(0,i.useState)({title:"",description:"",ogDescription:"",keywords:"",ogImage:"",url:"",type:"website"});(0,i.useEffect)(()=>{m(window.self!==window.top)},[]);let f=()=>{let e=window.location.hash.substring(1),a=new URLSearchParams(e);_(e=>({...e,title:a.get(t),keywords:a.get(c),description:a.get(n),ogDescription:a.get("seo-ogdescription")||a.get(c),ogImage:a.get("seo-image"),url:a.get("seo-url")}));let s=a.get("church-name-seo");s&&p(s)};(0,i.useEffect)(()=>{f()},[]),(0,i.useEffect)(()=>{let e=()=>f();return window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]);let w=e=>{var s;null==e||null===(s=e.templateTopics)||void 0===s||s.forEach(e=>{"home"===e.templateTopicCode&&e.templateFields.forEach(e=>{"church-name-seo"===e.templateTopicFieldName&&p(e.fieldValue)}),e.templateTopicCode===a&&e.templateFields.forEach(e=>{e.templateTopicFieldName===t&&_(a=>({...a,title:e.fieldValue})),e.templateTopicFieldName===n&&_(a=>({...a,description:e.fieldValue})),"seo-ogdescription"===e.templateTopicFieldName&&_(a=>({...a,ogDescription:e.fieldValue})),e.templateTopicFieldName!==c||g.ogDescription||_(a=>({...a,ogDescription:a.ogDescription||e.fieldValue})),"seo-image"===e.templateTopicFieldName&&_(a=>({...a,ogImage:e.fieldValue})),e.templateTopicFieldName===c&&_(a=>({...a,keywords:e.fieldValue})),"seo-url"===e.templateTopicFieldName&&_(a=>({...a,url:e.fieldValue}))})})};(0,i.useEffect)(()=>{d&&w(d)},[d]),(0,i.useEffect)(()=>{let e=window.location.href;_(a=>({...a,url:e,type:"website"}))},[]);let b=[{id:"seo-image",width:172,height:50}],C=()=>{window.parent.postMessage({action:"IMAGE_CONFIGURATIONS",payload:b},"https://app.eloitews.com")};(0,i.useEffect)(()=>{C()},[u]);let v=h||"Church Name",x=g.title||l,j=x?"".concat(x," - ").concat(v):v;return(0,s.jsxs)(r(),{children:[j&&(0,s.jsx)("title",{children:j}),j&&(0,s.jsx)("meta",{name:"title",content:j}),g.description&&(0,s.jsx)("meta",{name:"description",content:g.description}),g.keywords&&(0,s.jsx)("meta",{name:"keywords",content:g.keywords}),j&&(0,s.jsx)("meta",{property:"og:title",content:j}),g.ogDescription&&(0,s.jsx)("meta",{property:"og:description",content:g.ogDescription}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),g.url&&(0,s.jsx)("meta",{property:"og:url",content:g.url}),g.ogImage&&(0,s.jsx)("meta",{property:"og:image",content:g.ogImage}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"})]})}},96111:function(){},84940:function(){},76268:function(){},24502:function(e){e.exports={page_loader:"Spinner_page_loader__i_eFe",page_loader_inner:"Spinner_page_loader_inner__wT7Ow"}},53449:function(e){e.exports={page:"common_page__5ABPo",bannerContainer:"common_bannerContainer__DEqom",bannerTopText:"common_bannerTopText__LofGD",bannerImage:"common_bannerImage___HP9r",blue:"common_blue__zddxa",Orange:"common_Orange__F6yeC",black:"common_black__zKGQX",white:"common_white__4_pyf",grey:"common_grey__ASWwX",lightGrey:"common_lightGrey__M4lIn",alignC:"common_alignC__87f1_",alignJ:"common_alignJ__G2NTp",alignL:"common_alignL__3cLoP",alignR:"common_alignR__DCKBL",Inter12:"common_Inter12__ETytD",Inter16:"common_Inter16__aX8W8",Fraunces40:"common_Fraunces40__l5hBP",Fraunces24:"common_Fraunces24__bOVNN",Fraunces16:"common_Fraunces16__E_N8J",Rubik24:"common_Rubik24__4eA1w",Rubik20:"common_Rubik20__RPs1g",Rubik14:"common_Rubik14__PSF5_",Rubik16:"common_Rubik16__2t7AW",letterSpace:"common_letterSpace__AW570",styledParagraph:"common_styledParagraph__H_VY0",QuickLink:"common_QuickLink__N2P3y"}},84583:function(e){e.exports={pdT10:"ourParishes_pdT10__KoFNA",mrgB25:"ourParishes_mrgB25__VpQyO",mrgB20:"ourParishes_mrgB20__jGc74",fw500:"ourParishes_fw500__XczJf",bannerSize:"ourParishes_bannerSize__QG_BP",customModal:"ourParishes_customModal__aafZo",modalDetail
1:"ourParishes_modalDetail__IG6Sr",modalheader:"ourParishes_modalheader__j6UI6",alertMsg:"ourParishes_alertMsg__QJgq4",ModalDetailHead:"ourParishes_ModalDetailHead__2izIT",alphabetContainer:"ourParishes_alphabetContainer__vyKs9",btn1:"ourParishes_btn1___OsFe",btn2:"ourParishes_btn2__3GnJ6",searchBar:"ourParishes_searchBar__IiGXi",searchInput:"ourParishes_searchInput__fKiI7","no-focus":"ourParishes_no-focus__Dc7RW",searchBtn:"ourParishes_searchBtn__zyw5u",parishImg:"ourParishes_parishImg__2Vohl",ImgContainer:"ourParishes_ImgContainer__A8rds",parishContainer:"ourParishes_parishContainer__eRyc0",cardContent:"ourParishes_cardContent__Le2uL",icon:"ourParishes_icon__uqWMB",dyanamicContent:"ourParishes_dyanamicContent__By0DI",iconText:"ourParishes_iconText__xMfNy",parishWrapper:"ourParishes_parishWrapper___7Pmc",Fraunces40:"ourParishes_Fraunces40__2vrvv",Fraunces16:"ourParishes_Fraunces16__UfV1V",Rubik24:"ourParishes_Rubik24__r52nM",Rubik20:"ourParishes_Rubik20__nthLc",Inter16:"ourParishes_Inter16__ca4BA",CloseButton:"ourParishes_CloseButton__komtE",modalHeadernew:"ourParishes_modalHeadernew__rtiB7",parishContent:"ourParishes_parishContent__vGsiR",quotsWrapper:"ourParishes_quotsWrapper__LTwn6",alert:"ourParishes_alert__b0bcZ",dropdownFilter:"ourParishes_dropdownFilter__HhUpR",filterSelect:"ourParishes_filterSelect__eXYQ7",col3:"ourParishes_col3__2A77P",col9:"ourParishes_col9__Xbssb",Col6:"ourParishes_Col6__oj7uv",pagination:"ourParishes_pagination__wiysS",pageButton:"ourParishes_pageButton__kdFis",active:"ourParishes_active__2t5iY",rightContainer:"ourParishes_rightContainer__BB883",pdLR30:"ourParishes_pdLR30__DvMkl",colTab:"ourParishes_colTab__jshja",LeftContainer:"ourParishes_LeftContainer__IOS0e",pdR30:"ourParishes_pdR30__GDee_",icon2:"ourParishes_icon2__Icifr",massTimingSection:"ourParishes_massTimingSection__53TJy",massTimingPills:"ourParishes_massTimingPills__2n2OW",massTimingPill:"ourParishes_massTimingPill__591q_",massTimingTime:"ourParishes_massTimingTime__P9Lt7",massTimingLang:"ourParishes_massTimingLang__KnArK",cardMassTimingLabel:"ourParishes_cardMassTimingLabel__EnJSw",cardMassTimingRow:"ourParishes_cardMassTimingRow__id5Kj"}},9008:function(e,a,t){e.exports=t(42636)},10682:function(e,a,t){"use strict";var s=t(93967),i=t.n(s),n=t(67294),r=t(76792),o=t(85893);let l=n.forwardRef(({bsPrefix:e,fluid:a=!1,as:t="div",className:s,...n},l)=>{let c=(0,r.vE)(e,"container"),d="string"==typeof a?`-${a}`:"-fluid";return(0,o.jsx)(t,{ref:l,...n,className:i()(s,a?`${c}${d}`:c)})});l.displayName="Container",a.Z=l},6212:function(e,a,t){"use strict";t.d(a,{Z:function(){return Z}});var s,i=t(93967),n=t.n(i),r=t(9351),o=t(23004),l=t(67216),c=t(30099);function d(e){if((!s&&0!==s||e)&&o.Z){var a=document.createElement("div");a.style.position="absolute",a.style.top="-9999px",a.style.width="50px",a.style.height="50px",a.style.overflow="scroll",document.body.appendChild(a),s=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return s}var u=t(32092),m=t(78146),h=t(35654),p=t(76852),g=t(94305),_=t(67294),f=t(81970),w=t(89673),b=t(41068),C=t(76792),v=t(85893);let x=_.forwardRef(({className:e,bsPrefix:a,as:t="div",...s},i)=>(a=(0,C.vE)(a,"modal-body"),(0,v.jsx)(t,{ref:i,className:n()(e,a),...s})));x.displayName="ModalBody";var j=t(36467);let N=_.forwardRef(({bsPrefix:e,className:a,contentClassName:t,centered:s,size:i,fullscreen:r,children:o,scrollable:l,...c},d)=>{e=(0,C.vE)(e,"modal");let u=`${e}-dialog`,m="string"==typeof r?`${e}-fullscreen-${r}`:`${e}-fullscreen`;return(0,v.jsx)("div",{...c,ref:d,className:n()(u,a,i&&`${e}-${i}`,s&&`${u}-centered`,l&&`${u}-scrollable`,r&&m),children:(0,v.jsx)("div",{className:n()(`${e}-content`,t),children:o})})});N.displayName="ModalDialog";var y=N;let T=_.forwardRef(({className:e,bsPrefix:a,as:t="div",...s},i)=>(a=(0,C.vE)(a,"modal-footer"),(0,v.jsx)(t,{ref:i,className:n()(e,a),...s})));T.displayName="ModalFooter";var P=t(76695);let L=_.forwardRef(({bsPrefix:e,className:a,closeLabel:t="Close",closeButton:s=!1,...i},r)=>(e=(0,C.vE)(e,"modal-header"),(0,v.jsx)(P.Z,{ref:r,...i,className:n()(a,e),closeLabel:t,closeButton:s})));L.displayName="ModalHeader";var S=t(39602);let M=(0,S.Z)("h4"),F=_.forwardRef(({className:e,bsPrefix:a,as:t=M,...s},i)=>(a=(0,C.vE)(a,"modal-title"),(0,v.jsx)(t,{ref:i,className:n()(e,a),...s})));function E(e){return(0,v.jsx)(b.Z,{...e,timeout:null})}function V(e){return(0,v.jsx)(b.Z,{...e,timeout:null})}F.displayName="ModalTitle";let H=_.forwardRef(({bsPrefix:e,className:a,style:t,dialogClassName:s,contentClassName:i,children:b,dialogAs:x=y,"data-bs-theme":N,"aria-labelledby":T,"aria-describedby":P,"aria-label":L,show:S=!1,animation:M=!0,backdrop:F=!0,keyboard:H=!0,onEscapeKeyDown:Z,onShow:k,onHide:R,container:I,autoFocus:D=!0,enforceFocus:A=!0,restoreFocus:O=!0,restoreFocusOptions:B,onEntered:W,onExit:z,onExiting:J,onEnter:$,onEntering:q,onExited:G,backdropClassName:U,manager:K,...X},Q)=>{let[Y,ee]=(0,_.useState)({}),[ea,et]=(0,_.useState)(!1),es=(0,_.useRef)(!1),ei=(0,_.useRef)(!1),en=(0,_.useRef)(null),[er,eo]=(0,u.Z)(),el=(0,h.Z)(Q,eo),ec=(0,m.Z)(R),ed=(0,C.SC)();e=(0,C.vE)(e,"modal");let eu=(0,_.useMemo)(()=>({onHide:ec}),[ec]);function em(){return K||(0,w.t)({isRTL:ed})}function eh(e){if(!o.Z)return;let a=em().getScrollbarWidth()>0,t=e.scrollHeight>(0,l.Z)(e).documentElement.clientHeight;ee({paddingRight:a&&!t?d():void 0,paddingLeft:!a&&t?d():void 0})}let ep=(0,m.Z)(()=>{er&&eh(er.dialog)});(0,p.Z)(()=>{(0,c.Z)(window,"resize",ep),null==en.current||en.current()});let eg=()=>{es.current=!0},e_=e=>{es.current&&er&&e.target===er.dialog&&(ei.current=!0),es.current=!1},ef=()=>{et(!0),en.current=(0,g.Z)(er.dialog,()=>{et(!1)})},ew=e=>{e.target===e.currentTarget&&ef()},eb=e=>{if("static"===F){ew(e);return}if(ei.current||e.target!==e.currentTarget){ei.current=!1;return}null==R||R()},eC=(0,_.useCallback)(a=>(0,v.jsx)("div",{...a,className:n()(`${e}-backdrop`,U,!M&&"show")}),[M,U,e]),ev={...t,...Y};return ev.display="block",(0,v.jsx)(j.Z.Provider,{value:eu,children:(0,v.jsx)(f.Z,{show:S,ref:el,backdrop:F,container:I,keyboard:!0,autoFocus:D,enforceFocus:A,restoreFocus:O,restoreFocusOptions:B,onEscapeKeyDown:e=>{H?null==Z||Z(e):(e.preventDefault(),"static"===F&&ef())},onShow:k,onHide:R,onEnter:(e,a)=>{e&&eh(e),null==$||$(e,a)},onEntering:(e,a)=>{null==q||q(e,a),(0,r.ZP)(window,"resize",ep)},onEntered:W,onExit:e=>{null==en.current||en.current(),null==z||z(e)},onExiting:J,onExited:e=>{e&&(e.style.display=""),null==G||G(e),(0,c.Z)(window,"resize",ep)},manager:em(),transition:M?E:void 0,backdropTransition:M?V:void 0,renderBackdrop:eC,renderDialog:t=>(0,v.jsx)("div",{role:"dialog",...t,style:ev,className:n()(a,e,ea&&`${e}-static`,!M&&"show"),onClick:F?eb:void 0,onMouseUp:e_,"data-bs-theme":N,"aria-label":L,"aria-labelledby":T,"aria-describedby":P,children:(0,v.jsx)(x,{...X,onMouseDown:eg,className:s,contentClassName:i,children:b})})})})});H.displayName="Modal";var Z=Object.assign(H,{Body:x,Header:L,Title:F,Footer:T,Dialog:y,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150})},34051:function(e,a,t){"use strict";var s=t(93967),i=t.n(s),n=t(67294),r=t(76792),o=t(85893);let l=n.forwardRef(({bsPrefix:e,className:a,as:t="div",...s},n)=>{let l=(0,r.vE)(e,"row"),c=(0,r.pi)(),d=(0,r.zG)(),u=`${l}-cols`,m=[];
1return c.forEach(e=>{let a;let t=s[e];delete s[e],null!=t&&"object"==typeof t?{cols:a}=t:a=t;let i=e!==d?`-${e}`:"";null!=a&&m.push(`${u}${i}-${a}`)}),(0,o.jsx)(t,{ref:n,...s,className:i()(a,l,...m)})});l.displayName="Row",a.Z=l},8810:function(e,a,t){"use strict";t.d(a,{Z:function(){return c}});var s=t(67294),i={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function n(e){var a=function(e){if("number"==typeof e)return{value:e,unit:"px"};var a,t=(e.match(/^[0-9.]*/)||"").toString();a=t.includes(".")?parseFloat(t):parseInt(t,10);var s=(e.match(/[^0-9]*$/)||"").toString();return i[s]?{value:a,unit:s}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(a,"px.")),{value:a,unit:"px"})}(e);return"".concat(a.value).concat(a.unit)}var r=function(){return(r=Object.assign||function(e){for(var a,t=1,s=arguments.length;t<s;t++)for(var i in a=arguments[t])Object.prototype.hasOwnProperty.call(a,i)&&(e[i]=a[i]);return e}).apply(this,arguments)},o=function(e,a){var t={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&0>a.indexOf(s)&&(t[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,s=Object.getOwnPropertySymbols(e);i<s.length;i++)0>a.indexOf(s[i])&&Object.prototype.propertyIsEnumerable.call(e,s[i])&&(t[s[i]]=e[s[i]]);return t},l=function(e,a,t){var s="react-spinners-".concat(e,"-").concat(t);if("undefined"==typeof window||!window.document)return s;var i=document.createElement("style");document.head.appendChild(i);var n=i.sheet,r="\n    @keyframes ".concat(s," {\n      ").concat(a,"\n    }\n  ");return n&&n.insertRule(r,0),s}("ScaleLoader","0% {transform: scaley(1.0)} 50% {transform: scaley(0.4)} 100% {transform: scaley(1.0)}","scale"),c=function(e){var a=e.loading,t=e.color,i=void 0===t?"#000000":t,c=e.speedMultiplier,d=void 0===c?1:c,u=e.cssOverride,m=e.height,h=void 0===m?35:m,p=e.width,g=void 0===p?4:p,_=e.radius,f=void 0===_?2:_,w=e.margin,b=void 0===w?2:w,C=o(e,["loading","color","speedMultiplier","cssOverride","height","width","radius","margin"]),v=r({display:"inherit"},void 0===u?{}:u),x=function(e){return{backgroundColor:i,width:n(g),height:n(h),margin:n(b),borderRadius:n(f),display:"inline-block",animation:"".concat(l," ").concat(1/d,"s ").concat(.1*e,"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08)"),animationFillMode:"both"}};return void 0===a||a?s.createElement("span",r({style:v},C),s.createElement("span",{style:x(1)}),s.createElement("span",{style:x(2)}),s.createElement("span",{style:x(3)}),s.createElement("span",{style:x(4)}),s.createElement("span",{style:x(5)})):null}}},function(e){e.O(0,[5675,4586,4214,1664,8665,1962,1163,4825,9774,2888,179],function(){return e(e.s=7251)}),_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.