PageSourceSearch

https://www.memorials.com/_next/static/chunks/835.93e5264a8c973dff.js

js memorials.com collected 2026-09-24 21:55:43 UTC 2,804 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[835],{835:(e,a,s)=>{s.r(a),s.d(a,{default:()=>i});var t=s(1794),l=s(43370);let r=e=>{let{type:a,className:s}=e;return(0,t.jsxs)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:s,children:["full"===a&&(0,t.jsx)("path",{fill:"#FFD700",d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"}),"half"===a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"testimonialHalfStar",children:[(0,t.jsx)("stop",{offset:"50%",stopColor:"#FFD700"}),(0,t.jsx)("stop",{offset:"50%",stopColor:"#D3D3D3"})]})}),(0,t.jsx)("path",{fill:"url(#testimonialHalfStar)",d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})]}),"empty"===a&&(0,t.jsx)("path",{fill:"#D3D3D3",d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})]})},i=()=>{let[e,a]=(0,l.useState)(null),[s,i]=(0,l.useState)(!0);return((0,l.useEffect)(()=>{(async()=>{try{let e=await fetch("/api/testimonial");if(e.ok){let s=await e.json();a(s)}}catch(e){}finally{i(!1)}})()},[]),s)?(0,t.jsxs)("div",{className:"border border-gray-300 p-4 bg-white text-sm w-44 text-center mx-auto min-h-[180px] animate-pulse",children:[(0,t.jsx)("div",{className:"h-3 bg-gray-200 rounded mb-1 mx-auto w-full"}),(0,t.jsx)("div",{className:"h-3 bg-gray-200 rounded mb-1 mx-auto w-5/6"}),(0,t.jsx)("div",{className:"h-3 bg-gray-200 rounded mb-1 mx-auto w-full"}),(0,t.jsx)("div",{className:"h-3 bg-gray-200 rounded mb-1 mx-auto w-4/6"}),(0,t.jsx)("div",{className:"h-3 bg-gray-200 rounded mb-1 mx-auto w-5/6"}),(0,t.jsx)("div",{className:"h-3 bg-gray-200 rounded mb-2 mx-auto w-3/4"}),(0,t.jsx)("div",{className:"h-3 bg-gray-200 rounded mb-2 mx-auto w-16"}),(0,t.jsx)("div",{className:"h-3 bg-gray-200 rounded mx-auto w-20"})]}):(0,t.jsx)(t.Fragment,{children:e?(0,t.jsxs)("div",{className:"border border-gray-300 p-4 bg-white text-sm w-44 text-center mx-auto",children:[(0,t.jsxs)("p",{className:"italic mb-2 text-xs",children:['"',e.comment||"No comment provided",'"']}),(0,t.jsx)("div",{className:"mb-2",children:(e=>{let a=Math.floor(e),s=e%1!=0,l=5-Math.ceil(e);return(0,t.jsxs)(t.Fragment,{children:[Array.from({length:a}).map((e,a)=>(0,t.jsx)(r,{type:"full",className:"inline-block w-3 h-3"},"full-".concat(a))),s&&(0,t.jsx)(r,{type:"half",className:"inline-block w-3 h-3"},"half"),Array.from({length:l}).map((e,a)=>(0,t.jsx)(r,{type:"empty",className:"inline-block w-3 h-3"},"empty-".concat(a)))]})})(e.rating)}),(0,t.jsx)("p",{className:"font-bold text-xs",children:e.user||"Anonymous"})]}):(0,t.jsx)("p",{className:"text-sm text-gray-500 italic text-center",children:"No testimonials available at the moment."})})}}}]);

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.