PageSourceSearch

https://www.andrew.com/static/dist/js/3268.c358674b9bbe2e527b32.site-react.js

js andrew.com collected 2026-10-03 21:26:27 UTC 9,742 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcommscope_web_application=self.webpackChunkcommscope_web_application||[]).push([[3268],{8219:function(e,t,n){n.d(t,["A",0,'<svg width="11" height="6" viewBox="0 0 11 6" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M1.18998 0.52682L5.43262 4.76946L9.67526 0.526821" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'])},797:function(e,t,n){n.d(t,["A",0,'<svg viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M1.09619 10.5962L5.69239 6L1.09619 1.40381" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'])},3307:function(e,t,n){var i=n(4348),r=n(1123),o=n(2778);n.d(t,["B",0,(e,t)=>{const n=(0,o.g)(e.style),s=(0,o.a)(e.style),a={class:e.class?`${s} ${e.class}`:s,part:e.part,onClick:e.onClick,title:e.title,type:e.type,role:e.role,"aria-label":e.ariaLabel,"aria-expanded":e.ariaExpanded,"aria-pressed":e.ariaPressed,"aria-checked":e.ariaChecked,"aria-current":e.ariaCurrent,"aria-controls":e.ariaControls,"aria-hidden":e.ariaHidden,disabled:e.disabled,ref(t){var n;e.form&&(null==t||t.setAttribute("form",e.form)),e.ariaHidden&&(null==t||t.setAttribute("aria-hidden",e.ariaHidden)),e.tabIndex&&(null==t||t.setAttribute("tabindex",e.tabIndex)),null===(n=e.ref)||void 0===n||n.call(e,t)}};return(0,i.h)("button",{...a,onMouseDown:e=>(0,r.c)(e,{color:n})},e.text?(0,i.h)("span",{class:"truncate"},e.text):null,t)}])},2778:function(e,t,n){function i(e){switch(e){case"primary":return"btn-primary";case"outline-primary":return"btn-outline-primary";case"outline-neutral":return"btn-outline-neutral";case"outline-error":return"btn-outline-error";case"outline-bg-neutral":return"btn-outline-bg-neutral";case"outline-bg-error":return"btn-outline-bg-error";case"text-primary":return"btn-text-primary";case"text-neutral":return"btn-text-neutral";case"text-transparent":return"btn-text-transparent";case"square-neutral":return"btn-square-neutral"}}function r(e){switch(e){case"primary":return"primary";case"text-transparent":return"neutral-light";default:return"neutral"}}n.d(t,{a:function(){return i},g:function(){return r}})},4844:function(e,t,n){function i(e,t){return new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0,composed:!0})}function r(e,t,n,i){const r=o=>{e.removeEventListener(t,r,i),"object"==typeof n?n.handleEvent.call(e,o):n.call(e,o)};e.addEventListener(t,r,i)}n.d(t,{b:function(){return i},l:function(){return r}})},1248:function(e,t,n){var i=n(4348);n.d(t,["H",0,({level:e,...t},n)=>{const r=e>0&&e<=6?`h${e}`:"div";return(0,i.h)(r,{...t},n)}])},5847:function(e,t,n){n.d(t,{B:function(){return g},I:function(){return h},b:function(){return d}});var i=n(4348),r=n(4844),o=n(9430);const s=()=>(0,i.h)(i.H,{class:"atomic-hidden"}),a="atomic/initializeComponent",l=["atomic-recs-interface","atomic-search-interface","atomic-commerce-interface","atomic-commerce-recommendation-interface","atomic-relevance-inspector","atomic-insight-interface","atomic-external"];class c extends Error{constructor(e){super(`The "${e}" element must be the child of the following elements: ${l.join(", ")}`)}}function d(e){e.shadowRoot&&(window.applyFocusVisiblePolyfill?window.applyFocusVisiblePolyfill(e.shadowRoot):window.addEventListener("focus-visible-polyfill-ready",()=>{var t;return null===(t=window.applyFocusVisiblePolyfill)||void 0===t?void 0:t.call(window,e.shadowRoot)},{once:!0}))}const u="data-atomic-rendered",p="data-atomic-loaded";function h({forceUpdate:e}={}){return(t,n)=>{const{componentWillLoad:h,render:g,componentDidRender:b,componentDidLoad:f,disconnectedCallback:m}=t;let v=()=>{};if("bindings"!==n)return console.error(`The InitializeBindings decorator should be used on a property called "bindings", and not "${n}"`,t);t.componentWillLoad=function(){const t=(0,i.g)(this);t.setAttribute(u,"false"),t.setAttribute(p,"false");const n=(0,r.b)(a,t=>{this.bindings=t;const n=()=>(0,i.f)(this);this.bindings.i18n.on("languageChanged",n),v=()=>this.bindings.i18n.off("languageChanged",n);try{this.initialize?(this.initialize(),e&&(0,i.f)(this)):(0,i.f)(this)}catch(e){this.error=e}});
1if(t.dispatchEvent(n),(0,o.c)(t,l.join(", ")))return h&&h.call(this);this.error=new c(t.nodeName.toLowerCase())},t.render=function(){return this.error?(0,i.h)("atomic-component-error",{element:(0,i.g)(this),error:this.error}):this.bindings?((0,i.g)(this).setAttribute(u,"true"),g&&g.call(this)):(0,i.h)(s,null)},t.disconnectedCallback=function(){const e=(0,i.g)(this);e.setAttribute(u,"false"),e.setAttribute(p,"false"),v(),m&&m.call(this)},t.componentDidRender=function(){const e=(0,i.g)(this);"false"!==e.getAttribute(u)&&(b&&b.call(this),"false"===e.getAttribute(p)&&(e.setAttribute(p,"true"),d((0,i.g)(this)),f&&f.call(this)))},t.componentDidLoad=function(){}}}function g(e,t){return(n,r)=>{const{disconnectedCallback:o,initialize:s}=n;n.initialize=function(){return s&&s.call(this),s?this[e]?(null==t?void 0:t.onUpdateCallbackMethod)&&!this[t.onUpdateCallbackMethod]?console.error(`ControllerState: The onUpdateCallbackMethod property "${t.onUpdateCallbackMethod}" is not defined`,n):void(this.unsubscribeController=this[e].subscribe(()=>{this[r]=this[e].state,(null==t?void 0:t.onUpdateCallbackMethod)&&this[t.onUpdateCallbackMethod]()})):void 0:console.error(`ControllerState: The "initialize" method has to be defined and instantiate a controller for the property ${e}`,n)},n.disconnectedCallback=function(){var e;!(0,i.g)(this).isConnected&&(null===(e=this.unsubscribeController)||void 0===e||e.call(this)),o&&o.call(this)}}}n.d(t,["H",0,s,"a",0,a])},1123:function(e,t,n){n.d(t,{c:function(){return s}});var i=n(4844);const r="ripple";function o(e){"static"===getComputedStyle(e).position&&e.classList.add("ripple-relative")}function s(e,t){var n;const s=null!==(n=t.parent)&&void 0!==n?n:e.currentTarget,a=s.getElementsByClassName(r)[0];a&&a.remove(),s.classList.add("ripple-parent"),o(s),Array.from(s.children).forEach(o);const l=document.createElement("span");l.classList.add(r),l.style.backgroundColor=`var(--atomic-${t.color})`,l.setAttribute("part",r);const c=Math.max(s.clientWidth,s.clientHeight),d=c/2,u=(p=d,129.21*Math.cbrt(p));var p;const{top:h,left:g}=s.getBoundingClientRect();l.style.width=l.style.height=`${c}px`,l.style.left=e.clientX-(g+d)+"px",l.style.top=e.clientY-(h+d)+"px",l.style.setProperty("--animation-duration",`${u}ms`),s.prepend(l),async function(e,t){(0,i.l)(e,"animationend",()=>{e&&e.remove()}),setTimeout(()=>null==e?void 0:e.remove(),t+.1*t)}(l,u)}},3268:function(e,t,n){n.d(t,{S:function(){return c}});var i=n(4348),r=n(8219),o=n(797),s=n(3307),a=n(1248),l=n(5847);class c{constructor(e){this.props=e}get style(){var e;const t=null===(e=this.props.getHost().querySelector("template"))||void 0===e?void 0:e.content.querySelector("style");return t?t.innerHTML:this.props.getSnippetStyle()}getRelatedQuestionId(e){return`${this.props.id}-${e}`}getQuestionPart(e,t){return e+(t.expanded?"-expanded":"-collapsed")}toggleQuestion(e){e.expanded?this.props.getQuestionsList().collapse(e.questionAnswerId):this.props.getQuestionsList().expand(e.questionAnswerId)}renderQuestion(e,t){const n=this.props.getHeadingLevel();return(0,i.h)(s.B,{style:"text-neutral",part:this.getQuestionPart("question-button",e),onClick:()=>this.toggleQuestion(e),class:"flex items-center px-4",ariaExpanded:`${e.expanded}`,ariaControls:this.getRelatedQuestionId(t)},(0,i.h)("atomic-icon",{icon:e.expanded?r.A:o.A,part:this.getQuestionPart("question-icon",e),class:"mr-3 w-2.5 stroke-[1.25]"}),(0,i.h)(a.H,{level:n?n+1:n,class:"py-4 text-left text-xl font-bold",part:this.getQuestionPart("question-text",e)},e.question))}renderContent(e){return(0,i.h)("atomic-smart-snippet-answer",{exportparts:"answer",htmlContent:e.answer,innerStyle:this.style,onSelectInlineLink:t=>this.props.getQuestionsList().selectInlineLink(e.questionAnswerId,t.detail),onBeginDelayedSelectInlineLink:t=>this.props.getQuestionsList().beginDelayedSelectInlineLink(e.questionAnswerId,t.detail),onCancelPendingSelectInlineLink:t=>this.props.getQuestionsList().cancelPendingSelectInlineLink(e.questionAnswerId,t.detail)})}renderSource(e){var t,n;const{source:r}=e;return r?(0,i.h)("footer",{part:"footer","aria-label":this.props.getBindings().i18n.t("smart-snippet-source")},(0,i.h)("atomic-smart-snippet-source",{source:r,anchorAttributes:null===(n=(t=this.props).getSourceAnchorAttributes)||void 0===n?void 0:n.call(t),onSelectSource:()=>this.props.getQuestionsList().selectSource(e.questionAnswerId),onBeginDelayedSelectSource:()=>this.props.getQuestionsList().beginDelayedSelectSource(e.questionAnswerId),onCancelPendingSelectSource:()=>this.props.getQuestionsList().cancelPendingSelectSource(e.questionAnswerId)})):[]}hideDuringRender(e){const t=this.props.getHost();t.style.visibility=e?"hidden":"",t.style.position=e?"absolute":""}renderRelatedQuestion(e,t){return(0,i.h)("li",{key:e.questionAnswerId,part:this.getQuestionPart("question-answer",e),class:"flex flex-col"},(0,i.h)("article",{class:"contents"},this.renderQuestion(e,t),e.expanded&&(0,i.h)("div",{part:"answer-and-source",class:"pb-6 pl-10 pr-6",id:this.getRelatedQuestionId(t)},this.renderContent(e),this.renderSource(e))))}render(){return this.props.getState().questions.length?(0,i.h)("aside",{part:"container",class:"bg-background border-neutral text-on-background overflow-hidden rounded-lg border"},(0,i.h)(a.H,{level:this.props.getHeadingLevel(),part:"heading",class:"border-neutral border-b px-6 py-4 text-xl leading-8"},this.props.getBindings().i18n.t("smart-snippet-people-also-ask")),(0,i.h)("ul",{part:"questions",class:"divide-neutral divide-y"},this.props.getState().questions.map((e,t)=>this.renderRelatedQuestion(e,t)))):(0,i.h)(l.H,null)}}}}]);

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.