PageSourceSearch

https://www.visitlongbeach.com/dist/scripts/Alerts.677cca794a7d4cefd6e6.min.js

js visitlongbeach.com collected 2026-10-02 03:04:01 UTC 2,430 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8167],{6219:function(t,n,e){e.r(n),e.d(n,{default:function(){return c}});var r=e(4575),i=e.n(r),u=e(3913),l=e.n(u),o=e(9713),a=e.n(o),d=e(1500),c=function(){function t(n){var e=this,r=n.el;i()(this,t),a()(this,"holderEl",void 0),this.holderEl=r,this.holderEl&&(window.addEventListener("alertClosed",(function(){requestAnimationFrame((function(){e.updateHeightVar()}))})),window.addEventListener("optimizedResize",(function(){e.updateHeightVar()})),requestAnimationFrame((function(){e.updateHeightVar()})))}return l()(t,[{key:"updateHeightVar",value:function(){if(this.holderEl){var t,n=Math.round((null===(t=this.holderEl)||void 0===t?void 0:t.offsetHeight)||0);(0,d.mr)("--alerts-height","".concat(n,"px"),document.documentElement)}}}]),t}()},1500:function(t,n,e){e.d(n,{d:function(){return o},MX:function(){return l},AY:function(){return a},H:function(){return c},mr:function(){return u}});var r=function(t){return("0"+parseInt(t).toString(16)).slice(-2)},i=function(t){if(t.includes("rgb")){var n=t.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+))?\)$/);return"#".concat(r(n[1])).concat(r(n[2])).concat(r(n[3]))}return t},u=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.documentElement;e&&e.style.setProperty(t,String(n))},l=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return n?getComputedStyle(n).getPropertyValue(t):null},o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#f00",r=l(t,n)||e;return i(r)},a=function(t,n){if(!t)return null!=n?n:null;var e=parseFloat(t);return isNaN(e)?null!=n?n:null:e},d=function(t,n){if(!t)return null;var e=function(t){if(!t)return null;var n=t.trim(),e=/^(-?\d*\.?\d+)([a-z%]*)$/i.exec(n);return e?{n:parseFloat(e[1]),unit:e[2]||"px"}:null}(t);if(!e||isNaN(e.n))return null;var r=e.n;switch(e.unit){default:return r;case"vw":return r/100*n.width();case"vh":return r/100*n.height()}},c=function(t,n,e){var r=l(t,n),i=d(r,e);if(null!=i)return i;if(!r)return null;var u=document.createElement("div");u.style.position="absolute",u.style.left="0",u.style.top="0",u.style.width="0",u.style.visibility="hidden",u.style.pointerEvents="none",u.style.height=r,n.appendChild(u);var o=u.offsetHeight||null;return n.removeChild(u),o}}}]);

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.