PageSourceSearch

https://hicny.org/_next/static/chunks/1k_39hc0o9j-2.js

js hicny.org collected 2026-10-02 01:07:46 UTC 44,735 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,764546,e=>{"use strict";var t=e.i(843476),s=e.i(271645),n=e.i(155487),i=e.i(389502),r=e.i(488939),a=e.i(522016);function l(){let{featuredPrograms:e}=(0,n.useSelector)(r.getProgramStates),l=(0,n.useDispatch)();return(0,s.useEffect)(()=>{l((0,r.fetchFeaturedProgramData)())},[l]),e&&e.length>0&&(0,t.jsx)("div",{className:`featured-program-bg-img ${e?.[0]?.featuredProgramBackgroundImage?.url?"bg-ash":""}`,style:e?.[0]?.featuredProgramBackgroundImage?.url&&{backgroundImage:`url(https://api.hicny.org${e[0]?.featuredProgramBackgroundImage?.url})`},children:e?.length>0&&(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"heading",children:[(0,t.jsx)("img",{src:"\\assets\\img\\hic-icon-masjid-blue.png",alt:"icon",style:{width:"50px"}}),(0,t.jsx)("p",{children:"Hillside Islamic Center Programs"}),(0,t.jsx)("h2",{children:"Our Featured Programs"})]}),e?.map(({image:e,title:s,startDate:n,classTimeStart:r,slug:l,classTimeEnd:c,endDate:o},d)=>(0,t.jsxs)("div",{className:"row align-items-center mt-4",children:[(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsx)("div",{className:"row",children:e?.length>0&&e?.map(({url:e,name:s},n)=>(0,t.jsx)("div",{className:"col-md-6 h-100",children:(0,t.jsx)("div",{className:"img-navigating hoverimg courses-img",children:(0,t.jsx)("figure",{children:(0,t.jsx)("img",{src:`https://api.hicny.org${e}`,alt:s})})})},n))})}),(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsxs)("div",{className:"navigating-life",children:[(0,t.jsxs)("div",{className:"d-flex align-items-center",children:[(0,t.jsxs)("div",{className:"location",children:[(0,t.jsx)("i",{className:"fa-regular fa-clock"}),(0,t.jsxs)("span",{children:[n," ",r&&` @${r}`]})]}),(0,t.jsx)("span",{children:"~"}),(0,t.jsxs)("div",{className:"location",children:[(0,t.jsx)("i",{className:"fa-regular fa-clock"}),(0,t.jsxs)("span",{children:[o,c&&` @${c}`]})]})]}),(0,t.jsx)("h2",{className:"",children:s}),(0,t.jsx)("div",{id:"countdown",children:(0,t.jsx)(i.default,{date:new Date(n).getTime(),renderer:({days:e,hours:s,minutes:n,seconds:i,completed:r})=>r?(0,t.jsx)("h2",{children:"This Event has Started"}):(0,t.jsxs)("ul",{children:[(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{id:"days",children:e}),"days"]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{id:"hours",children:s}),"Hour"]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{id:"minutes",children:n}),"Min"]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{id:"seconds",children:i}),"Sec"]})]})})}),(0,t.jsx)("div",{className:"d-flex align-items-center",children:(0,t.jsx)(a.default,{href:`/programs/${l}`,className:"btn mt-5",children:"View Details"})})]})})]},d))]})})}var c=e.i(901245),o=e.i(443008),d=e.i(970468);let u=function(e,t){let n=(0,s.useRef)(!0);(0,s.useEffect)(()=>{if(n.current){n.current=!1;return}return e()},t)};var h=e.i(894922),m=e.i(955083);let x=0x80000000-1,g=function(e){let t=(0,s.useRef)(e);return(0,s.useEffect)(()=>{t.current=e},[e]),t},j=e.g.navigator&&"ReactNative"===e.g.navigator.product;"u">typeof document||j?s.useLayoutEffect:s.useEffect,new WeakMap;let p=["as","disabled"];function f({tagName:e,disabled:t,href:s,target:n,rel:i,role:r,onClick:a,tabIndex:l=0,type:c}){e||(e=null!=s||null!=n||null!=i?"a":"button");let o={tagName:e};if("button"===e)return[{type:c||"button",disabled:t},o];let d=n=>{var i;(!t&&("a"!==e||(i=s)&&"#"!==i.trim())||n.preventDefault(),t)?n.stopPropagation():null==a||a(n)};return"a"===e&&(s||(s="#"),t&&(s=void 0)),[{role:null!=r?r:"button",disabled:void 0,tabIndex:t?void 0:l,href:s,target:"a"===e?n:void 0,"aria-disabled":t||void 0,rel:"a"===e?i:void 0,onClick:d,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),d(e))}},o]}s.forwardRef((e,s)=>{let{as:n,disabled:i}=e,r=function(e,t){if(null==e)return{};var s={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;s[n]=e[n]}return s}(e,p),[a,{tagName:l}]=f(Object.assign({tagName:n,disabled:i},r));return(0,t.jsx)(l,Object.assign({},r,a,{ref:s}))}).displayName="Button";
1let v=["onKeyDown"],k=s.forwardRef((e,n)=>{var i;let r,{onKeyDown:a}=e,l=function(e,t){if(null==e)return{};var s={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;s[n]=e[n]}return s}(e,v),[c]=f(Object.assign({tagName:"a"},l)),o=(r=g(e=>{c.onKeyDown(e),null==a||a(e)}),(0,s.useCallback)(function(...e){return r.current&&r.current(...e)},[r]));return(i=l.href)&&"#"!==i.trim()&&"button"!==l.role?(0,t.jsx)("a",Object.assign({ref:n},l,{onKeyDown:a})):(0,t.jsx)("a",Object.assign({ref:n},l,c,{onKeyDown:o}))});k.displayName="Anchor";var y=e.i(343794);e.i(749892);var b=e.i(115539),b=b,N=e.i(650582);let w=s.forwardRef(({className:e,bsPrefix:s,as:n="div",...i},r)=>(s=(0,N.useBootstrapPrefix)(s,"carousel-caption"),(0,t.jsx)(n,{ref:r,className:(0,y.default)(e,s),...i})));w.displayName="CarouselCaption";let M=s.forwardRef(({as:e="div",bsPrefix:s,className:n,...i},r)=>{let a=(0,y.default)(n,(0,N.useBootstrapPrefix)(s,"carousel-item"));return(0,t.jsx)(e,{ref:r,...i,className:a})});function L(e,t){let n=0;return s.Children.map(e,e=>s.isValidElement(e)?t(e,n++):e)}M.displayName="CarouselItem";var D=/([A-Z])/g,I=/^ms-/;function C(e){return e.replace(D,"-$1").toLowerCase().replace(I,"-ms-")}var E=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;let $=function(e,t){var s="",n="";if("string"==typeof t)return e.style.getPropertyValue(C(t))||(function(e){var t;return((t=e&&e.ownerDocument||document)&&t.defaultView||window).getComputedStyle(e,void 0)})(e).getPropertyValue(C(t));Object.keys(t).forEach(function(i){var r=t[i];r||0===r?i&&E.test(i)?n+=i+"("+r+") ":s+=C(i)+": "+r+";":e.style.removeProperty(C(i))}),n&&(s+="transform: "+n+";"),e.style.cssText+=";"+s},S=!!("u">typeof window&&window.document&&window.document.createElement);var P=!1,O=!1;try{var T={get passive(){return P=!0},get once(){return O=P=!0}};S&&(window.addEventListener("test",T,T),window.removeEventListener("test",T,!0))}catch(e){}let R=function(e,t,s,n){if(n&&"boolean"!=typeof n&&!O){var i=n.once,r=n.capture,a=s;!O&&i&&(a=s.__once||function e(n){this.removeEventListener(t,e,r),s.call(this,n)},s.__once=a),e.addEventListener(t,a,P?n:r)}e.addEventListener(t,s,n)},z=function(e,t,s,n){var i=n&&"boolean"!=typeof n?n.capture:n;e.removeEventListener(t,s,i),s.__once&&e.removeEventListener(t,s.__once,i)},W=function(e,t,s,n){return R(e,t,s,n),function(){z(e,t,s,n)}};function B(e,t){let s=$(e,t)||"",n=-1===s.indexOf("ms")?1e3:1;return parseFloat(s)*n}function _(e,t){let s=B(e,"transitionDuration"),n=B(e,"transitionDelay"),i=function(e,t,s){null==s&&(i=-1===(n=$(e,"transitionDuration")||"").indexOf("ms")?1e3:1,s=parseFloat(n)*i||0);var n,i,r,a,l,c=(r=!1,a=setTimeout(function(){r||function(e,t,s,n){if(void 0===s&&(s=!1),void 0===n&&(n=!0),e){var i=document.createEvent("HTMLEvents");i.initEvent(t,s,n),e.dispatchEvent(i)}}(e,"transitionend",!0)},s+5),l=W(e,"transitionend",function(){r=!0},{once:!0}),function(){clearTimeout(a),l()}),o=W(e,"transitionend",t);return function(){c(),o()}}(e,s=>{s.target===e&&(i(),t(s))},s+n)}var A=e.i(585642),H=e.i(668951),V=e.i(174080);let F=s.default.forwardRef(({onEnter:e,onEntering:n,onEntered:i,onExit:r,onExiting:a,onExited:l,addEndListener:c,children:o,childRef:d,...u},h)=>{let m=(0,s.useRef)(null),x=(0,H.default)(m,d),g=e=>{x(e&&"setState"in e?V.default.findDOMNode(e):null!=e?e:null)},j=e=>t=>{e&&m.current&&e(m.current,t)},p=(0,s.useCallback)(j(e),[e]),f=(0,s.useCallback)(j(n),[n]),v=(0,s.useCallback)(j(i),[i]),k=(0,s.useCallback)(j(r),[r]),y=(0,s.useCallback)(j(a),[a]),b=(0,s.useCallback)(j(l),[l]),N=(0,s.useCallback)(j(c),[c]);return(0,t.jsx)(A.default,{ref:h,...u,onEnter:p,onEntered:v,onEntering:f,onExit:k,onExited:b,onExiting:y,addEndListener:N,nodeRef:m,children:"function"==typeof o?(e,t)=>o(e,{...t,ref:g}):s.default.cloneElement(o,{ref:g})})});F.displayName="TransitionWrapper";let K=s.forwardRef(({defaultActiveIndex:e=0,...n},i)=>{var r;let a,l,c,o,g,j,{as:p="div",bsPrefix:f,slide:v=!0,fade:w=!1,controls:M=!0,indicators:D=!0,indicatorLabels:I=[],activeIndex:C,onSelect:E,onSlide:$,onSlid:S,interval:P=5e3,keyboard:O=!0,onKeyDown:T,pause:R="hover",onMouseOver:z,onMouseOut:W,wrap:B=!0,touch:A=!0,onTouchStart:H,onTouchMove:V,onTouchEnd:K,prevIcon:q=(0,t.jsx)("span",{"aria-hidden":"true",className:"carousel-control-prev-icon"}),prevLabel:X="Previous",nextIcon:G=(0,t.jsx)("span",{"aria-hidden":"true",className:"carousel-control-next-icon"}),nextLabel:Y="Next",variant:U,className:Z,children:J,...Q}=(0,b.default)({defaultActiveIndex:e,...n},{activeIndex:"onSelect"}),ee=(0,N.useBootstrapPrefix)(f,"carousel"),et=(0,N.useIsRTL)(),es=(0,s.useRef)(null),[en,ei]=(0,s.use
1State)("next"),[er,ea]=(0,s.useState)(!1),[el,ec]=(0,s.useState)(!1),[eo,ed]=(0,s.useState)(C||0);(0,s.useEffect)(()=>{el||C===eo||(es.current?ei(es.current):ei((C||0)>eo?"next":"prev"),v&&ec(!0),ed(C||0))},[C,el,eo,v]),(0,s.useEffect)(()=>{es.current&&(es.current=null)});let eu=0;j=0,s.Children.forEach(J,e=>{s.isValidElement(e)&&((e,t)=>{++eu,t===C&&(g=e.props.interval)})(e,j++)});let eh=(0,h.default)(g),em=(0,s.useCallback)(e=>{if(el)return;let t=eo-1;if(t<0){if(!B)return;t=eu-1}es.current="prev",null==E||E(t,e)},[el,eo,E,B,eu]),ex=(0,d.default)(e=>{if(el)return;let t=eo+1;if(t>=eu){if(!B)return;t=0}es.current="next",null==E||E(t,e)}),eg=(0,s.useRef)();(0,s.useImperativeHandle)(i,()=>({element:eg.current,prev:em,next:ex}));let ej=(0,d.default)(()=>{!document.hidden&&function(e){if(!e||!e.style||!e.parentNode||!e.parentNode.style)return!1;let t=getComputedStyle(e);return"none"!==t.display&&"hidden"!==t.visibility&&"none"!==getComputedStyle(e.parentNode).display}(eg.current)&&(et?em():ex())}),ep="next"===en?"start":"end";u(()=>{v||(null==$||$(eo,ep),null==S||S(eo,ep))},[eo]);let ef=`${ee}-item-${en}`,ev=`${ee}-item-${ep}`,ek=(0,s.useCallback)(e=>{e.offsetHeight,null==$||$(eo,ep)},[$,eo,ep]),ey=(0,s.useCallback)(()=>{ec(!1),null==S||S(eo,ep)},[S,eo,ep]),eb=(0,s.useCallback)(e=>{if(O&&!/input|textarea/i.test(e.target.tagName))switch(e.key){case"ArrowLeft":e.preventDefault(),et?ex(e):em(e);return;case"ArrowRight":e.preventDefault(),et?em(e):ex(e);return}null==T||T(e)},[O,T,em,ex,et]),eN=(0,s.useCallback)(e=>{"hover"===R&&ea(!0),null==z||z(e)},[R,z]),ew=(0,s.useCallback)(e=>{ea(!1),null==W||W(e)},[W]),eM=(0,s.useRef)(0),eL=(0,s.useRef)(0),eD=(c=(0,m.default)(),o=(0,s.useRef)(),r=()=>clearTimeout(o.current),(a=(0,s.useRef)(r)).current=r,l=a,(0,s.useEffect)(()=>()=>l.current(),[]),(0,s.useMemo)(()=>{let e=()=>clearTimeout(o.current);return{set:function(t,s=0){c()&&(e(),s<=x?o.current=setTimeout(t,s):function e(t,s,n){let i=n-Date.now();t.current=i<=x?setTimeout(s,i):setTimeout(()=>e(t,s,n),x)}(o,t,Date.now()+s))},clear:e,handleRef:o}},[])),eI=(0,s.useCallback)(e=>{eM.current=e.touches[0].clientX,eL.current=0,"hover"===R&&ea(!0),null==H||H(e)},[R,H]),eC=(0,s.useCallback)(e=>{e.touches&&e.touches.length>1?eL.current=0:eL.current=e.touches[0].clientX-eM.current,null==V||V(e)},[V]),eE=(0,s.useCallback)(e=>{if(A){let t=eL.current;Math.abs(t)>40&&(t>0?em(e):ex(e))}"hover"===R&&eD.set(()=>{ea(!1)},P||void 0),null==K||K(e)},[A,R,em,ex,eD,P,K]),e$=null!=P&&!er&&!el,eS=(0,s.useRef)();(0,s.useEffect)(()=>{var e,t;if(!e$)return;let s=et?em:ex;return eS.current=window.setInterval(document.visibilityState?ej:s,null!=(e=null!=(t=eh.current)?t:P)?e:void 0),()=>{null!==eS.current&&clearInterval(eS.current)}},[e$,em,ex,eh,P,ej,et]);let eP=(0,s.useMemo)(()=>D&&Array.from({length:eu},(e,t)=>e=>{null==E||E(t,e)}),[D,eu,E]);return(0,t.jsxs)(p,{ref:eg,...Q,onKeyDown:eb,onMouseOver:eN,onMouseOut:ew,onTouchStart:eI,onTouchMove:eC,onTouchEnd:eE,className:(0,y.default)(Z,ee,v&&"slide",w&&`${ee}-fade`,U&&`${ee}-${U}`),children:[D&&(0,t.jsx)("div",{className:`${ee}-indicators`,children:L(J,(e,s)=>(0,t.jsx)("button",{type:"button","data-bs-target":"","aria-label":null!=I&&I.length?I[s]:`Slide ${s+1}`,className:s===eo?"active":void 0,onClick:eP?eP[s]:void 0,"aria-current":s===eo},s))}),(0,t.jsx)("div",{className:`${ee}-inner`,children:L(J,(e,n)=>{let i=n===eo;return v?(0,t.jsx)(F,{in:i,onEnter:i?ek:void 0,onEntered:i?ey:void 0,addEndListener:_,children:(t,n)=>s.cloneElement(e,{...n,className:(0,y.default)(e.props.className,i&&"entered"!==t&&ef,("entered"===t||"exiting"===t)&&"active",("entering"===t||"exiting"===t)&&ev)})}):s.cloneElement(e,{className:(0,y.default)(e.props.className,i&&"active")})})}),M&&(0,t.jsxs)(t.Fragment,{children:[(B||0!==C)&&(0,t.jsxs)(k,{className:`${ee}-control-prev`,onClick:em,children:[q,X&&(0,t.jsx)("span",{className:"visually-hidden",children:X})]}),(B||C!==eu-1)&&(0,t.jsxs)(k,{className:`${ee}-control-next`,onClick:ex,children:[G,Y&&(0,t.jsx)("span",{className:"visually-hidden",children:Y})]})]})]})});K.displayName="Carousel";let q=Object.assign(K,{Caption:w,Item:M});var X=e.i(657688),G=e.i(132236);
1function Y(){let[e,i]=(0,s.useState)(0),{sliderData:r}=(0,n.useSelector)(c.getSliderStates),l=(0,n.useDispatch)();return((0,s.useEffect)(()=>{l((0,c.fetchSliderData)())},[l]),r?.length===0)?(0,t.jsx)("div",{className:"slider-height",children:(0,t.jsx)(G.default,{})}):(0,t.jsx)("div",{children:(0,t.jsx)(o.default,{children:(0,t.jsx)(q,{activeIndex:e,onSelect:(e,t)=>{i(e)},controls:!1,indicators:!0,touch:!0,slide:!0,children:r?.map((e,s)=>(0,t.jsxs)(q.Item,{interval:5e3,children:[(0,t.jsx)(X.default,{src:`https://api.hicny.org${e?.image?.data?.[0]?.attributes?.url}`,className:"banner-height d-block w-100 hero-image animate__animated animate__zoomIn",alt:"Hero Image",width:2e3,height:2e3}),(0,t.jsx)("div",{className:"hero-text",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsx)("div",{className:"row text-center text-lg-start",children:(0,t.jsxs)("div",{className:"col-md-8",children:[e?.title&&(0,t.jsx)("h1",{className:"sliderTitle banner-text",children:e?.title}),e?.description&&(0,t.jsx)("p",{children:e?.description}),e?.Button?.[0]?.link&&e?.Button?.[0]?.title&&(0,t.jsx)(a.default,{href:e?.Button?.[0]?.link||"#",className:"btn banner-button",children:e?.Button?.[0]?.title})]})})})})]},s))})})})}var U=e.i(702778);let Z=()=>{let[e,n]=(0,s.useState)(null);return(0,s.useEffect)(()=>{(async()=>{try{let e=await fetch("https://api.hicny.org/api/get-current-month-slug",{cache:"no-store"}),{data:t}=await e.json();n(t)}catch(e){return null}})()},[]),e&&e.slug?(0,t.jsx)("div",{className:"text-center pt-4 pb-0",children:(0,t.jsx)(a.default,{className:"btn monthly-prayers-time-btn",href:"/monthly-prayer-times",children:"Monthly Prayer Times"})}):""};var J=e.i(369620);function Q({componentData:e}){let{jumuaTimes:i}=(0,n.useSelector)(U.getJumuaTimeStates),r=(0,n.useDispatch)();return(0,s.useEffect)(()=>{r((0,U.fetchJumuaTime)())},[r]),(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"heading",children:[(0,t.jsx)("div",{className:"text-center pb-3",children:(0,t.jsx)(J.IoTimeOutline,{className:"time-icon"})}),(0,t.jsx)("h2",{children:e?.title})]}),i&&0!==i.length?(0,t.jsxs)("div",{className:"jumuatime mx-auto",children:[(0,t.jsxs)("table",{className:"jumuatime-table table table-striped borderless",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:"Jumuah"}),(0,t.jsx)("th",{children:"Khutba"}),(0,t.jsx)("th",{children:"Location"})]})}),(0,t.jsx)("tbody",{children:i?.map((e,s)=>{let n,i,r,a;return(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{className:"subheadings",children:e?.title}),(0,t.jsx)("td",{className:"subtext",children:(i=parseInt((n=(e?.time).split(":"))[0]),r=n[1],a=i>=12?"PM":"AM",i%=12,(i=i||12)+":"+r+" "+a)}),(0,t.jsx)("td",{className:"subtext",children:e?.location})]},s)})})]}),(0,t.jsx)(Z,{})]}):(0,t.jsx)(G.default,{})]})}var ee=e.i(43364);e.i(912434);var et=e.i(275747);function es(){let{bannerData:e}=(0,n.useSelector)(ee.getBannerStates),[i,r]=(0,s.useState)(),a=(0,n.useDispatch)();return(0,s.useEffect)(()=>{a((0,ee.fetchBannerData)())},[a]),(0,s.useEffect)(()=>{let e=()=>{r(window.innerWidth)};return r(window.innerWidth),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[i]),(0,t.jsx)("div",{className:`know-about-section ${e?.backgroundImage?.data?.attributes?.url?"bg-ash":""}`,style:e?.backgroundImage?.data?.attributes?.url&&{backgroundImage:`url(https://api.hicny.org${e?.backgroundImage?.data?.attributes?.url})`},children:(0,t.jsxs)("div",{className:"container text-center",children:[(0,t.jsxs)("div",{className:"heading",children:[(0,t.jsx)("img",{style:{width:"50px"},src:"/assets/img/hic-icon-masjid-blue.png",alt:"Hic Masjid Icon"}),(0,t.jsx)("p",{children:e?.subTitle}),(0,t.jsx)("h2",{children:e?.title})]}),(0,t.jsxs)("div",{className:"row about-hic",children:[(0,t.jsx)("div",{className:"col-lg-5",children:(0,t.jsxs)("div",{className:"islamic-history",children:[e?.description&&(0,t.jsx)("div",{className:"hic-description text-center rich-text",children:(0,t.jsx)(et.BlocksRenderer,{content:e?.description})}),(0,t.jsx)("a",{href:e?.two_column_button?.[0]?.link,className:"btn know-about-btn",children:e?.two_column_button?.[0]?.title})]})}),i>991?(0,t.jsx)("div",{className:"col-lg-7",children:(0,t.jsxs)("div",{className:"row",children:[(0,t.jsxs)("div",{className:"col-lg-5 col-6 circle-box",children:[(0,t.jsxs)("div",{className:"circle-text",children:[(0,t.jsx)("img",{src:"/assets/img/circle-text.png",className:"circle-text-img icon-text-border",alt:"circle-img"}),(0,t.jsx)("figure",{className:"circle-img",children:(0,t.jsx)("img",{src:"/assets/img/circle-icon.png",alt:"circle-img",className:"icon-border"})})]}),(0,t.jsx)("div",{className:"real-history-book hoverimg",children:(0,t.jsx)("figure",{className:"about-image-1",children:(0,t.jsx)("img",{src:`https://api.hicny.org${e?.image?.data?.[0]?.attributes?.url}`,alt:"img"})})})]}),(0,t.jsx)("div",{className:"col-lg-7 col-6",children:(0,t.jsx)("div",{className:"real-history-book two hoverimg",children:(0,t.jsx)("figure",{className:"about-image-2",children:(0,t.jsx)("img",{src:`https://api.hicny.org${e?.image?.data?.[1]?.attributes?.url}`,alt:"real-history-boy"})})})})]})}):""]})]})})}let en=[(0,t.jsx)("i",{children:(0,t.jsxs)("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",xmlSpace:"preserve",children:[(0,t.jsx)("g",{children:(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M469.731,139.705c6.453-14.712,6.792-31.057,0.952-46.024c-1.724-4.42-6.704-6.608-11.128-4.882\n                                                c-14.967,5.839-26.763,17.158-33.218,31.87c-1.19,2.712-2.169,5.481-2.942,8.285c-10.543-17.036-23.331-32.683-38.071-46.464\n                                                c8.15-11.362,12.059-25.08,11.061-39.205c-1.132-16.026-8.436-30.651-20.569-41.183c-3.585-3.112-9.012-2.728-12.121,0.856\n                                                c-13.05,15.033-17.288,34.755-13.182,52.823c-9.34-5.818-19.177-11.005-29.475-15.471c-4.352-1.886-9.413,0.111-11.302,4.465\n                                                c-1.888,4.353,0.111,9.414,4.465,11.302c21.793,9.451,41.372,22.362,58.243,37.896c-1.812-0.298-3.645-0.523-5.499-0.659\n                                                c-16.025-1.165-31.54,3.983-43.693,14.491c-3.589,3.104-3.983,8.53-0.88,12.12c11.879,13.737,28.661,20.78,45.538,20.78\n                                                c12.313,0,24.675-3.758,35.214-11.394c14.503,21.045,25.143,44.692,31.222,69.767c-7.448,0.115-20.975-1.651-33.073-13.749\n                                                c-0.183-0.183-0.376-0.359-0.575-0.525c-0.826-0.687-20.524-16.787-46.117-10.961c-19.562,4.452-36.526,20.162-50.524,46.752\n                                                c-14.769-10.801-46.333-30.527-79.8
166-30.527c-13.021,0-28.414,2.958-44.711,6.088c-38.549,7.405-86.525,16.623-128.004-8.955\n                                                c-2.458-1.517-5.514-1.696-8.132-0.478c-2.619,1.218-4.451,3.668-4.877,6.524c-0.449,3.012-10.494,74.438,33.323,132.21\n                                                c25.671,33.848,64.259,55.615,114.848,64.829c-13.324,13.753-39,35.959-70.916,42.473c-2.352,0.48-4.396,1.922-5.637,3.978\n                                                s-1.565,4.536-0.895,6.841c0.213,0.732,5.391,18.129,20.786,35.188c13.805,15.299,38.677,33.234,79.404,33.233\n                                                c1.195,0,2.409-0.016,3.63-0.047c4.365-0.112,7.951-3.48,8.338-7.828c0.037-0.419,4.113-41.462,42.907-69.899h6.07\n                                                c42.031,0,81.964-18.182,109.562-49.885c27.596-31.703,40.101-73.762,34.306-115.392c-2.826-20.309,6.811-40.042,23.893-50.47\n                                                c2.046,14.2,2.653,28.743,1.684,43.436c-0.312,4.735,3.273,8.827,8.008,9.14c0.192,0.013,0.384,0.019,0.574,0.019\n                                                c4.487,0,8.266-3.485,8.566-8.027c2.161-32.775-2.888-64.872-14.007-94.421C454.837,162.307,464.23,152.246,469.731,139.705z\n                                                 M366.262,45.416c-0.576-8.156,1.136-16.124,4.888-23.166c4.704,6.444,7.519,14.092,8.094,22.248\n                                                c0.576,8.156-1.135,16.123-4.888,23.165C369.652,61.219,366.837,53.571,366.262,45.416z M342.542,115.294\n                                                c7.046-3.734,15.015-5.425,23.164-4.837c8.15,0.592,15.789,3.419,22.222,8.132C373.469,126.221,355.746,124.936,342.542,115.294z\n                                                 M397.177,271.318c5.108,36.705-5.917,73.788-30.248,101.74c-24.332,27.952-59.541,43.984-96.6,43.984h-8.638\n                                                c-1.39-0.066-13.789-0.766-25.56-4.894c-4.478-1.573-9.382,0.786-10.951,5.264c-1.571,4.478,0.787,9.38,5.264,10.952\n                                                c3.563,1.25,7.148,2.233,10.549,3.01c-24.379,23.426-32.734,50.335-35.483,63.381c-48.34-1.566-69.102-32.379-76.444-47.635\n                                                c40.254-11.942,69.227-43.273,78.294-54.087c1.772,0.076,3.98,0.136,6.558,0.136c17.06,0,49.922-2.636,74.451-20.731\n                                                c3.818-2.817,4.631-8.197,1.814-12.015c-2.817-3.818-8.196-4.631-12.015-1.814c-27.876,20.565-71.419,17.226-73.758,17.028\n                                                c-0.802-0.101-1.592-0.214-2.388-0.322c1.055-0.892,2.066-1.809,2.998-2.742c3.356-3.356,3.356-8.796,0-12.151\n                                                c-3.356-3.356-8.796-3.356-12.151,0c-3.899,3.899-10.759,8.095-15.038,10.475c-9.528-2.235-18.536-4.98-27.011-8.241\n                                                c3.524-1.688,7.111-3.77,10.497-6.344c3.778-2.871,4.513-8.261,1.642-12.039c-2.87-3.777-8.26-4.513-12.039-1.642\n                                                c-8.027,6.101-18.076,8.56-22.688,9.419c-8.852-5.008-16.95-10.724-24.271-17.149c7.691-1.259,16.614-3.65,25.101-8.152\n                                                c4.192-2.224,5.787-7.425,3.563-11.618c-2.225-4.192-7.427-5.788-11.618-3.563c-12.07,6.404-25.847,7.398-32.384,7.471\n                                                c-1.031-1.258-2.047-2.528-3.034-3.825c-5.155-6.779-9.464-13.814-13.085-20.923c4.046,0.387,8.62,0.662,13.461,0.662\n                                                c9.182,0,19.313-0.989,28.571-4.075c4.502-1.501,6.935-6.367,5.435-10.869c-1.502-4.502-6.367-6.936-10.869-5.435\n                                                c-15.661,5.219-35.659,2.823-44.461,1.348c-3.101-8.774-5.304-17.42-6.844-25.606c10.769,3.425,27.226,6.951,49.378,6.951\n                                                c4.745,0,8.592-3.847,8.592-8.592c0-4.745-3.847-8.592-8.592-8.592c-27.464,0-44.834-5.954-51.996-9.042\n                                                c-0.757-8.908-0.817-16.674-0.631-22.625c43.766,20.836,90.22,11.911,128.177,4.619c15.469-2.972,30.082-5.78,41.467-5.78\n                                                c38.684,0,76.89,32.795,77.266,33.121c0.032,0.028,0.068,0.049,0.099,0.077c0.041,0.036,0.078,0.073,0.119,0.108l27.983,22.8\n                                                c1.595,1.299,3.514,1.932,5.422,1.932c2.494,0,4.967-1.08,6.666-3.165c2.997-3.679,2.445-9.091-1.234-12.089l-22.736-18.526\n                                                c11.715-23.321,25.616-37.41,40.431-40.869c16.078-3.755,29.462,5.823,31.279,7.201c8.903,8.774,18.417,13.5,26.954,15.953\n                                                C401.715,228.558,394.169,249.698,397.177,271.318z M438.891,151.033c-1.166-7.893-0.1-15.972,3.185-23.46\n                                                c3.285-7.487,8.506-13.744,15.104-18.232c1.166,7.893,0.1,15.972-3.185,23.46C450.709,140.29,445.488,146.546,438.891,151.033z"})})}),(0,t.jsx)("circle",{cx:"367.222",cy:"221.463",r:"8.592"})]})},1),(0,t.jsx)("i",{children:(0,t.jsxs)("svg",{version:"1.1",id:"svg2055",xmlSpace:"preserve",width:"682.66669",height:"682.66669",viewBox:"0 0 682.66669 682.66669",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("defs",{id:"defs2059",children:(0,t.jsx)("clipPath",{clipPathUnits:"userSpaceOnUse",id:"clipPath2073",children:(0,t.jsx)("path",{d:"M 0,512 H 512 V 0 H 0 Z",id:"path2071"})})}),(0,t.jsxs)("g",{id:"g2061",transform:"matrix(1.3333333,0,0,-1.3333333,0,682.66667)",children:[(0,t.jsx)("g",{id:"g2063",transform:"translate(256.002,107.5928)",children:(0,t.jsx)("path",{d:"M 0,0 92.382,-47.597",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2065"})}),(0,t.jsx)("g",{id:"g2067",children:(0,t.jsxs)("g",{id:"g2069",clipPath:"url(#clipPath2073)",children:[(0,t.jsx)("g",{id:"g2075",transform:"translate(255.999,172.2031)",children:(0,t.jsx)("path",{d:"m 0,0 -243.464,100.096 c -2.385,0.98 -5.002,-0.773 -5.002,-3.352 V 65.613 c 0,-1.357 0.758,-2.6 1.964,-3.221 L 
1-70.397,-28.34",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2077"})}),(0,t.jsx)("g",{id:"g2079",transform:"translate(379.5791,43.9238)",children:(0,t.jsx)("path",{d:"m 0,0 45.684,-23.537 c 0.804,-0.414 1.736,-0.513 2.609,-0.275 l 27.491,7.467 c 0.768,0.208 1.583,0.158 2.32,-0.142 l 41.791,-17.058 c 2.383,-0.973 4.993,0.78 4.993,3.355 v 53.889 c 0,1.469 -0.887,2.793 -2.246,3.351 L -52.785,99.174",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2081"})}),(0,t.jsx)("g",{id:"g2083",transform:"translate(9.7793,70.9741)",children:(0,t.jsx)("path",{d:"m 0,0 489.686,201.325 c 2.384,0.98 5.001,-0.773 5.001,-3.352 v -31.131 c 0,-1.357 -0.757,-2.6 -1.963,-3.221 L 76.958,-50.587 c -0.805,-0.414 -1.736,-0.513 -2.609,-0.276 l -27.492,7.467 c -0.767,0.209 -1.583,0.159 -2.319,-0.142 L 2.747,-60.595 c -2.384,-0.973 -4.993,0.78 -4.993,3.355 v 53.888 c 0,1.47 0.887,2.793 2.246,3.352 z",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2085"})}),(0,t.jsx)("g",{id:"g2087",transform:"translate(266,143.0972)",children:(0,t.jsx)("path",{d:"m 0,0 c 0,-5.523 -4.478,-10 -10,-10 -5.522,0 -10,4.477 -10,10 0,5.523 4.478,10 10,10 C -4.478,10 0,5.523 0,0",style:{fill:"#000000",fillOpacity:1,fillRule:"nonzero",stroke:"none"},id:"path2089"})}),(0,t.jsx)("g",{id:"g2091",transform:"translate(256,208.4199)",children:(0,t.jsx)("path",{d:"m 0,0 -205.528,80.97 c -3.146,1.239 -6.551,-1.08 -6.551,-4.461 V 50.975 L 0,-36.217 212.079,50.975 v 25.534 c 0,3.381 -3.405,5.7 -6.551,4.461 z",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2093"})}),(0,t.jsx)("g",{id:"g2095",transform:"translate(149.4482,309.9321)",children:(0,t.jsx)("path",{d:"m 0,0 c -14.219,1.945 -28.625,2.348 -42.955,1.208 -10.287,-0.817 -23.044,-0.615 -32.51,3.561 -1.977,0.872 -4.202,-0.525 -4.202,-2.686 v -30.232 l 186.219,-73.363 v 47.735 c 0,0 -13.253,29.173 -73.385,46.585",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2097"})}),(0,t.jsx)("g",{id:"g2099",transform:"translate(139.6553,283.291)",children:(0,t.jsx)("path",{d:"M 0,0 C 0,0 68.76,-14.03 116.345,-50.89",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2101"})}),(0,t.jsx)("g",{id:"g2103",transform:"translate(442.2187,312.0146)",children:(0,t.jsx)("path",{d:"m 0,0 v -30.232 l -186.219,-73.363 v 47.736 c 0,0 15.972,35.158 92.406,51.317 18.752,3.965 37.995,5.187 57.101,3.668 10.287,-0.818 23.044,-0.616 32.51,3.56 C -2.225,3.559 0,2.162 0,0 Z",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2105"})}),(0,t.jsx)("g",{id:"g2107",transform:"translate(372.3447,283.291)",children:(0,t.jsx)("path",{d:"M 0,0 C 0,0 -68.76,-14.03 -116.345,-50.89",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2109"})}),(0,t.jsx)("g",{id:"g2111",transform:"translate(303.5596,452.8174)",children:(0,t.jsx)("path",{d:"m 0,0 c 0,-5.523 -4.478,-10 -10,-10 -5.523,0 -10,4.477 -10,10 0,5.523 4.477,10 10,10 C -4.478,10 0,5.523 0,0",style:{fill:"#000000",fillOpacity:1,fillRule:"nonzero",stroke:"none"},id:"path2113"})}),(0,t.jsx)("g",{id:"g2115",transform:"translate(334.1777,452.8174)",children:(0,t.jsx)("path",{d:"m 0,0 c 0,-5.523 -4.477,-10 -10,-10 -5.522,0 -10,4.477 -10,10 0,5.523 4.478,10 10,10 C -4.477,10 0,5.523 0,0",style:{fill:"#000000",fillOpacity:1,fillRule:"nonzero",stroke:"none"},id:"path2117"})}),(0,t.jsx)("g",{id:"g2119",transform:"translate(378.3437,435.1978)",children:(0,t.jsx)("path",{d:"M 0,0 V -86.025",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2121"})}),(0,t.jsx)("g",{id:"g2123",transform:"translate(147.0088,435.1978)",children:(0,t.jsx)("path",{d:"M 0,0 V -86.025",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2125"})}),(0,t.jsx)("g",{id:"g2127",transform:"translate(324.5977,392.6606)",children:(0,t.jsx)("path",{d:"m 0,0 c -11.548,-5.472 -31.677,-4.554 -36.02
11,10.17 -2.893,9.809 4.375,19.19 13.49,21.927 C -3.647,37.769 6.784,20.553 6.937,3.812 7.164,-20.914 -11.739,-31.806 -33.76,-33.939 c -12.856,-1.246 -25.615,3.071 -35.511,10.891",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2129"})}),(0,t.jsx)("g",{id:"g2131",transform:"translate(245.7812,411.5166)",children:(0,t.jsx)("path",{d:"m 0,0 c 0.896,-4.418 1.791,-8.836 2.687,-13.254 1.674,-8.267 3.358,-16.634 2.976,-25.06 -0.383,-8.425 -3.051,-17.051 -8.99,-23.04 -10.059,-10.143 -34.873,-13.691 -47.489,-6.72 -13.32,7.36 -15.865,24.976 -3.805,34.791",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2133"})}),(0,t.jsx)("g",{id:"g2135",transform:"translate(151.1191,501.5239)",children:(0,t.jsx)("path",{d:"m 0,0 c -10.49,2.404 -20.33,-7.28 -15.954,-18.577 3.885,-10.032 16.015,-10.943 25.196,-10.289 0,0 -14.009,-7.289 -26.705,-12.782",style:{fill:"none",stroke:"#000000",strokeWidth:15,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10,strokeDasharray:"none",strokeOpacity:1},id:"path2137"})})]})})]})]})},2),(0,t.jsx)("i",{children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"Capa_1",x:"0px",y:"0px",viewBox:"0 0 512 512",xmlSpace:"preserve",width:"512",height:"512",children:(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},d:"\n		M256,68.904c11.785-13.351,29.016-21.77,48.2-21.77c35.467,0,64.267,28.792,64.267,64.267C368.467,175.667,256,223.867,256,223.867\n		s-112.467-48.2-112.467-112.467c0-35.475,28.799-64.267,64.267-64.267C226.984,47.133,244.215,55.552,256,68.904z"}),(0,t.jsx)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:"448.8",y1:"15",x2:"416.667",y2:"31.067"}),(0,t.jsx)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:"63.2",y1:"15",x2:"95.333",y2:"31.067"}),(0,t.jsx)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:"448.8",y1:"223.867",x2:"416.667",y2:"207.8"}),(0,t.jsx)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:"63.2",y1:"223.867",x2:"95.333",y2:"207.8"}),(0,t.jsx)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:"464.867",y1:"119.433",x2:"432.733",y2:"119.433"}),(0,t.jsx)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:"368.467",y1:"432.733",x2:"336.333",y2:"432.733"}),(0,t.jsx)("line",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},x1:"47.133",y1:"119.433",x2:"79.267",y2:"119.433"}),(0,t.jsx)("rect",{x:"79.267",y:"352.4",style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},width:"353.467",height:"144.6"}),(0,t.jsx)("polygon",{style:{fill:"none",stroke:"#000000",strokeWidth:30,strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:10},points:"\n		432.733,288.133 79.267,288.133 15,352.4 497,352.4 	"})]})})},3)];var ei=e.i(567067);let er=()=>{let{gridCardData:e}=(0,n.useSelector)(ei.getGridCardStates),i=(0,n.useDispatch)();return(0,s.useEffect)(()=>{i((0,ei.fetchGridCardData)())},[i]),(0,t.jsx)("div",{className:`our-mission-vision ${e?.backgroundImage?.data?.attributes?.url?"bg-ash":""}`,style:e?.backgroundImage?.data?.attributes?.url&&{backgroundImage:`url(https://api.hicny.org${e?.backgroundImage?.data?.attributes?.url})`},children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"heading",children:[(0,t.jsx)("img",{style:{width:"50px"},src:"/assets/img/hic-icon-masjid-blue.png",alt:"Hic Masjid Icon"}),(0,t.jsx)("h2",{children:e?.title})]}),(0,t.jsx)("div",{className:"container mt-3",children:(0,t.jsx)("div",{className:"row",children:e?.card?.map(({title:e,description:s,card_image:n},i)=>(0,t.jsx)("div",{className:"col-lg-4 col-md-12",children:(0,t.jsxs)("div",{className:"community hoverimg",children:[(0,t.jsx)("figure",{className:"community-card-image",children:(0,t.jsx)("img",{src:`https://api.hicny.org${n?.data?.attributes?.url}`,alt:e})}),(0,t.jsxs)("div",{className:"community-text",children:[(0,t.jsx)("div",{children:en[i]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"mt-3",children:e}),(0,t.jsx)("div",{className:"rich-text",children:s&&(0,t.jsx)(et.BlocksRenderer,{content:s})})]})]})]})},e+i))})})]})})},ea=({children:e})=>
1{let[n,i]=(0,s.useState)(0);return(0,t.jsx)(q,{activeIndex:n,onSelect:(e,t)=>{i(e)},controls:!1,indicators:!0,touch:!0,slide:!0,children:e})},el=({componentData:e,noticeBoard:s})=>{let n=({href:e,children:s})=>e?(0,t.jsx)(a.default,{href:e,target:"_blank",children:s}):s;return s&&s?.length>0?(0,t.jsx)("section",{className:`gap no-bottom notice-slider ${e?.backgroundImage?.url?"bg-ash":""}`,style:e?.backgroundImage?.url&&{backgroundImage:`url(https://api.hicny.org${e?.backgroundImage?.url})`},children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"heading",children:[(0,t.jsx)("img",{style:{width:"50px"},src:"/assets/img/hic-icon-masjid-blue.png",alt:"Hic Masjid Icon"}),(0,t.jsx)("p",{children:e?.subTitle}),(0,t.jsx)("h2",{children:e?.title})]}),(0,t.jsx)(ea,{children:s?.map((s,i)=>(0,t.jsx)(q.Item,{interval:2e3,children:(0,t.jsx)(n,{href:s?.link||"",children:(0,t.jsx)("div",{className:"ayat item notice",children:(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:e?.image?.[0]?.url?"col-lg-6 text-end":"d-none",children:s?.image?.[0]?.url&&(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)("div",{className:"mx-auto notice-img",children:(0,t.jsx)("img",{className:"h-100",src:`https://api.hicny.org${s?.image?.[0]?.url}`,alt:"ayat"})})})}),(0,t.jsxs)("div",{className:`${e?.image?.[0]?.url?"col-lg-6":"col-lg-12"} d-flex flex-column justify-content-center align-items-center`,children:[(0,t.jsx)("h4",{children:s?.title}),s?.message&&(0,t.jsx)("h5",{className:"text-white",children:s?.message})]})]})})})},i))})]})}):""};var ec=e.i(622867),eo=e.i(979294);let ed={asr:"PM",dhuhr:"PM",fajr:"AM",isha:"PM",maghrib:"PM",sunrise:"AM"},eu=["fajr","sunrise","dhuhr","asr","maghrib","isha"];function eh({iqamahTimes:e}){let[i,r]=(0,s.useState)(0),[a,l]=(0,s.useState)(""),[c,o]=(0,s.useState)(""),[d,u]=(0,s.useState)({startDate:"",endDate:"",fajr:"",dhuhr:"",asr:"",magrib:5,isha:""}),{prayerTimesList:h}=(0,n.useSelector)(ec.getPrayerTimeStates),m=(0,n.useDispatch)();(0,s.useEffect)(()=>{m((0,ec.calculatePrayerTime)())},[m]),(0,s.useEffect)(()=>{if(h?.length>0){var t=h[i]?.date;let s=new Date(t).toString().split(" ")[1]+" "+new Date(t).toString().split(" ")[2];if(e){let t=e.find(e=>{let t=new Date(s).getFullYear(),n=new Date(e.startDate),i=new Date(e.endDate),r=6e4*n.getTimezoneOffset(),a=6e4*(n=new Date(n.getTime()+r)).getTimezoneOffset();return i=new Date(i.getTime()+a),n.setFullYear(t),i.setFullYear(t),new Date(s)>=new Date(n)&&new Date(s)<=new Date(i)});t&&u(t)}}},[h,i,e]),(0,s.useEffect)(()=>{(()=>{for(let e=0;e<6;e++){let t,s=eu[e];t=5===e?eu[0]:eu[e+1];let n=h[0],i=n?.[s],r=n?.[t];if(r&&function(e,t,s){let n=new Date,i=n.getHours(),r=n.getMinutes();"fajr"===s&&i>12&&(e="11:59",t="PM");let[a,l]=e.split(":").map(e=>Number(e));return 60*i+r<=60*(a="AM"===t?a:12===a?12:(a+12)%24)+(l=Number(l))}(r,ed[t],t)){if("sunrise"===t){let e=new Date,s=e.getHours(),r=e.getMinutes(),[a,l]=i.split(":").map(e=>Number(e));if(60*s+r<=60*(a="AM"===ed[t]?a:12===a?12:(a+12)%24)+(l=Number(l))){o(`${n?.isha}-PM`);break}}o(`${i}-${ed[s]}`);break}}})()},[h]);let x=(e,t)=>{let s=h[i]?.[e];return c===`${s}-${t}`&&0===i};return(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"salat-time-nav-container d-flex justify-content-between align-items-center pt-3 pb-0 pb-lg-3",children:[(0,t.jsx)("button",{color:"primary",onClick:()=>{r(e=>Math.max(e-1,0))},disabled:0===i,className:"btn salat-time-nav",children:(0,t.jsx)(eo.GoChevronLeft,{className:"salat-time-icon"})}),(0,t.jsx)("h5",{className:"text-center mx-3",children:h[i]?.date}),(0,t.jsx)("button",{color:"primary",onClick:()=>{r(e=>Math.min(e+1,h?.length-1))},disabled:h?.length-1===i,className:"btn salat-time-nav",children:(0,t.jsx)(eo.GoChevronRight,{className:"salat-time-icon"})})]}),(0,t.jsxs)("div",{className:"namaz-timing",children:[(0,t.jsxs)("div",{className:`namaz-time ${x("fajr","AM")?"next":""}`,children:[(0,t.jsx)("img",{src:"/assets/img/namaz-time-icon-1.png",alt:"icon"}),(0,t.jsx)("h4",{children:"Fajr"}),(0,t.jsxs)("h5",{children:[h[i]?.fajr," AM",d?.fajr?(0,t.jsxs)("span",{children:["Iqamah: ",d?.fajr]}):""]})]}),(0,t.jsxs)("div",{className:`namaz-time ${x("sunrise","AM")?"next":""}`,children:[(0,t.jsx)("img",{src:"/assets/img/namaz-time-icon-1.png",alt:"icon"}),(0,t.jsx)("h4",{children:"Sunrise"}),(0,t.jsxs)("h5",{children:[h[i]?.sunrise," AM"]}),d?.fajr?(0,t.jsxs)("span",{className:"invisible",children:["Iqamah: ",d?.fajr]}):""]}),(0,t.jsxs)("div",{className:`namaz-time ${x("dhuhr","PM")?"next":""}`,children:[(0,t.jsx)("img",{src:"/assets/img/namaz-time-icon-2.png",alt:"icon"}),(0,t.jsx)("h4",{children:"Dhuhr"}),(0,t.jsxs)("h5",{children:[h[i]?.dhuhr," ",(e=>{if(e){var t=parseInt(e.split(":")[0]);return 11==t||10==t?"AM":"PM"}})(h[i]?.dhuhr),d?.dhuhr?(0,t.jsxs)("span",{children:["Iqamah: ",d?.dhuhr]}):""]})]}),(0,t.jsxs)("div",{className:`namaz-time ${x("asr","PM")?"next":""}`,children:[(0,t.jsx)("img",{src:"/assets/img/namaz-time-icon-3.png",alt:"icon"}),(0,t.jsx)("h4",{children:"Asr"}),d?.asr?(0,t.jsxs)("h5",{children:[h[i]?.asr," PM",(0,t.jsxs)("span",{children:["Iqamah: ",d?.asr]})]}):""]}),(0,t.jsxs)("div",{className:`namaz-time ${x("maghrib","PM")?"next":""}`,children:[(0,t.jsx)("img",{src:"/assets/img/namaz-time-icon-4.png",alt:"icon"}),(0,t.jsx)("h4",{children:"Magrib"}),(0,t.jsxs)("h5",{children:[h[i]?.maghrib," PM",(0,t.jsxs)("span",{children:["Iqamah:"," ",((e,t)=>
1{if(e){var s=e.split(":"),n=parseInt(s[0]),i=parseInt(s[1]),r=new Date;r.setHours(n),r.setMinutes(i),r.setMinutes(r.getMinutes()+t);var a=r.getHours(),l=r.getMinutes();return(a<10?"0":"")+a+":"+(l<10?"0":"")+l+" PM"}return null})(h[i]?.maghrib,d?.magrib)]})]})]}),(0,t.jsxs)("div",{className:`namaz-time ${x("isha","PM")?"next":""}`,children:[(0,t.jsx)("img",{src:"/assets/img/namaz-time-icon-5.png",alt:"icon"}),(0,t.jsx)("h4",{children:"Isha"}),d?.isha?(0,t.jsxs)("h5",{children:[h[i]?.isha," PM",(0,t.jsxs)("span",{children:["Iqamah: ",d?.isha]})]}):""]})]})]})}let em=({componentData:e})=>(0,t.jsx)("section",{className:`listen-holy mt-5${e?.backgroundImage?.url?" bg-ash":""}`,style:e?.backgroundImage?.url&&{backgroundImage:`url(https://api.hicny.org${e?.backgroundImage?.url})`},children:(0,t.jsx)("div",{className:"gap no-bottom",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"col-lg-6",children:(0,t.jsx)("div",{className:"heading support-us-section two text-white gap-2 rich-text",children:e?.description&&(0,t.jsx)(et.BlocksRenderer,{content:e?.description})})}),(0,t.jsx)("div",{className:"offset-lg-1 col-lg-5",children:(0,t.jsxs)("div",{className:"support-us",children:[(0,t.jsx)("h4",{children:e?.title}),(0,t.jsx)("p",{className:"text-white mb-3",children:e?.subTitle}),(0,t.jsx)(a.default,{href:e?.button?.link||"#",className:"btn",children:e?.button?.title})]})})]})})})}),ex=({componentData:e})=>(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:`join-our-community ${e?.backgroundImage?.url?"bg-ash":""}`,style:e?.backgroundImage?.url&&{backgroundImage:`url(https://api.hicny.org${e?.backgroundImage?.url})`},children:[e?.title&&(0,t.jsx)("h2",{children:e?.title}),e?.subTitle&&(0,t.jsx)("h5",{className:"mb-2",children:e?.subTitle}),(0,t.jsx)("div",{className:"rich-text",children:e?.description&&(0,t.jsx)(et.BlocksRenderer,{content:e?.description})}),(0,t.jsx)("div",{children:(0,t.jsx)(a.default,{href:e?.button?.link||"#",className:"btn mt-3",children:e?.button?.title})}),(0,t.jsx)("div",{className:"join-our-img",children:e?.image?.map((e,s)=>(0,t.jsx)(X.default,{src:`https://api.hicny.org${e.url}`,alt:"img",width:100,height:100},s))})]})});var eg=e.i(369576);e.s(["default",0,({componentsData:e})=>{let{iqamahTimes:s,noticeBoard:n}=(0,eg.useGlobal)(),i=e?.find(e=>"jumuah-timings"===e.slug),r=e?.find(e=>"support-us"===e.slug),a=e?.find(e=>"serving-the-community"===e.slug),c=e?.find(e=>"notice"===e.slug);return(0,t.jsxs)("div",{children:[(0,t.jsx)(Y,{}),(0,t.jsxs)("div",{className:"home-container",children:[(0,t.jsx)("section",{className:"gap no-top",children:(0,t.jsx)(eh,{iqamahTimes:s??[]})}),(0,t.jsx)("section",{className:` gap jumua-time-section position-relative ${i?.backgroundImage?.url?"bg-ash":""}`,style:i?.backgroundImage?.url&&{backgroundImage:`url(https://api.hicny.org${i?.backgroundImage?.url})`},children:(0,t.jsx)(Q,{componentData:i})}),(0,t.jsx)("section",{className:"gap",children:(0,t.jsx)(el,{componentData:c,noticeBoard:n??[]})}),(0,t.jsx)("section",{className:"gap",children:(0,t.jsx)(es,{})}),(0,t.jsx)("section",{className:" gap no-bottom",children:(0,t.jsx)(l,{})}),(0,t.jsx)(em,{componentData:r}),(0,t.jsx)("section",{className:"gap",children:(0,t.jsx)(ex,{componentData:a})}),(0,t.jsx)("section",{className:" gap position-relative",children:(0,t.jsx)(er,{})})]})]})}],764546)}]);

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.