1"use strict";(self.webpackChunksevi_ui=self.webpackChunksevi_ui||[]).push([[1049],{8349(e,n,t){t.d(n,{E:()=>u,Q:()=>d});var i,r=t(74848),s=t(96540),a=t(95053),l=t(34455),c=t(41751);let{useContext:o}=i||(i=t.t(s,2));function d(e){let{translate:n}=o(l.ic);return(0,r.jsx)("div",{className:"banner-with-button-white",children:(0,r.jsxs)("div",{className:"row flex-box banner-with-button-row",children:[(0,r.jsxs)("div",{className:"col-12 col-md-9 margin-bottom-s",children:[(0,r.jsx)(c.Q,{variant:"h2",className:"semibold banner-with-button-heading",children:e.title}),(0,r.jsx)("span",{children:e.description})]}),(0,r.jsx)("div",{className:"col-12 col-md-3",children:(0,r.jsx)(a.M,{className:"button-link login-reminder-button",redirectLink:e.redirectLink,targetBlank:e.loginTargetBlank,children:(0,r.jsx)("span",{children:n("header_log_in")})})})]})})}function u(e){let{translate:n}=o(l.ic);return(0,r.jsx)("div",{className:"banner-with-button-blue",children:(0,r.jsxs)("div",{className:"row flex-box banner-with-button-row",children:[(0,r.jsxs)("div",{className:"col-12 col-md-9 margin-bottom-s",children:[(0,r.jsx)(c.Q,{variant:"h2",className:"semibold banner-with-button-heading",children:e.title}),(0,r.jsx)("span",{children:e.description})]}),(0,r.jsx)("div",{className:"col-12 col-md-3",children:(0,r.jsx)(a.M,{className:"button-link button-link-inverted",redirectLink:e.redirectLink,children:(0,r.jsx)("span",{children:n("header_log_in")})})})]})})}},17926(e,n,t){t.d(n,{L:()=>v});var i=t(74848),r=t(96540),s=t(34455),a=t(37446),l=t(72477),c=t(73131),o=t(43933),d=t(9541),u=t(75214),m=t(26994),h=t(46942),p=t.n(h),b=t(15828);function x({children:e}){return(0,i.jsxs)("li",{children:[(0,i.jsx)("span",{className:"link-list-aligned-bullet-list-icon",children:(0,i.jsx)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em","aria-hidden":"true",focusable:"false",children:(0,i.jsx)("circle",{fill:b.P.colors.blackBase,cx:"12",cy:"12",r:"4"})})}),e]})}function j(e){var n,t;let{children:r,className:s}=e,a=function(e,n){if(null==e)return{};var t,i,r=function(e,n){if(null==e)return{};var t,i,r={},s=Object.keys(e);for(i=0;i<s.length;i++)t=s[i],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)t=s[i],!(n.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["children","className"]);return(0,i.jsx)("ul",(n=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(n){var i;i=t[n],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return e}({className:p()(s,"link-list-aligned-bullet-list")},a),t=t={children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n))}var g=t(18646);function f({organization:e,organizationHeadingAs:n,openLinksInNewWindow:t}){let{lang:h}=(0,r.useContext)(s.ic),p=[...e.services].sort((0,a.te)(h,e=>e.name)),b=p.filter(e=>null!=e.uri),g=p.filter(e=>null==e.uri),f=(0,r.useId)();return(0,i.jsxs)(l.e,{mb:"m",children:[(0,i.jsx)(c.E,{id:f,asProp:n,className:"m-0",children:e.name}),(0,i.jsxs)(l.e,{mt:"xxs",children:[b.length>0?(0,i.jsx)(o.d,{ariaLabelledBy:f,children:b.map(e=>(0,i.jsx)(d.i,{children:(0,i.jsx)(u.N_,{href:(0,m.Pl)(e.uri),openInNewWindow:t,className:"mandate-services-service-link",children:e.name})},e.name))}):null,g.length>0?(0,i.jsx)(j,{"aria-describedby":f,children:g.map(e=>(0,i.jsx)(x,{children:e.name},e.name))}):null]})]},e.name)}function v({organizations:e,organizationHeadingAs:n,openLinksInNewWindow:t}){var l;let{translate:o,lang:d}=(0,r.useContext)(s.ic),u=[...e].sort((0,a.te)(d,e=>e.name)),m=(l=e=>null!=e.uri,u.reduce((e,n)=>e+n.services.filter(l).length,0));return(0,i.jsxs)("div",{children:[t&&m>0?(0,i.jsx)(g.f,{children:(0,i.jsx)(c.E,{children:o("mandate_services_link_
1info",{count:m})})}):null,u.length>0?u.map(e=>(0,i.jsx)(f,{organization:e,organizationHeadingAs:n,openLinksInNewWindow:t},e.name)):(0,i.jsx)("div",{children:o("mandate_no_services")})]})}},40870(e,n,t){t.d(n,{CU:()=>v,Hb:()=>g,qh:()=>w,Zj:()=>f});var i=t(74848),r=t(96540),s=t(7643),a=t(34455),l=t(8349),c=t(14531),o=t(96647),d=t(41751);function u(e){return(0,i.jsx)("div",{className:"banner-with-button-white",children:(0,i.jsxs)("div",{className:"row flex-box banner-with-button-row",children:[(0,i.jsxs)("div",{className:"col-12 col-md-9 margin-bottom-s",children:[(0,i.jsx)(d.Q,{variant:"h2",className:"semibold banner-with-button-heading",children:e.title}),(0,i.jsx)("span",{children:e.description})]}),(0,i.jsx)("div",{className:"col-12 col-md-3",children:(0,i.jsx)("div",{className:"logged-out login-icon",children:(0,i.jsx)(o.q,{to:e.linkTarget,className:"button-link mb-3",children:e.linkText})})})]})})}var m=t(66401),h=t(47360),p=t(71280),b=t(17926),x=t(72477);let j={FINANCIAL:"mandate_list_trusteeship_classification_FINANCIAL",PERSON:"mandate_list_trusteeship_classification_PERSON",ACCOUNT:"mandate_list_trusteeship_classification_ACCOUNT"};function g({mandate:e}){var n,t;let{translate:s}=(0,r.useContext)(a.ic);return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"pill-list-item",children:s("search_result_content_type_mandate")}),(0,i.jsx)("div",{className:"pill-list-item",children:(n=e,t=s,n.principalPerson&&n.principalCompany?t("mandate_pricipal_person_and_company"):n.principalPerson?t("mandate_pricipal_person"):n.principalCompany?t("mandate_pricipal_company"):"")}),e.categories.map(e=>(0,i.jsx)("div",{className:"pill-list-item",children:e.label},e.label)),e.trusteeshipClassifications.map(e=>(0,i.jsx)("div",{className:"pill-list-item",children:s(j[e])},e)),(0,i.jsx)("div",{className:"pill-list-item",children:e.serviceCount>0?s("mandate_list_services_count",{count:e.serviceCount}):s("mandate_info_row_no_services")})]})}function f(e){let{translate:n}=(0,r.useContext)(a.ic);return(0,m.A)(e.specifiers)?null:e.specifiers.some(e=>"PRINCIPAL_ID"===e.type||"DEFAULT"===e.type)?(0,i.jsx)("div",{className:"mandate-specifier",children:n("mandate_possible_to_use_specifier")}):null}function v(e){let[n,...t]=e.text.split("\n"),r=function e(n,t,r,s,a){if(!_(n)&&_(t)){let e=function e(n,t,r,s){return(_(n)&&r.push((0,i.jsx)("li",{children:n.substr(1)},s)),(0,m.A)(t)||!_(n))?r:e((0,h.A)(t),(0,p.A)(t),r,++s)}(t,r,[],a);s.push((0,i.jsx)("ul",{className:"mandate-definition-list",children:e},a)),r=r.slice(e.length-1)}else s.push((0,i.jsx)("div",{children:t},a));return(0,m.A)(r)?s:e(t,(0,h.A)(r),(0,p.A)(r),s,++a)}("",n,t,[],0);return(0,i.jsx)("div",{className:"mandate-definition",children:r})}function _(e){return e.startsWith("-")||e.startsWith("â")}let w=({mandate:e,isAuthenticated:n})=>{let{translate:t}=(0,r.useContext)(a.ic);return(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"col-12 col-lg-8 box-white",children:[(0,i.jsx)(s.Q,{title:e.label}),(0,i.jsx)(g,{mandate:e}),(0,i.jsxs)(x.e,{mb:"l",children:[(0,i.jsx)(v,{text:e.definition}),(0,i.jsx)(f,{specifiers:e.specifiers})]}),(0,i.jsx)(d.Q,{variant:"h4",as:"h2",my:"xs",children:t("mandate_services_header",{count:e.serviceCount})}),(0,i.jsx)(b.L,{organizations:e.organizations,organizationHeadingAs:"h3",openLinksInNewWindow:!1}),n?(0,i.jsx)("div",{className:"margin-top-l margin-bottom-l",children:(0,i.jsx)(u,{title:t("mandate_go_to_eauthorizations_heading"),description:t("mandate_go_to_eauthorizations_description"),linkTarget:(0,c.tr)({}),linkText:t("mandate_go_to_eauthorizations_button")})}):(0,i.jsx)("div",{className:"margin-top-l margin-bottom-l",children:(0,i.jsx)(l.Q,{title:t("mandate_go_to_login_heading"),description:t("mandate_go_to_login_description"),redirectLink:(0,c.tr)({}),loginTargetBlank:!0})})]})})}},51049(e,n,t){t.d(n,{MandateViewContainer:()=>m});var i=t(74848);t(96540);var r=t(44838),s=t(26994),a=t(63238),l=t(14531),c=t(40870),o=t(8239),d=t(93171);let u=(0,r.QH)({mapProps:({state:e,route:n,lang:t})=>({mandate:(0,s.Pl)(e.mandate.item),slug:n.viewParams.namedRouteParam
1s.slug,isAuthenticated:(0,a.xA)(e),route:n,mandateId:n.viewParams.namedRouteParams.mandateId,lang:t}),fetchRouteData:(e,n)=>Promise.resolve(),loading:{waitFor:[]},mapInitialization:e=>e.mandate.slug!==e.slug?{redirectTo:(0,l.iF)({uriHash:e.mandate.uriHash,slug:e.mandate.slug})}:{meta:{title:e.mandate.label,description:(0,o.x)(e.mandate.definition,120,200),fallbackLanguage:!(0,d.Uj)(e.lang)}}}),m=(0,r.ep)(u,e=>(0,i.jsx)(c.qh,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.forEach(function(n){var i;i=t[n],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return e}({},e)))},8239(e,n,t){t.d(n,{J:()=>r,x:()=>i});let i=(e,n,t)=>{let i="";if(e){let r=e.substring(n).indexOf(" ")>0?e.substring(n).indexOf(" ")+n:t;i=r<e.length?e.substring(0,Math.min(r,t))+"...":e}return i},r=(e,n)=>e.filter(e=>!!e&&e.length>0).join(n)},47360(e,n,t){t.d(n,{A:()=>i});let i=function(e){return e&&e.length?e[0]:void 0}},71280(e,n,t){t.d(n,{A:()=>r});var i=t(37688);let r=function(e){var n=null==e?0:e.length;return n?(0,i.A)(e,1,n):[]}}}]); 2//# sourceMappingURL=1049.f2faa9144feb4ef859ad.chunk.js.map
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.