PageSourceSearch

https://www.philips-hue.com/etc.clientlibs/signify-brand-hue/clien…/5367.b73ec77d8b14e02d5314.chunk.min.js

js philips-hue.com collected 2026-09-24 08:43:22 UTC 7,016 bytes, 2 lines download raw bytes

1/*! For license information please see 5367.b73ec77d8b14e02d5314.chunk.min.js.LICENSE.txt */
2(self.webpackChunk_signify_hue=self.webpackChunk_signify_hue||[]).push([[5367],{5367:function(e,r,t){var i;i=function(e){"use strict";var r="0.85em",t="9999",i=e._util,o=0;e.Scene.extend(function(){var e,r=this;r.addIndicators=function(t){return e||(t=i.extend({},{name:"",indent:0,parent:void 0,colorStart:"green",colorEnd:"red",colorTrigger:"blue"},t),o++,e=new n(r,t),r.on("add.plugin_addIndicators",e.add),r.on("remove.plugin_addIndicators",e.remove),r.on("destroy.plugin_addIndicators",r.removeIndicators),r.controller()&&e.add()),r},r.removeIndicators=function(){return e&&(e.remove(),this.off("*.plugin_addIndicators"),e=void 0),r}}),e.Controller.addOption("addIndicators",!1),e.Controller.extend(function(){var r=this,t=r.info(),o=t.container,n=t.isDocument,s=t.vertical,d={groups:[]};this._indicators=d;var a=function(){d.updateBoundsPositions()},g=function(){d.updateTriggerGroupPositions()};return o.addEventListener("resize",g),n||(window.addEventListener("resize",g),window.addEventListener("scroll",g)),o.addEventListener("resize",a),o.addEventListener("scroll",a),this._indicators.updateBoundsPositions=function(e){for(var r,t,n,a=e?[i.extend({},e.triggerGroup,{members:[e]})]:d.groups,g=a.length,p={},u=s?"left":"top",l=s?"width":"height",c=s?i.get.scrollLeft(o)+i.get.width(o)-15:i.get.scrollTop(o)+i.get.height(o)-15;g--;)for(r=(n=a[g]).members.length,t=i.get[l](n.element.firstChild);r--;)p[u]=c-t,i.css(n.members[r].bounds,p)},this._indicators.updateTriggerGroupPositions=function(e){for(var t,a,g,p,u=e?[e]:d.groups,l=u.length,c=n?document.body:o,f=n?{top:0,left:0}:i.get.offset(c,!0),h=s?i.get.width(o)-15:i.get.height(o)-15,m=s?"width":"height",v=s?"Y":"X";l--;)a=(t=u[l]).element,g=t.triggerHook*r.info("size"),p=i.get[m](a.firstChild.firstChild)<g?"translate"+v+"(-100%)":"",i.css(a,{top:f.top+(s?g:h-t.members[0].options.indent),left:f.left+(s?h-t.members[0].options.indent:g)}),i.css(a.firstChild.firstChild,{"-ms-transform":p,"-webkit-transform":p,transform:p})},this._indicators.updateTriggerGroupLabel=function(e){var r="trigger"+(1<e.members.length?"":" "+e.members[0].options.name),t=e.element.firstChild.firstChild;t.textContent!==r&&(t.textContent=r,s&&d.updateBoundsPositions())},this.addScene=function(t){this._options.addIndicators&&t instanceof e.Scene&&t.controller()===r&&t.addIndicators(),this.$super.addScene.apply(this,arguments)},this.destroy=function(){o.removeEventListener("resize",g),n||(window.removeEventListener("resize",g),window.removeEventListener("scroll",g)),o.removeEventListener("resize",a),o.removeEventListener("scroll",a),this.$super.destroy.apply(this,arguments)},r});var n=function(e,r){var t,n,d=this,a=s.bounds(),g=s.start(r.colorStart),p=s.end(r.colorEnd),u=r.parent&&i.get.elements(r.parent)[0];r.name=r.name||o,g.firstChild.textContent+=" "+r.name,p.textContent+=" "+r.name,a.appendChild(g),a.appendChild(p),d.options=r,d.bounds=a,d.triggerGroup=void 0,this.add=function(){n=e.controller(),t=n.info("vertical");var r=n.info("isDocument");u||(u=r?document.body:n.info("container")),r||"static"!==i.css(u,"position")||i.css(u,{position:"relative"}),e.on("change.plugin_addIndicators",c),e.on("shift.plugin_addIndicators",l),v(),h(),setTimeout(function(){n._indicators.updateBoundsPositions(d)},0)},this.remove=function(){if(d.triggerGroup){if(e.off("change.plugin_addIndicators",c),e.off("shift.plugin_addIndicators",l),1<d.triggerGroup.members.length){var r=d.triggerGroup;r.members.splice(r.members.indexOf(d),1),n._indicators.updateTriggerGroupLabel(r),n._indicators.updateTriggerGroupPositions(r),d.triggerGroup=void 0}else m();f()}};var l=function(){h()},c=function(e){"triggerHook"===e.what&&v()},f=function(){a.parentNode.removeChild(a)},h=function(){var o;a.parentNode!==u&&(o=n.info("vertical"),i.css(g.firstChild,{"border-bottom-width":o?1:0,"border-right-width":o?0:1,bottom:o?-1:r.indent,right:o?r.indent:-1,padding:o?"0 8px":"2px 4px"}),i.css(p,{"border-top-width":o?1:0,"border-left-width":o?0:1,top:o?"100%":"",right:o?r.indent:"",bottom:o?"":r.indent,left:o?"":"100%",padding:o?"0 8px":"2px 4px"}),u.appendChild(a));var s={};s[t?"top":"left"]=e.triggerPosition(),s[t?"height":"width"]=e.duration(),i.css(a,s),i.css(p,{display:0<e.duration()?"":"none"})},m=function(){n._indicators.groups.splice(n._indicators.groups.indexOf(d.triggerGroup),1),d.triggerGroup.element.parentNode.removeChild(d.triggerGroup.element),d.triggerGroup=void 0},v=function(){var o=e.triggerHook();if(!(d.triggerGroup&&Math.abs(d.triggerGroup.triggerHook-o)<1e-4)){for(var a,g=n._indicators.groups,p=g.length;p--;)if(a=g[p],Math.abs(a.triggerHook-o)<1e-4)return d.triggerGroup&&(1===d.triggerGroup.members.length?m():(d.triggerGroup.members.splice(d.triggerGroup.members.indexOf(d),1),n._indicators.updateTriggerGroupLabel(d.triggerGroup),n._indicators.updateTriggerGroupPositions(d.triggerGroup))),a.members.push(d),d.triggerGroup=a,void n._indicators.updateTriggerGroupLabel(a);if(d.triggerGroup){if(1===d.triggerGroup.members.length)return d.triggerGroup.triggerHook=o,void n._indicators.updateTriggerGroupPositions(d.triggerGroup);d.triggerGroup.members.splice(d.triggerGroup.members.indexOf(d),1),n._indicators.updateTriggerGroupLabel(d.triggerGroup),n._indicators.updateTriggerGroupPositions(d.triggerGroup),d.triggerGroup=void 0}!function(){var o=s.trigger(r.colorTrigger),a={};a[t?"right":"bottom"]=0,a[t?"border-top-width":"border-left-width"]=1,i.css(o.firstChild,a),i.css(o.firstChild.firstChild,{padding:t?"0 8px 3px 8px":"3px 4px"}),document.body.appendChild(o);var g={triggerHook:e.triggerHook(),element:o,members:[d]};n._indicators.groups.push(g),d.triggerGroup=g,n._indicators.updateTriggerGroupLabel(g),n._indicators.updateTriggerGroupPositions(g)}()}}},s={start:function(e){var r=document.createElement("div");r.textContent="start",i.css(r,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e});var t=document.createElement("div");return i.css(t,{position:"absolute",overflow:"visible",width:0,height:0}),t.appendChild(r),t},end:function(e){var r=document.createElement("div");return r.textContent="end",i.css(r,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),r},bounds:function(){var e=document.createElement("div");return i.css(e,{position:"absolute",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":r}),e.style.zIndex=t,e},trigger:function(e){var o=document.createElement("div");o.textContent="trigger",i.css(o,{position:"relative"});var n=document.createElement("div");i.css(n,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),n.appendChild(o);var s=document.createElement("div");return i.css(s,{position:"fixed",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":r}),s.style.zIndex=t,s.appendChild(n),s}}},i(t(3816))}}]);

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.