PageSourceSearch

https://sumud.fi/_next/static/chunks/02aq6vreqw97d.js

js sumud.fi collected 2026-10-02 06:57:57 UTC 38,344 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,273299,e=>{"use strict";var t;let r="image-Tb9Ew8CXIwaY6R1kjMvI0uRR-2000x3000-jpg";function i(e){return`image-${e.split("/").slice(-1)[0]}`.replace(/\.([a-z]+)$/,"-$1")}let n=[["width","w"],["height","h"],["format","fm"],["download","dl"],["blur","blur"],["sharpen","sharp"],["invert","invert"],["orientation","or"],["minHeight","min-h"],["maxHeight","max-h"],["minWidth","min-w"],["maxWidth","max-w"],["quality","q"],["fit","fit"],["crop","crop"],["saturation","sat"],["auto","auto"],["dpr","dpr"],["pad","pad"],["frame","frame"]],s=["clip","crop","fill","fillmax","max","scale","min"],a=["top","bottom","left","right","center","focalpoint","entropy"],l=["format"];function o(e){let{apiHost:t,projectId:r,dataset:i}=e,n={baseUrl:(t||"https://api.sanity.io").replace(/^https:\/\/api\./,"https://cdn.")},s=e["~experimental_resource"];if(s?.type==="media-library"){if("string"!=typeof s.id||0===s.id.length)throw Error('Media library clients must include an id in "~experimental_resource"');return{...n,mediaLibraryId:s.id}}return{...n,projectId:r,dataset:i}}function c(e){return e&&"config"in e&&"function"==typeof e.config?o(e.config()):e&&"clientConfig"in e&&"object"==typeof e.clientConfig?o(e.clientConfig):e||{}}class d{options;constructor(e,t){this.options=e?{...e.options||{},...t||{}}:{...t||{}}}withOptions(e){return new d(this,function(e,t){let r=t.baseUrl||e.baseUrl,i={baseUrl:r};for(let e in t)t.hasOwnProperty(e)&&(i[function(e){for(let t of n){let[r,i]=t;if(e===r||e===i)return r}return e}(e)]=t[e]);return{baseUrl:r,...i}}(this.options,e))}image(e){return this.withOptions({source:e})}dataset(e){return this.withOptions({dataset:e})}projectId(e){return this.withOptions({projectId:e})}withClient(e){let t=c(e),r={...this.options};return delete r.baseUrl,delete r.projectId,delete r.dataset,delete r.mediaLibraryId,new d(null,{...t,...r})}bg(e){return this.withOptions({bg:e})}dpr(e){return this.withOptions(e&&1!==e?{dpr:e}:{})}width(e){return this.withOptions({width:e})}height(e){return this.withOptions({height:e})}focalPoint(e,t){return this.withOptions({focalPoint:{x:e,y:t}})}maxWidth(e){return this.withOptions({maxWidth:e})}minWidth(e){return this.withOptions({minWidth:e})}maxHeight(e){return this.withOptions({maxHeight:e})}minHeight(e){return this.withOptions({minHeight:e})}size(e,t){return this.withOptions({width:e,height:t})}blur(e){return this.withOptions({blur:e})}sharpen(e){return this.withOptions({sharpen:e})}
1rect(e,t,r,i){return this.withOptions({rect:{left:e,top:t,width:r,height:i}})}format(e){return this.withOptions({format:e})}invert(e){return this.withOptions({invert:e})}orientation(e){return this.withOptions({orientation:e})}quality(e){return this.withOptions({quality:e})}forceDownload(e){return this.withOptions({download:e})}flipHorizontal(){return this.withOptions({flipHorizontal:!0})}flipVertical(){return this.withOptions({flipVertical:!0})}ignoreImageParams(){return this.withOptions({ignoreImageParams:!0})}fit(e){if(-1===s.indexOf(e))throw Error(`Invalid fit mode "${e}"`);return this.withOptions({fit:e})}crop(e){if(-1===a.indexOf(e))throw Error(`Invalid crop mode "${e}"`);return this.withOptions({crop:e})}saturation(e){return this.withOptions({saturation:e})}auto(e){if(-1===l.indexOf(e))throw Error(`Invalid auto mode "${e}"`);return this.withOptions({auto:e})}pad(e){return this.withOptions({pad:e})}vanityName(e){return this.withOptions({vanityName:e})}frame(e){if(1!==e)throw Error(`Invalid frame value "${e}"`);return this.withOptions({frame:e})}url(){return function(e){let t={...e||{}},s=t.source;delete t.source;let a=function(e){var t;let r;if(!e)return null;if("string"==typeof e&&(t=e,/^https?:\/\//.test(`${t}`)))r={asset:{_ref:i(e)}};else if("string"==typeof e)r={asset:{_ref:e}};else if(e&&"string"==typeof e._ref)r={asset:e};else if(e&&"string"==typeof e._id)r={asset:{_ref:e._id||""}};else if(e&&e.asset&&"string"==typeof e.asset.url)r={asset:{_ref:i(e.asset.url)}};else{if("object"!=typeof e.asset)return null;r={...e}}return e.crop&&(r.crop=e.crop),e.hotspot&&(r.hotspot=e.hotspot),function(e){if(e.crop&&e.hotspot)return e;let t={...e};return t.crop||(t.crop={left:0,top:0,bottom:0,right:0}),t.hotspot||(t.hotspot={x:.5,y:.5,height:1,width:1}),t}(r)}(s);if(!a){if(s&&"object"==typeof s&&null!==s&&s._upload&&(!s.asset||!s.asset._ref))return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8HwQACfsD/QNViZkAAAAASUVORK5CYII=";throw Error(`Unable to resolve image URL from source (${JSON.stringify(s)})`)}let l=function(e){let[,t,i,n]=e.split("-");if(!t||!i||!n)throw Error(`Malformed asset _ref '${e}'. Expected an id like "${r}".`);let[s,a]=i.split("x"),l=+s,o=+a;if(!(isFinite(l)&&isFinite(o)))throw Error(`Malformed asset _ref '${e}'. Expected an id like "${r}".`);return{id:t,width:l,height:o,format:n}}(a.asset._ref||a.asset._id||""),o=Math.round(a.crop.left*l.width),c=Math.round(a.crop.top*l.height),d={left:o,top:c,width:Math.round(l.width-a.crop.right*l.width-o),height:Math.round(l.height-a.crop.bottom*l.height-c)},u=a.hotspot.height*l.height/2,h=a.hotspot.width*l.width/2,p=a.hotspot.x*l.width,f=a.hotspot.y*l.height;return t.rect||t.focalPoint||t.ignoreImageParams||t.crop||(t={...t,...function(e,t){let r,i=t.width,n=t.height;if(!(i&&n))return{width:i,height:n,rect:e.crop};let s=e.crop,a=e.hotspot,l=i/n;if(s.width/s.height>l){let e=Math.round(s.height),t=Math.round(e*l),i=Math.max(0,Math.round(s.top)),n=Math.max(0,Math.round(Math.round((a.right-a.left)/2+a.left)-t/2));n<s.left?n=s.left:n+t>s.left+s.width&&(n=s.left+s.width-t),r={left:n,top:i,width:t,height:e}}else{let e=s.width,t=Math.round(e/l),i=Math.max(0,Math.round(s.left)),n=Math.max(0,Math.round(Math.round((a.bottom-a.top)/2+a.top)-t/2));n<s.top?n=s.top:n+t>s.top+s.height&&(n=s.top+s.height-t),r={left:i,top:n,width:e,height:t}}return{width:i,height:n,rect:r}}({crop:d,hotspot:{left:p-h,top:f-u,right:p+h,bottom:f+u}},t)}),function(e){let t=(e.baseUrl||"https://cdn.sanity.io").replace(/\/+$/,""),r=e.vanityName?`/${e.vanityName}`:"",i=`${e.asset.id}-${e.asset.width}x${e.asset.height}.${e.asset.format}${r}`,s=e.mediaLibraryId?`${t}/media-libraries/${e.mediaLibraryId}/images/${i}`:`${t}/images/${e.projectId}/${e.dataset}/${i}`,a=[];if(e.rect){let{left:t,top:r,width:i,height:n}=e.rect;(0!==t||0!==r||n!==e.asset.height||i!==e.asset.width)&&a.push(`rect=${t},${r},${i},${n}`)}e.bg&&a.push(`bg=${e.bg}`),e.focalPoint&&(a.push(`fp-x=${e.focalPoint.x}`),a.push(`fp-y=${e.focalPoint.y}`));let l=[e.flipHorizontal&&"h",e.flipVertical&&"v"].filter(Boolean).join("");return l&&a.push(`flip=${l}
1`),n.forEach(t=>{let[r,i]=t;"u">typeof e[r]?a.push(`${i}=${encodeURIComponent(e[r])}`):"u">typeof e[i]&&a.push(`${i}=${encodeURIComponent(e[i])}`)}),0===a.length?s:`${s}?${a.join("&")}`}({...t,asset:l})}(this.options)}toString(){return this.url()}}t=["The default export of @sanity/image-url has been deprecated. Use the named export `createImageUrlBuilder` instead."],e.s(["createImageUrlBuilder",0,function(e){return new d(null,c(e))}])},236726,908035,e=>{"use strict";var t=e.i(843476);function r(e){return"span"===e._type&&"text"in e&&"string"==typeof e.text&&(void 0===e.marks||Array.isArray(e.marks)&&e.marks.every(e=>"string"==typeof e))}function i(e){return"string"==typeof e._type&&"@"!==e._type[0]&&(!("markDefs"in e)||!e.markDefs||Array.isArray(e.markDefs)&&e.markDefs.every(e=>"string"==typeof e._key))&&"children"in e&&Array.isArray(e.children)&&e.children.every(e=>"object"==typeof e&&"_type"in e)}function n(e){return i(e)&&"listItem"in e&&"string"==typeof e.listItem&&(void 0===e.level||"number"==typeof e.level)}function s(e){return"@list"===e._type}function a(e){return"@span"===e._type}function l(e){return"@text"===e._type}let o=["strong","em","code","underline","strike-through"];function c(e,t,i){if(!r(e)||!e.marks||!e.marks.length)return[];let n=e.marks.slice(),s={};return n.forEach(e=>{s[e]=1;for(let n=t+1;n<i.length;n++){let t=i[n];if(t&&r(t)&&Array.isArray(t.marks)&&-1!==t.marks.indexOf(e))s[e]++;else break}}),n.sort((e,t)=>(function(e,t,r){let i=e[t],n=e[r];if(i!==n)return n-i;let s=o.indexOf(t),a=o.indexOf(r);return s===a?t.localeCompare(r):s-a})(s,e,t))}function d(e){let{children:t}=e,i=e.markDefs??[];if(!t||!t.length)return[];let n=t.map(c),s={_type:"@span",children:[],markType:"<unknown>"},a=[s];for(let e=0;e<t.length;e++){let s=t[e];if(!s)continue;let l=n[e]||[],o=1;if(a.length>1)for(;o<a.length;o++){let e=a[o]?.markKey||"",t=l.indexOf(e);if(-1===t)break;l.splice(t,1)}let c=(a=a.slice(0,o))[a.length-1];if(c){for(let e of l){let t=i?.find(t=>t._key===e),r={_type:"@span",_key:s._key,children:[],markDef:t,markType:t?t._type:e,markKey:e};c.children.push(r),a.push(r),c=r}if(r(s)){let e=s.text.split("\n");for(let t=e.length;t-- >1;)e.splice(t,0,"\n");c.children=c.children.concat(e.map(e=>({_type:"@text",text:e})))}else c.children=c.children.concat(s)}}return s.children}function u(e,t){let r=[],i;for(let l=0;l<e.length;l++){let o=e[l];if(o){var s,a;if(!n(o)){r.push(o),i=void 0;continue}if(!i){i=h(o,l,t),r.push(i);continue}if(s=o,a=i,(s.level||1)===a.level&&s.listItem===a.listItem){i.children.push(o);continue}if((o.level||1)>i.level){let e=h(o,l,t);if("html"===t){let t=i.children[i.children.length-1],r={...t,children:[...t.children,e]};i.children[i.children.length-1]=r}else i.children.push(e);i=e;continue}if((o.level||1)<i.level){let e=r[r.length-1],n=e&&p(e,o);if(n){(i=n).children.push(o);continue}i=h(o,l,t),r.push(i);continue}if(o.listItem!==i.listItem){let e=r[r.length-1],n=e&&p(e,{level:o.level||1});if(n&&n.listItem===o.listItem){(i=n).children.push(o);continue}i=h(o,l,t),r.push(i);continue}console.warn("Unknown state encountered for block",o),r.push(o)}}return r}function h(e,t,r){return{_type:"@list",_key:`${e._key||`${t}`}-parent`,mode:r,level:e.level||1,listItem:e.listItem,children:[e]}}function p(e,t){let i=t.level||1,n=t.listItem||"normal",a="string"==typeof t.listItem;if(s(e)&&(e.level||1)===i&&a&&(e.listItem||"normal")===n)return e;if(!("children"in e))return;let l=e.children[e.children.length-1];return l&&!r(l)?p(l,t):void 0}function f(e){let t="";return e.children.forEach(e=>{l(e)?t+=e.text:a(e)&&(t+=f(e))}),t}let m=/^\s/,x=/\s$/,g="html";e.s(["LIST_NEST_MODE_HTML",0,g,"buildMarksTree",0,d,"isPortableTextBlock",0,i,"isPortableTextListItemBlock",0,n,"isPortableTextToolkitList",0,s,"isPortableTextToolkitSpan",0,a,"isPortableTextToolkitTextNode",0,l,"nestLists",0,u,"spanToPlainText",0,f,"toPlainText",0,function(e){let t=Array.isArray(e)?e:[e],n="";return t.forEach((e,s)=>{if(!i(e))return;let a=!1;e.children.forEach(e=>{r(e)?(n+=a&&n&&!x.test(n)&&!m.test(e.text)?" ":"",n+=e.text,a=!1):a=!0}),s!==t.length-1&&(n+="\n\n")}),n}],908035);var b=e.i(271645);let y={textDecoration:"underline"},v=(e,t)=>
1`[@portabletext/react] Unknown ${e}, specify a component for it in the \`components.${t}\` prop`,w=e=>v(`block type "${e}"`,"types");function j(e){console.warn(e)}let k={display:"none"},N={types:{},block:{normal:({children:e})=>(0,t.jsx)("p",{children:e}),blockquote:({children:e})=>(0,t.jsx)("blockquote",{children:e}),h1:({children:e})=>(0,t.jsx)("h1",{children:e}),h2:({children:e})=>(0,t.jsx)("h2",{children:e}),h3:({children:e})=>(0,t.jsx)("h3",{children:e}),h4:({children:e})=>(0,t.jsx)("h4",{children:e}),h5:({children:e})=>(0,t.jsx)("h5",{children:e}),h6:({children:e})=>(0,t.jsx)("h6",{children:e})},marks:{em:({children:e})=>(0,t.jsx)("em",{children:e}),strong:({children:e})=>(0,t.jsx)("strong",{children:e}),code:({children:e})=>(0,t.jsx)("code",{children:e}),underline:({children:e})=>(0,t.jsx)("span",{style:y,children:e}),"strike-through":({children:e})=>(0,t.jsx)("del",{children:e}),link:({children:e,value:r})=>(0,t.jsx)("a",{href:r?.href,children:e})},list:{number:({children:e})=>(0,t.jsx)("ol",{children:e}),bullet:({children:e})=>(0,t.jsx)("ul",{children:e})},listItem:({children:e})=>(0,t.jsx)("li",{children:e}),hardBreak:()=>(0,t.jsx)("br",{}),unknownType:({value:e,isInline:r})=>{let i=w(e._type);return(0,t.jsx)(r?"span":"div",{style:k,children:i})},unknownMark:({markType:e,children:r})=>(0,t.jsx)("span",{className:`unknown__pt__mark__${e}`,children:r}),unknownList:({children:e})=>(0,t.jsx)("ul",{children:e}),unknownListItem:({children:e})=>(0,t.jsx)("li",{children:e}),unknownBlockStyle:({children:e})=>(0,t.jsx)("p",{children:e})};function I(e,t,r){let i=t[r],n=e[r];return"function"==typeof i||i&&"function"==typeof n?i:i?{...n,...i}:n}function _(e){let{node:t,index:r,isInline:i,renderNode:n}=e,s=d(t).map((e,t)=>n({node:e,isInline:!0,index:t,renderNode:n}));return{_key:t._key||`block-${r}`,children:s,index:r,isInline:i,node:t}}function A(){}e.s(["PortableText",0,function({value:e,components:r,listNestingMode:o,onMissingComponent:c=j}){let d=c||A,h=u(Array.isArray(e)?e:[e],o||g),p=(0,b.useMemo)(()=>r?function(e,t){let{block:r,list:i,listItem:n,marks:s,types:a,...l}=t;return{...e,block:I(e,t,"block"),list:I(e,t,"list"),listItem:I(e,t,"listItem"),marks:I(e,t,"marks"),types:I(e,t,"types"),...l}}(N,r):N,[r]),m=(0,b.useMemo)(()=>{var e,r;return e=p,r=d,function o(c){var d,u,h,p,m,x,g,b;let y,j,{node:k,index:N,isInline:I}=c,A=k._key||`node-${N}`;return s(k)?function(i,n,s){let a=i.children.map((e,t)=>o({node:e._key?e:{...e,_key:`li-${n}-${t}`},index:t,isInline:!1,renderNode:o})),l=e.list,c=("function"==typeof l?l:l[i.listItem])||e.unknownList;if(c===e.unknownList){let e=i.listItem||"bullet";r(v(`list style "${e}"`,"list"),{nodeType:"listStyle",type:e})}return(0,t.jsx)(c,{value:i,index:n,isInline:!1,renderNode:o,children:a},s)}(k,N,A):n(k)?function(i,n,s){let a=_({node:i,index:n,isInline:!1,renderNode:o}),l=e.listItem,c=("function"==typeof l?l:l[i.listItem])||e.unknownListItem;if(c===e.unknownListItem){let e=i.listItem||"bullet";r(v(`list item style "${e}"`,"listItem"),{type:e,nodeType:"listItemStyle"})}let d=a.children;if(i.style&&"normal"!==i.style){let{listItem:e,...t}=i;d=o({node:t,index:n,isInline:!1,renderNode:o})}return(0,t.jsx)(c,{value:i,index:n,isInline:!1,renderNode:o,children:d},s)}(k,N,A):a(k)?function(i,n){let{markDef:s,markType:a,markKey:l}=i,c=e.marks[a]||e.unknownMark,d=i.children.map((e,t)=>o({node:e,index:t,isInline:!0,renderNode:o}));return c===e.unknownMark&&r(v(`mark type "${a}"`,"marks"),{nodeType:"mark",type:a}),(0,t.jsx)(c,{text:f(i),value:s,markType:a,markKey:l,renderNode:o,children:d},n)}(k,A):k._type in e.types?(d=k,u=N,h=A,p=I,(y=e.types[d._type])?(0,t.jsx)(y,{value:d,isInline:p,index:u,renderNode:o},h):null):i(k)?function(i,n,s,a){let{_key:l,...c}=_({node:i,index:n,isInline:a,renderNode:o}),d=c.node.style||"normal",u=("function"==typeof e.block?e.block:e.block[d])||e.unknownBlockStyle;return u===e.unknownBlockStyle&&r(v(`block style "${d}"`,"block"),{nodeType:"blockStyle",type:d}),(0,t.jsx)(u,{...c,value:c.node,renderNode:o},s)}(k,N,A,I):l(k)?function(r,i){if("\n"===r.text){let r=e.hardBreak;return r?(0,t.jsx)(r,{},i):"\n"}return r.text}(k,A):(m=k,x=N,g=A,b=I,r(w(m._type),{nodeType:"block",type:m._type}),j=e.unknownType,(0,t.jsx)(j,{value:m,isInline:b,index:x,renderNode:o},g))}},[p,d]);return(0,t.jsx)(t.Fragment,{children:h.map((e,t)=>m({node:e,index:t,isInline:!1,renderNode:m}))})}],236726)},776159,e=>{"use strict";e.s(["apiVersion",0,"2024-01-01","dataset",0,"production","projectId",0,"ih1cp3ax"])},481293,e=>{"use strict";var t=e.i(273299),r=e.i(776159);let i=(0,t.createImageUrlBuilder)({projectId:r.projectId,dataset:r.dataset});e.s(["urlFor",0,function(e){return i.image(e)}])},251984,e=>{"use strict";
1var t=e.i(843476),r=e.i(236726),i=e.i(657688),n=e.i(948148),s=e.i(481293);let a={xsmall:"max-w-[12rem]",small:"max-w-xs",medium:"max-w-md",large:"max-w-2xl",full:""},l={left:"",center:"mx-auto",right:"ml-auto"};function o({value:e}){let r=(0,n.useTranslations)("common");if(!e?.asset)return null;let c=a[e.size??"full"]??"",d=c?l[e.align??"left"]??"":"";return(0,t.jsxs)("figure",{className:`my-8 ${c} ${d}`,children:[(0,t.jsx)("div",{className:"relative overflow-hidden rounded-lg",children:(0,t.jsx)(i.default,{src:(0,s.urlFor)(e).width(900).url(),alt:e.alt??"",width:900,height:500,className:"w-full object-cover"})}),e.caption&&(0,t.jsx)("figcaption",{className:"mt-2 text-center text-sm text-gray-500",children:e.caption}),e.photographer&&(0,t.jsxs)("figcaption",{className:"mt-1 text-center text-xs text-gray-400",children:[r("photoCredit"),": ",e.photographer]})]})}let c={types:{image:({value:e})=>(0,t.jsx)(o,{value:e})},marks:{link:({value:e,children:r})=>(0,t.jsx)("a",{href:e?.href,target:e?.blank?"_blank":void 0,rel:e?.blank?"noopener noreferrer":void 0,className:"underline text-green-700 hover:text-green-900",children:r}),highlight:({children:e})=>(0,t.jsx)("mark",{className:"bg-yellow-100 text-yellow-900 px-0.5 rounded",children:e})},block:{h2:({children:e})=>(0,t.jsx)("h2",{className:"mt-10 mb-4 text-2xl font-bold text-gray-900",children:e}),h3:({children:e})=>(0,t.jsx)("h3",{className:"mt-8 mb-3 text-xl font-semibold text-gray-900",children:e}),h4:({children:e})=>(0,t.jsx)("h4",{className:"mt-6 mb-2 text-lg font-semibold text-gray-900",children:e}),blockquote:({children:e})=>(0,t.jsx)("blockquote",{className:"my-6 border-l-4 border-green-600 pl-6 italic text-gray-700",children:e}),normal:({children:e})=>(0,t.jsx)("p",{className:"mb-4 leading-relaxed text-gray-700",children:e})},list:{bullet:({children:e})=>(0,t.jsx)("ul",{className:"mb-4 ml-6 list-disc space-y-1 text-gray-700 marker:text-gray-400",children:e}),number:({children:e})=>(0,t.jsx)("ol",{className:"mb-4 ml-6 list-decimal space-y-1 text-gray-700 marker:text-gray-500",children:e})},listItem:{bullet:({children:e})=>(0,t.jsx)("li",{className:"leading-relaxed",children:e}),number:({children:e})=>(0,t.jsx)("li",{className:"leading-relaxed",children:e})}};e.s(["PortableText",0,function({value:e,className:i}){return(0,t.jsx)("div",{className:i,children:(0,t.jsx)(r.PortableText,{value:e,components:c})})}])},761911,e=>{"use strict";let t=(0,e.i(475254).default)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["Users",0,t],761911)},952396,18677,e=>{"use strict";var t=e.i(843476),r=e.i(456904);let i="Europe/Helsinki";function n(e,t,r={day:"numeric",month:"long",year:"numeric"}){return new Date(e).toLocaleDateString(t,{...r,timeZone:i})}function s(e,t,r={hour:"2-digit",minute:"2-digit"}){return new Date(e).toLocaleTimeString(t,{...r,timeZone:i})}function a(e){return new Date(e).toLocaleDateString("en-CA",{timeZone:i})}function l(e,t){return a(e)===a(t)}e.s(["eventDayKey",0,a,"formatEventDate",0,n,"formatEventTime",0,s,"isSameEventDay",0,l],18677);var o=e.i(846932),c=e.i(861745),d=e.i(948148),u=e.i(87316);let h=(0,e.i(475254).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);var p=e.i(761911),f=e.i(247984),m=e.i(167881);e.s(["EventCard",0,function({event:e,className:i=""}){let a=(0,c.useLocale)(),x=(0,d.useTranslations)("events"),g={pathname:"/events/[slug]",params:{slug:(0,f.stegaClean)(e.slug.current)}},b=new Date(e.startAt)<new Date,y=function(e,t,r){let i={weekday:"short",day:"numeric",month:"long",year:"numeric"},a=n(e,r,i),o=s(e,r);if(!t)return[{text:a,sep:" · "},{text:o,sep:""}];let c=s(t,r);return l(e,t)?[{text:a,sep:" · "},{text:o,sep:"–"},{text:c,sep:""}]:[{text:a,sep:" · "},{text:o,sep:" – "},{text:n(t,r,i),sep:" · "},{text:c,sep:""}]}(e.startAt,e.endAt,"fi"===a?"fi-FI":"en-GB"),v=e.organizers?.filter(Boolean)??[];return(0,t.jsx)(o.motion.article,{whileHover:{y:-1},transition:{duration:.25,ease:"easeOut"},className:`group h-full ${i}`,children:(0,t.jsx)("div",{className:`flex h-full flex-col overflow-hidden rounded-2xl border border-[#192B00]/10 bg-white shadow-sm transition-shadow duration-300 hover:shadow-md ${b?"grayscale":""}`,children:(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-4 p-5",children:[e.categories&&e.categories.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap gap-1.5",children:e.categories.filter(
1Boolean).map(e=>(0,t.jsx)("span",{className:"rounded-full bg-[#d2d8c4] px-2.5 py-1 text-xs font-medium text-[#192B00]",children:e.title},e._id))}),(0,t.jsx)(r.Link,{href:g,children:(0,t.jsx)("h3",{className:"text-lg font-bold leading-snug text-[#192B00] transition-colors group-hover:text-[#711631]",children:e.title})}),(0,t.jsxs)("div",{className:"space-y-2 text-sm text-[#192B00]",children:[(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)(u.Calendar,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#711631]"}),(0,t.jsx)("span",{suppressHydrationWarning:!0,children:y.map((e,r)=>(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"whitespace-nowrap",children:e.text}),e.sep]},r))})]}),e.location&&(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)(h,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#711631]"}),(0,t.jsx)("span",{children:e.location})]}),v.length>0&&(0,t.jsxs)("div",{className:"flex items-start gap-2",children:[(0,t.jsx)(p.Users,{className:"mt-0.5 h-4 w-4 shrink-0 text-[#711631]"}),(0,t.jsx)("span",{children:v.join(", ")})]})]}),(0,t.jsx)("div",{className:"mt-auto pt-1",children:(0,t.jsx)(m.Button,{asChild:!0,size:"sm",className:"w-full",children:(0,t.jsx)(r.Link,{href:g,children:x("readMore")})})})]})})})}],952396)},185886,e=>{"use strict";var t=e.i(843476),r=e.i(456904),i=e.i(657688),n=e.i(846932),s=e.i(948148),a=e.i(620278),l=e.i(463059),o=e.i(247984),c=e.i(481293);
1e.s(["CampaignCard",0,function({campaign:e,className:d=""}){let u=(0,s.useTranslations)("common"),h={pathname:"/campaigns/[slug]",params:{slug:(0,o.stegaClean)(e.slug.current)}},p=e.featuredImage?(0,c.urlFor)(e.featuredImage).width(600).height(340).url():null;return(0,t.jsx)(n.motion.article,{whileHover:{y:-1},transition:{duration:.25,ease:"easeOut"},className:`group h-full ${d}`,children:(0,t.jsxs)(r.Link,{href:h,className:"flex h-full flex-col overflow-hidden rounded-2xl border border-[#192B00]/10 bg-white shadow-sm transition-shadow duration-300 hover:shadow-md",children:[(0,t.jsx)("div",{className:"relative aspect-video overflow-hidden bg-gray-100",children:p?(0,t.jsx)(i.default,{src:p,alt:e.title,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}):(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-[#711631]/10",children:(0,t.jsx)(a.Target,{className:"h-12 w-12 text-[#711631]"})})}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-3 p-5",children:[(0,t.jsx)("h3",{className:"text-base font-bold leading-snug text-[#192B00] transition-colors group-hover:text-[#711631] md:text-lg",children:e.title}),e.excerpt&&(0,t.jsx)("p",{className:"text-sm leading-relaxed text-gray-600 line-clamp-3",children:e.excerpt}),e.organizer?.name&&(0,t.jsx)("p",{className:"text-sm font-medium text-[#711631]",children:e.organizer.name}),(0,t.jsxs)("span",{className:"mt-auto inline-flex items-center gap-0.5 pt-1 text-sm font-bold text-[#192B00]",children:[u("readMore"),(0,t.jsx)(l.ChevronRight,{className:"h-3.5 w-3.5"})]})]})]})})}])},59551,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(30030),n=e.i(75830),s=e.i(820783),a=e.i(981140),l=e.i(369340),o=e.i(248425),c=e.i(934620),d=e.i(296626),u=e.i(610772),h="Collapsible",[p,f]=(0,i.createContextScope)(h),[m,x]=p(h),g=r.forwardRef((e,i)=>{let{__scopeCollapsible:n,open:s,defaultOpen:a,disabled:c,onOpenChange:d,...p}=e,[f,x]=(0,l.useControllableState)({prop:s,defaultProp:a??!1,onChange:d,caller:h});return(0,t.jsx)(m,{scope:n,disabled:c,contentId:(0,u.useId)(),open:f,onOpenToggle:r.useCallback(()=>x(e=>!e),[x]),children:(0,t.jsx)(o.Primitive.div,{"data-state":k(f),"data-disabled":c?"":void 0,...p,ref:i})})});g.displayName=h;var b="CollapsibleTrigger",y=r.forwardRef((e,r)=>{let{__scopeCollapsible:i,...n}=e,s=x(b,i);return(0,t.jsx)(o.Primitive.button,{type:"button","aria-controls":s.contentId,"aria-expanded":s.open||!1,"data-state":k(s.open),"data-disabled":s.disabled?"":void 0,disabled:s.disabled,...n,ref:r,onClick:(0,a.composeEventHandlers)(e.onClick,s.onOpenToggle)})});y.displayName=b;var v="CollapsibleContent",w=r.forwardRef((e,r)=>{let{forceMount:i,...n}=e,s=x(v,e.__scopeCollapsible);return(0,t.jsx)(d.Presence,{present:i||s.open,children:({present:e})=>(0,t.jsx)(j,{...n,ref:r,present:e})})});w.displayName=v;var j=r.forwardRef((e,i)=>{let{__scopeCollapsible:n,present:a,children:l,...d}=e,u=x(v,n),[h,p]=r.useState(a),f=r.useRef(null),m=(0,s.useComposedRefs)(i,f),g=r.useRef(0),b=g.current,y=r.useRef(0),w=y.current,j=u.open||h,N=r.useRef(j),I=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>N.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.useLayoutEffect)(()=>{let e=f.current;if(e){I.current=I.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,y.current=t.width,N.current||(e.style.transitionDuration=I.current.transitionDuration,e.style.animationName=I.current.animationName),p(a)}},[u.open,a]),(0,t.jsx)(o.Primitive.div,{"data-state":k(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!j,...d,ref:m,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style},children:j&&l})});function k(e){return e?"open":"closed"}var N=e.i(586318),I="Accordion",_=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[A,$,C]=(0,n.createCollection)(I),[O,T]=(0,i.createContextScope)(I,[C,f]),B=f(),S=r.default.forwardRef((e,r)=>{let{type:i,...n}=e;return(0,t.jsx)(A.Provider,{scope:e.__scopeAccordion,children:"multiple"===i?(0,t.jsx)(L,{...n,ref:r}):(0,t.jsx)(D,{...n,ref:r})})});S.displayName=I;var[M,P]=O(I),[E,R]=O(I,{collapsible:!1}),D=r.default.forwardRef((e,i)=>{let{value:n,defaultValue:s,onValueChange:a=()=>{},collapsible:o=!1,...c}=e,[d,u]=(0,l.useControllableState)({prop:n,defaultProp:s??"",onChange:a,caller:I});return(0,t.jsx)(M,{scope:e.__scopeAccordion,value:r.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:u,onItemClose:r.default.useCallback(()=>o&&u(""),[o,u]),children:(0,t.jsx)(E,{scope:e.__scopeAccordion,collapsible:o,children:(0,t.jsx)(z,{...c,ref:i})})})}),L=r.default.forwardRef((e,i)=>{let{value:n,defaultValue:s,onValueChange:a=()=>{},...o}=e,[c,d]=(0,l.useControllableState)({prop:n,defaultProp:s??[],onChange:a,caller:I}),u=r.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),h=r.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(M,{scope:e.__scopeAccordion,value:c,onItemOpen:u,onItemClose:h,children:(0,t.jsx)(E,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(z,{...o,ref:i}
1)})})}),[U,H]=O(I),z=r.default.forwardRef((e,i)=>{let{__scopeAccordion:n,disabled:l,dir:c,orientation:d="vertical",...u}=e,h=r.default.useRef(null),p=(0,s.useComposedRefs)(h,i),f=$(n),m="ltr"===(0,N.useDirection)(c),x=(0,a.composeEventHandlers)(e.onKeyDown,e=>{if(!_.includes(e.key))return;let t=e.target,r=f().filter(e=>!e.ref.current?.disabled),i=r.findIndex(e=>e.ref.current===t),n=r.length;if(-1===i)return;e.preventDefault();let s=i,a=n-1,l=()=>{(s=i+1)>a&&(s=0)},o=()=>{(s=i-1)<0&&(s=a)};switch(e.key){case"Home":s=0;break;case"End":s=a;break;case"ArrowRight":"horizontal"===d&&(m?l():o());break;case"ArrowDown":"vertical"===d&&l();break;case"ArrowLeft":"horizontal"===d&&(m?o():l());break;case"ArrowUp":"vertical"===d&&o()}let c=s%n;r[c].ref.current?.focus()});return(0,t.jsx)(U,{scope:n,disabled:l,direction:c,orientation:d,children:(0,t.jsx)(A.Slot,{scope:n,children:(0,t.jsx)(o.Primitive.div,{...u,"data-orientation":d,ref:p,onKeyDown:l?void 0:x})})})}),q="AccordionItem",[F,K]=O(q),V=r.default.forwardRef((e,r)=>{let{__scopeAccordion:i,value:n,...s}=e,a=H(q,i),l=P(q,i),o=B(i),c=(0,u.useId)(),d=n&&l.value.includes(n)||!1,h=a.disabled||e.disabled;return(0,t.jsx)(F,{scope:i,open:d,disabled:h,triggerId:c,children:(0,t.jsx)(g,{"data-orientation":a.orientation,"data-state":X(d),...o,...s,ref:r,disabled:h,open:d,onOpenChange:e=>{e?l.onItemOpen(n):l.onItemClose(n)}})})});V.displayName=q;var W="AccordionHeader",Y=r.default.forwardRef((e,r)=>{let{__scopeAccordion:i,...n}=e,s=H(I,i),a=K(W,i);return(0,t.jsx)(o.Primitive.h3,{"data-orientation":s.orientation,"data-state":X(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:r})});Y.displayName=W;var Q="AccordionTrigger",Z=r.default.forwardRef((e,r)=>{let{__scopeAccordion:i,...n}=e,s=H(I,i),a=K(Q,i),l=R(Q,i),o=B(i);return(0,t.jsx)(A.ItemSlot,{scope:i,children:(0,t.jsx)(y,{"aria-disabled":a.open&&!l.collapsible||void 0,"data-orientation":s.orientation,id:a.triggerId,...o,...n,ref:r})})});Z.displayName=Q;var G="AccordionContent",J=r.default.forwardRef((e,r)=>{let{__scopeAccordion:i,...n}=e,s=H(I,i),a=K(G,i),l=B(i);return(0,t.jsx)(w,{role:"region","aria-labelledby":a.triggerId,"data-orientation":s.orientation,...l,...n,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function X(e){return e?"open":"closed"}J.displayName=G;var ee=e.i(631171),ee=ee,et=e.i(647163);function er({...e}){return(0,t.jsx)(S,{"data-slot":"accordion",...e})}function ei({className:e,...r}){return(0,t.jsx)(V,{"data-slot":"accordion-item",className:(0,et.cn)("border-b last:border-b-0",e),...r})}function en({className:e,children:r,...i}){return(0,t.jsx)(Y,{className:"flex",children:(0,t.jsxs)(Z,{"data-slot":"accordion-trigger",className:(0,et.cn)("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...i,children:[r,(0,t.jsx)(ee.default,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function es({className:e,children:r,...i}){return(0,t.jsx)(J,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...i,children:(0,t.jsx)("div",{className:(0,et.cn)("pt-0 pb-4",e),children:r})})}var ea=e.i(251984);e.s(["FaqBlockComponent",0,function({block:e}){let r=e.items??[];return 0!==r.length||e.heading?(0,t.jsx)("section",{className:"py-4",children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl px-4",children:[e.heading&&(0,t.jsx)("h2",{className:"mb-6 text-2xl font-bold text-[#192B00] sm:text-3xl",children:e.heading}),r.length>0&&(0,t.jsx)("div",{className:"rounded-xl border border-[#192B00]/10 bg-[#711631]/5 px-4 sm:px-6",children:(0,t.jsx)(er,{type:"single",collapsible:!0,className:"w-full",children:r.map((e,r)=>(0,t.jsxs)(ei,{value:`item-${r}`,className:"border-[#192B00]/10 last:border-b-0",children:[(0,t.jsx)(en,{className:"py-5 text-base font-semibold text-[#192B00] hover:no-underline hover:text-[#711631] data-[state=open]:text-[#711631] [&[data-state=open]>svg]:text-[#711631]",children:e.question}),(0,t.jsx)(es,{className:"text-[#192B00]/80",children:e.answer&&(0,t.jsx)(ea.PortableText,{value:e.answer})})]},r))})})]})}):null}],59551)},687127,e=>{"use strict";var t=e.i(843476),r=e.i(271645),i=e.i(263488);e.s(["NewsletterBlockComponent",0,function({block:e,locale:n}){let s="fi"===n,[a,l]=(0,r.useState)(""),[o,c]=(0,r.useState)("idle");async function d(e){if(e.preventDefault(),a){c("loading");try{if(!(await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a,locale:n})})).ok)throw Error("failed");c("success"),l("")}catch{c("error")}}}let u=e.heading??(s?"Tilaa uutiskirje":"Subscribe to our newsletter"),h=e.buttonLabel??(s?"Tilaa":"Subscribe"),p=e.successMessage??(s?"Kiitos! Olet nyt tilaajalistallamme.":"Thank y
1ou! You are now on our list."),f=s?"Sähköpostiosoitteesi":"Your email address";return(0,t.jsx)("section",{className:"py-16",children:(0,t.jsxs)("div",{className:"mx-auto max-w-2xl px-4 text-center",children:[(0,t.jsx)("div",{className:"mb-6 inline-flex h-14 w-14 items-center justify-center rounded-full bg-[#711631]/10",children:(0,t.jsx)(i.Mail,{className:"h-6 w-6 text-[#711631]"})}),(0,t.jsx)("h2",{className:"mb-3 text-3xl font-bold text-[#192B00]",children:u}),e.description&&(0,t.jsx)("p",{className:"mb-8 whitespace-pre-line leading-relaxed text-gray-600",children:e.description}),"success"===o?(0,t.jsx)("p",{className:"rounded-lg bg-[#711631]/5 px-6 py-4 font-medium text-[#711631]",children:p}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{onSubmit:d,className:"flex flex-col gap-3 sm:flex-row",children:[(0,t.jsx)("input",{type:"email",required:!0,value:a,onChange:e=>l(e.target.value),placeholder:f,"aria-label":f,disabled:"loading"===o,className:"flex-1 rounded-full border border-gray-200 bg-white px-4 py-3 text-[#192B00] placeholder-gray-400 focus:border-transparent focus:outline-none focus:ring-2 focus:ring-[#711631]/30 disabled:opacity-60"}),(0,t.jsx)("button",{type:"submit",disabled:"loading"===o,className:"whitespace-nowrap rounded-full bg-[#192B00] px-6 py-3 font-semibold text-white shadow-[0_1px_3px_rgba(0,0,0,0.14)] transition-colors hover:bg-[#192B00]/90 disabled:opacity-60",children:"loading"===o?"…":h})]}),"error"===o&&(0,t.jsx)("p",{className:"mt-3 text-sm text-[#711631]",children:s?"Tilaus epäonnistui. Yritä uudelleen.":"Subscription failed. Please try again."})]})]})})}])},994179,e=>{"use strict";var t=e.i(843476),r=e.i(991918),i=e.i(225913),n=e.i(647163);let s=(0,i.cva)("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:i,asChild:a=!1,...l}){let o=a?r.Slot:"span";return(0,t.jsx)(o,{"data-slot":"badge",className:(0,n.cn)(s({variant:i}),e),...l})}])},704272,e=>{"use strict";var t=e.i(843476),r=e.i(456904),i=e.i(657688),n=e.i(846932),s=e.i(948148),a=e.i(41966),l=e.i(247984),o=e.i(994179),c=e.i(647163);function d({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,c.cn)("bg-card text-card-foreground flex flex-col gap-6 py-6 rounded-lg border shadow-sm",e),...r})}function u({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-6",e),...r})}var h=e.i(167881),p=e.i(481293);let f={active:"bg-[#EDEDE6] text-[#192B00] border-transparent",closed:"bg-gray-100 text-gray-600 border-transparent",draft:"bg-yellow-100 text-yellow-800 border-transparent"};e.s(["PetitionCard",0,function({petition:e,className:c=""}){let m=(0,s.useTranslations)("petitions"),x=(0,s.useTranslations)("common"),g={pathname:"/petitions/[slug]",params:{slug:(0,l.stegaClean)(e.slug.current)}},b=e.featuredImage?(0,p.urlFor)(e.featuredImage).width(600).height(340).url():null,y=f[e.status]??f.draft,v=m({active:"statusActive",closed:"statusClosed",draft:"statusActive"}[e.status]??"statusActive"),w="active"===e.status;return(0,t.jsx)(n.motion.div,{whileHover:{y:-1},transition:{duration:.25,ease:"easeOut"},className:`h-full ${c}`,children:(0,t.jsxs)(d,{className:"group h-full gap-0 overflow-hidden rounded-2xl border border-[#192B00]/10 bg-white py-0 shadow-sm transition-shadow duration-300 hover:shadow-md",children:[(0,t.jsxs)(r.Link,{href:g,className:"relative block aspect-video overflow-hidden",children:[b?(0,t.jsx)(i.default,{src:b,alt:e.title,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}):(0,t.jsxs)("div",{className:"relative flex h-full w-full flex-col",children:[(0,t.jsx)("div",{className:"flex-1 bg-black"}),(0,t.jsx)("div",{className:"flex-1 bg-white"}),(0,t.jsx)("div",{className:"flex-1 bg-[#192B00]"}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)("div",{className:"h-0 w-0 border-t-40 border-b-40 border-l-56 border-t-transparent border-b-transparent border-l-[#711631]"})})]}),(0,t.jsx)("div",{className:"absolute top-3 left-3",children:(0,t.jsx)(o.Badge,{className:`rounded-full text-xs ${y}`,children:v})}),e.targetSignatures&&(0,t.jsx)("div",{className:"absolute bottom-3 right-3",children:(0,t.jsxs)("span",{className:"rounded-full bg-black/50 px-2.5 py-1 text-xs text-white backdrop-blur-sm",children:[m("goal"),": ",e.targetSignatures.toLocaleStr
1ing()]})})]}),(0,t.jsxs)(u,{className:"flex flex-1 flex-col gap-3 p-5",children:[(0,t.jsx)(r.Link,{href:g,children:(0,t.jsx)("h3",{className:"text-lg font-bold leading-snug text-[#192B00] transition-colors group-hover:text-[#711631]",children:e.title})}),e.goal&&(0,t.jsx)("p",{className:"text-sm leading-relaxed text-gray-600 line-clamp-3",children:e.goal}),(0,t.jsxs)("div",{className:"mt-auto flex gap-2 pt-1",children:[(0,t.jsx)(h.Button,{asChild:!0,variant:"outline",size:"sm",className:"flex-1",children:(0,t.jsx)(r.Link,{href:g,children:x("readMore")})}),e.externalSignUrl&&w&&(0,t.jsx)(h.Button,{asChild:!0,size:"sm",className:"flex-1",children:(0,t.jsxs)("a",{href:e.externalSignUrl,target:"_blank",rel:"noopener noreferrer",children:[m("sign"),(0,t.jsx)(a.PenTool,{className:"ml-1 h-3.5 w-3.5"})]})})]})]})]})})}],704272)}]);

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.