1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[214],{98084:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/gallery",function(){return n(84904)}])},78300:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var a=n(85893),r=n(4581),i=n(8348),s=n(65091),l=n(67294);function c({isFetching:e,dataLength:t,hideIfNoData:n,fullPage:c,actionButtonName:o,actionButtonCallback:d,noDataText:m}){let u=(0,a.jsx)(s.Z,{rev:void 0,style:{fontSize:48,color:"#C5161D"},spin:!0});return(0,a.jsxs)(l.Fragment,{children:[e&&(0,a.jsx)("div",{id:"SpinLoading",style:c?{minHeight:"75vh"}:{minHeight:"200px"},className:"d-flex flex-column justify-content-center my-5",children:(0,a.jsx)(r.Z,{indicator:u})}),!e&&!t&&!n&&(0,a.jsxs)("div",{style:c?{minHeight:"75vh"}:{minHeight:"200px"},className:"d-flex flex-column justify-content-center my-5",children:[(0,a.jsx)(i.Z,{description:m||"No data found",className:`${o?"my-3 py-2":"my-5 py-5"}`}),o&&(0,a.jsx)("button",{className:"btn btn-link text-danger",onClick:()=>d&&d(),children:(0,a.jsx)("p",{style:{fontSize:"15px"},children:o})})]})]})}},31031:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m},getStaticProps:function(){return u}});var a=n(85893),r=n(9008),i=n.n(r),s=n(11163),l=n(88767),c=n(20869),o=n(32837),d=n(24594);function m(e){let t=(0,s.useRouter)(),{data:n}=(0,c.RX)(),r=`${o.y1}/assets/images/placeholder-darker.webp`,l="np"===(t.locale||(t.asPath?.startsWith("/np")?"np":"en")),{title:m,metaTitle:u,metaDescription:p,metaImage:h,metaKeywords:x,structuredData:g,latestUpdatedDate:f,robotsContent:j}=e,y=g&&g?.replace(/<[^>]+>/g,""),w=p?.length>260?p?.substring(0,260).trimEnd()+"...":p||"",v=`${o.y1}${t.locales?.includes("en")?t.asPath.replace(/^\/np(?=\/|$)/,""):t.asPath}`,b=`${o.y1}/np${t.asPath.replace(/^\/np(?=\/|$)/,"")}`,N=l?b:v;return(0,a.jsxs)(i(),{children:[(0,a.jsx)("title",{children:u||m||"Global IME Bank"}),(0,a.jsx)("meta",{name:"title",content:u||m||"Global IME Bank"}),(0,a.jsx)("meta",{name:"description",content:(0,d.ju)(w)}),!(0,d.xb)(f)&&(0,a.jsx)("meta",{name:"latestUpdatedDate",content:f}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("meta",{httpEquiv:"content-language",content:l?"ne":"en"}),l&&(0,a.jsx)("meta",{name:"google",content:"notranslate"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:N}),(0,a.jsx)("meta",{property:"og:image",content:h||r},"og-image"),(0,a.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,a.jsx)("meta",{property:"og:image:height",content:"630"}),(0,a.jsx)("meta",{property:"og:title",content:u||m||"Global IME Bank"},"og-title"),(0,a.jsx)("meta",{property:"og:description",content:(0,d.ju)(w)},"og-description"),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@GlobalIMEBank"}),(0,a.jsx)("meta",{name:"twitter:title",content:u||m||"Global IME Bank"}),(0,a.jsx)("meta",{name:"twitter:description",content:(0,d.ju)(w)}),(0,a.jsx)("meta",{name:"twitter:image",content:h||r},"twitter-image"),(0,a.jsx)("link",{rel:"shortcut icon",href:(0,d.wA)({settings:n,key:"favicon",isImageUrl:!0,isFavicon:!0})}),(0,a.jsx)("link",{rel:"canonical",href:N}),(0,a.jsx)("link",{rel:"alternate",hrefLang:"en",href:v}),(0,a.jsx)("link",{rel:"alternate",hrefLang:"ne",href:b}),(0,a.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:v}),(0,a.jsx)("meta",{name:"robots",content:j||"follow, index, max-snippet:220, max-video-preview:24, max-image-preview:standard"}),!(0,d.xb)(y)&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:"string"==typeof y?y.replaceAll(" ","").trim():JSON.stringify(y)}}),(0,a.jsx)("link",{rel:"preconnect",href:`${o.sQ}`})]})}async function u(){let e=new l.QueryClient;return await e.prefetchQuery([""]),{props:{dehydratedState:(0,l.dehydrate)(e)},revalidate:300}}},50450:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var a=n(85893),r=n(67294);function i({show:e,children:t}){return e?(0,a.jsx)(r.Fragment,{children:t}):(0,a.jsx)(r.Fragment,{})}},57970:function(e,t,n){"use strict";n.d(t,{F:function(){return a.Z}});var a=n(94178)},94178:function(e,t,n){"use strict";var a=n(85893),r=n(25935),i=n(49511);t.Z=({title:e,subTitle:t,description:n,node:s,imageUrl:l,className:c,style:o={}})=>((0,i.n)(),(0,a.jsx)("div",{className:`productBannerWrapper ${c||""}`,style:{background:`url(${l||"/assets/images/breadcrumb-bg.webp"})`,backgroundSize:"contain",backgroundRepeat:"round",...o}
1,children:(0,a.jsxs)("div",{className:"productBanner-meta",children:[t&&(0,a.jsx)("h6",{className:"subtitle",children:null!==t?(0,r.ZP)(`${t}`):null}),e&&(0,a.jsx)("h1",{className:"title",children:e}),n&&(0,a.jsx)("p",{className:"description",children:null!==n?(0,r.ZP)(`${n}`):null}),s]})}))},84904:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return D},default:function(){return E}});var a=n(85893),r=n(67294),i=n(46437),s=n(27484),l=n.n(s),c=n(25675),o=n.n(c),d=n(41664),m=n.n(d),u=n(57970),p=n(78300),h=n(31031),x=n(50450),g=n(88767),f=n(87066),j=n(32837);let y=j.ny+"/gallery/list",w=(j.ny,async()=>(await f.Z.get(y)).data),v=()=>(0,g.useQuery)("getGalleryKey",w);var b=n(79237),N=n(24594);let k={width:"100%",height:"100%"};var _=({metaData:e})=>{let{translate:t,localTranslate:n}=(0,b.qM)(),{data:s,isFetching:c}=v(),[d,g]=(0,r.useState)(9),f=(0,r.useMemo)(()=>s?.data?.album??[],[s]),j=(0,r.useMemo)(()=>f.slice(0,d),[f,d]),y=(0,r.useCallback)(()=>{g(e=>e+3)},[]);return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)(h.default,{title:e?.name||e?.nameNp?t({en:e?.name,np:e?.nameNp}):e?.metaTitle||"Gallery",metaTitle:e?.metaTitle||e?.metaTitleNP?t({en:e?.metaTitle,np:e?.metaTitleNP}):e?.name||"Gallery",metaImage:(0,N.hA)(e?.headerImage),metaDescription:e?.metaDescription||e?.metaDescriptionNP?t({en:e?.metaDescription,np:e?.metaDescriptionNP}):void 0,structuredData:e?.metaStructureData,latestUpdatedDate:s?.latestUpdatedDate}),(0,a.jsx)(u.F,{title:t({en:e?.name,np:e?.nameNp})||"Gallery",subTitle:t({en:e?.shortDescription,np:e?.shortDescriptionNp})||"",description:t({en:e?.description,np:e?.descriptionNp})||""}),(0,a.jsx)(x.Z,{show:!c&&!(0,N.xb)(f),children:(0,a.jsx)(r.Fragment,{children:(0,a.jsx)("div",{style:k,children:(0,a.jsx)("div",{className:"section-wrapper-inner container",children:(0,a.jsxs)("div",{className:"row",children:[j.map((e,n)=>(0,a.jsx)("div",{className:" col-lg-4 col-md-6 col-12 mb-3 mb-md-4",children:(0,a.jsx)(m(),{scroll:!1,href:(0,N.mn)(`/gallery/${e?.slug}`),children:(0,a.jsx)("div",{className:"gallery-image-card",children:(0,a.jsxs)("div",{className:"card w-100 overflow-hidden",children:[(0,a.jsx)(o(),{fill:!0,src:(0,N.hA)(e?.thumbImage),className:"img-fluid h-100",alt:e?.title,priority:0===n}),(0,a.jsxs)("div",{className:"d-flex flex-column justify-content-between card-img-overlay rounded-0 ps-3 pb-4 imgCard-info",children:[(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"badge text-bg-danger",children:l()(e?.date).format("DD.MM.YYYY")})}),(0,a.jsx)("div",{className:" ",children:(0,a.jsx)("h2",{className:"card-title",children:e?.title?.length>50?t({en:`${e?.title?.substring(0,50)}...`,np:`${e?.titleNp?.substring(0,50)}...`}):t({en:e?.title,np:e?.titleNp})})})]})]})})})},e?.id)),d<f.length&&(0,a.jsx)("div",{className:"text-center mt-4",children:(0,a.jsx)(i.ZP,{type:"primary",onClick:y,children:n("showMore")})})]})})})})}),(0,a.jsx)(p.default,{isFetching:c,dataLength:s?.data?.album?.length})]})},$=n(94928),D=!0;function E({metaData:e}){return(0,r.useEffect)(()=>{(0,$.q)()},[]),(0,a.jsx)(_,{metaData:e})}},94928:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var a=n(87066),r=n(32837);let i=async()=>{let e=localStorage.getItem("accessTokenCustomer"),t=window?.location?.href;if(t&&e)try{let n={headers:{Authorization:`Bearer ${e}`}};await a.Z.post(`${r.ny}/histories`,{history_url:t},n)}catch(e){console.error("error with history tracking")}}},49511:function(e,t,n){"use strict";n.d(t,{J:function(){return i},n:function(){return r}});var a=n(67294);let r=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,i=()=>{let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches);let n=e=>t(e.matches);return e.addEventListener("change",n),()=>e.removeEventListener("change",n)},[]),e}}},function(e){e.O(0,[5935,6437,1664,4581,5675,6265,9237,2888,9774,179],function(){return e(e.s=98084)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.