1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1725,1747],{11049:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});let n={linkSizableDefault:"v3LH5",large:"W6idh",wide:"TFxta"}},24987:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});var n=r(74848),o=i(r(48060)),c=i(r(11049));function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.className,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n<c.length;n++)r=c[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className"]),i=[c.default.linkSizableDefault];return(0,n.jsx)(o.default,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({className:((function(e){if(Array.isArray(e))return a(e)})(i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).concat([void 0===t?"":t]).join(" ")},r))}},30567:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useOrganization",{enumerable:!0,get:function(){return c}});var n=r(96540),o=function(e){return e&&e.__esModule?e:{default:e}}(r(74374)),c=function(){return(0,n.useContext)(o.default)}},38790:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OrganizationTemplateCard",{enumerable:!0,get:function(){return g}});var n=r(74848),o=r(96540),c=r(69733),a=b(r(96025)),i=b(r(51421)),l=r(95642),u=b(r(30680)),s=r(30362),f=b(r(43450)),d=r(30567),y=r(68221),p=r(86106),h=r(54928);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function b(e){return e&&e.__esModule?e:{default:e}}var g=function(e){var t,r=e.className,b=e.templateId,g=e.title,O=e.description,v=e.img_url,x=e.birthday,j=e.dugnad,w=e.params,E=e.preview,P=e.customLink,_=e.customLinkText,C=e.startProjectText,k=e.causeId,S=e.redirectToPreview,N=e.schoolId,A=e.causeType,T=(0,d.useOrganization)().id,I=w||"?templateId=".concat(b,"&organizationId=").concat(T).concat(S?"&redirectToPreview=true":"").concat(N?"&schoolId=".concat(N):""),L=(0,o.useCallback)(function(){return(0,p.getTemplateCauseImage)({img_url:v,birthday:x,dugnad:j})},[v]),R=(0,p.getDefaultStartProjectText)(A),D=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)(0))||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var c=[],a=!0,i=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(c.push(r.value),!t||c.length!==t);a=!0);}catch(e){i=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(i)throw n}}return c}}(t,2)||function(e,t){if(e){if("string"==typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(e,t)}}
1(t,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.")}(),M=D[0],z=D[1],G=(0,c.useDispatch)();(0,o.useEffect)(function(){G((0,l.getTotalCollectedAmountByQuery)({templateIds:[b]})).then(function(e){z(e.count)})},[b]);var B=function(e){return e.preview?(0,n.jsx)(s.SecondaryButton,{className:[f.default.previewButton,y.WHITE_ORGANIZATION_COLOR].join(" "),tabindex:"-1",children:"G\xe5 til aksjonssiden"}):(0,n.jsx)(s.SecondaryButton,{as:h.Link,to:"/cause/".concat(k),className:[y.WHITE_ORGANIZATION_COLOR,f.default.noVisitedStyle].join(" "),children:"G\xe5 til aksjonssiden"})};return(0,n.jsx)(u.default,{className:void 0===r?"":r,title:g,description:O,banner:L(),projectCount:M,customLink:P,shortenTexts:!1,children:(0,n.jsx)("div",{className:f.default.buttons,children:P?(0,n.jsx)(a.default,{to:"".concat(P),children:_||"Les mer"}):void 0!==E&&E?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.ActionButton,{className:f.default.previewButton,tabIndex:-1,children:C||R}),B({preview:!0})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.default,{category:"org-purpose",action:"select",properties:{templateId:b,organizationId:T},linkParams:I,className:y.PRIMARY_ORGANIZATION_COLOR,forceLogin:A===p.TEMPLATE_CAUSE_TYPE.SCHOOL_VGS,children:C||R}),B({preview:!1})]})})})}},43450:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});let n={previewButton:"azQ2c",buttons:"COM2k",graphContainer:"NTf0a",collectedAmount:"w_gOX",collectedText:"y2HcB",noVisitedStyle:"zQvPg"}},43516:(e,t,r)=>{r.r(t),r.d(t,{BulletList:()=>p,Code:()=>d,Facebook:()=>s,Instagram:()=>f,List:()=>y,default:()=>h});var n=r(96540),o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=function(){return Math.random().toString(36).substring(2)},a=function(e){var t=e.rtl,r=e.speed,a=e.interval,i=e.style,l=e.width,u=e.height,s=e.baseUrl,f=e.gradientRatio,d=e.animate,y=e.ariaLabel,p=e.children,h=e.className,m=e.uniquekey,b=e.primaryColor,g=e.primaryOpacity,O=e.secondaryColor,v=e.secondaryOpacity,x=e.preserveAspectRatio,j=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}(e,["rtl","speed","interval","style","width","height","baseUrl","gradientRatio","animate","ariaLabel","children","className","uniquekey","primaryColor","primaryOpacity","secondaryColor","secondaryOpacity","preserveAspectRatio"]),w=m?m+"-idClip":c(),E=m?m+"-idGradient":c(),P="0; "+a+"; 1",_=r+"s";return(0,n.createElement)("svg",o({role:"img",style:o(o({},i),t?{transform:"scaleX(-1)"}:{}),className:h,"aria-label":y||null,viewBox:"0 0 "+l+" "+u,preserveAspectRatio:x},j),y?(0,n.createElement)("title",null,y):null,(0,n.createElement)("rect",{x:"0",y:"0",width:l,height:u,clipPath:"url("+s+"#"+w+")",style:{fill:"url("+s+"#"+E+")"}}),(0,n.createElement)("defs",null,(0,n.createElement)("clipPath",{id:w},p),(0,n.createElement)("linearGradient",{id:E},(0,n.createElement)("stop",{offset:"0%",stopColor:b,stopOpacity:g},d&&(0,n.createElement)("animate",{attributeName:"offset",values:-f+"; "+-f+"; 1",keyTimes:P,dur:_,repeatCount:"indefinite"})),(0,n.createElement)("stop",{offset:"50%",stopColor:O,stopOpacity:v},d&&(0,n.createElement)("animate",{attributeName:"offset",values:-f/2+"; "+-f/2+"; "+(1+f/2),keyTimes:P,dur:_,repeatCount:"indefinite"})),(0,n.createElement)("stop",{offset:"100%",stopColor:b,stopOpacity:g},d&&(0,n.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+f),keyTimes:P,dur:_,repeatCount:"indefinite"})))))},i={animate:!0,ariaLabel:"Loading interface...",baseUrl:"",gradientRatio:2,height:130,interval:.25,preserveAspectRatio:"none",primaryColor:"#f0f0f0",primaryOpacity:1,rtl:!1,secondaryColor:"#e0e0e0",secondaryOpacity:1,speed:2,style:{},width:400},l=function(e){return(0,n.createElement)("rect",{x:"0",y:"0",rx:"5",ry:"5",width:e.width,height:e.height})},u=function(e){var t=o(o({},i),e);return(0,n.createElement)(a,o({},t),e.children||(0,n.createElement)(l,o({},t)))},s=function(e){return(0,n.createElement)(u,o({},e),(0,n.createElement)("rect",{x:"70",y:"15",rx:"4",ry:"4",width:"117",height:"6.4"}),(0,n.createElement)("rect",{x:"70",y:"35",rx:"3",ry:"3",width:"85",height:"6.4"}),(0,n.createElement)("rect",{x:"0",y:"80",rx:"3",ry:"3",width:"350",height:"6.4"}),(0,n.createElement)("rect",{x:"0",y:"100",rx:"3",ry:"3",width:"380",height:"6.4"}),(0,n.createElement)("rect",{x:"0",y:"120",rx:"3",ry:"3",width:"201",height:"6.4"}),(0,n.createElement)("circle",{cx:"30",cy:"30",r:"30"}))},f=function(e){return(0,n.createElement)(u,o({},e,{height:480}),(0,n.createElement)("circle",{cx:"30",cy:"30",r:"30"}),(0,n.createElement)("rect",{x:"75",y:"13",rx:"4",ry:"4",width:"100",height:"13"}),(0,n.createElement)("rect",{x:"75",y:"37",rx:"4",ry:"4",width:"50",height:"8"}),(0,n.createElement)("rect",{x:"0",y:"70",rx:"5",ry:"5",width:"400",height:"400"}))},d=function(e){return(0,n.createElement)(u,o({},e),(0,n.createElement)("rect",{x:"0",y:"0",rx:"3",ry:"3",width:"70",height:"10"}),(0,n.createElement)("rect",{x:"80",y:"0",rx:"3",ry:"3",width:"100",height:"10"}),(0,n.createElement)("rect",{x:"190",y:"0",rx:"3",ry:"3",width:"10",height:"10"}),(0,n.createElement)("rect",{x:"15",y:"20",rx:"3",ry:"3",width:"130",height:"10"}),(0,n.createElement)("rect",{x:"155",y:"20",rx:"3",ry:"3",width:"130",height:"10"}),(0,n.createElement)("rect",{x:"15",y:"40",rx:"3",ry:"3",width:"90",height:"10"}),(0,n.createElement)("rect",{x:"115",y:"40",rx:"3",ry:"3",width:"60",height:"10"}),(0,n.createElement)("rect",{x:"185",y:"40",rx:"3",ry:"3",width:"60",height:"10"}),(0,n.createElement)("rect",{x:"0",y:"60",rx:"3",ry:"3",width:"30",height:"10"}))},y=function(e){return(0,n.createElement)(u,o({},e),(0,n.createElement)("rect",{x:"0",y:"0",rx:"3",ry:"3",width:"250",height:"10"}),(0,n.createElement)("rect",{x:"20",y:"20",rx:"3",ry:"3",width:"220",height:"10"}),(0,n.createElement)("rect",{x:"20",y:"40",rx:"3",ry:"3",width:"170",height:"10"}),(0,n.createElement)("rect",{x:"0",y:"60",rx:"3",ry:"3",width:"250",height:"10"}),(0,n.createElement)("rect",{x:"20",y:"80",rx:"3",ry:"3",width:"200",height:"10"}),(0,n.createElement)("rect",{x:"20",y:"100",rx:"3",ry:"3",width:"80",height:"10"}))},p=function(e){return(0,n.createElement)(u,o({},e),(0,n.createElement)("circle",{cx:"10",cy:"20",r:"8"}),(0,n.createElement)("rect",{x:"25",y:"15",rx:"5",ry:"5",width:"220",height:"10"}),(0,n.createElement)("circle",{cx:"10",cy:"50",r:"8"}),(0,n.createElement)("rect",{x:"25",y:"45",rx:"5",ry:"5",width:"220",height:"10"}),(0,n.createElement)("circle",{cx:"10",cy:"80",r:"8"}),(0,n.createElement)("rect",{x:"25",y:"75",rx:"5",ry:"5",width:"220",height:"10"}),(0,n.createElement)("circle",{cx:"10",cy:"110",r:"8"}),(0,n.createElement)("rect",{x:"25",y:"105",rx:"5",ry:"5",width:"220",height:"10"}))};let h=u},48060:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});var n=r(74848),o=r(54928),c=function(e){return e&&e.__esModule?e:{default:e}}(r(85103));function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function l(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var u=function(e){var t,r=a({},function(e){if(null==e)throw TypeError("Cannot destructure "+e);return e}(e));return r.disabled?(0,n.jsx)("a",{className:r.className,children:r.children}):r.category?(0,n.jsx)(c.default,i({},r)):(null===(t=r.to)||void 0===t?void 0:t.startsWith("http"))?(0,n.jsx)("a",l(i({className:r.className,rel:"noopener noreferrer",href:r.to},r),{children:r.children})):r.to?(0,n.jsx)(o.Link,i({},r)):(0,n.jsx)("a",l(i({rel:"noopener noreferrer"},r),{children:r.children}))}},53021:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});let n={commonRoundedButtonLink:"QzxRd",commonRoundedButton:"nwkdR",buttonSecondary:"JXO8n nwkdR",buttonLink:"kiMJI QzxRd JXO8n nwkdR"}},59039:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});let n={hyphens:"AvyZK",container:"gbLzD",contentWrapper:"Ok6EB",primaryWrapper:"QQsPk",secondaryWrapper:"_jv6e",fullImage:"yW1rh",spleisLogo:"iuQWq",textContainer:"_qEcU",moneyInfo:"X5Op4",titleContainer:"cH6uN",title:"QOhx7",payoutInfo:"G2WPn",payoutSubtitle:"_LlYC",payoutValue:"bP5nk",profileTextContainer:"Nvw2A",linkBlock:"vPz6f",projectNumbersGrid:"Uzi9T",collectedInfo:"lSd7o",money:"JNSuw"}},65969:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});var n=r(74848),o=r(96540),c=r(69733),a=y(r(73444));r(5273);var i=r(47162),l=r(38790),u=y(r(85685));function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t,r,n,o,c,a){try{var i=e[c](a),l=i.value}catch(e){r(e);return}i.done?t(l):Promise.resolve(l).then(n,o)}function d(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var c=e.apply(t,r);function a(e){f(c,n,o,a,i,"next",e)}function i(e){f(c,n,o,a,i,"throw",e)}a(void 0)})}}function y(e){return e&&e.__esModule?e:{default:e}}function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var c=[],a=!0,i=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(c.push(r.value),!t||c.length!==t);a=!0);}catch(e){i=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(i)throw n}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){var r,n,o,c,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return c={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function i(c){return function(i){return function(c){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&c[0]?n.return:c[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,c[1])).done)return o;switch(n=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,n=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],n=0}finally{r=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,i])}}}var m=function(){var e=d(function(e){var t,r;return h(this,function(n){return t=e.baseUrl,r="".concat(t,"/api/public/template/top-three-template-causes"),[2,fetch(r)]})});return function(t){return e.apply(this,arguments)}}(),b=function(){var e=(0,c.useSelector)(function(e){return e.baseURL}),t=p((0,o.useState)([]),2),r=t[0],s=t[1],f=p((0,o.useState)(!0),2),y=f[0],b=f[1];return((0,o.useEffect)(function(){var t;(t=d(function(){var t;return h(this,function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),[4,m({baseUrl:e})];case 1:if(200!==(t=r.sent()).status)return[3,3];return[4,t.json()];case 2:return s(r.sent()),b(!1),[3,4];case 3:b(!1),r.label=4;case 4:return[3,6];case 5:return r.sent(),b(!1),[3,6];case 6:return[2]}})}),function(){return t.apply(this,arguments)})()},[e]),y||r&&0!==r.length)?y?(0,n.jsxs)("section",{className:u.default.campaignsContainer,children:[(0,n.jsx)(i.SectionTitle,{tag:"h2",className:u.default.subTitle,children:"Topp 3 aksjoner siste m\xe5ned"}),(0,n.jsxs)("ul",{className:u.default.listContainer,children:[(0,n.jsx)("li",{children:(0,n.jsx)(a.default,{})},1),(0,n.jsx)("li",{children:(0,n.jsx)(a.default,{})},2),(0,n.jsx)("li",{children:(0,n.jsx)(a.default,{})},3)]})]}):(0,n.jsxs)("section",{className:u.default.campaignsContainer,children:[(0,n.jsx)(i.SectionTitle,{tag:"h2",className:u.default.subTitle,children:"Topp 3 aksjoner siste m\xe5ned"}),(0,n.jsx)("ol",{className:u.default.listContainer,children:r.map(function(e){var t,r,o,c;return(0,n.jsx)("li",{children:(0,n.jsx)(l.OrganizationTemplateCard,{causeId:e.id,templateId:e.template_id,title:e.title,de
1scription:e.description,img_url:e.img_url,dugnad:e.dugnad,birthday:e.birthday,params:e.params,customLink:null===(t=e.profile)||void 0===t?void 0:t.customLink,customLinkText:null===(r=e.profile)||void 0===r?void 0:r.customLinkText,startProjectText:null===(o=e.profile)||void 0===o?void 0:o.startProjectText,redirectToPreview:null===(c=e.profile)||void 0===c?void 0:c.redirectToPreview,schoolId:e.schoolId,causeType:e.type})},e.id)})})]}):null}},68221:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{OrganizationTheme:function(){return d},PRIMARY_ORGANIZATION_COLOR:function(){return a},SAND_ORGANIZATION_COLOR:function(){return s},SAND_SECONDARY_ORGANIZATION_COLOR:function(){return f},SECONDARY_ORGANIZATION_COLOR:function(){return i},TERTIARY_ORGANIZATION_COLOR:function(){return l},WHITE_ORGANIZATION_COLOR:function(){return u}});var n=r(74848),o=r(30567),c=r(92534),a="primary-organization-color",i="secondary-organization-color",l="tertiary-organization-color",u="white-organization-color",s="sand-organization-color",f="sand-secondary-organization-color",d=function(e){var t=e.children,r=e.className,d=e.theme,y=(0,o.useOrganization)(),p=null==y?void 0:y.themeColor,h=(0,c.calculateOrganisationColors)(p),m=h.secondaryColor,b=h.primaryColor,g=h.tertiaryColor,O=h.sandColor,v=h.primaryTextColor,x=h.secondaryTextColor,j=h.tertiaryTextColor,w=h.sandTextColor,E=h.hoverColor;return d===s&&p?d=a:d===f&&p&&(d=i),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{children:"\n ".concat(b?"\n .".concat(a," {\n background-color: ").concat(b,";\n border-color: ").concat(b,";\n color: ").concat(v,";\n --ffe-color-component-button-primary-fill-default: ").concat(b,";\n --ffe-color-component-button-primary-fill-hover: ").concat(E,";\n --ffe-color-component-button-primary-fill-pressed: ").concat(E,";\n --ffe-color-component-button-primary-border-default: ").concat(b,";\n --ffe-color-component-button-primary-foreground-default: ").concat(v,";\n --ffe-color-component-button-action-fill-default: ").concat(b,";\n --ffe-color-component-button-action-fill-hover: ").concat(E,";\n --ffe-color-component-button-action-fill-pressed: ").concat(E,";\n --ffe-color-component-button-action-border-default: ").concat(b,";\n --ffe-color-component-button-action-foreground-default: ").concat(v,";\n --rounded-button-important-hover-background-color: ").concat(E,";\n --rounded-button-important-background-color: ").concat(E,";\n --ffe-color-foreground-emphasis: ").concat(v,";\n --ffe-color-foreground-default: ").concat(v,";\n --rounded-button-primary-hover-background-color: ").concat(E,";\n --rounded-button-primary-background-color: ").concat(b,";\n --rounded-button-primary-border-color: ").concat(b,";\n --rounded-button-primary-text-color: ").concat(v,";\n --border-focus-color: ").concat(b,";\n --ffe-color-foreground-interactive-link:").concat(v,";\n }\n .").concat(u," {\n --ffe-color-component-button-secondary-fill-default: #FFF;\n --ffe-color-component-button-secondary-fill-hover: #EEE;\n --ffe-color-component-button-secondary-border-default: #262626;\n --ffe-color-component-button-secondary-border-hover: #262626;\n --ffe-color-component-button-secondary-foreground-default: #262626;\n --ffe-color-component-button-secondary-foreground-hover: #262626;\n --ffe-color-foreground-emphasis: #1a1a1a;\n --rounded-button-secondary-hover-background-color: #EEE;\n --rounded-button-secondary-hover-border-color: #262626;\n --rounded-button-secondary-hover-text-color: #262626;\n --rounded-button-primary-hover-background-color: #EEE;\n --rounded-button-primary-hover-text-color: #262626;\n --border-focus-color: ").concat(b,";\n }\n "):"\n .".concat(s," {\n background-color: ").concat(O,";\n border-color: ").concat(O,";\n color: ").concat(w,";\n --ffe-color-foreground-default: ").concat(w,";\n --ffe-color-foreground-emphasis: ").concat(c.FJELL,";\n --rounded-button-secondary-hover-background-color: ").concat(b,";\n --rounded-button-secondary-hover-text-color:").concat(v,";\n --border-focus-color: ").concat(b,";\n }\n "),"\n .").concat(i," {\n background-color: ").concat(m,";\n border-color: ").concat(m,";\n color: ").concat(x,";\n --ffe-color-foreground-default: ").concat(x,";\n --ffe-color-foreground-emphasis: ").concat(x,";\n --ffe-color-foreground-interactive-link: ").concat(x,";\n }\n\n .").concat(l," {\n background-color: ").concat(g,";\n border-color: ").concat(g,";\n color: ").concat(j,";\n --ffe-color-foreground-default: ").concat(j,";\n --ffe-color-foreground-emphasis: ").concat(j,";\n --ffe-color-foreground-interactive-link: ").concat(j,";\n fill: ").concat(m,"\n }\n\n .").concat(f," {\n background-color: ").concat(O,";\n border-color: ").concat(O,";\n color: ").concat(w,";\n --ffe-color-foreground-default: ").concat(w,";\n --ffe-color-foreground-emphasis: ").concat(c.FJELL,";\n }\n ")}),(0,n.jsx)("div",{className:[r,d].join(" "),children:t})]})}},73444:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});var n=r(74848),o=i(r(43516)),c=i(r(5556)),a=i(r(59039));function i(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t,r;return(0,n.jsx)("div",{className:a.default.container,children:(0,n.jsxs)(o.default,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({height:58,width:332,speed:2,primaryColor:"#e9e9e9",secondaryColor:"#d3d3d3"},e),r=r={children:[(0,n.jsx)("circle",{cx:"33.81",cy:"30.89",r:"25.28"}),(0,n.jsx)("rect",{x:"105",y:"10",rx:"0",ry:"0",width:"180",height:"22"}),(0,n.jsx)("rect",{x:"105",y:"45",rx:"0",ry:"0",width:"70",height:"25"}),(0,n.jsx)("rect",{x:"215",y:"45",rx:"0",ry:"0",width:"70",height:"25"})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))})};l.propTypes={animate:c.default.bool,style:c.default.object},l.defaultProps={animate:!0,style:{}};var u=l},74294:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e),o.test(e)};var n=function(e){return e&&e.__esModule?e:{default:e}}(r(83399)),o=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},85685:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});let n={subTitle:"MYpU3",campaignsContainer:"m7wgW",listContainer:"YGfKx","ffe-image-card__body":"jZCMb",listElement:"dDAk2",plassNummer:"M4Jgn",rowContent:"H9sPf",rowTitle:"CVlwN",rowResult:"apCuz"}},96025:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});var n=r(74848),o=a(r(24987)),c=a(r(53021));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(e){var t,r,a=e.className,i=e.children,l=e.buttonRef,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},c=Object.keys(e);for(n=0;n<c.length;n++)r=c[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(n=0;n<c.length;n++)r=c[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","children","buttonRef"]);return(0,n.jsx)(o.default,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({className:[c.default.buttonLink,void 0===a?"":a].join(" ")},u),r=r={ref:l,children:i},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))}}}]); 2//# sourceMappingURL=cms-CMSTopThreeTemplateCauses-TopThreeTemplateCauses.js.map?v=0821ca6d679c47047433
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.