PageSourceSearch

https://www.homeworx.se/ui/2202.d0bec3b44b55b120.js

js homeworx.se collected 2026-09-26 09:35:41 UTC 3,255 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklitium_accelerator=self.webpackChunklitium_accelerator||[]).push([[2202],{92610:(t,e,n)=>{n.d(e,{RH:()=>r,Uc:()=>o,WU:()=>i,jD:()=>c});const o="NOTIFICATION_SHOW",r="NOTIFICATION_HIDE",i=(t,e,n)=>({type:o,payload:{nodeId:t,text:e,hash:n}}),c=(t,e)=>({type:r,payload:{nodeId:t,hash:e}})},92202:(t,e,n)=>{n.r(e),n.d(e,{default:()=>f});var o=n(37953),r=n(64892);const i=({text:t,top:e="auto",left:n="auto",right:r="auto",display:i="none"})=>o.createElement("span",{className:"notification__tooltip",style:{top:`${e}`,left:`${n}`,right:`${r}`,display:`${i}`}},t);var c=n(92610);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},s.apply(null,arguments)}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function p(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class u extends o.Component{constructor(t){super(t),this.state={timers:[]}}componentDidUpdate(t){if(this.props.notification.hash===t.notification.hash)return;const e=Object.keys(this.props.notification.byId),n=this.state.timers.filter((t=>!e.includes(t.id))),o=e.filter((t=>!this.state.timers.find((e=>e.id===t))));if(n.forEach((t=>clearTimeout(t.handle))),!o||!o.length)return void this.setState({timers:[]});const r=[];o.forEach((t=>{r.push({id:t,handle:setTimeout((()=>this.props.hide(t,Date.now())),2e3)})})),this.setState({timers:r})}render(){const t=Object.keys(this.props.notification.byId).map((t=>l(l({},this.props.notification.byId[t]),{},{id:t})));return o.createElement(o.Fragment,null,t&&t.map((t=>o.createElement(i,s({key:t.id,text:t.text},this.getPosition(t.id))))))}getPosition(t){const e=document.getElementById(t);if(!e)return;let n;const o=window.scrollX||(((n=document.documentElement)||(n=document.body.parentNode))&&"number"==typeof n.scrollLeft?n:document.body).scrollLeft,r=window.scrollY||(((n=document.documentElement)||(n=document.body.parentNode))&&"number"==typeof n.scrollTop?n:document.body).scrollTop,i=e.getBoundingClientRect(),c=i.top,s=i.left,a=document.documentElement.clientWidth;return s+o+a/3>a?{top:`${c+r}px`,right:a-(s+o)+"px",display:"block"}:{top:`${c+r}px`,left:`${s+o}px`,display:"block"}}}const d={hide:c.jD},f=(0,r.Ng)((t=>({notification:t.notification})),d)(u)}}]);

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.