PageSourceSearch

https://www.kielitoimistonsanakirja.fi/main-es5.a3a1719888fb53b9290a.js

js kielitoimistonsanakirja.fi collected 2026-10-02 07:58:54 UTC 207,018 bytes, 1 lines download raw bytes

1!function(){function t(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],o=!0,i=!1,r=void 0;try{for(var c,a=t[Symbol.iterator]();!(o=(c=a.next()).done)&&(n.push(c.value),!e||n.length!==e);o=!0);}catch(s){i=!0,r=s}finally{try{o||null==a.return||a.return()}finally{if(i)throw r}}return n}(t,e)||s(t,e)||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 e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function o(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=r(t);if(e){var c=r(this).constructor;n=Reflect.construct(o,arguments,c)}else n=o.apply(this,arguments);return i(this,n)}}function i(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||s(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"+OPo":function(t,e,n){var o={"./app-en.json":["nATg",1],"./app-fi.json":["pn64",2],"./app-sv.json":["fOhL",3]};function i(t){if(!n.o(o,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=o[t],i=e[0];return n.e(e[1]).then((function(){return n.t(i,3)}))}i.keys=function(){return Object.keys(o)},i.id="+OPo",t.exports=i},"+z+H":function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var o=n("EM62"),i=n("NzZG"),r=n("2kYt");function c(t,e){if(1&t){var n=o.Sb();o.Rb(0,"div",4),o.Yb("click",(function(){return o.tc(n),o.bc().onToggle()})),o.Qb()}}var s=function(t){return{"margin-left.px":t}};function l(t,e){if(1&t&&(o.Rb(0,"div",5),o.gc(1,1),o.Qb()),2&t){var n=o.bc();o.ic("ngStyle",o.mc(2,s,n.offset)),o.Bb("id",n.contentId)}}var d=[[["popup-title"]],[["popup-content"]]],f=["popup-title","popup-content"],p=function(){var t=function(){function t(e,n,i){u(this,t),this.document=e,this.elementRef=n,this.changeDetectorRef=i,this.toggle=new o.o,this.position=["top","center"],this.offset=0,this.margin=5}return g(t,[{key:"ngOnInit",value:function(){this.popupPosition&&this.validatePosition()}},{key:"ngAfterContentInit",value:function(){var t=this.document.getElementsByTagName("Popup");this.contentId="popupContent_"+Array.prototype.indexOf.call(t,this.elementRef.nativeElement)}},{key:"close",value:function(){this.show=!1,this.changeDetectorRef.detectChanges(),this.toggle.emit(this.show)}},{key:"open",value:function(){var t=this;this.show=!0,setTimeout((function(){return t.setOffset()})),this.toggle.emit(this.show)}},{key:"onToggle",value:function(t){t&&(this.clickTimeStamp=t.timeStamp),this.show?this.close():this.open()}},{key:"setOffset",value:function(){var t=this.document.getElementById(this.contentId);if(t){var e=t.getBoundingClientRect(),n=0;e.width<window.innerWidth+this.margin&&(n=this.margin);var o=this.offset-e.left+n,i=window.innerWidth-e.right+this.offset-n;this.offset=o>0?o+n:i<0?i-n:0,this.changeDetectorRef.detectChanges()}}},{key:"validatePosition",value:function(){var t=this.popupPosition.split(" "),e=["top","right","bottom","left"].concat(a(t)).filter((function(t,e,n){return n.indexOf(t)===e})),n=["start","center","end"].concat(a(t)).filter((function(t,e,n){return n.indexOf(t)===e}));
12===t.length&&5===e.length&&4===n.length&&(this.style&&t.push(this.style),this.position=t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Lb(i.a),o.Lb(o.m),o.Lb(o.i))},t.\u0275cmp=o.Fb({type:t,selectors:[["sk-popup"]],inputs:{popupPosition:"popupPosition",style:"style"},outputs:{toggle:"toggle"},ngContentSelectors:f,decls:5,vars:4,consts:[[1,"popup",3,"ngClass"],[1,"popup-title",3,"ngClass","click"],["class","popup-arrow",3,"click",4,"ngIf"],["class","popup-content",3,"ngStyle",4,"ngIf"],[1,"popup-arrow",3,"click"],[1,"popup-content",3,"ngStyle"]],template:function(t,e){1&t&&(o.hc(d),o.Rb(0,"div",0),o.Rb(1,"button",1),o.Yb("click",(function(t){return e.onToggle(t)})),o.gc(2),o.Qb(),o.zc(3,c,1,0,"div",2),o.zc(4,l,2,4,"div",3),o.Qb()),2&t&&(o.ic("ngClass",e.position),o.Ab(1),o.ic("ngClass",e.style),o.Ab(2),o.ic("ngIf",e.show),o.Ab(1),o.ic("ngIf",e.show))},directives:[r.q,r.t,r.w],styles:[".popup{position:relative}.popup .popup-title{background:transparent;border:none;padding:0}.popup .popup-arrow{width:20px;height:20px;z-index:3}.popup .popup-arrow,.popup .popup-content{position:absolute;background-color:#fff;border:solid #dbdbdb;border-width:1px 0 0 1px}.popup .popup-content{border-radius:5px;box-shadow:4px 5px 10px 0 rgba(0,0,0,.2);z-index:2}.popup.top .popup-arrow{left:calc(50% - 10px);transform:rotate(45deg)}.popup.top .popup-content{bottom:-10px}.popup.top.center>.popup-content{left:50%;transform:translateX(-50%) translateY(100%)}.popup.top.start>.popup-content{left:calc(50% - 40px);transform:translateY(100%)}.popup.top.end>.popup-content{left:calc(50% + 40px);transform:translateX(-100%) translateY(100%)}.popup.bottom .popup-arrow{left:calc(50% - 10px);top:-10px;transform:rotate(225deg)}.popup.bottom .popup-content{top:0;margin-bottom:-10px}.popup.bottom.center>.popup-content{left:50%;transform:translateX(-50%) translateY(-100%)}.popup.bottom.start>.popup-content{left:calc(50% - 40px);transform:translateY(-100%)}.popup.bottom.end>.popup-content{left:calc(50% + 40px);transform:translateX(-100%) translateY(-100%)}.popup.right .popup-arrow{left:-20px;top:calc(50% - 10px);transform:rotate(135deg)}.popup.right .popup-content{left:-10px}.popup.right.center>.popup-content{bottom:50%;transform:translateX(-100%) translateY(50%)}.popup.right.start>.popup-content{top:calc(50% - 40px);transform:translateX(-100%)}.popup.right.end>.popup-content{top:calc(50% + 40px);transform:translateX(-100%) translateY(-100%)}.popup.left .popup-arrow{right:-20px;top:calc(50% - 10px);transform:rotate(-45deg)}.popup.left .popup-content{right:-10px}.popup.left.center>.popup-content{bottom:50%;transform:translateX(100%) translateY(50%)}.popup.left.start>.popup-content{top:calc(50% - 40px);transform:translateX(100%)}.popup.left.end>.popup-content{top:calc(50% + 40px);transform:translateX(-100%) translateY(-100%)}.inline{display:inline-block!important}"],encapsulation:2}),t}()},0:function(t,e,n){t.exports=n("zUnb")},"0E+W":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("EM62"),i=function(){var t=function t(){u(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Fb({type:t,selectors:[["app-mail-svg"]],decls:6,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32"],["cx","16","cy","16","r","16",1,"cls-1"],["d","M24.84,22.7H6.78A.79.79,0,0,1,6,21.9V10.43a.79.79,0,0,1,.79-.8H24.84a.8.8,0,0,1,.8.8V21.9A.8.8,0,0,1,24.84,22.7ZM7.21,21.47h17.2V10.86H7.21Z",1,"cls-2"],["d","M22.77,22.7H8.58a2,2,0,0,1-1.29-.46,2,2,0,0,1-.66-1,2.13,2.13,0,0,1,.08-1.25,2,2,0,0,1,.91-1l7.1-3.84a2,2,0,0,1,1.91,0l7.09,3.84a2,2,0,0,1,.92,1,2,2,0,0,1,.07,1.25,2,2,0,0,1-.66,1A2,2,0,0,1,22.77,22.7Zm-7.1-6.63a.81.81,0,0,0-.37.09L8.2,20a.78.78,0,0,0,.38,1.46H22.77A.77.77,0,0,0,23.14,20L16,16.16A.78.78,0,0,0,15.67,16.07Z",1,"cls-2"],["d","M14,16.82l-.78-.48a3.28,3.28,0,0,1,1.7-6.09h1.57a3.28,3.28,0,0,1,1.7,6.09l-.79.48A3.29,3.29,0,0,1,14,16.82Z",1,"cls-1"],["d","M15.67,18.22a1.91,1.91,0,0,1-1-.29L7.05,13.35a2,2,0,0,1-.86-1,2,2,0,0,1,0-1.22,2.06,2.06,0,0,1,.67-1,2,2,0,0,1,1.26-.44H23.26a2,2,0,0,1,1.26.44,2,2,0,0,1-.22,3.28l-7.59,4.58A2,2,0,0,1,15.67,18.22ZM8.08,10.86a.76.76,0,0,0-.75.57.77.7
17,0,0,0,.35.88l7.59,4.58a.79.79,0,0,0,.81,0l7.59-4.58a.76.76,0,0,0,.34-.88.74.74,0,0,0-.75-.57Z",1,"cls-2"]],template:function(t,e){1&t&&(o.ac(),o.Rb(0,"svg",0),o.Mb(1,"circle",1),o.Mb(2,"path",2),o.Mb(3,"path",3),o.Mb(4,"path",4),o.Mb(5,"path",5),o.Qb())},styles:[".cls-1[_ngcontent-%COMP%]{fill:#00466c}.cls-2[_ngcontent-%COMP%]{fill:#fff}[_nghost-%COMP%]{display:inline-block}"]}),t}()},"2/Hu":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n("ZTXN"),i=n("EM62"),r=function(){var t=function(){function t(){u(this,t),this.focusSubject=new o.a}return g(t,[{key:"focus",value:function(){this.focusSubject.next(!0)}},{key:"focusSubject$",get:function(){return this.focusSubject.asObservable()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Hb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},"3xRY":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("EM62"),i=function(){var t=function(){function t(){u(this,t)}return g(t,[{key:"toSearchLanguages",value:function(t){console.warn("Default toSearchLanguages implementation!")}},{key:"toLanguageUrl",value:function(t,e,n){console.warn("Default toLanguageUrl implementation!")}}],[{key:"defaultLanguages",value:function(){return{fromId:"fi",toId:"en"}}},{key:"toLanguageQueryParam",value:function(t){return t.fromId+"-"+t.toId}},{key:"swapLanguageIds",value:function(t){var e=t.fromId;return{fromId:t.toId,toId:e}}},{key:"getPlainClipboardText",value:function(t){return t.clipboardData?t.clipboardData.getData("text/plain"):window.clipboardData.getData("Text")}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=o.Hb({token:t,factory:t.\u0275fac}),t}()},"4Tlh":function(t,e){},"4uOh":function(t,e){},"5KNX":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var o=function(t,e){return t},i=function(t){return t?function(t){return function(e,n){return n&&n[t]?n[t]:(console.warn("ForTrackByPipe: Tried to track by ".concat(t,", but prop does not exist! Falling back to track by index."),n),e)}}(t):o}},"8xZj":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n("ROBh"),i=n("EM62"),r=function(){var t=function(){function t(){u(this,t)}return g(t,[{key:"hasLang",value:function(t){return!1}},{key:"cancel",value:function(){return Object(o.a)()}},{key:"speak",value:function(t,e){return Object(o.a)()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Hb({token:t,factory:t.\u0275fac}),t}()},CHJx:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n("VvXq"),i=n("EM62"),r=function(){var t=function(){function t(){u(this,t)}return g(t,[{key:"scrollToAnchor",value:function(t,e){if(t)try{var n=document.querySelector("#"+t);n&&o.a.schedule((function(){e&&e(n),n.scrollIntoView(),n.tabIndex=-1,n.focus(),n.attributes.removeNamedItem("tabindex")}))}catch(i){console.warn("Could not scroll to element!",i)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Hb({token:t,factory:t.\u0275fac}),t}()},HWm2:function(t,e,n){},Hahm:function(t,e){},K6Ak:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n("EM62"),i=n("e4iD"),r=n("s2Ay"),c=function(){var t=function(){function t(e,n){u(this,t),this.titleService=e,this.translateService=n,this.localizations={about:"INFO_ABOUT_HEADING","reading-howto":"INFO_READ_HOWTO_HEADING","search-howto":"INFO_SEARCH_HOWTO_HEADING",privacy:"INFO_PRIVACY_HEADING",tos:"INFO_TOS_HEADING",contact:"INFO_CONTACT_HEADING"}}return g(t,[{key:"changeWordTitle",value:function(t){this.titleService.setTitle(t+" - Kielitoimiston sanakirja")}},{key:"changeFulltextWordTitle",value:function(t){this.titleService.setTitle(t+" "+this.translateService.instant("TITLE_FULL_TEXT")+" - Kielitoimiston sanakirja")}},{key:"changeTitle",value:function(t){this.updateTitle(this.parseURLEnd(t))}},{key:"changeTitleMainPage",value:function(){this.titleService.setTitle("Kielitoimiston sanakirja")}},{key:"updateTitle",value:function(t){this.titleService.setTitle(this.translateService.instant(this.localizations[t])+" | Kielitoimiston sanakirja")}},{key:"parseURLEnd",value:function(t){return t.split("/")[2]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(o.Vb(i.c),o.Vb(r.f))},t.\u0275prov=o.Hb({token:t,factory:t.\u0275fac}),t}()},KZLo:function(t,e,n){"use strict";n.d(e,"a",(function(){return S}));var o=n("EM62"),i=(n("QRJC"),n("hby6")),r=n("sg/T"),a=n("s2Ay"),s=n("2kYt");function l(t,e){1&t&&o.Nb(0)}
1var d=function(t,e,n,o,i,r){return{selectable:t,"info-item":e,"info-item-not-found":n,"info-item-loading":o,last:i,highlighted:r}};function f(t,e){if(1&t){var n=o.Sb();o.Rb(0,"li",4),o.Yb("mousedown",(function(){o.tc(n);var t=e.$implicit;return o.bc(2).onClick(t)})),o.zc(1,l,1,0,"ng-container",5),o.Qb()}if(2&t){var i=e.$implicit,r=o.bc(2);o.ic("ngClass",o.oc(3,d,"result"===i.state,"result"!==i.state,"notfound"===i.state,"loading"===i.state,i.suggestionDivider,i===r.selectedItem)),o.Ab(1),o.ic("ngTemplateOutlet",r.suggestionTemplates(i.state,i.itemGroup))("ngTemplateOutletContext",i)}}function p(t,e){if(1&t&&(o.Rb(0,"div",1),o.Rb(1,"ul",2),o.zc(2,f,2,10,"li",3),o.Qb(),o.Qb()),2&t){var n=o.bc();o.Ab(2),o.ic("ngForOf",n.autocompleteSuggestions.data)("ngForTrackBy",n.ngForTrackBy)}}var b,h,m=((b=function(){function t(e,n,r){u(this,t),this.changeDetectorRef=e,this.liveAnnouncer=n,this.translateService=r,this.select=new o.o,this.ngForTrackBy=i.ngForTrackByIndex,this.selectedItem=void 0}return g(t,[{key:"ngOnChanges",value:function(t){if(t.autocompleteSuggestions){var e=this.autocompleteSuggestions.data[0];if(e)switch(e.state){case"loading":this.liveAnnouncer.announce(this.translateService.instant("DICT_SEARCH_IN_PROGRESS"));break;case"notfound":this.liveAnnouncer.announce(this.translateService.instant("DICT_SEARCH_NOT_FOUND"));break;case"result":this.liveAnnouncer.announce(this.translateService.instant("DICT_SEARCH_RESULTS_FOUND",{count:this.autocompleteSuggestions.data.length-1}))}}}},{key:"onClick",value:function(t){"result"===t.state&&this.select.emit(t.result)}},{key:"keyUp",value:function(){if(this.selectedItem){var t=this.autocompleteSuggestions.data,e=t.slice(0,t.indexOf(this.selectedItem)).reverse().find((function(t){return"result"===t.state}));this.selectedItem=e,(null==e?void 0:e.result.headword)&&this.liveAnnouncer.announce(e.result.headword),this.changeDetectorRef.detectChanges()}}},{key:"keyDown",value:function(){var t=this.autocompleteSuggestions.data,e=t.slice(this.selectedItem?t.indexOf(this.selectedItem)+1:0).find((function(t){return"result"===t.state}));e&&(this.selectedItem=e,e.result.headword&&this.liveAnnouncer.announce(e.result.headword),this.changeDetectorRef.detectChanges())}},{key:"selected",get:function(){return this.selectedItem?this.selectedItem.result:void 0}},{key:"first",get:function(){var t=this.autocompleteSuggestions.data.find((function(t){return"result"===t.state}));return t?t.result:void 0}}]),t}()).\u0275fac=function(t){return new(t||b)(o.Lb(o.i),o.Lb(r.c),o.Lb(a.f))},b.\u0275cmp=o.Fb({type:b,selectors:[["suggestion-box"]],inputs:{autocompleteSuggestions:"autocompleteSuggestions",suggestionTemplates:"suggestionTemplates"},outputs:{select:"select"},features:[o.yb],decls:1,vars:1,consts:[["class","suggestions",4,"ngIf"],[1,"suggestions"],["lang","fi"],["class","selectable",3,"ngClass","mousedown",4,"ngFor","ngForOf","ngForTrackBy"],[1,"selectable",3,"ngClass","mousedown"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,e){1&t&&o.zc(0,p,3,2,"div",0),2&t&&o.ic("ngIf",e.autocompleteSuggestions.suggestionsVisible)},directives:[s.t,s.s,s.q,s.A],styles:[".suggestions[_ngcontent-%COMP%]{background:#fff;border:1px solid #dbdbdb;position:absolute;width:100%;z-index:100}ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}li[_ngcontent-%COMP%]{min-height:44px}li.last[_ngcontent-%COMP%]{border-bottom:1px solid #dbdbdb}.selectable[_ngcontent-%COMP%]{cursor:pointer;padding:.5rem 1rem}.selectable.highlighted[_ngcontent-%COMP%], .selectable[_ngcontent-%COMP%]:hover{background:#ffe000;color:#111}.info-item[_ngcontent-%COMP%]{color:#c1c1c1;font-size:.875rem;padding:.5rem 1rem}.dictionary-search-bar[_nghost-%COMP%]   .suggestions[_ngcontent-%COMP%], .dictionary-search-bar   [_nghost-%COMP%]   .suggestions[_ngcontent-%COMP%]{top:calc(52px + 1px)}.dictionary-search-bar[_nghost-%COMP%]   .selectable[_ngcontent-%COMP%], .dictionary-search-bar   [_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]{display:flex}.dictionary-search-bar[_nghost-%COMP%]   .selectable.highlighted[_ngcontent-%COMP%], .dictionary-search-bar   [_nghost-%COMP%]   .selectable.highlighted[_ngcontent-%COMP%], .dictionary-search-bar[_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]:hover, .dictionary-search-bar   [_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]:hover{background:#ffe000;color:#111}.add-word[_nghost-%COMP%]   .highlighted[_ngcontent-%COMP%], .add-word   [_nghost-%COMP%]   .highlighted[_ngcontent-%COMP%], .add-word[_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]:hover, .add-word   [_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]:hover{color:#fff;background:#17bebb}.school-content[_nghost-%COMP%]   .selectable[_ngcontent-%COMP%], .school-content   [_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]{padding-left:2rem}.kotus-theme[_nghost-%COMP%]   .suggestions[_ngcontent-%COMP%], .kotus-theme   [_nghost-%COMP%]   .suggestions[_ngcontent-%COMP%], .school-content[_nghost-%COMP%]   .suggestions[_ngcontent-%COMP%], .school-content   [_nghost-%COMP%]   .suggestions[_ngcontent-%COMP%]{box-shadow:4px 5px 10px 0 rgba(0,0,0,.2)}.kotus-theme[_nghost-%COMP%]   .selectable[_ngcontent-%COMP%], .kotus-theme   [_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]{padding-left:1rem}.kotus-theme[_nghost-%COMP%]   .highlighted[_ngcontent-%COMP%], .kotus-theme   [_nghost-%COMP%]   .highlighted[_ngcontent-%COMP%], .kotus-theme[_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]:hover, .kotus-theme   [_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]:hover{color:#fff;background:#007faa}.kotus-theme[_nghost-%COMP%]   .info-item[_ngcontent-%COMP%], .kotus-theme   [_nghost-%COMP%]   .info-item[_ngcontent-%COMP%]{color:#757575}@media (min-width:960px){.kotus-theme[_nghost-%COMP%]   .info-item[_ngcontent-%COMP%], .kotus-theme   [_nghost-%COMP%]   .info-item[_ngcontent-%COMP%], .kotus-theme[_nghost-%COMP%]   .selectable[_ngcontent-%COMP%], .kotus-theme   [_nghost-%COMP%]   .selectable[_ngcontent-%COMP%]{padding-left:2rem}}"],changeDetection:0}),b),O=n("2/Hu"),v=n("nIj0"),y=n("ROBh"),C=n("mWib"),k=n("4xW2"),_=n("BwBJ"),M=((h=function(){function t(e){u(this,t),this.model=e,this.debounce=new o.o,this.debounceTime=200,this.isFirstChange=!0}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.model&&this.model.valueChanges&&(this.debounceProfile&&(this.profile=JSON.parse(this.debounceProfile)),this.subscription=this.model.valueChanges.pipe(this.resolveDebouncer()).subscribe((function(e){t.isFirstChange?t.isFirstChange=!1:t.debounce.emit(e)})))}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"resolveDebouncer",value:function(){var t=this;return this.profile?Object(k.a)((function(e){var n=t.debounceTime;return t.profile&&e&&(n=t.profile[e.length]||t.debounceTime),Object(y.a)(e).pipe(Object(_.a)(n))})):Object(C.a)(this.debounceTime)}}]),t}()).\u0275fac=function(t){return new(t||h)(o.Lb(v.j))},h.\u0275dir=o.Gb({type:h,selectors:[["","ngModel","","debounce",""]],inputs:{debounceTime:["debounce","debounceTime"],debounceProfile:"debounceProfile"},outputs:{debounce:"debounce"}}),h),w=["autocompleteInput"];function P(t,e){if(1&t){var n=o.Sb();o.Rb(0,"suggestion-box",9),o.Yb("select",(function(t){return o.tc(n),o.bc().onSelect(t)})),o.Qb()}if(2&t){var i=o.bc();o.ic("autocompleteSuggestions",i.autocompleteSuggestions)("suggestionTemplates",i.suggestionTemplates)}}var x,S=((x=function(){function t(e){u(this,t),this.focusToSearchInputService=e,this.maxLength=70,this.selectMode="freeform",this.text="",this.inputBlur=new o.o,this.search=new o.o,this.typing=new o.o,this.clear=new o.o,this.debounceProfile=JSON.stringify({1:1500,2:1500,3:1e3}),this.focused=!1}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.autofocus&&!this.text&&this.focusAndSelect(),this.focusToSearchInputSubsc=this.focusToSearchInputService.focusSubject$.subscribe((function(e){e&&t.focusField()}))}},{key:"ngOnDestroy",value:function(){this.focusToSearchInputSubsc&&this.focusToSearchInputSubsc.unsubscribe()}},{key:"resetAutocomplete",value:function(){this.clear.emit(),this.focusField()}},{key:"blurField",value:function(){this.input.nativeElement.blur()}},{key:"focusField",value:function(){this.input.nativeElement.focus()}},{key:"onBlur",value:function(){this.hasFocus=!1,this.inputBlur.emit()}},{key:"onFocus",value:function(){this.hasFocus=!0}},{key:"onKeyPress",value:function(t,e){switch(this.focused=!1,t.keyCode||t.which){case 38:this.suggestions&&this.suggestions.keyUp(),t.preventDefault();break;
1case 40:this.suggestions?this.suggestions.keyDown():this.hideSuggestions=!1,t.preventDefault();break;case 13:this.handleKeyboardSelection(e),t.preventDefault();break;case 27:this.blurField(),"selection"===this.selectMode&&this.handleSearch(c({},this.textProperty,e)),t.preventDefault()}}},{key:"handleKeyboardSelection",value:function(t){var e=this.suggestions?this.suggestions.selected:void 0;e?this.handleSearch(e):t&&this.handleSearch("freeform"===this.selectMode?c({},this.textProperty,t):this.suggestions&&this.suggestions.first||c({},this.textProperty,t))}},{key:"onTextChange",value:function(t){this.hideSuggestions=this.focused,this.typing.emit(t)}},{key:"onSelect",value:function(t){this.handleSearch(t)}},{key:"onSearchButton",value:function(t){this.handleSearch(c({},this.textProperty,t))}},{key:"onClickSearchBox",value:function(){this.hideSuggestions=!1}},{key:"handleSearch",value:function(t){this.hideSuggestions=!0,this.search.emit(t),this.keepFocus?this.focusAndSelect():this.blurField()}},{key:"focusAndSelect",value:function(){var t=this;setTimeout((function(){t.focused=!0,t.input.nativeElement.focus(),t.input.nativeElement.select()}),50)}},{key:"showSuggestions",get:function(){return!this.hideSuggestions&&this.hasFocus}}]),t}()).\u0275fac=function(t){return new(t||x)(o.Lb(O.a))},x.\u0275cmp=o.Fb({type:x,selectors:[["sk-autocomplete"]],viewQuery:function(t,e){var n;1&t&&(o.yc(w,!0),o.Fc(m,!0)),2&t&&(o.pc(n=o.Zb())&&(e.input=n.first),o.pc(n=o.Zb())&&(e.suggestions=n.first))},inputs:{inputClass:"inputClass",inputPlaceholder:"inputPlaceholder",textProperty:"textProperty",maxLength:"maxLength",autofocus:"autofocus",keepFocus:"keepFocus",selectMode:"selectMode",autocompleteSuggestions:"autocompleteSuggestions",text:"text",suggestionTemplates:"suggestionTemplates"},outputs:{inputBlur:"inputBlur",search:"search",typing:"typing",clear:"clear"},decls:12,vars:18,consts:[[1,"mp-autocomplete"],[1,"search-bar"],["id","e2e-search-input","type","text","autocomplete","off","spellcheck","false","lang","fi",1,"autocomplete-input",3,"maxlength","placeholder","ngClass","ngModel","debounce","debounceProfile","focus","blur","keydown","click"],["autocompleteInput",""],["type","button",1,"clear-button",3,"hidden","click"],[1,"fa-close-circled"],["type","button",1,"search-button",3,"disabled","click"],[1,"fa-search"],["id","e2e-autocomplete",3,"autocompleteSuggestions","suggestionTemplates","select",4,"ngIf"],["id","e2e-autocomplete",3,"autocompleteSuggestions","suggestionTemplates","select"]],template:function(t,e){if(1&t){var n=o.Sb();o.Rb(0,"div",0),o.Rb(1,"div",1),o.Rb(2,"input",2,3),o.Yb("focus",(function(){return e.onFocus()}))("blur",(function(){return e.onBlur()}))("debounce",(function(t){return e.onTextChange(t)}))("keydown",(function(t){o.tc(n);var i=o.qc(3);return e.onKeyPress(t,i.value)}))("click",(function(){return e.onClickSearchBox()})),o.cc(4,"translate"),o.Qb(),o.Rb(5,"button",4),o.Yb("click",(function(){return e.resetAutocomplete()})),o.cc(6,"translate"),o.Mb(7,"i",5),o.Qb(),o.Rb(8,"button",6),o.Yb("click",(function(){o.tc(n);var t=o.qc(3);return e.onSearchButton(t.value)})),o.cc(9,"translate"),o.Mb(10,"i",7),o.Qb(),o.Qb(),o.zc(11,P,1,2,"suggestion-box",8),o.Qb()}if(2&t){var i=o.qc(3);o.Ab(2),o.jc("maxlength",e.maxLength),o.jc("placeholder",e.inputPlaceholder),o.ic("ngClass",e.inputClass)("ngModel",e.text)("debounce",750)("debounceProfile",e.debounceProfile),o.Bb("aria-label",o.dc(4,12,"ATTRIBUTE_SEARCH")),o.Ab(3),o.ic("hidden",0===e.text.length),o.Bb("aria-label",o.dc(6,14,"ATTRIBUTE_RESET")),o.Ab(3),o.ic("disabled",!i.value.length||i.value.length>e.maxLength),o.Bb("aria-label",o.dc(9,16,"ATTRIBUTE_SEARCH")),o.Ab(3),o.ic("ngIf",e.showSuggestions&&e.autocompleteSuggestions)}},directives:[v.b,v.h,s.q,v.k,v.m,M,s.t,m],pipes:[a.e],styles:['@charset "UTF-8";.mp-autocomplete[_ngcontent-%COMP%]{position:relative}.dictionary-search-bar[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%], .dictionary-search-bar   [_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{display:flex}.dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%], .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]{background-color:linear-gradient(#fff 60%,#f5f5f5);border:none;border-radius:0;flex:1 1 0%;font-size:1.125rem;height:52px;min-width:0;padding:.5rem 2.5rem .5rem 1rem}.dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-ms-clear, .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-ms-clear, .dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-ms-reveal, .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-ms-reveal{display:none;width:0;height:0}.dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-webkit-search-cancel-button, .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-webkit-search-cancel-button, .dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-webkit-search-decoration, .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-webkit-search-decoration, .dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-webkit-search-results-button, .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-webkit-search-results-button, .dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-webkit-search-results-decoration, .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]::-webkit-search-results-decoration{dis
1play:none}.dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]:focus, .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]:focus{outline:none}.dictionary-search-bar[_nghost-%COMP%]   .search-button[_ngcontent-%COMP%], .dictionary-search-bar   [_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]{background-color:#ffe000;border:none;color:#111;flex:0 0 auto;font-size:1.375rem;height:52px;margin-left:1px;padding:0;width:2.5rem}.dictionary-search-bar[_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .dictionary-search-bar   [_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:24px}.dictionary-search-bar[_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]:hover, .dictionary-search-bar   [_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]:hover{background-color:#111;color:#fff;transition:all .1s linear}@media (min-width:600px){.dictionary-search-bar[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%], .dictionary-search-bar   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]{font-size:1.375rem}}.add-word[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%], .add-word   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #dbdbdb;border-radius:0;color:#111;font-size:16px;height:36px;padding:6px 1rem;width:100%}.add-word[_nghost-%COMP%]   .search-button[_ngcontent-%COMP%], .add-word   [_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]{display:none}.school-content[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%], .school-content   [_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{border:1px solid #dbdbdb;display:inline-block;height:36px;position:relative;width:100%}.school-content[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]:before, .school-content   [_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]:before{color:#c1c1c1;content:"\ue807";display:inline-block;font-family:fontello;font-size:1.3rem;text-align:center;padding-top:.25rem;width:2rem}.school-content[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%], .school-content   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]{border:0;height:100%;padding:0 1rem 0 0;position:absolute;width:calc(100% - 2rem)}.school-content[_nghost-%COMP%]   .search-button[_ngcontent-%COMP%], .school-content   [_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]{display:none}.kotus-search[_nghost-%COMP%]   [_ngcontent-%COMP%]::-ms-clear, .kotus-search   [_nghost-%COMP%]   [_ngcontent-%COMP%]::-ms-clear{display:none}.kotus-search[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%], .kotus-search   [_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{display:flex;height:46px}.kotus-search[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%], .kotus-search   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]{border:none;border-bottom-left-radius:5px;flex:1 1 auto;font-size:1.125rem;line-height:normal;min-width:0;padding-left:1rem}.kotus-search[_nghost-%COMP%]   .clear-button[_ngcontent-%COMP%], .kotus-search   [_nghost-%COMP%]   .clear-button[_ngcontent-%COMP%], .kotus-search[_nghost-%COMP%]   .search-button[_ngcontent-%COMP%], .kotus-search   [_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]{background-color:transparent;border-color:transparent;color:#007faa;flex:0 0 auto;padding:0 0 2px;width:2.5rem}.kotus-search[_nghost-%COMP%]   .clear-button[_ngcontent-%COMP%]:hover, .kotus-search   [_nghost-%COMP%]   .clear-button[_ngcontent-%COMP%]:hover, .kotus-search[_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]:hover, .kotus-search   [_nghost-%COMP%]   .search-button[_ngcontent-%COMP%]:hover{color:#05456d}.kotus-search[_nghost-%COMP%]   i[_ngcontent-%COMP%], .kotus-search   [_nghost-%COMP%]   i[_ngcontent-%COMP%]{font-size:20px}@media (min-width:960px){.kotus-search[_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%], .kotus-search   [_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{height:56px}.kotus-search[_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%], .kotus-search   [_nghost-%COMP%]   .autocomplete-input[_ngcontent-%COMP%]{font-size:1.375rem;padding-left:2rem}.kotus-search[_nghost-%COMP%]   i[_ngcontent-%COMP%], .kotus-search   [_nghost-%COMP%]   i[_ngcontent-%COMP%]{font-size:24px}}@media (min-width:1440px){.kotus-search[_nghost-%COMP%]   .search-bar[_ng
1content-%COMP%], .kotus-search   [_nghost-%COMP%]   .search-bar[_ngcontent-%COMP%]{padding-right:2rem}}'],changeDetection:0}),x)},LWWj:function(t,e){},"MH+j":function(t,e,n){"use strict";n.d(e,"p",(function(){return d})),n.d(e,"m",(function(){return _})),n.d(e,"j",(function(){return M})),n.d(e,"a",(function(){return I})),n.d(e,"k",(function(){return R})),n.d(e,"c",(function(){return Q})),n.d(e,"b",(function(){return H})),n.d(e,"o",(function(){return z.a})),n.d(e,"i",(function(){return G})),n.d(e,"n",(function(){return q})),n.d(e,"g",(function(){return K.a})),n.d(e,"e",(function(){return Z})),n.d(e,"f",(function(){return W.a})),n.d(e,"d",(function(){return X})),n.d(e,"l",(function(){return J.a})),n.d(e,"h",(function(){return tt}));var o,i=n("EM62"),r=((o=function(){function t(){u(this,t),this.modals={}}return g(t,[{key:"register",value:function(t){this.modals[t.name]=t}},{key:"deregister",value:function(t){delete this.modals[t.name]}},{key:"open",value:function(t,e){this.modals[t]?(this.modals[t].open(e),this.current=t):console.warn('Modal with name "'+t+'" was not found!')}},{key:"close",value:function(){this.current&&this.modals[this.current]?(this.modals[this.current].close(),this.current=void 0):console.warn("Could not close modal with id  "+this.current)}}]),t}()).\u0275fac=function(t){return new(t||o)}
1,o.\u0275prov=i.Hb({token:o,factory:o.\u0275fac}),o),c=n("ZTXN"),a=n("SrHn"),s=n("2kYt");Window;var l,d=new i.r("WINDOW_TOKEN"),f=((l=function(){function t(){u(this,t)}return g(t,[{key:"timeout",value:function(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return setTimeout.apply(void 0,[t,e].concat(o))}},{key:"clearTimeout",value:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){clearTimeout(t)}))},{key:"setInterval",value:function(t){function e(e,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return setInterval.apply(void 0,[t,e].concat(o))}))}]),t}()).\u0275fac=function(t){return new(t||l)},l.\u0275prov=i.Hb({token:l,factory:l.\u0275fac}),l),p=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){p={passive:!0}}}))}catch(et){}var b,h,m,O,v,y=((h=function(){function t(){u(this,t)}return g(t,[{key:"disableBodyScroll",value:function(t,e){Object(a.b)(t,e)}},{key:"clearAllBodyScrollLocks",value:function(){Object(a.a)()}}]),t}()).\u0275fac=function(t){return new(t||h)},h.\u0275prov=i.Hb({token:h,factory:h.\u0275fac}),h),C=((b=function(){function t(e,n,o,i){u(this,t),this.timeoutService=e,this.bodyScrollLock=n,this.window=o,this.document=i,this.scrollEvents=new c.a,this.lastKnownScrollPosition=0,this.scrollTicking=!1,this.lockOptions={reserveScrollBarGap:!0},this.initRaf()}return g(t,[{key:"initRaf",value:function(){var t=this;this.window.addEventListener("scroll","requestAnimationFrame"in this.window?function(){return t.onScroll()}:function(){return t.scrollEvents.next(t.window.scrollY)},p)}},{key:"scrollTo",value:function(t){this.window.scrollTo(0,t)}},{key:"disableContentScroll",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n>=100?console.warn("Could not disable background scrolling for ",t):this.timeoutService.timeout((function(){var o=e.document.querySelector(t);o?e.bodyScrollLock.disableBodyScroll(o,e.lockOptions):e.disableContentScroll(t,n+=10)}),n)}},{key:"enableContentScroll",value:function(){this.bodyScrollLock.clearAllBodyScrollLocks()}},{key:"onScroll",value:function(){var t=this;this.lastKnownScrollPosition=this.window.scrollY,this.scrollTicking||(this.window.requestAnimationFrame((function(){t.scrollEvents.next(t.lastKnownScrollPosition),t.scrollTicking=!1})),this.scrollTicking=!0)}},{key:"scrollPosition",get:function(){return this.lastKnownScrollPosition}},{key:"documentHeight",get:function(){return this.document.body.scrollHeight}}]),t}()).\u0275fac=function(t){return new(t||b)(i.Vb(f),i.Vb(y),i.Vb(d),i.Vb(s.e))},b.\u0275prov=i.Hb({token:b,factory:b.\u0275fac}),b),k=n("8xZj"),_=((v=function t(){u(this,t)}).\u0275mod=i.Jb({type:v}),v.\u0275inj=i.Ib({factory:function(t){return new(t||v)},providers:[f,k.a,y,C,r]}),v),M=((O=function t(){u(this,t)}).\u0275mod=i.Jb({type:O}),O.\u0275inj=i.Ib({factory:function(t){return new(t||O)}}),O),w=((m=function t(){u(this,t)}).\u0275mod=i.Jb({type:m}),m.\u0275inj=i.Ib({factory:function(t){return new(t||m)}}),m);n("r1oo");var P,x,S,I=((x=function t(){u(this,t)}).\u0275mod=i.Jb({type:x}),x.\u0275inj=i.Ib({factory:function(t){return new(t||x)},imports:[[s.c]]}),x),j=((P=function t(){u(this,t)}).\u0275mod=i.Jb({type:P}),P.\u0275inj=i.Ib({factory:function(t){return new(t||P)},imports:[[s.c,w]]}),P),A=n("s2Ay"),R=((S=function t(){u(this,t)}).\u0275mod=i.Jb({type:S}),S.\u0275inj=i.Ib({factory:function(t){return new(t||S)},imports:[[s.c,A.d]]}),S);n("+z+H");var T,L,E,F=n("sEIs"),Q=((T=function t(){u(this,t)}).\u0275mod=i.Jb({type:T}),T.\u0275inj=i.Ib({factory:function(t){return new(t||T)},imports:[[s.c,F.h,A.d,M,I,j,R]]}),T),B=n("nIj0"),z=n("QRJC"),D=((E=function t(){u(this,t)}).\u0275mod=i.Jb({type:E}),E.\u0275inj=i.Ib({factory:function(t){return new(t||E)},imports:[[s.c]]}),E),H=((L=function t(){u(this,t)}).\u0275mod=i.Jb({type:L}),L.\u0275inj=i.Ib({factory:function(t){return new(t||L)},imports:[[s.c,B.g,A.d,w,M,D]]}),L);n("KZLo");var N,V,U,Y,$,G=((V=function t(){u(this,t)}).\u0275mod=i.Jb({type:V}),V.\u0275inj=i.Ib({factory:function(t){return new(t||V)},imports:[[s.c]]}),V),q=((N=function t(){u(this,t)}).\u0275mod=i.Jb({type:N}),N.\u0275inj=i.Ib({factory:function(t){return new(t||N)},imports:[[s.c]]}),N),K=n("u+5a"),Z=((U=function(){function t(){u(this,t),this.focusSubject=ne
1w c.a}return g(t,[{key:"focus",value:function(){this.focusSubject.next(!0)}},{key:"focusSubject$",get:function(){return this.focusSubject.asObservable()}}]),t}()).\u0275fac=function(t){return new(t||U)},U.\u0275prov=i.Hb({token:U,factory:U.\u0275fac,providedIn:"root"}),U),W=n("2/Hu"),X=((Y=function(){function t(){u(this,t),this.focusSubject=new c.a}return g(t,[{key:"focus",value:function(){this.focusSubject.next(!0)}},{key:"focusSubject$",get:function(){return this.focusSubject.asObservable()}}]),t}()).\u0275fac=function(t){return new(t||Y)},Y.\u0275prov=i.Hb({token:Y,factory:Y.\u0275fac,providedIn:"root"}),Y),J=n("wXUk"),tt=(($=function t(){u(this,t)}).\u0275mod=i.Jb({type:$}),$.\u0275inj=i.Ib({factory:function(t){return new(t||$)},imports:[[s.c]]}),$)},NzZG:function(t,e,n){"use strict";var o=n("2kYt");n.d(e,"a",(function(){return o.e})),Document},QRJC:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var o=function(){function t(e,n){u(this,t),this._suggestionsVisible=e,this._data=n}return g(t,[{key:"show",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return new t(e,this._data)}},{key:"withState",value:function(e,n){var o,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;switch(e){case"loading":case"notfound":case"found":o=[{state:e,itemGroup:r,suggestionDivider:!1}];break;case"result":o=n&&n.length?n.map((function(t){return{state:"result",itemGroup:r,result:t,suggestionDivider:!1}})):[{state:"notfound",itemGroup:r,suggestionDivider:!1}]}var c=i?[].concat(a(this._data),a(o)):o;return new t(this._suggestionsVisible,c)}},{key:"withDivider",value:function(){var e=this._data;return e&&e.length&&(e[e.length-1].suggestionDivider=!0),new t(this._suggestionsVisible,this._data)}},{key:"withFilter",value:function(e){return new t(this._suggestionsVisible,this._data.filter((function(t){return e(t.result)})))}},{key:"suggestionsVisible",get:function(){return this._suggestionsVisible}},{key:"data",get:function(){return this._data}}],[{key:"create",value:function(){return new t(!1,[])}}]),t}()},SkdT:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("EM62"),i=function(){var t=function t(){u(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Fb({type:t,selectors:[["app-tw-svg"]],decls:3,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","alt","Twitter","viewBox","0 0 32 32"],["cx","16","cy","16","r","13.63",1,"cls-1"],["d","M18.22,9.75A3.25,3.25,0,0,0,16,13l0,.56-.56-.07a9.07,9.07,0,0,1-5.32-2.62l-.74-.74-.19.55A3.28,3.28,0,0,0,10,14c.45.48.35.54-.42.26-.27-.09-.5-.16-.53-.12a4.11,4.11,0,0,0,.41,1.51A3.59,3.59,0,0,0,11,17.12l.54.26h-.64c-.63,0-.65,0-.58.25a3.37,3.37,0,0,0,2.09,1.85l.69.24-.6.36a6.41,6.41,0,0,1-3,.84,3.06,3.06,0,0,0-.92.09,8.8,8.8,0,0,0,2.16,1A9.42,9.42,0,0,0,18,21.17a9.75,9.75,0,0,0,3.72-4.38,11.72,11.72,0,0,0,.76-3.39c0-.52,0-.59.66-1.21a6.68,6.68,0,0,0,.78-.87c.12-.21.1-.21-.46,0-.95.34-1.09.29-.62-.22a3.23,3.23,0,0,0,.76-1.2s-.17,0-.36.12a6.5,6.5,0,0,1-1,.38l-.6.2-.55-.38a4.32,4.32,0,0,0-.95-.49A3.82,3.82,0,0,0,18.22,9.75ZM16,32A16,16,0,1,1,32,16,16,16,0,0,1,16,32Z",1,"cls-2"]],template:function(t,e){1&t&&(o.ac(),o.Rb(0,"svg",0),o.Mb(1,"circle",1),o.Mb(2,"path",2),o.Qb())},styles:[".cls-1[_ngcontent-%COMP%]{fill:#00466c}.cls-2[_ngcontent-%COMP%]{fill:#fff}[_nghost-%COMP%]{display:inline-block}"]}),t}()},TQSt:function(t,e,n){var o={"./app-en.json":["nATg",1],"./app-fi.json":["pn64",2],"./app-sv.json":["fOhL",3],"./info-en.json":["+yaZ",11],"./info-fi.json":["Eov7",12],"./info-sv.json":["ISM4",13]};function i(t){if(!n.o(o,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=o[t],i=e[0];return n.e(e[1]).then((function(){return n.t(i,3)}))}i.keys=function(){return Object.keys(o)},i.id="TQSt",t.exports=i},VHTt:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return a})),n.d(e,"g",(function(){return s})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return u}));var o=n("EM62"),i="x-authorization",r=new o.r("APP_CONFIGURATION_LOADER"),c={baseforms:!1,field:"",order:"entry"},a=20,s=20,l={hasPremium:!0,allowWordLinks:!0,allowInflections:!0},u={"Cache-Control":"no-cache",Pragma:"no-cache"}},"as/G":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("EM62"),i=function(){var t=function t(){u(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Fb({type:t,selectors:[["app-link-svg"]],decls:4,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32"],["cx","16","cy","16","r","16",1,"cls-1"],["d","M13,11.66a4.41,4.41,0,0,1,3.3,0,4.37,4.37,0,0,1,1.45,1l1.46,1.46a4.18,4.18,0,0,1,1,1.45c.05.13.1.27.14.41l-1.35,1.35a2.85,2.85,0,0,0-.83-2.13L16.
163,13.7a2.85,2.85,0,0,0-4,0L7,19.24a2.88,2.88,0,0,0,0,4.05L8.5,24.75a2.87,2.87,0,0,0,4,0L16,21.33a5.67,5.67,0,0,0,1,.1,5.3,5.3,0,0,0,1.19-.14l-4.54,4.54a4.32,4.32,0,0,1-1.45,1,4.39,4.39,0,0,1-4.75-1L6,24.37a4.37,4.37,0,0,1-1-1.45,4.44,4.44,0,0,1-.32-1.65A4.5,4.5,0,0,1,5,19.61a4.37,4.37,0,0,1,1-1.45l5.55-5.54A4.18,4.18,0,0,1,13,11.66Z",1,"cls-2"],["d","M11.44,16.47c0-.13-.1-.27-.14-.41l1.35-1.35a2.82,2.82,0,0,0,.84,2.13L15,18.3a2.85,2.85,0,0,0,4,0l5.54-5.54a2.86,2.86,0,0,0,0-4L23.07,7.25a2.87,2.87,0,0,0-4,0l-3.42,3.42a5.56,5.56,0,0,0-1-.1,5.32,5.32,0,0,0-1.2.14L18,6.17a4.53,4.53,0,0,1,1.45-1,4.42,4.42,0,0,1,4.76,1l1.45,1.46a4.4,4.4,0,0,1,1,1.45,4.44,4.44,0,0,1,.32,1.65,4.5,4.5,0,0,1-.32,1.66,4.4,4.4,0,0,1-1,1.45l-5.54,5.54a4.37,4.37,0,0,1-1.45,1,4.41,4.41,0,0,1-3.3,0,4.31,4.31,0,0,1-1.46-1l-1.45-1.46A4.2,4.2,0,0,1,11.44,16.47Z",1,"cls-2"]],template:function(t,e){1&t&&(o.ac(),o.Rb(0,"svg",0),o.Mb(1,"circle",1),o.Mb(2,"path",2),o.Mb(3,"path",3),o.Qb())},styles:[".cls-1[_ngcontent-%COMP%]{fill:#00466c}.cls-2[_ngcontent-%COMP%]{fill:#fff}[_nghost-%COMP%]{display:inline-block}"]}),t}()},cL82:function(t,e,n){},ctAk:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("EM62"),i=function(){var t=function t(){u(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Fb({type:t,selectors:[["app-main-logo"]],decls:12,vars:0,consts:[["viewBox","0 0 449.23 280.57","xmlns","http://www.w3.org/2000/svg"],["transform","translate(-36.89 -33.55)"],["d","m268 219.25 179.34-58.25 1.93 22.52-161.2 52.38a14 14 0 0 1 -17.64-9z","fill","#cee7f5"],["d","m263.3 217.75 152.6-110.87 9.91 20-143.13 104a8 8 0 0 1 -11.12-1.76z","fill","#b0d9ef"],["d","m258.42 217.76 110.86-152.6 16.8 14.35-106.34 146.37a6 6 0 0 1 -8.34 1.32z","fill","#91cae9"],["d","m199.08 122h184.62a4 4 0 0 1 4 4v18a0 0 0 0 1 0 0h-188.62a0 0 0 0 1 0 0v-22a0 0 0 0 1 0 0z","fill","#73bce3","transform","matrix(-.30901699 .95105652 -.95105652 -.30901699 473.65 -138.49)"],["d","m166.53 116.85h188.62v22.02h-188.62z","fill","#55addd","transform","matrix(0 1 -1 0 351.81 -166.53)"],["d","m133.99 122.02h188.62v22.02h-188.62z","fill","#4492c3","transform","matrix(.30901699 .95105652 -.95105652 .30901699 247.38 -158.75)"],["d","m208.59 197.23-109.87-151.59 16.81-13.95 110.87 152.6z","fill","#37a"],["d","m239 231-143.11-104 9.94-20 152.6 110.87-8.24 11.34a8 8 0 0 1 -11.19 1.79z","fill","#225d90","transform","translate(-36.89 -33.55)"],["d","m233.7 236-160.95-52.31 1.67-22.61 179.39 58.29-2.47 7.63a14 14 0 0 1 -17.64 9z","fill","#114277","transform","translate(-36.89 -33.55)"],["d","m486.11 252.8-16.21 26.93h-154.37c-19.9 0-32.55 4.87-38.66 14.88 0 .05-.06.12-.1.17a29.54 29.54 0 0 0 -4.63 11.53 9.17 9.17 0 0 1 -9 7.81h-3.22a9.17 9.17 0 0 1 -9-7.81 28.17 28.17 0 0 0 -3.12-9c-.44-.81-.93-1.64-1.46-2.45-6.12-10.22-18.79-15.14-38.83-15.14h-154.42l-16.2-26.92h163 3.89c22.62.4 38.17 4.39 47.32 12.16.59.51 1.16 1 1.7 1.55a45 45 0 0 1 8.66 11.7 45.6 45.6 0 0 1 8.67-11.7 28.65 28.65 0 0 1 2.6-2.28c9.81-7.71 26.33-11.47 50.31-11.47z","fill","#00436f","transform","translate(-36.89 -33.55)"]],template:function(t,e){1&t&&(o.ac(),o.Rb(0,"svg",0),o.Rb(1,"g",1),o.Mb(2,"path",2),o.Mb(3,"path",3),o.Mb(4,"path",4),o.Qb(),o.Mb(5,"path",5),o.Mb(6,"path",6),o.Mb(7,"path",7),o.Mb(8,"path",8),o.Mb(9,"path",9),o.Mb(10,"path",10),o.Mb(11,"path",11),o.Qb())},styles:["[_nghost-%COMP%]{display:inline-block}"]}),t}()},"d/kd":function(t,e,n){"use strict";var o=n("5KNX");n.d(e,"ngForTrackBy",(function(){return o.a})),n.d(e,"ngForTrackByIndex",(function(){return o.b})),n("cL82"),n("HWm2");var i=n("u3IL");n.o(i,"LanguageHelper")&&n.d(e,"LanguageHelper",(function(){return i.LanguageHelper}));var r=n("4Tlh");n.o(r,"LanguageHelper")&&n.d(e,"LanguageHelper",(function(){return r.LanguageHelper}));var c=n("teSO");n.o(c,"LanguageHelper")&&n.d(e,"LanguageHelper",(function(){return c.LanguageHelper}));var a=n("Hahm");n.o(a,"LanguageHelper")&&n.d(e,"LanguageHelper",(function(){return a.LanguageHelper}));var s=n("o6q5");n.o(s,"LanguageHelper")&&n.d(e,"LanguageHelper",(function(){return s.LanguageHelper}));var l=n("4uOh");n.o(l,"LanguageHelper")&&n.d(e,"LanguageHelper",(function(){return l.LanguageHelper}));var u=n("LWWj");n.o(u,"LanguageHelper")&&n.d(e,"LanguageHelper",(function(){return u.LanguageHelper}));var d=n("3xRY");n.d(e,"LanguageHelper",(function(){return d.a}))},hby6:function(t,e,n){"use strict";var o=n("d/kd");n.o(o,"LanguageHelper")&&n.d(e,"LanguageHelper",(function(){return o.LanguageHelper})),n.o(o,"ngForTrackBy")&&n.d(e,"ngForTrackBy",(function(){return o.ngForTrackBy})),n.o(o,"ngForTrackByIndex")&&n.d(e,"ngForTrackByIndex",(function(){return o.ngForTrackByIndex}))},jf0a:function(t,e,n){"use strict";n.d(e,"e",(function(){return o}
1)),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"l",(function(){return c})),n.d(e,"m",(function(){return a})),n.d(e,"o",(function(){return s})),n.d(e,"n",(function(){return l})),n.d(e,"g",(function(){return d})),n.d(e,"f",(function(){return g})),n.d(e,"h",(function(){return f})),n.d(e,"d",(function(){return p})),n.d(e,"r",(function(){return b})),n.d(e,"i",(function(){return h})),n.d(e,"a",(function(){return m})),n.d(e,"j",(function(){return O})),n.d(e,"k",(function(){return v})),n.d(e,"s",(function(){return y})),n.d(e,"p",(function(){return C})),n.d(e,"q",(function(){return k}));var o=function(){var t=function t(e){u(this,t),this.lang=e};return t.type="[App] ChangeUiLanguage",t}(),i=function(){var t=function t(e){u(this,t),this.moduleName=e};return t.type="[App] AddTranslations",t}(),r=function(){var t=function t(e){u(this,t),this.text=e};return t.type="[Dict] Autocomplete",t}(),c=function(){var t=function t(){u(this,t)};return t.type="[Dict] ResetAutocomplete",t}(),a=function(){var t=function t(e,n){u(this,t),this.text=e,this.source=n};return t.type="[Dict] Search",t}(),s=function(){var t=function t(e){u(this,t),this.mode=e};return t.type="[Dict] Search mode",t}(),l=function(){var t=function t(e){u(this,t),this.fullOrDef=e};return t.type="[Dict] Fulltext or default mode",t}(),d=function(){var t=function t(e,n,o){u(this,t),this.text=e,this.filters=n,this.page=o};return t.type="[Dict] FullTextSearch",t}(),g=function(){var t=function t(e,n){u(this,t),this.text=e,this.filters=n};return t.type="[Dict] FullTextCount",t}(),f=function(){var t=function t(e){u(this,t),this.entryRef=e};return t.type="[Dict] FullTextSearchEntry",t}(),p=function(){var t=function t(){u(this,t)};return t.type="[Dict] CancelSearch",t}(),b=function(){var t=function t(e){u(this,t),this.panelState=e};return t.type="[Dict] ToggleSuggestionPanel",t}(),h=function(){var t=function t(e){u(this,t),this.page=e};return t.type="[Dict] LoadSuggestionPage",t}(),m=function(){var t=function t(){u(this,t)};return t.type="[App] AccessToken",t}(),O=function(){var t=function t(){u(this,t)};return t.type="[App] RefreshToken",t}(),v=function(){var t=function t(e,n,o){u(this,t),this.gaCategory=e,this.gaAction=n,this.gaLabel=o};return t.type="[App] ReportAnalytics",t}(),y=function(){var t=function t(e){u(this,t),this.error=e};return t.type="[App] UserBlocked",t}(),C=function(){var t=function t(e){u(this,t),this.showExamples=e};return t.type="[Preferences] SetShowExamples",t}(),k=function(){var t=function t(e){u(this,t),this.showInflections=e};return t.type="[Preferences] SetShowInflections",t}()},o6q5:function(t,e){},oSKL:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("EM62"),i=function(){var t=function t(){u(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Fb({type:t,selectors:[["app-fb-svg"]],decls:3,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","alt","Facebook","viewBox","0 0 32 32"],["cx","16","cy","16","r","16",1,"cls-1"],["d","M20.1,12.87H17.32V11.06a.74.74,0,0,1,.77-.83H20V7.17H17.32a3.41,3.41,0,0,0-3.69,3.68v2H11.9V16h1.73v8.83h3.69V16h2.51Z",1,"cls-2"]],template:function(t,e){1&t&&(o.ac(),o.Rb(0,"svg",0),o.Mb(1,"circle",1),o.Mb(2,"path",2),o.Qb())},styles:[".cls-1[_ngcontent-%COMP%]{fill:#fff}.cls-2[_ngcontent-%COMP%]{fill:#00466c}[_nghost-%COMP%]{display:inline-block}"]}),t}()},r1oo:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("EM62"),i=function(){var t=function(){function t(){u(this,t),this.prefixLookup={tag:"WL_TAG_",lang:"LANG_",pos:"POS_",geo:"GEO_",gender:"GENDER_",cat:"WL_CAT_",ref:"DICT_REF_PREFIX_",scope:"SCOPE_",register:"REGISTER_",category:"WL_CAT_",game:"GAME_",prefix:"PREFIX_",dictionary:"DICTIONARY_",dict_cat:"DICT_CAT_",dict:"DICT_",dict_group:"DICT_GROUP_"}}return g(t,[{key:"transform",value:function(t,e){return t&&t.length&&this.prefixLookup[e]?this.toLabel(t,this.prefixLookup[e]):t}},{key:"toLabel",value:function(t,e){return(e+t).toUpperCase()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=o.Kb({name:"translationLabel",type:t,pure:!0}),t}()},sbs8:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var o=n("EM62"),i=function(){var t=function t(){u(this,t)};return t.\u0275mod=o.Jb({type:t}),t.\u0275inj=o.Ib({factory:function(e){return new(e||t)}}),t}()},teSO:function(t,e){},"u+5a":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var o=n("EM62"),i=n("2kYt"),r=function(t){return{focused:t}},c=function(){var t=function(){function t(){var e=this;u(this,t),this.isChecked=new o.o,this.checked=!1,this.hasFocus=!1,this.switchState=function(){e.checked=!e.checked}
1,this.onClick=function(){e.switchState(),e.isChecked.emit(e.checked)}}return g(t,[{key:"ngOnInit",value:function(){void 0!==this.initValue&&(this.checked=this.initValue,this.isChecked.emit(this.checked))}},{key:"focus",value:function(){this.hasFocus=!0}},{key:"unFocus",value:function(){this.preventBlur||(this.hasFocus=!1),this.preventBlur=!1}},{key:"allowBlur",value:function(){this.preventBlur=!1}},{key:"setToFalse",value:function(){this.checked=!1,this.isChecked.emit(this.checked)}},{key:"focusAndPreventBlur",value:function(){this.preventBlur=!0,this.hasFocus=!0}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=o.Fb({type:t,selectors:[["kt-on-off-slider"]],inputs:{initValue:"initValue",label:"label"},outputs:{isChecked:"isChecked"},decls:6,vars:5,consts:[[1,"container",3,"mousedown","mouseup"],[1,"switchLabel",3,"ngClass"],[1,"switch"],["type","checkbox",3,"checked","click","focus","blur"],[1,"slider","round"]],template:function(t,e){1&t&&(o.Rb(0,"div",0),o.Yb("mousedown",(function(){return e.focusAndPreventBlur()}))("mouseup",(function(){return e.allowBlur()})),o.Rb(1,"label",1),o.Bc(2),o.Rb(3,"div",2),o.Rb(4,"input",3),o.Yb("click",(function(){return e.onClick()}))("focus",(function(){return e.focus()}))("blur",(function(){return e.unFocus()})),o.Qb(),o.Mb(5,"div",4),o.Qb(),o.Qb(),o.Qb()),2&t&&(o.Ab(1),o.ic("ngClass",o.mc(3,r,e.hasFocus)),o.Ab(1),o.Dc(" ",e.label," "),o.Ab(2),o.ic("checked",e.checked))},directives:[i.q],styles:['.switch[_ngcontent-%COMP%]{display:inline-block;height:21px;width:30px}.switchLabel[_ngcontent-%COMP%]{display:inline-block;font-size:.875rem;font-weight:700}.focused[_ngcontent-%COMP%]{outline:2px solid #000;outline-offset:1px}.switch[_ngcontent-%COMP%]{position:relative;top:5px}.switch[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:0;outline:0;position:absolute;clip:rect(0 0 0 0)}.slider[_ngcontent-%COMP%]{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.slider[_ngcontent-%COMP%], .slider[_ngcontent-%COMP%]:before{position:absolute;transition:.4s}.slider[_ngcontent-%COMP%]:before{background-color:#fff;bottom:3px;content:"";height:15px;left:3px;width:15px}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]{background-color:#007faa}input[_ngcontent-%COMP%]:checked + .slider[_ngcontent-%COMP%]:before{transform:translateX(9px)}.slider.round[_ngcontent-%COMP%]{border-radius:34px}.slider.round[_ngcontent-%COMP%]:before{border-radius:50%}.container[_ngcontent-%COMP%]{margin:0 auto;display:inline}']}),t}()},u3IL:function(t,e){},wXUk:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var o=n("C05f"),i=n("EM62"),r=function(){var t=function(){function t(){u(this,t),this.resetSubject=new o.a(!1)}return g(t,[{key:"reset",value:function(){this.resetSubject.next(!0)}},{key:"resetSubject$",get:function(){return this.resetSubject.asObservable()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Hb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}()},zUnb:function(n,i,r){"use strict";r.r(i);var a=r("EM62"),s=r("e4iD"),l=r("5lCh"),d=r("vobO"),f=r("s2Ay"),p=r("VvXq");function b(t){var e=(localStorage.getItem("app.lang")||"fi").replace(/"/g,"");t.setDefaultLang(e);var n=[new Promise((function(t){!function e(){return window.appConfig?t():p.a.schedule(e)}()})),t.use(e).toPromise().catch((function(){}))];return function(){return Promise.all(n)}}var h,m,O,v,y,C,k,_,M,w,P,x,S,I,j,A,R,T,L=((h=function(){function t(){u(this,t)}return g(t,[{key:"handle",value:function(t){return console.warn("Could not find translation for key",t.key),""}}]),t}()).\u0275fac=function(t){return new(t||h)},h.\u0275prov=a.Hb({token:h,factory:h.\u0275fac}),h),E=r("GoAz"),F=function(t){e(i,t);var n=o(i);function i(){return u(this,i),n.apply(this,arguments)}return g(i,[{key:"getTranslation",value:function(t){return Object(E.a)(r("+OPo")("./app-".concat(t,".json")))}}]),i}(f.c),Q=r("yDe4"),B=r("qORN"),z=r("4IPk"),D=((m=function(){function t(){u(this,t)}return g(t,[{key:"getItem",value:function(t){try{return window.localStorage.getItem(t)}catch(e){return}}},{key:"setItem",value:function(t,e){try{window.localStorage.setItem(t,e)}catch(n){}}},{key:"removeItem",value:function(t){try{window.localStorage.removeItem(t)}catch(e){}}},{key:"clear",value:function(){try{window.localStorage.clear()}catch(t){}}},{key:"key",value:function(t){try{return window.localStorage.key(t)}catch(e){return null}}},{key:"length",get:function(){try{return window.localStorage.length}catch(t){return 0}}}]),t}()).\u0275fac=function(t){return new(t||m)},m.\u0275prov=a.Hb({token:m,factory:m.\u0275fac}),m),H=r("D57K"),N=r("sEIs"),V=r("7c07"),U=r("8j5Y"),Y=r("jf0a"),$=["fi","en","sv"],G=((O=function(){function t(e,n,o){u(this,t),this.ngZone=e,this.router=n,this.translateService=o,o.addLangs($)}return g(t,[{key:"ngxsAfterBootstrap",value:function(){var t=this;this.router.events.subscribe((function(e){e instanceof N.c&&t.ngZone.run((function(){return t.router.navigate(["/"])}))}))}},{key:"search",value:function(t,e){var n=e.lang;if(t.getState().lang!==n)return this.translateService.use(n).pipe(Object(U.a)((function(){return t.patchState({lang:n})}
1)))}},{key:"reportAnalytics",value:function(t,e){var n=e.gaCategory,o=e.gaAction,i=e.gaLabel;try{gtag("event",o,{event_category:n,event_label:i})}catch(t){}}},{key:"userBlocked",value:function(t,e){var n=this,o=e.error;t.dispatch(new Y.k("fraud_control","user_blocked",o)),this.ngZone.run((function(){return n.router.navigate(["/auth/unblock"])}))}},{key:"addTranslations",value:function(t,e){var n=e.moduleName,o=t.getState().lang;return this.lazyLoadTranslation(o,n).then((function(){return t.setState(Object(V.b)({loadedTranslations:Object(V.a)(n)}))}))}},{key:"lazyLoadTranslation",value:function(t,e){var n=this;return r("TQSt")("./".concat(e,"-").concat(t,".json")).then((function(e){return n.translateService.setTranslation(t,e.default,!0)})).catch((function(t){console.error(t)}))}}],[{key:"languageOptions",value:function(t){var e=t.lang;return $.filter((function(t){return t!==e}))}}]),t}()).\u0275fac=function(t){return new(t||O)(a.Vb(a.A),a.Vb(N.d),a.Vb(f.f))},O.\u0275prov=a.Hb({token:O,factory:O.\u0275fac}),Object(H.a)([Object(Q.a)(Y.e),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.e]),Object(H.b)("design:returntype",void 0)],O.prototype,"search",null),Object(H.a)([Object(Q.a)(Y.k),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.k]),Object(H.b)("design:returntype",void 0)],O.prototype,"reportAnalytics",null),Object(H.a)([Object(Q.a)(Y.s),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.s]),Object(H.b)("design:returntype",void 0)],O.prototype,"userBlocked",null),Object(H.a)([Object(Q.a)(Y.b),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.b]),Object(H.b)("design:returntype",void 0)],O.prototype,"addTranslations",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],O,"languageOptions",null),O=Object(H.a)([Object(Q.g)({name:"app",defaults:{lang:"fi",loadedTranslations:[]}}
1)],O)),q=r("4e/d"),K=r("VHTt"),Z=((v=function(){function t(e){u(this,t),this.httpClient=e}return g(t,[{key:"accessToken",value:function(t){var e=t.getState(),n=e.access_token,o=e.refresh_token;if(!n)return o?this.renew(t,o):this.login(t)}},{key:"refreshToken",value:function(t){var e=t.getState().refresh_token;return this.renew(t,e)}},{key:"login",value:function(t){return this.httpClient.get("/api/auth/anon-login",{headers:K.f}).pipe(Object(U.a)((function(e){var n=e.access_token,o=e.refresh_token;return t.setState({access_token:n,refresh_token:o})})))}},{key:"renew",value:function(t,e){var n=this;return this.httpClient.get("/api/auth/renew",{headers:Object.assign(c({},K.b,"Bearer "+e),K.f)}).pipe(Object(U.a)((function(n){var o=n.access_token,i=n.refresh_token;return t.setState({access_token:o,refresh_token:i||e})})),Object(q.a)((function(){return n.login(t)})))}}]),t}()).\u0275fac=function(t){return new(t||v)(a.Vb(d.b))},v.\u0275prov=a.Hb({token:v,factory:v.\u0275fac}),Object(H.a)([Object(Q.a)(Y.a),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],v.prototype,"accessToken",null),Object(H.a)([Object(Q.a)(Y.j),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],v.prototype,"refreshToken",null),v=Object(H.a)([Object(Q.g)({name:"auth",defaults:{access_token:null,refresh_token:null}})],v)),W=r("ROBh"),X=r("xOLM"),J=r("MH+j"),tt=r("47ST"),et=r("8lHc"),nt=r("cJ9h"),ot=function(){return function(t){return t.pipe(Object(nt.a)((function(t,e){var n=e+1;return n>5||t&&t.status&&408!==t.status?Object(tt.a)(t):Object(et.a)(500*n)})))}},it=((y=function(){function t(e){u(this,t),this.httpClient=e}return g(t,[{key:"setFulltextOrDefault",value:function(t,e){var n=e.fullOrDef;t.patchState({fullOrDef:n})}},{key:"setSearchMode",value:function(t,e){var n=e.mode;t.patchState({mode:n})}},{key:"autocomplete",value:function(t,e){var n=e.text;if(n!==t.getState().text&&!e.source){if(t.patchState({text:n,suggestions:[]}),n&&!(n.length<2))return t.patchState({isLoading:!0}),this.httpClient.get("/api/search/api/v1/autocomplete?keyword=".concat(n,"&limit=10")).pipe(Object(X.a)(ot()),Object(U.a)((function(e){return t.patchState({suggestions:e?e.result:[],isLoading:!1})})),Object(q.a)((function(){return Object(W.a)(t.patchState({isLoading:!1}))})));t.patchState({suggestions:null})}}},{key:"resetAutocomplete",value:function(t){t.patchState({text:"",suggestions:null})}}],[{key:"fullOrDef",value:function(t){return t.fullOrDef}},{key:"text",value:function(t){return t.text}},{key:"mode",value:function(t){return t.mode}},{key:"suggestions",value:function(t){var e=t.isLoading,n=t.suggestions,o=J.o.create().withState(e?"loading":"result",n);return!e&&n&&n.length&&(o=o.withState("found",null,!0)),o.show(null!==n)}}]),t}()).\u0275fac=function(t){return new(t||y)(a.Vb(d.b))},y.\u0275prov=a.Hb({token:y,factory:y.\u0275fac}),Object(H.a)([Object(Q.a)(Y.n,{cancelUncompleted:!0}),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.n]),Object(H.b)("design:returntype",void 0)],y.prototype,"setFulltextOrDefault",null),Object(H.a)([Object(Q.a)(Y.o,{cancelUncompleted:!0}),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.o]),Object(H.b)("design:returntype",void 0)],y.prototype,"setSearchMode",null),Object(H.a)([Object(Q.a)([Y.c,Y.m,Y.g]),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Object]),Object(H.b)("design:returntype",void 0)],y.prototype,"autocomplete",null),Object(H.a)([Object(Q.a)(Y.l),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],y.prototype,"resetAutocomplete",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",String)],y,"fullOrDef",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",String)],y,"text",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",String)],y,"mode",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],y,"suggestions",null),y=Object(H.a)([Object(Q.g)({name:"autocomplete",defaults:{mode:"all",fullOrDef:"default",text:"",isLoading:!1,suggestions:null}})],y)),rt=r("kuMc"),ct=r("ZTXN"),at=((k=function(){function t(e,n){u(this,t),this.httpClient=e,this.store=n,this.searchCanceller=new ct.a}return g(t,[{key:"search",value:function(t,e){var n=e.text,o=e.source,i=this.store.selectSnapshot(it.mode);return t.setState({isLoading:!0,text:n,words:[]}),"only-non-compounds"===i?t.dispatch(new Y.k("search","word_lookup","[ei-yhdyssanat]"+n)):"all"===i&&t.dispatch(new Y.k("search","word_lookup",n)),this.httpClient.get("/api/search/api/v1/search?keyword="+n).pipe(Object(X.a)(ot()),Object(U.a)((function(e){t.patchState(!i&&!o||"only-compounds"!==i||o&&"suggestion"===o?{isLoading:!1,words:e}:{isLoading:!1}),e&&e.length?"only-non-compounds"===i?t.dispatch(new Y.k("search","word_found","[ei-yhdyssanat]"+n)):"all"===i&&t.dispatch(new Y.k("search","word_found",n)):t.dispatch(new Y.r("open"))})),Object(rt.a)(this.searchCanceller),Object(q.a)((function(e){if(t.patchState({isLoading:!1}
1),404===e.status){if("only-non-compounds"===i){if(-1===n.indexOf("*")&&-1===n.indexOf("?"))return t.dispatch(new Y.k("search","word_missing","[ei-yhdyssanat]"+n))}else if("all"===i&&-1===n.indexOf("*")&&-1===n.indexOf("?"))return t.dispatch(new Y.k("search","word_missing",n));return Object(W.a)()}return t.dispatch(new Y.k("search","word_error",n))})))}},{key:"cancelSearch",value:function(t){this.searchCanceller.next(),t.patchState({isLoading:!1})}}]),t}()).\u0275fac=function(t){return new(t||k)(a.Vb(d.b),a.Vb(Q.i))},k.\u0275prov=a.Hb({token:k,factory:k.\u0275fac}),Object(H.a)([Object(Q.a)(Y.m,{cancelUncompleted:!0}),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.m]),Object(H.b)("design:returntype",void 0)],k.prototype,"search",null),Object(H.a)([Object(Q.a)(Y.d),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],k.prototype,"cancelSearch",null),k=Object(H.a)([Object(Q.g)({name:"search",defaults:{isLoading:!1,words:[]}})],k)),st=((C=function t(){u(this,t)}).\u0275fac=function(t){return new(t||C)},C.\u0275prov=a.Hb({token:C,factory:C.\u0275fac}),C=Object(H.a)([Object(Q.g)({name:"dict",children:[it,at]})],C)),lt=function(){function t(){u(this,t)}return g(t,[{key:"createPageInfo",value:function(t,e,n,o){return{page:t,totalPages:Math.ceil(e/n),count:e,totalCount:o}}}],[{key:"initialState",value:function(t){return Object.assign({text:"",isLoading:!1,count:void 0,totalCount:void 0,results:{},page:void 0,totalPages:void 0},t)}},{key:"getIsLoading",value:function(){return Object(Q.l)([this],(function(t){return t.isLoading}))}},{key:"getIsInitialLoad",value:function(){return Object(Q.l)([this],(function(t){var e=t.results,n=t.isLoading;return 0===Object.keys(e).length&&n}))}},{key:"getText",value:function(){return Object(Q.l)([this],(function(t){return t.text}))}},{key:"getPageInfo",value:function(){return Object(Q.l)([this],(function(t){return{page:t.page,totalPages:t.totalPages,count:t.count,totalCount:t.totalCount}}))}},{key:"getResult",value:function(){return Object(Q.l)([this],(function(t){var e=t.page;return t.results[e]}))}}]),t}(),ut=((_=function(t){e(i,t);var n=o(i);function i(t,e){var o;return u(this,i),(o=n.call(this)).httpClient=t,o.store=e,o}return g(i,[{key:"search",value:function(t,e){var n=e.text;if("suggestion"===e.source&&t.getState().totalPages)t.patchState({panelState:"closed"});else if(t.patchState({text:n,results:{},page:void 0,totalPages:void 0}),n&&n.length)return this.loadSuggestions(t,n,0,!1)}},{key:"loadSuggestionPage",value:function(t,e){var n=e.page;return this.loadSuggestions(t,t.getState().text,n,!0)}},{key:"toggleSuggestionPanel",value:function(t,e){var n=e.panelState;t.patchState({panelState:n||("open"===t.getState().panelState?"closed":"open")})}},{key:"loadSuggestions",value:function(t,e,n,o){var i=this;if(!t.getState().results[n]){t.patchState({isLoading:!0});var r,a=this.store.selectSnapshot(it.mode);"only-compounds"===a?(t.dispatch(new Y.k("search","word_lookup","[yhdyssanat]"+e)),r="/api/search/api/v1/headwords/compound"):r="only-non-compounds"===a?"/api/search/api/v1/headwords/noncompound":"/api/search/api/v1/autocomplete";var s=(new d.f).set("keyword",e).set("limit",K.g+"").set("start",K.g*n+"").set("searchMode",a);return this.httpClient.get(r,{params:s}).pipe(Object(U.a)((function(r){var s=r.result&&r.result.length;if(s)switch(a){case"only-compounds":t.dispatch(new Y.k("search","word_found","[yhdyssanat]"+e));break;case"only-non-compounds":(e.indexOf("*")>-1||e.indexOf("?")>-1)&&t.dispatch(new Y.k("search","word_found","[ei-yhdyssanat]"+e));break;case"all":(e.indexOf("*")>-1||e.indexOf("?")>-1)&&t.dispatch(new Y.k("search","word_found",e))}else{switch(a){case"only-compounds":t.dispatch(new Y.k("search","word_missing","[yhdyssanat]"+e));break;case"only-non-compounds":(e.indexOf("*")>-1||e.indexOf("?")>-1)&&t.dispatch(new Y.k("search","word_missing","[ei-yhdyssanat]"+e))}t.dispatch(new Y.d)}return t.patchState(Object.assign(Object.assign({},i.createPageInfo(n,r.count,K.g,r.totalCount||r.count)),{panelState:s&&!o?"closed":"open",results:Object.assign(Object.assign({},t.getState().results),c({},n,r.result)),isLoading:!1}))})),Object(q.a)((function(n){return 404===n.status&&(e.indexOf("*")>-1||e.indexOf("?")>-1)&&t.dispatch(new Y.k("search","word_missing",e)),Object(W.a)(t.patchState(Object.assign(Object.assign({},i.createPageInfo(0,0,K.g,0)),{panelState:"open",isLoading:!1})))})))}t.patchState({page:n})}}],[{key:"panelState",value:function(t){return t.panelState}}]),i}(lt)).\u0275fac=function(t){return new(t||_)(a.Vb(d.b),a.Vb(Q.i))},_.\u0275prov=a.Hb({token:_,factory:_.\u0275fac}),Object(H.a)([Object(Q.a)(Y.m,{cancelUncompleted:!0}),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.m]),Object(H.b)("design:returntype",void 0)],_.prototype,"search",null),Object(H.a)([Object(Q.a)(Y.i),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.i]),Object(H.b)("design:returntype",void 0)],_.prototype,"loadSuggestionPage",null),Object(H.a)([Object(Q.a)(Y.r),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.r]),Object(H.b)("design:returntype",void 0)],_.prototype,"toggleSuggestionPanel",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],_,"panelState",null),_=Object(H.a)([Object(Q.g)({name:"suggestions",defaults:lt.initialState({panelState:"open"})})],_)),dt=function(t,e){var n=(new d.f).set("keyword",t).set("baseforms",e.baseforms?"yes":"no").set("order",e.order).set("limit",K.d+"").set("contextlimit","70");return e.field&&(n=n.set("fields",e.field)),n},gt=function(t,e){var n=(new d.f).set("keyword",t).set("baseforms",e.baseforms?"yes":"no");return e.field&&(n=n.set("fields",e.field)),n},ft=((P=M=function(t){e(i,t);var n=o(i);function i(t,e){var o;return u(this,i),(o=n.call(this)).httpClient=t,o.store=e,o}return g(i,[{key:"fullTextSearch",value:function(t,e){var n=this,o=e.text,i=e.filters,r=e.page,a=dt(o,i),s=a.toString()===dt(t.getState().text,t.getState().filters).toString();if(!s||r!==t.getState().page){var l=s?{}:{text:o,filters:Object.assign({},i),results:{}},u=!s&&gt(o,i).toString()!==gt(t.getState().text,t.getState().filters).toString();return u&&(l.counted=!1),s&&t.getState().results[r]?(l.page=r,t.patchState(l)):(l.isLoading=!0,t.patchState(l),a=a.set("start",r*K.d+""),0===r&&t.dis
1patch(new Y.k("search","word_lookup","[koko teksti] "+o)),this.httpClient.get("/api/search/api/v1/fulltext_search",{params:a}).pipe(Object(U.a)((function(e){u&&(e.count<=K.d?t.patchState({counted:!0,count:e.count}):n.store.dispatch(new Y.f(o,i)));var a=t.getState().totalCount;return 0===r&&t.dispatch(new Y.k("search",e.kwicList.length>0?"word_found":"word_missing","[koko teksti] "+o)),t.patchState(Object.assign(Object.assign({},n.createPageInfo(r,t.getState().counted?t.getState().count:e.count,K.d,a)),{results:Object.assign(Object.assign({},t.getState().results),c({},r,e.kwicList)),isLoading:!1}))})),Object(q.a)((function(e){throw t.dispatch(new Y.k("search","word_error","[koko teksti] "+o)),t.patchState({isLoading:!1}),e}))))}}},{key:"fullTextCount",value:function(t,e){var n=this,o=e.text,i=e.filters,r=gt(o,i);return this.httpClient.get("/api/search/api/v1/fulltext_count",{params:r}).pipe(Object(U.a)((function(e){return t.patchState(Object.assign(Object.assign({},n.createPageInfo(t.getState().page,void 0!==e.count?e.count:t.getState().count,K.d,e.totalCount)),{counted:void 0!==e.count}))})),Object(q.a)((function(){return Object(W.a)({})})))}},{key:"fullTextSearchEntry",value:function(t,e){var n=e.entryRef;if(!t.getState().words[n])return this.httpClient.get("/api/search/api/v1/fulltext_entry?source="+n).pipe(Object(U.a)((function(e){return t.patchState({words:Object.assign(Object.assign({},t.getState().words),c({},n,e))})})))}},{key:"search",value:function(t){t.setState(lt.initialState({filters:t.getState().filters,words:t.getState().words,counted:!1}))}}],[{key:"filters",value:function(t){var e=t.filters;return Object.assign({},e)}},{key:"counted",value:function(t){return t.counted}},{key:"getEntry",value:function(t){return Object(Q.l)([M],(function(e){return e.words[t]}))}}]),i}(lt)).\u0275fac=function(t){return new(t||P)(a.Vb(d.b),a.Vb(Q.i))},P.\u0275prov=a.Hb({token:P,factory:P.\u0275fac}),Object(H.a)([Object(Q.a)(Y.g),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.g]),Object(H.b)("design:returntype",void 0)],P.prototype,"fullTextSearch",null),Object(H.a)([Object(Q.a)(Y.f,{cancelUncompleted:!0}),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.f]),Object(H.b)("design:returntype",void 0)],P.prototype,"fullTextCount",null),Object(H.a)([Object(Q.a)(Y.h),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.h]),Object(H.b)("design:returntype",void 0)],P.prototype,"fullTextSearchEntry",null),Object(H.a)([Object(Q.a)(Y.m),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],P.prototype,"search",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],P,"filters",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",void 0)],P,"counted",null),P=M=Object(H.a)([Object(Q.g)({name:"fulltextsearch",defaults:lt.initialState({filters:K.c,words:{},counted:!1})})],P)),pt=((w=function(){function t(){u(this,t)}return g(t,[{key:"setShowExamples",value:function(t,e){var n=e.showExamples;t.patchState({showExamples:n})}},{key:"setShowInflections",value:function(t,e){var n=e.showInflections;t.patchState({showInflections:n})}}],[{key:"dictionaryPreferences",value:function(t){return{speech_on:!1,speech_speed:1,show_machine_translation:!1,show_examples:t.showExamples,show_inflections:t.showInflections,search_langs:"",dict_order:[],view_preference:"normal"}}}]),t}()).\u0275fac=function(t){return new(t||w)},w.\u0275prov=a.Hb({token:w,factory:w.\u0275fac}),Object(H.a)([Object(Q.a)(Y.p),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.p]),Object(H.b)("design:returntype",void 0)],w.prototype,"setShowExamples",null),Object(H.a)([Object(Q.a)(Y.q),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object,Y.q]),Object(H.b)("design:returntype",void 0)],w.prototype,"setShowInflections",null),Object(H.a)([Object(Q.f)(),Object(H.b)("design:type",Function),Object(H.b)("design:paramtypes",[Object]),Object(H.b)("design:returntype",Object)],w,"dictionaryPreferences",null),w=Object(H.a)([Object(Q.g)({name:"preferences",defaults:{showExamples:!1,showInflections:!1}})],w)),bt=[G,Z,st,ut,it,at,ft,pt],ht=((x=function t(){u(this,t)}).\u0275mod=a.Jb({type:x}),x.\u0275inj=a.Ib({factory:function(t){return new(t||x)},providers:[{provide:B.b,useClass:D}],imports:[[Q.d.forRoot(bt,{developmentMode:!1}),B.a.forRoot({key:["auth.refresh_token","app.lang","preferences"]}),z.a.forRoot({name:"Kielitoimiston sanakirja state",disabled:!0})]]}),x),mt=r("d/kd"),Ot=r("7SLS"),vt=((S=function(){function t(e){u(this,t),this.store=e}return g(t,[{key:"canLoad",value:function(t){var e=t.data?t.data.translations:void 0;return!e||!e.length||this.store.dispatch(new Y.b(e)).pipe(Object(Ot.a)(!0))}}]),t}()).\u0275fac=function(t){return new(t||S)(a.Vb(Q.i))},S.\u0275prov=a.Hb({token:S,factory:S.\u0275fac}),S),yt=r("7ntQ"),Ct=function(t){return!t.url.startsWith("/api")||t.url.startsWith("/api/auth")},kt=function(t,e){return t.clone({headers:t.headers.set(K.b,"Bearer "+e)})},_t=((A=function(){function t(e){u(this,t),this.store=e}return g(t,[{key:"intercept",value:function(t,e){var n=this;return Ct(t)?e.handle(t):(this.pendingAcquireToken||(this.pendingAcquireToken=this.store.dispatch(new Y.a).pipe(Object(U.a)({complete:function(){return n.pendingAcquireToken=void 0}}
1),Object(yt.a)())),this.pendingAcquireToken.pipe(Object(nt.a)((function(){return e.handle(kt(t,n.store.snapshot().auth.access_token))}))))}}]),t}()).\u0275fac=function(t){return new(t||A)(a.Vb(Q.i))},A.\u0275prov=a.Hb({token:A,factory:A.\u0275fac}),A),Mt=((j=function(){function t(e){u(this,t),this.store=e}return g(t,[{key:"intercept",value:function(t,e){var n=this;return Ct(t)?e.handle(t):e.handle(t).pipe(Object(q.a)((function(o){return o&&401===o.status?(n.pendingRenew||(n.pendingRenew=n.store.dispatch(new Y.j).pipe(Object(U.a)({complete:function(){return n.pendingRenew=void 0}}),Object(yt.a)())),n.pendingRenew.pipe(Object(nt.a)((function(){return e.handle(kt(t,n.store.snapshot().auth.access_token))})))):Object(tt.a)(o)})))}}]),t}()).\u0275fac=function(t){return new(t||j)(a.Vb(Q.i))},j.\u0275prov=a.Hb({token:j,factory:j.\u0275fac}),j),wt=((I=function(){function t(e){u(this,t),this.store=e}return g(t,[{key:"intercept",value:function(t,e){var n=this;return e.handle(t).pipe(Object(U.a)({error:function(t){t instanceof d.d&&429===t.status&&n.store.dispatch(new Y.s(t.error))}}))}}]),t}()).\u0275fac=function(t){return new(t||I)(a.Vb(Q.i))},I.\u0275prov=a.Hb({token:I,factory:I.\u0275fac}),I),Pt=[{matcher:function(t){return t&&2===t.length&&"info"===t[0].path?{consumed:[t[0]]}:null},canLoad:[vt],data:{translations:"info"},loadChildren:function(){return r.e(9).then(r.bind(null,"Dxpt")).then((function(t){return t.InfoModule}))}},{path:"auth/unblock",loadChildren:function(){return r.e(10).then(r.bind(null,"fWHa")).then((function(t){return t.UnblockModule}))}}],xt=((R=function t(){u(this,t)}).\u0275mod=a.Jb({type:R}),R.\u0275inj=a.Ib({factory:function(t){return new(t||R)},providers:[vt,{provide:d.a,useClass:_t,multi:!0,deps:[Q.i]},{provide:d.a,useClass:Mt,multi:!0,deps:[Q.i]},{provide:d.a,useClass:wt,multi:!0,deps:[Q.i]}],imports:[[N.h.forRoot(Pt,{useHash:!0,scrollPositionRestoration:"enabled",onSameUrlNavigation:"reload"})],N.h]}),R),St=r("Igun"),It=((T=function(){function t(e){u(this,t),this.appConfig=e}return g(t,[{key:"handleError",value:function(t){if(console.error(t),(!(t&&t instanceof d.d)||400!==t.status&&401!==t.status&&404!==t.status)&&(this.notifier||this.createNotifier())){var e={version:this.appConfig().version};this.notifier.notify({error:t,context:e})}}},{key:"createNotifier",value:function(){var t=this.appConfig();if(t&&t.airbrakeId&&t.airbrakeKey)return this.notifier=new St.a({projectId:+t.airbrakeId,projectKey:t.airbrakeKey,environment:"client-"+t.environment,remoteConfigHost:"https://sanakirja.fi/airbrake",host:"https://sanakirja.fi/airbrake"}),this.notifier}}]),t}()).\u0275fac=function(t){return new(t||T)(a.Vb(K.a))},T.\u0275prov=a.Hb({token:T,factory:T.\u0275fac}),T),jt=r("2kYt"),At=r("nIj0"),Rt=r("sg/T"),Tt=r("IdLP"),Lt=r("ctAk"),Et=r("u+5a"),Ft=r("KZLo"),Qt=["autocompleteResult"],Bt=["autocompleteLoading"],zt=["autocompleteResults"],Dt=["autocompleteNotFound"],Ht=function(t){return{hide:t}};function Nt(t,e){if(1&t&&(a.Rb(0,"div",21),a.Rb(1,"div",22),a.Rb(2,"form",23),a.Rb(3,"label"),a.Mb(4,"input",24),a.Bc(5),a.cc(6,"translate"),a.Qb(),a.Rb(7,"label"),a.Mb(8,"input",25),a.Bc(9),a.cc(10,"translate"),a.Qb(),a.Rb(11,"label"),a.Mb(12,"input",26),a.Bc(13),a.cc(14,"translate"),a.Qb(),a.Qb(),a.Qb(),a.Rb(15,"div",22),a.Rb(16,"form",27),a.Rb(17,"div",28),a.Rb(18,"label"),a.Mb(19,"input",29),a.Bc(20),a.cc(21,"translate"),a.Qb(),a.Rb(22,"label"),a.Mb(23,"input",30),a.Bc(24),a.cc(25,"translate"),a.Qb(),a.Rb(26,"label"),a.Mb(27,"input",31),a.Bc(28),a.cc(29,"translate"),a.Qb(),a.Qb(),a.Rb(30,"div",32),a.Rb(31,"label"),a.Mb(32,"input",33),a.Bc(33),a.cc(34,"translate"),a.Qb(),a.Qb(),a.Qb(),a.Qb(),a.Qb()),2&t){var n=a.bc();a.Ab(1),a.ic("ngClass",a.mc(25,Ht,"default"!==n.searchTab)),a.Ab(1),a.ic("formGroup",n.defaultSearchForm),a.Ab(3),a.Dc(" ",a.dc(6,11,"DICT_SEARCH_FILTERS_ALL")," "),a.Ab(4),a.Dc(" ",a.dc(10,13,"DICT_SEARCH_FILTERS_COMPOUND")," "),a.Ab(4),a.Dc(" ",a.dc(14,15,"DICT_SEARCH_FILTERS_NON_COMPOUND")," "),a.Ab(2),a.ic("ngClass",a.mc(27,Ht,"fulltext"!==n.searchTab)),a.Ab(1),a.ic("formGroup",n.fulltextSearchForm),a.Ab(4),a.Dc(" ",a.dc(21,17,"DICT_SEARCH_FILTERS_FULL_TEXT")," "),a.Ab(4),a.Dc(" ",a.dc(25,19,"DICT_SEARCH_FILTERS_DEFINITIONS")," "),a.Ab(4),a.Dc(" ",a.dc(29,21,"DICT_SEARCH_FILTERS_EXAMPLES")," "),a.Ab(5),a.Dc(" ",a.dc(34,23,"DICT_SEARCH_FILTERS_BASEFORMS")," ")}}function Vt(t,e){1&t&&a.Bc(0),2&t&&a.Dc(" ",e.result.headword,"\n")}function Ut(t,e){1&t&&(a.Bc(0),a.cc(1,"translate")),2&t&&a.Dc(" ",a.dc(1,1,"DICT_SEARCH_IN_PROGRESS"),"\n")}var Yt=function(t){return{count:t}};function $t(t,e){if(1&t&&(a.Bc(0),a.cc(1,"translate"),a.cc(2,"async")),2&t){var n=a.bc();a.Dc(" ",a.ec(1,1,"DICT_SEARCH_RESULTS_FOUND",a.mc(6,Yt,a.dc(2,4,n.autocompleteSuggestions$).data.length-1)),"\n")}}function Gt(t,e){1&t&&(a.Bc(0),a.cc(1,"translate")),2&t&&a.Dc(" ",a.dc(1,1,"DICT_SEARCH_NO_RESULTS_FOUND"),"\n")}var qt,Kt,Zt,Wt,Xt=function(t,e){return{"selected-tab":t,"cropped-border":e}},Jt=function(t){return{"advanced-on":t}},te=((qt=function(){function t(e,n,o,i){var r=this;u(this,t),this.store=e,this.router=n,this.resetService=o,this.window=i,this.showElaboratedSearch=!1,this.searchTab="default",this.suggestionTemplates=function(t){return"result"===t?r.autocompleteResult:"notfound"===t?r.autocompleteNotFound:"found"===t?r.autocompleteResults:r.autocompleteLoading},this.defaultSearchForm=new At.e({defaultSearch:new At.c("all")}),this.fulltextSearchForm=new At.e({field:new At.c(""),baseforms:new At.c(!1)})}return g(t,[{key:"ngOnInit",value:function(){var t=this,e="ontouchstart"in this.window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;this.isDesktop=!e,this.searchFilters=this.store.selectSnapshot(ft.filters);var n=this.store.selectSnapshot(it.fullOrDef),o=this.searchFilters.field,i=this.searchFilters.baseforms;if("fulltext"===n)this.setSearchMode("fulltext"),("defs"===o||"examps"===o||i)&&(this.showElaboratedSearch=!0,this.fulltextSearchForm.patchValue({field:o||"",baseforms:i}));else{var r=this.store.selectSnapshot(it.mode);this.defaultSearchForm.patchValue({defaultSearch:r||"all"}),"only-compounds"!==r&&"only-non-compounds"!==r||(this.showElaboratedSearch=!0)}this.defaultSearchSub=this.defaultSearchForm.valueChanges.subscribe((function(e){return t.store.dispatch(new Y.o(e.defaultSearch))})),this.resetSubsc=this.resetService.resetSubject$.subscribe((function(e){e&&t.toWelcomePage()}))}},{key:"ngOnDestroy",value:function(){this.defaultSearchSub&&this.defaultSearchSub.unsubscribe(),this.resetSubsc&&this.resetSubsc.unsubscribe()}},{key:"toWelcomePage",value:function(){var t=this;this.router.navigateByUrl("/").then((function(){t.slider.first.setToFalse(),t.searchTab="default"}))}},{key:"elabSearchOn",value:function(t){this.showElaboratedSearch=t,t||(this.defaultSearchForm.patchValue({defaultSearch:"all"}),this.fulltextSearchForm.patchValue({field:"",baseforms:!1}))}},{key:"setSearchMode",value:function(t){this.searchTab=t}},{key:"setShowExamples",value:function(t){this.store.dispatch(new Y.p(t))}},{key:"onSearch",value:function(t){"fulltext"===this.searchTab?this.router.navigate(["fulltext",t],this.createNavigationExtras()):this.router.navigate([t],this.createDefaultSearchNavigationalExtras())}},{key:"onAutocomplete",value:function(t){this.store.dispatch(new Y.c(t))}},{key:"resetAutocomplete",value:function(){this.store.dispatch(new Y.l)}},{key:"createDefaultSearchNavigationalExtras",value:function(){return{queryParams:{searchMode:this.store.selectSnapshot(it.mode)}}}},{key:"createNavigationExtras",value:function(){var t=this.fulltextSearchForm.value.field,e=this.fulltextSearchForm.value.baseforms;return{queryParams:{order:this.store.selectSnapshot(ft.filters).order,field:t,baseforms:e}}}}]),t}()).\u0275fac=function(t){return new(t||qt)(a.Lb(Q.i),a.Lb(N.d),a.Lb(J.l),a.Lb(J.p))},qt.\u0275cmp=a.Fb({type:qt,selectors:[["ng-component"]],viewQuery:function(t,e){var n;1&t&&(a.yc(Qt,!0),a.yc(Bt,!0),a.yc(zt,!0),a.yc(Dt,!0),a.Fc(J.g,!0)),2&t&&(a.pc(n=a.Zb())&&(e.autocompleteResult=n.first),a.pc(n=a.Zb())&&(e.autocompleteLoading=n.first),a.pc(n=a.Zb())&&(e.autocompleteResults=n.first),a.pc(n=a.Zb())&&(e.autocompleteNotFound=n.first),a.pc(n=a.Zb())&&(e.slider=n))},decls:36,vars:38,consts:[[1,"dict-search-bg"],[1,"centered-top-content"],[1,"side-space"],[1,"actual-content"],[1,"logo-area"],[1,"main-logo-link",3,"click"],[1,"main-logo"],["lang","fi",1,"main-logo-text"],[1,"kotus-search"],[1,"elaborated-search-button-wrapper"],["id","e2e-advanced-search",3,"initV
1alue","label","isChecked"],["role","tablist",1,"tab-container"],["role","tab",1,"search-tab",3,"ngClass","click"],["id","e2e-fulltext","role","tab",1,"search-tab",3,"ngClass","click"],["class","elaborated-search-settings",4,"ngIf"],[1,"search-field",3,"ngClass","inputPlaceholder","text","textProperty","autofocus","maxLength","keepFocus","autocompleteSuggestions","suggestionTemplates","search","typing","clear"],["aria-live","assertive","aria-relevant","additions",1,"main-content-area"],["autocompleteResult",""],["autocompleteLoading",""],["autocompleteResults",""],["autocompleteNotFound",""],[1,"elaborated-search-settings"],[3,"ngClass"],[3,"formGroup"],["id","e2e-all","type","radio","name","defaultSearch","formControlName","defaultSearch","value","all"],["id","e2e-compounds","type","radio","name","defaultSearch","formControlName","defaultSearch","value","only-compounds"],["id","e2e-non-compounds","type","radio","name","defaultSearch","formControlName","defaultSearch","value","only-non-compounds"],[1,"form-with-groups",3,"formGroup"],[1,"form-group"],["type","radio","name","field","formControlName","field","value",""],["id","e2e-defs","type","radio","name","field","formControlName","field","value","defs"],["id","e2e-examps","type","radio","name","field","formControlName","field","value","examps"],[1,"form-group","checkbox-group"],["id","e2e-inflected-forms","type","checkbox","formControlName","baseforms"]],template:function(t,e){1&t&&(a.Rb(0,"div",0),a.Rb(1,"div",1),a.Mb(2,"div",2),a.Rb(3,"div",3),a.Rb(4,"div",4),a.Rb(5,"button",5),a.Yb("click",(function(){return e.toWelcomePage()})),a.Mb(6,"app-main-logo",6),a.Rb(7,"span",7),a.Bc(8,"Kielitoimiston sanakirja"),a.Qb(),a.Qb(),a.Qb(),a.Rb(9,"div",8),a.Rb(10,"div",9),a.Rb(11,"kt-on-off-slider",10),a.Yb("isChecked",(function(t){return e.elabSearchOn(t)})),a.cc(12,"translate"),a.Qb(),a.Qb(),a.Rb(13,"div",11),a.Rb(14,"button",12),a.Yb("click",(function(){return e.setSearchMode("default")})),a.Bc(15),a.cc(16,"translate"),a.Qb(),a.Rb(17,"button",13),a.Yb("click",(function(){return e.setSearchMode("fulltext")})),a.Bc(18),a.cc(19,"translate"),a.Qb(),a.Qb(),a.zc(20,Nt,35,29,"div",14),a.Rb(21,"sk-autocomplete",15),a.Yb("search",(function(t){return e.onSearch(t.clean_headword)}))("typing",(function(t){return e.onAutocomplete(t)}))("clear",(function(){return e.resetAutocomplete()})),a.cc(22,"translate"),a.cc(23,"async"),a.cc(24,"async"),a.Qb(),a.Qb(),a.Qb(),a.Mb(25,"div",2),a.Qb(),a.Qb(),a.Rb(26,"div",16),a.Mb(27,"router-outlet"),a.Qb(),a.zc(28,Vt,1,1,"ng-template",null,17,a.Ac),a.zc(30,Ut,2,3,"ng-template",null,18,a.Ac),a.zc(32,$t,3,8,"ng-template",null,19,a.Ac),a.zc(34,Gt,2,3,"ng-template",null,20,a.Ac)),2&t&&(a.Ab(11),a.ic("initValue",e.showElaboratedSearch)("label",a.dc(12,18,"DICT_SEARCH_MODE_TOPIC")),a.Ab(3),a.ic("ngClass",a.nc(30,Xt,"default"===e.searchTab,e.showElaboratedSearch)),a.Bb("aria-selected","default"===e.searchTab),a.Ab(1),a.Dc(" ",a.dc(16,20,"DICT_SEARCH_MODE_NORMAL_SEARCH")," "),a.Ab(2),a.ic("ngClass",a.nc(33,Xt,"fulltext"===e.searchTab,e.showElaboratedSearch)),a.Bb("aria-selected","fulltext"===e.searchTab),a.Ab(1),a.Dc(" ",a.dc(19,22,"DICT_SEARCH_MODE_FULL_TEXT")," "),a.Ab(2),a.ic("ngIf",e.showElaboratedSearch),a.Ab(1),a.ic("ngClass",a.mc(36,Jt,e.showElaboratedSearch))("inputPlaceholder",a.dc(22,24,"SEARCH_INPUT_PLACEHOLDER"))("text",a.dc(23,26,e.text$))("textProperty","clean_headword")("autofocus",!0)("maxLength",70)("keepFocus",e.isDesktop)("autocompleteSuggestions",a.dc(24,28,e.autocompleteSuggestions$))("suggestionTemplates",e.suggestionTemplates))},directives:[Lt.a,Et.a,jt.q,jt.t,Ft.a,N.i,At.q,At.l,At.f,At.n,At.b,At.k,At.d,At.a],pipes:[f.e,jt.b],styles:['.dict-search-bg[_ngcontent-%COMP%]{background-color:#f7f7f7}.actual-content[_ngcontent-%COMP%]{padding:1rem}.logo-area[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:.5rem}.main-logo-link[_ngcontent-%COMP%]{align-items:center;background-color:transparent;border:none;display:inline-flex;padding:0;text-decoration:none}.main-logo[_ngcontent-%COMP%]{width:3rem;margin-right:4px}.main-logo-text[_ngcontent-%COMP%]{color:#00436f;font-family:"Noto Serif";font-size:19px;font-weight:700;line-height:1;margin:0}.elaborated-search-button-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.tab-container[_ngcontent-%COMP%]{align-items:flex-end;display:flex;margin-top:.5rem;position:relative;bottom:-1px;z-index:1}.search-tab[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #007faa;border-top-right-radius:5px;border-top-left-radius:5px;color:#007faa;font-size:.875rem;flex:1 1 50%;height:28px;padding:0 1rem;text-align:left}.search-tab[_ngcontent-%COMP%]:focus, .search-tab[_ngcontent-%COMP%]:hover{background-color:#007faa;color:#fff}.search-tab.selected-tab[_ngcontent-%COMP%]{background-color:#fff;border-color:#999;color:#000;cursor:default;font-weight:700;height:32px}.search-tab.selected-tab.cropped-border[_ngcontent-%COMP%]{background:linear-gradient(0deg,transparent,#fff 1px),linear-gradient(90deg,#fff 1rem,#999 0,#999 calc(100% - 1rem),#fff calc(100% - 1rem));border-bottom-color:#fff}.elaborated-search-settings[_ngcontent-%COMP%]{background-color:#fff;border:solid #999;border-width:1px 1px 0;padding:.75rem 1rem .25rem}.hide[_ngcontent-%COMP%]{display:none}label[_ngcontent-%COMP%]{align-items:baseline;display:flex;font-size:.875rem;line-height:1.2;margin-bottom:.5rem;min-height:1.75rem}label[_ngcontent-%COMP%]:last-child{margin-bottom:0}input[_ngcontent-%COMP%]{flex:0 0 auto;margin-right:.5rem}
1.checkbox-group[_ngcontent-%COMP%]{border-top:1px solid #cbcbcb;margin-top:.5rem;padding-top:.75rem}.search-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #999;border-bottom-right-radius:5px;border-bottom-left-radius:5px;display:block}.kotus-search[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;max-width:460px;width:100%}.main-content-area[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;flex-direction:column}@media (min-width:600px){.actual-content[_ngcontent-%COMP%]{padding:2rem 0}.logo-area[_ngcontent-%COMP%]{margin-bottom:.75rem}.main-logo[_ngcontent-%COMP%]{margin-right:.5rem;width:4.8rem}.main-logo-text[_ngcontent-%COMP%]{font-size:22px}.elaborated-search-button-wrapper[_ngcontent-%COMP%]{position:absolute;right:0;z-index:2}.search-tab[_ngcontent-%COMP%]{flex:0 0 auto}.elaborated-search-settings[_ngcontent-%COMP%]{border-top-right-radius:5px;padding-bottom:.75rem}label[_ngcontent-%COMP%]{align-items:center}.form-with-groups[_ngcontent-%COMP%]{display:flex}.form-group[_ngcontent-%COMP%]{flex:1 1 50%}.checkbox-group[_ngcontent-%COMP%]{border-top:none;margin-top:0;padding-top:0}.search-field[_ngcontent-%COMP%]{border-top-right-radius:5px}.search-field.advanced-on[_ngcontent-%COMP%]{border-top-right-radius:0}.kotus-search[_ngcontent-%COMP%]{position:relative}}@media (min-width:960px){.centered-top-content[_ngcontent-%COMP%]{display:flex;max-width:1214px;margin-right:auto;margin-left:auto;width:100%}.side-space[_ngcontent-%COMP%]{flex:0 0 250px}.actual-content[_ngcontent-%COMP%]{flex:1 1 auto}.main-logo[_ngcontent-%COMP%]{width:5.5rem}.main-logo-text[_ngcontent-%COMP%]{font-size:1.625rem}.elaborated-search-settings[_ngcontent-%COMP%]{padding-right:2rem;padding-left:2rem}.kotus-search[_ngcontent-%COMP%]{margin-left:0;margin-right:0;max-width:none}.search-tab[_ngcontent-%COMP%]{height:31px}.search-tab.selected-tab[_ngcontent-%COMP%]{height:36px}}@media (min-width:1440px){.elaborated-search-button-wrapper[_ngcontent-%COMP%]{margin-right:2rem}.search-tab[_ngcontent-%COMP%]{padding:0 2rem}}']}),Object(H.a)([Object(Q.e)(it.text),Object(H.b)("design:type",Tt.a)],qt.prototype,"text$",void 0),Object(H.a)([Object(Q.e)(it.suggestions),Object(H.b)("design:type",Tt.a)],qt.prototype,"autocompleteSuggestions$",void 0),qt),ee=r("CHJx"),ne=((Wt=function(){function t(e,n){u(this,t),this.route=e,this.anchorScrollerService=n}return g(t,[{key:"ngAfterViewInit",value:function(){var t=this;this.anchor=this.route.fragment.subscribe((function(e){return t.anchorScrollerService.scrollToAnchor(e)}))}},{key:"ngOnDestroy",value:function(){this.anchor&&this.anchor.unsubscribe()}}]),t}()).\u0275fac=function(t){return new(t||Wt)(a.Lb(N.a),a.Lb(ee.a))},Wt.\u0275cmp=a.Fb({type:Wt,selectors:[["ng-component"]],decls:6,vars:4,consts:[["id","main-content",1,"content-container","welcome-section"],[1,"centered-content"],[1,"kt-section-heading",3,"translate"],[3,"translate"]],template:function(t,e){1&t&&(a.Rb(0,"div",0),a.Rb(1,"div",1),a.Mb(2,"h1",2),a.Mb(3,"p",3),a.Mb(4,"p",3),a.Mb(5,"p",3),a.Qb(),a.Qb()),2&t&&(a.Ab(2),a.ic("translate","WELCOME_PAGE_HEADING"),a.Ab(1),a.ic("translate","WELCOME_PAGE_1"),a.Ab(1),a.ic("translate","WELCOME_PAGE_UPDATABLE"),a.Ab(1),a.ic("translate","WELCOME_PAGE_DATE"))},directives:[f.b],styles:[".welcome-section[_ngcontent-%COMP%]{background-color:#f7f7f7;flex:1 1 auto;padding-top:1rem;padding-bottom:2rem}"]}),Wt),oe=((Zt=function t(){u(this,t)}).\u0275fac=function(t){return new(t||Zt)},Zt.\u0275cmp=a.Fb({type:Zt,selectors:[["sk-spinner"]],inputs:{size:"size"},decls:4,vars:1,consts:[[1,"spinner-container",3,"ngClass"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 100 100",1,"spinner"],["d","M50,0a50,50,0,1,0,50,50A50,50,0,0,0,50,0Zm0,85A35,35,0,1,1,85,50,35,35,0,0,1,50,85Z",1,"ring"],["d","M100,50H85A35,35,0,0,0,50,15V0A50,50,0,0,1,100,50Z",1,"ringlet"]],template:function(t,e){1&t&&(a.Rb(0,"div",0),a.ac(),a.Rb(1,"svg",1),a.Mb(2,"path",2),a.Mb(3,"path",3),a.Qb(),a.Qb()),2&t&&a.ic("ngClass",e.size)},directives:[jt.q],styles:[".spinner-container[_ngcontent-%COMP%]{height:5rem;width:5rem;position:relative;margin:0 auto}.spinner-container.small[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}
1.spinner-container.medium[_ngcontent-%COMP%]{width:3rem;height:3rem}.spinner[_ngcontent-%COMP%]{height:100%;width:100%;transform:rotate(0turn) translateZ(0);-webkit-animation:spin 1.3s linear infinite;animation:spin 1.3s linear infinite}.ring[_ngcontent-%COMP%]{fill:#dbdbdb}.yellow[_ngcontent-%COMP%]   .ring[_ngcontent-%COMP%]{fill:#ffe000}.black[_ngcontent-%COMP%]   .ring[_ngcontent-%COMP%]{fill:#111}.black[_ngcontent-%COMP%]   .ringlet[_ngcontent-%COMP%]{fill:#ffe000}.ringlet[_ngcontent-%COMP%]{fill:rgba(17,17,17,.2)}@-webkit-keyframes spin{to{transform:rotate(1turn) translateZ(0)}}@keyframes spin{to{transform:rotate(1turn) translateZ(0)}}"]}),Zt),ie=((Kt=function(){function t(){u(this,t),this.insertSpace=function(t){return t.slice(0,-3)+" "+t.slice(-3)}}return g(t,[{key:"transform",value:function(t){return(t=String(t)).length>3?this.insertSpace(t):t}}]),t}()).\u0275fac=function(t){return new(t||Kt)},Kt.\u0275pipe=a.Kb({name:"separateThousands",type:Kt,pure:!0}),Kt);function re(t,e){1&t&&a.Mb(0,"div")}var ce=function(t,e){return{count:t,totalPages:e}};function ae(t,e){if(1&t&&(a.Rb(0,"span"),a.Bc(1,". "),a.Mb(2,"span",23),a.cc(3,"separateThousands"),a.Qb()),2&t){var n=a.bc(4);a.Ab(2),a.ic("translate","TOTAL_MATCHES_EXCEED")("translateParams",a.nc(4,ce,a.dc(3,2,n.matchCount),n.totalPages))}}var se=function(t){return{count:t}};function le(t,e){if(1&t&&(a.Rb(0,"p",20),a.Mb(1,"span",21),a.cc(2,"separateThousands"),a.zc(3,ae,4,7,"span",22),a.Qb()),2&t){var n=a.bc(3);a.Ab(1),a.ic("translate","TOTAL_MATCHES")("translateParams",a.mc(5,se,a.dc(2,3,n.matches))),a.Ab(2),a.ic("ngIf",n.totalCount>n.matchCount)}}function ue(t,e){1&t&&(a.Rb(0,"div",24),a.Bc(1),a.cc(2,"translate"),a.Mb(3,"sk-spinner",25),a.Qb()),2&t&&(a.Ab(1),a.Dc(" ",a.dc(2,2,"COUNTING_MATCHES")," "),a.Ab(2),a.ic("size","small"))}function de(t,e){if(1&t&&(a.Rb(0,"div",16),a.zc(1,re,1,0,"div",17),a.zc(2,le,4,7,"ng-template",null,18,a.Ac),a.zc(4,ue,4,4,"ng-template",null,19,a.Ac),a.Qb()),2&t){var n=a.qc(3),o=a.qc(5),i=a.bc(2);a.Ab(1),a.ic("ngIf",i.counted)("ngIfThen",n)("ngIfElse",o)}}function ge(t,e){1&t&&a.Mb(0,"sk-spinner",26),2&t&&a.ic("size","small")}function fe(t,e){if(1&t){var n=a.Sb();a.Rb(0,"button",27),a.Yb("click",(function(){a.tc(n);var t=a.bc(2);return t.loadMore.emit(t.totalPages-1)})),a.cc(1,"translate"),a.Bc(2),a.Qb()}if(2&t){var o=a.bc(2);a.ic("disabled",o.currentPage+1==o.totalPages),a.Bb("aria-label",a.dc(1,3,"ATTRIBUTE_LAST_PAGE")),a.Ab(2),a.Dc("",o.totalPages," ")}}function pe(t,e){1&t&&(a.Rb(0,"div",28),a.Mb(1,"sk-spinner",29),a.Qb()),2&t&&(a.Ab(1),a.ic("size","small"))}var be=function(t,e){return{currentPage:t,totalPages:e}};function he(t,e){if(1&t){var n=a.Sb();a.Rb(0,"div",1),a.zc(1,de,6,3,"div",2),a.Rb(2,"div",3),a.Rb(3,"div",4),a.Mb(4,"span",5),a.Rb(5,"div",6),a.zc(6,ge,1,1,"sk-spinner",7),a.Qb(),a.Qb(),a.Rb(7,"nav",8),a.cc(8,"translate"),a.Rb(9,"button",9),a.Yb("click",(function(){return a.tc(n),a.bc().loadMore.emit(0)})),a.cc(10,"translate"),a.Bc(11," 1 "),a.Qb(),a.Rb(12,"button",10),a.Yb("click",(function(){a.tc(n);var t=a.bc();return t.loadMore.emit(t.currentPage-1)})),a.cc(13,"translate"),a.Mb(14,"span",11),a.Qb(),a.Rb(15,"button",12),a.Yb("click",(function(){a.tc(n);var t=a.bc();return t.loadMore.emit(t.currentPage+1)})),a.cc(16,"translate"),a.Mb(17,"span",13),a.Qb(),a.zc(18,fe,3,5,"button",14),a.zc(19,pe,2,1,"div",15),a.Qb(),a.Qb(),a.Qb()}if(2&t){var o=a.bc();a.Ab(1),a.ic("ngIf",void 0!==o.matches),a.Ab(3),a.ic("translate",o.counted?"PAGING_COUNT":"PAGING_COUNT_NO_TOTAL")("translateParams",a.nc(21,be,o.currentPage+1,o.totalPages)),a.Ab(2),a.ic("ngIf",o.isLoading),a.Ab(1),a.Bb("aria-label",a.dc(8,13,"ATTRIBUTE_PAGING")),a.Ab(2),a.ic("disabled",0==o.currentPage),a.Bb("aria-label",a.dc(10,15,"ATTRIBUTE_FIRST_PAGE")),a.Ab(3),a.ic("disabled",0==o.currentPage),a.Bb("aria-label",a.dc(13,17,"ATTRIBUTE_PREVIOUS_PAGE")),a.Ab(3),a.ic("disabled",o.currentPage+1==o.totalPages),a.Bb("aria-label",a.dc(16,19,"ATTRIBUTE_NEXT_PAGE")),a.Ab(3),a.ic("ngIf",o.counted),a.Ab(1),a.ic("ngIf",!o.counted)}}var me,Oe=((me=function t(){u(this,t),this.isSideView=!0,this.loadMore=new a.o}
1).\u0275fac=function(t){return new(t||me)},me.\u0275cmp=a.Fb({type:me,selectors:[["paging"]],inputs:{currentPage:"currentPage",isLoading:"isLoading",totalPages:"totalPages",counted:"counted",matches:"matches",totalCount:"totalCount",matchCount:"matchCount",isSideView:"isSideView"},outputs:{loadMore:"loadMore"},decls:1,vars:1,consts:[["class","paging-actions",4,"ngIf"],[1,"paging-actions"],["class","matches-area",4,"ngIf"],[1,"pagination-area"],[1,"page-info-wrapper"],[1,"page-count","e2e-page-count",3,"translate","translateParams"],[1,"update-content-spinner-placeholder"],["class","e2e-spinner",3,"size",4,"ngIf"],[1,"pagination-buttons"],[1,"paging-button","number-button","e2e-to-start",3,"disabled","click"],[1,"paging-button","icon-button","e2e-prev-button",3,"disabled","click"],["aria-hidden","true",1,"fa-left-dir"],[1,"paging-button","icon-button","e2e-next-button",3,"disabled","click"],["aria-hidden","true",1,"fa-right-dir"],["class","paging-button number-button e2e-to-end",3,"disabled","click",4,"ngIf"],["class","button-spinner",4,"ngIf"],[1,"matches-area"],[4,"ngIf","ngIfThen","ngIfElse"],["matchesBlock",""],["countingBlock",""],[1,"matches-info"],[1,"e2e-number-of-matches",3,"translate","translateParams"],[4,"ngIf"],[3,"translate","translateParams"],[1,"counting-indicator"],[1,"matches-spinner",3,"size"],[1,"e2e-spinner",3,"size"],[1,"paging-button","number-button","e2e-to-end",3,"disabled","click"],[1,"button-spinner"],[3,"size"]],template:function(t,e){1&t&&a.zc(0,he,20,24,"div",0),2&t&&a.ic("ngIf",e.totalPages)},directives:[jt.t,f.b,oe],pipes:[f.e,ie],styles:['[_nghost-%COMP%]{display:block}.matches-info[_ngcontent-%COMP%]{line-height:1.5;font-family:"Noto Serif",serif;margin-top:0;margin-bottom:.5rem}.counting-indicator[_ngcontent-%COMP%]{display:flex}.matches-spinner[_ngcontent-%COMP%]{margin-left:.5rem}.page-info-wrapper[_ngcontent-%COMP%]{align-items:center;display:flex;margin-bottom:.5rem}.update-content-spinner-placeholder[_ngcontent-%COMP%]{margin-right:.5rem;height:24px;width:24px}.pagination-buttons[_ngcontent-%COMP%]{display:flex;align-items:center}.page-count[_ngcontent-%COMP%]{font-family:"Noto Serif",serif;line-height:1.5;margin-right:.5rem}.paging-button[_ngcontent-%COMP%]{background-color:#007faa;border:1px solid #007faa;color:#fff;height:28px;line-height:26px;margin-right:.75rem;min-width:28px}.paging-button[_ngcontent-%COMP%]:last-child{margin-right:0}.paging-button[_ngcontent-%COMP%]:focus, .paging-button[_ngcontent-%COMP%]:hover{background-color:#006181;border-color:#006181}.paging-button[disabled][_ngcontent-%COMP%]{background-color:#d1d1d1;border-color:#d1d1d1;color:#575757;cursor:default}.number-button[_ngcontent-%COMP%]{padding:0 6px}.icon-button[_ngcontent-%COMP%]{font-size:22px;position:relative;padding:0}.fa-left-dir[_ngcontent-%COMP%]:before{position:absolute;top:2px;left:1px}.fa-right-dir[_ngcontent-%COMP%]:before{position:absolute;top:2px;left:3px}.button-spinner[_ngcontent-%COMP%]{width:28px}@media (min-width:960px){.full-text-results[_nghost-%COMP%]   .paging-actions[_ngcontent-%COMP%], .full-text-results   [_nghost-%COMP%]   .paging-actions[_ngcontent-%COMP%]{display:flex}.full-text-results[_nghost-%COMP%]   .matches-area[_ngcontent-%COMP%], .full-text-results   [_nghost-%COMP%]   .matches-area[_ngcontent-%COMP%]{align-self:center;flex:1 1 auto}.full-text-results[_nghost-%COMP%]   .matches-info[_ngcontent-%COMP%], .full-text-results   [_nghost-%COMP%]   .matches-info[_ngcontent-%COMP%]{margin-bottom:0}.full-text-results[_nghost-%COMP%]   .pagination-area[_ngcontent-%COMP%], .full-text-results   [_nghost-%COMP%]   .pagination-area[_ngcontent-%COMP%]{align-items:center;display:flex;flex:0 0 auto}.full-text-results[_nghost-%COMP%]   .page-info-wrapper[_ngcontent-%COMP%], .full-text-results   [_nghost-%COMP%]   .page-info-wrapper[_ngcontent-%COMP%]{margin:0}}.suggestions-panel[_nghost-%COMP%]   .paging-button[_ngcontent-%COMP%], .suggestions-panel   [_nghost-%COMP%]   .paging-button[_ngcontent-%COMP%]{border-color:#fff}.suggestions-panel[_nghost-%COMP%]   .paging-button[disabled][_ngcontent-%COMP%], .suggestions-panel   [_nghost-%COMP%]   .paging-button[disabled][_ngcontent-%COMP%]{border-color:#d1d1d1}@media (min-width:960px){.suggestions-panel[_nghost-%COMP%]   .paging-button[_ngcontent-%COMP%], .suggestions-panel   [_nghost-%COMP%]   .paging-button[_ngcontent-%COMP%]{border-color:#007faa}.suggestions-panel[_nghost-%COMP%]   .paging-button[disabled][_ngcontent-%COMP%], .suggestions-panel   [_nghost-%COMP%]   .paging-button[disabled][_ngcontent-%COMP%]{border-color:#d1d1d1}}']}),me);function ve(t,e){if(1&t){var n=a.Sb();a.Rb(0,"div",10),a.Rb(1,"button",11),a.Yb("click",(function(){return a.tc(n),a.bc().focusToMainContent()})),a.Bc(2),a.cc(3,"translate"),a.Qb(),a.Qb()}2&t&&(a.Ab(2),a.Cc(a.dc(3,1,"SKIP_NAVIGATION")))}var ye=function(t){return{count:t}};function Ce(t,e){if(1&t&&(a.Rb(0,"p",12),a.cc(1,"separateThousands"),a.Bc(2," SUGGESTION_COUNT_GOT"),a.Qb()),2&t){var n=a.bc();a.ic("translateParams",a.mc(3,ye,a.dc(1,1,n.pageInfo.totalCount)))}}function ke(t,e){if(1&t&&(a.Mb(0,"p",13),a.cc(1,"separateThousands")),2&t){var n=a.bc();a.ic("translate","TOTAL_MATCHES_EXCEED")("translateParams",a.mc(4,ye,a.dc(1,2,n.pageInfo.count)))}}function _e(t,e){1&t&&(a.Rb(0,"p"),a.Bc(1),a.cc(2,"translate"),a.Qb()),2&t&&(a.Ab(1),a.Cc(a.dc(2,1,"DICT_SEARCH_NOT_FOUND")))}var Me=function(t){return{"suggestion-link":!0,"hw-link":t}},we=function(t){return{source:"suggestion",searchMode:t}};function Pe(t,e){if(1&t&&(a.Rb(0,"li",14),a.Rb(1,"a",15),a.Rb(2,"span",16),a.Bc(3),a.Qb(),a.Qb(),a.Qb()),2&t){var n=e.$implicit,o=a.bc();a.Bb("aria-current",(null==o.currentHeadword?null:o.currentHeadword.toLowerCase())===(null==n.clean_headword?null:n.clean_headword.toLowerCase())?"page":null),a.Ab(1),a.ic("ngClass",a.mc(5,Me,(null==o.currentHeadword?null:o.currentHeadword.toLowerCase())===(null==n.clean_headword?null:n.clean_headword.toLowerCase())))("routerLink","/"+n.clean_headword)("queryParams",a.mc(7,we,o.searchMode)),a.Ab(2),a.Cc(n.headword)}}function xe(t,e){if(1&t){var n=a.Sb();a.Rb(0,"div",17),a.Rb(1,"paging",18),a.Yb("loadMore",(function(t){return a.tc(n),a.bc().loadMore.emit(t)})),a.Qb(),a.Qb()}if(2&t){var o=a.bc();a.Ab(1),a.ic("currentPage",o.pageInfo.page)("totalPages",o.pageInfo.totalPages)("isLoading",o.isLoading)("counted",!0)("totalCount",o.pageInfo.totalCount)("matchCount",o.pageInfo.count)("isSideView",!0)}}var Se,Ie,je,Ae=((Se=function(){function t(e){u(this,t),this.toMainContentService=e,this.loadMore=new a.o,this.ngForTrackByIndex=mt.ngForTrackByIndex,this.headwordInResults=!0}return g(t,[{key:"noMatchInResults",value:function(){if(this.headwordInResults&&this.suggestions&&this.suggestions.length)for(var t=0;t<this.suggestions.length;t++)if(this.suggestions[t].clean_headword.toLocaleLowerCase()===this.searchedFor.toLocaleLowerCase()){this.headwordInResults=!1;break}return this.headwordInResults}},{key:"focusToMainContent",value:function(){this.toMainContentService.focus()}}]),t}()).\u0275fac=function(t){return new(t||Se)(a.Lb(J.e))},Se.\u0275cmp=a.Fb({type:Se,selectors:[["suggestions"]],inputs:{suggestions:"suggestions",words:"words",currentHeadword:"currentHeadword",pageInfo:"pageInfo",searchedFor:"searchedFor",isLoading:"isLoading",searchMode:"searchMode"},outputs:{loadMore:"loadMore"},decls:14,vars:11,consts:[[1,"suggestions-section"],["class","relative",4,"ngIf"],[1,"searched-for"],["lang","fi"],["class","hits","translate","",3,"translateParams",4,"ngIf"],["class","count-exceed",3,"translate","translateParams",4,"ngIf"],[4,"ngIf"],[1,"result-list"],["class","result",4,"ngFor","ngForOf","ngForTrackBy"],["class","paging-wrapper",4,"ngIf"],[1,"relative"],[1,"hyperlink","skip-link",3,"click"],["translate","",1,"hits",3,"translateParams"],[1,"count-exceed",3,"translate","translateParams"],[1,"result"],["lang","fi",3,"ngClass","routerLink","queryParams"],[1,"suggestion-text"],[1,"paging-wrapper"],[3,"currentPage","totalPages","isLoading","counted","totalCount","matchCount","
1isSideView","loadMore"]],template:function(t,e){1&t&&(a.Rb(0,"section",0),a.zc(1,ve,4,3,"div",1),a.Rb(2,"p",2),a.Bc(3),a.cc(4,"translate"),a.Rb(5,"span",3),a.Bc(6),a.Qb(),a.Bc(7,'"'),a.Qb(),a.zc(8,Ce,3,5,"p",4),a.zc(9,ke,2,6,"p",5),a.zc(10,_e,3,3,"p",6),a.Rb(11,"ul",7),a.zc(12,Pe,4,9,"li",8),a.Qb(),a.zc(13,xe,2,7,"div",9),a.Qb()),2&t&&(a.Ab(1),a.ic("ngIf",(null==e.words?null:e.words.length)>0&&(null==e.suggestions?null:e.suggestions.length)>0),a.Ab(2),a.Dc("",a.dc(4,9,"SUGGESTION_SEARCHED_FOR"),' "'),a.Ab(3),a.Cc(e.searchedFor),a.Ab(2),a.ic("ngIf",e.pageInfo.count&&e.noMatchInResults()),a.Ab(1),a.ic("ngIf",e.pageInfo.totalCount>e.pageInfo.count),a.Ab(1),a.ic("ngIf",!e.suggestions||!e.suggestions.length),a.Ab(2),a.ic("ngForOf",e.suggestions)("ngForTrackBy",e.ngForTrackByIndex),a.Ab(1),a.ic("ngIf",e.pageInfo.totalPages&&e.pageInfo.totalPages>1))},directives:[jt.t,jt.s,f.b,N.g,jt.q,Oe],pipes:[f.e,ie],styles:['.relative[_ngcontent-%COMP%]{position:relative}.skip-link[_ngcontent-%COMP%]{display:none}@media (min-width:960px){.skip-link[_ngcontent-%COMP%]{background-color:transparent;display:inline-block;font-size:.875rem;opacity:0;position:absolute;top:-1.3rem;left:-2px;z-index:-1}.skip-link[_ngcontent-%COMP%]:focus{opacity:1;z-index:0}}.suggestions-section[_ngcontent-%COMP%]{padding:0 2rem 2rem}.result-list[_ngcontent-%COMP%]{list-style:none;margin:1rem 0 0;padding:0}.result[_ngcontent-%COMP%]{margin:.5rem 0}.suggestion-link[_ngcontent-%COMP%]{color:inherit;display:inline-block;line-height:1.25;max-width:100%;min-height:26px;overflow-wrap:break-word;text-decoration:none}.suggestion-text[_ngcontent-%COMP%]{vertical-align:middle}.suggestion-link[_ngcontent-%COMP%]:hover   .suggestion-text[_ngcontent-%COMP%]{text-decoration:underline}.count-exceed[_ngcontent-%COMP%], .hits[_ngcontent-%COMP%], .searched-for[_ngcontent-%COMP%]{font-family:"Noto Serif",serif;font-size:.875rem;line-height:1.5;margin-top:0;margin-bottom:0}.searched-for[_ngcontent-%COMP%]{word-break:break-word}.hw-link[_ngcontent-%COMP%]{font-weight:700}.paging-wrapper[_ngcontent-%COMP%]{margin-top:2rem}@media (min-width:960px){.suggestions-section[_ngcontent-%COMP%]{padding-top:2rem;padding-right:.5rem}.suggestion-link[_ngcontent-%COMP%]{display:block}}']}),Se),Re=r("hby6"),Te=((je=function(){function t(e){u(this,t),this.domSanitizer=e}return g(t,[{key:"transform",value:function(t){return this.domSanitizer.bypassSecurityTrustHtml(t)}}]),t}()).\u0275fac=function(t){return new(t||je)(a.Lb(s.b))},je.\u0275pipe=a.Kb({name:"trustedHtml",type:je,pure:!0}),je),Le=((Ie=function(){function t(){u(this,t),this.regexp=/<a\s+(?:[^>]*?\s+)?href="([^"]*)"/g}return g(t,[{key:"transform",value:function(t){return t?t.replace(this.regexp,(function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];var i=n[0].split("#");if(2===i.length)return t.replace(n[0],n[0]+"?source=suggestion");if(3===i.length){var r=i[0]+"#"+i[1];return t.replace(r,r+"?source=suggestion")}})):t}}]),t}()).\u0275fac=function(t){return new(t||Ie)},Ie.\u0275pipe=a.Kb({name:"KotusInlineLink",type:Ie,pure:!0}),Ie),Ee=r("r1oo");function Fe(t,e){if(1&t&&(a.Mb(0,"span",2),a.cc(1,"trustedHtml"),a.cc(2,"KotusInlineLink")),2&t){var n=a.bc();a.ic("innerHtml",a.dc(1,1,a.dc(2,3,n.before)),a.uc)}}function Qe(t,e){if(1&t&&(a.Mb(0,"span",2),a.cc(1,"trustedHtml")),2&t){var n=a.bc();a.ic("innerHtml",a.dc(1,1,n.before),a.uc)}}function Be(t,e){if(1&t&&(a.Rb(0,"span",4),a.Bc(1),a.cc(2,"translate"),a.cc(3,"translationLabel"),a.Qb()),2&t){var n=a.bc(2);a.Ab(1),a.Cc(a.dc(2,1,a.ec(3,3,n.gender.gender,"gender")))}}function ze(t,e){if(1&t&&(a.Pb(0),a.zc(1,Be,4,6,"span",3),a.Mb(2,"span",2),a.cc(3,"trustedHtml"),a.Ob()),2&t){var n=a.bc();a.Ab(1),a.ic("ngIf",null==n.gender||null==n.gender.gender?null:n.gender.gender.length),a.Ab(1),a.ic("innerHtml",a.dc(3,2,n.after),a.uc)}}var De,He,Ne=((He=function(){function e(t,n){u(this,e),this.el=t,this.router=n}return g(e,[{key:"ngOnChanges",value:function(){var e=this,n=this.text.match(/target="(.*?)"/);if(n&&this.el.nativeElement.addEventListener("click",(function(){var o=t(n[1].split("@@"),2),i=o[0],r=o[1];e.router.navigate([i],{fragment:r})})),this.gender&&this.gender.gender&&0!==this.gender.offset){var o=this.text.split(" ");this.before=o.slice(0,this.gender.offset).join(" "),this.after=o.slice(this.gender.offset).join(" ")}else this.before=this.text,this.after=""}}]),e}()).\u0275fac=function(t){return new(t||He)(a.Lb(a.m),a.Lb(N.d))},He.\u0275cmp=a.Fb({type:He,selectors:[["text-with-gender"]],inputs:{text:"text",gender:"gender",searchMode:"searchMode"},features:[a.yb],decls:3,vars:3,consts:[["lang","fi",3,"innerHtml",4,"ngIf"],[4,"ngIf"],["lang","fi",3,"innerHtml"],["class","gender",4,"ngIf"],[1,"gender"]],template:function(t,e){1&t&&(a.zc(0,Fe,3,5,"span",0),a.zc(1,Qe,2,3,"span",0),a.zc(2,ze,4,4,"ng-container",1)),2&t&&(a.ic("ngIf","fulltext"!==e.searchMode),a.Ab(1),a.ic("ngIf","fulltext"===e.searchMode),a.Ab(1),a.ic("ngIf",null==e.gender?null:e.gender.gender))},directives:[jt.t],pipes:[Te,Le,f.e,Ee.a],styles:[".gender[_ngcontent-%COMP%]{color:#666;font-size:.875rem;font-weight:400;font-style:italic;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}"],changeDetection:0}),He),Ve=((De=function(){function t(e){u(this,t),this.translateService=e}return g(t,[{key:"transform",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["PREFIX"];return t&&t.length?this.extractLabels(t,e,n):t}},{key:"extractLabels",value:function(t,e,n){if(-1===t.indexOf(" "))return[this.localizedLabelOrConstant(t,(e+"_"+t).toLocaleUpperCase())];var o=[],i=t.split(" ");return o.push(this.findPrefixLabel(i.shift(),n),this.findConstantLabel(i.join(" "),e)),o}},{key:"findPrefixLabel",value:function(t,e){for(var n=0;n<e.length;n++){var o=(e[n]+"_"+t).toUpperCase();if(this.translateService.instant(o)!==o)return o}return t}},{key:"findConstantLabel",value:function(t,e){var n=(e+"_"+t).toUpperCase();return this.localizedLabelOrConstant(t,n)}},{key:"localizedLabelOrConstant",value:function(t,e){return this.translateService.instant(e)!==e?e:t}}]),t}()).\u0275fac=function(t){return new(t||De)(a.Lb(f.f))},De.\u0275pipe=a.Kb({name:"prefixLabel",type:De,pure:!0}),De);function Ue(t,e){if(1&t&&(a.Rb(0,"span"),a.Bc(1),a.cc(2,"translate"),a.Qb()),2&t){var n=e.$implicit,o=e.last,i=a.bc().last;a.Ab(1),a.Ec("",a.dc(2,2,n),"",o&&!i?", ":"\xa0","")}}
1var Ye=function(){return["PREFIX","REGISTER"]};function $e(t,e){if(1&t&&(a.Rb(0,"span"),a.zc(1,Ue,3,4,"span",2),a.cc(2,"prefixLabel"),a.Qb()),2&t){var n=e.$implicit,o=a.bc(2);a.Ab(1),a.ic("ngForOf",a.fc(2,2,n,"GEO",a.lc(6,Ye)))("ngForTrackBy",o.ngForTrackBy)}}function Ge(t,e){if(1&t&&(a.Rb(0,"span",1),a.zc(1,$e,3,7,"span",2),a.gc(2),a.Qb()),2&t){var n=a.bc();a.Ab(1),a.ic("ngForOf",n.values)("ngForTrackBy",n.ngForTrackBy)}}var qe,Ke,Ze,We=["*"],Xe=((Ze=function t(){u(this,t),this.ngForTrackBy=mt.ngForTrackByIndex}).\u0275fac=function(t){return new(t||Ze)},Ze.\u0275cmp=a.Fb({type:Ze,selectors:[["dict-geography"]],inputs:{values:"values"},ngContentSelectors:We,decls:1,vars:1,consts:[["class","geo",4,"ngIf"],[1,"geo"],[4,"ngFor","ngForOf","ngForTrackBy"]],template:function(t,e){1&t&&(a.hc(),a.zc(0,Ge,3,2,"span",0)),2&t&&a.ic("ngIf",null==e.values?null:e.values.length)},directives:[jt.t,jt.s],pipes:[Ve,f.e],styles:[".geo[_ngcontent-%COMP%]{font-size:.8125rem;font-weight:700;text-transform:uppercase}"],changeDetection:0}),Ze),Je=((Ke=function(){function t(e){u(this,t),this.el=e}return g(t,[{key:"ngOnInit",value:function(){this.isLast||this.el.nativeElement.insertAdjacentHTML("afterend",",&nbsp;")}}]),t}()).\u0275fac=function(t){return new(t||Ke)(a.Lb(a.m))},Ke.\u0275dir=a.Gb({type:Ke,selectors:[["","addComma",""]],inputs:{isLast:["addComma","isLast"]}}),Ke),tn=((qe=function(){function t(){u(this,t)}return g(t,[{key:"transform",value:function(t,e,n){return t&&t instanceof Array&&0!==t.length?t.join((e||";")+" "):n||t}}]),t}()).\u0275fac=function(t){return new(t||qe)},qe.\u0275pipe=a.Kb({name:"join",type:qe,pure:!0}),qe);function en(t,e){if(1&t&&(a.Rb(0,"span"),a.Bc(1),a.cc(2,"join"),a.Qb()),2&t){var n=a.bc().$implicit;a.Ab(1),a.Dc("\xa0(",a.dc(2,1,n.notes),")")}}function nn(t,e){if(1&t&&(a.Rb(0,"span"),a.Bc(1," ["),a.Mb(2,"span",3),a.cc(3,"trustedHtml"),a.Bc(4,"] "),a.Mb(5,"dict-geography",4),a.zc(6,en,3,3,"span",5),a.Mb(7,"span",6),a.Qb()),2&t){var n=e.$implicit,o=e.last;a.Ab(2),a.ic("innerHTML",a.dc(3,4,n.ipa),a.uc),a.Ab(3),a.ic("values",n.geography),a.Ab(1),a.ic("ngIf",null==n.notes?null:n.notes.length),a.Ab(1),a.ic("addComma",o)}}function on(t,e){if(1&t&&(a.Rb(0,"span",1),a.zc(1,nn,8,6,"span",2),a.Qb()),2&t){var n=a.bc();a.Ab(1),a.ic("ngForOf",n.values)("ngForTrackBy",n.ngForTrackBy)}}var rn,cn=((rn=function t(){u(this,t),this.ngForTrackBy=Re.ngForTrackByIndex}).\u0275fac=function(t){return new(t||rn)},rn.\u0275cmp=a.Fb({type:rn,selectors:[["dict-ipa"]],inputs:{values:"values"},decls:1,vars:1,consts:[["class","ipa",4,"ngIf"],[1,"ipa"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"innerHTML"],[3,"values"],[4,"ngIf"],[3,"addComma"]],template:function(t,e){1&t&&a.zc(0,on,2,2,"span",0),2&t&&a.ic("ngIf",null==e.values?null:e.values.length)},directives:[jt.t,jt.s,Xe,Je],pipes:[Te,tn],styles:[".ipa[_ngcontent-%COMP%]{color:#111;font-family:Arial,sans-serif;font-weight:400;margin-right:.3rem;margin-left:.3rem}"],changeDetection:0}),rn);function an(t,e){if(1&t&&(a.Rb(0,"dt",7),a.Bc(1),a.cc(2,"translate"),a.Qb()),2&t){var n=a.bc().$implicit;a.ic("title",n.name),a.Ab(1),a.Cc(a.dc(2,2,n.translation))}}function sn(t,e){if(1&t&&(a.Rb(0,"dt",8),a.Bc(1),a.Qb()),2&t){var n=a.bc().$implicit;a.Ab(1),a.Cc(n.name)}}function ln(t,e){if(1&t&&(a.Mb(0,"dd",9),a.cc(1,"trustedHtml"),a.cc(2,"join")),2&t){var n=a.bc().$implicit;a.ic("innerHtml",a.dc(1,1,a.fc(2,3,n.value,",","\u2013")),a.uc)}}function un(t,e){if(1&t&&(a.Pb(0),a.zc(1,an,3,4,"dt",4),a.zc(2,sn,2,1,"dt",5),a.zc(3,ln,3,7,"dd",6),a.Ob()),2&t){var n=e.$implicit;a.Ab(1),a.ic("ngIf",n.translation),a.Ab(1),a.ic("ngIf",!n.translation),a.Ab(1),a.ic("ngIf",n.value.length)}}function dn(t,e){if(1&t&&(a.Rb(0,"dl",2),a.zc(1,un,4,3,"ng-container",3),a.Qb()),2&t){var n=e.$implicit,o=a.bc();a.Ab(1),a.ic("ngForOf",n.forms)("ngForTrackBy",o.ngForTrackBy)}}var gn,fn,pn=((gn=function t(){u(this,t),this.ngForTrackBy=Re.ngForTrackByIndex}).\u0275fac=function(t){return new(t||gn)},gn.\u0275cmp=a.Fb({type:gn,selectors:[["inflections"]],inputs:{inflections:"inflections"},decls:2,vars:2,consts:[[1,"inflection-subgroup-container"],["class","inflection-form-group-dl",4,"ngFor","ngForOf","ngForTrackBy"],[1,"inflection-form-group-dl"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","heavy",3,"title",4,"ngIf"],["class","heavy",4,"ngIf"],[3,"innerHtml",4,"ngIf"],[1,"heavy",3,"title"],[1,"heavy"],[3,"innerHtml"]],template:function(t,e){1&t&&(a.Rb(0,"div",0),a.zc(1,dn,2,2,"dl",1),a.Qb()),2&t&&(a.Ab(1),a.ic("ngForOf",e.inflections[0].groups[0].subgroups)("ngForTrackBy",e.ngForTrackBy))},directives:[jt.s,jt.t],pipes:[f.e,Te,tn],styles:[".inflection-form-group-dl[_ngcontent-%COMP%]{margin-top:.5rem;line-height:1.1rem}.inflection-form-group-dl[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{margin-top:.2rem}.inflection-form-group-dl[_ngcontent-%COMP%]   .heavy[_ngcontent-%COMP%]{color:#000;font-weight:700}.inflection-form-group-dl[_ngcontent-%COMP%]   dd[_ngcontent-%COMP%]{-webkit-hyphens:manual;-ms-hyphens:manual;hyphens:manual;margin-left:0}@media (min-width:960px){.inflection-form-group-dl[_ngcontent-%COMP%]{display:grid;grid-template-columns:-webkit-max-content auto;grid-template-columns:max-content auto;grid-column-gap:1rem;grid-row-gap:.2rem}.inflection-form-group-dl[_ngcontent-%COMP%]   dt[_ngcontent-%COMP%]{margin-top:0}}"]}),gn),bn=["*"],hn=((fn=function(){function t(){u(this,t),this.multiple=!1,this.showArrows=!0,this.closeOnFocusLost=!1,this.classes=!0,this.panes=[]}return g(t,[{key:"register",value:function(t){this.panes.push(t)}}
1,{key:"closeAll",value:function(){this.panes.forEach((function(t){t.isOpened=!1}))}}]),t}()).\u0275fac=function(t){return new(t||fn)},fn.\u0275cmp=a.Fb({type:fn,selectors:[["sk-accordion"]],hostVars:2,hostBindings:function(t,e){2&t&&a.Db("accordion",e.classes)},inputs:{multiple:"multiple",showArrows:"showArrows",closeOnFocusLost:"closeOnFocusLost"},ngContentSelectors:bn,decls:1,vars:0,template:function(t,e){1&t&&(a.hc(),a.gc(0))},encapsulation:2}),fn),mn=r("NzZG"),On=r("f7+R");function vn(t,e){if(1&t&&(a.Rb(0,"div",2),a.gc(1,1),a.Qb()),2&t){var n=a.bc();a.ic("@collapse",n.isOpened)}}var yn,Cn=[[["accordion-pane-header"]],[["accordion-pane-content"]]],kn=function(t){return{"is-expanded":t}},_n=["accordion-pane-header","accordion-pane-content"],Mn=((yn=function(){function t(e,n,o,i){u(this,t),this.accordion=e,this.document=n,this.renderer=o,this.element=i,this.isOpened=!1,this.disabled=!1,this.animateCollapse=!0,this.opened=new a.o,this.classes=!0}return g(t,[{key:"ngOnInit",value:function(){this.accordion.register(this)}},{key:"ngOnDestroy",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"toggle",value:function(){var t=this;if(!this.disabled){var e=this.isOpened;this.accordion.multiple||this.accordion.closeAll(),this.isOpened=!e,this.accordion.closeOnFocusLost&&(this.isOpened?this.unsubscribe=this.renderer.listen("document","click",(function(e){t.shouldClose(e.target||e.srcElement,t.element.nativeElement)&&(t.isOpened?t.toggle():t.unsubscribe&&(t.unsubscribe(),t.unsubscribe=null))})):this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)),this.opened.emit(this.isOpened)}}},{key:"shouldClose",value:function(t,e){return!t||!!e.contains&&!e.contains(t)&&this.document.body.contains(t)}}]),t}()).\u0275fac=function(t){return new(t||yn)(a.Lb(Object(a.U)((function(){return hn})),1),a.Lb(mn.a),a.Lb(a.F),a.Lb(a.m))},yn.\u0275cmp=a.Fb({type:yn,selectors:[["accordion-pane"]],hostVars:2,hostBindings:function(t,e){2&t&&a.Db("accordion-pane",e.classes)},inputs:{isOpened:"isOpened",disabled:"disabled",animateCollapse:"animateCollapse"},outputs:{opened:"opened"},ngContentSelectors:_n,decls:3,vars:5,consts:[[3,"ngClass"],["class","accordion-content",4,"ngIf"],[1,"accordion-content"]],template:function(t,e){1&t&&(a.hc(Cn),a.Rb(0,"div",0),a.gc(1),a.zc(2,vn,2,1,"div",1),a.Qb()),2&t&&(a.ic("ngClass",a.mc(3,kn,e.isOpened))("@.disabled",!e.animateCollapse),a.Ab(2),a.ic("ngIf",e.isOpened))},directives:[jt.q,jt.t],styles:[".accordion-arrow[_ngcontent-%COMP%]{background-color:transparent;color:#c1c1c1;display:block;font-size:2rem;margin-right:.5rem;text-align:center;transform:rotate(0deg);transition:transform .3s}.is-expanded[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .is-expanded   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.accordion-header[_ngcontent-%COMP%]{cursor:pointer;align-items:center;display:flex;justify-content:space-between;width:100%;border:none;background:transparent;padding:0;margin:0;line-height:1.625em}.editor-header[_nghost-%COMP%]   .accordion-header[_ngcontent-%COMP%], .editor-header   [_nghost-%COMP%]   .accordion-header[_ngcontent-%COMP%]{background-color:#111;color:#fff;margin-bottom:1px;min-height:2rem;padding-left:.5rem}.editor-header[_nghost-%COMP%]   .accordion-content[_ngcontent-%COMP%], .editor-header   [_nghost-%COMP%]   .accordion-content[_ngcontent-%COMP%]{border-left:1px solid #111;border-right:1px solid #111;border-bottom:1px solid #111;margin-top:-1px}.editor-header[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .editor-header   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%]{color:#fff;font-size:1rem}.editor-content[_nghost-%COMP%]   .accordion-header[_ngcontent-%COMP%], .editor-content   [_nghost-%COMP%]   .accordion-header[_ngcontent-%COMP%]{background-color:#17bebb;color:#fff;font-size:.875rem;margin-bottom:1px;min-height:2rem;padding-left:.5rem}.editor-content[_nghost-%COMP%]   .accordion-content[_ngcontent-%COMP%], .editor-content   [_nghost-%COMP%]   .accordion-content[_ngcontent-%COMP%]{background-color:#f0f0f0;padding-bottom:.5rem}.editor-content[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .editor-content   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%]{color:#fff;font-size:1rem}.account-settings[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .account-settings   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .team-account-settings[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .team-account-settings   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .teams[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .teams   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%]{color:#17bebb}"],data:{animation:[Object(On.i)("collapse",[Object(On.h)(":enter",[Object(On.g)({height:0,opacity:0,overflow:"hidden"}
1),Object(On.e)("200ms ease-out",Object(On.g)({height:"*",opacity:1}))]),Object(On.h)(":leave",[Object(On.g)({height:"*",opacity:1,overflow:"hidden"}),Object(On.e)("150ms ease-out",Object(On.g)({height:0,opacity:0}))])])]}}),yn),wn=["accPaneHeaderButton"];function Pn(t,e){1&t&&(a.Rb(0,"div"),a.Mb(1,"i",3),a.Qb())}var xn,Sn,In=["*"],jn=((xn=function(){function t(e,n){u(this,t),this.accordion=e,this.accordionPane=n}return g(t,[{key:"focusOnButton",value:function(){this.focusPoint.nativeElement.focus()}}]),t}()).\u0275fac=function(t){return new(t||xn)(a.Lb(Object(a.U)((function(){return hn})),1),a.Lb(Object(a.U)((function(){return Mn})),1))},xn.\u0275cmp=a.Fb({type:xn,selectors:[["accordion-pane-header"]],viewQuery:function(t,e){var n;1&t&&a.Fc(wn,!0),2&t&&a.pc(n=a.Zb())&&(e.focusPoint=n.first)},ngContentSelectors:In,decls:4,vars:2,consts:[[1,"accordion-header",3,"click"],["accPaneHeaderButton",""],[4,"ngIf"],[1,"fa-chevron-circled-thin","accordion-arrow"]],template:function(t,e){1&t&&(a.hc(),a.Rb(0,"button",0,1),a.Yb("click",(function(){return e.accordionPane.toggle()})),a.gc(2),a.zc(3,Pn,2,0,"div",2),a.Qb()),2&t&&(a.Bb("aria-expanded",e.accordionPane.isOpened),a.Ab(3),a.ic("ngIf",e.accordion.showArrows))},directives:[jt.t],styles:[".accordion-arrow[_ngcontent-%COMP%]{background-color:transparent;color:#c1c1c1;display:block;font-size:2rem;margin-right:.5rem;text-align:center;transform:rotate(0deg);transition:transform .3s}.is-expanded[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .is-expanded   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%]{transform:rotate(180deg)}.accordion-header[_ngcontent-%COMP%]{cursor:pointer;align-items:center;display:flex;justify-content:space-between;width:100%;border:none;background:transparent;padding:0;margin:0;line-height:1.625em}.editor-header[_nghost-%COMP%]   .accordion-header[_ngcontent-%COMP%], .editor-header   [_nghost-%COMP%]   .accordion-header[_ngcontent-%COMP%]{background-color:#111;color:#fff;margin-bottom:1px;min-height:2rem;padding-left:.5rem}.editor-header[_nghost-%COMP%]   .accordion-content[_ngcontent-%COMP%], .editor-header   [_nghost-%COMP%]   .accordion-content[_ngcontent-%COMP%]{border-left:1px solid #111;border-right:1px solid #111;border-bottom:1px solid #111;margin-top:-1px}.editor-header[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .editor-header   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%]{color:#fff;font-size:1rem}.editor-content[_nghost-%COMP%]   .accordion-header[_ngcontent-%COMP%], .editor-content   [_nghost-%COMP%]   .accordion-header[_ngcontent-%COMP%]{background-color:#17bebb;color:#fff;font-size:.875rem;margin-bottom:1px;min-height:2rem;padding-left:.5rem}.editor-content[_nghost-%COMP%]   .accordion-content[_ngcontent-%COMP%], .editor-content   [_nghost-%COMP%]   .accordion-content[_ngcontent-%COMP%]{background-color:#f0f0f0;padding-bottom:.5rem}.editor-content[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .editor-content   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%]{color:#fff;font-size:1rem}.account-settings[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .account-settings   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .team-account-settings[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .team-account-settings   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .teams[_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%], .teams   [_nghost-%COMP%]   .accordion-arrow[_ngcontent-%COMP%]{color:#17bebb}"]}),xn),An=["*"],Rn=((Sn=function t(){u(this,t)}).\u0275fac=function(t){return new(t||Sn)},Sn.\u0275cmp=a.Fb({type:Sn,selectors:[["accordion-pane-content"]],ngContentSelectors:An,decls:1,vars:0,template:function(t,e){1&t&&(a.hc(),a.gc(0))},encapsulation:2}),Sn);function Tn(t,e){if(1&t&&(a.Mb(0,"span",1),a.cc(1,"trustedHtml"),a.cc(2,"KotusInlineLink")),2&t){var n=a.bc();a.ic("innerHtml",a.dc(1,1,a.dc(2,3,n.definition.definition)),a.uc)}}function Ln(t,e){if(1&t&&(a.Mb(0,"span",1),a.cc(1,"trustedHtml")),2&t){var n=a.bc();a.ic("innerHtml",a.dc(1,1,n.definition.definition),a.uc)}}var En,Fn=((En=function t(){u(this,t)}).\u0275fac=function(t){return new(t||En)},En.\u0275cmp=a.Fb({type:En,selectors:[["dict-definition"]],inputs:{definition:"definition",searchMode:"searchMode"},decls:2,vars:2,consts:[["lang","fi","class","definition",3,"innerHtml",4,"ngIf"],["lang","fi",1,"definition",3,"innerHtml"]],template:function(t,e){1&t&&(a.zc(0,Tn,3,5,"span",0),a.zc(1,Ln,2,3,"span",0)),2&t&&(a.ic("ngIf","fulltext"!==e.searchMode),a.Ab(1),a.ic("ngIf","fulltext"===e.searchMode))},directives:[jt.t],pipes:[Te,Le],styles:[".definition[_ngcontent-%COMP%]{color:#111;line-height:1.2}"],changeDetection:0}),En);function Qn(t,e){if(1&t&&(a.Pb(0),a.Bc(1),a.Ob()),2&t){var n=a.bc().$implicit;a.Ab(1),a.Cc(n)}}function Bn(t,e){if(1&t&&(a.Pb(0),a.Bc(1),a.cc(2,"translate"),a.Ob()
1),2&t){var n=e.$implicit;a.Ab(1),a.Dc(" ",a.dc(2,1,n)," ")}}function zn(t,e){if(1&t&&(a.Pb(0),a.zc(1,Bn,3,3,"ng-container",4),a.cc(2,"prefixLabel"),a.Ob()),2&t){var n=a.bc().$implicit,o=a.bc();a.Ab(1),a.ic("ngForOf",a.ec(2,2,n,o.localePrefix))("ngForTrackBy",o.ngForTrackBy)}}function Dn(t,e){if(1&t&&(a.Rb(0,"span",1),a.zc(1,Qn,2,1,"ng-container",2),a.zc(2,zn,3,5,"ng-container",3),a.Qb()),2&t){var n=a.bc();a.ic("ngSwitch",n.context),a.Ab(1),a.ic("ngSwitchCase","dictionaryPicker")}}var Hn,Nn,Vn=((Hn=function t(){u(this,t),this.ngForTrackBy=Re.ngForTrackByIndex}).\u0275fac=function(t){return new(t||Hn)},Hn.\u0275cmp=a.Fb({type:Hn,selectors:[["inline-label"]],inputs:{context:"context",labels:"labels",localePrefix:"localePrefix"},decls:1,vars:2,consts:[["class","inline-label",3,"ngSwitch",4,"ngFor","ngForOf","ngForTrackBy"],[1,"inline-label",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngFor","ngForOf","ngForTrackBy"]],template:function(t,e){1&t&&a.zc(0,Dn,3,2,"span",0),2&t&&a.ic("ngForOf",e.labels)("ngForTrackBy",e.ngForTrackBy)},directives:[jt.s,jt.x,jt.y,jt.z],pipes:[Ve,f.e],styles:[".inline-label[_ngcontent-%COMP%]{background:#111;color:#fff;display:inline-block;font-size:.875rem;font-weight:700;line-height:1.3;margin:0 .4rem 0 0;padding:0 .2rem;text-transform:uppercase}"]}),Hn),Un=r("8xZj"),Yn=r("mWib"),$n=((Nn=function(){function t(){u(this,t),this.debounceClick=new a.o,this.clicks=new ct.a}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.subscription=this.clicks.pipe(Object(Yn.a)(this.debounceTime||500)).subscribe((function(e){return t.debounceClick.emit(e)}))}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"handleClick",value:function(t){t.preventDefault(),t.stopPropagation(),this.clicks.next(t)}}]),t}()).\u0275fac=function(t){return new(t||Nn)},Nn.\u0275dir=a.Gb({type:Nn,selectors:[["","clickDebounce",""]],hostBindings:function(t,e){1&t&&a.Yb("click",(function(t){return e.handleClick(t)}))},inputs:{debounceTime:["clickDebounce","debounceTime"]},outputs:{debounceClick:"debounceClick"}}),Nn);function Gn(t,e){if(1&t){var n=a.Sb();a.Rb(0,"div",1),a.Rb(1,"i",2),a.Yb("debounceClick",(function(){a.tc(n);var t=a.bc();return t.showStop?t.stop():t.play()})),a.Qb(),a.Qb()}if(2&t){var o=a.bc();a.ic("ngClass",o.class),a.Ab(1),a.ic("ngClass",o.showStop?"fa-stop-circled":"fa-volume-down-circled")}}var qn,Kn,Zn=((Kn=function(){function t(e,n){u(this,t),this.voiceService=e,this.changeDetectorRef=n,this.show=!0,this.canStop=!1,this._isPlaying=!1,this.destroyed=!1}return g(t,[{key:"ngOnDestroy",value:function(){this.destroyed=!0}},{key:"play",value:function(){var t=this;if(this.isPlaying&&this.stop(),this.text&&this.lang){this.canStop=this.text.length>20;var e=this.speed||1;this.isPlaying=!0,this.voiceService.speak(this.lang,this.text,e).toPromise().then((function(){return t.isPlaying=!1}))}}},{key:"stop",value:function(){this.voiceService.cancel(),this.isPlaying=!1}},{key:"isPlaying",get:function(){return this._isPlaying},set:function(t){this.destroyed||(this._isPlaying=t,this.changeDetectorRef.detectChanges())}},{key:"showStop",get:function(){return this.canStop&&this.isPlaying}},{key:"isAvailable",get:function(){return this.show&&this.voiceService.hasLang(this.lang)}}]),t}()).\u0275fac=function(t){return new(t||Kn)(a.Lb(Un.a),a.Lb(a.i))},Kn.\u0275cmp=a.Fb({type:Kn,selectors:[["sk-speech"]],inputs:{text:"text",lang:"lang",speed:"speed",class:"class",show:"show"},decls:1,vars:1,consts:[["class","mp-speech",3,"ngClass",4,"ngIf"],[1,"mp-speech",3,"ngClass"],["clickDebounce","",1,"speech-toggle",3,"ngClass","debounceClick"]],template:function(t,e){1&t&&a.zc(0,Gn,2,2,"div",0),2&t&&a.ic("ngIf",e.isAvailable)},directives:[jt.t,jt.q,$n],styles:[".mp-auto-speech[_ngcontent-%COMP%], .mp-speech[_ngcontent-%COMP%]{display:inline-block}.auto-speech-toggle[_ngcontent-%COMP%], .speech-toggle[_ngcontent-%COMP%]{cursor:pointer;font-size:1.6rem}.auto-speech-toggle.disabled[_ngcontent-%COMP%]{color:#c1c1c1}"],changeDetection:0}),Kn),Wn=((qn=function(){function t(e){u(this,t),this.languageHelper=e}return g(t,[{key:"transform",value:function(t,e,n){return t?this.languageHelper.toLanguageUrl(t,e,n):[""]}}]),t}()).\u0275fac=function(t){return new(t||qn)(a.Lb(Re.LanguageHelper))},qn.\u0275pipe=a.Kb({name:"wordLink",type:qn,pure:!0}),qn);function Xn(t,e){if(1&t&&(a.Rb(0,"span",11),a.Bc(1),a.cc(2,"join"),a.Qb()),2&t){var n=a.bc();a.Ab(1),a.Dc("(",a.dc(2,1,n.translation.notes),")")}}function Jn(t,e){if(1&t&&(a.Rb(0,"a",14),a.cc(1,"wordLink"),a.Mb(2,"text-with-gender",15),a.Qb()),2&t){var n=a.bc(2);a.ic("routerLink",a.fc(1,5,n.translation.text,n.translation.lang,n.context)),a.Ab(2),a.ic("ngClass","text-lang-"+n.translation.lang)("text",n.translation.text)("gender",n.translation.gender)("searchMode",n.searchMode)}}function to(t,e){if(1&t&&a.Mb(0,"text-with-gender",15),2&t){var n=a.bc(2);a.ic("ngClass","text-lang-"+n.translation.lang)("text",n.translation.text)("gender",n.translation.gender)("searchMode",n.searchMode)}}function eo(t,e){if(1&t&&(a.zc(0,Jn,3,9,"a",12),a.zc(1,to,1,4,"ng-template",null,13,a.Ac)),2&t){var n=a.qc(2),o=a.bc();a.ic("ngIf",o.translation.linkable&&!o.disableLinks)("ngIfElse",n)}}function no(t,e){1&t&&a.Nb(0)}function oo(t,e){if(1&t&&(a.Rb(0,"strong",16),a.zc(1,no,1,0,"ng-container",17),a.Qb()),2&t){a.bc();var n=a.qc(6);a.Ab(1),a.ic("ngTemplateOutlet",n)}}function io(t,e){1&t&&a.Nb(0)}function ro(t,e){if(1&t&&(a.Rb(0,"span",16),a.zc(1,io,1,0,"ng-container",17),a.Qb()),2&t){a.bc();var n=a.qc(6);a.Ab(1),a.ic("ngTemplateOutlet",n)}}function co(t,e){if(1&t&&(a.Rb(0,"span",18),a.Bc(1),a.cc(2,"join"),a.Qb()),2&t){var n=a.bc();a.Ab(1),a.Dc("(",a.dc(2,1,n.translation.postnotes),")")}}function ao(t,e){if(1&t&&(a.Rb(0,"span",19),a.Bc(1),a.cc(2,"join"),a.Qb()),2&t){var n=a.bc();a.Ab(1),a.Dc("[",a.dc(2,1,n.translation.inflections),"]")}}function so(t,e){if(1&t&&(a.Rb(0,"span",20),a.Bc(1),a.cc(2,"join"),a.Qb()),2&t){var n=a.bc();a.Ab(1),a.Dc("[",a.dc(2,1,n.translation.grammar),"]")}}var lo,uo,go=[[["",8,"after-translation"]],"*"],fo=function(t){return{block:t}},po=[".after-translation","*"],bo=((uo=function t(){u(this,t),this.bold=!0,this.readableStructure=!1,this.showSpeech=!1}).\u0275fac=function(t){return new(t||uo)},uo.\u0275cmp=a.Fb({type:uo,selectors:[["dict-translation"]],inputs:{translation:"translation",bold:"bold",readableStructure:"readableStructure",showSpeech:"showSpeech",speechSpeed:"speechSpeed",disableLinks:"disableLinks",context:"context",searchMode:"searchMode"},ngContentSelectors:po,decls:19,vars:29,consts:[[1,"set",3,"ngClass"],[3,"labels","localePrefix","context"],["lang","fi","class","translation-notes",4,"ngIf"],["trwithgender",""],["class","translation-text",4,"ngIf"],[3,"lang","speed","show","text"],[3,"values"],["lang","fi","class","translation-notes post-notes",4,"ngIf"],[1,"set","third-set",3,"ngClass"],["lang","fi","class","translation-inflections",4,"ngIf"],["lang","fi","class","translation-grammar",4,"ngIf"],["lang","fi",1,"translation-notes"],["class","hyperlink",3,"routerLink",4,"ngIf","ngIfElse"],["texttrans",""],[1,"hyperlink",3,"routerLink"],[3,"ngClass","text","gender","searchMode"],[1,"translation-text"],[4,"ngTemplateOutlet"],["lang","fi",1,"translation-notes","post-notes"],["lang","fi",1,"translation-inflections"],["lang","fi",1,"translation-grammar"]],template:function(t,e){1&t&&(a.hc(go),a.Rb(0,"span",0),a.Mb(1,"inline-label",1),a.Mb(2,"inline-label",1),a.zc(3,Xn,3,3,"span",2),a.Qb(),a.Rb(4,"span",0),a.zc(5,eo,3,2,"ng-template",null,3,a.Ac),a.zc(7,oo,2,1,"strong",4),a.zc(8,ro,2,1,"span",4),a.gc(9),a.Mb(10,"sk-speech",5),a.Mb(11,"dict-ipa",6),a.zc(12,co,3,3,"span",7),a.Qb(),a.Bc(13," "),a.Rb(14,"span",8),a.zc(15,ao,3,3,"span",9),a.zc(16,so,3,3,"span",10),a.Mb(17,"dict-geography",6),a.Qb(),a.gc(18,1)),2&t&&(a.ic("ngClass",a.mc(23,fo,e.readableStructure)),a.Ab(1),a.ic("labels",e.translation.scopes)("localePrefix","scope")("context",e.context),a.Ab(1),a.ic("labels",e.translation.registers)("localePrefix","register")("context",e.context),a.Ab(1),a.ic("ngIf",null==e.translation.notes?null:e.translation.notes.length),a.Ab(1),a.ic("ngClass",a.mc(25,fo,e.readableStructure)),a.Ab(3),a.ic("ngIf",e.bold),a.Ab(1),a.ic("ngIf",!e.bold),a.Ab(2),a.Cb("translation-player"),a.ic("lang",e.translation.lang||"fi")("speed",e.speechSpeed)("show",e.showSpeech&&!!e.translation.text)("text",e.translation.text),a.Ab(1),a.ic("values",e.translation.ipa),a.Ab(1),a.ic("ngIf",null==e.translation.postnotes?null:e.translation.postnotes.length),a.Ab(2),a.ic("ngClass",a.mc(27,fo,e.readableStructure)),a.Ab(1),a.ic("ngIf",null==e.translation.inflections?null:e.translation.inflections.length),a.Ab(1),a.ic("ngIf",null==e.translation.grammar?null:e.translation.grammar.length),a.Ab(1),a.ic("values",e.translation.geography))},directives:[jt.q,Vn,jt.t,Zn,cn,Xe,N.g,Ne,jt.A],pipes:[tn,Wn],styles:[".translation-notes[_ngcontent-%COMP%]{color:#111;font-size:.875rem;font-style:italic;margin-right:6px}strong.translation-text[_ngcontent-%COMP%]{font-weight:600}sk-speech[_ngcontent-%COMP%]{color:#17bebb}.post-notes[_ngcontent-%COMP%]{margin-right:0}.translation-grammar[_ngcontent-%COMP%], .translation-inflections[_ngcontent-%COMP%]{color:#111;font-size:.875rem;margin-right:3px}.view-preference-normal[_nghost-%COMP%]   .set.block[_ngcontent-%COMP%], .view-preference-normal   [_nghost-%COMP%]   .set.block[_ngcontent-%COMP%]{display:block}.view-preference-normal[_nghost-%COMP%]   .third-set.block[_ngcontent-%COMP%], .view-preference-normal   [_nghost-%COMP%]   .third-set.block[_ngcontent-%COMP%]{padding-top:.2rem;padding-left:.5rem}@media (min-width:600px){.view-preference-normal[_nghost-%COMP%]   .set.block[_ngcontent-%COMP%], .view-preference-normal   [_nghost-%COMP%]   .set.block[_ngcontent-%COMP%]{display:inline}.view-preference-normal[_nghost-%COMP%]   .third-set.block[_ngcontent-%COMP%], .view-preference-normal   [_nghost-%COMP%]   .third-set.block[_ngcontent-%COMP%]{padding:0}}"],changeDetection:0}),uo),ho=((lo=function(){function t(){u(this,t)}return g(t,[{key:"transform",value:function(t){return Object(Re.ngForTrackBy)(t)}}]),t}()).\u0275fac=function(t){return new(t||lo)}
1,lo.\u0275pipe=a.Kb({name:"forTrackBy",type:lo,pure:!0}),lo);function mo(t,e){1&t&&a.Nb(0)}function Oo(t,e){if(1&t&&(a.Rb(0,"div",6),a.zc(1,mo,1,0,"ng-container",7),a.Qb()),2&t){a.bc();var n=a.qc(5);a.Ab(1),a.ic("ngTemplateOutlet",n)}}function vo(t,e){1&t&&a.Nb(0)}function yo(t,e){if(1&t&&a.zc(0,vo,1,0,"ng-container",7),2&t){a.bc();var n=a.qc(5);a.ic("ngTemplateOutlet",n)}}function Co(t,e){if(1&t&&(a.Rb(0,"div",10),a.Mb(1,"span",11),a.cc(2,"trustedHtml"),a.Qb()),2&t){var n=a.bc(2);a.Bb("id",n.sense.href_anchor),a.Ab(1),a.ic("innerHtml",a.dc(2,2,n.sense.senseName),a.uc)}}function ko(t,e){if(1&t&&a.Mb(0,"dict-definition",15),2&t){var n=e.$implicit,o=a.bc(3);a.ic("definition",n)("searchMode",o.searchMode)}}function _o(t,e){if(1&t&&(a.Rb(0,"div",12),a.Rb(1,"div",13),a.zc(2,ko,1,2,"dict-definition",14),a.cc(3,"forTrackBy"),a.Qb(),a.Qb()),2&t){var n=a.bc(2);a.Ab(2),a.ic("ngForOf",n.sense.definitions)("ngForTrackBy",a.dc(3,2,"id"))}}function Mo(t,e){if(1&t&&(a.zc(0,Co,3,4,"div",8),a.zc(1,_o,4,4,"div",9)),2&t){var n=a.bc();a.ic("ngIf",n.sense.senseName&&""!==n.sense.senseName),a.Ab(1),a.ic("ngIf",null==n.sense.definitions?null:n.sense.definitions.length)}}function wo(t,e){if(1&t&&(a.Rb(0,"div",20),a.Mb(1,"dict-translation",21),a.Qb()),2&t){var n=e.$implicit,o=a.bc(2);a.Ab(1),a.ic("translation",n)("bold",!1)("showSpeech",!1)("speechSpeed",o.speechSpeed)("context",o.context)("searchMode",o.searchMode)}}function Po(t,e){if(1&t&&(a.Rb(0,"div",20),a.Mb(1,"dict-translation",21),a.Qb()),2&t){var n=e.$implicit,o=a.bc(3);a.Ab(1),a.ic("translation",n)("bold",!1)("showSpeech",!1)("speechSpeed",o.speechSpeed)("context",o.context)("searchMode",o.searchMode)}}function xo(t,e){if(1&t&&(a.Rb(0,"sk-accordion",22),a.Rb(1,"accordion-pane",23,24),a.Rb(3,"accordion-pane-header",25),a.Rb(4,"div",26),a.Bc(5),a.cc(6,"translate"),a.Mb(7,"i",27),a.Qb(),a.Qb(),a.Rb(8,"accordion-pane-content"),a.Rb(9,"div",17),a.zc(10,Po,2,6,"div",28),a.cc(11,"forTrackBy"),a.Qb(),a.Qb(),a.Qb(),a.Qb()),2&t){var n=a.qc(2),o=a.bc(2);a.ic("showArrows",!1),a.Ab(1),a.ic("isOpened",!1),a.Ab(4),a.Dc(" ",a.dc(6,5,n.isOpened?"LESS_EXAMPLES":"MORE_EXAMPLES")," "),a.Ab(5),a.ic("ngForOf",o.exampleGroups.hidden)("ngForTrackBy",a.dc(11,7,"id"))}}function So(t,e){if(1&t&&(a.Rb(0,"div",16),a.Rb(1,"div",17),a.zc(2,wo,2,6,"div",18),a.Qb(),a.zc(3,xo,12,9,"sk-accordion",19),a.Qb()),2&t){var n=a.bc();a.Ab(2),a.ic("ngForOf",n.exampleGroups.shown),a.Ab(1),a.ic("ngIf",n.exampleGroups.hidden)}}function Io(t,e){if(1&t&&(a.Rb(0,"div"),a.Mb(1,"dict-sense",31),a.Qb()),2&t){var n=e.$implicit,o=e.index,i=a.bc(2);a.Ab(1),a.ic("sense",n)("showExamples",i.showExamples)("index",i.getSubsenseIndex(o))("showSpeech",i.showSpeech)("speechSpeed",i.speechSpeed)("disableLinks",i.disableLinks)("language",i.language)("context",i.context)("searchMode",i.searchMode)}}function jo(t,e){if(1&t&&(a.Rb(0,"div",29),a.zc(1,Io,2,9,"div",30),a.cc(2,"forTrackBy"),a.Qb()),2&t){var n=a.bc();a.Ab(1),a.ic("ngForOf",n.sense.senses)("ngForTrackBy",a.dc(2,2,"id"))}}var Ao,Ro="a".charCodeAt(0),To=((Ao=function(){function t(){u(this,t),this.ngForTrackBy=Re.ngForTrackByIndex,this.hasScopeIdentifier=!1}return g(t,[{key:"getSubsenseIndex",value:function(t){return this.index.toString().match(/\d+/)?String.fromCharCode(Ro+t):t+1}},{key:"ngOnInit",value:function(){this.parseSenseIdentifier(),this.parseReferences(),this.parseExampleGroups()}},{key:"ngOnChanges",value:function(t){t.showExamples&&this.parseExampleGroups()}},{key:"parseReferences",value:function(){if(this.sense.reference&&this.sense.reference.length){var t={prec:"see",models:[]},e={prec:"compare",models:[]},n=t;this.sense.reference.forEach((function(o){var i=o.prec_text,r=o.lang,c=o.target;i&&(n="compare"===i?e:t),n.models.push({lang:r,target:c})}));var o=[];t.models.length&&o.push(t),e.models.length&&o.push(e),this.references=o}}},{key:"parseExampleGroups",value:function(){this.sense.examples&&this.sense.examples.length||(this.exampleGroups={}),this.exampleGroups=this.showExamples||this.sense.examples.length<=1?{shown:this.sense.examples}:{shown:this.sense.examples.slice(0,1),hidden:this.sense.examples.slice(1)}}},{key:"parseSenseIdentifier",value:function(){this.sense.senseName&&""!==this.sense.senseName&&this.sense.senseName.indexOf("<")>=0&&(this.hasScopeIdentifier=!0)}}]),t}()).\u0275fac=function(t){return new(t||Ao)},Ao.\u0275cmp=a.Fb({type:Ao,selectors:[["dict-sense"]],inputs:{sense:"sense",index:"index",showExamples:"showExamples",showSpeech:"showSpeech",speechSpeed:"speechSpeed",disableLinks:"disableLinks",language:"language",context:"context",searchMode:"searchMode"},features:[a.yb],decls:8,vars:5,consts:[[3,"ngClass"],["class","row",4,"ngIf","ngIfElse"],["withoutRow",""],["senseN
1ameAndDef",""],["class","examples-container",4,"ngIf"],["class","subsenses",4,"ngIf"],[1,"row"],[4,"ngTemplateOutlet"],["class","dict-entry-index",4,"ngIf"],["class","definitions-container",4,"ngIf"],[1,"dict-entry-index"],["lang","fi",3,"innerHtml"],[1,"definitions-container"],[1,"dict-definitions"],[3,"definition","searchMode",4,"ngFor","ngForOf","ngForTrackBy"],[3,"definition","searchMode"],[1,"examples-container"],[1,"dict-examples"],["class","example",4,"ngFor","ngForOf"],[3,"showArrows",4,"ngIf"],[1,"example"],[3,"translation","bold","showSpeech","speechSpeed","context","searchMode"],[3,"showArrows"],[3,"isOpened"],["accPane",""],[1,"examples-pane-header"],[1,"examples-heading"],[1,"fa-caret-down"],["class","example",4,"ngFor","ngForOf","ngForTrackBy"],[1,"subsenses"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"sense","showExamples","index","showSpeech","speechSpeed","disableLinks","language","context","searchMode"]],template:function(t,e){if(1&t&&(a.Rb(0,"div",0),a.zc(1,Oo,2,1,"div",1),a.zc(2,yo,1,1,"ng-template",null,2,a.Ac),a.zc(4,Mo,2,2,"ng-template",null,3,a.Ac),a.zc(6,So,4,2,"div",4),a.zc(7,jo,3,4,"div",5),a.Qb()),2&t){var n=a.qc(3);a.ic("ngClass",e.hasScopeIdentifier?"sense-container-grid-scope":"sense-container-grid"),a.Ab(1),a.ic("ngIf",e.hasScopeIdentifier)("ngIfElse",n),a.Ab(5),a.ic("ngIf",e.exampleGroups),a.Ab(1),a.ic("ngIf",null==e.sense.senses?null:e.sense.senses.length)}},directives:[jt.q,jt.t,jt.A,jt.s,Fn,bo,hn,Mn,jn,Rn,Ao],pipes:[Te,ho,f.e],styles:[".sense-container-grid[_ngcontent-%COMP%]{align-items:baseline;display:grid;grid-template-columns:-webkit-max-content auto;grid-template-columns:max-content auto;margin-bottom:.5rem}.sense-container-grid[_ngcontent-%COMP%] > .dict-entry-index[_ngcontent-%COMP%]{padding-right:.2rem;grid-row-start:1;grid-column-start:1}.sense-container-grid[_ngcontent-%COMP%] > .definitions-container[_ngcontent-%COMP%]{grid-row-start:1;grid-column-start:2}.sense-container-grid[_ngcontent-%COMP%] > .examples-container[_ngcontent-%COMP%]{grid-row-start:2;grid-column-start:2}.sense-container-grid[_ngcontent-%COMP%] > .subsenses[_ngcontent-%COMP%]{grid-row-start:3;grid-column-start:2}.sense-container-grid-scope[_ngcontent-%COMP%]{margin-bottom:.5rem;grid-template-columns:1rem auto}.row[_ngcontent-%COMP%], .sense-container-grid-scope[_ngcontent-%COMP%]{align-items:baseline;display:grid}.row[_ngcontent-%COMP%]{grid-template-columns:-webkit-max-content 1fr;grid-template-columns:max-content 1fr;grid-row-start:1;grid-column-start:1;grid-column-end:3}.row[_ngcontent-%COMP%] > .dict-entry-index[_ngcontent-%COMP%]{padding-right:.2rem}.sense-container-grid-scope[_ngcontent-%COMP%] > .examples-container[_ngcontent-%COMP%]{grid-row-start:2;grid-column-start:2}.sense-container-grid-scope[_ngcontent-%COMP%] > .subsenses[_ngcontent-%COMP%]{grid-row-start:3;grid-column-start:2}.dict-entry-index[_ngcontent-%COMP%]{font-weight:700}.subsenses[_ngcontent-%COMP%]{margin-top:.3rem;margin-left:.75rem}.dict-definitions[_ngcontent-%COMP%], .dict-examples[_ngcontent-%COMP%]{line-height:1.3}.dict-examples[_ngcontent-%COMP%]{border-left:1px solid #dbdbdb;color:#111;padding-left:.5rem}.example[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:.5rem}.examples-pane-header[_ngcontent-%COMP%]{display:inline-block}.examples-heading[_ngcontent-%COMP%]{color:#007faa;font-size:.75rem;font-weight:700;text-transform:uppercase}.examples-heading[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%]     sk-accordion .fa-caret-down:before{display:inline-block;transform:rotate(0deg);transition:transform .2s}[_nghost-%COMP%]     sk-accordion .is-expanded .fa-caret-down:before{transform:rotate(180deg)}@media (min-width:600px){.subsenses[_ngcontent-%COMP%]{margin-left:1rem}}"],changeDetection:0}),Ao);function Lo(t,e){if(1&t&&(a.Rb(0,"span",9),a.Bc(1),a.Qb()),2&t){var n=a.bc();a.Bb("id",n.word.href_anchor),a.Ab(1),a.Dc("",n.word.homonym,". ")}}function Eo(t,e){if(1&t&&(a.Mb(0,"sup",10),a.cc(1,"trustedHtml")),2&t){var n=a.bc();a.ic("innerHtml",a.dc(1,1,n.word.kotus_infl_type),a.uc)}}function Fo(t,e){1&t&&a.Mb(0,"div")}function Qo(t,e){if(1&t&&(a.Rb(0,"span",15),a.Bc(1),a.cc(2,"translate"),a.Qb(),a.Rb(3,"div",16),a.Mb(4,"inflections",17),a.Qb()),2&t){var n=a.bc(2);a.Ab(1),a.Cc(a.dc(2,2,"INFLECT_LINK")),a.Ab(3),a.ic("inflections",n.word.inflection_groups)}}function Bo(t,e){if(1&t&&(a.Rb(0,"sk-accordion",18),a.Rb(1,"accordion-pane"),a.Rb(2,"accordion-pane-header",19),a.Rb(3,"div",20),a.Bc(4),a.cc(5,"translate"),a.Mb(6,"i",21),a.Qb(),a.Qb(),a.Rb(7,"accordion-pane-content"),a.Rb(8,"div",16),a.Mb(9,"inflections",17),a.Qb(),a.Qb(),a.Qb(),a.Qb()),2&t){var n=a.bc(2);a.ic("showArrows",!1),a.Ab(4),a.Dc(" ",a.dc(5,3,"INFLECT_LINK")," "),a.Ab(5),a.ic("inflections",n.word.inflection_groups)}}function zo(t,e){if(1&t&&(a.Rb(0,"div",11),a.zc(1,Fo,1,0,"div",12),a.zc(2,Qo,5,4,"ng-template",null,13,a.Ac),a.zc(4,Bo,10,5,"ng-template",null,14,a.Ac
1),a.Qb()),2&t){var n=a.qc(3),o=a.qc(5),i=a.bc();a.Ab(1),a.ic("ngIf",i.preferences.show_inflections)("ngIfThen",n)("ngIfElse",o)}}var Do=function(t){return{"has-request":t}};function Ho(t,e){if(1&t&&(a.Rb(0,"div",22),a.Mb(1,"dict-sense",23),a.Qb()),2&t){var n=e.$implicit,o=e.index,i=a.bc();a.ic("ngClass",a.mc(10,Do,"unpublished"===i.word.state)),a.Ab(1),a.ic("sense",n)("showExamples",i.preferences.show_examples)("index",i.word.senses.length>1||i.word.senses.length>=1&&(null==i.word.senses[0].senses?null:i.word.senses[0].senses.length)>=1?o+1:"")("showSpeech",i.preferences.speech_on)("speechSpeed",i.preferences.speech_speed)("disableLinks",!i.features.allowWordLinks)("language",i.word.lang)("context",i.features.context)("searchMode",i.searchMode)}}var No,Vo=((No=function(){function t(){u(this,t),this.ngForTrackBy=Re.ngForTrackByIndex,this.editEntry=new a.o,this.inflect=new a.o,this.reportError=new a.o,this.additionalInfo=new a.o}return g(t,[{key:"copyToClipboard",value:function(t){var e="";window.getSelection?e=window.getSelection().toString():document.selection&&"Control"!==document.selection.type&&(e=document.selection.createRange().text);var n=new RegExp("\xad","g"),o=e.replace(n,"");(t.clipboardData||window.clipboardData).setData("text",o),t.preventDefault()}},{key:"class",get:function(){return"view-preference-"+this.preferences.view_preference}},{key:"lockedContent",get:function(){return!this.features.hasPremium&&"premium"===this.word.dict_type}}]),t}()).\u0275fac=function(t){return new(t||No)},No.\u0275cmp=a.Fb({type:No,selectors:[["dict-word"]],hostVars:2,hostBindings:function(t,e){2&t&&a.Cb(e.class)},inputs:{word:"word",preferences:"preferences",features:"features",searchMode:"searchMode"},outputs:{editEntry:"editEntry",inflect:"inflect",reportError:"reportError",additionalInfo:"additionalInfo"},decls:10,vars:11,consts:[[1,"entries-group-header"],[1,"dict-entry-header"],[1,"dict-headword",3,"copy"],["class","homonym-number",4,"ngIf"],[3,"text","gender","ngClass"],[3,"innerHtml",4,"ngIf"],[3,"values"],["class","inflect-area",4,"ngIf"],["class","entries-group-body",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"homonym-number"],[3,"innerHtml"],[1,"inflect-area"],[4,"ngIf","ngIfThen","ngIfElse"],["listBlock",""],["accordionBlock",""],[1,"inflections-heading"],["lang","fi",1,"infl-content"],[3,"inflections"],[3,"showArrows"],[1,"inflect-pane-header"],[1,"inflect-btn-content","e2e-inflections-header"],[1,"fa-caret-down"],[1,"entries-group-body",3,"ngClass"],[3,"sense","showExamples","index","showSpeech","speechSpeed","disableLinks","language","context","searchMode"]],template:function(t,e){1&t&&(a.Rb(0,"div",0),a.Rb(1,"div",1),a.Rb(2,"h1",2),a.Yb("copy",(function(t){return e.copyToClipboard(t)})),a.zc(3,Lo,2,2,"span",3),a.Mb(4,"text-with-gender",4),a.zc(5,Eo,2,3,"sup",5),a.Qb(),a.Mb(6,"dict-ipa",6),a.Qb(),a.zc(7,zo,6,3,"div",7),a.Qb(),a.zc(8,Ho,2,12,"div",8),a.cc(9,"forTrackBy")),2&t&&(a.Ab(3),a.ic("ngIf",e.word.homonym>0),a.Ab(1),a.ic("text",e.word.headword)("gender",e.word.gender)("ngClass","text-lang-"+e.word.lang),a.Ab(1),a.ic("ngIf",e.word.kotus_infl_type),a.Ab(1),a.ic("values",e.word.ipa),a.Ab(1),a.ic("ngIf",e.features.allowInflections&&e.word.inflection_groups&&(null==e.word.inflection_groups?null:e.word.inflection_groups.length)),a.Ab(1),a.ic("ngForOf",e.word.senses)("ngForTrackBy",a.dc(9,9,"id")))},directives:[jt.t,Ne,jt.q,cn,jt.s,pn,hn,Mn,jn,Rn,To],pipes:[ho,Te,f.e],styles:['.entries-group-header[_ngcontent-%COMP%]{margin-bottom:.5rem}.dict-entry-header[_ngcontent-%COMP%]{border-bottom:1px solid #656a6a;color:#111;padding-bottom:1rem}.dict-headword[_ngcontent-%COMP%]{display:inline;font-family:"Noto Serif",serif;font-size:1.625rem;font-weight:400;margin:0}sup[_ngcontent-%COMP%]{font-size:16px;margin-right:.2rem;vertical-align:middle}.homonym-number[_ngcontent-%COMP%]{font-size:21px;margin-right:.2rem}.inflect-area[_ngcontent-%COMP%]{align-items:center;min-height:2rem}.inflections-heading[_ngcontent-%COMP%]{display:inline-block;font-weight:700;font-size:.875rem;text-transform:uppercase}.inflect-pane-header[_ngcontent-%COMP%]{display:inline-block}.inflect-btn-content[_ngcontent-%COMP%]{color:#007faa;font-size:.875rem;font-weight:700;text-transform:uppercase}.infl-content[_ngcontent-%COMP%]{border-left:1px solid #dbdbdb;color:#111;padding-left:1rem}@media (min-width:960px){.infl-content[_ngcontent-%COMP%]{padding-left:1.2rem}}[_nghost-%COMP%]     sk-accordion .fa-caret-down:before{display:inline-block;transform:rotate(0deg);transition:transform .2s}[_nghost-%COMP%]     sk-accordion .is-expanded .fa-caret-down:before{transform:rotate(180deg)}.full-text-results[_nghost-%COMP%]   .dict-headword[_ngcontent-%COMP%], .full-text-results   [_nghost-%COMP%]   .dict-headword[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:700}.full-text-results[_nghost-%COMP%]   .homonym-number[_ngcontent-%COMP%], .full-text-results   [_nghost-%COMP%]   .homonym-number[_ngcontent-%COMP%]{font-size:16px}.full-text-results[_nghost-%COMP%]   sup[_ngcontent-%COMP%], .full-text-results   [_nghost-%COMP%]   sup[_ngcontent-%COMP%]{font-size:.875rem}'],changeDetection:0}
1),No),Uo=function(t){return{"less-space":t}};function Yo(t,e){if(1&t){var n=a.Sb();a.Rb(0,"article",1),a.Rb(1,"dict-word",2),a.Yb("reportError",(function(t){return a.tc(n),a.bc().reportError.emit(t)}))("editEntry",(function(t){return a.tc(n),a.bc().editEntry.emit(t)}))("additionalInfo",(function(t){return a.tc(n),a.bc().additionalInfo.emit(t)})),a.Qb(),a.Qb()}if(2&t){var o=e.$implicit,i=a.bc();a.ic("ngClass",a.mc(5,Uo,i.features.allowReportError||"premium"===o.dict_type)),a.Ab(1),a.ic("word",o)("preferences",i.preferences)("features",i.features)("searchMode",i.searchMode)}}var $o,Go,qo,Ko,Zo=(($o=function(){function t(){u(this,t),this.editEntry=new a.o,this.inflect=new a.o,this.reportError=new a.o,this.additionalInfo=new a.o,this.viewInitialized=new a.o}return g(t,[{key:"ngAfterViewInit",value:function(){this.viewInitialized.emit()}}]),t}()).\u0275fac=function(t){return new(t||$o)},$o.\u0275cmp=a.Fb({type:$o,selectors:[["dictionary-results"]],inputs:{words:"words",preferences:"preferences",features:"features",searchMode:"searchMode"},outputs:{editEntry:"editEntry",inflect:"inflect",reportError:"reportError",additionalInfo:"additionalInfo",viewInitialized:"viewInitialized"},decls:2,vars:4,consts:[["class","entry",3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"entry",3,"ngClass"],[3,"word","preferences","features","searchMode","reportError","editEntry","additionalInfo"]],template:function(t,e){1&t&&(a.zc(0,Yo,2,7,"article",0),a.cc(1,"forTrackBy")),2&t&&a.ic("ngForOf",e.words)("ngForTrackBy",a.dc(1,2,"id"))},directives:[jt.s,jt.q,Vo],pipes:[ho],styles:[".entry[_ngcontent-%COMP%]{border-bottom:1px solid #ffe000;padding-top:1rem;padding-bottom:1.5rem;word-wrap:break-word}.entry.less-space[_ngcontent-%COMP%]{padding-top:.5rem}.entry[_ngcontent-%COMP%]:first-of-type{padding-top:0}.entry[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.entry.has-request[_ngcontent-%COMP%]   .dict-entry-header[_ngcontent-%COMP%]{color:#999}.kotus-theme[_nghost-%COMP%]   .entry[_ngcontent-%COMP%], .kotus-theme   [_nghost-%COMP%]   .entry[_ngcontent-%COMP%]{border-bottom:none}"],changeDetection:0}),$o),Wo=r("+z+H"),Xo=["*"],Jo=((Go=function t(){u(this,t)}).\u0275fac=function(t){return new(t||Go)},Go.\u0275cmp=a.Fb({type:Go,selectors:[["popup-title"]],ngContentSelectors:Xo,decls:1,vars:0,template:function(t,e){1&t&&(a.hc(),a.gc(0))},encapsulation:2}),Go),ti=r("as/G"),ei=["*"],ni=((qo=function(){function t(e){u(this,t),this.popup=e}return g(t,[{key:"clickHandler",value:function(t){if(this.popup.show&&this.popup.clickTimeStamp!==t.timeStamp){for(var e=t.target;e;e=e.parentNode)if(e.id&&e.id===this.popup.contentId)return;this.popup.close()}}},{key:"resizeHandler",value:function(){var t=this;this.popup.show&&(clearTimeout(this.debouncer),this.debouncer=setTimeout((function(){t.popup.setOffset()}),200))}}]),t}()).\u0275fac=function(t){return new(t||qo)(a.Lb(Object(a.U)((function(){return Wo.a})),1))},qo.\u0275cmp=a.Fb({type:qo,selectors:[["popup-content"]],hostBindings:function(t,e){1&t&&a.Yb("click",(function(t){return e.clickHandler(t)}),!1,a.rc)("resize",(function(){return e.resizeHandler()}),!1,a.sc)},ngContentSelectors:ei,decls:1,vars:0,template:function(t,e){1&t&&(a.hc(),a.gc(0))},styles:["popup-content { display: block; padding: 1rem; }"],encapsulation:2}),qo),oi=["linkInput"],ii=((Ko=function(){function t(e){u(this,t),this.window=e,this.copied=!1}return g(t,[{key:"popupToggle",value:function(){this.link=this.window.location.href.replace("/#/","/"),this.link=decodeURIComponent(this.link),this.link=this.link.split("?")[0]}},{key:"share",value:function(){this.input.nativeElement.focus(),this.input.nativeElement.select(),document.execCommand("copy"),this.copied=!0}}]),t}()).\u0275fac=function(t){return new(t||Ko)(a.Lb(J.p))},Ko.\u0275cmp=a.Fb({type:Ko,selectors:[["sk-share"]],viewQuery:function(t,e){var n;1&t&&a.yc(oi,!0),2&t&&a.pc(n=a.Zb())&&(e.input=n.first)},decls:9,vars:5,consts:[[1,"share-container"],[1,"kt-button","share-btn",3,"click"],[1,"fa-link"],[1,"fa-check","copied-check",3,"hidden"],["name","link","type","text",1,"textual-input","link-input",3,"ngModel","ngModelChange"],["linkInput",""]],template:function(t,e){1&t&&(a.Rb(0,"div",0),a.Rb(1,"button",1),a.Yb("click",(function(){return e.share()})),a.Mb(2,"span",2),a.Rb(3,"span"),a.Bc(4),a.cc(5,"translate"),a.Qb(),a.Qb(),a.Mb(6,"i",3),a.Rb(7,"input",4,5),a.Yb("ngModelChange",(function(t){return e.link=t})),a.Qb(),a.Qb()),2&t&&(a.Ab(4),a.Cc(a.dc(5,3,"COPY_LINK")),a.Ab(2),a.ic("hidden",!e.copied),a.Ab(1),a.ic("ngModel",e.link))},directives:[At.b,At.k,At.m],pipes:[f.e],styles:[".share-container[_ngcontent-%COMP%]{padding:.5rem 0 .5rem 1rem;width:16rem}.share-container[_ngcontent-%COMP%]   .share-btn[_ngcontent-%COMP%]{width:calc(100% - 1.2rem)}.share-container[_ngcontent-%COMP%]   .copied-check[_ngcontent-%COMP%]{color:#97cc04;font-size:1.375rem;padding-top:.3rem;position:absolute;right:.5rem}.share-container[_ngcontent-%COMP%]   .link-input[_ngcontent-%COMP%]{margin:.5rem 0;width:calc(100% - 1.2rem)}"]}),Ko),ri=r("0E+W"),ci=["closeSidelistButton"],ai=["resultsDiv"];function si(t,e){1&t&&(a.Rb(0,"div",17),a.Mb(1,"sk-spinner",18),a.Qb()),2&t&&(a.Ab(1),a.ic("size","small"))}function li(t,e){if(1&t){var n=a.Sb();a.Rb(0,"suggestions",19),a.Yb("loadMore",(function(t){return a.tc(n),a.bc(2).onLoadMoreSuggestions(t)})),a.cc(1,"async"),a.cc(2,"async"),a.cc(3,"async"),a.cc(4,"async"),a.cc(5,"async"),a.cc(6,"async"),a.cc(7,"async"),a.Qb()}if(2&t){var o=a.bc(2);a.ic("suggestions",a.dc(1,7,o.suggestionResult$))("words",a.dc(2,9,o.words$))("isLoading",a.dc(3,11,o.suggestionsLoading$))("currentHeadword",a.dc(4,13,o.text$))("pageInfo",a.dc(5,15,o.pageInfo$))("searchedFor",a.dc(6,17,o.suggestionsText$))("searchMode",a.dc(7,19,o.searchMode$))}}function ui(t,e){1&t&&a.Mb(0,"sk-spinner")}var di=function(t){return{word:t}};function gi(t,e){if(1&t){var n=a.Sb();a.Pb(0),a.Rb(1,"dictionary-results",22),a.Yb("viewInitialized",(function(){return a.tc(n),a.bc(3).onViewInitialized()})),a.cc(2,"async"),a.Qb(),a.Mb(3,"hr",23),a.Rb(4,"div",24),a.Mb(5,"p",25),a.Rb(6,"button",26),a.Yb("click",(function(){return a.tc(n),a.bc(3).focusToSearchInput()})),a.Bc(7),a.cc(8,"translate"),a.Qb(),a.Qb(),a.Rb(9,"div",27),a.Rb(10,"sk-popup",28,29),a.Yb("toggle",(function(){return a.tc(n),a.qc(19).popupToggle(
1)})),a.Rb(12,"popup-title",30),a.Mb(13,"span",31),a.Mb(14,"app-link-svg",32),a.Qb(),a.Rb(15,"popup-content"),a.Rb(16,"button",33),a.Yb("click",(function(){return a.tc(n),a.qc(11).close()})),a.Mb(17,"i",34),a.Qb(),a.Mb(18,"sk-share",null,35),a.Qb(),a.Qb(),a.Qb(),a.Rb(20,"div",27),a.Rb(21,"a",36),a.cc(22,"translate"),a.cc(23,"translate"),a.cc(24,"async"),a.Rb(25,"span",37),a.Bc(26),a.cc(27,"translate"),a.Qb(),a.Mb(28,"app-mail-svg",32),a.Qb(),a.Qb(),a.Ob()}if(2&t){var o=a.bc().ngIf,i=a.bc(2);a.Ab(1),a.ic("words",o)("preferences",a.dc(2,9,i.preferences$))("features",i.dictionaryFeatures),a.Ab(4),a.ic("translate","DICT_ARTICLE_COPYRIGHT"),a.Ab(2),a.Cc(a.dc(8,11,"JUMP_TO_SEARCH_INPUT")),a.Ab(6),a.ic("translate","RESULTS_SHARE_ARTICLE"),a.Ab(8),a.ic("href","mailto:[email protected]?subject="+a.ec(23,15,"MAIL_FEEDBACK_OF",a.mc(22,di,a.dc(24,18,i.text$))),a.vc),a.Bb("aria-label",a.dc(22,13,"RESULTS_SEND_FEEDBACK_VIA_EMAIL")),a.Ab(5),a.Cc(a.dc(27,20,"RESULTS_SEND_FEEDBACK"))}}function fi(t,e){if(1&t){var n=a.Sb();a.Rb(0,"p",38),a.Bc(1),a.cc(2,"translate"),a.Qb(),a.Rb(3,"div",39),a.Rb(4,"button",40),a.Yb("click",(function(){return a.tc(n),a.bc(3).focusToSearchInput()})),a.Bc(5),a.cc(6,"translate"),a.Qb(),a.Qb()}2&t&&(a.Ab(1),a.Cc(a.dc(2,2,"SEE_RESULTS_LIST")),a.Ab(4),a.Cc(a.dc(6,4,"JUMP_TO_SEARCH_INPUT")))}function pi(t,e){if(1&t&&(a.Pb(0),a.zc(1,gi,29,24,"ng-container",20),a.zc(2,fi,7,6,"ng-template",null,21,a.Ac),a.Ob()),2&t){var n=e.ngIf,o=a.qc(3);a.Ab(1),a.ic("ngIf",n&&n.length)("ngIfElse",o)}}var bi=function(t,e){return{closed:t,open:e}};function hi(t,e){if(1&t){var n=a.Sb();a.Rb(0,"div",1),a.Rb(1,"div",2),a.Rb(2,"div",3),a.Rb(3,"button",4,5),a.Yb("click",(function(){return a.tc(n),a.bc().onToggleSuggestions()})),a.Qb(),a.Qb(),a.zc(5,si,2,1,"div",6),a.zc(6,li,8,21,"suggestions",7),a.Qb(),a.Rb(7,"div",8,9),a.Rb(9,"div",10),a.Rb(10,"button",11),a.Yb("click",(function(){return a.tc(n),a.bc().onToggleSuggestions()})),a.Bc(11),a.cc(12,"translate"),a.Qb(),a.Qb(),a.Rb(13,"div",12),a.Rb(14,"kt-on-off-slider",13),a.Yb("isChecked",(function(t){return a.tc(n),a.bc().setShowInflections(t)})),a.cc(15,"async"),a.cc(16,"translate"),a.Qb(),a.Rb(17,"kt-on-off-slider",14),a.Yb("isChecked",(function(t){return a.tc(n),a.bc().setShowExamples(t)})),a.cc(18,"async"),a.cc(19,"translate"),a.Qb(),a.Qb(),a.Rb(20,"div",15),a.zc(21,ui,1,0,"sk-spinner",16),a.cc(22,"async"),a.zc(23,pi,4,2,"ng-container",16),a.cc(24,"async"),a.cc(25,"async"),a.Qb(),a.Qb(),a.Qb()}if(2&t){var o=e.ngIf,i=a.bc();a.Ab(1),a.ic("ngClass",a.nc(27,bi,"closed"===o,"open"===o)),a.Ab(4),a.ic("ngIf",i.suggestionsInitialLoad),a.Ab(1),a.ic("ngIf",!i.suggestionsInitialLoad),a.Ab(1),a.ic("ngClass","open"==o?"hide":"show"),a.Ab(4),a.Cc(a.dc(12,11,"DICT_OPEN_SIDELIST")),a.Ab(3),a.ic("initValue",a.dc(15,13,i.preferences$).show_inflections)("label",a.dc(16,15,"PREFERENCES_SHOW_INFLECTIONS")),a.Ab(3),a.ic("initValue",a.dc(18,17,i.preferences$).show_examples)("label",a.dc(19,19,"PREFERENCES_SHOW_EXAMPLES")),a.Ab(4),a.ic("ngIf",a.dc(22,21,i.isLoading$)),a.Ab(2),a.ic("ngIf",a.dc(24,23,!a.dc(25,25,i.isLoading$)&&i.words$))}}var mi,Oi,vi,yi,Ci,ki=((mi=function(){function t(e,n,o,i,r,c){u(this,t),this.route=e,this.store=n,this.anchorScrollerService=o,this.focusToSearchInputService=i,this.toContentService=r,this.window=c,this.dictionaryFeatures=K.e}return g(t,[{key:"onViewInitialized",value:function(){var t=this;this.anchor=this.route.fragment.subscribe((function(e){return t.scrollToAnchor(e)}))}},{key:"ngOnInit",value:function(){var t=this;this.toContentServiceSubsc=this.toContentService.focusSubject$.subscribe((function(e){e&&(t.resultsDiv.nativeElement.setAttribute("tabindex","-1"),t.resultsDiv.nativeElement.focus(),t.resultsDiv.nativeElement.removeAttribute("tabindex"))})),this.suggestionsInitialLoadSubsc=this.suggestionsInitialLoad$.subscribe((function(e){return t.suggestionsInitialLoad=e}))}},{key:"ngOnDestroy",value:function(){this.anchor&&this.anchor.unsubscribe(),this.toContentServiceSubsc&&this.toContentServiceSubsc.unsubscribe(),this.suggestionsInitialLoadSubsc&&this.suggestionsInitialLoadSubsc.unsubscribe()}},{key:"focusToSearchInput",value:function(){this.focusToSearchInputService.focus()}},{key:"onToggleSuggestions",value:function(){var t=this;this.store.dispatch(new Y.r),setTimeout((function(){var e;null===(e=t.closeSidelistButton)||void 0===e||e.nativeElement.focus()})),this.scrollToResultsTop()}},{key:"onLoadMoreSuggestions",value:function(t){this.store.dispatch(new Y.i(t))}},{key:"setShowExamples",value:function(t){this.store.dispatch(new Y.p(t))}},{key:"setShowInflections",value:function(t){this.store.dispatch(new Y.q(t))}},{key:"scrollToAnchor",value:function(t){var e=this;t&&(this.element&&this.element.classList.remove("anchor-highlight"),this.anchorScrollerService.scrollToAnchor(t,(function(n){"main-content"!==t&&(e.element=n,e.element.classList.add("anchor-highlight"))})),p.a.schedule((function(){return e.window.scrollBy(0,-32)})))}},{key:"scrollToResultsTop",value:function(){var t=document.getElementById("results-area");if(t){var e=t.getBoundingClientRect(),n=document.body.getBoundingClientRect();window.pageYOffset>e.top-n.top&&this.anchorScrollerService.scrollToAnchor("results-area")}}}]),t}()).\u0275fac=function(t){return new(t||mi)(a.Lb(N.a),a.Lb(Q.i),a.Lb(ee.a),a.Lb(J.f),a.Lb(J.e),a.Lb(J.p))},mi.\u0275cmp=a.Fb({type:mi,selectors:[["ng-component"]],viewQuery:function(t,e){var n;1&t&&(a.Fc(ci,!0),a.Fc(ai,!0)),2&t&&(a.pc(n=a.Zb())&&(e.closeSidelistButton=n.first),a.pc(n=a.Zb())&&(e.resultsDiv=n.first))},decls:2,vars:3,consts:[["class","results-area","id","results-area",4,"ngIf"],["id","results-area",1,"results-area"],[1,"suggestions-area",3,"ngClass"],[1,"close-side-list-wrapper"],["type","button",1,"fa-cancel","close-side-list-btn",3,"click"],["closeSidelistButton",""],["class","suggestion-spinner-wrapper",4,"ngIf"],["class","suggestions-panel",3,"suggestions","words","isLoading","currentHeadword","pageInfo","searchedFor","searchMode","loadMore",4,"ngIf"],["id","main-content",1,"result-content-area",3,"ngClass"],["resultsDiv",""],[1,"open-side-list-wrapper"],["type","button",1,"open-side-list-btn",3,"click"],[1,"slider-box"],[1,"slider","inflection-switch",3,"initV
1alue","label","isChecked"],[1,"slider","example-switch",3,"initValue","label","isChecked"],[1,"result-content"],[4,"ngIf"],[1,"suggestion-spinner-wrapper"],[3,"size"],[1,"suggestions-panel",3,"suggestions","words","isLoading","currentHeadword","pageInfo","searchedFor","searchMode","loadMore"],[4,"ngIf","ngIfElse"],["guideText",""],[3,"words","preferences","features","viewInitialized"],[1,"line"],[1,"copyright-wrapper"],[1,"copyright",3,"translate"],[1,"hyperlink","skip-link",3,"click"],[1,"action-after-article"],[1,"share-popup",3,"toggle"],["popup",""],[1,"share-btn-content"],[1,"icon-text",3,"translate"],[1,"result-icons"],["type","button",1,"close-button",3,"click"],[1,"fa-close-circled","close-icon"],["share",""],[1,"feedback-link",3,"href"],[1,"icon-text"],[1,"guide-text"],[1,"bottom-jump-link-wrapper"],[1,"hyperlink","skip-link","bottom-jump-link",3,"click"]],template:function(t,e){1&t&&(a.zc(0,hi,26,30,"div",0),a.cc(1,"async")),2&t&&a.ic("ngIf",a.dc(1,1,e.panelState$))},directives:[jt.t,jt.q,Et.a,oe,Ae,Zo,f.b,Wo.a,Jo,ti.a,ni,ii,ri.a],pipes:[jt.b,f.e],styles:[".slider-box[_ngcontent-%COMP%]{align-items:flex-end;display:flex;flex-direction:column;position:absolute;top:0;right:1rem;z-index:2}.slider[_ngcontent-%COMP%] + .slider[_ngcontent-%COMP%]{margin-top:5px}@media (min-width:600px){.slider-box[_ngcontent-%COMP%]{display:block;top:2px;right:2rem}.slider[_ngcontent-%COMP%] + .slider[_ngcontent-%COMP%]{margin-top:0;margin-left:1rem}}@media (min-width:960px){.slider-box[_ngcontent-%COMP%]{top:4px}}",'.results-area[_ngcontent-%COMP%]{display:flex;flex:1 1 auto;flex-direction:column;min-height:calc(100vh - 259px)}@media (min-width:960px){.results-area[_ngcontent-%COMP%]{background-color:#f7f7f7;flex-direction:row;justify-content:center}}.skip-link[_ngcontent-%COMP%]{display:none}@media (min-width:960px){.skip-link[_ngcontent-%COMP%]{background-color:transparent;display:inline-block;font-size:.875rem;opacity:0;position:absolute;z-index:-1}.skip-link[_ngcontent-%COMP%]:focus{opacity:1;z-index:0}}.suggestions-area[_ngcontent-%COMP%]{background-color:#007faa;color:#fff;flex:1 1 auto}.suggestions-area.closed[_ngcontent-%COMP%]{display:none}.suggestions-area.open[_ngcontent-%COMP%]{display:block}@media (min-width:960px){.suggestions-area[_ngcontent-%COMP%]{background-color:#fff;color:#000;flex:0 0 240px;min-width:240px}.suggestions-area.closed[_ngcontent-%COMP%]{display:block}}.suggestion-spinner-wrapper[_ngcontent-%COMP%]{margin-top:2rem}.close-side-list-wrapper[_ngcontent-%COMP%]{margin:.5rem 1rem 0;text-align:right}@media (min-width:960px){.close-side-list-wrapper[_ngcontent-%COMP%]{display:none}}.close-side-list-btn[_ngcontent-%COMP%]{background-color:transparent;border:0;color:#fff;font-size:1.625rem;height:32px;padding:0 0 2px;width:32px}.result-content-area[_ngcontent-%COMP%]{flex:1 1 auto;position:relative}.result-content-area.hide[_ngcontent-%COMP%]{display:none}.result-content-area.show[_ngcontent-%COMP%]{display:block}@media (min-width:960px){.result-content-area[_ngcontent-%COMP%]{background-color:#fff;margin-left:10px;flex:0 1 964px;min-width:690px}.result-content-area.hide[_ngcontent-%COMP%]{display:block}}.open-side-list-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;z-index:1}@media (min-width:960px){.open-side-list-wrapper[_ngcontent-%COMP%]{display:none}}.open-side-list-btn[_ngcontent-%COMP%]{background-color:#007faa;border:1px solid #007faa;border-bottom-right-radius:15px;color:#fff;font-size:13px;height:32px}.result-content[_ngcontent-%COMP%]{margin-top:28px;padding:1rem}.line[_ngcontent-%COMP%]{margin-right:auto;margin-left:0;width:5rem}.copyright[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:0}.copyright-wrapper[_ngcontent-%COMP%]{margin-bottom:1.5rem}.share-popup[_ngcontent-%COMP%]{display:inline-block}.share-btn-content[_ngcontent-%COMP%]{display:flex}.icon-text[_ngcontent-%COMP%]{font-family:"Noto Serif",serif;line-height:32px;padding-right:.625rem}.close-button[_ngcontent-%COMP%]{position:absolute;background-color:transparent;border-color:transparent;border-top-left-radius:0;border-top-right-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:inherit;color:#c1c1c1;width:2.5rem;top:0;right:-3px}.close-icon[_ngcontent-%COMP%]{font-size:25px}.result-icons[_ngcontent-%COMP%]{width:32px;height:32px}.bottom-jump-link-wrapper[_ngcontent-%COMP%], .guide-text[_ngcontent-%COMP%]{text-align:center}.bottom-jump-link[_ngcontent-%COMP%]{margin-left:-5rem}.action-after-article[_ngcontent-%COMP%]{margin-bottom:.5rem}.feedback-link[_ngcontent-%COMP%]{color:#111;display:inline-flex;text-decoration:none}@media (min-width:600px){.open-side-list-btn[_ngcontent-%COMP%]{font-size:.875rem}.result-content[_ngcontent-%COMP%]{margin-top:0;padding:2rem}}']}),Object(H.a)([Object(Q.e)(pt.dictionaryPreferences),Object(H.b)("design:type",Tt.a)],mi.prototype,"preferences$",void 0),Object(H.a)([Object(Q.e)((function(t){return t.dict.search.isLoading})),Object(H.b)("design:type",Tt.a)],mi.prototype,"isLoading$",void 0),Object(H.a)([Object(Q.e)((function(t){return t.dict.search.words})),Object(H.b)("design:type",Tt.a)],mi.prototype,"words$",void 0),Object(H.a)([Object(Q.e)((function(t){return t.dict.search.text})),Object(H.b)("design:type",Tt.a)],mi.prototype,"text$",void 0),Object(H.a)([Object(Q.e)(ut.getPageInfo()),Object(H.b)("design:type",Tt.a)],mi.prototype,"pageInfo$",void 0),Object(H.a)([Object(Q.e)(ut.getResult()),Object(H.b)("design:type",Tt.a)],mi.prototype,"suggestionResult$",void 0),Object(H.a)([Object(Q.e)(ut.getText()),Object(H.b)("design:type",Tt.a)],mi.prototype,"suggestionsText$",void 0),Object(H.a)([Object(Q.e)(ut.getIsLoading()),Object(H.b)("design:type",Tt.a)],mi.prototype,"suggestionsLoading$",void 0),Object(H.a)([Object(Q.e)(ut.getIsInitialLoad()),Object(H.b)("design:type",Tt.a)],mi.prototype,"suggestionsInitialLoad$",void 0),Object(H.a)([Object(Q.e)(ut.panelState),Object(H.b)("design:type",Tt.a)],mi.prototype,"panelState$",void 0),Object(H.a)([Object(Q.e)(it.mode),Object(H.b)("design:type",Tt.a)],mi.prototype,"searchMode$",void 0),mi),_i=r("K6Ak"),Mi=((Ci=function(){function t(e,n){u(this,t),this.store=e,this.titleService=n}return g(t,[{key:"resolve",value:function(t){var e=t.paramMap.get("word"),n=t.queryParams.searchMode;this.store.dispatch(new Y.n("default")),this.store.dispatch(new Y.o(n)),this.store.dispatch(new Y.m(e,t.queryParams.source)),this.titleService.changeWordTitle(e)}}]),t}()).\u0275fac=function(t){return new(t||Ci)(a.Vb(Q.i),a.Vb(_i.a))},Ci.\u0275prov=a.Hb({token:Ci,factory:Ci.\u0275fac}),Ci),wi=((yi=function(){function t(e,n){u(this,t),this.store=e,this.titleService=n}return g(t,[{key:"resolve",value:function(t){var e=t.paramMap.get("word"),n={baseforms:"true"===t.queryParams.baseforms,field:t.queryParams.field,order:t.queryParams.order||"entry"},o=t.queryParams.page?+t.queryParams.page:0;this.store.dispatch(new Y.n("fulltext")),this.store.dispatch(new Y.g(e,n,o)),this.titleService.changeFulltextWordTitle(e)}}]),t}()).\u0275fac=function(t){return new(t||yi)(a.Vb(Q.i),a.Vb(_i.a))},yi.\u0275prov=a.Hb({token:yi,factory:yi.\u0275fac}),yi),Pi=((vi=function(){function t(e){u(this,t),this.router=e}return g(t,[{key:"canActivate",value:function(){var t=(decodeURIComponent(location.pathname)||"").split("/").filter((function(t){return!!t}));if(!t.length)return!0;"netmot.exe"===t[0]&&(t=[]);var e=location.hash?location.hash.replace("#",""):void 0;return this.router.navigate(t,{fragment:e}),!1}}]),t}()).\u0275fac=function(t){return new(t||vi)(a.Vb(N.d))},vi.\u0275prov=a.Hb({token:vi,factory:vi.\u0275fac}),vi),xi=((Oi=function(){function t(e,n){u(this,t),this.titleService=e,this.store=n}return g(t,[{key:"canActivate",value:function(){return this.titleService.changeTitleMainPage(),this.store.dispatch(new Y.l),!0}}]),t}()).\u0275fac=function(t){return new(t||Oi)(a.Vb(_i.a),a.Vb(Q.i))},Oi.\u0275prov=a.Hb({token:Oi,factory:Oi.\u0275fac}),Oi);function Si(t,e){1&t&&a.Mb(0,"sk-spinner")}function Ii(t,e){if(1&t&&a.Mb(0,"dictionary-results",3),2&t){var n=e.ngIf,o=a.bc();a.ic("words",n)("preferences",o.preferences)("features",o.dictionaryFeatures)("searchMode","fulltext")}}var ji,Ai=((ji=function(){function t(e){u(this,t),this.store=e,this.dictionaryFeatures=K.e}return g(t,[{key:"ngOnInit",value:function(){this.word$=this.store.select(ft.getEntry(this.entryRef)),this.store.dispatch(new Y.h(this.entryRef))}}]),t}()).\u0275fac=function(t){return new(t||ji)(a.Lb(Q.i))}
1,ji.\u0275cmp=a.Fb({type:ji,selectors:[["full-text-word"]],inputs:{entryRef:"entryRef",preferences:"preferences"},decls:5,vars:6,consts:[[1,"wrapper"],[4,"ngIf"],[3,"words","preferences","features","searchMode",4,"ngIf"],[3,"words","preferences","features","searchMode"]],template:function(t,e){1&t&&(a.Rb(0,"div",0),a.zc(1,Si,1,0,"sk-spinner",1),a.cc(2,"async"),a.zc(3,Ii,1,4,"dictionary-results",2),a.cc(4,"async"),a.Qb()),2&t&&(a.Ab(1),a.ic("ngIf",!a.dc(2,2,e.word$)),a.Ab(2),a.ic("ngIf",a.dc(4,4,e.word$)))},directives:[jt.t,oe,Zo],pipes:[jt.b],styles:[".wrapper[_ngcontent-%COMP%]{min-height:90px}"],changeDetection:0}),ji);function Ri(t,e){if(1&t){var n=a.Sb();a.Rb(0,"paging",7),a.Yb("loadMore",(function(t){a.tc(n);var e=a.bc();return a.qc(4).closeAll(),e.loadMore.emit(t)})),a.Qb()}if(2&t){var o=a.bc();a.ic("currentPage",o.pageInfo.page)("totalPages",o.pageInfo.totalPages)("isLoading",o.isLoading)("counted",o.counted)("matches",o.pageInfo.totalCount)("totalCount",o.pageInfo.totalCount)("matchCount",o.pageInfo.count)("isSideView",!1)}}var Ti=function(t){return{count:t}};function Li(t,e){if(1&t&&(a.Rb(0,"p",8),a.Bc(1,"SUGGESTION_COUNT_GOT"),a.Qb()),2&t){var n=a.bc();a.ic("translateParams",a.mc(1,Ti,n.pageInfo.count))}}function Ei(t,e){if(1&t&&a.Mb(0,"full-text-word",21),2&t){var n=a.bc().$implicit,o=a.bc();a.ic("preferences",o.preferences)("entryRef",n.entryRef)}}function Fi(t,e){if(1&t&&(a.Rb(0,"div",9),a.Rb(1,"accordion-pane",10,11),a.Rb(3,"accordion-pane-header",12),a.Rb(4,"div",13),a.Rb(5,"strong",14),a.Bc(6),a.Qb(),a.Rb(7,"span",15),a.Mb(8,"span",16),a.cc(9,"trustedHtml"),a.Mb(10,"strong",16),a.cc(11,"trustedHtml"),a.Mb(12,"span",16),a.cc(13,"trustedHtml"),a.Qb(),a.Qb(),a.Rb(14,"div",17),a.Mb(15,"i",18),a.Qb(),a.Qb(),a.Rb(16,"accordion-pane-content"),a.Rb(17,"div",19),a.zc(18,Ei,1,2,"full-text-word",20),a.Qb(),a.Qb(),a.Qb(),a.Qb()),2&t){var n=e.$implicit,o=a.qc(2);a.Ab(1),a.ic("animateCollapse",!1),a.Ab(5),a.Dc("",n.clean_headword,": "),a.Ab(2),a.ic("innerHtml",a.dc(9,6,n.leftContext),a.uc),a.Ab(2),a.ic("innerHtml",a.dc(11,8,n.match),a.uc),a.Ab(2),a.ic("innerHtml",a.dc(13,10,n.rightContext),a.uc),a.Ab(6),a.ic("ngIf",o.isOpened)}}function Qi(t,e){if(1&t){var n=a.Sb();a.Rb(0,"paging",22),a.Yb("loadMore",(function(t){a.tc(n);var e=a.bc();return a.qc(4).closeAll(),e.loadMore.emit(t)})),a.Qb()}if(2&t){var o=a.bc();a.ic("currentPage",o.pageInfo.page)("totalPages",o.pageInfo.totalPages)("isLoading",o.isLoading)("counted",o.counted)("matches",o.pageInfo.totalCount)("totalCount",o.pageInfo.totalCount)("matchCount",o.pageInfo.count)("isSideView",!1)}}var Bi,zi,Di=((zi=function(){function t(e){u(this,t),this.toContentService=e,this.loadMore=new a.o,this.totalPages=K.d,this.ngForTrackByIndex=mt.ngForTrackByIndex}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.focusSubscription=this.toContentService.focusSubject$.subscribe((function(e){e&&t.focusPoint.first.focusOnButton()}))}},{key:"ngOnDestroy",value:function(){this.focusSubscription&&this.focusSubscription.unsubscribe()}}]),t}()).\u0275fac=function(t){return new(t||zi)(a.Lb(J.e))},zi.\u0275cmp=a.Fb({type:zi,selectors:[["full-text-suggestions"]],viewQuery:function(t,e){var n;1&t&&a.Fc(jn,!0),2&t&&a.pc(n=a.Zb())&&(e.focusPoint=n)},inputs:{currentHeadword:"currentHeadword",result:"result",isLoading:"isLoading",pageInfo:"pageInfo",counted:"counted",count:"count",preferences:"preferences"},outputs:{loadMore:"loadMore"},decls:7,vars:7,consts:[[1,"full-text-results"],["class","full-text-paging-top",3,"currentPage","totalPages","isLoading","counted","matches","totalCount","matchCount","isSideView","loadMore",4,"ngIf"],["class","hits","translate","",3,"translateParams",4,"ngIf"],[3,"multiple","showArrows"],["accordionRef",""],["class","row",4,"ngFor","ngForOf","ngForTrackBy"],["class","full-text-paging-bottom",3,"currentPage","totalPages","isLoading","counted","matches","totalCount","matchCount","isSideView","loadMore",4,"ngIf"],[1,"full-text-paging-top",3,"currentPage","totalPages","isLoading","counted","matches","totalCount","matchCount","isSideView","loadMore"],["translate","",1,"hits",3,"translateParams"],[1,"row"],[3,"animateCollapse"],["panelRef",""],[1,"full-text-result-pane-header"],[1,"row-header-content"],["lang","fi",1,"row-headword"],["lang","fi"],[3,"innerHtml"],[1,"arrow-container"],[1,"fa-up-open","e2e-fulltext-result-arrow"],[1,"row-content"],[3,"preferences","entryRef",4,"ngIf"],[3,"preferences","entryRef"],[1,"full-text-paging-bottom",3,"currentPage","totalPages","isLoading","counted","matches","totalCount","matchCount","
1isSideView","loadMore"]],template:function(t,e){1&t&&(a.Rb(0,"section",0),a.zc(1,Ri,1,8,"paging",1),a.zc(2,Li,2,3,"p",2),a.Rb(3,"sk-accordion",3,4),a.zc(5,Fi,19,12,"div",5),a.Qb(),a.zc(6,Qi,1,8,"paging",6),a.Qb()),2&t&&(a.Ab(1),a.ic("ngIf",e.pageInfo.totalPages&&e.pageInfo.totalPages>1),a.Ab(1),a.ic("ngIf",e.pageInfo.count&&e.pageInfo.totalPages<=1),a.Ab(1),a.ic("multiple",!0)("showArrows",!1),a.Ab(2),a.ic("ngForOf",e.result)("ngForTrackBy",e.ngForTrackByIndex),a.Ab(1),a.ic("ngIf",e.pageInfo.totalPages&&e.pageInfo.totalPages>1))},directives:[jt.t,hn,jt.s,Oe,f.b,Mn,jn,Rn,Ai],pipes:[Te],styles:['.row[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #cbcbcb;margin:.5rem 0}.row-header-content[_ngcontent-%COMP%]{line-height:1.5;min-width:0;overflow-wrap:break-word;padding:.75rem 4px .75rem .75rem;text-align:left}.row-headword[_ngcontent-%COMP%]{color:#007faa;font-size:16px}.arrow-container[_ngcontent-%COMP%]{padding-right:.75rem}.fa-up-open[_ngcontent-%COMP%]{color:#007faa;display:inline-block;transform:rotate(180deg);transition:transform .2s;padding-bottom:4px}  .is-expanded .fa-up-open{transform:rotate(0deg)}.row-content[_ngcontent-%COMP%]{border-top:1px solid #cbcbcb;padding:.75rem .75rem 0}.hits[_ngcontent-%COMP%]{font-family:"Noto Serif",serif;font-size:16px;margin-top:0;margin-bottom:0}.hits-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row}.full-text-paging-top[_ngcontent-%COMP%]{margin-top:.5rem;margin-bottom:1rem}.full-text-paging-bottom[_ngcontent-%COMP%]{margin-top:1rem}@media (min-width:960px){.row-header-content[_ngcontent-%COMP%]{padding-left:1rem}.arrow-container[_ngcontent-%COMP%]{padding-right:1rem}.row-content[_ngcontent-%COMP%]{padding:1rem}}'],changeDetection:0}),zi),Hi=((Bi=function(){function t(e,n,o){u(this,t),this.store=e,this.router=n,this.route=o,this.apply=new a.o,this.submitted=!1;var i=this.store.selectSnapshot(ft.filters).order||this.route.snapshot.queryParams.order||"entry";this.sortSettingsForm=new At.e({order:new At.c(i)})}return g(t,[{key:"resetChoises",value:function(t){t?this.currChoise=this.sortSettingsForm.value.order:this.submitted||this.sortSettingsForm.setValue({order:this.currChoise})}},{key:"submitForm",value:function(){var t=this.sortSettingsForm.value.order;this.submitted=!0,this.apply.emit(t),this.router.navigate([],{queryParamsHandling:"merge",queryParams:{order:t}})}}]),t}()).\u0275fac=function(t){return new(t||Bi)(a.Lb(Q.i),a.Lb(N.d),a.Lb(N.a))},Bi.\u0275cmp=a.Fb({type:Bi,selectors:[["full-text-filters"]],outputs:{apply:"apply"},decls:37,vars:20,consts:[[3,"showArrows"],[3,"opened"],["panelRef",""],[1,"settings-pane-header"],["id","e2e-settings",1,"hyperlink","settings-text"],[1,"fa-caret-down"],[1,"search-filter-form",3,"formGroup"],[1,"search-filter-groups"],[1,"search-filter-group"],[1,"search-filter"],["type","radio","id","entry","name","order","formControlName","order","value","entry"],["for","entry"],["type","radio","id","match","name","order","formControlName","order","value","match"],["for","match"],["type","radio","id","prev","name","order","formControlName","order","value","prev"],["for","prev"],["type","radio","id","next","name","order","formControlName","order","value","next"],["for","next"],["type","button",1,"apply-filters-btn",3,"click"]],template:function(t,e){if(1&t){var n=a.Sb();a.Rb(0,"sk-accordion",0),a.Rb(1,"accordion-pane",1,2),a.Yb("opened",(function(t){return e.resetChoises(t)})),a.Rb(3,"accordion-pane-header",3),a.Rb(4,"div",4),a.Bc(5),a.cc(6,"translate"),a.Mb(7,"i",5),a.Qb(),a.Qb(),a.Rb(8,"accordion-pane-content"),a.Rb(9,"form",6),a.Rb(10,"div",7),a.Rb(11,"div",8),a.Rb(12,"strong"),a.Bc(13),a.cc(14,"translate"),a.Qb(),a.Rb(15,"div",9),a.Mb(16,"input",10),a.Rb(17,"label",11),a.Bc(18),a.cc(19,"translate"),a.Qb(),a.Qb(),a.Rb(20,"div",9),a.Mb(21,"input",12),a.Rb(22,"label",13),a.Bc(23),a.cc(24,"translate"),a.Qb(),a.Qb(),a.Rb(25,"div",9),a.Mb(26,"input",14),a.Rb(27,"label",15),a.Bc(28),a.cc(29,"translate"),a.Qb(),a.Qb(),a.Rb(30,"div",9),a.Mb(31,"input",16),a.Rb(32,"label",17),a.Bc(33),a.cc(34,"translate"),a.Qb(),a.Qb(),a.Qb(),a.Qb(),a.Rb(35,"button",18),a.Yb("click",(function(){a.tc(n);var t=a.qc(2);
1return e.submitForm(),t.toggle()})),a.Bc(36,"OK"),a.Qb(),a.Qb(),a.Qb(),a.Qb(),a.Qb()}2&t&&(a.ic("showArrows",!1),a.Ab(5),a.Dc(" ",a.dc(6,8,"DICT_SEARCH_SETTINGS")," "),a.Ab(4),a.ic("formGroup",e.sortSettingsForm),a.Ab(4),a.Dc("",a.dc(14,10,"DICT_SEARCH_ORDER"),":"),a.Ab(5),a.Cc(a.dc(19,12,"DICT_SEARCH_ORDER_ENTRY")),a.Ab(5),a.Cc(a.dc(24,14,"DICT_SEARCH_ORDER_MATCH")),a.Ab(5),a.Cc(a.dc(29,16,"DICT_SEARCH_ORDER_PREV")),a.Ab(5),a.Cc(a.dc(34,18,"DICT_SEARCH_ORDER_NEXT")))},directives:[hn,Mn,jn,Rn,At.q,At.l,At.f,At.n,At.b,At.k,At.d],pipes:[f.e],styles:[".settings-pane-header[_ngcontent-%COMP%]{display:inline-block}.settings-text[_ngcontent-%COMP%]{color:#007aa4;font-size:.875rem;font-weight:700}.search-filter-form[_ngcontent-%COMP%]{border:1px solid #cbcbcb;background-color:#fff;padding:1rem}.search-filter[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{margin-left:.5rem}.apply-filters-btn[_ngcontent-%COMP%]{background-color:#007faa;border:1px solid #007faa;border-radius:0;color:#fff;height:28px;margin-top:1rem;padding:0;width:100%}.apply-filters-btn[_ngcontent-%COMP%]:focus, .apply-filters-btn[_ngcontent-%COMP%]:hover{background-color:#006181;border-color:#006181}[_nghost-%COMP%]     sk-accordion .fa-caret-down:before{display:inline-block;transform:rotate(0deg);transition:transform .2s}[_nghost-%COMP%]     sk-accordion .is-expanded .fa-caret-down:before{transform:rotate(180deg)}"],changeDetection:0}),Bi);function Ni(t,e){1&t&&a.Mb(0,"sk-spinner",4)}function Vi(t,e){if(1&t){var n=a.Sb();a.Rb(0,"button",11),a.Yb("click",(function(){return a.tc(n),a.bc(2).focusToMainContent()})),a.Bc(1),a.cc(2,"translate"),a.Qb()}2&t&&(a.Ab(1),a.Cc(a.dc(2,1,"JUMP_TO_MAIN_CONTENT")))}function Ui(t,e){if(1&t){var n=a.Sb();a.Rb(0,"full-text-filters",12),a.Yb("apply",(function(t){return a.tc(n),a.bc(2).onSetSearchFilters(t)})),a.Qb()}}function Yi(t,e){if(1&t){var n=a.Sb();a.Rb(0,"div",13),a.Rb(1,"kt-on-off-slider",14),a.Yb("isChecked",(function(t){return a.tc(n),a.bc(2).setShowInflections(t)})),a.cc(2,"async"),a.cc(3,"translate"),a.Qb(),a.Rb(4,"kt-on-off-slider",15),a.Yb("isChecked",(function(t){return a.tc(n),a.bc(2).setShowExamples(t)})),a.cc(5,"async"),a.cc(6,"translate"),a.Qb(),a.Qb()}if(2&t){var o=a.bc(2);a.Ab(1),a.ic("initValue",a.dc(2,4,o.preferences$).show_inflections)("label",a.dc(3,6,"PREFERENCES_SHOW_INFLECTIONS")),a.Ab(3),a.ic("initValue",a.dc(5,8,o.preferences$).show_examples)("label",a.dc(6,10,"PREFERENCES_SHOW_EXAMPLES"))}}function $i(t,e){1&t&&(a.Rb(0,"p",16),a.Bc(1),a.cc(2,"translate"),a.Qb()),2&t&&(a.Ab(1),a.Dc(" ",a.dc(2,1,"DICT_SEARCH_NOT_FOUND")," "))}function Gi(t,e){if(1&t){var n=a.Sb();a.Rb(0,"div"),a.Rb(1,"div",5),a.zc(2,Vi,3,3,"button",6),a.zc(3,Ui,1,0,"full-text-filters",7),a.zc(4,Yi,7,12,"div",8),a.Qb(),a.zc(5,$i,3,3,"p",9),a.Rb(6,"full-text-suggestions",10),a.Yb("loadMore",(function(t){return a.tc(n),a.bc().onLoadFullTextResults(t)})),a.cc(7,"async"),a.cc(8,"async"),a.cc(9,"async"),a.cc(10,"async"),a.cc(11,"async"),a.Qb(),a.Qb()}if(2&t){var o=e.ngIf,i=a.bc();a.Ab(2),a.ic("ngIf",(null==o?null:o.length)>0),a.Ab(1),a.ic("ngIf",0!==o.length),a.Ab(1),a.ic("ngIf",0!==o.length),a.Ab(1),a.ic("ngIf",0===o.length),a.Ab(1),a.ic("currentHeadword",a.dc(7,10,i.text$))("result",o)("isLoading",a.dc(8,12,i.fullTextIsLoading$))("pageInfo",a.dc(9,14,i.pageInfo$))("counted",a.dc(10,16,i.fullTextCounted$))("preferences",a.dc(11,18,i.preferences$))}}var qi,Ki,Zi,Wi,Xi=((qi=function(){function t(e,n,o){u(this,t),this.router=e,this.store=n,this.toMainContentService=o}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.fullTextSearchFiltersSubsc=this.fullTextSearchFilters$.subscribe((function(e){return t.searchFilters=e}))}},{key:"ngOnDestroy",value:function(){this.fullTextSearchFiltersSubsc.unsubscribe()}},{key:"focusToMainContent",value:function(){this.toMainContentService.focus()}},{key:"onSetSearchFilters",value:function(t){this.searchFilters.order=t;var e=this.store.selectSnapshot(it.text);this.router.navigate(["fulltext",e],this.createNavigationExtras())}},{key:"onLoadFullTextResults",value:function(t){var e=this.store.selectSnapshot(it.text);this.router.navigate(["fulltext",e],this.createNavigationExtras(t))}},{key:"setShowExamples",value:function(t){this.store.dispatch(new Y.p(t))}},{key:"setShowInflections",value:function(t){this.store.dispatch(new Y.q(t))}},{key:"createNavigationExtras",value:function(t){return{queryParams:Object.assign({page:t},this.searchFilters)}}}]),t}()).\u0275fac=function(t){return new(t||qi)(a.Lb(N.d),a.Lb(Q.i),a.Lb(J.e))},qi.\u0275cmp=a.Fb({type:qi,selectors:[["ng-component"]],decls:6,vars:6,consts:[[1,"content-container","full-text-container"],[1,"centered-full-text-content"],["class","spinner",4,"ngIf"],[4,"ngIf"],[1,"spinner"],[1,"settings-area"],["class","hyperlink skip-link",3,"click",4,"ngIf"],["class","fulltext-result-settings",3,"apply",4,"ngIf"],["class","slider-box",4,"ngIf"],["class","text",4,"ngIf"],[3,"currentHeadword","result","isLoading","pageInfo","counted","preferences","loadMore"],[1,"hyperlink","skip-link",3,"click"],[1,"fulltext-result-settings",3,"apply"],[1,"slider-box"],[1,"slider","inflection-switch",3,"initV
1alue","label","isChecked"],[1,"slider","fulltext-example-switch",3,"initValue","label","isChecked"],[1,"text"]],template:function(t,e){1&t&&(a.Rb(0,"div",0),a.Rb(1,"div",1),a.zc(2,Ni,1,0,"sk-spinner",2),a.cc(3,"async"),a.zc(4,Gi,12,20,"div",3),a.cc(5,"async"),a.Qb(),a.Qb()),2&t&&(a.Ab(2),a.ic("ngIf",a.dc(3,2,e.fullTextInitialLoad$)),a.Ab(2),a.ic("ngIf",a.dc(5,4,e.fullTextResult$)))},directives:[jt.t,oe,Di,Hi,Et.a],pipes:[jt.b,f.e],styles:[".slider-box[_ngcontent-%COMP%]{align-items:flex-end;display:flex;flex-direction:column;position:absolute;top:0;right:1rem;z-index:2}.slider[_ngcontent-%COMP%] + .slider[_ngcontent-%COMP%]{margin-top:5px}@media (min-width:600px){.slider-box[_ngcontent-%COMP%]{display:block;top:2px;right:2rem}.slider[_ngcontent-%COMP%] + .slider[_ngcontent-%COMP%]{margin-top:0;margin-left:1rem}}@media (min-width:960px){.slider-box[_ngcontent-%COMP%]{top:4px}}",".skip-link[_ngcontent-%COMP%]{display:none}@media (min-width:960px){.skip-link[_ngcontent-%COMP%]{background-color:transparent;color:#007aa4;display:inline-block;font-size:.875rem;opacity:0;z-index:-1;position:absolute;top:-1rem;left:-2px;margin-top:4px}.skip-link[_ngcontent-%COMP%]:focus{opacity:1;z-index:0}}.full-text-container[_ngcontent-%COMP%]{background-color:#f7f7f7;display:flex;flex:1 1 auto;flex-direction:column;padding-top:.5rem}.centered-full-text-content[_ngcontent-%COMP%]{align-self:center;flex:1 1 auto;max-width:1214px;width:100%}.settings-area[_ngcontent-%COMP%]{position:relative}.fulltext-result-settings[_ngcontent-%COMP%]{display:inline-block;margin-top:2rem;margin-bottom:.5rem;padding-top:3px;width:100%}.text[_ngcontent-%COMP%]{text-align:center}.slider-box[_ngcontent-%COMP%]{right:0}@media (min-width:600px){.fulltext-result-settings[_ngcontent-%COMP%]{margin-top:0;width:auto}}"]}),Object(H.a)([Object(Q.e)(ft.getResult()),Object(H.b)("design:type",Tt.a)],qi.prototype,"fullTextResult$",void 0),Object(H.a)([Object(Q.e)(ft.filters),Object(H.b)("design:type",Tt.a)],qi.prototype,"fullTextSearchFilters$",void 0),Object(H.a)([Object(Q.e)(it.text),Object(H.b)("design:type",Tt.a)],qi.prototype,"text$",void 0),Object(H.a)([Object(Q.e)(ft.getIsLoading()),Object(H.b)("design:type",Tt.a)],qi.prototype,"fullTextIsLoading$",void 0),Object(H.a)([Object(Q.e)(ft.getPageInfo()),Object(H.b)("design:type",Tt.a)],qi.prototype,"pageInfo$",void 0),Object(H.a)([Object(Q.e)(ft.counted),Object(H.b)("design:type",Tt.a)],qi.prototype,"fullTextCounted$",void 0),Object(H.a)([Object(Q.e)(pt.dictionaryPreferences),Object(H.b)("design:type",Tt.a)],qi.prototype,"preferences$",void 0),Object(H.a)([Object(Q.e)(ft.getIsInitialLoad()),Object(H.b)("design:type",Tt.a)],qi.prototype,"fullTextInitialLoad$",void 0),qi),Ji=r("xVbo"),tr=[{path:"",component:te,canActivate:[Pi],children:[{path:"",component:ne,canActivate:[xi]},{path:":word",component:ki,resolve:{_:Mi},runGuardsAndResolvers:"always"},{path:"fulltext/:word",component:Xi,resolve:{_:wi},runGuardsAndResolvers:"always"},{path:"**",component:(Ki=function(){function t(e){var n=this;u(this,t),this.router=e,this.urlSubsc=this.router.events.pipe(Object(Ji.a)((function(t){return t instanceof N.b}))).subscribe((function(t){var e=t.url,o=new RegExp("\\/","g");e=(e=e.replace(o,"%2F")).replace("%2F","/"),n.router.navigateByUrl(e)}))}return g(t,[{key:"ngOnDestroy",value:function(){this.urlSubsc&&this.urlSubsc.unsubscribe()}}]),t}(),Ki.\u0275fac=function(t){return new(t||Ki)(a.Lb(N.d))},Ki.\u0275cmp=a.Fb({type:Ki,selectors:[["ng-component"]],decls:0,vars:0,template:function(t,e){},styles:[""]}),Ki)}]}],er=((Zi=function t(){u(this,t)}).\u0275mod=a.Jb({type:Zi}),Zi.\u0275inj=a.Ib({factory:function(t){return new(t||Zi)},providers:[Mi,wi,Pi,xi],imports:[[N.h.forChild(tr)],N.h]}),Zi),nr=r("sbs8"),or=((Wi=function t(){u(this,t)}).\u0275mod=a.Jb({type:Wi}),Wi.\u0275inj=a.Ib({factory:function(t){return new(t||Wi)},imports:[[jt.c,J.k,At.g,Rt.a,f.d.forChild(),er,J.j,J.b,J.c,J.n,nr.a,J.i,J.a,J.h,At.o]]}),Wi),ir=r("J+dc"),rr=r("wXUk");function cr(t,e){if(1&t){var n=a.Sb();a.Rb(0,"div",1),a.Yb("click",(function(){return a.tc(n),a.bc().clicked.emit
1()}))("touchstart",(function(){return a.tc(n),a.bc().clicked.emit()})),a.Qb()}2&t&&a.ic("@overlayAnim",void 0)}var ar,sr,lr,ur=((ar=function t(){u(this,t),this.clicked=new a.o}).\u0275fac=function(t){return new(t||ar)},ar.\u0275cmp=a.Fb({type:ar,selectors:[["sk-overlay"]],inputs:{show:"show"},outputs:{clicked:"clicked"},decls:1,vars:1,consts:[["class","overlay",3,"click","touchstart",4,"ngIf"],[1,"overlay",3,"click","touchstart"]],template:function(t,e){1&t&&a.zc(0,cr,1,1,"div",0),2&t&&a.ic("ngIf",e.show)},directives:[jt.t],styles:[".overlay[_ngcontent-%COMP%]{display:block;opacity:.7;position:fixed;z-index:299;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:#000}"],data:{animation:[Object(On.i)("overlayAnim",[Object(On.h)(":enter",[Object(On.g)({opacity:0}),Object(On.e)("500ms ease-out",Object(On.g)({opacity:"*"}))]),Object(On.h)(":leave",[Object(On.g)({opacity:"*"}),Object(On.e)("500ms ease-out",Object(On.g)({opacity:0}))])])]},changeDetection:0}),ar),dr=["openButton"],gr=["closeButton"],fr=function(t){return{"sidenav-open":t}},pr=function(t){return{bold:t}},br=((sr=function(){function t(e,n){u(this,t),this.router=e,this.resetService=n,this.isOpen=!1}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.urlSubsc=this.router.events.pipe(Object(Ji.a)((function(t){return t instanceof N.b}))).subscribe((function(e){t.url=e.url}))}},{key:"ngOnDestroy",value:function(){this.urlSubsc&&this.urlSubsc.unsubscribe()}},{key:"onOpen",value:function(){var t=this;this.isOpen=!0,setTimeout((function(){t.closeButton.nativeElement.focus()}),100)}},{key:"onClose",value:function(){this.isOpen=!1,this.openButton.nativeElement.focus()}},{key:"onKeyup",value:function(){this.isOpen=!1}},{key:"toWelcomePage",value:function(){this.resetService.reset()}}]),t}()).\u0275fac=function(t){return new(t||sr)(a.Lb(N.d),a.Lb(rr.a))},sr.\u0275cmp=a.Fb({type:sr,selectors:[["sidebar"]],viewQuery:function(t,e){var n;1&t&&(a.Fc(dr,!0),a.Fc(gr,!0)),2&t&&(a.pc(n=a.Zb())&&(e.openButton=n.first),a.pc(n=a.Zb())&&(e.closeButton=n.first))},hostBindings:function(t,e){1&t&&a.Yb("keyup.esc",(function(){return e.onKeyup()}),!1,a.rc)},decls:18,vars:30,consts:[[3,"show","clicked"],["id","e2e-sidebar-open",1,"nav-button","fa-menu",3,"click"],["openButton",""],[1,"sidenav","acc-dark-background",3,"ngClass"],["role","dialog","cdkTrapFocus","",1,"focus-trap-container"],["id","e2e-sidebar-close",1,"close-button","fa-cancel",3,"click"],["closeButton",""],[1,"menu-content"],[3,"ngClass"],["routerLink","/","id","e2e-sidebar-frontpage",1,"sidenav-link",3,"translate","click"],["routerLink","/info/search-howto","id","e2e-sidebar-search-howto",1,"sidenav-link",3,"translate","click"],["routerLink","/info/reading-howto","id","e2e-sidebar-reading-howto",1,"sidenav-link",3,"translate","click"],["routerLink","/info/about","id","e2e-sidebar-about",1,"sidenav-link",3,"translate","click"]],template:function(t,e){1&t&&(a.Rb(0,"sk-overlay",0),a.Yb("clicked",(function(){return e.onClose()})),a.Qb(),a.Rb(1,"button",1,2),a.Yb("click",(function(){return e.onOpen()})),a.cc(3,"translate"),a.Qb(),a.Rb(4,"nav",3),a.Rb(5,"div",4),a.Rb(6,"button",5,6),a.Yb("click",(function(){return e.onClose()})),a.cc(8,"translate"),a.Qb(),a.Rb(9,"ul",7),a.Rb(10,"li",8),a.Rb(11,"a",9),a.Yb("click",(function(){return e.toWelcomePage()}))("click",(function(){return e.onClose()})),a.Qb(),a.Qb(),a.Rb(12,"li",8),a.Rb(13,"a",10),a.Yb("click",(function(){return e.onClose()})),a.Qb(),a.Qb(),a.Rb(14,"li",8),a.Rb(15,"a",11),a.Yb("click",(function(){return e.onClose()})),a.Qb(),a.Qb(),a.Rb(16,"li",8),a.Rb(17,"a",12),a.Yb("click",(function(){return e.onClose()})),a.Qb(),a.Qb(),a.Qb(),a.Qb(),a.Qb()),2&t&&(a.ic("show",e.isOpen),a.Ab(1),a.Bb("aria-label",a.dc(3,16,"SIDEBAR_OPEN")),a.Ab(3),a.ic("ngClass",a.mc(20,fr,e.isOpen)),a.Ab(2),a.Bb("aria-label",a.dc(8,18,"SIDEBAR_CLOSE")),a.Ab(4),a.ic("ngClass",a.mc(22,pr,"/"===e.url)),a.Bb("aria-current","/"===e.url?"page":null),a.Ab(1),a.ic("translate","SIDEBAR_FRONT_PAGE"),a.Ab(1),a.ic("ngClass",a.mc(24,pr,"/info/search-howto"===e.url)),a.Bb("aria-current","/info/search-howto"===e.url?"page":null),a.Ab(1),a.ic("translate","SIDEBAR_USAGE_INSTRUCTIONS"),a.Ab(1),a.ic("ngClass",a.mc(26,pr,"/info/reading-howto"===e.url)),a.Bb("aria-current","/info/reading-howto"===e.url?"page":null),a.Ab(1),a.ic("translate","SIDEBAR_READING_INSTRUCTIONS"),a.Ab(1),a.ic("ngClass",a.mc(28,pr,"/info/about"===e.url)),a.Bb("aria-current","/info/about"===e.url?"page":null),a.Ab(1),a.ic("translate","SIDEBAR_DICTIONARY_INFO"))},directives:[ur,jt.q,Rt.b,N.g,f.b],pipes:[f.e],styles:[".sidenav[_ngcontent-%COMP%]{background-color:#007faa;
1height:100%;width:20rem;padding-right:1rem;overflow-x:hidden;z-index:300;touch-action:auto;-webkit-overflow-scrolling:touch;overflow:auto;pointer-events:auto;position:fixed;top:0;right:0;visibility:hidden;transition:.5s;transform:translateX(100%);text-align:right}.sidenav.sidenav-open[_ngcontent-%COMP%]{visibility:visible;transform:translateX(0)}.nav-button[_ngcontent-%COMP%]{background-color:transparent;border:none;color:#007faa;cursor:pointer;font-size:21px;height:100%;padding:0;width:1.75rem}.nav-button[_ngcontent-%COMP%]:hover{color:#05456d}.close-button[_ngcontent-%COMP%]{background-color:transparent;border:none;color:#fff;height:64px}.menu-content[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none;margin-bottom:.5rem}.sidenav-link[_ngcontent-%COMP%]{color:#fff;display:inline-block;min-height:1.75rem;text-decoration:none}.sidenav-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.bold[_ngcontent-%COMP%]{font-weight:700}"]}),sr),hr=r("oSKL"),mr=r("SkdT"),Or=((lr=function(){function t(){u(this,t),this.translations={en:"Switch website language to English",fi:"Vaihda sivuston kieli suomeksi",sv:"Byt webbplatsens spr\xe5k till svenska"}}return g(t,[{key:"transform",value:function(t){return this.translations[t]}}]),t}()).\u0275fac=function(t){return new(t||lr)},lr.\u0275pipe=a.Kb({name:"languageTranslationPipe",type:lr,pure:!0}),lr);function vr(t,e){if(1&t){var n=a.Sb();a.Rb(0,"button",22),a.Yb("click",(function(){a.tc(n);var t=e.$implicit;return a.bc().onChangeUiLanguage(t)})),a.cc(1,"uppercase"),a.cc(2,"languageTranslationPipe"),a.Bc(3),a.cc(4,"uppercase"),a.Qb()}if(2&t){var o=e.$implicit;a.kc("id","e2e-",a.dc(1,4,o),""),a.jc("lang",o),a.Bb("aria-label",a.dc(2,6,o)),a.Ab(3),a.Cc(a.dc(4,8,o))}}var yr,Cr,kr=function(){return{place:"Facebook"}},_r=function(){return{place:"Twitter"}},Mr=function(t){return{year:t}},wr=((Cr=function(){function t(e,n,o,i,r,c,a){u(this,t),this.store=e,this.router=n,this.titleService=o,this.toMainContentService=i,this.focusToSearchInputService=r,this.focusToLogoService=c,this.document=a,this.ngForTrackBy=mt.ngForTrackByIndex}return g(t,[{key:"ngOnInit",value:function(){var t=this;this.urlSubsc=this.router.events.pipe(Object(Ji.a)((function(t){return t instanceof N.b}))).subscribe((function(e){t.url=e.url})),this.lang=this.store.selectSnapshot((function(t){return t.app.lang})),this.document.documentElement.lang=this.lang}},{key:"ngOnDestroy",value:function(){this.urlSubsc&&this.urlSubsc.unsubscribe()}},{key:"focusToMainContent",value:function(){"/"===this.url?this.focusToSearchInputService.focus():"info"===this.url.split("/")[1]?this.focusToLogoService.focus():this.toMainContentService.focus()}},{key:"onChangeUiLanguage",value:function(t){var e=this;this.lang=t,this.store.dispatch(new Y.e(t)).pipe(Object(ir.a)(1)).subscribe((function(){e.document.documentElement.lang=t;var n=e.url.split("/");if(n.length>2&&"fulltext"!==n[1])e.titleService.changeTitle(e.url);else if("fulltext"===n[1]){var o=n[2].split("?")[0];e.titleService.changeFulltextWordTitle(o)}}))}},{key:"year",get:function(){return(new Date).getFullYear()}}]),t}()).\u0275fac=function(t){return new(t||Cr)(a.Lb(Q.i),a.Lb(N.d),a.Lb(_i.a),a.Lb(J.e),a.Lb(J.f),a.Lb(J.d),a.Lb(jt.e))},Cr.\u0275cmp=a.Fb({type:Cr,selectors:[["app-root"]],decls:40,vars:34,consts:[[1,"hyperlink","skip-link",3,"click"],[1,"site-header"],["class","ui-lang",3,"id","lang","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"header-filler"],[1,"site-content"],[1,"content-container","site-footer","acc-dark-background"],[1,"centered-content"],[1,"logo-wrapper"],["href","https://www.kotus.fi","target","_blank","lang","fi",1,"footer-logo-link"],["src","/assets/images/kotus_logo.svg","alt","Kotimaisten kielten keskus",1,"footer-logo-picture"],[1,"link-area"],["id","e2e-privacy","routerLink","/info/privacy",1,"footer-link",3,"translate"],["id","e2e-tos","routerLink","/info/tos",1,"footer-link",3,"translate"],["id","e2e-accessibility","href","https://www.kotus.fi/kotus/kotus_verkossa/saavutettavuusseloste#Kielitoimistonsanakirja","target","_blank",1,"footer-link",3,"translate"],["id","e2e-contact","routerLink","/info/contact",1,"footer-link",3,"translate"],[1,"social-link-area"],["href","https://www.facebook.com/kotustiedotus","target","_blank",1,"s
1ocial-link"],[1,"app-svg-icon"],["href","https://twitter.com/kotus_tiedotus","target","_blank",1,"social-link"],[1,"footer-copyright"],[1,"footer-extra-info"],["id","e2e-eduhomepage","target","_blank",1,"footer-link",3,"href","translate"],[1,"ui-lang",3,"id","lang","click"]],template:function(t,e){1&t&&(a.Rb(0,"button",0),a.Yb("click",(function(){return e.focusToMainContent()})),a.Bc(1),a.cc(2,"translate"),a.Qb(),a.Rb(3,"header",1),a.zc(4,vr,5,10,"button",2),a.cc(5,"async"),a.Mb(6,"div",3),a.Mb(7,"sidebar"),a.Qb(),a.Rb(8,"main",4),a.Mb(9,"router-outlet"),a.Qb(),a.Rb(10,"footer",5),a.Rb(11,"div",6),a.Rb(12,"div",7),a.Rb(13,"a",8),a.Mb(14,"img",9),a.Qb(),a.Qb(),a.Rb(15,"ul",10),a.Rb(16,"li"),a.Mb(17,"a",11),a.Qb(),a.Rb(18,"li"),a.Mb(19,"a",12),a.Qb(),a.Rb(20,"li"),a.Mb(21,"a",13),a.Qb(),a.Rb(22,"li"),a.Mb(23,"a",14),a.Qb(),a.Qb(),a.Rb(24,"div",15),a.Rb(25,"a",16),a.cc(26,"translate"),a.Mb(27,"app-fb-svg",17),a.Qb(),a.Rb(28,"a",18),a.cc(29,"translate"),a.Mb(30,"app-tw-svg",17),a.Qb(),a.Qb(),a.Rb(31,"p",19),a.Bc(32),a.cc(33,"translate"),a.Qb(),a.Rb(34,"p",20),a.Bc(35),a.cc(36,"translate"),a.Qb(),a.Rb(37,"p",20),a.Mb(38,"a",21),a.cc(39,"translate"),a.Qb(),a.Qb(),a.Qb()),2&t&&(a.Ab(1),a.Cc(a.dc(2,13,"SKIP_TO_MAIN_CONTENT")),a.Ab(3),a.ic("ngForOf",a.dc(5,15,e.languageOptions$))("ngForTrackBy",e.ngForTrackBy),a.Ab(13),a.ic("translate","FOOTER_PRIVACY_POLICY"),a.Ab(2),a.ic("translate","FOOTER_EULA"),a.Ab(2),a.ic("translate","FOOTER_ACCESSIBILITY"),a.Ab(2),a.ic("translate","FOOTER_CONTACT"),a.Ab(2),a.Bb("aria-label",a.ec(26,17,"FOOTER_SM_LINK",a.lc(30,kr))),a.Ab(3),a.Bb("aria-label",a.ec(29,20,"FOOTER_SM_LINK",a.lc(31,_r))),a.Ab(4),a.Cc(a.ec(33,23,"FOOTER_COPYRIGHTS",a.mc(32,Mr,e.year))),a.Ab(3),a.Cc(a.dc(36,26,"FOOTER_IS_PART_OF")),a.Ab(3),a.jc("href",a.dc(39,28,"FOOTER_EDU_URL"),a.vc),a.ic("translate","FOOTER_EDU_HOMEPAGE"))},directives:[jt.s,br,N.i,N.g,f.b,hr.a,mr.a],pipes:[f.e,jt.b,jt.G,Or],styles:[".skip-link[_ngcontent-%COMP%]{display:none}@media (min-width:960px){.skip-link[_ngcontent-%COMP%]{background-color:transparent;display:inline-block;font-size:.875rem;opacity:0;z-index:-1;position:absolute}.skip-link[_ngcontent-%COMP%]:focus{opacity:1;z-index:0}}.site-header[_ngcontent-%COMP%]{background-color:#fff;flex:0 0 auto;height:64px;padding-left:1rem;padding-right:1rem;display:flex}.header-filler[_ngcontent-%COMP%]{flex:1}.ui-lang[_ngcontent-%COMP%]{background:transparent;border:none;color:#007faa;cursor:pointer;margin-right:.5rem;min-width:1.75rem;padding:0 0 0 2px;text-align:left}.ui-lang[_ngcontent-%COMP%]:hover{text-decoration:underline}.site-content[_ngcontent-%COMP%]{display:flex;flex:1 0 auto;flex-direction:column}.site-footer[_ngcontent-%COMP%]{background-color:#05456d;color:#fff;flex:0 0 auto;padding-top:2rem;padding-bottom:2rem}.social-link-area[_ngcontent-%COMP%]{margin-top:1rem}.link-area[_ngcontent-%COMP%]{list-style:none;padding-left:0}.link-area[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:.5rem}.footer-link[_ngcontent-%COMP%]{color:#fff;display:inline-block;min-height:1.75rem;text-decoration:underline}.logo-wrapper[_ngcontent-%COMP%]{display:block;text-align:center}.footer-logo-link[_ngcontent-%COMP%]{display:inline-block}.footer-logo-picture[_ngcontent-%COMP%]{height:50px;max-width:100%}.footer-copyright[_ngcontent-%COMP%], .footer-extra-info[_ngcontent-%COMP%]{font-size:.875rem;line-height:1.4;margin-bottom:0}.social-link[_ngcontent-%COMP%]{display:inline-block;margin-right:.75rem}.app-svg-icon[_ngcontent-%COMP%], .social-link[_ngcontent-%COMP%]{height:1.75rem;width:1.75rem}@media (min-width:600px){.site-header[_ngcontent-%COMP%]{padding-left:2rem;padding-right:2rem}}@media (min-width:960px){.site-footer[_ngcontent-%COMP%]{padding-top:3rem;padding-bottom:3rem}}"]}),Object(H.a)([Object(Q.e)(G.languageOptions),Object(H.b)("design:type",Tt.a)],Cr.prototype,"languageOptions$",void 0),Cr),Pr=((yr=function t(){u(this,t)}).\u0275mod=a.Jb({type:yr,bootstrap:[wr]}),yr.\u0275inj=a.Ib({factory:function(t){return new(t||yr)},providers:[{provide:K.a,useValue:function(){return window.appConfig}},{provide:a.d,useFactory:b,multi:!0,deps:[f.f]},{provide:a.n,useClass:It},{provide:J.p,useValue:window},ee.a,_i.a,mt.LanguageHelper],imports:[[s.a,l.a,d.c,f.d.forRoot({loader:{provide:f.c,useClass:F},missingTranslationHandler:{provide:f.a,useClass:L}}),J.m,ht,xt,or,nr.a,J.j]]}),yr);Object(a.T)(),s.d().bootstrapModule(Pr).catch((function(t){return console.error(t)}))},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]}
1,n.resolve=n,t.exports=n,n.id="zn8P"}},[[0,0,8]]])}();

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.