1/*! For license information please see 2445-36c31494afaf158712c0.js.LICENSE.txt */ 2"use strict";(self.webpackChunkltfi=self.webpackChunkltfi||[]).push([[2445],{1542:function(e,t,i){i.d(t,{d:function(){return h},e:function(){return m}});let a=!1;if("undefined"!=typeof window){const e={get passive(){a=!0}};window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}const o="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1);let d,s,l=[],n=!1,r=-1;const c=e=>l.some((t=>!(!t.options.allowTouchMove||!t.options.allowTouchMove(e)))),u=e=>{const t=e||window.event;return!!c(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},h=(e,t)=>{if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(l.some((t=>t.targetElement===e)))return;const i={targetElement:e,options:t||{}};l=[...l,i],o?(e.ontouchstart=e=>{1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},e.ontouchmove=t=>{1===t.targetTouches.length&&((e,t)=>{const i=e.targetTouches[0].clientY-r;!c(e.target)&&(t&&0===t.scrollTop&&i>0||(e=>!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight)(t)&&i<0?u(e):e.stopPropagation())})(t,e)},n||(document.addEventListener("touchmove",u,a?{passive:!1}:void 0),n=!0)):(e=>{if(void 0===s){const t=!!e&&!0===e.reserveScrollBarGap,i=window.innerWidth-document.documentElement.clientWidth;t&&i>0&&(s=document.body.style.paddingRight,document.body.style.paddingRight=`${i}px`)}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")})(t)},m=e=>{e?(l=l.filter((t=>t.targetElement!==e)),o?(e.ontouchstart=null,e.ontouchmove=null,n&&0===l.length&&(document.removeEventListener("touchmove",u,a?{passive:!1}:void 0),n=!1)):l.length||(void 0!==s&&(document.body.style.paddingRight=s,s=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}},2445:function(e,t,i){i.r(t),i.d(t,{duet_modal:function(){return m}});var a=i(5763),o=i(1542),d=i(5186),s=i(8903),l=i(569),n=i(2534),r=i(8875),c=i(210),u=i(5326),h=i(8520);i(8479),i(6080);const m=class{constructor(e){var t,i;(0,a.r)(this,e),this.duetOpen=(0,a.c)(this,"duetOpen",7),this.duetClose=(0,a.c)(this,"duetClose",7),this.duetCloseComplete=(0,a.c)(this,"duetCloseComplete",7),this.duetBeforeClose=(0,a.c)(this,"duetBeforeClose",7),this.hasStickyHeader=!1,this.isAndroidDevice=(null===(i=null===(t=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===t?void 0:t.toLowerCase())||void 0===i?void 0:i.indexOf("android"))>-1||null,this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(null===navigator||void 0===navigator?void 0:navigator.userAgent),this.accessibleLoaderAnnouncementDefaults=s.d,this.accessibleCloseLabelDefaults={fi:"Sulje ikkuna",sv:"Stäng fönstret",en:"Close the dialog"},this.handleAndroidResizeEvents=()=>{"INPUT"==document.activeElement.tagName&&window.setTimeout((function(){var e;try{null===(e=null===document||void 0===document?void 0:document.activeElement)||void 0===e||e.scrollIntoViewIfNeeded(!0)}catch(t){}}),100)},this.open=!1,this.language=(0,r.a)(),this.accessibleCloseLabel=(0,r.g)(this.accessibleCloseLabelDefaults,this.language),this.accessibleLoaderAnnouncement=(0,r.g)(this.accessibleLoaderAnnouncementDefaults,this.language),this.size="medium",this.accessibleDetails=void 0,this.accessibleDescription=void 0,this.variation="default",this.gutterSize="medium",this.theme="",this.heading="",this.headingLevel="h3",this.icon="",this.color="",this.active=!1,this.closeOnBlur=!1}openChanged(){this.open?(this.modalEl&&this.modalEl.scrollTop&&(this.modalEl.scrollTop=0),this.focusedElBeforeOpen=document.activeElement,(0,o.d)("slide-up"===this.variation?this.modalContentEl:this.modalEl,{reserveScrollBarGap:!0}),this.teleport.makeSiblingsInert(),this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((e=>e.remove())),setTimeout((()=>{"loader"===this.variation?this.addMessage(this.accessibleLoaderAnnouncement,!1):this.isAndroidDevice?this.modalEl.focus():this.buttonEl.setFocus()}),600),setTimeout((()=>{this.modalEl.classList.add("duet-disable-transitions")}),800),this.isAndroidDevice&&window.addEventListener("resize",this.handleAndroidResizeEvents),this.duetOpen.emit()):(this.modalEl.classList.remove("duet-disable-transitions"),this.modalEl.addEventListener("transitionend",(()=>this.duetCloseComplete.emit()),{once:!0}),(0,o.e)("slide-up"===this.variation?this.modalContentEl:this.modalEl),this.duetClose.emit(),this.teleport.removeInertFromSiblings(),""!==this.focusElementOnClose&&setTimeout((async()=>{let e=this.focusedElBeforeOpen;if(e="string"==typeof this.focusElementOnClose?document.getElementById(this.focusElementOnClose)||e:this.focusElementOnClose||e,"duet-popup-menu-item"===e.tagName.toLowerCase()){const t=e.closest("duet-popup-menu");!await t.isOpen()&&t.controller&&(e="string"==typeof t.controller?document.getElementById(t.controller):t.controller)}(0,l.f)(e)}),600),this.isAndroidDevice&&window.removeEventListener("resize",this.handleAndroidResizeEvents))}activeChanged(){this.open=this.active}componentWillLoad(){this.hasStickyHeader=(0,c.h)(this.element,"sticky-header"),(0,d.i)(this)}componentDidLoad(){this.active&&(this.open=!0,this.modalEl.classList.add("duet-disable-transitions"))}connectedCallback(){this.teleport||(this.teleport=new u.T(this.element)),this.teleport.isActive?(this.teleport.observeDeletion(),(0,r.c)(this,[{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"},{prop:"accessibleLoaderAnnouncement",defaults:"accessibleLoaderAnnouncementDefaults"}])):this.teleport.activate()}disconnectedCallback(){(0,r.d)(this),this.modalEl&&(0,o.e)(this.modalEl)}handleKeyUp(e){this.open&&(0,n.a)(e)&&this.closeModal(e)}async show(){this.open=!0}async hide(){this.open=!1}async focusCloseButton(){this.buttonEl.setFocus()}async scrollToTop(e=!0){var t;const i=e?"smooth":"auto";if("slide-up"===this.variation){const e=(null===(t=this.modalEl.querySelector(".duet-modal-sticky-header"))||void 0===t?void 0:t.clientHeight)||0,a=this.modalEl.querySelector(".duet-modal-body").computedStyleMap().get("padding-top");this.slotContainerEl.style.scrollMarginTop=`${e+a.value}px`,this.slotContainerEl.scrollIntoView({behavior:i})}else this.modalEl.querySelector(".duet-modal-body").scrollIntoView({behavior:i})}async addMessage(e,t=!0){const i=document.createElement(t?"duet-paragraph":"duet-visually-hidden");i.textContent=e,i.classList.add("duet-loader-message"),t&&setTimeout((()=>{this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((e=>e.classList.remove("show"))),i.classList.add("show")}),10),this.slotContainerEl.appendChild(i)}closeModal(e){this.duetBeforeClose.emit({originalEvent:e,component:"duet-modal"}),e.defaultPrevented||setTimeout((()=>{this.hide()}),1)}render(){var e,t;const i=(0,h.p)("primary",this.theme),o=(0,h.p)("secondary",this.theme),d=(0,a.h)("div",{key:"8152ba7d3c2f727e6ff706f2d9d0ffcc7163f1f1",class:"duet-modal-close"},(0,a.h)("duet-button",{key:"bca02a5a5b1baf6c3f875428bc937a7ca723e111",ref:e=>this.buttonEl=e,variation:"plain",accessibleLabel:this.accessibleCloseLabel,color:o,iconSize:"large",icon:"navigation-close",iconOnly:!0,margin:"none",theme:this.theme,onClick:e=>this.closeModal(e),fixed:!0}));return(0,a.h)("div",{key:"0afd4adbeb161abdf0e802f8d0f9aaf397ff45e9",ref:e=>this.modalEl=e,"aria-label":null!==(e=this.accessibleLabel)&&void 0!==e?e:this.heading,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,"aria-describedby":this.accessibleDescribedBy,role:"loader"===this.variation?"alert":"dialog","aria-modal":!this.isSafariBrowser,tabindex:"-1",class:{"duet-modal-container":!0,"duet-theme-turva":"turva"===this.theme,"duet-modal-active":this.open,"duet-modal-slide-up":"slide-up"===this.variation,"duet-modal-has-sticky-header":this.hasStickyHeader}},(0,a.h)("duet-overlay",{key:"89056e2989c21985e3817e72f2baf7c6d4d81ab3","z-index":"-1",visible:this.open,variation:"loader"===this.variation?"white":"default"}),(0,a.h)("div",{key:"a2a015019a798028a1a0cea8fd952cc1428eb136",ref:e=>this.modalInnerEl=e,class:{"duet-modal-inner":!0,[this.size]:!0,"duet-modal-slide-up":"slide-up"===this.variation},onClick:e=>{if(this.closeOnBlur){(e.target||e.srcElement)===this.modalInnerEl&&this.closeModal(e)}}},(0,a.h)("div",{key:"15713c0a5ee05cf5fc82a3135f08bc3cea40da88",ref:e=>this.modalContentEl=e,"aria-live":"all"===this.accessibleAnnounceChanges?"polite":null,"aria-atomic":"all"===this.accessibleAnnounceChanges?"true":null,class:{"duet-modal":!0,"duet-modal-has-sticky-header":this.hasStickyHeader,[this.size]:!0,[this.variation]:!0}},"none"!==this.gutterSize&&!this.hasStickyHeader&&(0,a.h)("duet-spacer",{key:"abdc98a5d8b3dcb63eacf67363bff0590343a577"}),this.hasStickyHeader?(0,a.h)("div",{class:"duet-modal-sticky-header"},d,(0,a.h)("slot",{name:"sticky-header"})):d,(0,a.h)("div",{key:"ad50d422bf25439e3ba99e69079895ef64e2492d",class:{"duet-modal-body":!0,"duet-modal-gutter-none":"none"===this.gutterSize,"duet-modal-gutter-small":"small"===this.gutterSize,"duet-modal-gutter-medium":"medium"===this.gutterSize,"duet-modal-gutter-large":"large"===this.gutterSize},"aria-live":"heading"===this.accessibleAnnounceChanges?"polite":null,"aria-atomic":"heading"===this.accessibleAnnounceChanges?"true":null},(0,a.h)("div",{key:"26292796644643c6e284a44ffe4e715e9c31e082",class:"duet-modal-header"},(0,a.h)("span",{key:"684cc3976d13705d8316641c7967f3d3b913182d",class:"duet-modal-inner-slot-top"},(0,a.h)("slot",{key:"744445f8cf06310430db406ca80fd33268701808",name:"top"})),this.icon&&(0,a.h)("duet-icon",{key:"06964e8ee4ce265badcd709a94ad153307876f41",name:this.icon,size:"xx-large",color:this.color||i}),this.heading&&(0,a.h)("duet-heading",{key:"a5865fae767dc9c4d58f4f8569277af880ed5ce2","visual-level":null!==(t=this.headingVisualLevel)&&void 0!==t?t:this.headingLevel,level:this.headingLevel,theme:this.theme},this.heading)),"loader"===this.variation&&(0,a.h)("div",{key:"579b4d36a487ae61e60ba3f73504b8c8817b59eb",class:"duet-modal-spinner"},(0,a.h)("duet-spinner",{key:"9350f333da39299c937fda0ef711f1f30a8c365d",size:"large",color:(0,h.p)("primary",this.theme)})),(0,a.h)("div",{key:"f5d5789af558d4332a0683a7db5892f8442a37b4","aria-live":"loader"===this.variation?"assertive":"body"===this.accessibleAnnounceChanges?"polite":null,"aria-atomic":"body"===this.accessibleAnnounceChanges?"true":null,class:"duet-modal-inner-slot-default",ref:e=>this.slotContainerEl=e},(0,a.h)("slot",{key:"509127555382cf321b5eeacfcd3b1a7f33bb99ca"}))))))}
2get element(){return(0,a.g)(this)}static get watchers(){return{open:["openChanged"],active:["activeChanged"]}}};m.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;visibility:hidden;max-height:100vh;overflow-y:auto;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:"";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:16px;opacity:0;transform:scale(0.96);transition:300ms ease;transition-delay:0ms}.duet-modal-active .duet-modal{opacity:1;transform:none;transition:300ms ease;transition-delay:200ms}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transform:scaleY(0);transform-origin:top;transition:all 300ms ease}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;overflow:auto;border-radius:16px 16px 0 0;opacity:1;transition:top 600ms ease}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:300;display:block;padding-bottom:12px;text-align:left;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);border-radius:16px 16px 0 0}.duet-modal-close{position:absolute;top:8px;right:8px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;text-overflow:ellipsis;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);letter-spacing:-0.01rem;white-space:nowrap;text-decoration:none}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}.duet-theme-turva .duet-modal{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 42, 59)}.duet-theme-turva .duet-modal-sticky-header{background:rgb(253, 247, 242);border-bottom:1px solid rgb(212, 221, 226)}'},5326:function(e,t,i){i.d(t,{T:function(){return a}});class a{get isActive(){return this._isTeleportSkipped()||this.element.parentElement===this.target}constructor(e,t){this.skipInert=["#onetrust-consent-sdk","duet-tooltip-popup",".duet-skip-teleport-inert"],this.element=e,this.target=t||document.body,this.teleportId=`${Math.random()}-${Date.now()}`.substring(2)}activate(){this._isTeleportSkipped()||this.isActive||this._activate()}deactivate(){!this._isTeleportSkipped()&&this.isActive&&this._deactivate()}observeDeletion(){this._isTeleportSkipped()||this._observeDeletion()}makeSiblingsInert(){!this._isTeleportSkipped()&&this.isActive&&this._makeSiblingsInert()}removeInertFromSiblings(e=0){!this._isTeleportSkipped()&&this.isActive&&(e?setTimeout(this._removeInertFromSiblings.bind(this),e):this._removeInertFromSiblings())}_isTeleportSkipped(){const e=this.element.getAttribute("skip-teleport");return null!==e&&"false"!==e}_observeDeletion(){this.deletionObserver&&this.deletionObserver.disconnect(),this.deletionObserver=new MutationObserver(this._deleti
2onObserverCallback.bind(this)),this.deletionObserver.observe(document.documentElement,{childList:!0,subtree:!0})}_activate(){this.element.dataset.reactPortal||(this.stub&&this.stub.remove(),this.stub=document.createElement("template"),this.element.insertAdjacentElement("afterend",this.stub),this.target.appendChild(this.element))}_deactivate(){this.element.dataset.reactPortal||(this.stub.insertAdjacentElement("beforebegin",this.element),this.stub.remove()),this._removeInertFromSiblings(),this.deletionObserver.disconnect()}_remove(){var e,t;this.element.dataset.reactPortal||(null===(e=this.element)||void 0===e||e.remove(),null===(t=this.stub)||void 0===t||t.remove()),this._removeInertFromSiblings(),this.deletionObserver.disconnect()}_makeSiblingsInert(){Array.from(this.target.children).forEach((e=>{e===this.element||this.skipInert.some((t=>e.matches(t)))||(e.dataset.duetTeleportId=(e.dataset.duetTeleportId||"")+this.teleportId,e.inert=!0)}))}_removeInertFromSiblings(){Array.from(this.target.children).forEach((e=>{var t;(null===(t=e.dataset.duetTeleportId)||void 0===t?void 0:t.includes(this.teleportId))&&(e.dataset.duetTeleportId=e.dataset.duetTeleportId.replace(this.teleportId,""),""===e.dataset.duetTeleportId&&(delete e.dataset.duetTeleportId,e.inert=!1))}))}_deletionObserverCallback(e){e.forEach((e=>{(Array.from(e.removedNodes).includes(this.element)||Array.from(e.removedNodes).some((e=>e.contains(this.stub))))&&this._remove()}))}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.