PageSourceSearch

https://www.spleis.no/public/project-matching-gifts-MatchingGift.js?v=ee2fa44b907f953f890f

js spleis.no collected 2026-09-24 09:43:56 UTC 3,496 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3058],{32546:(e,n,t)=>{Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return h}});var a=t(74848),r=t(96540),l=g(t(49684)),i=t(5273),o=t(84605),s=g(t(48805)),u=g(t(79923)),d=t(94892),c=g(t(59092)),f=t(54928),m=g(t(43179));function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t<n;t++)a[t]=e[t];return a}function g(e){return e&&e.__esModule?e:{default:e}}var h=function(){var e,n=(0,d.useProject)(),t=function(e){if(Array.isArray(e))return e}(e=(0,r.useState)(!1))||function(e,n){var t,a,r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var l=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(l.push(t.value),!n||l.length!==n);i=!0);}catch(e){o=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw a}}return l}}(e,2)||function(e,n){if(e){if("string"==typeof e)return p(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return p(e,n)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),g=t[0],h=t[1],x=n.matchingGift,v=x.logo,b=x.orgName,y=x.maxAmount,j=x.matching,L=x.profile,_=x.paidAmount,A=(null==L?void 0:L.bannerText)?(0,a.jsxs)("span",{className:c.default.heading,children:[null==L?void 0:L.bannerText," ",(null==L?void 0:L.customLink)&&(0,a.jsx)(f.Link,{className:c.default.bannerLink,to:L.customLink,children:"Les\xa0mer"})]}):(0,a.jsxs)("span",{className:c.default.heading,children:[b," dobler bel\xf8pet ",(0,a.jsxs)("span",{className:c.default.maxAmount,children:["inntil ",(0,i.formatMoneyKr)(y)]})]}),N=(null==L?void 0:L.bannerText)?(0,a.jsx)("span",{className:c.default.heading,children:null==L?void 0:L.bannerText}):(0,a.jsxs)("span",{className:c.default.heading,children:[b," har st\xf8ttet innsamlingen med ",(0,i.formatMoneyKr)(_)]});return(0,a.jsx)("div",{className:c.default.container,children:(0,a.jsx)("div",{className:c.default.wrapper,children:(0,a.jsxs)("div",{className:[c.default.description,(null==L?void 0:L.logo)?c.default.descriptionWithLargeLogo:""].join(" "),children:[(null==L?void 0:L.logo)?(0,a.jsx)(m.default,{className:c.default.largeLogo,src:L.logo}):v&&(0,a.jsx)(l.default,{src:v,size:"40px",className:c.default.roundedImage,loading:"lazy"}),j?A:N,j&&!(null==L?void 0:L.customLink)&&(0,a.jsx)(u.default,{tightFocus:!0,onClick:function(){g||(0,o.trackEvent)("project","matching-tip",{"project-id":n.id}),h(!g)},className:c.default.showExplanation,children:"Hva betyr dette?"}),j&&(0,a.jsx)(s.default,{isVisible:g,children:(0,a.jsxs)("div",{className:c.default.explanation,children:["For hver krone du gir, vil ",b," doble giverbel\xf8pet til denne spleisen – inntil"," ",(0,i.formatMoneyKr)(y),"."]})})]})})})}},59092:(e,n,t)=>{t.r(n),t.d(n,{default:()=>a});let a={container:"P7ovO",wrapper:"eDj8U",description:"Qgy6i",descriptionWithLargeLogo:"SS387",heading:"gVUpP",maxAmount:"TeMPx",bannerLink:"Cb0mg",showExplanation:"KZLk_",explanation:"fPlrV","explanation-animation":"a8RsH",largeLogo:"t32mu",roundedImage:"SsPql"}}}]);
2//# sourceMappingURL=project-matching-gifts-MatchingGift.js.map?v=ee2fa44b907f953f890f

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.