PageSourceSearch

https://saltcenter.dk/files/stacks_page_page34.js?rwcache=812621832

js saltcenter.dk collected 2026-10-02 19:51:39 UTC 10,810 bytes, 19 lines download raw bytes

1//
2// menulab_touchdrop
3//
4
5var _0x1b10=['parentNode','removeChild','querySelectorAll','className','\x20ul.ml-menu>ul>li','forEach','\x20ul.ml-menu','\x20ul\x20li','length','test','querySelector','href','javascript:parentLink()','classList','add','ml-dropdown','\x20ul','children','\x20.mob-icon','addEventListener','click','toggle','expand','createTouch','touchstart','ul.ml-dropdown','target','close','getElementById','push','node','\x20ml-js','mouseover','bind','mouseHover','mouseout','mouseLeave','tap','onmouseover','attachEvent','onmouseout','offsetWidth','offsetLeft','offsetTop','scrollTop','offsetParent','isOpen','prototype','timeout','apply','srcElement','nodeName','findSubMenus','preventDefault','returnValue','remove','dd-open','stopPropagation','clearTimeout','toOpen','setTimeout','open','\x20dd-open','dd-to-right','\x20dd-to-right','body','clientWidth','\x20dd-to-left','getElementsByTagName','replace','childNodes'];var _0x11e6=function(_0x50589d,_0x1b1034){_0x50589d=_0x50589d-0x1dd;var _0x11e6d3=_0x1b10[_0x50589d];return _0x11e6d3;};function parentLink(){return![];};var ML_RMenu=function(){var _0x4a52d7=_0x11e6,_0x1cd3df=0xc8,_0x8db6f5=[];function _0x25baca(_0x29782f){var _0x5d6dc8=_0x11e6;_0x29782f[_0x5d6dc8(0x1dd)][_0x5d6dc8(0x1de)](_0x29782f);};function _0x4eb414(_0x44c88c){var _0x36f883=_0x11e6;try{source();}catch(_0x3b996e){return _0x25baca(document[_0x36f883(0x1df)](_0x44c88c)),![];};return document['documentElement'][_0x36f883(0x1e0)]+='\x20menulab-js',document[_0x36f883(0x1df)](_0x44c88c+_0x36f883(0x1e1))[_0x36f883(0x1e2)](_0x3dd952=>{var _0x3192b4=_0x36f883;document[_0x3192b4(0x1df)](_0x44c88c+_0x3192b4(0x1e3))[0x0]['appendChild'](_0x3dd952);}),document[_0x36f883(0x1df)](_0x44c88c+_0x36f883(0x1e4))[_0x36f883(0x1e2)](_0x9907=>{var _0x2221d6=_0x36f883;const _0x50abd0=_0x9907[_0x2221d6(0x1df)]('UL');if(_0x50abd0[_0x2221d6(0x1e5)]==0x0&&!/\bhas-dropdown\b/[_0x2221d6(0x1e6)](_0x50abd0[_0x2221d6(0x1e0)]))_0x9907['classList']['remove']('has-dropdown');else{const _0x17a140=_0x9907[_0x2221d6(0x1e7)]('a');_0x17a140[_0x2221d6(0x1e8)]=_0x2221d6(0x1e9),_0x50abd0[_0x2221d6(0x1e2)](_0x1324f0=>{var _0x41ed96=_0x2221d6;_0x1324f0[_0x41ed96(0x1ea)][_0x41ed96(0x1eb)](_0x41ed96(0x1ec));});};}),document[_0x36f883(0x1df)](_0x44c88c+_0x36f883(0x1ed))[_0x36f883(0x1e2)](_0xc1ec3d=>{var _0x2479a8=_0x36f883;_0xc1ec3d[_0x2479a8(0x1ee)]['length']==0x0&&_0x25baca(_0xc1ec3d);;}),!![];};function _0x1e03b1(_0x245815){var _0x4b8765=_0x11e6;const _0x4c7d83=document['querySelector'](_0x245815),_0x58c1f6=document['querySelector'](_0x245815+_0x4b8765(0x1ef));_0x58c1f6[_0x4b8765(0x1f0)](_0x4b8765(0x1f1),function(){var _0x1df4ae=_0x4b8765;_0x4c7d83['classList'][_0x1df4ae(0x1f2)](_0x1df4ae(0x1f3)),_0x4c7d83[_0x1df4ae(0x1e7)]('.navbar')['classList'][_0x1df4ae(0x1f2)](_0x1df4ae(0x1f3));});};function _0x2e791d(_0x4351f3,_0x13aeff){var _0x4449be=_0x11e6;if(!_0x4eb414(_0x4351f3))return![];_0x1e03b1(_0x4351f3),_0x1cd3df=_0x13aeff||_0x1cd3df;_0x4449be(0x1f4)in document&&document['body'][_0x4449be(0x1f0)](_0x4449be(0x1f5),_0x10b778,![]);;var _0x917ddf=document[_0x4449be(0x1df)](_0x4449be(0x1f6));for(var _0x180a4c=0x0;_0x180a4c<_0x917ddf['length'];_0x180a4c++)_0x28cd0e(_0x917ddf[_0x180a4c]);};function _0x10b778(_0x1c41f0){var _0x48e81e=_0x11e6,_0x34072b=![];for(var _0x2a0b99=0x0;_0x2a0b99<_0x8db6f5[_0x48e81e(0x1e5)];_0x2a0b99++){if(_0x8db6f5[_0x2a0b99]['isOpen'])_0x34072b=!![];};if(!_0x34072b)return;var _0x39e75b=_0x1c41f0[_0x48e81e(0x1f7)];while(_0x39e75b!=null){if(/\bdropdown\b/[_0x48e81e(0x1e6)](_0x39e75b['className']))return;_0x39e75b=_0x39e75b[_0x48e81e(0x1dd)];};_0x4f5d14();};function _0x4f5d14(_0x2659b4){var _0x57042e=_0x11e6;for(var _0x3a577a=0x0;_0x3a577a<_0x8db6f5[_0x57042e(0x1e5)];_0x3a577a++){if(_0x8db6f5[_0x3a577a]!=_0x2659b4)_0x8db6f5[_0x3a577a][_0x57042e(0x1f8)]();}};function _0x28cd0e(_0x1df2b4){var _0x1a97f6=_0x11e6;if(typeof _0x1df2b4=='string')_0x1df2b4=document[_0x1a97f6(0x1f9)](_0x1df2b4);_0x8db6f5[_0x1a97f6(0x1fa)](new _0x6815d9(_0x1df2b4));};function _0x6815d9(_0x2cb5cf){var _0x483bf0=_0x11e6;this[_0x483bf0(0x1fb)]=_0x2cb5cf,_0x2cb5cf[_0x483bf0(0x1e0)]+=_0x483bf0(0x1fc);_0x483bf0(0x1f0)in _0x2cb5cf?(_0x2cb5cf[_0x483bf0(0x1f0)](_0x483bf0(0x1fd),this[_0x483bf0(0x1fe)](this[_0x483bf0(0x1ff)]),![]),_0x2cb5cf[_0x483bf0(0x1f0)](_0x483bf0(0x200),this[_0x483bf0(0x1fe)](this[_0x483bf0(0x201)]),![]),_0x2cb5cf[_0x483bf0(0x1f0)](_0x483bf0(0x1f1),this[_0x483bf0(0x1fe)](this[_0x483bf0(0x202)]),![])):(_0x2cb5cf['attachEvent'](_0x483bf0(0x203),this[_0x483bf0(0x1fe)](this['mouseHover'])),_0x2cb5cf[_0x483bf0(0x204)](_0x483bf0(0x205),this[_0x483bf0(0x1fe)](this['mouseLeave'])),_0x2cb5cf[_0x483bf0(0x204)]('onclick',this[_0x483bf0(0x1fe)](this[_0x483bf0(0x202)])));;_0x483bf0(0x1f4)in document&&_0x2cb5cf['addEventListener'](_0x483bf0(0x1f5),this[_0x483bf0(0x1fe)](this[_0x483bf0(0x202)]),![]);;};function _0x27b1dc(_0x4db953){var _0x2d6b2e=_0x11e6,_0x6e95a3=0x0,_0xb8527e=0x0,_0x311d0f=0x0;_0x311d0f=_0x4db953[_0x2d6b2e(0x206)];while(_0x4db953&&!isNaN(_0x4db953[_0x2d6b2e(0x207)])&&!isNaN(_0x4db953[_0x2d6b2e(0x208)])){_0x6e95a3+=_0x4db953[_0x2d6b2e(0x207)]-_0x4db953['scrollLeft'],_0xb8527e+=_0x4db953[_0x2d6b2e(0x208)]-_0x4db953[_0x2d6b2e(0x209)],_0x4db953=_0x4db953[_0x2d6b2e(0x20a)];}return{'top':_0xb8527e,'left':_0x6e95a3,'width':_0x311d0f};};return _0x6815d9['prototype'][_0x4a52d7(0x20b)]=![],_0x6815d9[_0x4a52d7(0x20c)][_0x4a52d7(0x20d)]=null,_0x6815d9[_0x4a52d7(0x20c)][_0x4a52d7(0x1fe)]=function(_0xf9209c){var _0x37c073=this;return function(){var _0x2d41c6=_0x11e6;_0xf9209c[_0x2d41c6(0x20e)](_0x37c073,arguments);};},_0x6815d9[_0x4a52d7(0x20c)]['tap']=function(_0x4511d9){var _0x1943a5=_0x4a52d7,_0x114395=_0x1943a5(0x1f7)in _0x4511d9?_0x4511d9[_0x1943a5(0x1f7)]:_0x4511d9[_0x1943a5(0x20f)];while(_0x114395['nodeName']!='LI'&&_0x114395!=this['node'])_0x114395=_0x114395[_0x1943a5(0x1dd)];if(_0x114395[_0x1943a5(0x210)]=='LI'){var _0x48bb36=this[_0x1943a5(0x211)](_0x114395,'UL');_0x48bb36[_0x1943a5(0x1e5)]>0x0&&!/\bdd-open\b/[_0x1943a5(0x1e6)](_0x114395[_0x1943a5(0x1e0)])?(this[_0x1943a5(0x1ff)](_0x4511d9,!![]),'preventDefault'in _0x4511d9?_0x4511d9[_0x1943a5(0x212)]():_0x4511d9[_0x1943a5(0x213)]=![]):(_0x114395[_0x1943a5(0x1ea)][_0x1943a5(0x214)](_0x1943a5(0x215)),_0x1943a5(0x212)in _0x4511d9?/\bhas-dropdown\b/[_0x1943a5(0x1e6)](_0x114395[_0x1943a5(0x1e0)])&&(_0x4511d9[_0x1943a5(0x212)](),_0x4511d9[_0x1943a5(0x216)]()):/\bhas-dropdown\b/['test'](_0x114395['className'])&&(_0x4511d9['returnValue']=![]));}},_0x6815d9[_0x4a52d7(0x20c)][_0x4a52d7(0x1ff)]=function(_0x3e3f6b,_0x5195c2){var _0x42807f=_0x4a52d7;this[_0x42807f(0x217)]();var _0x1daf23=_0x42807f(0x1f7)in _0x3e3f6b?_0x3e3f6b[_0x42807f(0x1f7)]:_0x3e3f6b[_0x42807f(0x20f)];
5while(_0x1daf23['nodeName']!='LI'&&_0x1daf23!=this[_0x42807f(0x1fb)])_0x1daf23=_0x1daf23[_0x42807f(0x1dd)];_0x1daf23[_0x42807f(0x210)]=='LI'&&(this[_0x42807f(0x218)]=_0x1daf23,this[_0x42807f(0x20d)]=window[_0x42807f(0x219)](this[_0x42807f(0x1fe)](this[_0x42807f(0x21a)]),_0x5195c2?0x0:_0x1cd3df));},_0x6815d9[_0x4a52d7(0x20c)][_0x4a52d7(0x201)]=function(){var _0xad592a=_0x4a52d7;this[_0xad592a(0x217)](),this[_0xad592a(0x20d)]=window[_0xad592a(0x219)](this[_0xad592a(0x1fe)](this['close']),_0x1cd3df);},_0x6815d9['prototype'][_0x4a52d7(0x217)]=function(){var _0x4117c2=_0x4a52d7;this[_0x4117c2(0x20d)]&&(window['clearTimeout'](this[_0x4117c2(0x20d)]),this[_0x4117c2(0x20d)]=null);},_0x6815d9['prototype']['open']=function(){var _0x2f66a3=_0x4a52d7;this[_0x2f66a3(0x20b)]=!![];var _0x3f8eca=this[_0x2f66a3(0x211)](this[_0x2f66a3(0x218)]['parentNode'],'LI');for(var _0x44e06a=0x0;_0x44e06a<_0x3f8eca['length'];_0x44e06a++){var _0x419e05=this[_0x2f66a3(0x211)](_0x3f8eca[_0x44e06a],'UL');if(_0x419e05[_0x2f66a3(0x1e5)]>0x0){if(_0x3f8eca[_0x44e06a]!=this[_0x2f66a3(0x218)])_0x3f8eca[_0x44e06a][_0x2f66a3(0x1e0)]=_0x3f8eca[_0x44e06a][_0x2f66a3(0x1e0)]['replace'](/\bdd-open\b/g,''),this[_0x2f66a3(0x1f8)](_0x3f8eca[_0x44e06a]);else{if(!/\bdd-open\b/[_0x2f66a3(0x1e6)](_0x3f8eca[_0x44e06a][_0x2f66a3(0x1e0)])){_0x3f8eca[_0x44e06a][_0x2f66a3(0x1e0)]+=_0x2f66a3(0x21b),_0x3f8eca[_0x44e06a]['classList'][_0x2f66a3(0x214)](_0x2f66a3(0x21c)),_0x3f8eca[_0x44e06a][_0x2f66a3(0x1ea)][_0x2f66a3(0x214)]('dd-to-left');var _0x3eb6b4=0x0,_0x2297a9=0x0,_0x14f8f0=_0x419e05[0x0];while(_0x14f8f0){_0x3eb6b4+=_0x14f8f0[_0x2f66a3(0x207)],_0x14f8f0=_0x14f8f0['offsetParent'];};_0x2297a9=_0x3eb6b4+_0x419e05[0x0][_0x2f66a3(0x206)];_0x3eb6b4<=0x0&&(_0x3f8eca[_0x44e06a][_0x2f66a3(0x1e0)]+=_0x2f66a3(0x21d));;_0x2297a9>document[_0x2f66a3(0x21e)][_0x2f66a3(0x21f)]&&(_0x3f8eca[_0x44e06a]['className']+=_0x2f66a3(0x220));;}}}};},_0x6815d9[_0x4a52d7(0x20c)][_0x4a52d7(0x1f8)]=function(_0x1222a3){var _0x562434=_0x4a52d7;!_0x1222a3&&(this[_0x562434(0x20b)]=![],_0x1222a3=this['node']);;var _0x4ba232=_0x1222a3[_0x562434(0x221)]('li');for(var _0x1bf4a3=0x0;_0x1bf4a3<_0x4ba232[_0x562434(0x1e5)];_0x1bf4a3++){_0x4ba232[_0x1bf4a3][_0x562434(0x1e0)]=_0x4ba232[_0x1bf4a3][_0x562434(0x1e0)][_0x562434(0x222)](/\bdd-open\b/g,'');}},_0x6815d9[_0x4a52d7(0x20c)]['findSubMenus']=function(_0x3765a2,_0x20eb71){var _0x22d01c=_0x4a52d7,_0x977fc9=[];for(var _0x486327=0x0;_0x486327<_0x3765a2[_0x22d01c(0x223)]['length'];_0x486327++){_0x3765a2[_0x22d01c(0x223)][_0x486327][_0x22d01c(0x210)]==_0x20eb71&&_0x977fc9[_0x22d01c(0x1fa)](_0x3765a2[_0x22d01c(0x223)][_0x486327]);};return _0x977fc9;},{'useTouch':_0x2e791d,'createDD':_0x28cd0e};}();
6
7
8
9var stacks = {};
10stacks.stacks_in_2 = {};
11stacks.stacks_in_2 = (function(stack) {(function(document,window){if(!document||!window){return}var styleText='::-moz-focus-inner{border:0 !important;}:focus{box-shadow: none !important;';var unfocus_style=document.createElement('STYLE');window.unfocus=function(){document.getElementsByTagName('HEAD')[0].appendChild(unfocus_style);document.addEventListener('mousedown',function(){unfocus_style.innerHTML=styleText+'}'});document.addEventListener('keydown',function(){unfocus_style.innerHTML=''})};unfocus.style=function(style){styleText+=style};unfocus()})(document,window);
12
13document.addEventListener("DOMContentLoaded",function(){function init(){is_touch_device();if(is_touch_device()){var root=document.getElementsByTagName('html')[0];root.classList.add("touch-stripped")}}function is_touch_device(){var prefixes=' -webkit- -moz- -o- -ms- '.split(' ');var mq=function(query){return window.matchMedia(query).matches};if(('ontouchstart'in window)||window.DocumentTouch&&document instanceof window.DocumentTouch){return true}var query=['(',prefixes.join('touch-enabled),('),'heartz',')'].join('');return mq(query)}init()});
14
15return stack;})(stacks.stacks_in_2);
16stacks.stacks_in_5 = {};
17stacks.stacks_in_5 = (function(stack) {document.addEventListener("DOMContentLoaded", function() {ML_RMenu.useTouch('#stacks_in_5');});
18
19return stack;})(stacks.stacks_in_5);

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.