PageSourceSearch

https://www.sdp.fi/app/themes/sdp/assets/dist/142-6162e0718f17b5191603.js

js sdp.fi collected 2026-10-02 07:41:10 UTC 2,266 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkthe_dustpress_theme=self.webpackChunkthe_dustpress_theme||[]).push([[142],{8142:function(t,e,n){function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(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)}}n.r(e),n.d(e,{default:function(){return a}});var l=n(5311),a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,a;return e=t,(n=[{key:"cache",value:function(){this.focusStyleContainer=document.getElementById("accessible-outline"),this.$scrollToLink=l(".js-scroll-to"),this.$body=l("body"),this.ToggleableElements=l(".js-toggle")}},{key:"events",value:function(){var t=this;this.$body.on("mousedown touchstart keydown",(function(e){t.handleBodyOnEvents(e)})),this.$scrollToLink.click((function(e){t.handleScrollToLink(e)})),this.ToggleableElements.on("click",this.toggle.bind(this))}},{key:"handleBodyOnEvents",value:function(t){"mousedown"!==t.type&&"touchstart"!==t.type?this.focusStyleContainer&&(this.focusStyleContainer.innerHTML=""):this.nullifyOutline()}},{key:"handleScrollToLink",value:function(t){var e=l(t.currentTarget).attr("href"),n=l(e);if(n.length){t.preventDefault();var o=n.offset();l("html, body").stop().animate({scrollTop:o.top},500,(function(){window.location.href=e}))}}},{key:"toggle",value:function(t){var e=l(t.currentTarget),n=l("#"+e.attr("aria-controls")),i="true"===e.attr("aria-expanded")?"false":"true",a=void 0!==o(e.data("duration"))?e.data("duration"):300;n.hasClass("is-hidden")&&(n.css("display","none"),n.removeClass("is-hidden")),e.attr("aria-expanded",i),e.toggleClass("is-toggled"),n.toggleClass("is-toggled"),n.slideToggle(a)}},{key:"nullifyOutline",value:function(){this.focusStyleContainer&&(this.focusStyleContainer.innerHTML="*:focus{outline:none!important;}")}},{key:"docReady",value:function(){this.cache(),this.events()}}])&&i(e.prototype,n),a&&i(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}()}}]);

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.