PageSourceSearch

https://www.bengtsfors.se/webapp-resource/4.363bbc12197625779221c8…/1773676250750/webapp-assets.js

js bengtsfors.se collected 2026-10-02 10:00:58 UTC 8,414 bytes, 3 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'se.soleil.goToContent|1.1.3',bundle: {}});
2AppRegistry.registerModule({applicationId:'se.soleil.goToContent|1.1.3',path:'/main',module:function(define){'use strict';define(["router","app"],(function(t,n){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}var o=e(n);function r(){}function l(t){return t()}function i(){return Object.create(null)}function c(t){t.forEach(l)}function a(t){return"function"==typeof t}function u(t,n){return t!=t?n==n:t!==n||t&&"object"==typeof t||"function"==typeof t}(o.default?.portletId||"preview").replace(".","_"),document.documentElement.classList.contains("sv-edit-mode");let s,d=!1;function f(){d=!0}function h(){d=!1}function p(t,n,e,o){for(;t<n;){const r=t+(n-t>>1);e(r)<=o?t=r+1:n=r}return t}function _(t,n){if(d){for(!function(t){if(t.hydrate_init)return;t.hydrate_init=!0;let n=t.childNodes;if("HEAD"===t.nodeName){const t=[];for(let e=0;e<n.length;e++){const o=n[e];void 0!==o.claim_order&&t.push(o)}n=t}const e=new Int32Array(n.length+1),o=new Int32Array(n.length);e[0]=-1;let r=0;for(let t=0;t<n.length;t++){const l=n[t].claim_order,i=(r>0&&n[e[r]].claim_order<=l?r+1:p(1,r,(t=>n[e[t]].claim_order),l))-1;o[t]=e[i]+1;const c=i+1;e[c]=t,r=Math.max(c,r)}const l=[],i=[];let c=n.length-1;for(let t=e[r]+1;0!=t;t=o[t-1]){for(l.push(n[t-1]);c>=t;c--)i.push(n[c]);c--}for(;c>=0;c--)i.push(n[c]);l.reverse(),i.sort(((t,n)=>t.claim_order-n.claim_order));for(let n=0,e=0;n<i.length;n++){for(;e<l.length&&i[n].claim_order>=l[e].claim_order;)e++;const o=e<l.length?l[e]:null;t.insertBefore(i[n],o)}}(t),(void 0===t.actual_end_child||null!==t.actual_end_child&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);null!==t.actual_end_child&&void 0===t.actual_end_child.claim_order;)t.actual_end_child=t.actual_end_child.nextSibling;n!==t.actual_end_child?void 0===n.claim_order&&n.parentNode===t||t.insertBefore(n,t.actual_end_child):t.actual_end_child=n.nextSibling}else n.parentNode===t&&null===n.nextSibling||t.appendChild(n)}function m(t,n,e){d&&!e?_(t,n):n.parentNode===t&&n.nextSibling==e||t.insertBefore(n,e||null)}function g(t){t.parentNode&&t.parentNode.removeChild(t)}function $(t){return document.createElement(t)}function b(t){return document.createTextNode(t)}function v(){return b("")}function y(t,n,e){null==e?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function x(t){return Array.from(t.childNodes)}function E(t){void 0===t.claim_info&&(t.claim_info={last_index:0,total_claimed:0})}function I(t,n,e,o){let r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];E(t);const l=(()=>{for(let o=t.claim_info.last_index;o<t.length;o++){const l=t[o];if(n(l)){const n=e(l);return void 0===n?t.splice(o,1):t[o]=n,r||(t.claim_info.last_index=o),l}}for(let o=t.claim_info.last_index-1;o>=0;o--){const l=t[o];if(n(l)){const n=e(l);return void 0===n?t.splice(o,1):t[o]=n,r?void 0===n&&t.claim_info.last_index--:t.claim_info.last_index=o,l}}return o()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function w(t,n,e){return function(t,n,e,o){return I(t,(t=>t.nodeName===n),(t=>{const n=[];for(let o=0;o<t.attributes.length;o++){const r=t.attributes[o];e[r.name]||n.push(r.name)}n.forEach((n=>t.removeAttribute(n)))}),(()=>o(n)))}(t,n,e,$)}function k(t,n){return I(t,(t=>3===t.nodeType),(t=>{const e=""+n;if(t.data.startsWith(e)){if(t.data.length!==e.length)return t.splitText(e.length)}else t.data=e}),(()=>b(n)),!0)}function A(t){s=t}const N=[],S=[],T=[],M=[],C=Promise.resolve();let j=!1;function B(t){T.push(t)}const O=new Set;let G=0;function P(){if(0!==G)return;const t=s;do{try{for(;G<N.length;){const t=N[G];G++,A(t),W(t.$$)}}catch(t){throw N.length=0,G=0,t}for(A(null),N.length=0,G=0;S.length;)S.pop()();for(let t=0;t<T.length;t+=1){const n=T[t];O.has(n)||(O.add(n),n())}T.length=0}while(N.length);for(;M.length;)M.pop()();j=!1,O.clear(),A(t)}function W(t){if(null!==t.fragment){t.update(),c(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(B)}}const q=new Set;function D(t,n){t&&t.i&&(q.delete(t),t.i(n))}function H(t,n,e,o){const{fragment:r,after_update:i}=t.$$;r&&r.m(n,e),o||B((()=>{const n=t.$$.on_mount.map(l).filter(a);t.$$.on_destroy?t.$$.on_destroy.push(...n):c(n),t.$$.on_mount=[]}
2)),i.forEach(B)}function L(t,n){-1===t.$$.dirty[0]&&(N.push(t),j||(j=!0,C.then(P)),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31}class R{$destroy(){!function(t,n){const e=t.$$;null!==e.fragment&&(c(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}(this,1),this.$destroy=r}$on(t,n){if(!a(n))return r;const e=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return e.push(n),()=>{const t=e.indexOf(n);-1!==t&&e.splice(t,1)}}$set(t){var n;this.$$set&&(n=t,0!==Object.keys(n).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}let z=o.default?.locale||"en",F=z;function J(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;const o=e=>String.prototype.split.call(n,e).filter(Boolean).reduce(((t,n)=>null!=t?t[n]:t),t),r=o(/[,[\]]+?/)||o(/[,[\].]+?/);return void 0===r||r===t?e:r}function K(t){const n=Object.keys(t);if(0===n.length||n.includes(z))return z;const e=z.split("-")[0],o=n.find((t=>t===e))||n.find((t=>t.startsWith(`${e}-`)));return o||((!t.en?!!t.sv&&"sv":"en")||n[0])}function Q(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=J(t[F],n);return null==r?(console.warn(`[@soleil-se/i18n] No translation is avaliable for '${n}'${o.default?.webAppId?` in app ${o.default.webAppId}.`:"."}`),n):(Object.keys(e).forEach((t=>{const n=e[t],o=new RegExp(`{${t}}`,"g");r=r.replace(o,n)})),r)}var U=function(t){let n=t;F=K(n);const e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Q(n,t,e)};return e.addMessages=(t,o)=>(n={...n,[t]:o},F=K(n),e),e.getMessages=()=>n[F],e.localeExists=()=>!!n[F],e.messageExists=t=>!!J(n[F],t),e.translate=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Q(n,t,e)},e}({en:{goToContent:"Go to content",goToSubMenu:"Go to submenu"},sv:{goToContent:"Gå till innehåll",goToSubMenu:"Gå till undermeny"}});function V(t){let n,e,o,l,i,c=U("goToContent")+"",a=t[2](),u=a&&function(t){let n,e,o,r=U("goToSubMenu")+"";return{c(){n=$("a"),e=b(r),this.h()},l(t){n=w(t,"A",{href:!0,class:!0});var o=x(n);e=k(o,r),o.forEach(g),this.h()},h(){y(n,"href",o="#"+t[1]),y(n,"class","app-5k9csl")},m(t,o){m(t,n,o),_(n,e)},p(t,e){2&e&&o!==(o="#"+t[1])&&y(n,"href",o)},d(t){t&&g(n)}}}(t);return{c(){n=$("a"),e=b(c),l=b(" "),u&&u.c(),i=v(),this.h()},l(t){n=w(t,"A",{href:!0,class:!0});var o=x(n);e=k(o,c),o.forEach(g),l=function(t){return k(t," ")}(t),u&&u.l(t),i=v(),this.h()},h(){y(n,"href",o="#"+t[0]),y(n,"class","app-5k9csl")},m(t,o){m(t,n,o),_(n,e),m(t,l,o),u&&u.m(t,o),m(t,i,o)},p(t,e){let[r]=e;1&r&&o!==(o="#"+t[0])&&y(n,"href",o),a&&u.p(t,r)},i:r,o:r,d(t){t&&g(n),t&&g(l),u&&u.d(t),t&&g(i)}}}function X(t,n,e){let{contentId:o}=n,{submenuId:r}=n;return t.$$set=t=>{"contentId"in t&&e(0,o=t.contentId),"submenuId"in t&&e(1,r=t.submenuId)},[o,r,function(){{const t=document.getElementById(r);return!!t&&null!==t.offsetParent}}]}class Y extends R{constructor(t){super(),function(t,n,e,o,l,a,u){let d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:[-1];const p=s;A(t);const _=t.$$={fragment:null,ctx:[],props:a,update:r,not_equal:l,bound:i(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(p?p.$$.context:[])),callbacks:i(),dirty:d,skip_bound:!1,root:n.target||p.$$.root};u&&u(_.root);let m=!1;if(_.ctx=e?e(t,n.props||{},(function(n,e){const o=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:e;return _.ctx&&l(_.ctx[n],_.ctx[n]=o)&&(!_.skip_bound&&_.bound[n]&&_.bound[n](o),m&&L(t,n)),e})):[],_.update(),m=!0,c(_.before_update),_.fragment=!!o&&o(_.ctx),n.target){if(n.hydrate){f();const t=x(n.target);_.fragment&&_.fragment.l(t),t.forEach(g)}else _.fragment&&_.fragment.c();n.intro&&D(t.$$.fragment),H(t,n.target,n.anchor,n.customElement),h(),P()}A(p)}(this,t,X,V,u,{contentId:0,submenuId:1})}}return(t,n)=>{!function(t){let{target:n,props:e,intro:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.childElementCount>0;new t({hydrate:r,target:n,props:e,intro:o})}(Y,{props:t,target:n})}}));
3}});

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.