PageSourceSearch

https://vieromind.com/_next/static/chunks/23302.8af559d29435169e.js

js vieromind.com collected 2026-09-30 15:33:25 UTC 4,017 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ba336d8c-9d2d-4f5c-8c5c-0b595f3e2167",e._sentryDebugIdIdentifier="sentry-dbid-ba336d8c-9d2d-4f5c-8c5c-0b595f3e2167")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23302],{23302:(e,r,l)=>{l.r(r),l.d(r,{default:()=>d});var s=l(95155),a=l(52619),t=l.n(a),i=l(12115);function d(e){var r,l,a,d,n,c;let{crisis:o,onClose:x}=e,[m,g]=(0,i.useState)(!1),b=(0,i.useRef)(null);if((0,i.useEffect)(()=>{var e;null==(e=b.current)||e.focus()},[]),!o)return null;let u=null!=(a=null==(r=o.helplines)?void 0:r.label)?a:"Local helpline",f=null!=(d=null==(l=o.helplines)?void 0:l.numbers)?d:[];return(0,s.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"crisis-title",className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black/60"}),(0,s.jsx)("div",{className:"relative z-10 w-full max-w-3xl rounded-2xl bg-gradient-to-br from-white to-blue-50 dark:from-gray-800 dark:to-gray-900 p-6 shadow-2xl border border-gray-200 dark:border-gray-700",children:(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"flex-shrink-0 mt-1",children:(0,s.jsx)("div",{className:"w-12 h-12 rounded-full bg-amber-200 flex items-center justify-center text-amber-800 text-xl font-semibold",children:"\uD83D\uDD4A"})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h2",{id:"crisis-title",className:"text-2xl font-semibold text-gray-900 dark:text-gray-100",children:"Safety first"}),(0,s.jsx)("p",{className:"mt-2 text-gray-700 dark:text-gray-300 leading-relaxed",children:o.message}),(0,s.jsx)("div",{className:"mt-4 p-4 bg-white dark:bg-gray-800 rounded-lg border border-gray-100 dark:border-gray-700",children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-sm text-gray-500",children:u}),(0,s.jsx)("div",{className:"mt-1 text-lg font-medium text-gray-900 dark:text-gray-100",children:f.map((e,r)=>(0,s.jsx)("a",{href:"tel:".concat(e),className:"inline-block mr-3 underline text-amber-700 dark:text-amber-300",children:e},e))})]}),(0,s.jsx)("div",{className:"text-xs text-gray-400",children:"Available 24/7"})]})}),(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsx)("button",{onClick:()=>g(e=>!e),className:"inline-flex items-center gap-2 px-4 py-2 bg-indigo-500 text-white rounded-lg shadow-sm hover:bg-indigo-600 focus:outline-none","aria-expanded":m,children:m?"Hide Quotation":"Quotation (Quranic Ayat)"}),m&&(0,s.jsxs)("div",{className:"mt-3 p-4 bg-indigo-50 dark:bg-indigo-900/30 rounded-md border border-indigo-100 dark:border-indigo-800",children:[(0,s.jsx)("div",{className:"text-2xl font-semibold text-indigo-900 dark:text-indigo-100",children:"فَإِنَّ مَعَ الْعُسْرِ يُسْرًا"}),(0,s.jsx)("div",{className:"mt-2 text-sm italic text-indigo-800 dark:text-indigo-200",children:"Fa-inna maʿa al-ʿusri yusra"}),(0,s.jsx)("div",{className:"mt-2 text-sm text-indigo-700 dark:text-indigo-200",children:"Indeed, with hardship [will be] ease. — Qur’an 94:6"})]})]}),(0,s.jsxs)("div",{className:"mt-6 grid grid-cols-1 sm:grid-cols-3 gap-3",children:[(0,s.jsxs)("a",{ref:b,href:"tel:".concat(null!=(n=f[0])?n:""),className:"block text-center rounded-lg bg-amber-300 text-amber-900 px-4 py-3 font-semibold hover:bg-amber-400",children:["Call ",u]}),(0,s.jsx)(t(),{href:null!=(c=o.crisisPageUrl)?c:"/crisis",className:"block text-center rounded-lg bg-emerald-400 text-emerald-900 px-4 py-3 font-semibold hover:bg-emerald-500",children:"Crisis Support & Resources"}),(0,s.jsx)("button",{onClick:()=>{x()},className:"rounded-lg bg-gray-100 px-4 py-3",children:"I'm safe — Return to chat"})]})]})]})})]})}}}]);

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.