PageSourceSearch

https://yaqeeninstitute.ca/_next/static/chunks/pages/compass-084f707c8f7ef998.js

js yaqeeninstitute.ca collected 2026-09-25 04:09:02 UTC 9,787 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dc362030-6ae5-451d-8394-073bde6b2239",e._sentryDebugIdIdentifier="sentry-dbid-dc362030-6ae5-451d-8394-073bde6b2239")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[896,8057],{8567:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>v});var s=i(14232),a=i(54587),n=i.n(a),l=i(18125),r=i(8704),o=i(9361),c=i(47489),d=i(18012),h=i(38369),g=i(65083),u=i(69174),x=i(67579),p=i(75261),m=i(61300),f=i(37876);let v=()=>{let e={title:"Yaqeen Compass",description:"We’ve developed a groundbreaking framework to help Muslims understand their own religiosity.",image:`${(0,m.$_)()}/static/images/basic/seo-1200x600.png`},{firebaseAuth:t}=(0,g.m9)(),{initAuth:i,userInfo:a}=t,{0:v,1:y}=(0,s.useState)(null),{0:b,1:w}=(0,s.useState)(null);return(0,s.useEffect)(()=>{if(window){var e;w(null==(e=window.sessionStorage)?void 0:e.getItem(p.vw))}},[]),(0,s.useEffect)(()=>{if((null==a?void 0:a.authState)!==o.j_.AuthLoading&&v&&"v2"===b)if(null!=a&&a.user){var e;t(null==(e=a.user)?void 0:e.uid)}else a.authState===o.j_.AuthDismissed&&((0,d.$s)("home_spotlight_compass_auth","click","state: auth_dismissed variant: v2"),h.A.push("/compass/quiz"));async function t(e){let t=await (0,c.AD)(e);if(0===t.length){(0,d.$s)("home_spotlight_compass_auth","click","state: never_taken_quiz variant: v2"),h.A.push("/compass/quiz");return}if((0,p.KQ)(t))(0,d.$s)("home_spotlight_compass_auth","click","state: taking_quiz_first_time variant: v2"),h.A.push("/compass/quiz");else{var i;(0,d.$s)("home_spotlight_compass_auth","click","state: cant_take_quiz_yet variant: v2"),h.A.push(`/compass/result?submissionId=${null==t||null==(i=t[0])?void 0:i.submissionId}`)}}},[a.user,a.authState,b,v]),(0,f.jsx)(x.MainWebLayout,{metatag:e,children:(0,f.jsxs)(x.MainWebContentLayout,{maxWidth:"max-w-4xl",className:"xl:my-20 my-10",padding:"xl:px-0 px-6 iphonese:px-4",children:[(0,f.jsx)("div",{id:"title",className:"mb-10",children:(0,f.jsxs)(u.EY,{as:"p",color:"text-endeavour-500",fontSize:"xl:text-4xl text-3xl",weight:"font-extrabold",letterSpacing:"tracking-tight",lineHeight:"xl:leading-10 leading-none",className:"text-center",children:["We’ve developed a ",(0,f.jsx)("span",{className:"text-viking",children:"groundbreaking framework"})," to help Muslims understand their own religiosity."]})}),(0,f.jsxs)("div",{id:"description",className:"mb-10 max-w-2xl mx-auto space-y-5",children:[(0,f.jsxs)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center",children:["By looking at ",(0,f.jsx)("span",{className:"text-carrot-500 font-extrabold",children:"six key areas"}),", we have found a way to gauge religiosity in a holistic way and help Muslims reach their fullest potential, insha’Allah."]}),(0,f.jsx)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center",children:"Our new assessment paints your religious portrait and identifies areas of improvement. We hope to help you along your religious journey by providing reminders and resources in the areas where you have potential to grow."}),(0,f.jsx)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center",children:"Our theory is that, by studying your example, we can learn how to help others grow in their faith."}),(0,f.jsx)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center",children:"Here's how"}),(0,f.jsxs)("div",{className:"mb-10",children:[(0,f.jsx)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center list-decimal",children:"1. Take the assessment"}),(0,f.jsx)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center list-decimal",children:"2. Reflect on your results"}),(0,f.jsx)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center list-decimal",children:"3. Sign up and peruse the resources we provide"}),(0,f.jsxs)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center list-decimal",children:["4. After ",r.sI," days, re-take the Yaqeen Compass assessment"]}),(0,f.jsxs)(u.EY,{as:"p",color:"text-endeavour-500",weight:"font-semibold",fontSize:"xl:text-xl text-lg",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center list-decimal",children:["5. Enjoy the ",(0,f.jsx)("span",{className:"italic",children:"barakah"})," you’ve earned by helping other Muslims strengthen their faith"]})]})]}),(0,f.jsxs)("div",{id:"cta",className:"inline-flex xl:flex-row flex-col xl:space-x-6 justify-center items-center w-full mb-10 xl:space-y-0 space-y-6",children:[(0,f.jsx)(u.$
1n,{onPress:()=>{"v2"!==b||a.user?((0,d.$s)("landing_take_quiz","click"),h.A.push("/compass/quiz")):((0,d.$s)("home_spotlight_compass_take_assessment","click","variant: v2"),i(),y(!0))},className:"rounded bg-carrot-600 hover:bg-carrot-800 py-3.5 px-5 xl:w-auto w-full",children:(0,f.jsx)(u.EY,{as:"p",color:"text-white",weight:"font-bold",fontSize:"text-2xl",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center",children:"Take Yaqeen Compass assessment"})}),null===a.user&&(0,f.jsx)(u.$n,{onPress:()=>{(0,d.$s)("landing_sign_up","click"),i()},className:"group rounded border border-grey-200 hover:bg-grey-200 py-3.5 px-5 shrink-0 xl:w-auto w-full",children:(0,f.jsx)(u.EY,{as:"p",weight:"font-bold",fontSize:"text-2xl",letterSpacing:"tracking-tight-1",lineHeight:"leading-tight",className:"text-center",children:"Sign up"})})]}),(0,f.jsx)("div",{className:"mb-10",children:(0,f.jsx)(n(),{src:"/static/images/basic/BASIC-chart.svg",alt:"BASIC chart",width:897,height:828})}),(0,f.jsxs)("div",{className:"bg-jordy-50 p-6 space-y-4",children:[(0,f.jsx)(u.EY,{color:"text-endeavour-500",fontSize:"text-xs",children:"A registered Yaqeen account is required to see the results of this quiz."}),(0,f.jsxs)("div",{className:"inline-flex space-x-2 items-center",children:[(0,f.jsx)(l.g,{icon:"lock",className:"text-endeavour-500",size:"xs"}),(0,f.jsx)(u.EY,{as:"p",color:"text-endeavour-500",fontSize:"text-xs",children:"Your data is an Amanah (trust) that we value and take seriously. Your data will be secured, never sold, and never shared with any third-party vendors."})]})]}),(0,f.jsx)("div",{className:"border-b border-endeavour-500 w-full my-10"}),(0,f.jsx)("div",{id:"notes",children:(0,f.jsxs)(u.EY,{as:"p",color:"text-endeavour-500",fontSize:"text-sm",children:["Our recent publication"," ",(0,f.jsx)(u.qh,{className:"font-bold",href:"read/data/reports/a-holistic-view-of-muslim-religiosity-introducing-basic",children:"“A Holistic View of Muslim Religiosity: Introducing BASIC”"})," ","explores the development and validation of our new scale to measure Muslim religiosity. By practicing Islam holistically, one will find higher levels of life satisfaction, purpose in life, well-being, and gratitude. Additionally, holistic Islamic religiosity provides protection from the problems associated with doubts, anxiety, and depression. Knowing where you lie along this new scale will provide you with feedback on how to grow and improve."]})})]})})}},48057:(e,t,i)=>{"use strict";i.d(t,{A:()=>x});var s=i(66284),a=i(14232),n=i(17638),l=i(97114),r=i(95311),o=i(69158),c=i(52916),d=i(91113),h=i(37876);function g(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,s)}return i}function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?g(Object(i),!0).forEach(function(t){(0,s.A)(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}let x=e=>{let{title:t,children:i,isOpen:s,modalClassName:g}=e,x=(0,a.useRef)(),{overlayProps:p}=(0,r.e)(e,x),{modalProps:m}=(0,r.hS)(),{dialogProps:f}=(0,n.s)(e,x);return(0,h.jsx)(o.N,{initial:!1,children:s&&(0,h.jsx)(r.Sf,{children:(0,h.jsx)("div",{className:"modal fixed h-full w-full inset-0 bg-black/75 flex justify-center items-center",style:{zIndex:d.M.DIALOG_BACKDROP},children:(0,h.jsx)(c.m.div,{initial:{opacity:0,y:50,scale:.3},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.5,transition:{duration:.2}},className:"relative",children:(0,h.jsx)("div",{className:"modal-container",children:(0,h.jsx)(l.n1,{contain:!0,restoreFocus:!0,children:(0,h.jsx)("div",u(u(u(u({},p),f),m),{},{ref:x,className:g,role:"dialog","aria-modal":"true","aria-labelledby":`modal-headline ${t}`,children:i}))})})})})})})}},79337:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/compass",function(){return i(8567)}])}},e=>{e.O(0,[5123,1510,2697,4740,1502,4587,2682,6241,5542,3822,5807,3971,636,6593,8792],()=>e(e.s=79337)),_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.