PageSourceSearch

https://dioceseofcochin.org/_next/static/chunks/1-io3s0v6x4ii.js

js dioceseofcochin.org collected 2026-09-24 21:56:52 UTC 51,000 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,401851,677241,845110,585890,e=>{"use strict";var t;let a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return (t={})=>{let a=t.width?String(t.width):e.defaultWidth;return e.formats[a]||e.formats[e.defaultWidth]}}let n={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},i={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(e){return(t,a)=>{let r;if("formatting"===(a?.context?String(a.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,n=a?.width?String(a.width):t;r=e.formattingValues[n]||e.formattingValues[t]}else{let t=e.defaultWidth,n=a?.width?String(a.width):e.defaultWidth;r=e.values[n]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function o(e){return(t,a={})=>{let r,n=a.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i);if(!s)return null;let o=s[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(let a=0;a<e.length;a++)if(t(e[a]))return a}(l,e=>e.test(o)):function(e,t){for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t(e[a]))return a}(l,e=>e.test(o));return r=e.valueCallback?e.valueCallback(c):c,{value:r=a.valueCallback?a.valueCallback(r):r,rest:t.slice(o.length)}}}let l={code:"en-US",formatDistance:(e,t,r)=>{let n,i=a[e];if(n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+n;else return n+" ago";return n},formatLong:n,formatRelative:(e,t,a,r)=>i[e],localize:{ordinalNumber:(e,t)=>{let a=Number(e),r=a%100;if(r>20||r<10)switch(r%10){case 1:return a+"st";case 2:return a+"nd";case 3:return a+"rd"}return a+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(t={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,a={})=>{let r=e.match(t.matchPattern);if(!r)return null;let n=r[0],i=e.match(t.parsePattern);if(!i)return null;let s=t.valueCallback?t.valueCallback(i[0]):i[0];return{value:s=a.valueCallback?a.valueCallback(s):s,rest:e.slice(n.length)}}),era:o({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},c={},h=Symbol.for("constructDateFrom");function d(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&h in e?e[h](t):e instanceof Date?new e.constructor(t):new Date(t)}function u(e,t){return d(t||e,e)}function m(e){let t=u(e),a=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return a.setUTCFullYear(t.getFullYear()),e-a}function f(e,...t){let a=d.bind(null,e||t.find(e=>"object"==typeof e));return t.map(a)}function g(e,t){let a=u(e,t?.in);return a.setHours(0,0,0,0),a}function p(e,t){let a=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,r=u(e,t?.in),n=r.getDay();return r.setDate(r.getDate()-(7*(n<a)+n-a)),r.setHours(0,0,0,0),r}function x(e,t){return p(e,{...t,weekStartsOn:1}
1)}function y(e,t){let a=u(e,t?.in),r=a.getFullYear(),n=d(a,0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);let i=x(n),s=d(a,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);let o=x(s);return a.getTime()>=i.getTime()?r+1:a.getTime()>=o.getTime()?r:r-1}function b(e,t){let a=u(e,t?.in),r=a.getFullYear(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,i=d(t?.in||e,0);i.setFullYear(r+1,0,n),i.setHours(0,0,0,0);let s=p(i,t),o=d(t?.in||e,0);o.setFullYear(r,0,n),o.setHours(0,0,0,0);let l=p(o,t);return+a>=+s?r+1:+a>=+l?r:r-1}function w(e,t){let a=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+a}e.s(["constructFrom",0,d],677241),e.s(["normalizeDates",0,f],845110),e.s(["startOfDay",0,g],585890);let v={y(e,t){let a=e.getFullYear(),r=a>0?a:1-a;return w("yy"===t?r%100:r,t.length)},M(e,t){let a=e.getMonth();return"M"===t?String(a+1):w(a+1,2)},d:(e,t)=>w(e.getDate(),t.length),a(e,t){let a=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.toUpperCase();case"aaa":return a;case"aaaaa":return a[0];default:return"am"===a?"a.m.":"p.m."}},h:(e,t)=>w(e.getHours()%12||12,t.length),H:(e,t)=>w(e.getHours(),t.length),m:(e,t)=>w(e.getMinutes(),t.length),s:(e,t)=>w(e.getSeconds(),t.length),S(e,t){let a=t.length;return w(Math.trunc(e.getMilliseconds()*Math.pow(10,a-3)),t.length)}},j={G:function(e,t,a){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return a.era(r,{width:"abbreviated"});case"GGGGG":return a.era(r,{width:"narrow"});default:return a.era(r,{width:"wide"})}},y:function(e,t,a){if("yo"===t){let t=e.getFullYear();return a.ordinalNumber(t>0?t:1-t,{unit:"year"})}return v.y(e,t)},Y:function(e,t,a,r){let n=b(e,r),i=n>0?n:1-n;return"YY"===t?w(i%100,2):"Yo"===t?a.ordinalNumber(i,{unit:"year"}):w(i,t.length)},R:function(e,t){return w(y(e),t.length)},u:function(e,t){return w(e.getFullYear(),t.length)},Q:function(e,t,a){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return w(r,2);case"Qo":return a.ordinalNumber(r,{unit:"quarter"});case"QQQ":return a.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return a.quarter(r,{width:"narrow",context:"formatting"});default:return a.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,a){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return w(r,2);case"qo":return a.ordinalNumber(r,{unit:"quarter"});case"qqq":return a.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return a.quarter(r,{width:"narrow",context:"standalone"});default:return a.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,a){let r=e.getMonth();switch(t){case"M":case"MM":return v.M(e,t);case"Mo":return a.ordinalNumber(r+1,{unit:"month"});case"MMM":return a.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return a.month(r,{width:"narrow",context:"formatting"});default:return a.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,a){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return w(r+1,2);case"Lo":return a.ordinalNumber(r+1,{unit:"month"});case"LLL":return a.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return a.month(r,{width:"narrow",context:"standalone"});default:return a.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,a,r){let n,i,s,o,l=Math.round((p(n=u(e,r?.in),r)-(i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,s=b(n,r),(o=d(r?.in||n,0)).setFullYear(s,0,i),o.setHours(0,0,0,0),p(o,r)))/6048e5)+1;return"wo"===t?a.ordinalNumber(l,{unit:"week"}):w(l,t.length)},I:function(e,t,a){let r,n,i,s=Math.round((x(r=u(e,void 0))-(n=y(r,void 0),(i=d(r,0)).setFullYear(n,0,4),i.setHours(0,0,0,0),x(i)))/6048e5)+1;return"Io"===t?a.ordinalNumber(s,{unit:"week"}):w(s,t.length)},d:function(e,t,a){return"do"===t?a.ordinalNumber(e.getDate(),{unit:"date"}):v.d(e,t)},D:function(e,t,a){let r,n,i=function(e,t){let[a,r]=f(void 0,e,t),n=g(a),i=g(r);return Math.round((n-m(n)-(i-m(i)))/864e5)}(n=u(e,void 0),((r=u(n,void 0)).setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r))+1;return"Do"===t?a.ordinalNumber(i,{unit:"dayOfYear"}):w(i,t.length)},E:function(e,t,a){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return a.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return a.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(r,{width:"short",context:"formatting"});default:return a.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,a,r){let n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return w(i,2);case"eo":return a.ordinalNumber(i,{unit:"day"});case"eee":return a.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return a.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(n,{width:"short",context:"formatting"});default:return a.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,a,r){let n=e.getDay(),i=(n-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return w(i,t.length);case"co":return a.ordinalNumber(i,{unit:"day"});case"ccc":return a.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return a.day(n,{width:"narrow",context:"standalone"});case"cccccc":return a.day(n,{width:"short",context:"standalone"});default:return a.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,a){let r=e.getDay(),n=0===r?7:r;switch(t){case"i":return String(n);case"ii":return w(n,t.length);case"io":return a.ordinalNumber(n,{unit:"day"});case"iii":return a.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return a.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return a.day(r,{width:"short",context:"formatting"});default:return a.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,a){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,a){let r,n=e.getHours();switch(r=12===n?"noon":0===n?"midnight":n/12>
1=1?"pm":"am",t){case"b":case"bb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,a){let r,n=e.getHours();switch(r=n>=17?"evening":n>=12?"afternoon":n>=4?"morning":"night",t){case"B":case"BB":case"BBB":return a.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return a.dayPeriod(r,{width:"narrow",context:"formatting"});default:return a.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,a){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),a.ordinalNumber(t,{unit:"hour"})}return v.h(e,t)},H:function(e,t,a){return"Ho"===t?a.ordinalNumber(e.getHours(),{unit:"hour"}):v.H(e,t)},K:function(e,t,a){let r=e.getHours()%12;return"Ko"===t?a.ordinalNumber(r,{unit:"hour"}):w(r,t.length)},k:function(e,t,a){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?a.ordinalNumber(r,{unit:"hour"}):w(r,t.length)},m:function(e,t,a){return"mo"===t?a.ordinalNumber(e.getMinutes(),{unit:"minute"}):v.m(e,t)},s:function(e,t,a){return"so"===t?a.ordinalNumber(e.getSeconds(),{unit:"second"}):v.s(e,t)},S:function(e,t){return v.S(e,t)},X:function(e,t,a){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return N(r);case"XXXX":case"XX":return M(r);default:return M(r,":")}},x:function(e,t,a){let r=e.getTimezoneOffset();switch(t){case"x":return N(r);case"xxxx":case"xx":return M(r);default:return M(r,":")}},O:function(e,t,a){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+k(r,":");default:return"GMT"+M(r,":")}},z:function(e,t,a){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+k(r,":");default:return"GMT"+M(r,":")}},t:function(e,t,a){return w(Math.trunc(e/1e3),t.length)},T:function(e,t,a){return w(+e,t.length)}};function k(e,t=""){let a=e>0?"-":"+",r=Math.abs(e),n=Math.trunc(r/60),i=r%60;return 0===i?a+String(n):a+String(n)+t+w(i,2)}function N(e,t){return e%60==0?(e>0?"-":"+")+w(Math.abs(e)/60,2):M(e,t)}function M(e,t=""){let a=Math.abs(e);return(e>0?"-":"+")+w(Math.trunc(a/60),2)+t+w(a%60,2)}let C=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},S=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},P={p:S,P:(e,t)=>{let a,r=e.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return C(e,t);switch(n){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",C(n,t)).replace("{{time}}",S(i,t))}},L=/^D+$/,A=/^Y+$/,D=["D","DD","YY","YYYY"],F=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,W=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E=/^'([^]*?)'?$/,z=/''/g,T=/[a-zA-Z]/;e.s(["format",0,function(e,t,a){let r=a?.locale??c.locale??l,n=a?.firstWeekContainsDate??a?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,i=a?.weekStartsOn??a?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,s=u(e,a?.in);if(!(s instanceof Date||"object"==typeof s&&"[object Date]"===Object.prototype.toString.call(s))&&"number"!=typeof s||isNaN(+u(s)))throw RangeError("Invalid time value");let o=t.match(W).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,P[t])(e,r.formatLong):e}).join("").match(F).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var a;let t;return{isToken:!1,value:(t=(a=e).match(E))?t[1].replace(z,"'"):a}}if(j[t])return{isToken:!0,value:e};if(t.match(T))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});r.localize.preprocessor&&(o=r.localize.preprocessor(s,o));let h={firstWeekContainsDate:n,weekStartsOn:i,locale:r};return o.map(n=>{if(!n.isToken)return n.value;let i=n.value;return(!a?.useAdditionalWeekYearTokens&&A.test(i)||!a?.useAdditionalDayOfYearTokens&&L.test(i))&&function(e,t,a){var r,n,i;let s,o=(r=e,n=t,i=a,s="Y"===r[0]?"years":"days of the month",`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${n}\`) for formatting ${s} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(o),D.includes(e))throw RangeError(o)}(i,t,String(e)),(0,j[i[0]])(s,i,r.localize,h)}).join("")}],401851)},708490,e=>{"use strict";var t=e.i(843476),a=e.i(522016),r=e.i(657688),n=e.i(685149);let i=[{heading:"Diocese",links:[{name:"News",href:"/news"},{name:"Events",href:"/events"},{name:"Parishes",href:"/parishes"},{name:"Priests",href:"/priests"},{name:"Diocesan History",href:"/history"},{name:"Bishops",href:"/bishops"},{name:"Archives of Diocese",href:"/archives-diocese-of-cochin"}]},{heading:"Curia",links:[{name:"Curia",href:"/curia"},{name:"Ecclesiastical Structure",href:"/ecclesiastical-structure"},{name:"Marriage Tribunal",href:"/marriage-tribunal"},{name:"Consultors",href:"/consultors"},{name:"Senate Of Priests",href:"/senate-of-priests"}]},{heading:"Religious",links:[{name:"Seminary",href:"/seminary"},{name:"Men Religious",href:"/men-religious"},{name:"Women Religious",href:"/women-religious"}]},{heading:"Pastoral",links:[{name:"Pastoral",href:"/pastoral"},{name:"Bible Apostolate",href:"/bible-apostolate"},{name:"Faith Formation",href:"/faith-formation"},{name:"Catechism",href:"/catechism"},{name:"Faith Ministry",href:"/faith-ministry"},{name:"Liturgy",href:"/liturgy"},{name:"Vocation Promotion",href:"/vocation-promotion"},{name:"Heritage",href:"/heritage"}]},{heading:"Family",links:[{name:"Couples Ministry",href:"/couples-ministry"},{name:"Family Apostolate",href:"/family-apostolate"},{name:"Family Counselling",href:"/family-counselling"},{name:"Pre-Marital Course",href:"/pre-marital-course"}]},{heading:"Institutions",links:[{name:"Fathima Hospital",href:"/fathima-hospital"},{name:"Corporate Education",href:"/corporate-education-of-cochin"},{name:"Colleges",href:"/colleges"},{name:"Catholic Centre",href:"/catholic-centre"},{name:"CIPT Press",href:"/cipt-press"},{name:"Alpha Pastoral Centre",href:"/alpha-pastoral-centre"}]},{heading:"Media",links:[{name:"Santa Cecilia Studio",href:"/santa-cecilia-studio"},{name:"Radio Maria",href:"/radio-maria"},{name:"Media Commission",href:"/media"},{name:"Contact Us",href:"/contact"}]},{heading:"Associations",wide:!0,links:[{name:"KCSL",href:"/kcsl"},{name:"KCYM",href:"/kcym"},{name:"Youth Ministry",href:"/youth-ministry"},{name:"Mission League",href:"/mission-league"},{name:"KLCA",href:"/klca"},{name:"Laity",href:"/laity"},{name:"Political Affairs",href:"/political-affairs"},{name:"KLCWA",href:"/klcwa"},{name:"KLM",href:"/klm"},{name:"Jesus Youth",href:"/jesus-youth"},{name:"Legion of Mary",href:"/legion-of-mary"},{name:"WIDES",href:"/wides"},{name:"Holy Childhood",href:"/holy-childhood"},{name:"Marian Sodality",href:"/marian-sodality"},{name:"Vincent de Paul",href:"/vincent-de-paul-society"},{name:"Christeen",href:"/christeen"},{name:"Charismatic & Proclamation",href:"/charismatic-and-proclamation"},{name:"Neo Catechumenal Way",href:"/neo-catechumenal-way"},{name:"Little Way",href:"/little-way"},{name:"Jesus Fraternity",href:"/jesus-fraternity"},{name:"Madhya Virudha Samithy",href:"/madhya-virudha-samithy"},{name:"Ecology",href:"/ecology"},{name:"Social Service Society",href:"/social-service-society"},{name:"Social Ministry",href:"/social-ministry"},{name:"Other Associations",href:"/other-associations"}]}];e.s(["default",0,function(){return(0,t.jsxs)("footer",{className:"bg-linear-to-br from-primary via-primary-light to-primary-dark text-white",children:[(0,t.jsx)("div",{className:"container mx-auto px-4 pt-7 pb-5",children:(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-5 ga
1p-x-5 gap-y-4",children:i.map(e=>(0,t.jsxs)("div",{className:e.wide?"col-span-2 sm:col-span-2 lg:col-span-3":"",children:[(0,t.jsx)("h4",{className:"text-secondary font-semibold text-xs uppercase tracking-wider mb-1.5",children:e.heading}),(0,t.jsx)("ul",{className:e.wide?"columns-2 lg:columns-3 gap-x-5 space-y-1":"space-y-1",children:e.links.map(e=>(0,t.jsx)("li",{className:"break-inside-avoid",children:(0,t.jsx)(a.default,{href:e.href,className:"text-white/60 text-xs hover:text-white transition-colors",children:e.name})},e.href))})]},e.heading))})}),(0,t.jsx)("div",{className:"border-t border-white/10",children:(0,t.jsx)("div",{className:"container mx-auto px-4 py-4",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"relative w-9 h-9 shrink-0",children:(0,t.jsx)(r.default,{src:n.LOGO_URL,alt:"Diocese of Cochin",fill:!0,className:"object-contain"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-semibold text-sm block leading-tight",children:"Diocese of Cochin"}),(0,t.jsx)("span",{className:"text-white/50 text-[0.6875rem]",children:"Established 1557 AD"})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("a",{href:"https://play.google.com/store/apps/details?id=org.dioceseofcochin&referrer=utm_source%3Ddioceseofcochin.org%26utm_medium%3Dweb%26utm_campaign%3Dfooter",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 h-10 px-3 bg-black border border-white/25 rounded-lg hover:border-secondary transition-colors",children:[(0,t.jsxs)("svg",{className:"w-5 h-5",viewBox:"0 0 512 512","aria-hidden":"true",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M48 59.49v393a4.33 4.33 0 0 0 7.37 3.07L260 256 55.37 56.42A4.33 4.33 0 0 0 48 59.49z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M345.8 174 89.22 32.64l-.16-.09c-4.42-2.4-8.62 3.58-5 7.06l201.13 192.32z"}),(0,t.jsx)("path",{fill:"#FBBC04",d:"M84.08 472.39c-3.64 3.48.56 9.46 5 7.06l.16-.09L345.8 338l-60.61-57.95z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"m449.38 231-71.65-39.46-67.89 64.46 67.89 64.46L449.38 281c19.49-10.77 19.49-39.23 0-50z"})]}),(0,t.jsxs)("span",{className:"text-left leading-none",children:[(0,t.jsx)("span",{className:"block text-white/60 text-[0.5625rem] uppercase tracking-wide",children:"Get it on"}),(0,t.jsx)("span",{className:"block text-white text-sm font-semibold",children:"Google Play"})]})]}),(0,t.jsxs)("a",{href:"https://apps.apple.com/app/diocese-of-cochin/id6783623399?ct=website-footer&mt=8",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 h-10 px-3 bg-black border border-white/25 rounded-lg hover:border-secondary transition-colors",children:[(0,t.jsx)("svg",{className:"w-5 h-5 text-white",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"})}),(0,t.jsxs)("span",{className:"text-left leading-none",children:[(0,t.jsx)("span",{className:"block text-white/60 text-[0.5625rem] uppercase tracking-wide",children:"Download on the"}),(0,t.jsx)("span",{className:"block text-white text-sm font-semibold",children:"App Store"})]})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:"text-white/40 text-xs hidden sm:inline",children:"Follow us"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsxs)("a",{href:n.SOCIAL_LINKS.facebook,target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-white/10 rounded-full flex items-center justify-center hover:bg-secondary transition-colors",children:[(0,t.jsx)("span",{className:"sr-only",children:"Facebook"}),(0,t.jsx)("svg",{className:"w-3.5 h-3.5 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})})]}),(0,t.jsxs)("a",{href:n.SOCIAL_LINKS.twitter,target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-white/10 rounded-full flex items-center justify-center hover:bg-secondary transition-colors",children:[(0,t.jsx)("span",{className:"sr-only",children:"Twitter"}
1),(0,t.jsx)("svg",{className:"w-3.5 h-3.5 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})]}),(0,t.jsxs)("a",{href:n.SOCIAL_LINKS.instagram,target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-white/10 rounded-full flex items-center justify-center hover:bg-secondary transition-colors",children:[(0,t.jsx)("span",{className:"sr-only",children:"Instagram"}),(0,t.jsx)("svg",{className:"w-3.5 h-3.5 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})]}),(0,t.jsxs)("a",{href:n.SOCIAL_LINKS.youtube,target:"_blank",rel:"noopener noreferrer",className:"w-8 h-8 bg-white/10 rounded-full flex items-center justify-center hover:bg-secondary transition-colors",children:[(0,t.jsx)("span",{className:"sr-only",children:"YouTube"}),(0,t.jsx)("svg",{className:"w-3.5 h-3.5 text-white",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})]})]})]})]})})}),(0,t.jsx)("div",{className:"border-t border-white/10",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 py-3",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center gap-2",children:[(0,t.jsxs)("p",{className:"text-white/40 text-[0.6875rem]",children:["© ",new Date().getFullYear()," Diocese of Cochin. All rights reserved."]}),(0,t.jsxs)("div",{className:"flex items-center gap-4 md:gap-6",children:[(0,t.jsx)(a.default,{href:"/privacy-policy",className:"text-white/40 text-[0.6875rem] hover:text-white transition-colors",children:"Privacy Policy"}),(0,t.jsx)(a.default,{href:"/terms-of-use",className:"text-white/40 text-[0.6875rem] hover:text-white transition-colors",children:"Terms of Use"})]})]}),(0,t.jsx)("div",{className:"mt-3 pt-3 border-t border-white/10 text-center",children:(0,t.jsxs)("a",{href:"https://appfide.com",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-xs sm:text-sm text-white/70 hover:text-white transition-colors",children:[(0,t.jsx)("span",{children:"Crafted with care by"}),(0,t.jsx)("span",{className:"font-semibold tracking-wide text-secondary",children:"Appfide Private Limited"})]})})]})})]})}])},487145,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(522016),n=e.i(657688),i=e.i(685149),s=e.i(618566);let{min:o,max:l,step:c,default:h,storageKey:d}={min:87.5,max:125,step:6.25,default:100,storageKey:"diocese-font-size"};function u(e,t,a){return Math.min(a,Math.max(t,e))}function m(e){document.documentElement.style.fontSize=`${e}%`}function f(){let{increase:e,decrease:r,reset:n,isMin:i,isMax:s,isDefault:f,mounted:g}=function(){let[e,t]=(0,a.useState)(h),[r,n]=(0,a.useState)(!1);(0,a.useEffect)(()=>{try{let e=localStorage.getItem(d);if(e){let a=parseFloat(e);
1if(!isNaN(a)){let e=u(a,o,l);t(e),m(e)}}}catch{}n(!0)},[]);let i=(0,a.useCallback)(e=>{let a=u(e,o,l);t(a),m(a);try{localStorage.setItem(d,String(a))}catch{}},[]),s=(0,a.useCallback)(()=>{i(Math.min(e+c,l))},[e,i]),f=(0,a.useCallback)(()=>{i(Math.max(e-c,o))},[e,i]);return{fontSize:e,increase:s,decrease:f,reset:(0,a.useCallback)(()=>{i(h)},[i]),isMin:e<=o,isMax:e>=l,isDefault:e===h,mounted:r}}(),p="inline-flex items-center justify-center transition-colors duration-150",x="text-gray-600 hover:text-primary active:scale-95 cursor-pointer",y="opacity-40 pointer-events-none cursor-default text-gray-600";return g?(0,t.jsxs)("div",{className:"inline-flex items-center rounded-full border border-gray-200 bg-gray-50/80 px-1 py-0.5 select-none gap-0.5",role:"group","aria-label":"Font size controls",children:[(0,t.jsx)("button",{onClick:r,"aria-label":"Decrease font size","aria-disabled":i,title:"Decrease font size",className:`${p} w-6 h-6 rounded-full ${i?y:x}`,children:(0,t.jsx)("span",{className:"text-[0.625rem] font-semibold leading-none",children:"A"})}),(0,t.jsx)("button",{onClick:n,"aria-label":"Reset font size to default",title:"Reset to default font size",className:`${p} w-6 h-6 rounded-full ${f?"text-primary":"text-gray-500 hover:text-primary active:scale-95"}`,children:(0,t.jsxs)("svg",{className:"w-3 h-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),(0,t.jsx)("path",{d:"M3 3v5h5"})]})}),(0,t.jsx)("button",{onClick:e,"aria-label":"Increase font size","aria-disabled":s,title:"Increase font size",className:`${p} w-6 h-6 rounded-full ${s?y:x}`,children:(0,t.jsx)("span",{className:"text-[0.9375rem] font-semibold leading-none",children:"A"})})]}):(0,t.jsxs)("div",{className:"inline-flex items-center rounded-full border border-gray-200 bg-gray-50 px-1 py-0.5 select-none","aria-hidden":"true",children:[(0,t.jsx)("span",{className:`${p} w-6 h-6 rounded-full text-gray-300`,children:(0,t.jsx)("span",{className:"text-[0.625rem] font-semibold leading-none",children:"A"})}),(0,t.jsx)("span",{className:`${p} w-6 h-6 rounded-full text-gray-300 mx-0.5`,children:(0,t.jsxs)("svg",{className:"w-3 h-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.5,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),(0,t.jsx)("path",{d:"M3 3v5h5"})]})}),(0,t.jsx)("span",{className:`${p} w-6 h-6 rounded-full text-gray-300`,children:(0,t.jsx)("span",{className:"text-[0.9375rem] font-semibold leading-none",children:"A"})})]})}let g=[{name:"News",href:"/news",active:!1},{name:"Events",href:"/events",active:!1,submenu:[{name:"Upcoming Events",href:"/events"},{name:"Past Events",href:"/events?filter=past"}]},{name:"Parishes",href:"/parishes",active:!1,submenu:[{name:"All Parishes",href:"/parishes"},{name:"Aroor Forane",href:"/parishes?forane=Aroor Forane"},{name:"Edakochi Forane",href:"/parishes?forane=Edakochi Forane"},{name:"Fortkochi Forane",href:"/parishes?forane=Fortkochi Forane"},{name:"Kannamali Forane",href:"/parishes?forane=Kannamali Forane"},{name:"Kumbalanghi Forane",href:"/parishes?forane=Kumbalanghi Forane"},{name:"Thankey Forane",href:"/parishes?forane=Thankey Forane"}]},{name:"Priests",href:"/priests",active:!1,submenu:[{name:"All Priests",href:"/priests"},{name:"Priests in Diocese",href:"/priests?filter=diocese"},{name:"Priests Serving Abroad",href:"/priests?filter=abroad"},{name:"Priests in Heaven",href:"/priests?filter=heaven"}]},{name:"Curia",href:"/curia",active:!1,submenu:[{name:"Ecclesiastical Structure",href:"/ecclesiastical-structure"},{name:"Marriage Tribunal",href:"/marriage-tribunal"},{name:"Consultors",href:"/consultors"},{name:"Senate Of Priests",href:"/senate-of-priests"}]}],p=[{name:"History",href:"/history",active:!1,submenu:[{name:"Diocesan History",href:"/history"},{name:"Bishops",href:"/bishops"},{name:"Archives of Diocese of Cochin",href:"/archives-diocese-of-cochin"}]},{name:"Religious",href:"/religious",active:!1,submenu:[{name:"Seminaries",href:"/seminary"},{name:"Men Religious",href:"/men-religious"},{name:"Women Religious",href:"/women-religious"}]},{name:"Pastoral",href:"/pastoral",active:!1,submenu:[{name:"Pastoral",href:"/pastoral"},{name:"Bible Apostolate",href:"/bible-apostolate"},{name:"Faith Formation",href:"/faith-formation"},{name:"Catechism",href:"/catechism"},{name:"Faith Ministry",href:"/faith-ministry"},{name:"Liturgy",href:"/liturgy"},{name:"Vocation Promotion",href:"/vocation-promotion"},{name:"Heritage",href:"/heritage"}]},{name:"Family",href:"/couples-ministry",active:!1,submenu:[{name:"Couples Ministry",href:"/couples-ministry"},{name:"Family Apostolate",href:"/family-apostolate"},{name:"Family Counselling",href:"/family-counselling"},{name:"Pre-Marital Course",href:"/pre-marital-course"}]},{name:"Associations",href:"/kcym",active:!1,submenu:[{name:"KCSL",href:"/kcsl"},{name:"KCYM",href:"/kcym"},{name:"Youth Ministry",href:"/youth-ministry"},{name:"Mission League",href:"/mission-league"},{name:"KLCA",href:"/klca"},{name:"Laity",href:"/laity"},{name:"Political Affairs",href:"/political-affairs"},{name:"KLCWA",href:"/klcwa"},{name:"KLM",href:"/klm"},{name:"Jesus Youth",href:"/jesus-youth"},{name:"Legion of Mary",href:"/legion-of-mary"},{name:"WIDES",href:"/wides"},{name:"Holy Childhood",href:"/holy-childhood"},{name:"Marian Sodality",href:"/marian-sodality"},{name:"Vincent de Paul Society",href:"/vincent-de-paul-society"},{name:"Christeen",href:"/christeen"},{name:"Charismatic and Proclamation",href:"/charismatic-and-proclamation"},{name:"Neo Catechumenal Way",href:"/neo-catechumenal-way"},{name:"Little Way",href:"/little-way"},{name:"Jesus Fraternity",href:"/jesus-fraternity"},{name:"Madhya Virudha Samithy",href:"/madhya-virudha-samithy"},{name:"Ecology",href:"/ecology"},{name:"Social Service Society",href:"/social-service-society"},{name:"Social Ministry",href:"/social-ministry"},{name:"Other Associations",href:"/other-associations"}]},{name:"Institutions",href:"/fathima-hospital",active:!1,submenu:[{name:"Fathima Hospital",href:"/fathima-hospital"},{name:"Corporate Education of Cochin",href:"/corporate-education-of-cochin"},{name:"Colleges",href:"/colleges"},{name:"Catholic Centre",href:"/catholic-centre"},{name:"CIPT Press",href:"/cipt-press"},{name:"Alpha Pastoral Centre",href:"/alpha-pastoral-centre"}]},{name:"Media",href:"/santa-cecilia-studio",active:!1,submenu:[{name:"Santa Cecilia Studio",href:"/santa-cecilia-studio"},{name:"Radio Maria",href:"/radio-maria"},{name:"Media Commission",href:"/media"}]},{name:"Contact Us",href:"/contact",active:!1}];e.s(["default",0,function(){let e=(0,s.usePathname)(),[o,l]=(0,a.useState)(!1),[c,h]=(0,a.useState)(!1),[d,u]=(0,a.useState)(""),[m,x]=(0,a.useState)([]),[y,b]=(0,a.useState)(!1),[w,v]=(0,a.useState)(!1),[j,k]=(0,a.useState)(null),[N,M]=(0,a.useState)(new Set),[C,S]=(0,a.useState)(!1),[P,L]=(0,a.useState)(!1),[A,D]=(0,a.useState)(!1),F=(0,a.useRef)(null),W=(0,a.useRef)(null),E=e=>{M(t=>{let a=new Set(t);return a.has(e)?a.delete(e):a.add(e),a})},z=(0,a.useRef)(null);(0,a.useEffect)(()=>
1{l(!0)},[]),(0,a.useEffect)(()=>{let e=()=>L(window.scrollY>2);return window.addEventListener("scroll",e,{passive:!0}),e(),()=>window.removeEventListener("scroll",e)},[]),(0,a.useEffect)(()=>{if("/"!==e)return void D(!1);let t=document.getElementById("quick-links-bar");if(!t)return void D(!1);let a=new IntersectionObserver(([e])=>D(!e.isIntersecting),{threshold:0});return a.observe(t),()=>a.disconnect()},[e]),(0,a.useEffect)(()=>{let e=e=>{F.current&&!F.current.contains(e.target)&&b(!1),W.current&&!W.current.contains(e.target)&&S(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,a.useEffect)(()=>{S(!1),h(!1)},[e]),(0,a.useEffect)(()=>{let e=setTimeout(()=>{d.trim().length>0?T(d):(x([]),b(!1))},300);return()=>clearTimeout(e)},[d]);let T=async e=>{v(!0);try{let[t,a,r,n]=await Promise.all([fetch(`/api/priests?search=${encodeURIComponent(e)}&active=true&limit=3`).then(e=>e.ok?e.json():[]).catch(()=>[]),fetch(`/api/parishes?search=${encodeURIComponent(e)}&limit=3`).then(e=>e.ok?e.json():[]).catch(()=>[]),fetch(`/api/posts?search=${encodeURIComponent(e)}&limit=3`).then(e=>e.ok?e.json():[]).catch(()=>[]),fetch(`/api/events?search=${encodeURIComponent(e)}&limit=3`).then(e=>e.ok?e.json():[]).catch(()=>[])]),i=[];Array.isArray(t)&&t.forEach(e=>{i.push({id:`priest-${e.id}`,title:e.name,subtitle:e.currentAssignment||void 0,category:"priests",url:`/priests?search=${encodeURIComponent(e.name)}`})}),Array.isArray(a)&&a.forEach(e=>{let t=e.placeAddress||e.postalAddress||e.placeName||void 0;i.push({id:`parish-${e.id}`,title:e.name,subtitle:t,category:"parishes",url:`/parishes/${e.slug}`})}),Array.isArray(r)&&r.forEach(e=>{i.push({id:`news-${e.id}`,title:e.title,category:"news",url:`/post/${e.slug}`})}),Array.isArray(n)&&n.forEach(e=>{i.push({id:`event-${e.id}`,title:e.title,category:"events",url:`/events#${e.id}`})}),x(i),b(i.length>0)}catch(e){console.error("Search error:",e),x([])}finally{v(!1)}},O=m.reduce((e,t)=>(e[t.category]||(e[t.category]=[]),e[t.category].push(t),e),{}),Y={priests:"Priests",parishes:"Parishes",news:"News",events:"Events"},H=()=>{z.current=setTimeout(()=>{k(null)},200)};return(0,a.useEffect)(()=>()=>{z.current&&clearTimeout(z.current)},[]),(0,t.jsx)("header",{className:`bg-white/95 backdrop-blur-sm border-b border-gray-200 sticky top-0 z-50 transition-shadow duration-200 ${P?"shadow-md":"shadow-sm"}`,children:(0,t.jsxs)("div",{className:"container mx-auto px-4",children:[(0,t.jsxs)("div",{className:"flex items-center h-16",children:[(0,t.jsxs)(r.default,{href:"/",className:"flex items-center gap-2 flex-shrink-0 mr-4",children:[(0,t.jsx)("div",{className:"relative w-10 h-10 md:w-12 md:h-12 flex-shrink-0",children:(0,t.jsx)(n.default,{src:i.LOGO_URL,alt:"Diocese of Cochin",fill:!0,className:"object-contain"})}),(0,t.jsx)("span",{className:"text-primary font-bold text-xs whitespace-nowrap sm:text-sm lg:text-lg",children:"Diocese of Cochin"})]}),(0,t.jsx)("div",{className:"hidden md:flex items-center flex-1 min-w-0 pr-4 lg:pr-8",children:(0,t.jsxs)("div",{ref:F,className:"relative w-full",children:[(0,t.jsx)("input",{type:"text",placeholder:"Search",value:d,onChange:e=>u(e.target.value),onFocus:()=>{m.length>0&&b(!0)},className:"w-full pl-4 pr-10 py-2 rounded-full bg-gray-100 text-gray-800 placeholder-gray-500 text-sm focus:outline-none focus:ring-2 focus:ring-primary/20"}),w&&(0,t.jsx)("div",{className:"absolute right-4 top-1/2 -translate-y-1/2",children:(0,t.jsxs)("svg",{className:"animate-spin h-4 w-4 text-primary",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}),y&&m.length>0&&(0,t.jsx)("div",{className:"absolute top-full left-0 right-0 mt-2 bg-white rounded-2xl shadow-2xl border border-gray-200 max-h-100 overflow-y-auto z-50",children:Object.entries(O).map(([e,a])=>(0,t.jsxs)("div",{className:"py-2",children:[(0,t.jsx)("div",{className:"px-4 py-2",children:(0,t.jsx)("h3",{className:"text-xs font-bold text-primary uppercase tracking-wider",children:Y[e]})}),a.map(e=>(0,t.jsxs)(r.default,{href:e.url,onClick:()=>{b(!1),u("")},className:"block px-4 py-2.5 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)("p",{className:"text-sm text-gray-800 font-medium",children:e.title}),"                            ",e.subtitle&&(0,t.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:e.subt
1itle}),"                        "]},e.id))]},e))}),y&&d.trim().length>0&&0===m.length&&!w&&(0,t.jsx)("div",{className:"absolute top-full left-0 right-0 mt-2 bg-white rounded-2xl shadow-2xl border border-gray-200 z-50",children:(0,t.jsxs)("div",{className:"px-4 py-6 text-center text-gray-500 text-sm",children:["No results found for “",d,"”"]})})]})}),(0,t.jsx)("nav",{className:"hidden lg:flex items-center gap-4 xl:gap-8 flex-shrink-0",children:g.map(a=>{let n=o&&e===a.href;return(0,t.jsxs)("div",{className:"relative",onMouseEnter:()=>{var e;return a.submenu&&(e=a.name,void(z.current&&clearTimeout(z.current),k(e)))},onMouseLeave:H,children:[a.submenu?(0,t.jsx)("span",{className:`text-sm font-medium transition-colors cursor-pointer ${n?"text-primary":"text-gray-600 hover:text-primary"}`,children:a.name}):(0,t.jsx)(r.default,{href:a.href,className:`text-sm font-medium transition-colors ${n?"text-primary":"text-gray-600 hover:text-primary"}`,children:a.name}),a.submenu&&j===a.name&&(0,t.jsx)("div",{className:"absolute top-full right-0 mt-2 w-56 bg-white rounded-lg shadow-lg border border-gray-200 py-2 z-50",children:a.submenu.map(e=>(0,t.jsx)(r.default,{href:e.href,className:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 hover:text-primary transition-colors",children:e.name},e.name))})]},a.name)})}),o&&("/"!==e||A)&&(0,t.jsxs)("div",{ref:W,className:"hidden lg:block relative ml-2 flex-shrink-0",children:[(0,t.jsx)("button",{onClick:()=>S(!C),className:`p-2 rounded-lg transition-colors ${C?"bg-primary/10 text-primary":"text-gray-600 hover:text-primary hover:bg-gray-100"}`,"aria-label":"More navigation",title:"More",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),C&&(0,t.jsx)("div",{className:"absolute top-full right-0 mt-2 w-[480px] xl:w-[640px] 2xl:w-[800px] bg-white rounded-xl shadow-2xl border border-gray-200 py-3 px-3 z-50 max-h-[calc(100vh-5rem)] overflow-y-auto",children:(0,t.jsx)("div",{className:"columns-3 xl:columns-4 gap-x-3",children:p.map(e=>(0,t.jsx)("div",{className:"break-inside-avoid mb-3",children:e.submenu?(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block px-2 py-1 text-xs font-semibold text-primary uppercase tracking-wide",children:e.name}),(0,t.jsx)("div",{children:e.submenu.map(e=>(0,t.jsx)(r.default,{href:e.href,onClick:()=>S(!1),className:"block px-2 py-0.5 text-xs text-gray-600 hover:text-primary hover:bg-gray-50 rounded transition-colors leading-snug",children:e.name},e.name))})]}):(0,t.jsx)(r.default,{href:e.href,onClick:()=>S(!1),className:"block px-2 py-1 text-xs font-semibold text-primary uppercase tracking-wide hover:bg-gray-50 rounded transition-colors",children:e.name})},e.name))})})]}),(0,t.jsx)("div",{className:"flex items-center flex-shrink-0 ml-auto lg:ml-3",children:(0,t.jsx)(f,{})}),(0,t.jsx)("button",{className:"lg:hidden text-primary p-2 flex-shrink-0 ml-2",onClick:()=>h(!c),children:(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c?(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]}),c&&(0,t.jsxs)("div",{className:"lg:hidden py-4 border-t border-gray-200 max-h-[calc(100vh-4rem)] overflow-y-auto",children:[(0,t.jsx)("div",{className:"mb-4 px-4",children:(0,t.jsxs)("div",{ref:F,className:"relative w-full",children:[(0,t.jsx)("input",{type:"text",placeholder:"Search",value:d,onChange:e=>u(e.target.value),onFocus:()=>{m.length>0&&b(!0)},className:"w-full pl-4 pr-10 py-2 rounded-full bg-gray-100 text-gray-800 placeholder-gray-500 text-sm focus:outline-none focus:ring-2 focus:ring-primary/20"}),w&&(0,t.jsx)("div",{className:"absolute right-4 top-1/2 -translate-y-1/2",children:(0,t.jsxs)("svg",{className:"animate-spin h-4 w-4 text-primary",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}),y&&m.length>0&&(0,t.jsx)("div",{className:"absolute top-full left-0 right-0 mt-2 bg-white rounded-2xl shadow-2xl border border-gray-200 max-h-100 overflow-y-auto z-50",children:Object.entries(O).map(([e,a])=>(0,t.jsxs)("div",{className:"py-2",children:[(0,t.jsx)("div",{className:"px-4 py-2",children:(0,t.jsx)("h3",{className:"text-xs font-bold text-primary uppercase tracking-wider",children:Y[e]})}),a.map(e=>(0,t.jsxs)(r.default,{href:e.url,onClick:()=>{b(!1),u(""),h(!1)},className:"block px-4 py-2.5 hover:bg-gray-50 transition-colors",children:[(0,t.jsx)("p",{className:"text-sm text-gray-800 font-medium",children:e.title}),e.subtitle&&(0,t.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:e.subt
1itle})]},e.id))]},e))}),y&&d.trim().length>0&&0===m.length&&!w&&(0,t.jsx)("div",{className:"absolute top-full left-0 right-0 mt-2 bg-white rounded-2xl shadow-2xl border border-gray-200 z-50",children:(0,t.jsxs)("div",{className:"px-4 py-6 text-center text-gray-500 text-sm",children:["No results found for “",d,"”"]})})]})}),(0,t.jsxs)("nav",{className:"flex flex-col",children:[g.map(a=>{let n=o&&(e===a.href||"/news"===a.href&&"/posts"===e),i=N.has(a.name);return(0,t.jsxs)("div",{className:"border-b border-gray-100 last:border-0",children:[a.submenu?(0,t.jsxs)("button",{onClick:()=>E(a.name),className:`w-full flex items-center justify-between py-3 text-sm font-medium ${n?"text-primary":"text-gray-700"}`,children:[(0,t.jsx)("span",{children:a.name}),(0,t.jsx)("svg",{className:`w-4 h-4 text-gray-400 transition-transform duration-200 ${i?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}):(0,t.jsx)(r.default,{href:a.href,className:`py-3 text-sm font-medium block ${n?"text-primary":"text-gray-700"}`,onClick:()=>h(!1),children:a.name}),a.submenu&&i&&(0,t.jsx)("div",{className:`pb-2 pl-4 ${a.submenu.length>9?"columns-2 gap-x-2":"flex flex-col"}`,children:a.submenu.map(e=>(0,t.jsx)(r.default,{href:e.href,className:"block break-inside-avoid py-2 text-sm text-gray-500 hover:text-primary border-l-2 border-gray-200 pl-3 hover:border-primary transition-colors",onClick:()=>h(!1),children:e.name},e.name))})]},a.name)}),p.map(a=>{let n=o&&e===a.href,i=N.has(a.name);return(0,t.jsxs)("div",{className:"border-b border-gray-100 last:border-0",children:[a.submenu?(0,t.jsxs)("button",{onClick:()=>E(a.name),className:`w-full flex items-center justify-between py-3 text-sm font-medium ${n?"text-primary":"text-gray-700"}`,children:[(0,t.jsx)("span",{children:a.name}),(0,t.jsx)("svg",{className:`w-4 h-4 text-gray-400 transition-transform duration-200 ${i?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}):(0,t.jsx)(r.default,{href:a.href,className:`py-3 text-sm font-medium block ${n?"text-primary":"text-gray-700"}`,onClick:()=>h(!1),children:a.name}),a.submenu&&i&&(0,t.jsx)("div",{className:`pb-2 pl-4 ${a.submenu.length>9?"columns-2 gap-x-2":"flex flex-col"}`,children:a.submenu.map(e=>(0,t.jsx)(r.default,{href:e.href,className:"block break-inside-avoid py-2 text-sm text-gray-500 hover:text-primary border-l-2 border-gray-200 pl-3 hover:border-primary transition-colors",onClick:()=>h(!1),children:e.name},e.name))})]},a.name)})]})]})]})})}],487145)}]);

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.