PageSourceSearch

https://www.aasaanwill.com/_app/immutable/nodes/11.16M1HxzC.js

js aasaanwill.com collected 2026-10-07 01:10:19 UTC 15,264 bytes, 8 lines download raw bytes

1import{s as We,d as Ce,o as xe,r as Ae,n as oe,f as re}from"../chunks/scheduler.LcxToUx3.js";import{S as $e,i as De,m as z,s as D,e as C,n as Y,f as V,c as S,a as E,o as X,d as h,p as Ve,q as b,r as J,g as R,h as w,k as N,l as j,u as Q,t as te,b as le,w as G,y as Se,z as Ie,j as Fe,v as ie}from"../chunks/index.ScZmj1ks.js";import{g as Me}from"../chunks/globals.0cDDIVm6.js";import{e as O,u as Ee,d as Te}from"../chunks/each.LeCYSuyu.js";import{M as Ne}from"../chunks/MetaInfo.NoA8OROH.js";import{I as ce}from"../chunks/Icon.bFyYKyEM.js";/* empty css                    */import{G as Re,f as je}from"../chunks/GoogleReviews.-st5CfVW.js";import{I as Le}from"../chunks/Iframe.QXLZCxsR.js";class fe{container;elementIdentifier;scrollLeft=0;scrollWidth=0;clientWidth=0;slidesCount=1;singleSlideWidthPercent;activeSlide=0;slides;perSlide=1;slideControls=[];constructor(e,t){this.container=e,this.elementIdentifier=t,this.scrollLeft=e.scrollLeft,this.scrollWidth=e.scrollWidth,this.clientWidth=e.clientWidth,this.slidesCount=Math.round(this.scrollWidth/this.clientWidth),this.singleSlideWidthPercent=100/this.slidesCount,this.slides=document.querySelectorAll(this.elementIdentifier),this.perSlide=Math.round(this.slides.length/this.slidesCount),this.addSlideControllers()}addSlideControllers(){this.slides.forEach((e,t)=>{t%this.perSlide===0?(this.slideControls.push({id:t,slide:e}),e.classList.add("snap-start")):e.classList.remove("snap-start")})}getActiveSlide(){const e=100*(this.container.scrollLeft/(this.scrollWidth-this.clientWidth));return this.activeSlide=Math.floor(e/this.singleSlideWidthPercent),this.activeSlide}scrollToSlide(e){this.container.scroll({left:e*this.clientWidth,behavior:"smooth"})}}const{document:se}=Me;function ue(i,e,t){const s=i.slice();return s[23]=e[t],s[25]=t,s}function de(i,e,t){const s=i.slice();return s[26]=e[t],s[25]=t,s}function he(i,e,t){const s=i.slice();return s[23]=e[t],s[25]=t,s}function me(i,e,t){const s=i.slice();return s[29]=e[t],s[25]=t,s}function ge(i,e,t){const s=i.slice();return s[29]=e[t],s[25]=t,s}function Pe(i){let e,t,s,a,r,l,n,c,m,M,v=i[9].length+"",f,I,g,T,W,L,F,P,x,H,U,A=O(i[9]),y=[];for(let o=0;o<A.length;o+=1)y[o]=_e(ge(i,A,o));const q=o=>j(y[o],1,1,()=>{y[o]=null});l=new ce({props:{src:"/icons/left-arrow-blue.svg",classes:"lg:rotate-90"}}),T=new ce({props:{src:"/icons/right-arrow-blue.svg",classes:"lg:rotate-90"}});let _=O(i[9]),p=[];for(let o=0;o<_.length;o+=1)p[o]=pe(me(i,_,o));let d=i[6]&&ve(i);return{c(){e=C("div"),t=C("ul");for(let o=0;o<y.length;o+=1)y[o].c();s=D(),a=C("div"),r=C("button"),z(l.$$.fragment),n=D(),c=C("p"),m=te(i[0]),M=te("/"),f=te(v),I=D(),g=C("button"),z(T.$$.fragment),W=D(),L=C("div"),F=C("ul");for(let o=0;o<p.length;o+=1)p[o].c();P=D(),d&&d.c(),this.h()},l(o){e=S(o,"DIV",{class:!0});var k=E(e);t=S(k,"UL",{class:!0});var u=E(t);for(let B=0;B<y.length;B+=1)y[B].l(u);u.forEach(h),s=V(k),a=S(k,"DIV",{class:!0});var $=E(a);r=S($,"BUTTON",{});var K=E(r);Y(l.$$.fragment,K),K.forEach(h),n=V($),c=S($,"P",{class:!0});var Z=E(c);m=le(Z,i[0]),M=le(Z,"/"),f=le(Z,v),Z.forEach(h),I=V($),g=S($,"BUTTON",{});var ne=E(g);Y(T.$$.fragment,ne),ne.forEach(h),$.forEach(h),k.forEach(h),W=V(o),L=S(o,"DIV",{class:!0});var ee=E(L);F=S(ee,"UL",{class:!0});var ae=E(F);for(let B=0;B<p.length;B+=1)p[B].l(ae);ae.forEach(h),P=V(ee),d&&d.l(ee),ee.forEach(h),this.h()},h(){b(t,"class","flex gap-[10%] overflow-scroll snap-x snap-mandatory w-full sm-videos-list"),b(c,"class","-mt-2 font-bold"),b(a,"class","flex items-center justify-center mt-5 gap-5 lg:flex-col"),b(e,"class","mt-15 lg:hidden"),b(F,"class","grid grid-flow-col overflow-x-scroll grid-rows-2 max-w-[1170px] gap-15 snap-x snap-mandatory"),b(L,"class","mt-24 hidden lg:block")},m(o,k){R(o,e,k),w(e,t);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(t,null);w(e,s),w(e,a),w(a,r),J(l,r,null),w(a,n),w(a,c),w(c,m),w(c,M),w(c,f),w(a,I),w(a,g),J(T,g,null),R(o,W,k),R(o,L,k),w(L,F);for(let u=0;u<p.length;u+=1)p[u]&&p[u].m(F,null);i[15](F),w(L,P),d&&d.m(L,null),x=!0,H||(U=[G(r,"click",i[11]),G(g,"click",i[12]),G(F,"scroll",i[16])],H=!0)},p(o,k){if(k[0]&512){A=O(o[9]);let u;for(u=0;
1u<A.length;u+=1){const $=ge(o,A,u);y[u]?(y[u].p($,k),N(y[u],1)):(y[u]=_e($),y[u].c(),N(y[u],1),y[u].m(t,null))}for(Se(),u=A.length;u<y.length;u+=1)q(u);Ie()}if((!x||k[0]&1)&&Fe(m,o[0]),k[0]&512){_=O(o[9]);let u;for(u=0;u<_.length;u+=1){const $=me(o,_,u);p[u]?p[u].p($,k):(p[u]=pe($),p[u].c(),p[u].m(F,null))}for(;u<p.length;u+=1)p[u].d(1);p.length=_.length}o[6]?d?d.p(o,k):(d=ve(o),d.c(),d.m(L,null)):d&&(d.d(1),d=null)},i(o){if(!x){for(let k=0;k<A.length;k+=1)N(y[k]);N(l.$$.fragment,o),N(T.$$.fragment,o),x=!0}},o(o){y=y.filter(Boolean);for(let k=0;k<y.length;k+=1)j(y[k]);j(l.$$.fragment,o),j(T.$$.fragment,o),x=!1},d(o){o&&(h(e),h(W),h(L)),ie(y,o),Q(l),Q(T),ie(p,o),i[15](null),d&&d.d(),H=!1,Ae(U)}}}function _e(i){let e,t,s,a;return t=new Le({props:{title:i[29].customerName+" testimonial",src:i[29].videoLink,classes:"w-full"}}),{c(){e=C("li"),z(t.$$.fragment),s=D(),this.h()},l(r){e=S(r,"LI",{id:!0,class:!0});var l=E(e);Y(t.$$.fragment,l),s=V(l),l.forEach(h),this.h()},h(){b(e,"id","video-"+(i[25]+1)),b(e,"class","snap-center rounded-[32px] overflow-clip min-w-[86vw] aspect-w-16 aspect-h-9 sm-videos-list-item flex justify-center items-center first:ml-10 last:mr-10")},m(r,l){R(r,e,l),J(t,e,null),w(e,s),a=!0},p:oe,i(r){a||(N(t.$$.fragment,r),a=!0)},o(r){j(t.$$.fragment,r),a=!1},d(r){r&&h(e),Q(t)}}}function pe(i){let e,t,s,a;return{c(){e=C("li"),t=C("iframe"),a=D(),this.h()},l(r){e=S(r,"LI",{class:!0,"data-id":!0});var l=E(e);t=S(l,"IFRAME",{title:!0,src:!0,class:!0});var n=E(t);n.forEach(h),a=V(l),l.forEach(h),this.h()},h(){b(t,"title",i[29].customerName+" testimonial"),Ce(t.src,s=i[29].videoLink)||b(t,"src",s),b(t,"class","w-full h-full"),b(e,"class","lg-video-list-item aspect-w-16 aspect-h-10 min-w-[20vw] rounded-[20px] overflow-clip xl:min-w-[23vw] "+(i[25]===0||i[25]===1?"ml-5":"")),b(e,"data-id","lg-video-list-item-"+i[25])},m(r,l){R(r,e,l),w(e,t),w(e,a)},p:oe,d(r){r&&h(e)}}}function ve(i){let e,t=[],s=new Map,a=O(i[6].slideControls);const r=l=>l[25];for(let l=0;l<a.length;l+=1){let n=he(i,a,l),c=r(n);s.set(c,t[l]=we(c,n))}return{c(){e=C("div");for(let l=0;l<t.length;l+=1)t[l].c();this.h()},l(l){e=S(l,"DIV",{class:!0});var n=E(e);for(let c=0;c<t.length;c+=1)t[c].l(n);n.forEach(h),this.h()},h(){b(e,"class","flex gap-2 justify-center items-center mt-15 h-2.5")},m(l,n){R(l,e,n);for(let c=0;c<t.length;c+=1)t[c]&&t[c].m(e,null)},p(l,n){n[0]&192&&(a=O(l[6].slideControls),t=Ee(t,n,r,1,l,a,s,e,Te,we,null,he))},d(l){l&&h(e);for(let n=0;n<t.length;n+=1)t[n].d()}}}function we(i,e){let t,s,a,r;function l(){return e[17](e[25])}return{key:i,first:null,c(){t=C("button"),this.h()},l(n){t=S(n,"BUTTON",{class:!0}),E(t).forEach(h),this.h()},h(){b(t,"class",s=(e[25]===e[7]||e[25]+1===e[6].slidesCount&&e[6].slidesCount===e[7]?"bg-aasaan-logo-blue w-2.5 h-2.5":"bg-grey")+" w-2 h-2 rounded-full duration-300"),this.first=t},m(n,c){R(n,t,c),a||(r=G(t,"click",l),a=!0)},p(n,c){e=n,c[0]&192&&s!==(s=(e[25]===e[7]||e[25]+1===e[6].slidesCount&&e[6].slidesCount===e[7]?"bg-aasaan-logo-blue w-2.5 h-2.5":"bg-grey")+" w-2 h-2 rounded-full duration-300")&&b(t,"class",s)},d(n){n&&h(t),a=!1,r()}}}function Oe(i){let e,t,s,a,r,l,n,c=O(i[10]),m=[];for(let f=0;f<c.length;f+=1)m[f]=be(de(i,c,f));const M=f=>j(m[f],1,1,()=>{m[f]=null});let v=i[2]&&ye(i);return{c(){e=C("section"),t=C("div"),s=C("ul");for(let f=0;f<m.length;f+=1)m[f].c();a=D(),v&&v.c(),this.h()},l(f){e=S(f,"SECTION",{class:!0});var I=E(e);t=S(I,"DIV",{class:!0});var g=E(t);s=S(g,"UL",{class:!0});var T=E(s);for(let W=0;W<m.length;W+=1)m[W].l(T);T.forEach(h),a=V(g),v&&v.l(g),g.forEach(h),I.forEach(h),this.h()},h(){b(s,"class","grid grid-flow-col grid-rows-3 overflow-x-scroll snap-x snap-mandatory lg:grid-rows-2 py-5 lg:gap-10 reviews-list"),b(t,"class","-mx-7.5 lg:-mx-0"),b(e,"class","mt-20 lg:mt-24 mx-auto")},m(f,I){R(f,e,I),w(e,t),w(t,s);for(let g=0;g<m.length;g+=1)m[g]&&m[g].m(s,null);i[18](s),w(t,a),v&&v.m(t,null),r=!0,l||(n=G(s,"scroll",i[19]),l=!0)},p(f,I){if(I[0]&1024){c=O(f[10]);let g;for(g=0;g<c.length;g+=1){const T=de(f,c,g);m[g]?(m[g].p(T,I),N(m[g],1)):(m[g]=be(T),m[g].c(),N(m[g],1),m[g].m(s,null))}for(Se(),g=c.length;g<m.length;g+=1)M(g);Ie()}f[2]?v?v.p(f,I):(v=ye(f),v.c(),v.m(t,null)):v&&(v.d(1),v=null)},i(f){if(!r){for(let I=0;I<c.length;I+=1)N(m[I]);r=!0}},o(f){m=m.filter(Boolean);for(let I=0;I<m.length;I+=1)j(m[I]);r=!1},d(f){f&&h(e),ie(m,f),i[18](null),v&&v.d(),l=!1,n()}}}function be(i){let e,t,s,a;return t=new Re({props:{name:i[26].customerName,date:je(i[26].displayDate),reviewText:i[26].review,imgUrl:i[26].image.filename,classes:"w-[364px] h-full lg:sh
1adow-none"}}),{c(){e=C("li"),z(t.$$.fragment),s=D(),this.h()},l(r){e=S(r,"LI",{class:!0,"data-id":!0});var l=E(e);Y(t.$$.fragment,l),s=V(l),l.forEach(h),this.h()},h(){b(e,"class","reviews-list-item py-5 px-7.5 lg:py-0 lg:px-0"),b(e,"data-id","reviews-list-item-"+i[25])},m(r,l){R(r,e,l),J(t,e,null),w(e,s),a=!0},p:oe,i(r){a||(N(t.$$.fragment,r),a=!0)},o(r){j(t.$$.fragment,r),a=!1},d(r){r&&h(e),Q(t)}}}function ye(i){let e,t=[],s=new Map,a=O(i[2].slideControls);const r=l=>l[25];for(let l=0;l<a.length;l+=1){let n=ue(i,a,l),c=r(n);s.set(c,t[l]=ke(c,n))}return{c(){e=C("div");for(let l=0;l<t.length;l+=1)t[l].c();this.h()},l(l){e=S(l,"DIV",{class:!0});var n=E(e);for(let c=0;c<t.length;c+=1)t[c].l(n);n.forEach(h),this.h()},h(){b(e,"class","flex gap-2 justify-center items-center mt-8")},m(l,n){R(l,e,n);for(let c=0;c<t.length;c+=1)t[c]&&t[c].m(e,null)},p(l,n){n[0]&12&&(a=O(l[2].slideControls),t=Ee(t,n,r,1,l,a,s,e,Te,ke,null,ue))},d(l){l&&h(e);for(let n=0;n<t.length;n+=1)t[n].d()}}}function ke(i,e){let t,s,a,r;function l(){return e[20](e[25])}return{key:i,first:null,c(){t=C("button"),this.h()},l(n){t=S(n,"BUTTON",{class:!0}),E(t).forEach(h),this.h()},h(){b(t,"class",s=(e[25]===e[3]||e[25]+1===e[2].slidesCount&&e[2].slidesCount===e[3]?"bg-aasaan-logo-blue w-2.5 h-2.5":"bg-grey")+" w-2 h-2 rounded-full duration-300"),this.first=t},m(n,c){R(n,t,c),a||(r=G(t,"click",l),a=!0)},p(n,c){e=n,c[0]&12&&s!==(s=(e[25]===e[3]||e[25]+1===e[2].slidesCount&&e[2].slidesCount===e[3]?"bg-aasaan-logo-blue w-2.5 h-2.5":"bg-grey")+" w-2 h-2 rounded-full duration-300")&&b(t,"class",s)},d(n){n&&h(t),a=!1,r()}}}function He(i){let e,t,s,a,r,l=`<h1 class="text-32 text-dark-grey-text font-extrabold lg:text-56">India&#39;s top rated <br/><em class="text-aasaan-logo-blue-text">Will Specialist</em></h1> <p class="font-medium text-body-2 text-light-grey-text">We pride ourselves with providing the best in class succession planning service to our
2				customers. From Will drafting to getting it Notarised/Registered, we take care of everything
3				for you. Listen to what our customers have to say about us.</p>`,n,c,m,M,v,f,I='Our customers <em class="text-aasaan-logo-blue-text">love us!</em>',g,T,W,L,F="Write a Will",P,x,H="",U,A,y=`
vendor: 141 bytes, lines 3-8
3window.dataLayer = window.dataLayer || [];
4		function gtag() {
5			dataLayer.push(arguments);
6		}
7		gtag('js', new Date());
8		gtag('config', '
8AW-11160133826
vendor: 3 bytes, line 8
8');
8`,q;e=new Ne({props:{info:i[13]}}),m=new Le({props:{title:"See how Aasaan it is to write a Will",src:"https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3Rmy7Ky2PtA%3Ffeature%3Doembed&display_name=YouTube&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3Rmy7Ky2PtA&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3Rmy7Ky2PtA%2Fhqdefault.jpg&key=96f1f04c5f4143bcb0f2e68c87d65feb&type=text%2Fhtml&schema=youtube",classes:"w-full h-full"}});let _=i[9].length>0&&Pe(i),p=i[10].length>0&&Oe(i);return{c(){z(e.$$.fragment),t=D(),s=C("main"),a=C("section"),r=C("div"),r.innerHTML=l,n=D(),c=C("div"),z(m.$$.fragment),M=D(),v=C("section"),f=C("h2"),f.innerHTML=I,g=D(),_&&_.c(),T=D(),p&&p.c(),W=D(),L=C("a"),L.textContent=F,P=D(),x=C("script"),x.innerHTML=H,A=C("script"),A.textContent=y,this.h()},l(d){Y(e.$$.fragment,d),t=V(d),s=S(d,"MAIN",{class:!0});var o=E(s);a=S(o,"SECTION",{class:!0});var k=E(a);r=S(k,"DIV",{class:!0,"data-svelte-h":!0}),X(r)!=="svelte-jnsvee"&&(r.innerHTML=l),n=V(k),c=S(k,"DIV",{class:!0});var u=E(c);Y(m.$$.fragment,u),u.forEach(h),k.forEach(h),M=V(o),v=S(o,"SECTION",{class:!0});var $=E(v);f=S($,"H2",{class:!0,"data-svelte-h":!0}),X(f)!=="svelte-ow2phb"&&(f.innerHTML=I),g=V($),_&&_.l($),$.forEach(h),T=V(o),p&&p.l(o),W=V(o),L=S(o,"A",{href:!0,class:!0,"data-svelte-h":!0}),X(L)!=="svelte-7daxcc"&&(L.textContent=F),o.forEach(h),P=V(d);const K=Ve("svelte-1m04j14",se.head);x=S(K,"SCRIPT",{src:!0,"data-svelte-h":!0}),X(x)!=="svelte-ggqa4w"&&(x.innerHTML=H),A=S(K,"SCRIPT",{"data-svelte-h":!0}),X(A)!=="svelte-odewe0"&&(A.textContent=y),K.forEach(h),this.h()},h(){b(r,"class","flex flex-col flex-1 gap-8 text-center max-w-lg mx-auto lg:text-left"),b(c,"class","snap-center rounded-[32px] overflow-clip min-w-[86vw] aspect-w-16 aspect-h-9 flex justify-center items-center lg:min-w-[35vw] lg:aspect-h-5 flex-grow-0"),b(a,"class","flex flex-col gap-15 lg:flex-row"),b(f,"class","text-32 text-dark-grey-text font-extrabold text-center"),b(v,"class","mt-[120px]"),b(L,"href","https://app.aasaanwill.com/dashboard"),b(L,"class","bg-aasaan-logo-blue text-base text-white font-medium p-[18.5px] mt-[42px] rounded-xl max-h-12 w-full flex items-center justify-center max-w-[360px] mx-auto drop-shadow-shadow"),b(s,"class","px-7.5 mt-24 max-w-[1440px] mx-auto lg:px-32 relative lg:mt-44"),x.async=!0,Ce(x.src,U="https://www.googletagmanager.com/gtag/js?id=AW-11160133826")||b(x,"src",U)},m(d,o){J(e,d,o),R(d,t,o),R(d,s,o),w(s,a),w(a,r),w(a,n),w(a,c),J(m,c,null),w(s,M),w(s,v),w(v,f),w(v,g),_&&_.m(v,null),w(s,T),p&&p.m(s,null),w(s,W),w(s,L),R(d,P,o),w(se.head,x),w(se.head,A),q=!0},p(d,o){d[9].length>0&&_.p(d,o),d[10].length>0&&p.p(d,o)},i(d){q||(N(e.$$.fragment,d),N(m.$$.fragment,d),N(_),N(p),q=!0)},o(d){j(e.$$.fragment,d),j(m.$$.fragment,d),j(_),j(p),q=!1},d(d){d&&(h(t),h(s),h(P)),Q(e,d),Q(m),_&&_.d(),p&&p.d(),h(x),h(A)}}}function qe(i,e,t){let{data:s}=e,a=s.testimonialsData,r=s.googleReviewsData,l=1,n;const c=()=>{if(l>1)M(l-1),t(0,l--,l);else{const _=a.length;M(_),t(0,l=_)}},m=()=>{l<a.length?(M(l+1),t(0,l++,l)):(M(1),t(0,l=1))},M=_=>{const p=document.querySelector(`#video-${_}`);p&&p.scrollIntoView({behavior:"smooth",block:"nearest"})};let v,f,I=0,g=1,T,W,L=0,F=1;xe(()=>{n=new IntersectionObserver(p=>{p[0].intersectionRatio>0&&t(0,l=Number(p[0].target.id.slice(6)))}),document.querySelectorAll(".sm-videos-list-item").forEach(p=>{n.observe(p)}),t(2,f=new fe(v,".reviews-list-item")),t(6,W=new fe(T,".lg-video-list-item"))});const P={title:"Customer Reviews & Testimonials | AasaanWill",description:"India's top rated Will specialist. Read what families across 120+ cities say about AasaanWill's Will drafting, notarisation and registration service.",image:""};function x(_){re[_?"unshift":"push"](()=>{T=_,t(5,T)})}const H=()=>{t(7,L=W.getActiveSlide()),t(8,F=W.slidesCount)},U=_=>{W.scrollToSlide(_)};function A(_){re[_?"unshift":"push"](()=>{v=_,t(1,v)})}const y=()=>{t(3,I=f.getActiveSlide()),t(4,g=f.slidesCount)},q=_=>{f.scrollToSlide(_)};return i.$$set=_=>{"data"in _&&t(14,s=_.data)},[l,v,f,I,g,T,W,L,F,a,r,c,m,P,s,x,H,U,A,y,q]}class Ze extends $e{constructor(e){super(),De(this,e,qe,He,We,{data:14},null,[-1,-1])}}export{Ze as component};

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.