1import{z as f,m as h,j as t,T as o,q as p,s as z,X as w,aF as k,Z as M,v as I,w as N,r as g,u as B,M as b,ag as C,W,Q as R,C as T,G as u,F as y,H as G,o as O,g as A,aA as _,b as P}from"./index-HhrccUX7.js";import{d as D}from"./PlayArrowRounded-s1KcCogD.js";import{d as $}from"./LockOutlined-BEfCt8BR.js";const H=z(M)(({theme:e})=>({"& .MuiDialogContent-root":{padding:e.spacing(0),borderTop:"none",borderBottom:"none",border:"none"},"& .MuiPaper-root":{margin:"50px 0",boxShadow:"none",borderRadius:e.shape.borderRadius,background:"transparent",overflowY:"unset"},"& .MuiBackdrop-root":{background:"rgba(111, 126, 140, 0.2)",backdropFilter:"blur(4px)"},"& .MuiTypography-root":{padding:e.spacing(0)},"& .MuiButtonBase-root":{border:"none",color:"#fff",background:"transparent",boxShadow:"none",height:"30px",width:"30px",borderRadius:e.shape.borderRadius5,minWidth:"unset",position:"absolute",right:-25,top:-15,opacity:1,"& .MuiSvgIcon-root":{fontSize:e.typography.h1.fontSize},"&:hover":{background:"transparent",color:e.palette.action.hover,boxShadow:"none"}},"& .content":{"& .title":{fontSize:e.typography.h2.fontSize,fontWeight:e.typography.fontWeightBold,color:e.palette.text.formLabelColor,marginBottom:"10px"},"& .description":{fontSize:e.typography.h3.fontSize,color:e.palette.text.descriptionColor,lineHeight:2,"& p":{margin:0}}},"& img":{width:"100%",objectFit:"cover",borderRadius:"15px 15px 0 0"},"@media(max-width: 600px)":{"& .MuiPaper-root":{maxWidth:"350px"},"& iframe":{width:"350px",height:"350px"}},"@media(min-width: 768px)":{"& .MuiPaper-root":{maxWidth:"700px"},"& iframe":{width:"700px",height:"500px"}},"@media(min-width: 992px)":{"& .MuiPaper-root":{maxWidth:"900px"},"& iframe":{width:"900px",height:"500px"}}})),L=h(e=>({videoBlockBg:{position:"relative",zIndex:2},videoBlockMain:{"& .content-holder":{"& .player-text":{color:e.palette.text.formLabelColor,letterSpacing:"0.5px",marginRight:e.spacing(1),fontWeight:e.typography.fontWeightMedium},"& .MuiButton-outlinedPrimary":{border:"none",color:e.palette.text.formLabelColor,background:e.palette.background.cardBgColor,height:"50px",width:"50px",borderRadius:e.shape.borderRadius5,display:"grid",placeItems:"center",minWidth:"unset",margin:"0 auto",boxShadow:e.shadows[4],transition:e.transitions.easing.easeOut,position:"relative",overflow:"hidden",zIndex:1,"&::before":{content:"''",zIndex:-1,position:"absolute",top:"50%",left:"50%",width:"1em",height:"1em",borderRadius:e.shape.borderRadius5,background:e.palette.secondary.main,transformOrigin:"center",transform:"translate3d(-50%, -50%, 0) scale3d(0, 0, 0)",transition:"transform .3s ease-out"},"& .MuiSvgIcon-root":{fontSize:e.typography.h1.fontSize},"&:hover":{background:e.palette.action.hover,color:"#fff","&::before":{transform:"translate3d(-50%, -50%, 0) scale3d(15, 15, 15)"}}}}}})),q=({video:e})=>{const[n,a]=f.useState(!1),s=L(),d=()=>{a(!0)},c=()=>{a(!1)},i=e&&e.map((r,l)=>t.jsx(f.Fragment,{children:r&&r.mediaChilds.map((S,x)=>{if(x>0)return;const j=S.video.replace("watch?v=","embed/").replace("youtu.be/","youtube.com/embed/");return t.jsx(o,{component:"div",children:t.jsx("iframe",{width:"900",height:"500",src:j,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})},x+"_")})},l+"_"-"___"));return t.jsx(t.Fragment,{children:e?t.jsx("section",{className:`${s.videoBlockBg}`,children:t.jsx(o,{component:"div",className:`${s.videoBlockMain}`,children:t.jsx(o,{component:"div",className:"content-holder",children:t.jsxs(o,{component:"div",className:"popup-bg",display:"inline-flex",alignItems:"center",children:[t.jsx("span",{className:"player-text",children:"Play Video"}),t.jsx(p,{variant:"outlined",onClick:d,children:t.jsx(D,{})}),t.jsxs(H,{onClose:c,"aria-labelledby":"customized-dialog-title",open:n,children:[t.jsx(w,{dividers:!0,children:i}),t.jsx(p,{variant:"contained",color:"primary",onClick:c,children:t.jsx(k,{})})]})]})})})}):null})},F=h(e=>({versionBg:{position:"absolute",right:"0",top:"50%",transform:"translateY(-50%) rotate(270deg)",transformOrigin:"0 0",zIndex:"2"},versionMain:{"& .content-holder":{"& .version-title":{letterSpacing:"1px",color:e.palette.mode==="dark"?"#afb1b3":"#7c789d",fontSize:e.typography.h3.fontSize,fontWeight:e.typography.fontWeightSemiBold,opacity:.5}}}})),U=({version:e})=>{const n=F();return t.jsx("section",{className:`${n.versionBg}`,children:t.jsx("div",{className:`${n.versionMain}`,children:t.jsx("div",{className:"content-holder",children:t.jsx(o,{variant:"h2",component:"h2",className:"version-title",children:e})})})})},E="/assets/bg-shape-GreHPOzg.png",V="/assets/data-CpZgTxNU.png",Y="/assets/data2-DSjG-Y-V.png",Z="/assets/data3-BbZNcw6p.png",Q="/assets/banner-shape-BfgzHUBG.png",X="/assets/bg-shape2-DNtlYhOd.png";var m={},J=I;
1Object.defineProperty(m,"__esModule",{value:!0});var v=m.default=void 0,K=J(N()),ee=t;v=m.default=(0,K.default)((0,ee.jsx)("path",{d:"M22 5.18 10.59 16.6l-4.24-4.24 1.41-1.41 2.83 2.83 10-10zM12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8c1.57 0 3.04.46 4.28 1.25l1.45-1.45C16.1 2.67 14.13 2 12 2 6.48 2 2 6.48 2 12s4.48 10 10 10c1.73 0 3.36-.44 4.78-1.22l-1.5-1.5c-1 .46-2.11.72-3.28.72m7-5h-3v2h3v3h2v-3h3v-2h-3v-3h-2z"}),"AddTaskOutlined");const te=h(e=>({root:{position:"relative",overflow:"hidden","&::before":{content:'""',position:"absolute",top:0,left:0,background:`url('${e.palette.mode==="dark"?X:E}')`,height:"100%",width:"100%",backgroundSize:"auto",backgroundPosition:"top left ",backgroundRepeat:"no-repeat"},"&::after":{content:'""',position:"absolute",top:0,right:0,background:`url('${Q}')`,height:"100%",width:"100%",backgroundSize:"auto",backgroundPosition:"top right ",backgroundRepeat:"no-repeat",zIndex:-1},"& .data-layer":{position:"absolute",top:"23%",left:"44%","& img":{height:"auto"}},"& .data-layer2":{position:"absolute",top:"90%",left:"30%","& img":{height:"auto"}},"& .data-layer3":{position:"absolute",top:"38%",left:"3%","& img":{height:"auto"}},"& .home-slider-11":{position:"relative","& .MuiGrid-root":{"& .MuiGrid-item":{width:"100%","& .content":{"& .sub-title":{color:e.palette.text.homeSubTitleColor,fontWeight:e.typography.fontWeightMedium},"& .title":{color:e.palette.text.homeTitleColor,fontWeight:e.typography.fontWeightBold,marginBottom:e.spacing(3),lineHeight:1.3},"& .welcome":{color:e.palette.text.textBrandColor},"& .description":{color:e.palette.text.homeTitleColor,marginBottom:e.spacing(6),lineHeight:2,fontWeight:e.typography.fontWeightMedium},"& .buttons":{display:"inline-block",position:"relative",zIndex:99,"& .apply-button-holder":{alignItems:"center",marginBottom:e.spacing(6),"& .request-demo":{position:"relative",border:e.palette.mode==="light"?"none":"1px solid #e6e6e6",boxShadow:e.shadows[1],overflow:"hidden",padding:"10px 15px",transition:e.transitions.easing.easeOut,fontWeight:e.typography.fontWeightMedium,zIndex:1,color:e.palette.text.formLabelColor,minWidth:"192px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"30px","&::before":{content:"''",zIndex:-1,position:"absolute",top:"50%",left:"50%",width:"1em",height:"1em",borderRadius:e.shape.borderRadius5,background:e.palette.secondary.main,transformOrigin:"center",transform:"translate3d(-50%, -50%, 0) scale3d(0, 0, 0)",transition:"transform .3s ease-out"},"&:hover":{color:"#fff",border:e.palette.mode==="light"?"none":"1px solid #e6e6e6",boxShadow:e.shadows[2],"&::before":{transform:"translate3d(-50%, -50%, 0) scale3d(15, 15, 15)"}}}}}},"& .img-holder":{width:"100%",margin:"0 auto","& .bg-stretch":{height:"100%",width:"100%",backgroundSize:"contain"},"& .anniversary-image":{transition:"all 1.5s ease-out",animation:"$scaleUp 1.5s linear alternate-reverse"}}}}},[e.breakpoints.down("sm")]:{marginTop:"51px",padding:e.spacing(10,0),"& .home-slider-11":{"& .MuiGrid-root":{"& .MuiGrid-item":{"& .content":{textAlign:"center","& .sub-title":{fontSize:e.typography.h3.fontSize},"& .title":{fontSize:"48px"},"& .description":{fontSize:e.typography.h4.fontSize},"& .video-button":{textAlign:"center"}},"& .img-holder":{height:"380px"}}}}},[e.breakpoints.between("sm","md")]:{marginTop:"51px",padding:e.spacing(10,0),"& .home-slider-11":{"& .MuiGrid-root":{"& .MuiGrid-item":{"& .content":{textAlign:"center","& .sub-title":{fontSize:e.typography.h3.fontSize},"& .title":{fontSize:"48px"},"& .description":{fontSize:e.typography.h4.fontSize},"& .video-button":{textAlign:"center"}},"& .img-holder":{height:"550px"}}}}},[e.breakpoints.up("lg")]:{display:"flex",alignItems:"center",height:"115vh",marginTop:"0",padding:e.spacing(0),"& .home-slider-11":{"& .MuiGrid-root":{alignItems:"center","& .MuiGrid-item":{"& .content":{textAlign:"left","& .sub-title":{fontSize:e.typography.h3.fontSize},"& .title":{fontSize:"48px"},"& .description":{fontSize:e.typography.h4.fontSize},"& .video-button":{textAlign:"center"}},"& .img-holder":{height:"520px"}}}}},"@media (min-width: 1920px)":{height:"calc(100vh + 77px)",display:"flex",alignItems:"center","& .home-slider-11":{maxWidth:"1700px","& .MuiGrid-root":{"& .MuiGrid-item":{"& .content":{paddingTop:"0",textAlign:"left","& .sub-title":{fontSize:"22px"},"& .title":{fontSize:"90px"},"& .description":{fontSize:"22px"},"& .video-button":{textAlign:"center"}},"& .img-holder":{height:"600px"}}}}},"@media (min-width: 2550px)":{"& .home-slider-11":{maxWidth:"2350px","& .MuiGrid-root":{"& .MuiGrid-item":{"& .content":{textAlign:"left","& .sub-title":{fontSize:"22px"},"& .title":{fontSize:"90px"},"& .description":{fontSize:"22px"},"& .video-button":{textAlign:"center"}},"& .img-holder":{height:"900px"}}}}}},"@keyframes scaleUp":{"0%":{transform:"scale(1) rotate(0deg)",opacity:1},"100%":{transform:"scale(0) rotate(-360deg)",opacity:0}
1}})),oe="https://"+(_()==="demo.edigitalnepal.com"?"demo.":"")+"edigitalnepal.com/sms/api/version/current",re=()=>{const[e,n]=g.useState(),{posts:a}=B(b.SLIDER),{video:s}=C(b.VIDEO),{profile:d}=g.useContext(W),c=te();return g.useEffect(()=>{R.get(oe).then(i=>{var r;n((r=i==null?void 0:i.data)==null?void 0:r.body)}).catch(i=>{console.log(i)})},[]),a&&a.length?t.jsxs("section",{className:c.root,children:[t.jsx(U,{version:e}),t.jsx(o,{component:"div",className:"data-layer",children:t.jsx("img",{src:V,alt:"img",className:"img img-fluid"})}),t.jsx(o,{component:"div",className:"data-layer2",children:t.jsx("img",{src:Y,alt:"img",className:"img img-fluid"})}),t.jsx(o,{component:"div",className:"data-layer3",children:t.jsx("img",{src:Z,alt:"img",className:"img img-fluid"})}),t.jsx(T,{className:"home-slider-11",style:{zIndex:2},children:a.map((i,r)=>{const l=i.title.split(" ");return t.jsxs(u,{container:!0,spacing:5,justifyContent:"space-between",children:[t.jsx(u,{item:!0,sm:12,md:12,lg:6,children:t.jsx(y,{triggerOnce:!0,direction:"left",opposite:!0,duration:2e3,children:t.jsxs(o,{component:"div",className:"content",children:[t.jsx(o,{variant:"h4",className:"sub-title",children:i.summary}),t.jsxs(o,{varinat:"h1",className:"title",children:[t.jsx(o,{variant:"span",className:"welcome",children:l[0]}),"Â ",l[1]+" "+l[2]]}),t.jsx(o,{component:"div",className:"description",children:G(i.description)}),t.jsxs(o,{component:"div",className:"buttons",children:[t.jsxs(o,{component:"div",className:"apply-button-holder",display:"flex",flexWrap:"wrap",gap:4,justifyContent:"center",children:[t.jsx(p,{component:O,to:"/request-demo",className:"request-demo",children:t.jsxs(o,{varinant:"span",style:{lineHeight:"0",display:"flex",alignItems:"center"},children:[t.jsx(v,{sx:{mr:1,fontSize:"18px"}}),"Request a Demo"]})}),d.onlineApplicationUrl?t.jsx(p,{component:"a",href:d.onlineApplicationUrl,className:"request-demo",target:"_blank",rel:"noopener noreferrer",children:t.jsxs(o,{variant:"span",style:{lineHeight:"0",display:"flex",alignItems:"center"},children:[t.jsx($,{sx:{mr:1,fontSize:"18px"}}),"Demo Login"]})}):null]}),s?t.jsx(o,{component:"div",className:"video-button",children:t.jsx(q,{video:s})}):null]})]})})}),t.jsx(u,{item:!0,sm:12,md:12,lg:6,children:t.jsx(y,{triggerOnce:!0,direction:"right",opposite:!0,duration:2e3,children:t.jsx(o,{component:"div",className:"img-holder",children:t.jsx(o,{component:"div",className:"bg-stretch background-image anniversary-image",style:{backgroundImage:`url('${A(i.image,P)}')`}})})})})]},i.id)})})]}):null};export{re as default};
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.