/*! For license information please see blikunde.js.LICENSE.txt */ (()=>{var e={6981:(e,n,t)=>{"use strict";t(1983);var r,o=(r=t(115))&&r.__esModule?r:{default:r};o.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),o.default._babelPolyfill=!0},1983:(e,n,t)=>{"use strict";t(6266),t(990),t(911),t(4160),t(6197),t(6728),t(4039),t(3568),t(8051),t(8250),t(5434),t(4952),t(6337),t(5666)},1853:(e,n,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e,n){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=f(n);if(t&&t.has(e))return t.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,t&&t.set(e,o),o}(t(7294)),a=t(5697),i=c(t(3789)),l=t(4368),s=c(t(2945));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(f=function(e){return e?t:n})(e)}function u(e,n){for(var t=0;t{"use strict";var r;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=((r=t(1853))&&r.__esModule?r:{default:r}).default;n.default=o},4515:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=function(e,n){if(e&&e.__esModule)return e;if(null===e||"object"!==A(e)&&"function"!=typeof e)return{default:e};var t=p(n);if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}(t(7294)),o=t(5697),a=t(7429),i=d(t(7482)),l=d(t(2001)),s=d(t(7990)),c=d(t(789)),f=d(t(3187)),u=d(t(2593));function d(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(p=function(e){return e?t:n})(e)}function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function h(e,n){for(var t=0;t{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a=function(e,n){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s(n);if(t&&t.has(e))return t.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,t&&t.set(e,o),o}(t(7294)),i=t(5697),l=(o=t(4184))&&o.__esModule?o:{default:o};function s(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(s=function(e){return e?t:n})(e)}function c(e,n){for(var t=0;t{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=l;var r=i(t(7294)),o=t(5697),a=i(t(4524));function i(e){return e&&e.__esModule?e:{default:e}}function l(e){var n=e.datepickerId,t=e.month,o=e.nextMonthHandler,i=e.nextMonthLabel,l=e.previousMonthHandler,s=e.previousMonthLabel,c=e.year,f=e.prevMonthButtonElement,u=e.nextMonthButtonElement;return r.default.createElement("div",{className:"ffe-calendar__header"},r.default.createElement("div",{className:"ffe-calendar__header-inner-wrapper"},r.default.createElement("button",{className:"ffe-calendar__month-nav ffe-calendar__previous",onClick:l,"aria-label":s,type:"button",ref:f,tabIndex:-1},r.default.createElement(a.default,{className:"ffe-calendar__icon-prev"})),r.default.createElement("header",{"aria-live":"polite",className:"ffe-calendar__title",id:"".concat(n,"-title")},r.default.createElement("div",{id:"".concat(n,"__month-label")},r.default.createElement("span",{className:"ffe-calendar__month"},t),r.default.createElement("span",{className:"ffe-calendar__year"},c))),r.default.createElement("button",{className:"ffe-calendar__month-nav ffe-calendar__next",onClick:o,"aria-label":i,type:"button",ref:u,tabIndex:-1},r.default.createElement(a.default,{className:"ffe-calendar__icon-next"}))))}l.propTypes={datepickerId:o.string.isRequired,month:o.string.isRequired,nextMonthHandler:o.func.isRequired,nextMonthLabel:o.string.isRequired,previousMonthHandler:o.func.isRequired,previousMonthLabel:o.string.isRequired,year:o.number.isRequired,prevMonthButtonElement:o.object.isRequired,nextMonthButtonElement:o.object.isRequired}},2001:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var r,o=(r=t(7294))&&r.__esModule?r:{default:r},a=t(5697);function i(e){return o.default.createElement("td",{"aria-disabled":"true","aria-current":"false",className:"ffe-calendar__day",key:e.date.timestamp,role:"button"})}i.propTypes={date:(0,a.shape)({timestamp:a.number.isRequired}).isRequired}},9050:(e,n,t)=>{"use strict";var r;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=((r=t(4515))&&r.__esModule?r:{default:r}).default;n.default=o},5445:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default={INVALID_DATE_FORMAT:"INVALID_DATE_FORMAT",INVALID_DATE:"INVALID_DATE",MAX_DATE:"MAX_DATE",MIN_DATE:"MIN_DATE"}},2593:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){for(var e=arguments.length,n=new Array(e),t=0;t{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=f;var r,o=(r=t(5445))&&r.__esModule?r:{default:r},a=t(4368);function i(e,n,t){return i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&l(o,t.prototype),o},i.apply(null,arguments)}function l(e,n){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},l(e,n)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e){!function(e){return!!e&&"object"===s(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)?this.internalDate=new Date:this.internalDate=e}function f(){for(var e=arguments.length,n=new Array(e),t=0;t1&&void 0!==arguments[1]?arguments[1]:u,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,r=(0,a.validateDate)(e);if(!r)return t(o.default.INVALID_DATE_FORMAT),null;var i=r[1],l=r[3],s=r[4];1!==s.length&&2!==s.length||(s=function(e){var n=new Date(e,0);return function(e,n){return parseInt(e,10)<2e3}(n.getFullYear())?n.getFullYear()+100:n.getFullYear()}(s)),3===s.length&&(s=function(e){return"2".concat(e)}(s));var f=new Date;l||(l=f.getMonth()+1),s||(s=f.getFullYear());var d=new c(new Date(s,l-1,i));return d.date()!==1*i||d.month()+1!==1*l||d.year()!==1*s?(t(o.default.INVALID_DATE),null):(n(d),d)},f.fromTimestamp=function(e){return new c(new Date(e))},c.prototype.setTimestamp=function(e){this.internalDate=new Date(e)},c.prototype.setDate=function(e){this.internalDate=new Date(this.year(),this.month(),e)},c.prototype.setMonth=function(e){this.internalDate=new Date(this.year(),e,this.date())},c.prototype.setYear=function(e){this.internalDate=new Date(e,this.month(),this.date())},c.prototype.setFullDate=function(e,n,t){this.internalDate=new Date(e,n,t)},c.prototype.adjust=function(e,n){var t="D"===e?this.date()+n:this.date(),r="M"===e?this.month()+n:this.month(),o="Y"===e?this.year()+n:this.year();"D"!==e&&(t=Math.max(1,Math.min(t,d(o,r)))),this.internalDate=new Date(o,r,t)},c.prototype.daysInMonth=function(){return d(this.year(),this.month())},c.prototype.day=function(){return this.internalDate.getDay()},c.prototype.date=function(){return this.internalDate.getDate()},c.prototype.month=function(){return this.internalDate.getMonth()},c.prototype.year=function(){return this.internalDate.getFullYear()},c.prototype.timestamp=function(){return this.internalDate.valueOf()},c.prototype.equal=function(e){return this.date()===e.date()&&this.month()===e.month()&&this.year()===e.year()},c.prototype.isBefore=function(e){return this.timestamp()e.timestamp()},c.prototype.clone=function(){return new c(new Date(this.year(),this.month(),this.date()))},c.prototype.format=function(){var e=this.date()<10?"0".concat(this.date()):this.date(),n=this.month()+1,t=n<10?"0".concat(n):n;return"".concat(e,".").concat(t,".").concat(this.year())}},9454:(e,n,t)=>{"use strict";n.Z=void 0;var r=function(e,n){if(e&&e.__esModule)return e;if(null===e||"object"!==v(e)&&"function"!=typeof e)return{default:e};var t=g(n);if(t&&t.has(e))return t.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r}(t(7294)),o=t(5697),a=m(t(4184)),i=t(7429),l=m(t(9050)),s=m(t(789)),c=m(t(462)),f=m(t(5282)),u=m(t(3187)),d=m(t(5445)),p=m(t(2945)),A=t(4368),h=m(t(1296));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(g=function(e){return e?t:n})(e)}function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function b(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function y(e,n){for(var t=0;t{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default={DAY_1_SHORT:"Mon",DAY_2_SHORT:"Tue",DAY_3_SHORT:"Wed",DAY_4_SHORT:"Thu",DAY_5_SHORT:"Fri",DAY_6_SHORT:"Sat",DAY_0_SHORT:"Sun",DAY_1:"Monday",DAY_2:"Tuesday",DAY_3:"Wednesday",DAY_4:"Thursday",DAY_5:"Friday",DAY_6:"Saturday",DAY_0:"Sunday",MONTH_1_SHORT:"Jan",MONTH_2_SHORT:"Feb",MONTH_3_SHORT:"Mar",MONTH_4_SHORT:"Apr",MONTH_5_SHORT:"May",MONTH_6_SHORT:"Jun",MONTH_7_SHORT:"Jul",MONTH_8_SHORT:"Aug",MONTH_9_SHORT:"Sep",MONTH_10_SHORT:"Oct",MONTH_11_SHORT:"Nov",MONTH_12_SHORT:"Dec",MONTH_1:"January",MONTH_2:"February",MONTH_3:"March",MONTH_4:"April",MONTH_5:"May",MONTH_6:"June",MONTH_7:"July",MONTH_8:"August",MONTH_9:"September",MONTH_10:"October",MONTH_11:"November",MONTH_12:"December",PREVIOUS:"Previous",NEXT:"Next",PREVIOUS_SHORT:"Prev",NEXT_SHORT:"Next",PREVIOUS_MONTH:"Previous month",NEXT_MONTH:"Next month",FIRST_DAY_OF_WEEK:0,INVALID_DATE_FORMAT:"Date must be in this format: dd.mm.yyyy",INVALID_DATE:"Invalid date",MIN_DATE:"Given date is too far back",MAX_DATE:"Given date is too far ahead",CHOOSE_DATE:"Choose date",CHANGE_DATE:"Change date",CHOSEN_DATE:"chosen date is",DATE_FORMAT:"dd.mm.yyyy"}},2945:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(t(3902)),o=a(t(7023));function a(e){return e&&e.__esModule?e:{default:e}}var i={nb:a(t(9406)).default,nn:o.default,en:r.default};n.default=i},9406:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default={DAY_1_SHORT:"Man",DAY_2_SHORT:"Tir",DAY_3_SHORT:"Ons",DAY_4_SHORT:"Tor",DAY_5_SHORT:"Fre",DAY_6_SHORT:"Lør",DAY_0_SHORT:"Søn",DAY_1:"Mandag",DAY_2:"Tirsdag",DAY_3:"Onsdag",DAY_4:"Torsdag",DAY_5:"Fredag",DAY_6:"Lørdag",DAY_0:"Søndag",MONTH_1_SHORT:"Jan",MONTH_2_SHORT:"Feb",MONTH_3_SHORT:"Mar",MONTH_4_SHORT:"Apr",MONTH_5_SHORT:"Mai",MONTH_6_SHORT:"Jun",MONTH_7_SHORT:"Jul",MONTH_8_SHORT:"Aug",MONTH_9_SHORT:"Sep",MONTH_10_SHORT:"Okt",MONTH_11_SHORT:"Nov",MONTH_12_SHORT:"Des",MONTH_1:"Januar",MONTH_2:"Februar",MONTH_3:"Mars",MONTH_4:"April",MONTH_5:"Mai",MONTH_6:"Juni",MONTH_7:"Juli",MONTH_8:"August",MONTH_9:"September",MONTH_10:"Oktober",MONTH_11:"November",MONTH_12:"Desember",PREVIOUS:"Forrige",NEXT:"Neste",PREVIOUS_SHORT:"Forrige",NEXT_SHORT:"Neste",PREVIOUS_MONTH:"Forrige måned",NEXT_MONTH:"Neste måned",FIRST_DAY_OF_WEEK:1,INVALID_DATE_FORMAT:"Dato må skrives på dette formatet: dd.mm.åååå",INVALID_DATE:"Ugyldig dato",MIN_DATE:"Oppgitt dato er for langt tilbake",MAX_DATE:"Oppgitt dato er for langt frem",CHOOSE_DATE:"Velg dato",CHANGE_DATE:"Endre dato",CHOSEN_DATE:"valgt dato er",DATE_FORMAT:"dd.mm.åååå"}},7023:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default={DAY_1_SHORT:"Man",DAY_2_SHORT:"Tir",DAY_3_SHORT:"Ons",DAY_4_SHORT:"Tor",DAY_5_SHORT:"Fre",DAY_6_SHORT:"Lør",DAY_0_SHORT:"Søn",DAY_1:"Mandag",DAY_2:"Tirsdag",DAY_3:"Onsdag",DAY_4:"Torsdag",DAY_5:"Fredag",DAY_6:"Lørdag",DAY_0:"Søndag",MONTH_1_SHORT:"Jan",MONTH_2_SHORT:"Feb",MONTH_3_SHORT:"Mar",MONTH_4_SHORT:"Apr",MONTH_5_SHORT:"Mai",MONTH_6_SHORT:"Jun",MONTH_7_SHORT:"Jul",MONTH_8_SHORT:"Aug",MONTH_9_SHORT:"Sep",MONTH_10_SHORT:"Okt",MONTH_11_SHORT:"Nov",MONTH_12_SHORT:"Des",MONTH_1:"Januar",MONTH_2:"Februar",MONTH_3:"Mars",MONTH_4:"April",MONTH_5:"Mai",MONTH_6:"Juni",MONTH_7:"Juli",MONTH_8:"August",MONTH_9:"September",MONTH_10:"Oktober",MONTH_11:"November",MONTH_12:"Desember",PREVIOUS:"Forrige",NEXT:"Neste",PREVIOUS_SHORT:"Forrige",NEXT_SHORT:"Neste",PREVIOUS_MONTH:"Forrige månad",NEXT_MONTH:"Neste månad",FIRST_DAY_OF_WEEK:1,INVALID_DATE_FORMAT:"Dato må skrives på dette formatet: dd.mm.åååå",INVALID_DATE:"Ugyldig dato",MIN_DATE:"Oppgitt dato er for langt tilbake",MAX_DATE:"Oppgitt dato er for langt frem",CHOOSE_DATE:"Velg dato",CHANGE_DATE:"Endre dato",CHOSEN_DATE:"valt dato er",DATE_FORMAT:"dd.mm.åååå"}},739:(e,n,t)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=function(e,n){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=c(n);if(t&&t.has(e))return t.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=a?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(o,i,l):o[i]=e[i]}return o.default=e,t&&t.set(e,o),o}(t(7294)),a=t(5697),i=s(t(4184)),l=s(t(2945));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var n=new WeakMap,t=new WeakMap;return(c=function(e){return e?t:n})(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var n=1;n{"use strict";var r;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=((r=t(739))&&r.__esModule?r:{default:r}).default;n.default=o},4368:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isDateInputWithTwoDigitYear=function(e){var n;return 2===(null===(n=r(e))||void 0===n?void 0:n[4].length)},n.validateDate=r;var t=/^(\d{1,2})(\.| |-|\/)?(\d{0,2})\2?(\d{0,2}(\d{2})?)$/;function r(e){return t.exec(e)}},789:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default={TAB:9,ENTER:13,ESC:27,PGUP:33,PGDWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40}},8301:(e,n,t)=>{"use strict";n.Z=void 0;var r=l(t(7294)),o=t(5697),a=l(t(4184)),i=["className"];function l(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,i);return r.default.createElement("textarea",s({className:(0,a.default)("ffe-textarea",t),ref:n},o))}));c.propTypes={className:o.string};var f=c;n.Z=f},5517:(e,n,t)=>{"use strict";n.Z=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=function(e){for(var n=1;n{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){if(!e||"number"==typeof e)return e;var n=e;return"string"==typeof e&&(n=parseFloat(e.replace(/[^\d,.-]/g,"").replace(/,/g,"."))),Number.isNaN(n)||"number"!=typeof n?null:n}},787:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.SOFT_HYPHEN=n.NON_BREAKING_SPACE=void 0,n.NON_BREAKING_SPACE=" ",n.SOFT_HYPHEN="­"},4524:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(t(7294)),o=i(t(5697)),a=["desc","title"];function i(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,a);return r.default.createElement("svg",l({},s.props,o),t&&r.default.createElement("title",null,t),n&&r.default.createElement("desc",null,n),s.props.children)};c.propTypes={desc:o.default.string,title:o.default.string,focusable:o.default.oneOf([!0,!1,"true","false","auto","undefined"])};var f=c;n.default=f},3789:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(t(7294)),o=i(t(5697)),a=["desc","title"];function i(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,a);return r.default.createElement("svg",l({},s.props,o),t&&r.default.createElement("title",null,t),n&&r.default.createElement("desc",null,n),s.props.children)};c.propTypes={desc:o.default.string,title:o.default.string,focusable:o.default.oneOf([!0,!1,"true","false","auto","undefined"])};var f=c;n.default=f},2874:(e,n)=>{"use strict";function t(e){var n;if("/"===e)return"none";var t=null===(n=e.split("/").filter((function(e){return"nb"!=e&&"en"!=e&&"nn"!=e}))[1])||void 0===n?void 0:n.toLowerCase();return""==t?"none":"bank"==t?"all":function(e){switch(e){case"hallingdal-valdres":return"hallingdal";case"sore-sunnmore":return"smn";case"ostfold-akershus":case"hallingdal":case"ostlandet":case"lom-skjaak":case"gudbrandsdal":case"ringerike-hadeland":case"sr-bank":case"nordmore":case"smn":case"nord-norge":case"helgeland":case"sorost":return e;default:return"none"}}(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.extractBankSubBrandFromUri=n.extractBankFromUri=void 0,n.extractBankFromUri=function(){return t(window.location.pathname)},n.extractBankSubBrandFromUri=function(){var e=t(window.location.pathname);switch(e){case"none":return console.warn("Failed to extract SubBrand from URI, it is possibly malformed. This will impact routing in Adobe."),"none";case"all":return"bank";default:return e}}},4648:function(e,n,t){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.setPreventionCookie=n.isPreventionValues=n.shouldFetchConsents=n.shouldFetchIdentity=n.shouldFetchCookies=n.fetchMissingCookies=void 0;var r=t(1992),o=t(2331),a="declaredid|ikke_satt|X",i=[o.AppContextEnum.digitalbank,o.AppContextEnum.fremtind,o.AppContextEnum.kreditt];n.fetchMissingCookies=function(e){if((0,n.shouldFetchCookies)(e)){var t=(0,n.shouldFetchIdentity)(e);if((0,n.shouldFetchConsents)()||t){var r=l(e);fetch("".concat(r).concat(t?"?withIdentity=true":""),{headers:{"Content-Type":"application/json;charset=utf-8;",Accept:"application/vnd.sparebank1.v1+json; charset=utf-8",credentials:"same-origin"}}).then((function(e){e.ok||(console.warn("Request to fetch cookies failed"),(0,n.setPreventionCookie)())}))}}};var l=function(e){return null==e.backendEnvironment?"/personal/banking/consent/cookies":"test"===e.backendEnvironment?"https://www.test.sparebank1.no/personal/banking/consent/cookies":"https://www.sparebank1.no/personal/banking/consent/cookies"};n.shouldFetchCookies=function(e){return!!i.includes(e.application.context)&&!(0,n.isPreventionValues)((0,r.getCookie)(o.CookieEnum.DeclaredId))},n.shouldFetchIdentity=function(e){var n;return 1==(null===(n=e.adobe)||void 0===n?void 0:n.identityCookiesEnabled)&&!!e.destinations.includes(o.DestinationEnum.Adobe)&&[(0,r.getCookie)(o.CookieEnum.AdobeAmcv),(0,r.getCookie)(o.CookieEnum.AdobeIdentity)].includes(null)},n.shouldFetchConsents=function(){return[(0,r.getCookie)(o.CookieEnum.DeclaredId),(0,r.getCookie)(o.CookieEnum.Sb1OptinAuthenticated)].includes(null)},n.isPreventionValues=function(e){return!!e&&a===e},n.setPreventionCookie=function(){document.cookie="".concat(o.CookieEnum.DeclaredId,"=").concat(a,"; expires=").concat(new Date((new Date).getTime()+3e5).toUTCString(),"; Path=/")}},1992:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getCookie=void 0,n.getCookie=function(e,n){void 0===n&&(n=document);var t="; ".concat(n.cookie).split("; ".concat(e,"="));return 2===t.length?decodeURIComponent(t[1].split(";")[0]):null}},3223:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getGlobalTracker=n.initGlobalTracker=n.updateGlobalTracker=void 0;var r=t(5634),o=t(9960);function a(e){window._sb1webbehaviortracker=function(){return e}}n.updateGlobalTracker=function(e){var n=(0,r.initWebBehaviorTracker)(e);return a(n),n},n.initGlobalTracker=function(e){var n=(0,r.initWebBehaviorTracker)(e);return a(n),n},n.getGlobalTracker=function(){var e;return(null===(e=window._sb1webbehaviortracker)||void 0===e?void 0:e.call(window))||(console.warn("Tried to fetch global tracker instance of @sb1/web-behavior-tracker, but it does not exist. Has initGlobalTracker been called?"),o.emptyWebBehaviorTracker)}},7365:function(e,n,t){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,n,t,r){void 0===r&&(r=t);var o=Object.getOwnPropertyDescriptor(n,t);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,o)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]}),o=this&&this.__exportStar||function(e,n){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(n,t)||r(n,e,t)};Object.defineProperty(n,"__esModule",{value:!0}),n.uuid=n.getCookie=n.extractBankSubBrandFromUri=n.extractBankFromUri=n.withDigitalBankDefaults=n.initWebBehaviorTracker=n.updateGlobalTracker=n.getGlobalTracker=n.initGlobalTracker=void 0;var a=t(3223);Object.defineProperty(n,"initGlobalTracker",{enumerable:!0,get:function(){return a.initGlobalTracker}}),Object.defineProperty(n,"getGlobalTracker",{enumerable:!0,get:function(){return a.getGlobalTracker}}),Object.defineProperty(n,"updateGlobalTracker",{enumerable:!0,get:function(){return a.updateGlobalTracker}});var i=t(5634);Object.defineProperty(n,"initWebBehaviorTracker",{enumerable:!0,get:function(){return i.initWebBehaviorTracker}});var l=t(4648);Object.defineProperty(n,"withDigitalBankDefaults",{enumerable:!0,get:function(){return l.withDigitalBankDefaults}});var s=t(2874);Object.defineProperty(n,"extractBankFromUri",{enumerable:!0,get:function(){return s.extractBankFromUri}}),Object.defineProperty(n,"extractBankSubBrandFromUri",{enumerable:!0,get:function(){return s.extractBankSubBrandFromUri}});var c=t(1992);Object.defineProperty(n,"getCookie",{enumerable:!0,get:function(){return c.getCookie}}),o(t(5296),n),o(t(7029),n),o(t(2331),n),o(t(9418),n),o(t(3635),n),o(t(3014),n),o(t(9960),n);var f=t(7429);n.uuid=f.v4},5634:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.initWebBehaviorTracker=void 0;var r=t(2331),o=t(7777),a=t(7429),i=t(8115),l=t(83),s=t(3478),c=t(5330),f=t(7029),u=t(1099),d=t(1992),p=t(242),A=function(e,n,t){var o,p=n(),A=h(p),m=(0,c.mapDestinations)(p,t,e.name);if(0!==m.length||e.name===r.EventNameEnum.ConsentChanged){var g={anonymousId:null!==(o=p.user.anonymousId)&&void 0!==o?o:"",bank:p.bank,context:(0,i.mapContext)(p,window,t),destinations:e.name===r.EventNameEnum.ConsentChanged?f.DEFAULT_DESTINATIONS:m,event:e.name,messageId:(0,a.v4)(),timestamp:(new Date).toISOString(),type:e.name===r.EventNameEnum.PageLoaded?"page":"track",properties:(0,l.removeUndefinedValues)(e.properties),customData:(0,u.mergeCustomData)(p.customData,null==t?void 0:t.customData)};(0,s.sendWithBeacon)(A)(g),"true"==(0,d.getCookie)(r.CookieEnum.PrintSignal)&&console.log(JSON.stringify(g,null,2))}},h=function(e){return null==e.backendEnvironment?"/api/tracking/webbehavior":"test"===e.backendEnvironment?"https://www.test.sparebank1.no/api/tracking/webbehavior":"https://www.sparebank1.no/api/tracking/webbehavior"};n.initWebBehaviorTracker=function(e){return e().disableTrackingCookies||(0,p.fetchMissingCookies)(e()),{page:function(n,t){return A({name:r.EventNameEnum.PageLoaded,properties:{internalPromotionName:null==t?void 0:t.internalPromotionName,personalization:null==t?void 0:t.personalization,discountName:null==t?void 0:t.discountName,customerStatus:null==t?void 0:t.customerStatus,pageTag:null==t?void 0:t.pageTag}},e,n)},consentChanged:function(n,t){return A({name:r.EventNameEnum.ConsentChanged,properties:{consentName:n.consentName,previousFunctional:n.previousFunctional,previousStatistic:n.previousStatistic,previousMarketing:n.previousMarketing,updatedFunctional:n.updatedFunctional,updatedStatistic:n.updatedStatistic,updatedMarketing:n.updatedMarketing}},e,t)},buttonClicked:function(n,t){var a;return A({name:r.EventNameEnum.ButtonClicked,properties:{buttonId:n.id,buttonText:n.text,buttonName:(0,o.mapButtonName)(n),linkType:null!==(a=n.linkType)&&void 0!==a?a:"button",linkUrl:n.linkUrl,closestAncestor:n.closestAncestor}},e,t)},formInitiated:function(n,t){var o;return A({name:r.EventNameEnum.FormInitiated,properties:{formId:n.formId,formName:n.formName,formStepName:null!==(o=n.formStepName)&&void 0!==o?o:"initiated",formContext:n.formContext,formType:n.formType,transactionId:n.transactionId,formUserType:n.formUserType,formVersion:n.formVersion,dualSign:n.dualSign,appliedAmount:n.appliedAmount,approvedAmount:n.approvedAmount,formPurpose:n.formPurpose,formInitStatus:n.formInitStatus}},e,t)},formStepStarted:function(n,t){return A({name:r.EventNameEnum.FormStepStarted,properties:{formId:n.formId,formName:n.formName,formStepName:n.formStepName,formContext:n.formContext,formType:n.formType,transactionId:n.transactionId,formUserType:n.formUserType,formVersion:n.formVersion,dualSign:n.dualSign,appliedAmount:n.appliedAmount,approvedAmount:n.approvedAmount,formPurpose:n.formPurpose,formInitStatus:n.formInitStatus}},e,t)},formStepCompleted:function(n,t){return A({name:r.EventNameEnum.FormStepCompleted,properties:{formId:n.formId,formName:n.formName,formStepName:n.formStepName,formContext:n.formContext,formType:n.formType,transactionId:n.transactionId,formUserType:n.formUserType,formVersion:n.formVersion,dualSign:n.dualSign,appliedAmount:n.appliedAmount,approvedAmount:n.approvedAmount,formPurpose:n.formPurpose,formInitStatus:n.formInitStatus}},e,t)},formCompleted:function(n,t){var o;return A({name:r.EventNameEnum.FormCompleted,properties:{formId:n.formId,formName:n.formName,formStepName:null!==(o=n.formStepName)&&void 0!==o?o:"completed",submitStatus:n.submitStatus,formContext:n.formContext,formType:n.formType,transactionId:n.transactionId,formUserType:n.formUserType,formVersion:n.formVersion,dualSign:n.dualSign,appliedAmount:n.appliedAmount,approvedAmount:n.approvedAmount,formPurpose:n.formPurpose,formInitStatus:n.formInitStatus}},e,t)},formErred:function(n,t){return A({name:r.EventNameEnum.FormErred,properties:{formId:n.formId,formName:n.formName,formStepName:n.formStepName,formContext:n.formContext,formType:n.formType,transactionId:n.transactionId,formUserType:n.formUserType,formVersion:n.formVersion,dualSign:n.dualSign,appliedAmount:n.appliedAmount,approvedAmount:n.approvedAmount,formPurpose:n.formPurpose,formInitStatus:n.formInitStatus}},e,t)},formCanceled:function(n,t){return A({name:r.EventNameEnum.FormCanceled,properties:{formId:n.formId,formName:n.formName,formStepName:n.formStepName,formContext:n.formContext,formType:n.formType,transactionId:n.transactionId,formUserType:n.formUserType,formVersion:n.formVersion,dualSign:n.dualSign,appliedAmount:n.appliedAmount,approvedAmount:n.approvedAmount,formPurpose:n.formPurpose,formInitStatus:n.formInitStatus}},e,t)},login:function(n,t){return A({name:r.EventNameEnum.Login,properties:{loginStatus:n.loginStatus}},e,t)},search:function(n,t){return A({name:r.EventNameEnum.Search,properties:{searchResults:n.searchResults,searchTerm:n.searchTerm.replace(/(\r\n|\n|\r)/gm,"").trim(),searchType:n.searchType}},e,t)},searchClicked:function(n,t){return A({name:r.EventNameEnum.Search,properties:{searchResults:n.searchResults,searchTerm:n.searchTerm.replace(/(\r\n|\n|\r)/gm,"").trim(),searchType:n.searchType,searchPosition:n.searchPosition}},e,t)},internalPromotionClicked:function(n,t){return A({name:r.EventNameEnum.InternalPromotionClicked,properties:{internalPromotionName:n.internalPromotionName}},e,t)},zipSearch:function(n,t){return A({name:r.EventNameEnum.ZipSearch,properties:{zipCode:n.zipCode,zipSearchResults:n.zipSearchResults,searchType:n.searchType}},e,t)},zipSearchClick:function(n,t){return A({name:r.EventNameEnum.ZipSearchClick,properties:{zipCode:n.zipCode,zipSearchResults:n.zipSearchResults,searchType:n.searchType,bankName:n.bankName}},e,t)},zipSearchClickPrefilled:function(n,t){return A({name:r.EventNameEnum.ZipSearchClickPrefilled,properties:{searchType:n.searchType,bankName:n.bankName}},e,t)},findYourBankClick:function(n,t){return A({name:r.EventNameEnum.FindYourBankClick,properties:{zipCode:n.zipCode,zipSearchResults:n.zipSearchResults,searchType:n.searchType,bankName:n.bankName}},e,t)},findYourBankClickPrefilled:function(n,t){return A({name:r.EventNameEnum.FindYourBankClickPrefilled,properties:{searchType:n.searchType,bankName:n.bankName}},e,t)},calculatorInteraction:function(n,t){return A({name:r.EventNameEnum.CalculatorInteraction,properties:{calculatorName:n.calculatorName}},e,t)},calculatorApplyForLoan:function(n,t){return A({name:r.EventNameEnum.CalculatorApplyForLoan,properties:{calculatorName:n.calculatorName}},e,t)},calculatorContactUs:function(n,t){return A({name:r.EventNameEnum.CalculatorContactUs,properties:{calculatorName:n.calculatorName}},e,t)},componentViewed:function(n,t){return A({name:r.EventNameEnum.ComponentViewed,properties:{componentName:n.componentName}},e,t)},googleBankRedirect:function(n,t){return A({name:r.EventNameEnum.GoogleBankRedirect,properties:{bankName:n.bankName}},e,t)},autoBankRedirect:function(n,t){return A({name:r.EventNameEnum.AutoBankRedirect,properties:{bankName:n.bankName}},e,t)},videoStart:function(n,t){return A({name:r.EventNameEnum.VideoStart,properties:{videoTitle:n.videoTitle}},e,t)},videoEnd:function(n,t){return A({name:r.EventNameEnum.VideoEnd,properties:{videoTitle:n.videoTitle,videoPercentage:n.videoPercentage,videoTime:n.videoTime}},e,t)},videoUpdate:function(n,t){return A({name:r.EventNameEnum.VideoUpdate,properties:{videoTitle:n.videoTitle,videoPercentage:n.videoPercentage,videoTime:n.videoTime}},e,t)},discountPromoClicked:function(n,t){return A({name:r.EventNameEnum.DiscountPromoClicked,properties:{discountName:n.discountName}},e,t)},discountOpenBox:function(n,t){return A({name:r.EventNameEnum.DiscountOpenBox,properties:{discountName:n.discountName}},e,t)},discountExposed:function(n,t){return A({name:r.EventNameEnum.DiscountExposed,properties:{discountName:n.discountName}},e,t)},faqRead:function(n,t){return A({name:r.EventNameEnum.FaqRead,properties:{faqName:n.faqName}},e,t)},feedbackGiven:function(n,t){return A({name:r.EventNameEnum.FeedbackGiven,properties:{rating:n.rating,component:n.component}},e,t)}}}},8221:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isTruthy=void 0,n.isTruthy=function(e){return!!e}},6930:function(e,n,t){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var n,t=1,r=arguments.length;t{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.mapButtonName=void 0;var r=t(8221);function o(e){return e.toLowerCase().replace(/ /g,"-")}n.mapButtonName=function(e){return[e.section,e.product,e.action].filter(r.isTruthy).map(o).join("_")}},8115:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.mapContext=void 0;var r=t(8221),o=t(2331),a=t(6930);n.mapContext=function(e,n,t){var s,c,f,u,d,p;return{adobe:(0,a.mapAdobe)(e),app:e.application,browser:{viewportWidth:n.innerWidth,viewportHeight:n.innerHeight},library:{name:"@sb1/web-behavior-tracker",version:"13.2.3"},optIn:[e.user.optins.functional&&o.OptInEnum.Functional,e.user.optins.marketing&&o.OptInEnum.Marketing,e.user.optins.statistics&&o.OptInEnum.Statistics].filter(r.isTruthy),page:{referrer:null!==(s=null==t?void 0:t.referrer)&&void 0!==s?s:n.document.referrer,title:null!==(c=null==t?void 0:t.title)&&void 0!==c?c:n.document.title,url:null!==(f=null==t?void 0:t.url)&&void 0!==f?f:n.location.href,language:e.user.language,type:null==t?void 0:t.type},screen:{width:n.screen.width,height:n.screen.height,density:Math.floor(1e3*n.devicePixelRatio)/1e3,orientation:i(null===(d=null===(u=n.screen)||void 0===u?void 0:u.orientation)||void 0===d?void 0:d.type)},sessionId:null!==(p=e.user.sessionId)&&void 0!==p?p:void 0,userAgent:n.navigator.userAgent,product:l(null==t?void 0:t.product,e.product)}};var i=function(e){return"portrait"===e||"portrait-primary"===e||"portrait-secondary"===e?"portrait":"landscape"===e||"landscape-primary"===e||"landscape-secondary"===e?"landscape":void 0},l=function(e,n){return e||n||void 0}},5330:function(e,n,t){"use strict";var r=this&&this.__spreadArray||function(e,n,t){if(t||2===arguments.length)for(var r,o=0,a=n.length;o-1&&(n=c(n,s(e))),n}function s(e){var n=[o.EventNameEnum.FormStepCompleted];return e.eventName&&n.indexOf(e.eventName)>-1?["HUMIO"]:e.requestedDestinations}function c(e,n){for(var t=new Set,r=new Set(e),o=0,a=n;o{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeUndefinedValues=void 0,n.removeUndefinedValues=function(e){if(void 0!==e)return JSON.parse(JSON.stringify(e))}},3478:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.sendWithBeacon=void 0,n.sendWithBeacon=function(e){return function(n){var r=new Blob([JSON.stringify(n)],{type:"'application/vnd.sparebank1.v1+json; charset=utf-8'"});return navigator.sendBeacon?navigator.sendBeacon(e,r):t(e,r)}};var t=function(e,n){var t=new XMLHttpRequest;t.open("POST",e,!0),t.withCredentials=!0,t.setRequestHeader("Accept","*/*"),t.setRequestHeader("Content-Type",n.type);try{return t.send(n),!0}catch(e){return console.warn("Tracking error: "+e),!1}}},5296:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0})},7029:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.PREVENTION_COOKIE_VALUE=n.DEFAULT_DESTINATIONS=void 0;var r=t(2331);n.DEFAULT_DESTINATIONS=[r.DestinationEnum.Adobe,r.DestinationEnum.Humio,r.DestinationEnum.Datavarehus],n.PREVENTION_COOKIE_VALUE="declaredid|ikke_satt|X"},2331:(e,n)=>{"use strict";var t,r,o,a,i,l,s,c,f,u,d,p;Object.defineProperty(n,"__esModule",{value:!0}),n.Validators=n.FeedbackEmojiEnum=n.EventNameEnum=n.CookieEnum=n.LinkTypeEnum=n.DestinationEnum=n.SubBrandEnum=n.BusinessUnitEnum=n.AppContextEnum=n.LanguageEnum=n.OptInEnum=n.BankEnum=void 0,(p=n.BankEnum||(n.BankEnum={})).OstfoldAkershus="ostfold-akershus",p.Ostlandet="ostlandet",p.LomSkjaak="lom-skjaak",p.Gudbrandsdal="gudbrandsdal",p.RingerikeHadeland="ringerike-hadeland",p.HallingdalValdres="hallingdal",p.SrBank="sr-bank",p.Nordmore="nordmore",p.Smn="smn",p.NordNorge="nord-norge",p.Helgeland="helgeland",p.Sorost="sorost",p.All="all",p.None="none",(d=n.OptInEnum||(n.OptInEnum={})).Functional="FUNCTIONAL",d.Marketing="MARKETING",d.Statistics="STATISTICS",(u=n.LanguageEnum||(n.LanguageEnum={})).nn="nn",u.nb="nb",u.en="en",(f=n.AppContextEnum||(n.AppContextEnum={})).aapneSider="aapne-sider",f.digitalbank="digitalbank",f.kreditt="kreditt",f.fremtind="fremtind",f.eiendomsmegler1="eiendomsmegler1",(c=n.BusinessUnitEnum||(n.BusinessUnitEnum={})).SpareBank1="SpareBank 1",c.Kreditt="SpareBank 1 Kreditt",c.Fremtind="Fremtind",c.EiendomsMegler1="EiendomsMegler 1",(s=n.SubBrandEnum||(n.SubBrandEnum={})).Bank="bank",s.Ostfold="ostfold-akershus",s.Ostlandet="ostlandet",s.LomSkjaak="lom-skjaak",s.Gudbrandsdal="gudbrandsdal",s.RingerikeHadeland="ringerike-hadeland",s.HallingdalValdres="hallingdal",s.SrBank="sr-bank",s.Nordmore="nordmore",s.Smn="smn",s.NordNorge="nord-norge",s.Helgeland="helgeland",s.Sorost="sorost",s.Kreditt="kreditt",s.Fremtind="fremtind",s.None="none",s.Em1Felles="em1felles",s.Em1Sr="em1sr",s.Em1Nn="em1nn",s.Em1Inn="em1inn",s.Em1Mn="em1mn",s.Em1Oah="em1oah",s.Em1Oea="em1oea",s.Em1Tel="em1tel",s.Em1Bv="em1bv",s.Em1Fjell="em1fjell",s.Em1Rh="em1rh",s.Em1Lg="em1lg",(l=n.DestinationEnum||(n.DestinationEnum={})).Adobe="ADOBE",l.Humio="HUMIO",l.Datavarehus="DATAVAREHUS",(i=n.LinkTypeEnum||(n.LinkTypeEnum={})).Button="button",i.Menu="menu",i.Navigation="navigation",i.External="external",i.Login="login",i.Promotion="promotion",i.Shortcut="shortcut",i.Download="download",i.Accordion="accordion",i.Dropdown="dropdown",i.Tab="tab",(a=n.CookieEnum||(n.CookieEnum={})).DeclaredId="DECLAREDID",a.SessionId="DSESSIONID",a.Sb1OptinAuthenticated="sb1-optin-authenticated",a.AdobeIdentity="kndctr_34D5E37A5447B2650A4C98C6_AdobeOrg_identity",a.AdobeAmcv="AMCV_34D5E37A5447B2650A4C98C6%40AdobeOrg",a.PrintSignal="print_signal",(o=n.EventNameEnum||(n.EventNameEnum={})).PageLoaded="PageLoaded",o.FormInitiated="FormInitiated",o.FormStepStarted="FormStepStarted",o.FormStepCompleted="FormStepCompleted",o.FormCanceled="FormCanceled",o.FormErred="FormErred",o.FormCompleted="FormCompleted",o.ConsentChanged="ConsentChanged",o.ButtonClicked="ButtonClicked",o.Login="Login",o.Search="Search",o.InternalPromotionClicked="InternalPromotionClicked",o.ZipSearch="ZipSearch",o.ZipSearchClick="ZipSearchClick",o.ZipSearchClickPrefilled="ZipSearchClickPrefilled",o.FindYourBankClick="FindYourBankClick",o.FindYourBankClickPrefilled="FindYourBankClickPrefilled",o.CalculatorInteraction="CalculatorInteraction",o.CalculatorApplyForLoan="CalculatorApplyForLoan",o.CalculatorContactUs="CalculatorContactUs",o.ComponentViewed="ComponentViewed",o.VideoStart="VideoStart",o.VideoEnd="VideoEnd",o.VideoUpdate="VideoUpdate",o.AutoBankRedirect="AutoBankRedirect",o.GoogleBankRedirect="GoogleBankRedirect",o.DiscountPromoClicked="DiscountPromoClicked",o.DiscountOpenBox="DiscountOpenBox",o.DiscountExposed="DiscountExposed",o.FaqRead="FaqRead",o.FeedbackGiven="FeedbackGiven",(r=n.FeedbackEmojiEnum||(n.FeedbackEmojiEnum={})).ThumbsDown="1",r.ThumbsUp="10",r.Frowning="1",r.SlightlyFrowning="3",r.Neutral="5",r.SlightlySmiling="7",r.Smiling="10",(t=n.Validators||(n.Validators={})).genericProperty="^[0-9a-zA-ZÆØÅæøå\\s:;/|_\\-]{0,100}+$",t.internalPromotionName="[a-zA-ZæøåÆØÅ\\d;\\-,_]+$",t.buttonText="^.{0,100}+$",t.productName="^[a-z_-]{0,100}+$",t.productCategory="^[a-z0-9\\-_]{0,100}+$",t.productEntry="^[a-z_-]{0,100}+$",t.customData="^[0-9a-zA-ZÆØÅæøå\\s\\-]{0,100}+$",t.customDataKey="^[a-zA-Z]{0,50}+$",t.userInput='[a-zA-ZæøåÆØÅ0-9\\s,+_–"/|().?*\\-\\\\]{0,120}'},9418:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0})},3014:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0})},3635:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0})},9960:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.emptyWebBehaviorTracker=void 0,n.emptyWebBehaviorTracker={page:function(){return null},consentChanged:function(){return null},buttonClicked:function(){return null},formInitiated:function(){return null},formStepStarted:function(){return null},formStepCompleted:function(){return null},formCompleted:function(){return null},formErred:function(){return null},formCanceled:function(){return null},login:function(){return null},search:function(){return null},searchClicked:function(){return null},zipSearch:function(){return null},zipSearchClick:function(){return null},zipSearchClickPrefilled:function(){return null},findYourBankClick:function(){return null},findYourBankClickPrefilled:function(){return null},calculatorInteraction:function(){return null},calculatorApplyForLoan:function(){return null},calculatorContactUs:function(){return null},internalPromotionClicked:function(){return null},componentViewed:function(){return null},googleBankRedirect:function(){return null},autoBankRedirect:function(){return null},videoStart:function(){return null},videoEnd:function(){return null},videoUpdate:function(){return null},discountPromoClicked:function(){return null},discountOpenBox:function(){return null},discountExposed:function(){return null},faqRead:function(){return null},feedbackGiven:function(){return null}}},2517:(e,n,t)=>{"use strict";n.u7=n.ZP=void 0;var r,o,a,i,l,s=(r=t(6573))&&r.__esModule?r:{default:r};function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var f="nb",u="nn",d="en",p="no_NO",A="no_NO_NY",h="en",m=(c(o={},A,u),c(o,h,d),c(o,p,f),o),g=function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:"";switch(e.toLowerCase()){case f:case p.toLowerCase():return f;case u:case A.toLowerCase():return u;case d:case h.toLowerCase():return d;default:throw new Error("Could not find ISO locale for language ".concat(e))}}};n.ZP=v},8532:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return Object.assign(e,{cachebuster:Math.random().toString(36).slice(2)})}},903:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.NAME=n.VERSION=void 0;var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,n){var t=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(t.push(i.value),!n||t.length!==n);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return t}(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=(r=t(6105))&&r.__esModule?r:{default:r},l=n.VERSION="2.1.1",s=n.NAME="@sparebank1/nfe-splunk-analytics",c=function(){if("undefined"!=typeof document&&document.getElementsByTagName("script").length){var e=document.getElementsByTagName("script");return e[e.length-1].src}};n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.imageAbsoluteUrl,t=e.imageBaseUrl,r=void 0===t?"":t,f=e.useImagePath,u=c(),d=f?"libs/"+s+"/"+l+"/image/1x1.png":"",p=[n&&""+n+r+d,u&&""+u.replace(/[^/]+$/,"")+r+d].filter(Boolean),A=a(p,1)[0];return A?function(e){if(null!==e&&"object"===(void 0===e?"undefined":o(e)))return new Promise((function(n){var t=new Image;t.src=A+"?"+(0,i.default)(e),t.onload=function(){n()},t.onerror=function(){n()}}));console.warn(s+" logging expected object, received '"+e+"'.")}:Function.prototype}},692:(e,n,t)=>{"use strict";var r=t(4018);Object.defineProperty(n,"Z",{enumerable:!0,get:function(){return(e=r,e&&e.__esModule?e:{default:e}).default;var e}})},1798:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return Object.assign(e,{ctr:t++})};var t=0},416:(e,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return Object.assign(e,{timestamp:t()})};var t="undefined"!=typeof window&&window.performance&&window.performance.now?function(){return Math.round(window.performance.now())}:function(){}},4018:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return!0},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(0,r.default)(t),a=s.reduce((function(e,n){return function(t){return n(e(t))}}),n);return function(n){if(e(n))return o(a(n))}};var r=l(t(903)),o=l(t(1798)),a=l(t(8532)),i=l(t(416));function l(e){return e&&e.__esModule?e:{default:e}}var s=[o.default,a.default,i.default]},6105:(e,n,t)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,t=(0,r.stringify)(e,{allowDots:!0,arrayFormat:"indices"}).split("&").map((function(e){return[e.split("=")[0].replace(/\./g,"_"),e.split("=")[1]]})).map((function(e){return[e[0].replace(/%5B/g,"_").replace(/%5D/g,""),e[1]]})).reduce((function(e,n){return e+(e?"&":"")+"ALY_"+n[0]+"="+n[1]}),"");return t.length>n?t.substr(0,t.lastIndexOf("&",n)):t};var r=t(129),o=4096},7413:(e,n)=>{"use strict";n.__esModule=!0,n.combineValidators=void 0,n.combineValidators=function(e){return function(n,t){return Object.keys(e).reduce((function(r,o){var a=e[o];return r[o]=a(n[o],t),r}),{})}}},7055:(e,n)=>{"use strict";function t(e){return!!e}n.__esModule=!0,n.default=function(e){return function(n,r){var o=e.map((function(e){return e(n,r)})).filter(t);return 0===o.length?null:o}}},5995:(e,n)=>{"use strict";n.__esModule=!0,n.createValidator=void 0,n.createValidator=function(e){return{withMessage:function(n){return function(t,r){return e(t,r)?null:"function"==typeof n?n(t,r):n}}}}},5793:function(e,n,t){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};n.__esModule=!0,n.isOwaspPasswordLoose=n.isOwaspLooseLooseNoTags=n.isOwaspLooseLoose=n.isOwaspLoose=n.isOwaspStrictUrl=n.isOwaspStrict=n.isPersonName=n.isPostalNumber=n.isOrganisationNumber=n.isKidNumber=n.isMobileNumber=n.isPhoneNumber=n.isEmail=n.isSsn=n.isAmountOre=n.isAmountKr=n.isAmount=n.isAccountNumber=n.isNumeric=n.isRequired=n.whenever=n.combineValidators=n.composeValidators=n.createValidator=void 0;var o=t(5995);n.createValidator=o.createValidator;var a=r(t(7055));n.composeValidators=a.default;var i=t(7413);n.combineValidators=i.combineValidators;var l=t(9751);n.whenever=l.whenever;var s=r(t(7454));n.isRequired=s.default;var c=r(t(4306));n.isNumeric=c.default;var f=r(t(4773));n.isAccountNumber=f.default;var u=r(t(3064));n.isAmount=u.default;var d=r(t(2526));n.isAmountKr=d.default;var p=r(t(3717));n.isAmountOre=p.default;var A=r(t(5626));n.isSsn=A.default;var h=r(t(2438));n.isEmail=h.default;var m=r(t(5618));n.isPhoneNumber=m.default;var g=r(t(9467));n.isMobileNumber=g.default;var v=r(t(3939));n.isKidNumber=v.default;var b=r(t(299));n.isOrganisationNumber=b.default;var y=r(t(7028));n.isPostalNumber=y.default;var E=r(t(4913));n.isPersonName=E.default;var w=r(t(4340));n.isOwaspStrict=w.default;var C=r(t(8772));n.isOwaspStrictUrl=C.default;var _=r(t(8864));n.isOwaspLoose=_.default;var k=r(t(1993));n.isOwaspLooseLoose=k.default;var x=r(t(9642));n.isOwaspLooseLooseNoTags=x.default;var O=r(t(3748));n.isOwaspPasswordLoose=O.default},6209:(e,n)=>{"use strict";n.__esModule=!0,n.luhn=n.mod11=void 0,n.mod11=function(e){for(var n=2,t=0,r=e.length-2;r>=0;--r)t+=e.charAt(r)*n,++n>7&&(n=2);var o=11-t%11;return 11===o?0:o},n.luhn=function(e){for(var n=0,t=e.length-2;t>=0;t-=2){var r=(2*parseInt(e.charAt(t),10)).toString();n+=parseInt(r.charAt(0),10)+parseInt(r.charAt(1)||"0",10)}for(t=e.length-3;t>=0;t-=2)n+=parseInt(e.charAt(t),10);var o=n.toString();return 10-parseInt(o.charAt(o.length-1),10)}},4773:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=t(6209),a=/^\d{4}\s?\d{2}\s?\d{5}$/;n.default=(0,r.createValidator)((function(e){return!e||function(e){if(a.test(e)){var n=e.toString().replace(/\s/g,"");return parseInt(n.charAt(n.length-1),10)===(0,o.mod11)(n)}return!1}(e)}))},2526:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=/^(([1-9]\d{0,2})(\s\d{3})+|[1-9]\d{0,2}|0)$/;n.default=(0,r.createValidator)((function(e){return!e||o.test(e)}))},3717:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=/^\d{2}$/;n.default=(0,r.createValidator)((function(e){return!e||o.test(e)}))},3064:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=/^\d+([,.]\d{2})?$/;n.default=(0,r.createValidator)((function(e){return null==e||""===e||o.test(""+e)}))},2438:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}))},3939:(e,n,t)=>{"use strict";n.__esModule=!0,n.isKIDValidMod10=n.isKIDValidMod11=void 0;var r=t(5995);function o(e){for(var n=[7,6,5,4,3,2,7,6,5,4,3,2,7,6,5,4,3,2,7,6,5,4,3,2,1],t=24,r=0,o=e.length-1;o>=0;o--){var a=e.charAt(o),i="-"===a?-1:Number(a);r+=n[t--]*i}return r%11==0}function a(e){for(var n=0,t=1,r=e.length-1;r>=0;r--){var o=e.charAt(r),a=t*Number(o);a>9&&(a-=9),n+=a,t=3-t}return n%10==0}n.isKIDValidMod11=o,n.isKIDValidMod10=a;var i=/^\d{1,25}-?$/;n.default=(0,r.createValidator)((function(e){return!e||function(e){return!!i.test(e)&&(a(e)||o(e))}(e)}))},9467:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||!!e.toString().replace(/ /g,"").replace(/^00/,"+").match(/^((\+47\s?(4|9)(\d{7}))$|^(47\s?(4|9)(\d{7}))$|^(4|9)(\d{7})$)|(^\+(?!47)\d{7,15}$)/)}))},4306:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=/^\d+$/;n.default=(0,r.createValidator)((function(e){return!e||"number"==typeof e||o.test(e)}))},299:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=t(6209),a=/^\d{9}$/;n.default=(0,r.createValidator)((function(e){return!e||function(e){return a.test(e)&&parseInt(e.charAt(e.length-1),10)===(0,o.mod11)(e)}(e)}))},9642:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||new RegExp("^[\\s\\p{L}\\p{Nd}&\";.,/()\\-_+@\\*':;?!#%]*$","ug").test(e)}))},1993:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||new RegExp("^[\\s\\p{L}\\p{Nd}&\"<>;.,/()\\-_+@\\*':;?!#%]*$","ug").test(e)}))},8864:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||new RegExp("^[\\s\\p{L}\\p{Nd}&\"<>;.,/()\\-_+@\\*':;?!#]*$","ug").test(e)}))},3748:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||"object"!=typeof e&&new RegExp("^[\\wæøåÆØÅ&!@#£\\$%/{(\\[)\\]}=?+\\\\`\\^~'\\*\\-_;.,:<>|§ ]*$","ug").test(e)}))},8772:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||new RegExp("^[0-9\\s\\xA0\\p{L}&.:=;?#,/()\\-@]*$","ug").test(e)}))},4340:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||new RegExp("^[0-9\\s\\xA0\\p{L}&.,/()\\-@]*$","ug").test(e)}))},4913:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=/^[a-zA-Z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u01BF\u01C4-\u024F.\s-]*$/;n.default=(0,r.createValidator)((function(e){return!e||o.test(e)}))},5618:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!e||!!e.toString().replace(/ /g,"").match(/^((\+?47)?(\d{8})$)|(\+(?!47)\d{6,}$)/)}))},7028:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=/^\d{4}$/;n.default=(0,r.createValidator)((function(e){return!e||o.test(e)}))},7454:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995);n.default=(0,r.createValidator)((function(e){return!!e}))},5626:(e,n,t)=>{"use strict";n.__esModule=!0;var r=t(5995),o=t(1228);n.default=(0,r.createValidator)((function(e){return!e||(0,o.isValidSSN)(e)}))},1228:(e,n)=>{"use strict";n.__esModule=!0,n.getSSNAge=n.getSex=n.getSSNDate=n.isValidSSN=void 0;var t=/^\d{11}$/,r=[3,7,6,1,8,9,4,5,2],o=[5,4,3,2,7,6,5,4,3,2],a=function(e){var n=function(e){return e>40?e-40:e}(parseInt(e.substring(0,2),10)),t=parseInt(e.substring(2,4),10)-1,r=parseInt(e.substring(4,6),10),o=function(e,n){return function(e,n){return e>=500&&e<=749&&n>=54}(e,n)?1800:function(e,n){return e<=499||e>=900&&n>=40}(e,n)?1900:2e3}(parseInt(e.substring(6,9),10),r),a=o+r,i=new Date(a,t,n,0,0,0);return n!==i.getDate()||t!==i.getMonth()||a!==i.getFullYear()?null:i};n.isValidSSN=function(e){if(!e||!t.test(e)||null===a(e))return!1;for(var n=0,i=0;i<=8;i++)n+=parseInt(e.charAt(i),10)*r[i];var l=11-((n-1)%11+1)===parseInt(e.charAt(9),10);for(n=0,i=0;i<=9;i++)n+=parseInt(e.charAt(i),10)*o[i];return l&&11-((n-1)%11+1)===parseInt(e.charAt(10),10)},n.getSSNDate=function(e){return(0,n.isValidSSN)(e)?a(e):null},n.getSex=function(e){return e&&(0,n.isValidSSN)(e)?parseInt(e.charAt(8),10)%2==0?"F":"M":null},n.getSSNAge=function(e,t){if(!(0,n.isValidSSN)(e)||!t)return-1;var r=(0,n.getSSNDate)(e);if(null===r)return-1;var o=t.getTime()-r.getTime(),a=new Date(o);return Math.abs(a.getUTCFullYear()-1970)}},9751:(e,n)=>{"use strict";n.__esModule=!0,n.whenever=void 0,n.whenever=function(e){return{then:function(n){var t=function(n,t){return function(r,o){return(e(r,o)?n:t)(r,o)}};return{else:function(e){return t(n,e)},elseNull:function(){return t(n,(function(){return null}))}}}}}},201:(e,n)=>{"use strict";n.__esModule=!0,n.hasOptinCookie=n.getOptIn=n.getOptinCookie=n.OPTIN_TYPES=void 0;var t,r="sb1-optin",o="sb1-optin-authenticated";function a(){var e;return null!==(e=i(o))&&void 0!==e?e:i(r)}function i(e){var n=document.cookie.match(new RegExp(e+"=(.*?)-v"));return n?n[1]:null}function l(){var e,n=a();return null!==n?function(e){var n;return e.split(",").reduce((function(e,n){return n!==t.FUNKSJONELL&&n!==t.STATISTIKK&&n!==t.MARKEDSFORING||(e[n]=!0),e}),((n={})[t.FUNKSJONELL]=!1,n[t.STATISTIKK]=!1,n[t.MARKEDSFORING]=!1,n))}(n):((e={})[t.FUNKSJONELL]=!1,e[t.STATISTIKK]=!1,e[t.MARKEDSFORING]=!1,e)}!function(e){e.FUNKSJONELL="F",e.STATISTIKK="S",e.MARKEDSFORING="M"}(t=n.OPTIN_TYPES||(n.OPTIN_TYPES={})),n.getOptinCookie=a,n.getOptIn=l,n.hasOptinCookie=function(){return!!document.cookie.match(new RegExp("("+o+"|"+r+")=(.*?)-v"))},n.default={hasOptedIn:function(e){var n;return null!==(n=l()[e])&&void 0!==n&&n}}},3379:e=>{var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};e.exports=function(e,t){return"number"!=typeof t||n[e]?t:t+"px"}},1555:(e,n,t)=>{"use strict";t.r(n);var r={};t.r(r),t.d(r,{JsonPatchError:()=>Fu,_areEquals:()=>Qu,applyOperation:()=>Hu,applyPatch:()=>Yu,applyReducer:()=>Wu,deepClone:()=>Uu,getValueByPointer:()=>Vu,validate:()=>Xu,validator:()=>qu});var o={};t.r(o),t.d(o,{compare:()=>od,generate:()=>td,observe:()=>nd,unobserve:()=>ed});var a=t(7294),i=t(3935),l=t(9790),s=t(1697);function c(e){var n=document.createElement("style");return n.textContent=e.replaceAll("html",":host"),n.textContent=e.replaceAll(":root",":host"),n}var f=t(5697),u=t.n(f),d=t(4184),p=t.n(d),A=["className","immediate","large"];function h(){return h=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,A);return a.createElement("span",h({"aria-live":"assertive",className:p()("ffe-loading-spinner",{"ffe-loading-spinner--immediate":t},{"ffe-loading-spinner--large":r},n)},o))};m.propTypes={className:f.string,immediate:f.bool,large:f.bool},m.defaultProps={immediate:!1,large:!1};const g=m,v=function(e){var n,t=function(e){return e.dataset.bank}(e)||(n=window.location.search)&&n.match(/bank=([a-zA-Z-]+)/)[1];if(!t)throw Error("Could not find bank");return t};var b=["children","headingLevel","className"];function y(){return y=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,b);return a.createElement("div",y({className:p()(r,"ffe-accordion"),role:"group","aria-label":"Trekkspillmeny"},o),a.Children.map(n,(function(e,n){return a.cloneElement(e,{headingLevel:t})})))};E.propTypes={children:f.node,headingLevel:(0,f.oneOf)([1,2,3,4,5,6]).isRequired,className:f.string};const w=E,C={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let _;const k=new Uint8Array(16);function x(){if(!_&&(_="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!_))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return _(k)}const O=[];for(let e=0;e<256;++e)O.push((e+256).toString(16).slice(1));const I=function(e,n,t){if(C.randomUUID&&!n&&!e)return C.randomUUID();const r=(e=e||{}).random||(e.rng||x)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,n){t=t||0;for(let e=0;e<16;++e)n[t+e]=r[e];return n}return function(e,n=0){return(O[e[n+0]]+O[e[n+1]]+O[e[n+2]]+O[e[n+3]]+"-"+O[e[n+4]]+O[e[n+5]]+"-"+O[e[n+6]]+O[e[n+7]]+"-"+O[e[n+8]]+O[e[n+9]]+"-"+O[e[n+10]]+O[e[n+11]]+O[e[n+12]]+O[e[n+13]]+O[e[n+14]]+O[e[n+15]]).toLowerCase()}(r)};var S=["desc","title"];function T(){return T=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,S);return a.createElement("svg",T({},N.props,r),t&&a.createElement("title",null,t),n&&a.createElement("desc",null,n),N.props.children)};$.propTypes={desc:u().string,title:u().string,focusable:u().oneOf([!0,!1,"true","false","auto","undefined"])};const P=$;function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}var B=["className","style","isOpen","onRest"];function D(){return D=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,B),l=(0,a.useRef)(),s=F((0,a.useState)((function(){return r?"auto":"0"})),2),c=s[0],f=s[1],u=F((0,a.useState)((function(){return r?"visible":"hidden"})),2),d=u[0],A=u[1],h=F((0,a.useState)((function(){return r?"visible":"hidden"})),2),m=h[0],g=h[1];(0,a.useEffect)((function(){l.current&&(r&&"auto"!==c?(f("".concat(l.current.scrollHeight,"px")),g("visible")):r||"0"===c||(f("".concat(l.current.scrollHeight,"px")),window.requestAnimationFrame((function(){return setTimeout((function(){f("0"),A("hidden")}))}))))}),[r,c]);var v=M(M({},t),{},{willChange:"height",height:c,overflow:d,visibility:m});return a.createElement("div",D({},i,{ref:l,style:v,className:p()("ffe-collapse-transition",n),onTransitionEnd:function(e){e.target===l.current&&"height"===e.propertyName&&(r?(f("auto"),A("visible")):g("hidden"),o&&o())}}))};G.displayName="Collapse",G.propTypes={className:f.string,style:f.object,isOpen:f.bool,onRest:f.func};const z=G;var V=["children","heading","defaultOpen","isOpen","className","onToggleOpen","ariaLabel"],H=["headingLevel","forwardedRef"];function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var Q=function(e){var n=e.children,t=e.heading,r=e.defaultOpen,o=e.isOpen,i=e.className,l=e.onToggleOpen,s=void 0===l?Function.prototype:l,c=e.ariaLabel,f=X(e,V),u=W((0,a.useState)(r),2),d=u[0],A=u[1],h=W((0,a.useState)(!1),2),m=h[0],g=h[1],v=W((0,a.useState)(!1),2),b=v[0],y=v[1],E=(0,a.useRef)(I()),w=(0,a.useRef)(I());(0,a.useEffect)((function(){null!=o&&(g(!0),A(o))}),[o]);var C=f.headingLevel,_=f.forwardedRef,k=X(f,H),x=!d&&!m,O="h".concat(C);return a.createElement("div",Y({className:p()(i,"ffe-accordion-item",{"ffe-accordion-item--open":d,"ffe-accordion-item--focus":b})},k),a.createElement(O,{className:"ffe-h6 ffe-accordion-item__heading"},a.createElement("button",{type:"button",id:E.current,ref:_,"aria-expanded":d?"true":"false","aria-controls":w.current,"aria-label":c,className:p()("ffe-accordion-item__heading-button",{"ffe-accordion-item__heading-button--open":d}),onClick:function(){s(!d),null==o&&(g(!0),A(!d))},onFocus:function(){return y(!0)},onBlur:function(){return y(!1)}},a.createElement("span",{className:"ffe-accordion-item__heading-button-content"},t,a.createElement("span",{className:"ffe-accordion-item__heading-icon-wrapper"},a.createElement(P,{className:"ffe-accordion-item__heading-icon","aria-hidden":"true"}))))),a.createElement(z,{isOpen:d,onRest:function(){return g(!1)},id:w.current,"aria-labelledby":E.current,hidden:x,role:"region"},!x&&a.createElement("div",{className:"ffe-accordion-item__body"},n)))};Q.propTypes={heading:f.node.isRequired,children:f.node.isRequired,defaultOpen:f.bool,isOpen:f.bool,className:f.string,onToggleOpen:f.func,ariaLabel:f.string};const J=a.forwardRef((function(e,n){return a.createElement(Q,Y({},e,{forwardedRef:n}))}));var K=["desc","title"];function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,K);return a.createElement("svg",Z({},ee.props,r),t&&a.createElement("title",null,t),n&&a.createElement("desc",null,n),ee.props.children)};ne.propTypes={desc:u().string,title:u().string,focusable:u().oneOf([!0,!1,"true","false","auto","undefined"])};const te=ne;var re=["desc","title"];function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,re);return a.createElement("svg",oe({},ae.props,r),t&&a.createElement("title",null,t),n&&a.createElement("desc",null,n),ae.props.children)};ie.propTypes={desc:u().string,title:u().string,focusable:u().oneOf([!0,!1,"true","false","auto","undefined"])};const le=ie;var se=["desc","title"];function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,se);return a.createElement("svg",ce({},fe.props,r),t&&a.createElement("title",null,t),n&&a.createElement("desc",null,n),fe.props.children)};ue.propTypes={desc:u().string,title:u().string,focusable:u().oneOf([!0,!1,"true","false","auto","undefined"])};const de=ue;var pe=["children","className","element","type","role"];function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,pe);return a.createElement(r,Ae({className:p()("ffe-field-message","ffe-field-message--".concat(o),t),role:i},l),a.createElement("span",{className:p()("ffe-field-message__icon","ffe-field-message__icon--".concat(o,"'"))},function(){switch(o){case"error":return a.createElement(de,{role:"img",title:"utropstegn-ikon"});case"success":return a.createElement(le,{role:"img",title:"hake-ikon"});default:return a.createElement(te,{role:"img",title:"info-ikon"})}}()),n)};he.defaultProps={element:"div",role:"status"},he.propTypes={children:f.node.isRequired,className:f.string,element:f.string,role:(0,f.oneOf)(["status","alert","none"]),type:(0,f.oneOf)(["success","info","error"]).isRequired};const me=he;function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,ye),A=(0,a.useRef)(I()).current,h=(0,a.useRef)(I()).current,m=(t=(0,a.useState)(!!o),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=a.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(t,r)||function(e,n){if(e){if("string"==typeof e)return we(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?we(e,n):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),g=m[0],v=m[1];return a.createElement("div",Ee({},d,{className:p()("ffe-tooltip",{"ffe-tooltip--open":g})}),a.createElement("button",{ref:n,"aria-expanded":g,"aria-controls":s?h:i,"aria-label":l,className:"ffe-tooltip__icon",onClick:function(e){v((function(e){return!e})),f&&f(e)},type:"button",tabIndex:u,id:A},a.createElement("span",{"aria-hidden":!0},"?")),s&&a.createElement(z,{className:"ffe-tooltip__text",id:h,isOpen:g},a.createElement("span",{className:p()("ffe-small-text",c),role:g?"status":"none"},s)))}));Ce.propTypes={"aria-controls":f.string,"aria-label":f.string,children:f.node,className:f.string,isOpen:f.bool,onClick:f.func,tabIndex:f.number},Ce.defaultProps={"aria-label":"Vis hjelpetekst"};const _e=Ce;function ke(e){return ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ke(e)}var xe=["children","className","extraMargin","description","fieldMessage","inline","label","name","selectedValue","tooltip"];function Oe(){return Oe=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,xe);if(u&&o)throw new Error('Don\'t use both "tooltip" and "description" on an , pick one of them');var A={inline:l,name:c,onChange:function(e){return e},selectedValue:f};return a.createElement("fieldset",Oe({className:p()("ffe-fieldset","ffe-input-group",{"ffe-fieldset--no-extra-margin":!r},{"ffe-fieldset--error":!!i},t)},d),s&&a.createElement("legend",{className:p()("ffe-form-label","ffe-form-label--block")},s,"string"==typeof u&&a.createElement(_e,null,u),a.isValidElement(u)&&u),"string"==typeof o&&a.createElement("div",{className:"ffe-small-text"},o),a.isValidElement(o)&&o,n(function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,$e),d=p()({"ffe-radio-button--with-tooltip":l},r),A=void 0!==i?i===c:t;return a.createElement(a.Fragment,null,a.createElement("input",Re({className:"ffe-radio-input",id:this.id,ref:f,type:"radio",checked:A,value:c},u)),a.createElement("label",Re({htmlFor:this.id},o,{className:d}),n),l&&a.createElement(_e,s,l))}}])&&Be(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),l}(a.Component);Fe.defaultProps={labelProps:{},tooltipProps:{}},Fe.propTypes={checked:f.bool,children:f.node.isRequired,className:f.string,labelProps:(0,f.shape)({}),name:f.string.isRequired,selectedValue:(0,f.oneOfType)([f.bool,f.string,f.number]),tooltip:f.string,tooltipProps:(0,f.shape)({}),value:(0,f.oneOfType)([f.bool,f.string,f.number]).isRequired,innerRef:(0,f.oneOfType)([f.func,(0,f.shape)({current:f.object})])};const Ue=Fe;var Ge=["className","leftLabel","leftValue","leftInnerRef","rightLabel","rightValue","rightInnerRef","condensed","aria-invalid"];function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,Ge),d=[null,void 0,""].includes(e.selectedValue);return a.createElement(a.Fragment,null,a.createElement(Ue,ze({className:p()("ffe-radio-switch",n,{"ffe-radio-switch--condensed":c}),value:r,innerRef:o,"aria-invalid":String("true"===f&&(e.selectedValue===r||d))},u),t),a.createElement(Ue,ze({className:p()("ffe-radio-switch",n,{"ffe-radio-switch--condensed":c}),value:l,innerRef:s,"aria-invalid":String("true"===f&&(e.selectedValue===l||d))},u),i))};Ve.propTypes={className:f.string,leftLabel:f.string.isRequired,leftValue:(0,f.oneOfType)([f.bool,f.string,f.number]).isRequired,leftInnerRef:(0,f.oneOfType)([f.func,(0,f.shape)({current:f.object})]),rightLabel:f.string.isRequired,rightValue:(0,f.oneOfType)([f.bool,f.string,f.number]).isRequired,rightInnerRef:(0,f.oneOfType)([f.func,(0,f.shape)({current:f.object})]),selectedValue:(0,f.oneOfType)([f.bool,f.string,f.number]),condensed:f.bool,"aria-invalid":(0,f.oneOf)(["true","false"])};const He=Ve;function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);ti)return 1;if(i>a)return-1;if(!isNaN(a)&&isNaN(i))return 1;if(isNaN(a)&&!isNaN(i))return-1}return e[1]&&n[1]?e[1]>n[1]?1:e[1]=rn&&Vn.test(e)}var Yn=new RegExp("(?:"+Ln()+")$","i"),Wn={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function qn(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e.split(""));!(n=r()).done;)t+=Qn(n.value,t)||"";return t}function Qn(e,n){if("+"===e){if(n)return;return"+"}return function(e){return Wn[e]}(e)}function Jn(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(t=o()).done;){var a=t.value;e.indexOf(a)<0&&r.push(a)}return r.sort((function(e,n){return e-n}))}(o,a.possibleLengths()))}else if(n&&!r)return"INVALID_LENGTH";var i=e.length,l=o[0];return l===i?"IS_POSSIBLE":l>i?"TOO_SHORT":o[o.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function et(e,n){return"IS_POSSIBLE"===Kn(e,n)}function nt(e,n){if(e){if("string"==typeof e)return tt(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?tt(e,n):void 0}}function tt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(at);!(o=a()).done;){var i=o.value;if(lt(r,i,t))return i}}}}function lt(e,n,t){return!(!(n=t.type(n))||!n.pattern())&&!(n.possibleLengths()&&n.possibleLengths().indexOf(e.length)<0)&&rt(e,n.pattern())}var st=/(\$\d)/;var ct=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ft(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(t=r()).done;){var o=t.value;if(o.leadingDigitsPatterns().length>0){var a=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(0!==n.search(a))continue}if(rt(n,o.pattern()))return o}}(r.formats(),e);return a?function(e,n,t){var r=t.useInternationalFormat,o=t.withNationalPrefix,a=(t.carrierCode,t.metadata,e.replace(new RegExp(n.pattern()),r?n.internationalFormat():o&&n.nationalPrefixFormattingRule()?n.format().replace(st,n.nationalPrefixFormattingRule()):n.format()));return r?function(e){return e.replace(new RegExp("[".concat(sn,"]+"),"g")," ").trim()}(a):a}(e,a,{useInternationalFormat:"INTERNATIONAL"===t,withNationalPrefix:!a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!o||!1!==o.nationalPrefix,carrierCode:n,metadata:r}):e}function mt(e,n,t,r){return n?r(e,n,t):e}function gt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function vt(e){for(var n=1;n=0}(n,e,t)})):[]);var e,n,t,r}},{key:"isPossible",value:function(){return function(e,n,t){if(void 0===n&&(n={}),t=new xn(t),n.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!t.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));t.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}}if(t.possibleLengths())return et(e.phone||e.nationalNumber,t);if(e.countryCallingCode&&t.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.metadata)}},{key:"isValid",value:function(){return function(e,n,t){return n=n||{},(t=new xn(t)).selectNumberingPlan(e.country,e.countryCallingCode),t.hasTypes()?void 0!==it(e,n,t.metadata):rt(n.v2?e.nationalNumber:e.phone,t.nationalNumberPattern())}(this,{v2:!0},this.metadata)}},{key:"isNonGeographic",value:function(){return new xn(this.metadata).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return it(this,{v2:!0},this.metadata)}},{key:"format",value:function(e,n){return function(e,n,t,r){if(t=t?dt(dt({},At),t):At,r=new xn(r),e.country&&"001"!==e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.country(e.country)}else{if(!e.countryCallingCode)return e.phone||"";r.selectNumberingPlan(e.countryCallingCode)}var o,a=r.countryCallingCode(),i=t.v2?e.nationalNumber:e.phone;switch(n){case"NATIONAL":return i?mt(o=ht(i,e.carrierCode,"NATIONAL",r,t),e.ext,r,t.formatExtension):"";case"INTERNATIONAL":return i?(o=ht(i,null,"INTERNATIONAL",r,t),mt(o="+".concat(a," ").concat(o),e.ext,r,t.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(i);case"RFC3966":return function(e){var n=e.number,t=e.ext;if(!n)return"";if("+"!==n[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(n).concat(t?";ext="+t:"")}({number:"+".concat(a).concat(i),ext:e.ext});case"IDD":if(!t.fromCountry)return;var l=function(e,n,t,r,o){if(Rn(r,o.metadata)===t){var a=ht(e,n,"NATIONAL",o);return"1"===t?t+" "+a:a}var i=function(e,n,t){var r=new xn(t);return r.selectNumberingPlan(e,void 0),r.defaultIDDPrefix()?r.defaultIDDPrefix():ct.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,0,o.metadata);if(i)return"".concat(i," ").concat(t," ").concat(ht(e,null,"INTERNATIONAL",o))}(i,e.carrierCode,a,t.fromCountry,r);return mt(l,e.ext,r,t.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n,'"'))}}(this,e,n?vt(vt({},n),{},{v2:!0}):{v2:!0},this.metadata)}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}],t&&yt(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),e}(),Ct=function(e){return/^[A-Z]{2}$/.test(e)},_t=new RegExp("(["+ln+"])");function kt(e,n){var t=function(e,n){if(e&&n.numberingPlan.nationalPrefixForParsing()){var t=new RegExp("^(?:"+n.numberingPlan.nationalPrefixForParsing()+")"),r=t.exec(e);if(r){var o,a,i,l=r.length-1,s=l>0&&r[l];if(n.nationalPrefixTransformRule()&&s)o=e.replace(t,n.nationalPrefixTransformRule()),l>1&&(a=r[1]);else{var c=r[0];o=e.slice(c.length),s&&(a=r[1])}if(s){var f=e.indexOf(r[1]);e.slice(0,f)===n.numberingPlan.nationalPrefix()&&(i=n.numberingPlan.nationalPrefix())}else i=r[0];return{nationalNumber:o,nationalPrefix:i,carrierCode:a}}}return{nationalNumber:e}}(e,n),r=t.carrierCode,o=t.nationalNumber;if(o!==e){if(!function(e,n,t){return!(rt(e,t.nationalNumberPattern())&&!rt(n,t.nationalNumberPattern()))}(e,o,n))return{nationalNumber:e};if(n.possibleLengths()&&!function(e,n){switch(Kn(e,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,n))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:r}}function xt(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(e);!(r=o()).done;){var a=r.value;if(t.country(a),t.leadingDigits()){if(n&&0===n.search(t.leadingDigits()))return a}else if(it({phone:n,country:a},void 0,t.metadata))return a}}(r,n,t.metadata):void 0}var St=250,Tt=new RegExp("[++"+ln+"]"),Nt=new RegExp("[^"+ln+"#]+$"),$t=!1;function Pt(e,n,t){if(n=n||{},t=new xn(t),n.defaultCountry&&!t.hasCountry(n.defaultCountry)){if(n.v2)throw new mn("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(n.defaultCountry))}var r=function(e,n,t){if(e&&0===e.indexOf("tel:"))return function(e){for(var n,t,r,o=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=nt(e))){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}((e=e.replace(/^tel:/,"tel=")).split(";"));!(r=o()).done;){var a=(c=2,function(e){if(Array.isArray(e))return e}(s=r.value.split("="))||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a=[],i=!0,l=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(l)throw o}}return a}}(s,c)||nt(s,c)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=a[0],l=a[1];switch(i){case"tel":n=l;break;case"ext":t=l;break;case"phone-context":"+"===l[0]&&(n=l+n)}}var s,c;if(!Hn(n))return{};var f={number:n};return t&&(f.ext=t),f}(e);var r=function(e,n,t){if(e)if(e.length>St){if(t)throw new mn("TOO_LONG")}else{if(!1===n)return e;var r=e.search(Tt);if(!(r<0))return e.slice(r).replace(Nt,"")}}(e,t,n);if(!r)return{};if(!Hn(r))return function(e){return Gn.test(e)}(r)?{error:"TOO_SHORT"}:{};var o=function(e){var n=e.search(Yn);if(n<0)return{};for(var t=e.slice(0,n),r=e.match(Yn),o=1;o0&&"0"===i[1]))return e}}}(e,n,t,r);if(!o||o===e){if(n||t){var a=function(e,n,t,r){var o=n?Rn(n,r):t;if(0===e.indexOf(o)){(r=new xn(r)).selectNumberingPlan(n,t);var a=e.slice(o.length),i=kt(a,r).nationalNumber,l=kt(e,r).nationalNumber;if(!rt(l,r.nationalNumberPattern())&&rt(i,r.nationalNumberPattern())||"TOO_LONG"===Kn(l,r))return{countryCallingCode:o,number:a}}return{number:e}}(e,n,t,r),i=a.countryCallingCode,l=a.number;if(i)return{countryCallingCode:i,number:l}}return{number:e}}e="+"+o}if("0"===e[1])return{};r=new xn(r);for(var s=2;s-1<=an&&s<=e.length;){var c=e.slice(1,s);if(r.hasCallingCode(c))return r.selectNumberingPlan(c),{countryCallingCode:c,number:e.slice(s)};s++}return{}}(Xn(e),n,t,r.metadata),i=a.countryCallingCode,l=a.number;if(i)r.selectNumberingPlan(i);else{if(!l||!n&&!t)return{};r.selectNumberingPlan(n,t),n?o=n:$t&&r.isNonGeographicCallingCode(t)&&(o="001"),i=t||Rn(n,r.metadata)}if(!l)return{countryCallingCode:i};var s=kt(Xn(l),r),c=s.nationalNumber,f=s.carrierCode,u=It(i,c,r);return u&&(o=u,"001"===u||r.country(o)),{country:o,countryCallingCode:i,nationalNumber:c,carrierCode:f}}(o,n.defaultCountry,n.defaultCallingCode,t),s=l.country,c=l.nationalNumber,f=l.countryCallingCode,u=l.carrierCode;if(!t.hasSelectedNumberingPlan()){if(n.v2)throw new mn("INVALID_COUNTRY");return{}}if(!c||c.lengthon){if(n.v2)throw new mn("TOO_LONG");return{}}if(n.v2){var d=new wt(f,c,t.metadata);return s&&(d.country=s),u&&(d.carrierCode=u),a&&(d.ext=a),d}var p=!!(n.extended?t.hasSelectedNumberingPlan():s)&&rt(c,t.nationalNumberPattern());return n.extended?{country:s,countryCallingCode:f,carrierCode:u,valid:p,possible:!!p||!(!0!==n.extended||!t.possibleLengths()||!et(c,t)),phone:c,ext:a}:p?function(e,n,t){var r={country:e,phone:n};return t&&(r.ext=t),r}(s,c,a):{}}function Rt(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Bt(e){for(var n=1;n0?r[0]:null}}var qt=function(e,n){var t=n?"+".concat(n).concat(e):e;if(!Ht(t))return e?isNaN(e)?"Telefonnummer inneholder ugyldige tegn/bokstaver":e.length>20?"Telefonnummer er for langt":e.length<5?"Telefonnummer er for kort":n&&Xt(e,n)&&!Ht(t)?"Telefonnummer stemmer ikke med landskode":47!==n||e.startsWith("9")||e.startsWith("4")?"Dette er ikke et gyldig telefonnummer":"Telefonnummer må starte med 9 eller 4":"Vennligst fyll ut mobilnummer"},Xt=function(e,n){if(!n)return"Vennligst fyll ut landskode";if(isNaN(n))return"Landskode inneholder ugyldige tegn/bokstaver";if(n.length>4)return"Landskode er for lang";if(e){var t="+".concat(n).concat(e),r=function(){return Qe(Yt,arguments)}(t);if(r){var o=r.country;if(n.length<4&&!r.metadata.country_calling_codes[n])return"Ugyldig landskode";if(o&&!function(){return Qe(Bn,arguments)}(o))return"Ugyldig landskode"}if(e&&!Ht(t))return"Telefonnummer stemmer ikke med landskode"}},Qt=Wt([qe.isRequired.withMessage("Vennligst fyll inn e-postadresse"),qe.isEmail.withMessage("Ugyldig e-postadresse")]),Jt=function(e){return"Ja"===e||"Nei"===e?void 0:"Velg ja eller nei"};const Kt=function(e){return{value:void 0,showError:!1,errorMessage:e}};function Zt(e){return Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zt(e)}function er(){return er=Object.assign?Object.assign.bind():function(e){for(var n=1;n$/)[1];return a.createElement("article",null,a.createElement("h3",{className:"ffe-h5"},n),a.createElement("p",null,t),a.createElement(We,er({},l,{name:n,onSelected:o,onBlur:i,dataPw:"consent"})),a.createElement(w,{headingLevel:6},a.createElement(J,{heading:"Les mer om samtykket"},a.createElement("span",{dangerouslySetInnerHTML:{__html:s}}))))};const ur=cr;var dr=["block","children","className","htmlFor"];function pr(){return pr=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,dr);return a.createElement("label",pr({className:p()("ffe-form-label",r,{"ffe-form-label--block":n}),htmlFor:o},i),t)};Ar.propTypes={block:f.bool,children:f.node.isRequired,className:f.string,htmlFor:f.string};const hr=Ar;var mr=["inputId","children","className","extraMargin","description","label","fieldMessage","tooltip","onTooltipToggle","labelId"];function gr(){return gr=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,mr),g=(n=(0,a.useState)(r||"input-".concat(I())),t=1,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=a.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(n,t)||function(e,n){if(e){if("string"==typeof e)return vr(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?vr(e,n):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],v=c?"".concat(g,"-description"):void 0,b="function"==typeof u?u("".concat(g,"-fieldmessage")):null;if(a.Children.count(o)>1)throw new Error("This element does not support more than one child. If you need more than one element inside your InputGroup, please use the function-as-a-child pattern outlined in the documentation.");var y,E=null!=u&&null!==(y=u.props)&&void 0!==y&&y.id?u.props.id:"string"==typeof u||b?"".concat(g,"-fieldmessage"):void 0;if(A&&"boolean"!=typeof d&&"string"!=typeof d)throw new Error('Only use the "onTooltipToggle" prop if you\'re not sending a component of type in the "tooltip" prop. If you are, use "onClick" on that component instead');if(d&&c)throw new Error('Don\'t use both "tooltip" and "description" on an , pick one of them');var w=!(!u||"string"!=typeof u&&u.type!==be&&!b),C=!!u,_="".concat(E||""," ").concat(v||"").trim()||void 0,k={id:g,"aria-invalid":String(w),"aria-describedby":_},x="function"==typeof o?o(k):a.cloneElement(o,k);return a.createElement("div",gr({className:p()("ffe-input-group",{"ffe-input-group--no-extra-margin":!s},{"ffe-input-group--message":C},i)},m),"string"==typeof f&&a.createElement(hr,{htmlFor:g,id:h},f),a.isValidElement(f)&&a.cloneElement(f,{htmlFor:g,id:h}),"string"==typeof d&&a.createElement(_e,{onClick:A},d),!0===d&&a.createElement(_e,{onClick:A}),a.isValidElement(d)&&d,c&&a.createElement("div",{className:"ffe-small-text ffe-input-group__description",id:v},c),x,"string"==typeof u&&a.createElement(be,{element:"p",id:E},u),a.isValidElement(u)&&a.cloneElement(u,{id:E}),b)};br.propTypes={inputId:f.string,labelId:f.string,children:(0,f.oneOfType)([f.func,f.node]).isRequired,className:f.string,extraMargin:f.bool,fieldMessage:(0,f.oneOfType)([f.string,f.node,f.func]),description:f.string,label:(0,f.oneOfType)([f.node,f.string]),onTooltipToggle:f.func,tooltip:(0,f.oneOfType)([f.bool,f.node])};const yr=br;var Er=["children","hiddenLabel","inline","noMargins"];function wr(){return wr=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,Er),s=e.id||"checkbox-".concat(I()),c={className:p()({"ffe-checkbox":!0,"ffe-checkbox--inline":o,"ffe-checkbox--no-margin":i,"ffe-checkbox--hidden-label":r}),htmlFor:s};return a.createElement(a.Fragment,null,a.createElement("input",wr({ref:n,className:"ffe-hidden-checkbox",id:s,type:"checkbox"},l)),"function"==typeof t?t(c):a.createElement("label",c,!r&&t))}));Cr.propTypes={noMargins:f.bool,hiddenLabel:f.bool,id:f.string,inline:f.bool,children:(0,f.oneOfType)([f.node,f.func])},Cr.defaultProps={inline:!0};const _r=Cr;var kr=["children","className"];function xr(){return xr=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,kr);return a.createElement("strong",xr({className:p()("ffe-strong-text",t)},r),n)}function Ir(e){for(var n=1;nr.length)for(var o=r.length;oparseInt(r[i],10))return!0}return!0}(n,e))}function jr(){return void 0!==Sr.get("isMobilbankApp")||!!Rr()}function Mr(){return jr()&&!!Br(navigator.userAgent).android}function Lr(){return jr()&&!!Br(navigator.userAgent).ios}function Fr(){return-1!==navigator.userAgent.search(/Simulated/i)}function Ur(e){if(window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.sb1)window.webkit.messageHandlers.sb1.postMessage(e);else{var n="sb1mobilbank://event/?".concat(encodeURIComponent(JSON.stringify(e))),t=document.createElement("iframe");t.setAttribute("src",n),document.documentElement.appendChild(t),t.parentNode.removeChild(t),t=null}}function Gr(e){Tr("eventId",e);try{for(var n,t=arguments.length,r=new Array(t>1?t-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:{};Nr(e),Tr("navigationBarTitle",n);var r=t.initialState,o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(t,zr),a=Hr(Hr({},qr),o);if(a.url=e,a.navigationBarTitle=n,r)try{a.initialState=JSON.stringify(r)}catch(e){throw new Error('openWebPage option "initialState" must be a serializable object.')}if(Fr()||!jr()){var i=e;a.authenticationUpgradeRequired&&(i="".concat(window.location.origin,"/personal/activation/upgrade?required-for=").concat(encodeURIComponent(e))),window.location.href=i}else Lr()?(a.action=Wr,Ur(a)):Mr()&&function(e,n){Tr("eventId",e),Gr(e,JSON.stringify(n))}(Wr,a)}function Qr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Jr(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{};window.MBCommunication.triggerAction(e,n)}(o.id,o.payload)},Tr("actionId",eo="@MBC/OPEN_WEB_PAGE"),Tr("func",no),Zr.callbacks||(Zr.callbacks={}),Zr.callbacks[eo]=no,window.MBCommunication=Jr(Jr({},window.MBCommunication),Zr));var ro=["ariaLoadingMessage","buttonType","children","className","element","innerRef","isLoading","leftIcon","rightIcon","onClick"];function oo(){return oo=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,ro),A=["action","primary","secondary"].includes(t);return a.createElement(i,oo({"aria-busy":s&&A,"aria-disabled":d.disabled||s&&A,className:p()("ffe-button","ffe-button--".concat(t),{"ffe-button--loading":s&&A},o),ref:l,onClick:function(e){s&&A?(e.preventDefault(),e.stopPropagation()):u&&u(e)}},d),a.createElement("span",{className:"ffe-button__label"},c&&a.cloneElement(c,{className:"ffe-button__icon ffe-button__icon--left","aria-hidden":"true"}),r,f&&a.cloneElement(f,{className:"ffe-button__icon ffe-button__icon--right","aria-hidden":"true"})),A&&s&&a.createElement("span",{"aria-label":n,role:"img",className:"ffe-button__spinner"}))};ao.propTypes={ariaLoadingMessage:f.string,buttonType:(0,f.oneOf)(["action","primary","secondary","shortcut","task"]),children:f.node,className:f.string,disabled:f.bool,element:(0,f.oneOfType)([f.func,f.string,f.elementType]),innerRef:(0,f.oneOfType)([f.func,(0,f.shape)({current:f.object})]),isLoading:f.bool,leftIcon:f.node,rightIcon:f.node,onClick:f.func},ao.defaultProps={ariaLoadingMessage:"Vennligst vent",element:"button"};const io=ao;function lo(){return lo=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,So);return a.createElement(io,To({buttonType:"action",className:p()(n)},t))}function $o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Po(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,Lo);return a.createElement("div",Fo({className:p()("ffe-message-box","ffe-message-box--".concat(n),{"ffe-message-box--coloredbg":f},c),role:"group"},u),a.createElement("span",{className:"ffe-message-box__icon"},a.cloneElement(o,function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,Yo);return a.createElement(Ho,Wo({type:"error","aria-label":"Feilmelding",icon:a.createElement(de,{title:"Utropstegn, ikon"}),role:n?"alert":"group"},t))};qo.defaultProps={alert:!0},qo.propTypes={children:f.node,className:f.string,content:f.node,icon:f.node,title:f.node,alert:f.bool};const Xo=qo;var Qo=["children","className","lead","subLead","textCenter","textLeft"];function Jo(){return Jo=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,Qo),u=(n=[i&&"ffe-lead-paragraph",l&&"ffe-sub-lead-paragraph","ffe-body-paragraph"].filter(Boolean),t=1,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=a.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(n,t)||function(e,n){if(e){if("string"==typeof e)return Ko(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ko(e,n):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return a.createElement("p",Jo({className:p()(u,{"ffe-body-paragraph--text-center":s},{"ffe-body-paragraph--text-left":c},o)},f),r)}Zo.propTypes={children:f.node.isRequired,className:f.string,lead:f.bool,subLead:f.bool,textCenter:f.bool,textLeft:f.bool};var ea=t(2517),na=function(e){var n=e.errorCount;return a.createElement("div",{className:"error-box"},a.createElement(Xo,{title:n>1?(0,ea.u7)("VALIDATION_ERROR_SUMMARY_MULTIPLE",n):(0,ea.u7)("VALIDATION_ERROR_SUMMARY",n)},a.createElement(Zo,null,(0,ea.u7)("VALIDATION_ERROR_SUMMARY_TEXT"))))},ta=function(){try{window.scroll({top:0,left:0,behavior:"smooth"})}catch(e){window.scrollTo(0,0)}};const ra=function(e){return"Ja"===e?"YES":"Nei"===e?"NO":void 0};function oa(e){return oa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oa(e)}function aa(){return aa=Object.assign?Object.assign.bind():function(e){for(var n=1;n0)this.showError(n);else{var t={consents:this.state.samtykke.answerList.map((function(e){return{consentType:e.consentType,answer:ra(e.value)}}))};this.props.submitForm(t)}}},{key:"errors",value:function(){var e=[];return jo(this.state,(function(n){return n.errorMessage&&e.push(n.errorMessage),n})),e}},{key:"showError",value:function(e){ta();var n=jo(this.state,(function(e){var n=e.showError;return e.errorMessage&&(n=!0),la(la({},e),{},{showError:n})}));this.setState(la(la({},n),{},{errorList:e}))}},{key:"updateSubState",value:function(e,n){return this.setState((function(t){return Io(t,n)(e)}))}},{key:"render",value:function(){var e=this;return a.createElement("form",{className:"consent-and-agreement-form"},this.state.errorList.length>0&&a.createElement(na,{errorCount:this.state.errorList.length}),this.props.consentList.length>1&&a.createElement(ur,aa({},this.state.samtykke,{consentList:this.props.consentList,update:function(n){return e.updateSubState(n,"samtykke")}})),a.createElement(Co,aa({},this.state.kundeavtale,{agreementUrl:this.props.agreementUrl,update:function(n){return e.updateSubState(n,"kundeavtale")}})),a.createElement("section",{className:"submit-section"},a.createElement(No,{onClick:this.submit,type:"submit","data-pw":"consent-submit"},"Bli kunde")))}}])&&ca(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),l}(a.Component);Aa.propTypes={submitForm:f.func.isRequired,consentList:f.array.isRequired,agreementUrl:f.string.isRequired};const ha=Aa;var ma=["className","inline","textLike","textRightAlign"];function ga(){return ga=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,ma);return a.createElement("input",ga({className:p()("ffe-input-field",{"ffe-input-field--inline":r},{"ffe-input-field--text-like":o},{"ffe-input-field--text-right-align":i},t),ref:n},l))}));va.propTypes={className:f.string,inline:f.bool,textLike:f.bool,textRightAlign:f.bool};const ba=va;var ya=["value","showError","errorMessage","label","update","validate","prefix","className"];function Ea(){return Ea=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,ya);return a.createElement(yr,{fieldMessage:t&&r,label:o,className:c},(function(e){return a.createElement("div",{className:"input-prefix-wrapper"},s&&a.createElement("span",{className:"input-prefix-item"},s),a.createElement(ba,Ea({name:o},f,e,{value:n,placeholder:"Skriv inn ".concat(o.toLowerCase()),onChange:function(e){return i({value:e.target.value,errorMessage:l(e.target.value)})},onBlur:function(){return i({value:n,errorMessage:r,showError:!0})},className:s&&"input-prefix-field"})))}))};wa.propTypes={value:f.string.isRequired,label:f.string.isRequired,errorMessage:f.string,showError:f.bool,update:f.func.isRequired,validate:f.func.isRequired,prefix:f.string};const Ca=wa,_a={nb:{COUNTRY_CODE:"Landskode",PHONE_NUMBER:"Telefonnummer",MOBILE_NUMBER:"Mobilnummer",ON:"På",OFF:"Av"},nn:{COUNTRY_CODE:"Landskode",PHONE_NUMBER:"Telefonnummer",MOBILE_NUMBER:"Mobilnummer",ON:"På",OFF:"Av"},en:{COUNTRY_CODE:"Country code",PHONE_NUMBER:"Phone number",MOBILE_NUMBER:"Mobile number",ON:"On",OFF:"Off"}};function ka(e){return ka="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ka(e)}function xa(e,n){for(var t=0;t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,Da);return a.createElement("div",ja({className:p()("ffe-button-group",{"ffe-button-group--thin":t},{"ffe-button-group--inline":r},n)},o))};Ma.propTypes={className:f.string,thin:f.bool,inline:f.bool};const La=Ma;function Fa(e){return Fa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fa(e)}function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:void 0,showError:!1,errorMessage:e}},Ja=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Wa(e,n)}(l,e);var n,t,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=Xa(r);if(o){var t=Xa(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return function(e,n){if(n&&("object"===Fa(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return qa(e)}(this,e)});function l(e){var n;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),(n=i.call(this,e)).submit=n.submit.bind(qa(n)),n.trimPersonalia=n.trimPersonalia.bind(qa(n)),n.state={errorList:[],personalia:n.initialState()},n}return n=l,(t=[{key:"initialState",value:function(){return{initialized:!0,email:Qa(Qt(""),""),countryCode:Qa(Xt("","47"),"47"),mobileNumber:Qa(qt("","47"),"")}}},{key:"trimPersonalia",value:function(e){return{email:e.email.value,phoneNumber:{number:e.mobileNumber.value,countryCode:e.countryCode.value}}}},{key:"submit",value:function(e){e.preventDefault();var n=this.errors();n.length>0?this.showError(n):(this.setState({errorList:[]}),this.props.submitForm(this.trimPersonalia(this.state.personalia)))}},{key:"errors",value:function(){var e=[];return jo(this.state,(function(n){return n.errorMessage&&-1===e.indexOf(n.errorMessage)&&e.push(n.errorMessage),n})),e}},{key:"showError",value:function(e){ta();var n=jo(this.state,(function(e){var n=e.showError;return e.errorMessage&&(n=!0),za(za({},e),{},{showError:n})}));this.setState(za(za({},n),{},{errorList:e}))}},{key:"render",value:function(){var e=this;return a.createElement("form",{className:"personalia-form"},this.state.errorList.length>0&&a.createElement(na,{errorCount:this.state.errorList.length}),a.createElement(Ba,Ua({},this.state.personalia,{update:function(n){return e.setState((function(t){return e.state.formStarted?Io(t,"personalia")(n):za(za({},Io(t,"personalia")(n)),{},{formStarted:!0})}))}})),a.createElement(La,null,a.createElement(No,{onClick:this.submit,type:"submit","data-pw":"personalia-submit"},"Neste")))}}])&&Ha(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),l}(a.Component);Ja.propTypes={submitForm:f.func.isRequired};const Ka=Ja;var Za=t(692),ei=t(9808);function ni(e){return ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ni(e)}function ti(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ri(e){for(var n=1;n=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=t.call(a,"catchLoc"),s=t.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&t.call(o,"finallyLoc")&&this.prev=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),_(t),u}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var o=r.arg;_(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:x(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=void 0),u}},e}function Ui(e,n,t,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(r,o)}function Gi(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var a=e.apply(n,t);function i(e){Ui(a,r,o,i,l,"next",e)}function l(e){Ui(a,r,o,i,l,"throw",e)}i(void 0)}))}}function zi(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t1&&void 0!==c[1]?c[1]:10,r=window.location,o=r.href,a=r.origin,i="".concat(a,"/nb/").concat(n,"/privat/innlogging/identifisering.html"),(l=new URLSearchParams).append("minStrength",t),l.append("goto",o),s="".concat(i,"?").concat(l.toString()),e.next=9,rl(s);case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),rl=function(){var e=Gi(Fi().mark((function e(n){return Fi().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return window.location.href=n,e.abrupt("return",new Promise((function(){return{}})));case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();function ol(){return ol=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,ll);return a.createElement(o,sl({className:p()("ffe-inline-button","ffe-inline-button--".concat(n),r),ref:i},c),l&&a.cloneElement(l,{className:"ffe-inline-button__icon ffe-inline-button__icon--left"}),a.createElement("span",{className:"ffe-inline-button__label"},t),s&&a.cloneElement(s,{className:"ffe-inline-button__icon ffe-inline-button__icon--right"}))};cl.propTypes={buttonType:(0,f.oneOf)(["tertiary","back","expand"]),children:f.node.isRequired,className:f.string,element:(0,f.oneOfType)([f.string,f.func,f.elementType]),innerRef:(0,f.oneOfType)([f.func,(0,f.shape)({current:f.object})]),leftIcon:f.node,rightIcon:f.node},cl.defaultProps={element:"button"};const fl=cl;function ul(){return ul=Object.assign?Object.assign.bind():function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=new Array(n);tnew Date?(0,ea.u7)("VALIDATION_ERROR_WRONG_DATE_FUTURE"):void 0}},Ol=Wt([qe.isOwaspLooseLooseNoTags.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_INVALID_SYMBOL_IN_FREETEXT")}))]),Il=Wt([qe.isRequired.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_EMPTY_ADDRESS")})),qe.isOwaspLooseLooseNoTags.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_INVALID_SYMBOL_IN_ADDRESS")}))]),Sl=Wt([qe.isRequired.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_EMPTY_FIRST_NAME")})),qe.isOwaspLooseLooseNoTags.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_INVALID_SYMBOL_IN_FIRST_NAME")}))]),Tl=Wt([qe.isRequired.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_EMPTY_LAST_NAME")})),qe.isOwaspLooseLooseNoTags.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_INVALID_SYMBOL_IN_LAST_NAME")}))]),Nl=Wt([qe.isRequired.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_EMPTY_GENDER")})),qe.isOwaspLooseLooseNoTags.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_INVALID_SYMBOL_IN_GENDER")}))]),$l=function(e){return(n=/details\/(\d+)\//.exec(e),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=a.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(n,t)||function(e,n){if(e){if("string"==typeof e)return vl(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?vl(e,n):void 0}}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];var n,t};function Pl(e){return Pl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pl(e)}var Rl={"/birthCountry/details":wl,"/americanCitizen/answer":Cl,"/politicallyExposedPerson/answer":Cl,"/politicallyExposedPerson/details/-/roleCode":kl,"/politicallyExposedPerson/details/-/_roleEnd":xl,"/politicallyExposedPerson/details/-/roleCountryCode":wl,"/politicallyExposedPerson/details/-/additionalInformation":Ol,"/politicallyExposedPersonRelations/answer":Cl,"/politicallyExposedPersonRelations/details/-/relationCode":function(e,n,t){if(!e||!t.relationCodeOptions.find((function(n){return n.code===e})))return(0,ea.u7)("VALIDATION_ERROR_SELECT_RELATION_TYPE")},"/politicallyExposedPersonRelations/details/-/role/roleCode":kl,"/politicallyExposedPersonRelations/details/-/role/_roleEnd":xl,"/politicallyExposedPersonRelations/details/-/role/roleCountryCode":wl,"/politicallyExposedPersonRelations/details/-/additionalInformation":Ol,"/politicallyExposedPersonRelations/details/-/personalia/firstName":Sl,"/politicallyExposedPersonRelations/details/-/personalia/lastName":Tl,"/politicallyExposedPersonRelations/details/-/address/street":Il,"/politicallyExposedPersonRelations/details/-/address/postalCode":function(e,n,t,r){var o=$l(r);return"NO"===n.politicallyExposedPersonRelations.details[o].address.countryCode?Wt([qe.isRequired.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_EMPTY_POSTAL_CODE")})),qe.isPostalNumber.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_POSTAL_CODE_FOUR_DIGITS")}))])(e):Wt([qe.isRequired.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_EMPTY_POSTAL_CODE")})),qe.isOwaspLooseLooseNoTags.withMessage((function(){return(0,ea.u7)("VALIDATION_ERROR_INVALID_SYMBOL_IN_POSTAL_CODE")}))])(e)},"/politicallyExposedPersonRelations/details/-/address/countryCode":wl,"/politicallyExposedPersonRelations/details/-/personalia/socialSecurityNumber":function(e,n,t,r){var o=$l(r);if(!n.politicallyExposedPersonRelations.details[o].personalia._socialSecurityNumberUnknown)return _l(e)},"/politicallyExposedPersonRelations/details/-/personalia/dateOfBirth":function(e,n,t,r){var o=$l(r);if(n.politicallyExposedPersonRelations.details[o].personalia._socialSecurityNumberUnknown)return/^([0-2][0-9]|(3)[0-1])(\.)(((0)[0-9])|((1)[0-2]))(\.)\d{4}$/.test(e)?void 0:(0,ea.u7)("VALIDATION_ERROR_WRONG_BIRTH_DATE_FORMAT")},"/politicallyExposedPersonRelations/details/-/personalia/birthCountryCode":function(e,n,t,r){var o=$l(r);if(n.politicallyExposedPersonRelations.details[o].personalia._socialSecurityNumberUnknown)return wl(e,0,t)},"/politicallyExposedPersonRelations/details/-/personalia/gender":function(e,n,t,r){var o=$l(r);if(n.politicallyExposedPersonRelations.details[o].personalia._socialSecurityNumberUnknown)return Nl(e)},"/taxIdentifications/answer":Cl,"/taxIdentifications/details/-/identificationCode":function(e,n,t){if(!e||!t.countries.find((function(n){return n.isoalpha2===e||n.taxIdentificationCode===e})))return(0,ea.u7)("VALIDATION_ERROR_SELECT_COUNTRY")},"/taxIdentifications/details/-/identificationNumber":function(e,n,t,r){var o=$l(r);return"US"===n.taxIdentifications.details[o].identificationCode?/^([0-9]{9}|[0-9]{3}-[0-9]{2}-[0-9]{4}|[0-9]{2}-[0-9]{7}|[0]{1})$/.test(e)?void 0:(0,ea.u7)("VALIDATION_ERROR_WRONG_US_TIN_NUMBER"):yl(e)},"/expectedAnnualDeposits/answer":Cl,"/expectedAnnualDeposits/details/amount":El,"/expectedAnnualDeposits/details/comment":bl,"/expectedAnnualForeignDeposits/answer":Cl,"/expectedAnnualForeignDeposits/details/-/amount":El,"/expectedAnnualForeignDeposits/details/-/comment":bl,"/expectedAnnualForeignDeposits/details/-/countryCode":wl,"/expectedAnnualForeignPayments/answer":Cl,"/expectedAnnualForeignPayments/details/-/amount":El,"/expectedAnnualForeignPayments/details/-/comment":bl,"/expectedAnnualForeignPayments/details/-/countryCode":wl,"/personalBanking/-/answer":Cl,"/personalBanking/-/details":bl,"/fundOrigins/answer":Cl,"/fundOrigins/details/-/originTypeId":function(e){return e?void 0:(0,ea.u7)("VALIDATION_ERROR_CHOOSE_ORIGIN_FROM_LIST")},"/fundOrigins/details/-/amount":El,"/fundOrigins/details/-/comment":bl,"/mainBank/answer":Cl},Bl=function(e,n,t){var r=n,o="/"===e?"":e,a={errorCount:0},i=o.split("/");i.shift();for(var l=0;l>e/4).toString(16)}))}function Ll(e){return Ll="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ll(e)}function Fl(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Ul(e,n){for(var t=0;t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,ds);return a.createElement("span",ps({className:p()("ffe-micro-text",t)},r),n)}function hs(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t0?function(e,n,t,r){var o=r?r(t,n):function(e){return n.map((function(n){return vs(e[n])})).some((function(e){return e.includes(vs(t))}))};return e.filter(o)}(o,t,s,i).slice(0,r):o.slice(0,r);return{listToRender:l?o:c.length?c:a||[],noMatch:!c.length}};function ys(e){return ys="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ys(e)}function Es(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ws(e){for(var n=1;nn||a>e&&i=n&&l>=t?a-e-r:i>n&&lt?i-n+o:0}var Ls=function(e,n){if(e){var t=function(e,n){var t=window,r=n.scrollMode,o=n.block,a=n.inline,i=n.boundary,l=n.skipOverflowHiddenElements,s="function"==typeof i?i:function(e){return e!==i};if(!Bs(e))throw new TypeError("Invalid target");for(var c,f,u=document.scrollingElement||document.documentElement,d=[],p=e;Bs(p)&&s(p);){if((p=null==(f=(c=p).parentElement)?c.getRootNode().host||null:f)===u){d.push(p);break}null!=p&&p===document.body&&js(p)&&!js(document.documentElement)||null!=p&&js(p,l)&&d.push(p)}for(var A=t.visualViewport?t.visualViewport.width:innerWidth,h=t.visualViewport?t.visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),b=v.height,y=v.width,E=v.top,w=v.right,C=v.bottom,_=v.left,k="start"===o||"nearest"===o?E:"end"===o?C:E+b/2,x="center"===a?_+y/2:"end"===a?w:_,O=[],I=0;I=0&&_>=0&&C<=h&&w<=A&&E>=P&&C<=B&&_>=D&&w<=R)return O;var j=getComputedStyle(S),M=parseInt(j.borderLeftWidth,10),L=parseInt(j.borderTopWidth,10),F=parseInt(j.borderRightWidth,10),U=parseInt(j.borderBottomWidth,10),G=0,z=0,V="offsetWidth"in S?S.offsetWidth-S.clientWidth-M-F:0,H="offsetHeight"in S?S.offsetHeight-S.clientHeight-L-U:0,Y="offsetWidth"in S?0===S.offsetWidth?0:$/S.offsetWidth:0,W="offsetHeight"in S?0===S.offsetHeight?0:N/S.offsetHeight:0;if(u===S)G="start"===o?k:"end"===o?k-h:"nearest"===o?Ms(g,g+h,h,L,U,g+k,g+k+b,b):k-h/2,z="start"===a?x:"center"===a?x-A/2:"end"===a?x-A:Ms(m,m+A,A,M,F,m+x,m+x+y,y),G=Math.max(0,G+g),z=Math.max(0,z+m);else{G="start"===o?k-P-L:"end"===o?k-B+U+H:"nearest"===o?Ms(P,B,N,L,U+H,k,k+b,b):k-(P+N/2)+H/2,z="start"===a?x-D-M:"center"===a?x-(D+$/2)+V/2:"end"===a?x-R+F+V:Ms(D,R,$,M,F+V,x,x+y,y);var q=S.scrollLeft,X=S.scrollTop;k+=X-(G=Math.max(0,Math.min(X+G/W,S.scrollHeight-N/W+H))),x+=q-(z=Math.max(0,Math.min(q+z/Y,S.scrollWidth-$/Y+V)))}O.push({el:S,top:G,left:z})}return O}(e,{boundary:n,block:"nearest",scrollMode:"if-needed"});t.forEach((function(e){var n=e.el,t=e.top,r=e.left;n.scrollTop=t,n.scrollLeft=r}))}},Fs=function(e,n){var t;function r(){t&&clearTimeout(t)}function o(){for(var o=arguments.length,a=new Array(o),i=0;ie.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0)return e.preventDefault(),F({type:Os,payload:{selectedItem:L.listToRender[L.highlightedIndex]}}),void A(L.listToRender[L.highlightedIndex]);var n,t;if("Escape"!==e.key){if("ArrowUp"!==e.key){if("ArrowDown"===e.key&&(e.preventDefault(),L.listToRender.length)){var r=function(e,n){return e===n-1?0:e+1}(L.highlightedIndex,L.listToRender.length);F({type:Is,payload:{highlightedIndex:r}}),Ls(G[r].current,Z.current)}}else if(e.preventDefault(),L.listToRender.length){var o=(n=L.highlightedIndex,t=L.listToRender.length,n<=0?t-1:n-1);F({type:Ss,payload:{highlightedIndex:o}}),Ls(G[o].current,Z.current)}}else F({type:xs})},className:p()(i,"ffe-searchable-dropdown"),ref:J,onMouseDown:oe,onFocus:oe},a.createElement("div",null,a.createElement("input",ec({},m,{ref:X,id:r,"aria-labelledby":o,className:"ffe-input-field",onClick:function(){F({type:_s})},onChange:function(e){m.onChange&&m.onChange(e),F({type:ks,payload:{inputValue:e.target.value}})},onFocus:function(){return Y(!0)},onBlur:function(e){m.onBlur&&m.onBlur(e)},"aria-describedby":[m["aria-describedby"],L.noMatch&&ee.current].filter(Boolean).join(" ")||null,value:k(L.inputValue),type:"text",role:"combobox",autoComplete:"off","aria-controls":Z.current,"aria-expanded":L.isExpanded&&!!L.listToRender.length,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":L.highlightedIndex>=0?null===(n=G[L.highlightedIndex])||void 0===n||null===(t=n.current)||void 0===t?void 0:t.getAttribute("id"):null,"aria-invalid":"string"==typeof C?C:String(!!C)})),a.createElement("button",{type:"button",ref:Q,"aria-label":L.isExpanded?cs(w):fs(w),className:p()("ffe-searchable-dropdown__button ffe-searchable-dropdown__button--arrow",{"ffe-searchable-dropdown__button--flip":L.isExpanded}),onClick:function(){F({type:Ts})}},T?a.createElement(g,null):a.createElement(P,null))),a.createElement("div",{tabIndex:"-1",className:p()("ffe-searchable-dropdown__list",{"ffe-searchable-dropdown__list--open":L.isExpanded})},a.createElement("div",{id:Z.current,role:"listbox"},L.isExpanded&&a.createElement(B,{listBoxRef:Z,listToRender:L.listToRender,ListItemBodyElement:K,highlightedIndex:L.highlightedIndex,dropdownAttributes:s,locale:w,refs:G,onChange:function(e){ne.current=!0,F({type:Ns,payload:{selectedItem:e}}),A(e)},isNoMatch:L.noMatch,noMatch:E,noMatchMessageId:ee.current}),b&&a.createElement("div",{className:"ffe-searchable-dropdown__list--post-list-element"},b))))};function lc(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}}(e,hc),a.createElement(a.Fragment,null,o.map((function(e,c){var f=c+1===o.length&&o.length<(n||10),u=c+11}},mc.propTypes={rows:f.array.isRequired,removeRow:f.func.isRequired,addRow:f.func.isRequired,renderRow:f.func.isRequired,maxLength:f.number,elementType:f.string,showRemoveButton:f.func};var gc=function(e){var n=e.row,t=e.removeRow,r=e.elementType,o=e.index;return a.createElement(pl,{className:"remove-list-item-button",onClick:function(e){e.preventDefault(),t(n,o)}},(0,ea.u7)("BUTTON_REMOVE_".concat(r.toUpperCase())))};gc.propTypes={row:f.object.isRequired,removeRow:f.func.isRequired,elementType:f.string.isRequired};var vc=function(e){var n=e.addRow,t=e.elementType;return a.createElement(Ac,{onClick:function(e){e.preventDefault(),n()}},(0,ea.u7)("BUTTON_ADD_".concat(t.toUpperCase())))};vc.propTypes={addRow:f.func.isRequired,elementType:f.string.isRequired};const bc=mc;function yc(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t1&&!("US"===n.identificationCode&&e.isAmericanCitizen)},elementType:"land"})};function wc(){return wc=Object.assign?Object.assign.bind():function(e){for(var n=1;n-1&&r.details[o]._addedByAmericanCitizen&&r.details.splice(o,1),r.details.length||(r.answer="NOT_ANSWERED")),Bl("/americanCitizen",n,t)}}]),e}(),Tc=function(){function e(){xc(this,e)}return Ic(e,null,[{key:"apply",value:function(e,n,t){Bl("/americanCitizen",n,t)}}]),e}();function Nc(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,Bc);return a.createElement("textarea",Dc({className:p()("ffe-textarea",t),ref:n},r))}));jc.propTypes={className:f.string};const Mc=jc;var Lc=function(e){return a.createElement(yr,{className:"sub-question",fieldMessage:e.errorMessage,label:e.commentLabel||"".concat((0,ea.u7)("COMMENT_WITH_MAX_SYMBOLS",e.maxLengthComment))},a.createElement(Mc,{value:e.value,placeholder:e.commentPlaceholder||(0,ea.u7)("PLACEHOLDER_ENTER_COMMENT"),onChange:e.onChange,onBlur:e.onBlur,maxLength:e.maxLengthComment}))};Lc.defaultProps={maxLengthComment:225};const Fc=Lc;function Uc(e){return Uc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uc(e)}function Gc(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function zc(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,Cf);return a.createElement("select",_f({className:p()("ffe-dropdown",{"ffe-dropdown--inline":t},n),ref:r},o))};kf.propTypes={children:f.node,inline:f.bool,className:f.string,innerRef:(0,f.oneOfType)([f.func,(0,f.shape)({current:f.object})])};const xf=kf;function Of(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t1&&a.createElement("h4",{className:"list-item-header ffe-h4"},"Person ",e.index+1),a.createElement("fieldset",{className:"ffe-fieldset ffe-fieldset--pep"},a.createElement("legend",{className:"ffe-h4"},(0,ea.u7)("PEP_RELATION_PERSONALIA_TITLE")),a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_RELATION_PERSONALIA_FIRST_NAME"),fieldMessage:e.details.personalia.$firstName},a.createElement(ba,{"aria-label":(0,ea.u7)("PEP_RELATION_PERSONALIA_FIRST_NAME"),value:e.details.personalia.firstName,maxLength:80,onChange:function(n){return e.dispatch(new jf("personalia/firstName",e.index,n.target.value))},onBlur:function(){return e.dispatch(new Mf("personalia/firstName",e.index))}})),a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_RELATION_PERSONALIA_LAST_NAME"),fieldMessage:e.details.personalia.$lastName},a.createElement(ba,{"aria-label":(0,ea.u7)("PEP_RELATION_PERSONALIA_LAST_NAME"),value:e.details.personalia.lastName,maxLength:80,onChange:function(n){return e.dispatch(new jf("personalia/lastName",e.index,n.target.value))},onBlur:function(){return e.dispatch(new Mf("personalia/lastName",e.index))}})),a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_RELATION_PERSONALIA_PERSON_IDENTIFICATION"),fieldMessage:e.details.personalia.$socialSecurityNumber},a.createElement(ba,{"aria-label":(0,ea.u7)("PEP_RELATION_PERSONALIA_PERSON_IDENTIFICATION"),value:e.details.personalia.socialSecurityNumber||"",disabled:e.details.personalia._socialSecurityNumberUnknown,type:"tel",maxLength:11,onChange:function(n){var t=n.target.value.replace(/(\D+)/g,"");e.dispatch(new jf("personalia/socialSecurityNumber",e.index,t))},onBlur:function(){return e.dispatch(new Mf("personalia/socialSecurityNumber",e.index))}})),a.createElement(_r,{checked:e.details.personalia._socialSecurityNumberUnknown,onChange:function(){var n=!e.details.personalia._socialSecurityNumberUnknown;e.dispatch(new Lf(e.index,n))}},(0,ea.u7)("PEP_RELATION_PERSONALIA_PERSON_IDENTIFIER_UKNOWN")),e.details.personalia._socialSecurityNumberUnknown&&a.createElement(a.Fragment,null,a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_RELATION_BIRTH_DATE"),"aria-label":(0,ea.u7)("PEP_RELATION_BIRTH_DATE"),fieldMessage:e.details.personalia.$dateOfBirth},a.createElement(wf.Z,{hideErrors:!0,maxDate:Vf,language:ea.ZP.getLanguage(),onChange:function(n){return e.dispatch(new jf("personalia/dateOfBirth",e.index,n))},onError:function(n,t){return e.dispatch(new Ff(e.index,t)),t},value:e.details.personalia.dateOfBirth})),a.createElement(sc,{countries:e.countries,errorMessage:e.details.personalia.$birthCountryCode,id:"pep-relation-birthCountryCode-".concat(e.index),label:(0,ea.u7)("PEP_RELATION_BIRTH_COUNTRY"),ariaLabel:(0,ea.u7)("PEP_RELATION_BIRTH_COUNTRY"),update:function(n){return e.dispatch(new jf("personalia/birthCountryCode",e.index,n))},validate:function(){return e.dispatch(new Mf("personalia/birthCountryCode",e.index))},initialSelectedItem:e.details.personalia.birthCountryCode}),a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_RELATION_GENDER"),fieldMessage:e.details.personalia.$gender},a.createElement(xf,{"aria-label":(0,ea.u7)("PEP_RELATION_GENDER"),defaultValue:"".concat(null!==(r=null===(o=e.details)||void 0===o||null===(i=o.personalia)||void 0===i?void 0:i.gender)&&void 0!==r?r:"placeholder"),onChange:function(n){return e.dispatch(new jf("personalia/gender",e.index,n.target.value))},onBlur:function(){return e.dispatch(new Mf("personalia/gender",e.index))}},a.createElement("option",{value:"placeholder",disabled:!0},(0,ea.u7)("PLACEHOLDER_SELECT_GENDER")),a.createElement("option",{value:"MALE"},(0,ea.u7)("GENDER_MALE")),a.createElement("option",{value:"FEMALE"},(0,ea.u7)("GENDER_FEMALE")),a.createElement("option",{value:"OTHER"},(0,ea.u7)("GENDER_OTHER"))))),a.createElement(yr,{className:"sub-question",label:a.createElement(hr,null,(0,ea.u7)("PEP_RELATION_TYPE_OF_RELATION"),a.createElement(os,null)),fieldMessage:e.details.$relationCode},a.createElement(xf,{defaultValue:"".concat(null!==(l=e.details)&&void 0!==l&&l.relationCode?e.details.relationCode:"placeholder"),onChange:function(n){return e.dispatch(new jf("relationCode",e.index,n.target.value))},onBlur:function(){return e.dispatch(new Mf("relationCode",e.index))}},a.createElement("option",{value:"placeholder",disabled:!0},(0,ea.u7)("PLACEHOLDER_SELECT_PEP_RELATION_TYPE")),e.relationCodeOptions.map((function(e){var n=e.code,t=e.name;return a.createElement("option",{key:n,value:n},t)}))))),a.createElement("fieldset",{className:"ffe-fieldset ffe-fieldset--pep"},a.createElement("legend",{className:"ffe-h4"}," ",(0,ea.u7)("PEP_RELATION_ROLE_TITLE")," "),a.createElement(yr,{className:"sub-question",label:a.createElement(hr,null,(0,ea.u7)("PEP_RELATION_ROLE_TYPE"),a.createElement(ns,null)),fieldMessage:e.details.role.$roleCode},a.createElement(xf,{defaultValue:"".concat(null!==(s=e.details)&&void 0!==s&&null!==(c=s.role)&&void 0!==c&&c.roleCode?e.details.role.roleCode:"placeholder"),onChange:function(n){return e.dispatch(new jf("role/roleCode",e.index,n.target.value))},onBlur:function(){return e.dispatch(new Mf("role/roleCode",e.index))}},a.createElement("option",{value:"placeholder",disabled:!0},(0,ea.u7)("PLACEHOLDER_CHOOSE_ROLE")),e.roleCodeOptions.map((function(e){var n=e.code,t=e.name;return a.createElement("option",{key:n,value:n},t)})))),a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_ROLE_EXPIRY"),"aria-label":(0,ea.u7)("PEP_ROLE_EXPIRY"),fieldMessage:e.details.role.$_roleEnd},a.createElement(ba,{className:"input-pep-role-expiry",value:d,maxLength:7,onChange:function(n){e.dispatch(new jf("role/_roleEnd",e.index,n.target.value))},placeholder:(0,ea.u7)("PLACEHOLDER_DATE_FORMAT"),onBlur:function(){return e.dispatch(new Mf("role/_roleEnd",e.index))}})),a.createElement(sc,{countries:e.countries,errorMessage:e.details.role.$roleCountryCode,id:"pep-relation-country-".concat(e.index),tooltip:a.createElement(rs,null),label:(0,ea.u7)("PEP_RELATION_PEP_IN_COUNTRY"),ariaLabel:(0,ea.u7)("PEP_RELATION_PEP_IN_COUNTRY"),update:function(n){return e.dispatch(new jf("role/roleCountryCode",e.index,n))},validate:function(){return e.dispatch(new Mf("role/roleCountryCode",e.index))},initialSelectedItem:e.details.role.roleCountryCode})),a.createElement("fieldset",{className:"ffe-fieldset ffe-fieldset--pep"},a.createElement("legend",{className:"ffe-h4"},(0,ea.u7)("PEP_RELATION_ADDRESS_TITLE")),a.createElement(sc,{countries:e.countries,errorMessage:e.details.address.$countryCode,id:"pep-relation-address-country-".concat(e.index),label:(0,ea.u7)("PEP_RELATION_ADDRESS_COUNTRY"),ariaLabel:(0,ea.u7)("PEP_RELATION_ADDRESS_COUNTRY"),update:function(n){e.dispatch(new jf("address/countryCode",e.index,n))},validate:function(){return e.dispatch(new Mf("address/countryCode",e.index))},initialSelectedItem:e.details.address.countryCode}),e.countries.find((function(n){return n.isoalpha2===e.details.address.countryCode}))&&a.createElement(a.Fragment,null,a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_RELATION_ADDRESS_STREET"),fieldMessage:e.details.address.$street},a.createElement(ba,{"aria-label":(0,ea.u7)("PEP_RELATION_ADDRESS_STREET"),value:e.details.address.street,maxLength:70,onChange:function(n){return e.dispatch(new jf("address/street",e.index,n.target.value))},onBlur:function(){return e.dispatch(new Mf("address/street",e.index))}})),a.createElement(yr,{className:p,label:f,fieldMessage:e.details.address.$postalCode},a.createElement(ba,{"aria-label":f,value:e.details.address.postalCode,maxLength:u,onChange:function(n){return e.dispatch(new jf("address/postalCode",e.index,n.target.value))},onBlur:function(){return e.dispatch(new Mf("address/postalCode",e.index))}})))),a.createElement("fieldset",{className:"ffe-fieldset ffe-fieldset--pep"},a.createElement("legend",{className:"ffe-h4"}," ",(0,ea.u7)("PEP_RELATION_ADDITIONAL_INFORMATION_TITLE")," "),a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_RELATION_ADDITIONAL_INFORMATION"),fieldMessage:e.details.role.$additionalInformation},a.createElement(Ef.Z,{value:e.details.additionalInformation,onChange:function(n){return e.dispatch(new jf("additionalInformation",e.index,n.target.value))},onBlur:function(){return e.dispatch(new Mf("additionalInformation",e.index))},placeholder:(0,ea.u7)("PLACEHOLDER_ENTER_COMMENT"),maxLength:250}))))},Yf=function(e){return a.createElement(bc,{rows:e.pepList,addRow:function(){return e.dispatch(new Bf)},removeRow:function(n,t){return e.dispatch(new Df(t))},renderRow:function(n,t){return a.createElement(Hf,{dispatch:e.dispatch,details:e.pepList[t],pepListLength:e.pepList.length,index:t,countries:e.countries,roleCodeOptions:e.roleCodeOptions,relationCodeOptions:e.relationCodeOptions,id:n.id})},elementType:"person"})};function Wf(e){return Wf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wf(e)}function qf(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Xf(e,n){for(var t=0;t1&&a.createElement("h4",{className:"list-item-header"},"Rolle ",e.index+1),a.createElement(yr,{className:"sub-question",label:a.createElement(hr,null,(0,ea.u7)("PEP_ROLE_TYPE"),a.createElement(ns,null)),fieldMessage:e.details.$roleCode},a.createElement(xf,{defaultValue:"".concat(null!==(t=e.details)&&void 0!==t&&t.roleCode?e.details.roleCode:"placeholder"),onChange:function(n){return e.dispatch(new nu("roleCode",e.index,n.target.value))},onBlur:function(){return e.dispatch(new tu("roleCode",e.index))}},a.createElement("option",{value:"placeholder",disabled:!0},(0,ea.u7)("PLACEHOLDER_CHOOSE_ROLE")),e.roleCodeOptions.map((function(e){var n=e.code,t=e.name;return a.createElement("option",{key:n,value:n},t)})))),a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_ROLE_EXPIRY"),"aria-label":(0,ea.u7)("PEP_ROLE_EXPIRY"),fieldMessage:e.details.$_roleEnd},a.createElement(ba,{className:"input-pep-role-expiry",value:r,maxLength:7,onChange:function(n){return e.dispatch(new nu("_roleEnd",e.index,n.target.value))},placeholder:(0,ea.u7)("PLACEHOLDER_DATE_FORMAT"),onBlur:function(){return e.dispatch(new tu("_roleEnd",e.index))}})),a.createElement(sc,{countries:e.countries,errorMessage:e.details.$roleCountryCode,id:Date.now().toString(),tooltip:a.createElement(ts,null),label:(0,ea.u7)("PEP_ROLE_IN_COUNTRY"),ariaLabel:(0,ea.u7)("PEP_ROLE_IN_COUNTRY"),update:function(n){return e.dispatch(new nu("roleCountryCode",e.index,n))},validate:function(){return e.dispatch(new tu("roleCountryCode",e.index))},initialSelectedItem:e.details.roleCountryCode}),a.createElement(yr,{className:"sub-question",label:(0,ea.u7)("PEP_ROLE_ADDITIONAL_INFORMATION"),fieldMessage:e.details.$additionalInformation},a.createElement(Ef.Z,{value:e.details.additionalInformation,onChange:function(n){return e.dispatch(new nu("additionalInformation",e.index,n.target.value))},onBlur:function(){return e.dispatch(new tu("additionalInformation",e.index))},placeholder:(0,ea.u7)("PLACEHOLDER_ENTER_COMMENT"),maxLength:250})))},au=function(e){return a.createElement(bc,{rows:e.roles,addRow:function(){return e.dispatch(new Zf)},removeRow:function(n,t){return e.dispatch(new eu(t))},renderRow:function(n,t){return a.createElement(ou,{dispatch:e.dispatch,details:e.roles[t],listLength:e.roles.length,index:t,countries:e.countries,roleCodeOptions:e.roleCodeOptions,id:n.id})},elementType:"rolle"})},iu=function(e){return a.createElement("section",null,a.createElement("h2",{className:"ffe-h2"},(0,ea.u7)("PEP_HEADER"),a.createElement(Jl,null)),a.createElement("h3",{className:"ffe-h3"},(0,ea.u7)("PEP_ROLE_TITLE")),a.createElement(_c,{className:"pep-question",name:"pep-personal",label:(0,ea.u7)("PEP_ROLE_QUESTION"),selectedValue:e.pepRoles.answer,fieldMessage:e.pepRoles.$answer,onSelected:function(n){return e.dispatch(new Jf(n))},onBlur:function(){return e.dispatch(new Kf)},dataPw:"pep-personal"},a.createElement(au,{dispatch:e.dispatch,roles:e.pepRoles.details,countries:e.countries,roleCodeOptions:e.roleCodeOptions})),a.createElement("h3",{className:"ffe-h3"}," ",(0,ea.u7)("PEP_RELATION_TITLE")," "),a.createElement(_c,{className:"pep-question",name:"pep-relations",label:(0,ea.u7)("PEP_RELATION_QUESTION"),selectedValue:e.pepRelations.answer,fieldMessage:e.pepRelations.$answer,onSelected:function(n){return e.dispatch(new Pf(n))},onBlur:function(){return e.dispatch(new Rf)},dataPw:"pep-relations"},a.createElement(Yf,{dispatch:e.dispatch,pepList:e.pepRelations.details,countries:e.countries,roleCodeOptions:e.roleCodeOptions,relationCodeOptions:e.relationCodeOptions})))};function lu(e){return lu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lu(e)}function su(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function cu(e,n){for(var t=0;t=48&&n<=57))return!1;t++}return!0}function Bu(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function Du(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function ju(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var n=0,t=e.length;n0&&"constructor"==l[c-1]))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(t&&void 0===u&&(void 0===s[d]?u=l.slice(0,c).join("/"):c==f-1&&(u=n.path),void 0!==u&&p(n,0,e,u)),c++,Array.isArray(s)){if("-"===d)d=s.length;else{if(t&&!Ru(d))throw new Fu("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",a,n,e);Ru(d)&&(d=~~d)}if(c>=f){if(t&&"add"===n.op&&d>s.length)throw new Fu("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",a,n,e);if(!1===(i=zu[n.op].call(n,s,d,e)).test)throw new Fu("Test operation failed","TEST_OPERATION_FAILED",a,n,e);return i}}else if(c>=f){if(!1===(i=Gu[n.op].call(n,s,d,e)).test)throw new Fu("Test operation failed","TEST_OPERATION_FAILED",a,n,e);return i}if(s=s[d],t&&c0)throw new Fu('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",n,e,t);if(("move"===e.op||"copy"===e.op)&&"string"!=typeof e.from)throw new Fu("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",n,e,t);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&void 0===e.value)throw new Fu("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",n,e,t);if(("add"===e.op||"replace"===e.op||"test"===e.op)&&ju(e.value))throw new Fu("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",n,e,t);if(t)if("add"==e.op){var o=e.path.split("/").length,a=r.split("/").length;if(o!==a+1&&o!==a)throw new Fu("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",n,e,t)}else if("replace"===e.op||"remove"===e.op||"_get"===e.op){if(e.path!==r)throw new Fu("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",n,e,t)}else if("move"===e.op||"copy"===e.op){var i=Xu([{op:"_get",path:e.from,value:void 0}],t);if(i&&"OPERATION_PATH_UNRESOLVABLE"===i.name)throw new Fu("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",n,e,t)}}function Xu(e,n,t){try{if(!Array.isArray(e))throw new Fu("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(n)Yu(Pu(n),Pu(e),t||!0);else{t=t||qu;for(var r=0;r0&&(e.patches=[],e.callback&&e.callback(r)),r}function rd(e,n,t,r,o){if(n!==e){"function"==typeof n.toJSON&&(n=n.toJSON());for(var a=$u(n),i=$u(e),l=!1,s=i.length-1;s>=0;s--){var c=e[u=i[s]];if(!Nu(n,u)||void 0===n[u]&&void 0!==c&&!1===Array.isArray(n))Array.isArray(e)===Array.isArray(n)?(o&&t.push({op:"test",path:r+"/"+Bu(u),value:Pu(c)}),t.push({op:"remove",path:r+"/"+Bu(u)}),l=!0):(o&&t.push({op:"test",path:r,value:e}),t.push({op:"replace",path:r,value:n}));else{var f=n[u];"object"==typeof c&&null!=c&&"object"==typeof f&&null!=f&&Array.isArray(c)===Array.isArray(f)?rd(c,f,t,r+"/"+Bu(u),o):c!==f&&(o&&t.push({op:"test",path:r+"/"+Bu(u),value:Pu(c)}),t.push({op:"replace",path:r+"/"+Bu(u),value:Pu(f)}))}}if(l||a.length!=i.length)for(s=0;s0||!Array.isArray(r)&&Object.getOwnPropertyNames(r).length>0)&&!t.match(/\/(\$|_)\w+/)}));return n.map((function(e){return e._op,e._path,e.value})).forEach((function(e){Array.isArray(e)?e.forEach(fd):fd(e)})),n}(od(this.props.declarations,t));this.props.onSubmit(o),delete t._errorCount}else t._errorCount=r,ta();this.setState(t)}},{key:"dispatch",value:function(e){this.props.dispatch(e);var n=Pu(this.state);e.constructor.apply(e,n,this.props),this.setState(n)}},{key:"render",value:function(){return a.createElement("div",{className:"kyc"},a.createElement("form",null,this.state._errorCount>0&&a.createElement(na,{errorCount:this.state._errorCount}),this.props.kycType===Af.NEW_CUSTOMER&&!this.props.declarations.birthCountry.details&&a.createElement(pu,{countries:this.props.countries,birthCountry:this.state.birthCountry,dispatch:this.dispatch,processInstanceId:this.props.processInstanceId}),a.createElement($c,{countries:this.props.countries.filter((function(e){return(void 0!==e.taxIdentificationCode||void 0!==e.isoalpha2)&&"NO"!==e.isoalpha2})),americanCitizen:this.state.americanCitizen,taxIdentifications:this.state.taxIdentifications,enforceTaxDeclarations:this.state.enforceTaxDeclarations,dispatch:this.dispatch}),a.createElement(iu,{pepRoles:this.state.politicallyExposedPerson,pepRelations:this.state.politicallyExposedPersonRelations,countries:this.props.countries,roleCodeOptions:this.props.roleCodeOptions,relationCodeOptions:this.props.relationCodeOptions,dispatch:this.dispatch}),a.createElement(yf,{expectedAnnualDeposits:this.state.expectedAnnualDeposits,expectedAnnualForeignPayments:this.state.expectedAnnualForeignPayments,expectedAnnualForeignDeposits:this.state.expectedAnnualForeignDeposits,mainBank:this.state.mainBank,personalBanking:this.state.personalBanking,countries:this.props.countries,dispatch:this.dispatch,kycType:this.props.kycType}),this.props.kycType===Af.NEW_CUSTOMER&&a.createElement(Ou,{fundOrigins:this.state.fundOrigins,fundOriginOptions:this.props.fundOriginOptions,dispatch:this.dispatch}),a.createElement("div",{className:"kyc__action-buttons"},a.createElement(No,{isLoading:this.props.isPosting,onClick:this.submit,type:"submit","aria-label":this.props.submitLabel,"data-pw":"kyc-submit"},this.props.submitLabel))))}}],t&&ad(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),l}(a.Component);ud.defaultProps={dispatch:function(e){}};const dd=ud;var pd={EMBST:"Ambassador, Chargé d'affaires",MEMNL:"Permanent representative to National Assembly",NATLG:"Permanent member of National Assembly",POLPO:"Leader of party represented in Parliament",POLBM:"Member of governing body of party in Parliament",PRIMN:"Prime Minister",NATGM:"Council of State",NATGD:"Secretary of State",SHEAD:"Head of State",MEMAF:"Military officer, rank of general/admiral",MEMJU:"High Court/Supreme Court judge",INTJU:"International Court judge",AUCBM:"Panel member, Court of Audit",AUGBM:"Panel member, National Audit Office",CBABM:"Board member, Central Bank",SCOEX:"Board member/senior management, public sector undertaking",INTOO:"Senior management of international organisation"},Ad={BUSAS:"Close business associate",CHILD:"Child",CINLA:"Son-/daughter-in-law",MARRI:"Spouse/registeredpartner",PAREN:"Parents",RRHWP:"Joint beneficial owner with PEP",UNMPA:"Co-habitant"},hd={AD:"Andorra",AE:"United Arab Emirates (the)",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AN:"Netherlands Antilles",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei Darussalam",BO:"Bolivia",BQ:"Bonaire, Saint Eustatius and Saba",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos (Keeling) Islands",CD:"Kongo",CF:"Central African Republic",CG:"Congo (the)",CH:"Switzerland",CI:"Côte d'Ivoire",CK:"Cook Islands (the)",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CX:"Christmas Island",CY:"Cyprus",CZ:"Czechia",DE:"Germany",IO:"British Indian Ocean Territory",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic (the)",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"West-Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands (the) (Malvinas)",FM:"Micronesia (Federated States of)",FO:"Faroe Islands (the)",FR:"France",GA:"Gabon",GB:"United Kingdom of Great Britain and Northern Ireland (the)",GD:"Grenada",GE:"Georgia",GF:"French Guyana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros (the)",KN:"Saint Kitts and Nevis",KP:"Korea (the Democratic People's Republic of)",KR:"Korea (the Republic of)",KW:"Kuwait",KY:"Cayman Islands (the)",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin, FR",MG:"Madagascar",MH:"Marshall Islands (the)",MK:"Republic of North Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"Macao",MP:"Northern Mariana Islands (the)",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands (the)",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines (the)",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Palestine, State of",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SF:"French Southern and Antarctic Lands",SG:"Singapore",SH:"Saint Helena, Ascension and Tristan da Cunha",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"South Sudan",ST:"São Tome and Principe",SV:"El Salvador",SX:"Sint Maarten (Dutch part)",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands (the)",TD:"Tsjad",TF:"South Sudan",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"East Timor",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"United States Minor Outlying Islands (the)",US:"USA",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatican City",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"Virgin Islands (British)",VI:"Virgin Islands (U.S.)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis and Futuna",WS:"Samoa",XK:"Kosovo",XX:"Unknown country",XU:"Stateless",YE:"Yemen",YT:"Mayotte",YU:"Yugoslavia",YY:"Unknown country",ZA:"South Africa",ZM:"Zambia",ZR:"Zaire",ZW:"Zimbabwe",ZZ:"International Organisations"},md=[{ids:["CPB154275397848092301","CPB154278196363956364","CPB154312149599645059","CPB154313995325509775","CPB154322110303068290","CPB154572977767258253","CPB154572002020549519","CPB153967765503829130","CPB154568228376928131","CPB154301913472275094","CPB154302314036942474","CPB154313609374560651","CPB153962241144274826","CPB154566707977745807","CPB379466777878460998"],question:'Will you use your accounts to administer money on behalf of other people\'s/your own business activities? An example of this could be that you are the "manager" of a football team and would like a separate account in your name for this purpose. If yes, enter the purpose and organisation number.'},{ids:["CPB285900784047291818","CPB158193031634820006","CPB320208290974960769","CPB159160183127429773","CPB158462518656671887","CPB297539491312955019","CPB327590474673782657","CPB319560463631965091","CPB158463749693406372","CPB158289937125716106","CPB159350262851212939","CPB260399707589332103","CPB100272998762694797","CPB167036257866155173","CPB379468009369976902"],question:"Will you use your accounts to administer money on behalf of others? You do not need to mention accounts already at your disposal or people in your household. If yes, enter the purpose, name and personal identity number."},{ids:["CPB285902074986747780","CPB320209512370291073","CPB159162770491843727","CPB158463103777159567","CPB297540450074968961","CPB327591114939945349","CPB319561848226182023","CPB158465703877905572","CPB158291429499186848","CPB159351953845581198","CPB379390435205627718","CPB100274439155279245","CPB167037944824682661","CPB379315232661016418","CPB379469444569509953"],question:"Do you expect to use your accounts to buy and/or sell cryptocurrency (BitCoin, Ethereum, and so on) in excess of NOK 50,000 per annum? If yes, indicate the purpose of the transactions (for example investment, or payment for goods and services)."},{ids:["CPB379431979115209542","CPB357037775821499525","CPB374408839142801510","CPB358809171027552608","CPB357384615007983234","CPB359454782327433314","CPB364499531980961888","CPB371469829308221794","CPB376851273112627045","CPB379393670211391813","CPB100275281434925453","CPB379421867505831527","CPB373668404509924675","CPB379319002272844134","CPB379470407583837254"],question:"Will the primary source of income be anything other than salary, a student loan, social security benefits or a pension? If yes, please specify (for example: sale of property, shares or funds)."},{ids:["CPB379432740519231044","CPB357038782528062594","CPB374409994163251044","CPB358811422215594853","CPB357385441146251908","CPB359456863634047333","CPB364500948427114336","CPB371470834708268132","CPB376852612760864324","CPB379395922744296810","CPB100278111603437696","CPB379423097340315492","CPB373668956604179014","CPB379321496296132964","CPB379473597113183046"],question:"Do you expect to receive payments in addition to salary, student loan, social security benefits or a pension that will exceed NOK 50,000 per annum? If yes, please specify (for example: rental income or income from hobby)."},{ids:["CPB982486464959522439","CPB982432207873890452","CPB982459883419105157","CPB982477012339051396","CPB982495416667981458","CPB486224228843802248","CPB982440618052391823","CPB982450199617430418","CPB982500280634452367","CPB100278881320054157","CPB982460822626110358","CPB981001965995390596","CPB982874442061262212","CPB982514788829432966","CPB982507443232509314"],question:"Do you expect to use the bank for anything other than ordinary expenditure and saving (card payments, paying bills, saving, mortgage, deposit account, etc.)? If yes, please specify (e.g. to manage accounts on behalf of others)."}];const gd={ANSWER_YES:"Ja",ANSWER_NO:"Nei",BUTTON_ADD_LAND:"Legg til land",BUTTON_ADD_ROLLE:"Legg til rolle",BUTTON_ADD_PERSON:"Legg til person",BUTTON_ADD_TRANSAKSJON:"Legg til en ny transaksjon",BUTTON_ADD_OPPRINNELSE:"Legg til opprinnelse",BUTTON_REMOVE_LAND:"Fjern land",BUTTON_REMOVE_ROLLE:"Fjern rolle",BUTTON_REMOVE_PERSON:"Fjern person",BUTTON_REMOVE_TRANSAKSJON:"Fjern transaksjon",BUTTON_REMOVE_OPPRINNELSE:"Fjern opprinnelse",BUTTON_SUBMIT_RENEWAL:"Bekreft opplysninger",PLACEHOLDER_DATE_FORMAT:"mm.åååå",PLACEHOLDER_CHOOSE_COUNTRY:"Velg land",PLACEHOLDER_CHOOSE_ROLE:"Velg rolle",PLACEHOLDER_ENTER_COMMENT:"Skriv inn kommentar",PLACEHOLDER_ENTER_AMOUNT:"Skriv inn beløp i NOK",PLACEHOLDER_SELECT_PEP_RELATION_TYPE:"Velg relasjon",PLACEHOLDER_SELECT_GENDER:"Velg kjønn",PLACEHOLDER_SELECT_CHOOSE_FUND_ORIGIN:"Velg opprinnelse",ARIA_LABEL_SELECT_COUNTRY:"Velg land",ARIA_LABEL_SELECT_BIRTH_COUNTRY:"Velg ditt fødeland",ARIA_LABEL_TAX_IDENTIFICATION_CODE_USA:"Skatteland: USA",ARIA_LABEL_ENTER_TAX_IDENTIFICATION_NUMBER:"Skriv inn skatteidentifikasjonsnummer",ARIA_LABEL_PEP_TOOLTIP:"Mer informasjon om politisk eksponert person",ARIA_LABEL_FATCA_HEADER_TOOLTIP:"Mer informasjon om skattetilknytning",ARIA_LABEL_TAX_DECLARATION_TOOLTIP:"Mer informasjon om skattemessig bosted",ARIA_LABEL_TIN_TOOLTIP:"Mer informasjon om skatteidentifikasjonsnummer",ARIA_LABEL_PEP_POSITION_TOOLTIP:"Mer informasjon om posisjon, stillig eller verv",ARIA_LABEL_PEP_IN_COUNTRY_TOOLTIP:"Mer informasjon om hvilket land politisk eksponerte personer defineres i",ARIA_LABEL_CLOSE_RELATION_TOOLTIP:"Mer informasjon om nære relasjoner",COUNTRY:"Land",COMMENT_WITH_MAX_SYMBOLS:"Kommentar (maks {0} tegn)",AMOUNT_IN_NORWEGIAN_CURRENCY:"Beløp i norske kroner",DROPDOWN_NO_HITS_SEARCH:"Søket ga ingen treff",GENDER_MALE:"Mann",GENDER_FEMALE:"Kvinne",GENDER_OTHER:"Annet",SPINNER_LOADING_TEXT:"Vennligst vent litt",SUCCESS_MESSAGE_RENEWAL:"Takk for at du tok deg tid til å svare på spørsmålene",ERROR_MESSAGE_RENEWAL_TITLE:"Noe gikk galt",ERROR_MESSAGE_RENEWAL_TEXT:"Vi opplever problemer med systemene våre. Vennligst forsøk igjen. Hvis problemet vedvarer ber vi deg kontakte kundesupport, så hjelper vi deg.",GO_TO_ONLINE_BANKING:"Gå til nettbank",GO_TO_MOBILEBANK:"Gå til mobilbank",VALIDATION_ERROR_SUMMARY:"Det har oppstått {0} feil i skjemaet",VALIDATION_ERROR_SUMMARY_MULTIPLE:"Det har oppstått {0} feil i skjemaet",VALIDATION_ERROR_SUMMARY_TEXT:"Vennligst se over skjemaet på nytt og rett opp feil.",VALIDATION_ERROR_SELECT_YES_NO:"Vennligst velg ja eller nei",VALIDATION_ERROR_SELECT_COUNTRY:"Vennligst velg et land",VALIDATION_ERROR_SELECT_ROLE_TYPE:"Vennligst velg en rolle",VALIDATION_ERROR_SELECT_RELATION_TYPE:"Vennligst velg en relasjon",VALIDATION_ERROR_EMPTY_TIN_NUMBER:"Vennligst fyll inn skatteidentifikasjonsnummer",VALIDATION_ERROR_INVALID_SYMBOL_IN_TIN_NUMBER:"Skatteidentifikasjonsnummer inneholder ulovlige tegn",VALIDATION_ERROR_WRONG_US_TIN_NUMBER:"Formatet på US TIN er ugyldig. Gyldig format er: 123456789, 123-45-6789, 12-3456789",VALIDATION_ERROR_WRONG_DATE_FORMAT:"Vennligst skriv inn dato på format mm.åååå",VALIDATION_ERROR_WRONG_BIRTH_DATE_FORMAT:"Vennligst skriv inn dato på format dd.mm.åååå",VALIDATION_ERROR_WRONG_DATE_FUTURE:"Dato kan ikke være frem i tid.",VALIDATION_ERROR_EMPTY_POSTAL_CODE:"Venligst fyll inn postnummer",VALIDATION_ERROR_POSTAL_CODE_FOUR_DIGITS:"Postnummer må være fire siffer",VALIDATION_ERROR_INVALID_SYMBOL_IN_POSTAL_CODE:"Postnummer inneholder ulovlige tegn",VALIDATION_ERROR_EMPTY_ADDRESS:"Venligst fyll inn adresse",VALIDATION_ERROR_INVALID_SYMBOL_IN_ADDRESS:"Adresse inneholder ulovlige tegn",VALIDATION_ERROR_EMPTY_FIRST_NAME:"Venligst fyll inn fornavn",VALIDATION_ERROR_INVALID_SYMBOL_IN_FIRST_NAME:"Fornavn inneholder ulovlige tegn",VALIDATION_ERROR_EMPTY_LAST_NAME:"Venligst fyll inn etternavn",VALIDATION_ERROR_INVALID_SYMBOL_IN_LAST_NAME:"Etternavn inneholder ulovlige tegn",VALIDATION_ERROR_EMPTY_SSN:"Vennligst fyll inn fødsels- eller D-nummer",VALIDATION_ERROR_INVALID_SSN:"Ugyldig fødsels- eller D-nummer",VALIDATION_ERROR_EMPTY_GENDER:"Venligst velg et kjønn",VALIDATION_ERROR_INVALID_SYMBOL_IN_GENDER:"Kjønn inneholder ulovlige tegn",VALIDATION_ERROR_EMPTY_COMMENT:"Venligst fyll inn kommentar",VALIDATION_ERROR_INVALID_SYMBOL_IN_COMMENT:"Kommentar inneholder ulovlige tegn",VALIDATION_ERROR_INVALID_SYMBOL_IN_FREETEXT:"Fritekstfelt inneholder ulovlige tegn",VALIDATION_ERROR_WRONG_AMOUNT:"Vennligst skriv inn beløp i hele kroner",VALIDATION_ERROR_CHOOSE_ORIGIN_FROM_LIST:"Vennligst velg en opprinnelse fra listen",RENEWAL_INFO_TEXT:"Norske myndigheter har bedt alle banker om å ha oppdatert kundeinformasjon. Den informasjonen vi har om deg er det nå på tide å oppdatere. Vi ber deg derfor oppdatere din informasjon her.",RENEWAL_PREFILLED_NOTICE_TEXT:"Svaret under er utfylt med informasjonen du har gitt oss tidligere. Se over at informasjonen fremdeles stemmer, og korriger ved feil.",BIRTH_COUNTRY_HEADER:"Fødeland",TAXES_TAX_COUNTRY_RESIDENCE_HEADER:"Skattemessig bosted",TAXES_TAX_COUNTRY_RESIDENCE_TOOLTIP_TEXT:"Norge har signert internasjonale avtaler om utveksling av skatteopplysninger. Vi er derfor pålagt å melde inn til Skatteetaten finansiell informasjon om de av våre kunder som er skattemessig bosatt i et annet land.",TAXES_AMERICAN_CITIZEN:"Er du amerikansk statsborger?",TAXES_TAX_COMITTED_TO_OTHER_COUNTRIES:"Er du skattemessig bosatt i andre land enn Norge?",TAXES_TAX_COMITTED_TO_OTHER_COUNTRIES_TOOLTIP_INGRESS:"Er du skattemessig bosatt i andre land enn Norge? Da er det stor sannsynlighet for at du må registrere dette.",TAXES_TAX_COUNTRY_CURRENTLY_LIVING_IN:"Land du er skattemessig bosatt i",TAXES_TAX_IDENTIFICATION_NUMBER:"Ditt skatteidentifikasjonsnummer",PEP_HEADER:"Politisk eksponert person (PEP)",PEP_ROLE_TITLE:"Egne roller",PEP_ROLE_QUESTION:"Innehar du, eller har du hatt, høytstående offentlig verv eller stilling på nasjonalt eller internasjonalt nivå? (Kommune- og fylkespolitikere er ikke PEP)",PEP_ROLE_TYPE:"Din posisjon stilling eller verv",PEP_ROLE_EXPIRY:"Dersom dette gjelder en tidligere posisjon stilling eller verv vennligst oppgi opphørstid",PEP_ROLE_IN_COUNTRY:"I hvilket land er/var du definert som en politisk eksponert person?",PEP_ROLE_ADDITIONAL_INFORMATION:"Fritekstfelt hvor du kan skrive inn flere verv eller andre tilleggsopplysninger relatert til din posisjon verv eller stilling (maks 250 tegn)",PEP_RELATION_TITLE:"Relasjoner",PEP_RELATION_QUESTION:"Har du en nær relasjon til en person som har, eller har hatt, høytstående offentlig verv eller stilling på nasjonalt eller internasjonalt nivå? (Kommune- og fylkespolitikere er ikke PEP)",PEP_RELATION_PERSONALIA_TITLE:"Personalia",PEP_RELATION_PERSONALIA_FIRST_NAME:"Personens fornavn",PEP_RELATION_PERSONALIA_LAST_NAME:"Personens etternavn",PEP_RELATION_PERSONALIA_PERSON_IDENTIFICATION:"Personens fødsels- eller D-nummer",PEP_RELATION_PERSONALIA_PERSON_IDENTIFIER_UKNOWN:"Ukjent / personen har ikke norsk fødsels- eller D-nummer",PEP_RELATION_ADDRESS_NORWEGIAN_POSTAL_CODE:"Postnummer",PEP_RELATION_BIRTH_DATE:"Personens fødselsdato",PEP_RELATION_BIRTH_COUNTRY:"Personens fødeland",PEP_RELATION_GENDER:"Personens kjønn",PEP_RELATION_TYPE_OF_RELATION:"Hvilken relasjon har du til personen?",PEP_RELATION_ROLE_TITLE:"Rolle",PEP_RELATION_ROLE_TYPE:"Hvilken posisjon, stilling eller verv har personen?",PEP_RELATION_PEP_IN_COUNTRY:"I hvilket land er/var personen definert som en politisk eksponert person?",PEP_RELATION_ADDRESS_TITLE:"Personens adresse",PEP_RELATION_ADDRESS_COUNTRY:"Bostedsland",PEP_RELATION_ADDRESS_STREET:"Gateadresse",PEP_RELATION_ADDRESS_FOREIGN_POSTAL_CODE:"Postnummer og poststed",PEP_RELATION_ADDITIONAL_INFORMATION_TITLE:"Tilleggsopplysninger",PEP_RELATION_ADDITIONAL_INFORMATION:"Fritekstfelt hvor du kan skrive inn flere verv eller andre tilleggsopplysninger relatert til personens posisjon, verv eller stilling (maks 250 tegn)",ACCOUNT_PURPOSE_INFORMATION_HEADER:"Formål og andre opplysninger om kundeforholdet",MAIN_BANK_QUESTION:"Skal SpareBank 1 være din hovedbank?",MAIN_BANK_DESCRIPTION:"Hovedbanken din er der du har penger til daglig bruk (f.eks. dagligvarer) og stort sett betaler regningene dine fra. ",EXPECTED_ANNUAL_DEPOSITS_QUESTION:"Vil du sette inn kontanter via innskuddsautomat, kontant i butikk eller lignende?",EXPECTED_ANNUAL_DEPOSISTS_AMOUNT:"Oppgi antatt totalbeløp i neste 12 måneders periode",EXPECTED_ANNUAL_DEPOSISTS_COMMENT_LABEL:"Hvor ofte og hvor forventer du å få kontanter fra?",EXPECTED_ANNUAL_DEPOSISTS_COMMENT_PLACEHOLDER:"Eksempelvis ca 1 gang per måned/1 gang per år fra private salg eller lignende",EXPECTED_ANNUAL_FOREIGN_DEPOSITS_QUESTION:"Skal du sende penger til utlandet?",EXPECTED_ANNUAL_FOREIGN_DEPOSITS_COMMENT_PLACEHOLDER:"Eksempelvis ca 1 gang per måned/1 gang per år for eiendom i Spania",EXPECTED_ANNUAL_FOREIGN_PAYMENT_QUESTION:"Vil du motta penger fra utlandet?",EXPECTED_ANNUAL_FOREIGN_PAYMENT_COMMENT_PLACEHOLDER:"Eksempelvis ca 1 gang per måned/1 gang per år og lønn fra arbeidsgiver",EXPECTED_ANNUAL_FOREIGN_AMOUNT:"Oppgi forventet beløp pr.land i neste 12 måneders periode",EXPECTED_ANNUAL_FOREIGN_COMMENT_LABEL:"Hvor ofte og hva er bakgrunnen for betalingene?",FUND_ORIGINS:"Opprinnelse",FUND_ORIGINS_HEADER:"Midlenes opprinnelse",TAXES_TAX_COMITTED_TO_OTHER_COUNTRIES_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement("p",null,"Er du skattemessig bosatt i andre land enn Norge? Da er det stor sannsynlighet for at du må registrere dette."),a.createElement(Or,null,"Skattemessig bosatt i et annet land?"),a.createElement("p",null,"Personer som bor i Norge, eller som oppholder seg i Norge i mer enn 183 dager i løpet av en 12-månedersperiode, eller mer enn 270 dager i løpet av en 36-månedersperiode, anses for å være skattemessig bosatt i Norge og dermed ha skatteplikt til Norge. En person kan være skattemessig bosatt i flere land på bakgrunn av de respektive lands lover og regler."),a.createElement(Or,null,"Når er du skattemessig bosatt i et annet land?"),a.createElement("p",null,"Normalt er det slik at du er skattemessig bosatt i det landet du hovedsakelig bor eller oppholder deg. Imidlertid har hvert enkelt land sine egne regler for hvordan skattemessig bosted fastsettes. Informasjon om reglene for skattemessig bosted i de enkelte land finnes på OECDs hjemmesider. Dersom det er spørsmål til hvordan skattemessig bosted fastsettes, kontakt en skatterådgiver eller et lokalt skattekontor."))},TAXES_TAX_IDENTIFICATION_NUMBER_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement(Or,null,"Skatteidentifikasjonsnummer (TIN):"),a.createElement("p",null,"Tax Identification Number (TIN), eller tilsvarende nummer, er en unik kombinasjon av bokstaver og/eller tall utstedt av et land til en person. Dette er brukt til å identifisere deg i forbindelse med skatterapportering. Ikke alle land utsteder slikt nummer, men har andre former for numre eller metoder til bruk for identifikasjon til skatterapportering."),a.createElement("p",null,"Eksempler på Skatteidentifikasjonsnumre for privatpersoner:"),a.createElement("ul",null,a.createElement("li",null,"Danmark: CPR-nummer"),a.createElement("li",null,"Norge: Fødselsnummer eller D-nummer"),a.createElement("li",null,"Sverige: Personnummer eller samordningsnummer"),a.createElement("li",null,"USA: Social Security Number")),a.createElement("p",null,"Mer detaljert informasjon om respektive TIN-numre finnes på OECDs hjemmesider."))},PEP_ROLE_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement(Or,null,"Med høytstående offentlig verv eller stilling menes:"),a.createElement("ol",null,a.createElement("li",null,"Statsoverhode, regjeringssjef, minister eller assisterende minister/statssekretær."),a.createElement("li",null,"Medlem av nasjonalforsamling (stortingsrepresentant), inkludert faste eller varige vararepresentanter."),a.createElement("li",null,"Leder/medlem av styrende organ i politisk parti som er representert på Stortinget (Hovedstyre, sentralstyre eller tilsvarende høytstående organ i henhold til partiets vedtekter)."),a.createElement("li",null,"Medlem av høyere rettsinstans som treffer beslutning som ikke, eller bare unntaksvis kan ankes, for eksempel:",a.createElement("ul",null,a.createElement("li",null,"Dommere i Høyesterett, midlertidige og faste stillinger."),a.createElement("li",null,"Dommere i lagmannsretten (Gjelder både midlertidige og faste stillinger, men kun ansatte i domstolsapparatet – ikke lekdommere/meddommere)."))),a.createElement("li",null,"Dommere ved internasjonale domstoler, f.eks. Den europeiske menneskerettighetsdomstolen (EMD), EFTA-domstolen og FN-domstolen (ICJ)."),a.createElement("li",null,"Medlem av styre i riksrevisjon, revisjonsdomstol eller sentralbank, for eksempel:",a.createElement("ul",null,a.createElement("li",null,"Medlemmer og varamedlemmer av riksrevisjonskollegium i Riksrevisjonen."),a.createElement("li",null,"Styret i Norges Bank."))),a.createElement("li",null,"Ambassadør eller chargé d’affaires (Konsul regnes ikke som PEP)."),a.createElement("li",null,"Militær offiser av høyere rang (I Norge vil dette si offisersgrader fra og med generalmajor/kontreadmiral)."),a.createElement("li",null,"Medlem av administrativt, ledende eller kontrollerende organ i statlig foretak.",a.createElement("ul",null,a.createElement("li",null,"Styret og administrerende direktør i statlige foretak."),a.createElement("ul",null,a.createElement("li",null,"«Statlige foretak» er statlige selskaper som ivaretar offentlige oppgaver som hører inn under den offentlige administrasjonen. Det avgjørende er om det dreier seg om statlige myndigheter, selv om disse representeres ved et foretak. Statseide selskaper som ikke utfører oppgaver som omfatter offentlig forvaltning faller utenfor definisjonen."),a.createElement("li",null,"Datterselskap av slike selskaper omfattes ikke, ei heller selveiende institusjoner (typisk stiftelser) som helt eller delvis er finansiert av offentlige midler."),a.createElement("li",null,"Lokale foretak, slik som fylkeskommunale og kommunale foretak, er ikke omfattet.")))),a.createElement("li",null,"Direktør, styremedlem eller annen person i øverste ledelse i internasjonal organisasjon (Ideelle organisasjoner er ikke omfattet). Det vil si personer som er innstilt, utpekt eller ansatt av regjering, departement eller minister i en internasjonal organisasjon som er opprettet ved inngåelse av en formell internasjonal politisk avtale.",a.createElement("ul",null,a.createElement("li",null,"Eksempelvis slike stillinger I EFTA, NATO og FN.")))))},PEP_IN_COUNTRY_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement("p",null,"Her skal du registrere det landet som du representerer."),a.createElement("p",null,"Eksempel: En tysk ambassadør i Norge registreres med Tyskland. En norsk ambassadør i Tyskland registreres med Norge."))},PEP_RELATION_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement(Or,null,"Med nær relasjon menes:"),a.createElement("ol",null,a.createElement("li",null,"Nære familiemedlemmer som omfatter foreldre, ektefelle, registrert partner, samboer og barn, samt barns ektefelle/registrert partner/samboer. Adoptivbarn er likestilte med biologiske barn. Søsken, fosterbarn, stebarn og steforeldre omfattes ikke av definisjonen."),a.createElement("li",null,"Å være reell rettighetshaver* i fellesskap med politisk eksponert person. Man er reell rettighetshaver i et selskap der også en PEP er reell rettighetshaver."),a.createElement("li",null,"Å ha nær forretningsforbindelse (kjent medarbeider) til politisk eksponert person:",a.createElement("ul",null,a.createElement("li",null,"Å være eneste reelle rettighetshaver* i en juridisk enhet/selskap, som i realiteten er etablert for å begunstige en politisk eksponert person."),a.createElement("li",null,"Kjente medarbeidere defineres også som personer som har nær forretningsforbindelse til en PEP. Det kan tenkes tilfeller hvor graden av nærhet mellom kunden og den politisk eksponerte personen ikke fremkommer i dokumentasjon, men andre forhold tilsier at det må være en forretningsforbindelse og at denne er kjent. Eksempelvis kan tenkes der en person opptrer som reell rettighetshaver i kunden. Denne personen har mange andre forretningsforbindelser med en PEP på en slik måte at det er sannsynlig den reelle rettighetshaveren er en nær forretningsforbindelse også i den aktuelle sammenhengen."),a.createElement("li",null,"Andre nære forbindelser enn forretningsforbindelser omfattes ikke. Eksempelvis der personene er medlemmer i det samme politiske parti eller dersom kunden har en fast advokatforbindelse som representerer dem i saker.")))),"*Reelle rettighetshavere er personer som alene eller sammen med nær relasjon eier eller kontrollerer mer enn 25 % av eierandelen eller stemmene i en bedrift/enhet (Egne særregler gjelder for stiftelser, truster og lignende enheter) For nærmere presiseringer av definisjon på reelle rettighetshavere henvises det til hvitvaskingsloven og Finanstilsynets veileder til hvitvaskingsloven.")},PEP_RELATION_COUNTRY_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement("p",null,"Her skal du registrere det landet som den aktuelle personen representerer."),a.createElement("p",null,"Eksempel: En tysk ambassadør i Norge registreres med Tyskland. En norsk ambassadør i Tyskland registreres med Norge."))}};const vd={ANSWER_YES:"Yes",ANSWER_NO:"No",BUTTON_ADD_LAND:"Add country",BUTTON_ADD_ROLLE:"Add role",BUTTON_ADD_PERSON:"Add person",BUTTON_ADD_TRANSAKSJON:"Add transaction",BUTTON_ADD_OPPRINNELSE:"Add origin",BUTTON_REMOVE_LAND:"Remove country",BUTTON_REMOVE_ROLLE:"Remove role",BUTTON_REMOVE_PERSON:"Remove person",BUTTON_REMOVE_TRANSAKSJON:"Remove transaction",BUTTON_REMOVE_OPPRINNELSE:"Remove origin",BUTTON_SUBMIT_RENEWAL:"Confirm information",PLACEHOLDER_DATE_FORMAT:"mm.yyyy",PLACEHOLDER_CHOOSE_COUNTRY:"Select country",PLACEHOLDER_CHOOSE_ROLE:"Select role",PLACEHOLDER_ENTER_COMMENT:"Enter comments",PLACEHOLDER_ENTER_AMOUNT:"Enter amount in NOK",PLACEHOLDER_SELECT_PEP_RELATION_TYPE:"Select relation",PLACEHOLDER_SELECT_GENDER:"Select gender",PLACEHOLDER_SELECT_CHOOSE_FUND_ORIGIN:"Select origin",ARIA_LABEL_SELECT_COUNTRY:"Select country",ARIA_LABEL_SELECT_BIRTH_COUNTRY:"Choose your country of birth",ARIA_LABEL_TAX_IDENTIFICATION_CODE_USA:"Tax Country: USA",ARIA_LABEL_ENTER_TAX_IDENTIFICATION_NUMBER:"Enter the tax identification number",ARIA_LABEL_PEP_TOOLTIP:"More information about politically exposed person",ARIA_LABEL_FATCA_HEADER_TOOLTIP:"More information about tax affiliation",ARIA_LABEL_TAX_DECLARATION_TOOLTIP:"More information about tax residence",ARIA_LABEL_TIN_TOOLTIP:"More information about tax identification number",ARIA_LABEL_PEP_POSITION_TOOLTIP:"More information about position, occupation or office",ARIA_LABEL_PEP_IN_COUNTRY_TOOLTIP:"More information about which country politically exposed people are defined in",ARIA_LABEL_CLOSE_RELATION_TOOLTIP:"More information about close relations",COUNTRY:"Country",COMMENT_WITH_MAX_SYMBOLS:"Comments (no more than {0} characters)",AMOUNT_IN_NORWEGIAN_CURRENCY:"Amount in norwegian kroner",DROPDOWN_NO_HITS_SEARCH:"No results found",GENDER_MALE:"Male",GENDER_FEMALE:"Female",GENDER_OTHER:"Other",SPINNER_LOADING_TEXT:"Please wait",SUCCESS_MESSAGE_RENEWAL:"Thank you for taking the time to answer the questions",ERROR_MESSAGE_RENEWAL_TITLE:"Something went wrong",ERROR_MESSAGE_RENEWAL_TEXT:"We are experiencing problems with our systems. Please try again. If the problem persists, please contact customer support and we will help you.",GO_TO_ONLINE_BANKING:"Go to online bank",GO_TO_MOBILEBANK:"Go to mobile bank",VALIDATION_ERROR_SUMMARY:"There are {0} error in the form",VALIDATION_ERROR_SUMMARY_MULTIPLE:"There are {0} errors in the form",VALIDATION_ERROR_SUMMARY_TEXT:"Please review the form and correct any errors.",VALIDATION_ERROR_SELECT_YES_NO:"Please choose yes or no",VALIDATION_ERROR_SELECT_COUNTRY:"Please select a country",VALIDATION_ERROR_SELECT_ROLE_TYPE:"Please select a role",VALIDATION_ERROR_SELECT_RELATION_TYPE:"Please select a relation",VALIDATION_ERROR_EMPTY_TIN_NUMBER:"Please fill in your tax identification number",VALIDATION_ERROR_INVALID_SYMBOL_IN_TIN_NUMBER:"The tax identification number contains illegal characters",VALIDATION_ERROR_WRONG_US_TIN_NUMBER:"The format of the US TIN is invalid. Valid format is: 123456789, 123-45-6789, 12-3456789",VALIDATION_ERROR_WRONG_DATE_FORMAT:"Please enter date in format mm.yyyy",VALIDATION_ERROR_WRONG_BIRTH_DATE_FORMAT:"Please enter date in format dd.mm.yyyy",VALIDATION_ERROR_WRONG_DATE_FUTURE:"Date can not be in the future.",VALIDATION_ERROR_EMPTY_POSTAL_CODE:"Please fill in postal code",VALIDATION_ERROR_POSTAL_CODE_FOUR_DIGITS:"Postal code must be four digits",VALIDATION_ERROR_INVALID_SYMBOL_IN_POSTAL_CODE:"Postal code contains illegal characters",VALIDATION_ERROR_EMPTY_ADDRESS:"Please fill in street address",VALIDATION_ERROR_INVALID_SYMBOL_IN_ADDRESS:"Street address contains illegal characters",VALIDATION_ERROR_EMPTY_FIRST_NAME:"Please fill in first name",VALIDATION_ERROR_INVALID_SYMBOL_IN_FIRST_NAME:"First name contains illegal characters",VALIDATION_ERROR_EMPTY_LAST_NAME:"Please fill in surname",VALIDATION_ERROR_INVALID_SYMBOL_IN_LAST_NAME:"Surname contains illegal characters",VALIDATION_ERROR_EMPTY_SSN:"Please fill in Social Security or D number",VALIDATION_ERROR_INVALID_SSN:"Invalid Social Security or D number",VALIDATION_ERROR_EMPTY_GENDER:"Please select a gender",VALIDATION_ERROR_INVALID_SYMBOL_IN_GENDER:"Gender contains illegal characters",VALIDATION_ERROR_EMPTY_COMMENT:"Please enter comment",VALIDATION_ERROR_INVALID_SYMBOL_IN_COMMENT:"Comment contains illegal characters",VALIDATION_ERROR_INVALID_SYMBOL_IN_FREETEXT:"Additional information contains illegal characters",VALIDATION_ERROR_WRONG_AMOUNT:"Please enter amount in whole kroner",VALIDATION_ERROR_CHOOSE_ORIGIN_FROM_LIST:"Please choose an origin from the list",RENEWAL_INFO_TEXT:"The Norwegian authorities have asked all banks to update their customer information. The information we hold about you is now due to be updated. We are therefore asking you to update your information here.",RENEWAL_PREFILLED_NOTICE_TEXT:"The answer below is filled out with the information you have provided us earlier. Please review to ensure the information is still accurate, and correct any errors if necessary.",BIRTH_COUNTRY_HEADER:"Country of birth",TAXES_TAX_COUNTRY_RESIDENCE_HEADER:"Tax residence",TAXES_TAX_COUNTRY_RESIDENCE_TOOLTIP_TEXT:"Norway has signed international agreements on the exchange of tax information. We are therefore required to report financial information to the Norwegian Tax Administration on our customers who are resident for tax purposes in another country.",TAXES_AMERICAN_CITIZEN:"Are you a US citizen?",TAXES_TAX_COMITTED_TO_OTHER_COUNTRIES:"Do you have tax residence in countries other than Norway?",TAXES_TAX_COMITTED_TO_OTHER_COUNTRIES_TOOLTIP_INGRESS:"Do you have tax residence in countries other than Norway? If so it is highly likely that you are required to register this.",TAXES_TAX_COUNTRY_CURRENTLY_LIVING_IN:"Country in which you are resident for tax purposes",TAXES_TAX_IDENTIFICATION_NUMBER:"Your Tax Identification Number",PEP_HEADER:"Politically exposed person (PEP)",PEP_ROLE_TITLE:"Own roles",PEP_ROLE_QUESTION:"Do you hold, or have you held, high public office or a position at national or international level? (local and regional politicians are not PEPs)",PEP_ROLE_TYPE:"Your position occupation or office",PEP_ROLE_EXPIRY:"If it concerns a previous position or occupation please state when it ended",PEP_ROLE_IN_COUNTRY:"In which country are/were you defined as a politically exposed person?",PEP_ROLE_ADDITIONAL_INFORMATION:"Please enter other offices or additional details related to your position or occupation here (no more than 250 characters)",PEP_RELATION_TITLE:"Relationships",PEP_RELATION_QUESTION:"Do you have a close relationship to anyone who holds or has held high public office or a position at the national or international level? (local and regional politicians are not PEPs)",PEP_RELATION_PERSONALIA_TITLE:"Personal details",PEP_RELATION_PERSONALIA_FIRST_NAME:"Person’s first name",PEP_RELATION_PERSONALIA_LAST_NAME:"Person’s surname",PEP_RELATION_PERSONALIA_PERSON_IDENTIFICATION:"Person’s Social Security or D number",PEP_RELATION_PERSONALIA_PERSON_IDENTIFIER_UKNOWN:"Unknown / person has no Norwegian Social Security or D number",PEP_RELATION_ADDRESS_NORWEGIAN_POSTAL_CODE:"Postal code",PEP_RELATION_BIRTH_DATE:"Person’s date of birth",PEP_RELATION_BIRTH_COUNTRY:"Person’s country of birth",PEP_RELATION_GENDER:"Person’s gender",PEP_RELATION_TYPE_OF_RELATION:"What is your relationship to the person?",PEP_RELATION_ROLE_TITLE:"Role",PEP_RELATION_ROLE_TYPE:"What position or occupation does the person have?",PEP_RELATION_PEP_IN_COUNTRY:"In which country is/was the person defined as a politically exposed person?",PEP_RELATION_ADDRESS_TITLE:"Person’s address",PEP_RELATION_ADDRESS_COUNTRY:"Country of residence",PEP_RELATION_ADDRESS_STREET:"Street address",PEP_RELATION_ADDRESS_FOREIGN_POSTAL_CODE:"Postal code and area",PEP_RELATION_ADDITIONAL_INFORMATION_TITLE:"Supplementary information",PEP_RELATION_ADDITIONAL_INFORMATION:"Please enter other offices or additional details related to the person’s position or occupation here (no more than 250 characters)",ACCOUNT_PURPOSE_INFORMATION_HEADER:"Purpose and other information about the customer relationship",EXPECTED_ANNUAL_DEPOSITS_QUESTION:"Do you expect to deposit money via automatic cash deposit machine, in-store cash services, etc?",EXPECTED_ANNUAL_DEPOSISTS_AMOUNT:"State the anticipated total amount for the next 12 months",EXPECTED_ANNUAL_DEPOSISTS_COMMENT_LABEL:"How frequently do you expect the money to arrive, and where from?",EXPECTED_ANNUAL_DEPOSISTS_COMMENT_PLACEHOLDER:"For example: about once a month/once a year from private sales, or similar",EXPECTED_ANNUAL_FOREIGN_DEPOSITS_QUESTION:"Do you expect to send money abroad?",EXPECTED_ANNUAL_FOREIGN_DEPOSITS_COMMENT_PLACEHOLDER:"For example: about once a month/once a year for property in Spain",EXPECTED_ANNUAL_FOREIGN_PAYMENT_QUESTION:"Do you expect to receive money from abroad?",EXPECTED_ANNUAL_FOREIGN_PAYMENT_COMMENT_PLACEHOLDER:"For example: about once a month/once a year and salary from employer",EXPECTED_ANNUAL_FOREIGN_AMOUNT:"State the expected amount for each country for the next 12 months",EXPECTED_ANNUAL_FOREIGN_COMMENT_LABEL:"How frequent are these payments and what is the background to them?",FUND_ORIGINS:"Origin",FUND_ORIGINS_HEADER:"Origin of funds",TAXES_TAX_COMITTED_TO_OTHER_COUNTRIES_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement("p",null,"Do you have tax residence in countries other than Norway? If so, it is highly likely that you are required to register this."),a.createElement(Or,null,"Resident for tax purposes in another country?"),a.createElement("p",null,"Persons living in Norway or staying in Norway for more than 183 days during a 12-month period or more than 270 days in a 36-month period are considered to be resident in Norway for tax purposes and thus have a tax liability to Norway. A person may be resident for tax purposes in several countries, based on the laws and rules in each country."),a.createElement(Or,null,"When are you resident for tax purposes in another country?"),a.createElement("p",null,"In general, you are resident for tax purposes in the country in which you primarily live or stay. However, every country has its own rules for how tax residence is determined. Information on the rules for tax residence in individual countries is available on the OECD website. If you are unsure how tax residence is determined, contact a tax adviser or a local tax office."))},TAXES_TAX_IDENTIFICATION_NUMBER_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement(Or,null,"Tax Identification Number (TIN):"),a.createElement("p",null,"A Tax Identification Number (TIN), or equivalent number, is a unique combination of letters and/or numbers issued by a country to a person. This is used to identify the person in connection with tax reporting. Not all countries issue such numbers and some have different types of number or method for identification for tax reporting."),a.createElement("p",null,"Examples of Tax Identification Numbers for individuals:"),a.createElement("ul",null,a.createElement("li",null,"Denmark: CPR number"),a.createElement("li",null,"Norway: Personal identity number or D number"),a.createElement("li",null,"Sweden: Personal identity number or coordination number"),a.createElement("li",null,"USA: Social Security number")),a.createElement("p",null,"More detailed information on the various TINs is available on the OECD website."))},PEP_ROLE_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement(Or,null,"High-ranking public office or position means:"),a.createElement("ol",null,a.createElement("li",null,"Head of State, Prime Minister, Minister or Deputy Minister/Parliamentary Secretary."),a.createElement("li",null,"Member of Parliament, including permanent or ongoing deputy representatives."),a.createElement("li",null,'Leader/member of executive committee in a political party represented in Parliament (Executive Board, " Central Board or corresponding high-ranking body according to the partys articles of association)."'),a.createElement("li",null,"Members of superior judicial authorities, the decisions of which are not subject to further appeal, except in exceptional circumstances, for example:",a.createElement("ul",null,a.createElement("li",null,"Supreme Court judges, temporary and permanent appointments."),a.createElement("li",null,"Appellate Court judges (applies to both temporary and permanent appointments; however, only those appointed in the courts system, not lay judges/associate judges)."))),a.createElement("li",null,"Judges in international courts, e.g. The European Court of Human Rights, EFTA Court and International Court of Justice (ICJ)."),a.createElement("li",null,"Members of the Board of the Office of the Auditor General, National Audit Office or of the Boards of central banks, for example:",a.createElement("ul",null,a.createElement("li",null,"Member or Deputy Member of the Board of the Office of the Auditor General."),a.createElement("li",null,"The Board of the Bank of Norway."))),a.createElement("li",null,"Ambassador or Chargé d’affaires (Consul not considered a PEP)."),a.createElement("li",null,"High-ranking officers in the armed forces (in Norway, this means officers in ranks from major general/rear admiral)."),a.createElement("li",null,"Members of the administrative, management or supervisory bodies of state-owned enterprises.",a.createElement("ul",null,a.createElement("li",null,"The Board of Directors and CEO of state-owned enterprises."),a.createElement("ul",null,a.createElement("li",null,'"State-owned enterprises" are state enterprises that manage public duties which fall within public administration. The determining factor is whether it concerns a state authority, even though this is represented by a company. State-owned companies that do not carry out activities which include public administration fall outside of the definition.'),a.createElement("li",null,"Subsidiaries of such enterprises are not included, nor are self-owned institutions (typically foundations) that are financed partially or wholly by public funds."),a.createElement("li",null,"Local enterprises, such as county authority and municipal enterprises, are not included.")))),a.createElement("li",null,"Directors, Board members or other persons in the senior management of an international organisation (non-profit organisations are not included). I.e., a person who is nominated, appointed or employed by a government, ministry or minister in an international organisation established via entering into a formal international political agreement.",a.createElement("ul",null,a.createElement("li",null,"For example, such positions in EFTA, NATO and the UN.")))))},PEP_IN_COUNTRY_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement("p",null,"Enter the country you represent or represented here."),a.createElement("p",null,"For example: Germany is entered for a German ambassador in Norway. Norway is entered for a Norwegian ambassador in Germany."))},PEP_RELATION_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement(Or,null,'"Close relation" means:'),a.createElement("ol",null,a.createElement("li",null,"Close family members, including parents, spouses, registered partners, cohabitants and children, as well as children’s spouses/registered partners/cohabitants. Adopted children equate to biological children. Siblings, foster children, stepchildren and step-parents are not covered by the definition."),a.createElement("li",null,"Being a beneficial owner* jointly with a politically exposed person. One is a beneficial owner in a company where a PEP is also a beneficial owner."),a.createElement("li",null,"Having a close business relationship (known co-worker) with a politically exposed person:",a.createElement("ul",null,a.createElement("li",null,"Having sole beneficial ownership* of a legal entity/company which was actually established for the benefit of a politically exposed person."),a.createElement("li",null,"Known co-worker is also defined as persons that have a close business relationship with a PEP. There may be circumstances in which the degree of closeness between the customer and the politically exposed person is not evident in documentation, but other circumstances indicate that there must be a business association and that this is known. For example, where a person acts as the beneficial owner of the customer. This person has numerous other business associations with a PEP in such a way that it is likely that the beneficial owner is a close business associate, also in the current context."),a.createElement("li",null,"Close associations other than business associations are not included. For example, where the persons are members of the same political party or the customer has a regular lawyer who represents them in legal cases.")))),"*Beneficial owners are persons that alone, or together with a close relation, own or control more than 25% of the stake or votes in a company/entity (separate special regulations apply to foundations, trusts and similar entities). For further clarifications of the definition of a beneficial owner, please refer to the Norwegian Anti-Money Laundering Act and the Financial Supervisory Authority’s guidelines to the Anti-Money Laundering Act.")},PEP_RELATION_COUNTRY_TOOLTIP:function(){return a.createElement(a.Fragment,null,a.createElement("p",null,"Enter the country that the relevant person represents here."),a.createElement("p",null,"For example: 'Germany' is entered for a German ambassador in Norway. 'Norway' is entered for a Norwegian ambassador in Germany."))}};function bd(e){return bd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bd(e)}function yd(e){var n="function"==typeof Map?new Map:void 0;return yd=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,r)}function r(){return Ed(e,arguments,_d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Cd(r,e)},yd(e)}function Ed(e,n,t){return Ed=wd()?Reflect.construct.bind():function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&Cd(o,t.prototype),o},Ed.apply(null,arguments)}function wd(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Cd(e,n){return Cd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Cd(e,n)}function _d(e){return _d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_d(e)}function kd(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a,i,l=[],s=!0,c=!1;try{if(a=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;s=!1}else for(;!(s=(r=a.call(t)).done)&&(l.push(r.value),l.length!==n);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,n)||function(e,n){if(e){if("string"==typeof e)return xd(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?xd(e,n):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xd(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=t.call(a,"catchLoc"),s=t.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&t.call(o,"finallyLoc")&&this.prev=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),_(t),u}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var o=r.arg;_(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:x(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=void 0),u}},e}function Id(e,n,t,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(r,o)}function Sd(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var a=e.apply(n,t);function i(e){Id(a,r,o,i,l,"next",e)}function l(e){Id(a,r,o,i,l,"throw",e)}i(void 0)}))}}var Td=function(){var e=Sd(Od().mark((function e(n){return Od().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Nd("/api/personal/banking/customer/enrollment/".concat(n,"/kyc/declarations"),"/api/personal/banking/customer/enrollment/".concat(n,"/kyc/option-codes")));case 1:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Nd=function(){var e=Sd(Od().mark((function e(n,t){var r,o,a,i,l,s,c,f,u,d,p;return Od().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={method:"GET",credentials:"same-origin",cache:"no-store",headers:{Accept:Mi}},e.next=3,Promise.all([fetch(t,r),fetch(n,r)]);case 3:if(o=e.sent,a=kd(o,2),i=a[0],l=a[1],200!==i.status||200!==l.status){e.next=22;break}return e.next=10,i.json();case 10:return s=e.sent,c=s.fundOriginOptions,f=s.roleCodeOptions,u=s.relationCodeOptions,d=s.countryCodeOptions,e.next=14,l.json();case 14:return p=e.sent,"en"===ea.ZP.getLanguage()&&(f.forEach((function(e){e.code in pd&&(e.name=pd[e.code])})),u.forEach((function(e){e.code in Ad&&(e.name=Ad[e.code])})),d.forEach((function(e){e.isoalpha2 in hd&&(e.countryName=hd[e.isoalpha2])})),Object.entries(p.personalBanking).forEach((function(e){var n=kd(e,2),t=n[0],r=n[1];md.forEach((function(e){e.ids.includes(t)&&(r.question=e.question)}))}))),c.sort((function(e,n){return e.name.localeCompare(n.name)})),d.sort((function(e,n){return e.countryName.localeCompare(n.countryName)})),$d(d),e.abrupt("return",{countries:d,fundOriginOptions:c,roleCodeOptions:f,relationCodeOptions:u,declarations:p});case 22:if(401!==l.status){e.next=26;break}throw new Bd;case 26:throw new Error("Not a valid response status: {OptionCodeStatus=".concat(i.status," and DeclarationsResponse=").concat(l.status,"}"));case 27:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),$d=function(e){var n=e.findIndex((function(e){return"NO"===e.isoalpha2})),t=e.splice(n,1)[0];e.unshift(t)},Pd=function(){var e=Sd(Od().mark((function e(n,t){return Od().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Rd(n,"/api/personal/banking/customer/enrollment/".concat(t,"/kyc/declarations")));case 1:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),Rd=function(){var e=Sd(Od().mark((function e(n,t){var r;return Od().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t,{method:"PATCH",credentials:"same-origin",cache:"no-store",headers:{Accept:Mi,"Content-Type":ji,"X-CSRFToken":Dd()},body:JSON.stringify(n)});case 2:r=e.sent,e.t0=r.status,e.next=204===e.t0?6:400===e.t0?7:401===e.t0?8:9;break;case 6:return e.abrupt("return",{success:!0});case 7:return e.abrupt("return",{success:!1,error:r.body});case 8:throw new Bd;case 9:throw new Error("Not a valid response status: {OptionCodeStatus=".concat(optionCodesResponse.status," and DeclarationsResponse=").concat(declarationsResponse.status,"}"));case 10:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),Bd=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Cd(e,n)}(a,e);var n,t,r,o=(t=a,r=wd(),function(){var e,n=_d(t);if(r){var o=_d(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return function(e,n){if(n&&("object"===bd(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function a(){var e;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),(e=o.call(this,"401 Unauthorized")).name="UnauthorizedError",e}return n=a,Object.defineProperty(n,"prototype",{writable:!1}),n}(yd(Error)),Dd=function(){var e=document.cookie.match(/DSESSIONID=([^;]+)/);return e?kd(e,2)[1]:"dsessionid-missing"},jd=(t(4338),function(e){var n=e.className,t=e.direction,r=void 0===t?"down-and-up":t,o=e.topColor,i=void 0===o?"hvit":o,l=e.bottomColor,s=void 0===l?"frost-30":l,c=e.darkmodeTopColor,f=void 0===c?"natt":c,u=e.darkmodeBottomColor,d=void 0===u?"natt":u,A=[{"wave-divider--up-and-down":"up-and-down"===r},"wave-divider__top--".concat(i.toLowerCase()),"wave-divider__bottom--".concat(s.toLowerCase()),"wave-divider__top-darkmode--".concat(f.toLowerCase()),"wave-divider__bottom-darkmode--".concat(d.toLowerCase()),n];return a.createElement(a.Fragment,null,a.createElement("svg",{role:"presentation",viewBox:"0 0 1804 97",preserveAspectRatio:"none",className:p()("wave-divider--desktop",A)},a.createElement("path",{d:"M0 97H1806V27.1334C1114 -72.5102 632 143.082 0 27.1334V97Z"})),a.createElement("svg",{role:"presentation",viewBox:"0 0 375 90",preserveAspectRatio:"none",className:p()("wave-divider--mobile",A)},a.createElement("path",{d:"M0 90.3109H375V10.3109C190.062 -24.0747 156.873 36.1436 0 65.3109V90.3109Z"})))});function Md(e){var n=e.children;return a.createElement("div",{className:"content-container"},a.createElement("div",{className:"bli-kunde-header"},a.createElement(Zo,{lead:!0,className:"bli-kunde-header__ingress"},"Tusen takk for at du ønsker å bli kunde hos ",window.SB1.config.bank.bankName,". Før du kan bli kunde ber vi deg svare på noen spørsmål."),a.createElement(jd,{topColor:"frost-30",bottomColor:"hvit"})),a.createElement("div",{className:"ffe-content-container ffe-body-text"},n))}var Ld=t(6882),Fd=t(7365);function Ud(e){return Ud="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ud(e)}function Gd(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function zd(e){for(var n=1;n=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=t.call(a,"catchLoc"),s=t.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&t.call(o,"finallyLoc")&&this.prev=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),_(t),u}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var o=r.arg;_(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:x(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=void 0),u}},e}function Yd(e,n,t,r,o,a,i){try{var l=e[a](i),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(r,o)}function Wd(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var a=e.apply(n,t);function i(e){Yd(a,r,o,i,l,"next",e)}function l(e){Yd(a,r,o,i,l,"throw",e)}i(void 0)}))}}function qd(e,n){for(var t=0;t{"use strict";var r=t(210),o=t(5559),a=o(r("String.prototype.indexOf"));e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&a(e,".prototype.")>-1?o(t):t}},5559:(e,n,t)=>{"use strict";var r=t(8612),o=t(210),a=t(7771),i=o("%TypeError%"),l=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(s,l),f=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(f)try{f({},"a",{value:1})}catch(e){f=null}e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var n=c(r,s,arguments);return a(n,1+u(0,e.length-(arguments.length-1)),!0)};var d=function(){return c(r,l,arguments)};f?f(e.exports,"apply",{value:d}):e.exports.apply=d},4184:(e,n)=>{var t;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],n=0;n{t(5767),t(8132),t(8388),t(7470),t(4882),t(1520),t(7476),t(9622),t(9375),t(3533),t(4672),t(4157),t(5095),t(9892),t(5115),t(9176),t(8838),t(6253),t(9730),t(6059),t(8377),t(1084),t(4299),t(1246),t(726),t(1901),t(5972),t(3403),t(2516),t(9371),t(6479),t(1736),t(1889),t(5177),t(6943),t(6503),t(6786),t(932),t(7526),t(1591),t(9073),t(347),t(579),t(4669),t(7710),t(5789),t(3514),t(9978),t(8472),t(6946),t(5068),t(413),t(191),t(8306),t(4564),t(9115),t(9539),t(6620),t(2850),t(823),t(7732),t(856),t(703),t(1539),t(5292),t(6629),t(3694),t(7648),t(7795),t(4531),t(3605),t(6780),t(9937),t(511),t(1822),t(9977),t(1031),t(6331),t(1560),t(774),t(522),t(8295),t(7842),t(110),t(75),t(4336),t(1802),t(8837),t(6773),t(5745),t(3057),t(3750),t(3369),t(9564),t(2e3),t(8977),t(2310),t(4899),t(1842),t(6997),t(3946),t(8269),t(6108),t(6774),t(1466),t(9357),t(6142),t(1876),t(851),t(8416),t(8184),t(147),t(9192),t(142),t(1786),t(5368),t(6964),t(2152),t(4821),t(9103),t(1303),t(3318),t(162),t(3834),t(1572),t(2139),t(685),t(5535),t(7347),t(3049),t(6633),t(8989),t(8270),t(4510),t(3984),t(5769),t(55),t(6014),e.exports=t(5645)},911:(e,n,t)=>{t(1268),e.exports=t(5645).Array.flatMap},990:(e,n,t)=>{t(2773),e.exports=t(5645).Array.includes},5434:(e,n,t)=>{t(3276),e.exports=t(5645).Object.entries},8051:(e,n,t)=>{t(8351),e.exports=t(5645).Object.getOwnPropertyDescriptors},8250:(e,n,t)=>{t(6409),e.exports=t(5645).Object.values},4952:(e,n,t)=>{"use strict";t(851),t(9865),e.exports=t(5645).Promise.finally},6197:(e,n,t)=>{t(2770),e.exports=t(5645).String.padEnd},4160:(e,n,t)=>{t(1784),e.exports=t(5645).String.padStart},4039:(e,n,t)=>{t(4325),e.exports=t(5645).String.trimRight},6728:(e,n,t)=>{t(5869),e.exports=t(5645).String.trimLeft},3568:(e,n,t)=>{t(9665),e.exports=t(8787).f("asyncIterator")},115:(e,n,t)=>{t(4579),e.exports=t(1327).global},5663:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},2159:(e,n,t)=>{var r=t(6727);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},1327:e=>{var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},9216:(e,n,t)=>{var r=t(5663);e.exports=function(e,n,t){if(r(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,o){return e.call(n,t,r,o)}}return function(){return e.apply(n,arguments)}}},9666:(e,n,t)=>{e.exports=!t(7929)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},7467:(e,n,t)=>{var r=t(6727),o=t(3938).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},3856:(e,n,t)=>{var r=t(3938),o=t(1327),a=t(9216),i=t(1818),l=t(7069),s="prototype",c=function(e,n,t){var f,u,d,p=e&c.F,A=e&c.G,h=e&c.S,m=e&c.P,g=e&c.B,v=e&c.W,b=A?o:o[n]||(o[n]={}),y=b[s],E=A?r:h?r[n]:(r[n]||{})[s];for(f in A&&(t=n),t)(u=!p&&E&&void 0!==E[f])&&l(b,f)||(d=u?E[f]:t[f],b[f]=A&&"function"!=typeof E[f]?t[f]:g&&u?a(d,r):v&&E[f]==d?function(e){var n=function(n,t,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,t)}return new e(n,t,r)}return e.apply(this,arguments)};return n[s]=e[s],n}(d):m&&"function"==typeof d?a(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[f]=d,e&c.R&&y&&!y[f]&&i(y,f,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},7929:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},3938:e=>{var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},7069:e=>{var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},1818:(e,n,t)=>{var r=t(4743),o=t(3101);e.exports=t(9666)?function(e,n,t){return r.f(e,n,o(1,t))}:function(e,n,t){return e[n]=t,e}},3758:(e,n,t)=>{e.exports=!t(9666)&&!t(7929)((function(){return 7!=Object.defineProperty(t(7467)("div"),"a",{get:function(){return 7}}).a}))},6727:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},4743:(e,n,t)=>{var r=t(2159),o=t(3758),a=t(3206),i=Object.defineProperty;n.f=t(9666)?Object.defineProperty:function(e,n,t){if(r(e),n=a(n,!0),r(t),o)try{return i(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},3101:e=>{e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},3206:(e,n,t)=>{var r=t(6727);e.exports=function(e,n){if(!r(e))return e;var t,o;if(n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;if("function"==typeof(t=e.valueOf)&&!r(o=t.call(e)))return o;if(!n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},4579:(e,n,t)=>{var r=t(3856);r(r.G,{global:t(3938)})},4963:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},3365:(e,n,t)=>{var r=t(2032);e.exports=function(e,n){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(n);return+e}},7722:(e,n,t)=>{var r=t(6314)("unscopables"),o=Array.prototype;null==o[r]&&t(7728)(o,r,{}),e.exports=function(e){o[r][e]=!0}},6793:(e,n,t)=>{"use strict";var r=t(4496)(!0);e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},3328:e=>{e.exports=function(e,n,t,r){if(!(e instanceof n)||void 0!==r&&r in e)throw TypeError(t+": incorrect invocation!");return e}},7007:(e,n,t)=>{var r=t(5286);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},5216:(e,n,t)=>{"use strict";var r=t(508),o=t(2337),a=t(875);e.exports=[].copyWithin||function(e,n){var t=r(this),i=a(t.length),l=o(e,i),s=o(n,i),c=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===c?i:o(c,i))-s,i-l),u=1;for(s0;)s in t?t[l]=t[s]:delete t[l],l+=u,s+=u;return t}},6852:(e,n,t)=>{"use strict";var r=t(508),o=t(2337),a=t(875);e.exports=function(e){for(var n=r(this),t=a(n.length),i=arguments.length,l=o(i>1?arguments[1]:void 0,t),s=i>2?arguments[2]:void 0,c=void 0===s?t:o(s,t);c>l;)n[l++]=e;return n}},9315:(e,n,t)=>{var r=t(2110),o=t(875),a=t(2337);e.exports=function(e){return function(n,t,i){var l,s=r(n),c=o(s.length),f=a(i,c);if(e&&t!=t){for(;c>f;)if((l=s[f++])!=l)return!0}else for(;c>f;f++)if((e||f in s)&&s[f]===t)return e||f||0;return!e&&-1}}},50:(e,n,t)=>{var r=t(741),o=t(9797),a=t(508),i=t(875),l=t(6886);e.exports=function(e,n){var t=1==e,s=2==e,c=3==e,f=4==e,u=6==e,d=5==e||u,p=n||l;return function(n,l,A){for(var h,m,g=a(n),v=o(g),b=r(l,A,3),y=i(v.length),E=0,w=t?p(n,y):s?p(n,0):void 0;y>E;E++)if((d||E in v)&&(m=b(h=v[E],E,g),e))if(t)w[E]=m;else if(m)switch(e){case 3:return!0;case 5:return h;case 6:return E;case 2:w.push(h)}else if(f)return!1;return u?-1:c||f?f:w}}},7628:(e,n,t)=>{var r=t(4963),o=t(508),a=t(9797),i=t(875);e.exports=function(e,n,t,l,s){r(n);var c=o(e),f=a(c),u=i(c.length),d=s?u-1:0,p=s?-1:1;if(t<2)for(;;){if(d in f){l=f[d],d+=p;break}if(d+=p,s?d<0:u<=d)throw TypeError("Reduce of empty array with no initial value")}for(;s?d>=0:u>d;d+=p)d in f&&(l=n(l,f[d],d,c));return l}},2736:(e,n,t)=>{var r=t(5286),o=t(4302),a=t(6314)("species");e.exports=function(e){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[a])&&(n=void 0)),void 0===n?Array:n}},6886:(e,n,t)=>{var r=t(2736);e.exports=function(e,n){return new(r(e))(n)}},4398:(e,n,t)=>{"use strict";var r=t(4963),o=t(5286),a=t(7242),i=[].slice,l={},s=function(e,n,t){if(!(n in l)){for(var r=[],o=0;o{var r=t(2032),o=t(6314)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=function(e){var n,t,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=Object(e),o))?t:a?r(n):"Object"==(i=r(n))&&"function"==typeof n.callee?"Arguments":i}},2032:e=>{var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},9824:(e,n,t)=>{"use strict";var r=t(9275).f,o=t(2503),a=t(4408),i=t(741),l=t(3328),s=t(3531),c=t(2923),f=t(5436),u=t(2974),d=t(7057),p=t(4728).fastKey,A=t(1616),h=d?"_s":"size",m=function(e,n){var t,r=p(n);if("F"!==r)return e._i[r];for(t=e._f;t;t=t.n)if(t.k==n)return t};e.exports={getConstructor:function(e,n,t,c){var f=e((function(e,r){l(e,f,n,"_i"),e._t=n,e._i=o(null),e._f=void 0,e._l=void 0,e[h]=0,null!=r&&s(r,t,e[c],e)}));return a(f.prototype,{clear:function(){for(var e=A(this,n),t=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete t[r.i];e._f=e._l=void 0,e[h]=0},delete:function(e){var t=A(this,n),r=m(t,e);if(r){var o=r.n,a=r.p;delete t._i[r.i],r.r=!0,a&&(a.n=o),o&&(o.p=a),t._f==r&&(t._f=o),t._l==r&&(t._l=a),t[h]--}return!!r},forEach:function(e){A(this,n);for(var t,r=i(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.n:this._f;)for(r(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!m(A(this,n),e)}}),d&&r(f.prototype,"size",{get:function(){return A(this,n)[h]}}),f},def:function(e,n,t){var r,o,a=m(e,n);return a?a.v=t:(e._l=a={i:o=p(n,!0),k:n,v:t,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[h]++,"F"!==o&&(e._i[o]=a)),e},getEntry:m,setStrong:function(e,n,t){c(e,n,(function(e,t){this._t=A(e,n),this._k=t,this._l=void 0}),(function(){for(var e=this,n=e._k,t=e._l;t&&t.r;)t=t.p;return e._t&&(e._l=t=t?t.n:e._t._f)?f(0,"keys"==n?t.k:"values"==n?t.v:[t.k,t.v]):(e._t=void 0,f(1))}),t?"entries":"values",!t,!0),u(n)}}},3657:(e,n,t)=>{"use strict";var r=t(4408),o=t(4728).getWeak,a=t(7007),i=t(5286),l=t(3328),s=t(3531),c=t(50),f=t(9181),u=t(1616),d=c(5),p=c(6),A=0,h=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},g=function(e,n){return d(e.a,(function(e){return e[0]===n}))};m.prototype={get:function(e){var n=g(this,e);if(n)return n[1]},has:function(e){return!!g(this,e)},set:function(e,n){var t=g(this,e);t?t[1]=n:this.a.push([e,n])},delete:function(e){var n=p(this.a,(function(n){return n[0]===e}));return~n&&this.a.splice(n,1),!!~n}},e.exports={getConstructor:function(e,n,t,a){var c=e((function(e,r){l(e,c,n,"_i"),e._t=n,e._i=A++,e._l=void 0,null!=r&&s(r,t,e[a],e)}));return r(c.prototype,{delete:function(e){if(!i(e))return!1;var t=o(e);return!0===t?h(u(this,n)).delete(e):t&&f(t,this._i)&&delete t[this._i]},has:function(e){if(!i(e))return!1;var t=o(e);return!0===t?h(u(this,n)).has(e):t&&f(t,this._i)}}),c},def:function(e,n,t){var r=o(a(n),!0);return!0===r?h(e).set(n,t):r[e._i]=t,e},ufstore:h}},5795:(e,n,t)=>{"use strict";var r=t(3816),o=t(2985),a=t(7234),i=t(4408),l=t(4728),s=t(3531),c=t(3328),f=t(5286),u=t(4253),d=t(7462),p=t(2943),A=t(266);e.exports=function(e,n,t,h,m,g){var v=r[e],b=v,y=m?"set":"add",E=b&&b.prototype,w={},C=function(e){var n=E[e];a(E,e,"delete"==e||"has"==e?function(e){return!(g&&!f(e))&&n.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!f(e)?void 0:n.call(this,0===e?0:e)}:"add"==e?function(e){return n.call(this,0===e?0:e),this}:function(e,t){return n.call(this,0===e?0:e,t),this})};if("function"==typeof b&&(g||E.forEach&&!u((function(){(new b).entries().next()})))){var _=new b,k=_[y](g?{}:-0,1)!=_,x=u((function(){_.has(1)})),O=d((function(e){new b(e)})),I=!g&&u((function(){for(var e=new b,n=5;n--;)e[y](n,n);return!e.has(-0)}));O||((b=n((function(n,t){c(n,b,e);var r=A(new v,n,b);return null!=t&&s(t,m,r[y],r),r}))).prototype=E,E.constructor=b),(x||I)&&(C("delete"),C("has"),m&&C("get")),(I||k)&&C(y),g&&E.clear&&delete E.clear}else b=h.getConstructor(n,e,m,y),i(b.prototype,t),l.NEED=!0;return p(b,e),w[e]=b,o(o.G+o.W+o.F*(b!=v),w),g||h.setStrong(b,e,m),b}},5645:e=>{var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},2811:(e,n,t)=>{"use strict";var r=t(9275),o=t(681);e.exports=function(e,n,t){n in e?r.f(e,n,o(0,t)):e[n]=t}},741:(e,n,t)=>{var r=t(4963);e.exports=function(e,n,t){if(r(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,o){return e.call(n,t,r,o)}}return function(){return e.apply(n,arguments)}}},3537:(e,n,t)=>{"use strict";var r=t(4253),o=Date.prototype.getTime,a=Date.prototype.toISOString,i=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-50000000000001))}))||!r((function(){a.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,n=e.getUTCFullYear(),t=e.getUTCMilliseconds(),r=n<0?"-":n>9999?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+(t>99?t:"0"+i(t))+"Z"}:a},870:(e,n,t)=>{"use strict";var r=t(7007),o=t(1689),a="number";e.exports=function(e){if("string"!==e&&e!==a&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),e!=a)}},1355:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},7057:(e,n,t)=>{e.exports=!t(4253)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},2457:(e,n,t)=>{var r=t(5286),o=t(3816).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},4430:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},5541:(e,n,t)=>{var r=t(7184),o=t(4548),a=t(4682);e.exports=function(e){var n=r(e),t=o.f;if(t)for(var i,l=t(e),s=a.f,c=0;l.length>c;)s.call(e,i=l[c++])&&n.push(i);return n}},2985:(e,n,t)=>{var r=t(3816),o=t(5645),a=t(7728),i=t(7234),l=t(741),s="prototype",c=function(e,n,t){var f,u,d,p,A=e&c.F,h=e&c.G,m=e&c.S,g=e&c.P,v=e&c.B,b=h?r:m?r[n]||(r[n]={}):(r[n]||{})[s],y=h?o:o[n]||(o[n]={}),E=y[s]||(y[s]={});for(f in h&&(t=n),t)d=((u=!A&&b&&void 0!==b[f])?b:t)[f],p=v&&u?l(d,r):g&&"function"==typeof d?l(Function.call,d):d,b&&i(b,f,d,e&c.U),y[f]!=d&&a(y,f,p),g&&E[f]!=d&&(E[f]=d)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},8852:(e,n,t)=>{var r=t(6314)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,!"/./"[e](n)}catch(e){}}return!0}},4253:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},8082:(e,n,t)=>{"use strict";t(8269);var r=t(7234),o=t(7728),a=t(4253),i=t(1355),l=t(6314),s=t(1165),c=l("species"),f=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})),u=function(){var e=/(?:)/,n=e.exec;e.exec=function(){return n.apply(this,arguments)};var t="ab".split(e);return 2===t.length&&"a"===t[0]&&"b"===t[1]}();e.exports=function(e,n,t){var d=l(e),p=!a((function(){var n={};return n[d]=function(){return 7},7!=""[e](n)})),A=p?!a((function(){var n=!1,t=/a/;return t.exec=function(){return n=!0,null},"split"===e&&(t.constructor={},t.constructor[c]=function(){return t}),t[d](""),!n})):void 0;if(!p||!A||"replace"===e&&!f||"split"===e&&!u){var h=/./[d],m=t(i,d,""[e],(function(e,n,t,r,o){return n.exec===s?p&&!o?{done:!0,value:h.call(n,t,r)}:{done:!0,value:e.call(t,n,r)}:{done:!1}})),g=m[0],v=m[1];r(String.prototype,e,g),o(RegExp.prototype,d,2==n?function(e,n){return v.call(e,this,n)}:function(e){return v.call(e,this)})}}},3218:(e,n,t)=>{"use strict";var r=t(7007);e.exports=function(){var e=r(this),n="";return e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),e.sticky&&(n+="y"),n}},3325:(e,n,t)=>{"use strict";var r=t(4302),o=t(5286),a=t(875),i=t(741),l=t(6314)("isConcatSpreadable");e.exports=function e(n,t,s,c,f,u,d,p){for(var A,h,m=f,g=0,v=!!d&&i(d,p,3);g0)m=e(n,t,A,a(A.length),m,u-1)-1;else{if(m>=9007199254740991)throw TypeError();n[m]=A}m++}g++}return m}},3531:(e,n,t)=>{var r=t(741),o=t(8851),a=t(6555),i=t(7007),l=t(875),s=t(9002),c={},f={},u=e.exports=function(e,n,t,u,d){var p,A,h,m,g=d?function(){return e}:s(e),v=r(t,u,n?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=l(e.length);p>b;b++)if((m=n?v(i(A=e[b])[0],A[1]):v(e[b]))===c||m===f)return m}else for(h=g.call(e);!(A=h.next()).done;)if((m=o(h,v,A.value,n))===c||m===f)return m};u.BREAK=c,u.RETURN=f},18:(e,n,t)=>{e.exports=t(3825)("native-function-to-string",Function.toString)},3816:e=>{var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},9181:e=>{var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},7728:(e,n,t)=>{var r=t(9275),o=t(681);e.exports=t(7057)?function(e,n,t){return r.f(e,n,o(1,t))}:function(e,n,t){return e[n]=t,e}},639:(e,n,t)=>{var r=t(3816).document;e.exports=r&&r.documentElement},1734:(e,n,t)=>{e.exports=!t(7057)&&!t(4253)((function(){return 7!=Object.defineProperty(t(2457)("div"),"a",{get:function(){return 7}}).a}))},266:(e,n,t)=>{var r=t(5286),o=t(7375).set;e.exports=function(e,n,t){var a,i=n.constructor;return i!==t&&"function"==typeof i&&(a=i.prototype)!==t.prototype&&r(a)&&o&&o(e,a),e}},7242:e=>{e.exports=function(e,n,t){var r=void 0===t;switch(n.length){case 0:return r?e():e.call(t);case 1:return r?e(n[0]):e.call(t,n[0]);case 2:return r?e(n[0],n[1]):e.call(t,n[0],n[1]);case 3:return r?e(n[0],n[1],n[2]):e.call(t,n[0],n[1],n[2]);case 4:return r?e(n[0],n[1],n[2],n[3]):e.call(t,n[0],n[1],n[2],n[3])}return e.apply(t,n)}},9797:(e,n,t)=>{var r=t(2032);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},6555:(e,n,t)=>{var r=t(2803),o=t(6314)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},4302:(e,n,t)=>{var r=t(2032);e.exports=Array.isArray||function(e){return"Array"==r(e)}},8367:(e,n,t)=>{var r=t(5286),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},5286:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},5364:(e,n,t)=>{var r=t(5286),o=t(2032),a=t(6314)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[a])?!!n:"RegExp"==o(e))}},8851:(e,n,t)=>{var r=t(7007);e.exports=function(e,n,t,o){try{return o?n(r(t)[0],t[1]):n(t)}catch(n){var a=e.return;throw void 0!==a&&r(a.call(e)),n}}},9988:(e,n,t)=>{"use strict";var r=t(2503),o=t(681),a=t(2943),i={};t(7728)(i,t(6314)("iterator"),(function(){return this})),e.exports=function(e,n,t){e.prototype=r(i,{next:o(1,t)}),a(e,n+" Iterator")}},2923:(e,n,t)=>{"use strict";var r=t(4461),o=t(2985),a=t(7234),i=t(7728),l=t(2803),s=t(9988),c=t(2943),f=t(468),u=t(6314)("iterator"),d=!([].keys&&"next"in[].keys()),p="keys",A="values",h=function(){return this};e.exports=function(e,n,t,m,g,v,b){s(t,n,m);var y,E,w,C=function(e){if(!d&&e in O)return O[e];switch(e){case p:case A:return function(){return new t(this,e)}}return function(){return new t(this,e)}},_=n+" Iterator",k=g==A,x=!1,O=e.prototype,I=O[u]||O["@@iterator"]||g&&O[g],S=I||C(g),T=g?k?C("entries"):S:void 0,N="Array"==n&&O.entries||I;if(N&&(w=f(N.call(new e)))!==Object.prototype&&w.next&&(c(w,_,!0),r||"function"==typeof w[u]||i(w,u,h)),k&&I&&I.name!==A&&(x=!0,S=function(){return I.call(this)}),r&&!b||!d&&!x&&O[u]||i(O,u,S),l[n]=S,l[_]=h,g)if(y={values:k?S:C(A),keys:v?S:C(p),entries:T},b)for(E in y)E in O||a(O,E,y[E]);else o(o.P+o.F*(d||x),n,y);return y}},7462:(e,n,t)=>{var r=t(6314)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){if(!n&&!o)return!1;var t=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:t=!0}},a[r]=function(){return i},e(a)}catch(e){}return t}},5436:e=>{e.exports=function(e,n){return{value:n,done:!!e}}},2803:e=>{e.exports={}},4461:e=>{e.exports=!1},3086:e=>{var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},4934:(e,n,t)=>{var r=t(1801),o=Math.pow,a=o(2,-52),i=o(2,-23),l=o(2,127)*(2-i),s=o(2,-126);e.exports=Math.fround||function(e){var n,t,o=Math.abs(e),c=r(e);return ol||t!=t?c*(1/0):c*t}},6206:e=>{e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},1801:e=>{e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},4728:(e,n,t)=>{var r=t(3953)("meta"),o=t(5286),a=t(9181),i=t(9275).f,l=0,s=Object.isExtensible||function(){return!0},c=!t(4253)((function(){return s(Object.preventExtensions({}))})),f=function(e){i(e,r,{value:{i:"O"+ ++l,w:{}}})},u=e.exports={KEY:r,NEED:!1,fastKey:function(e,n){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!s(e))return"F";if(!n)return"E";f(e)}return e[r].i},getWeak:function(e,n){if(!a(e,r)){if(!s(e))return!0;if(!n)return!1;f(e)}return e[r].w},onFreeze:function(e){return c&&u.NEED&&s(e)&&!a(e,r)&&f(e),e}}},4351:(e,n,t)=>{var r=t(3816),o=t(4193).set,a=r.MutationObserver||r.WebKitMutationObserver,i=r.process,l=r.Promise,s="process"==t(2032)(i);e.exports=function(){var e,n,t,c=function(){var r,o;for(s&&(r=i.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?t():n=void 0,r}}n=void 0,r&&r.enter()};if(s)t=function(){i.nextTick(c)};else if(!a||r.navigator&&r.navigator.standalone)if(l&&l.resolve){var f=l.resolve(void 0);t=function(){f.then(c)}}else t=function(){o.call(r,c)};else{var u=!0,d=document.createTextNode("");new a(c).observe(d,{characterData:!0}),t=function(){d.data=u=!u}}return function(r){var o={fn:r,next:void 0};n&&(n.next=o),e||(e=o,t()),n=o}}},3499:(e,n,t)=>{"use strict";var r=t(4963);function o(e){var n,t;this.promise=new e((function(e,r){if(void 0!==n||void 0!==t)throw TypeError("Bad Promise constructor");n=e,t=r})),this.resolve=r(n),this.reject=r(t)}e.exports.f=function(e){return new o(e)}},5345:(e,n,t)=>{"use strict";var r=t(7057),o=t(7184),a=t(4548),i=t(4682),l=t(508),s=t(9797),c=Object.assign;e.exports=!c||t(4253)((function(){var e={},n={},t=Symbol(),r="abcdefghijklmnopqrst";return e[t]=7,r.split("").forEach((function(e){n[e]=e})),7!=c({},e)[t]||Object.keys(c({},n)).join("")!=r}))?function(e,n){for(var t=l(e),c=arguments.length,f=1,u=a.f,d=i.f;c>f;)for(var p,A=s(arguments[f++]),h=u?o(A).concat(u(A)):o(A),m=h.length,g=0;m>g;)p=h[g++],r&&!d.call(A,p)||(t[p]=A[p]);return t}:c},2503:(e,n,t)=>{var r=t(7007),o=t(5588),a=t(4430),i=t(9335)("IE_PROTO"),l=function(){},s="prototype",c=function(){var e,n=t(2457)("iframe"),r=a.length;for(n.style.display="none",t(639).appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write("