PageSourceSearch

https://www.andrew.com/static/dist/js/3088.1e1ff19015d2e911b31d.site-react.js

js andrew.com collected 2026-10-03 21:26:18 UTC 24,523 bytes, 2 lines download raw bytes

1/*! For license information please see 3088.1e1ff19015d2e911b31d.site-react.js.LICENSE.txt */
2"use strict";(self.webpackChunkcommscope_web_application=self.webpackChunkcommscope_web_application||[]).push([[3088],{4731:function(e,t,n){n.d(t,{A:function(){return o},F:function(){return a},g:function(){return u}});var i=n(4844),s=n(9430);const r="atomic/accessibility/findAriaLive";function o(e,t=!1){function n(){const e=(0,i.b)(r,{});document.dispatchEvent(e);const{element:t}=e.detail;return t}return(i,s)=>{const{componentWillRender:r}=i;Object.defineProperty(i,s,{set:i=>function(i){var s;null===(s=n())||void 0===s||s.updateMessage(e,i,t)}(i)}),i.componentWillRender=function(){var i;r&&r.call(this),null===(i=n())||void 0===i||i.registerRegion(e,t)}}}class a{constructor(e){this.component=e,this.doFocusAfterSearch=!1,this.doFocusOnNextTarget=!1,this.bindings=e.bindings,this.handleComponentRenderLoop()}setTarget(e){e&&(this.element=e,this.doFocusOnNextTarget&&(this.doFocusOnNextTarget=!1,this.focus()))}async focus(){var e,t;await(0,s.d)(),null===(e=this.element)||void 0===e||e.focus(),null===(t=this.onFocusCallback)||void 0===t||t.call(this)}focusAfterSearch(){return this.lastSearchId=this.bindings.store.getUniqueIDFromEngine(this.bindings.engine),this.doFocusAfterSearch=!0,new Promise(e=>this.onFocusCallback=e)}focusOnNextTarget(){return this.doFocusOnNextTarget=!0,new Promise(e=>this.onFocusCallback=e)}disableForCurrentSearch(){this.bindings.store.getUniqueIDFromEngine(this.bindings.engine)!==this.lastSearchId&&(this.doFocusAfterSearch=!1)}handleComponentRenderLoop(){const e=this.component.componentDidRender;this.component.componentDidRender=()=>{if(e&&e.call(this.component),this.bindings&&this.doFocusAfterSearch&&this.bindings.store.getUniqueIDFromEngine(this.bindings.engine)!==this.lastSearchId&&(this.doFocusAfterSearch=!1,this.element)){const e=this.element;(0,s.d)().then(()=>{var t;e.focus(),null===(t=this.onFocusCallback)||void 0===t||t.call(this)})}}}}function*l(e){(function(e){if("-1"===e.getAttribute("tabindex"))return!1;if(e.hasAttribute("tabindex"))return!0;if("true"===e.getAttribute("contentEditable"))return!0;switch(e.tagName){case"A":case"AREA":return e.hasAttribute("href");case"INPUT":case"SELECT":case"TEXTAREA":case"BUTTON":return!e.hasAttribute("disabled");case"IFRAME":return!0;default:return!1}})(e)&&(yield e);let t=Array.from(e.children);e instanceof HTMLSlotElement?t=e.assignedElements():e.shadowRoot&&t.push(...Array.from(e.shadowRoot.children));for(const e of t)yield*l(e)}function u(e){var t;return null!==(t=l(e).next().value)&&void 0!==t?t:null}},6452:function(e,t,n){n.d(t,{N:function(){return l},S:function(){return s},a:function(){return a},b:function(){return d},c:function(){return o},i:function(){return h}});var i=class extends Error{constructor(e){super(e),this.name="SchemaValidationError"}},s=class{constructor(e){this.definition=e}validate(e={},t=""){const n={...this.default,...e},s=[];for(const e in this.definition){const t=this.definition[e].validate(n[e]);t&&s.push(`${e}: ${t}`)}if(s.length)throw function(e,t){const n=`\n  The following properties are invalid:\n\n    ${e.join("\n\t")}\n  \n  ${t}\n  `;return new i(n)}(s,t);return n}get default(){const e={};for(const t in this.definition){const n=this.definition[t].default;void 0!==n&&(e[t]=n)}return e}},r=class{constructor(e={}){this.baseConfig=e}validate(e){return this.baseConfig.required&&a(e)?"value is required.":null}get default(){return this.baseConfig.default instanceof Function?this.baseConfig.default():this.baseConfig.default}get required(){return!0===this.baseConfig.required}};function o(e){return void 0===e}function a(e){return o(e)||function(e){return null===e}(e)}var l=class{constructor(e={}){this.config=e,this.value=new r(e)}validate(e){return this.value.validate(e)||(function(e){return o(e)||function(e){return"number"==typeof e&&!isNaN(e)}(e)}(e)?e<this.config.min?`minimum value of ${this.config.min} not respected.`:e>this.config.max?`maximum value of ${this.config.max} not respected.`:null:"value is not a number.")}get default(){return this.value.default}get required(){return this.value.required}}
2,u=/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i,c=/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?)?)?)?$/i,d=class{constructor(e={}){this.config={emptyAllowed:!0,url:!1,...e},this.value=new r(this.config)}validate(e){const{emptyAllowed:t,url:n,regex:i,constrainTo:s,ISODate:r}=this.config,a=this.value.validate(e);return a||(o(e)?null:function(e){return"[object String]"===Object.prototype.toString.call(e)}(e)?t||e.length?n&&!u.test(e)?"value is not a valid URL.":i&&!i.test(e)?`value did not match provided regex ${i}`:s&&!s.includes(e)?`value should be one of: ${s.join(", ")}.`:!r||c.test(e)&&"Invalid Date"!==new Date(e).toString()?null:"value is not a valid ISO8601 date string":"value is an empty string.":"value is not a string.")}get default(){return this.value.default}get required(){return this.value.required}};function h(e){return Array.isArray(e)}},3307:function(e,t,n){var i=n(4348),s=n(1123),r=n(2778);n.d(t,["B",0,(e,t)=>{const n=(0,r.g)(e.style),o=(0,r.a)(e.style),a={class:e.class?`${o} ${e.class}`:o,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,s.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 s(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 s}})},6128:function(e,t,n){function i(e){let t=[],n=null;function i(){const e=t.shift();e?e.execute():(clearInterval(n),n=null)}function s(e){t=t.filter(t=>t.id!==e)}return{enqueue(r,o){o&&s(o),t.push({id:o,execute:r}),null===n&&(i(),n=setInterval(i,e.delay))},clear(){t=[]},cancelActionIfQueued:s}}function s(e,t){let n;return(...i)=>(clearTimeout(n),new Promise(s=>{n=setTimeout(()=>s(e(...i)),t)}
2))}n.d(t,{b:function(){return i},d:function(){return s}})},3550:function(e,t,n){function i(){const e=/iPad|iPhone|iPod/.test(navigator.userAgent),t=navigator.userAgent.includes("Macintosh"),n=navigator.maxTouchPoints>=1;return e||t&&(n||(()=>{const e=new Audio;return e.volume=.5,1===e.volume})())}function s(){return navigator.platform.startsWith("Mac")}function r(){return window.matchMedia("(any-hover: hover)").matches}n.d(t,{a:function(){return i},h:function(){return r},i:function(){return s}})},4844:function(e,t,n){function i(e,t){return new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0,composed:!0})}function s(e,t,n,i){const s=r=>{e.removeEventListener(t,s,i),"object"==typeof n?n.handleEvent.call(e,r):n.call(e,r)};e.addEventListener(t,s,i)}n.d(t,{b:function(){return i},l:function(){return s}})},5847:function(e,t,n){n.d(t,{B:function(){return f},I:function(){return g},b:function(){return c}});var i=n(4348),s=n(4844),r=n(9430);const o=()=>(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 u extends Error{constructor(e){super(`The "${e}" element must be the child of the following elements: ${l.join(", ")}`)}}function c(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 d="data-atomic-rendered",h="data-atomic-loaded";function g({forceUpdate:e}={}){return(t,n)=>{const{componentWillLoad:g,render:f,componentDidRender:p,componentDidLoad:v,disconnectedCallback:m}=t;let b=()=>{};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(d,"false"),t.setAttribute(h,"false");const n=(0,s.b)(a,t=>{this.bindings=t;const n=()=>(0,i.f)(this);this.bindings.i18n.on("languageChanged",n),b=()=>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}});if(t.dispatchEvent(n),(0,r.c)(t,l.join(", ")))return g&&g.call(this);this.error=new u(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(d,"true"),f&&f.call(this)):(0,i.h)(o,null)},t.disconnectedCallback=function(){const e=(0,i.g)(this);e.setAttribute(d,"false"),e.setAttribute(h,"false"),b(),m&&m.call(this)},t.componentDidRender=function(){const e=(0,i.g)(this);"false"!==e.getAttribute(d)&&(p&&p.call(this),"false"===e.getAttribute(h)&&(e.setAttribute(h,"true"),c((0,i.g)(this)),v&&v.call(this)))},t.componentDidLoad=function(){}}}function f(e,t){return(n,s)=>{const{disconnectedCallback:r,initialize:o}=n;n.initialize=function(){return o&&o.call(this),o?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[s]=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)),r&&r.call(this)}}}n.d(t,["H",0,o,"a",0,a])},1123:function(e,t,n){n.d(t,{c:function(){return o}});var i=n(4844);const s="ripple";function r(e){"static"===getComputedStyle(e).position&&e.classList.add("ripple-relative")}function o(e,t){var n;const o=null!==(n=t.parent)&&void 0!==n?n:e.currentTarget,a=o.getElementsByClassName(s)[0];a&&a.remove(),o.classList.add("ripple-parent"),r(o),Array.from(o.children).forEac
2h(r);const l=document.createElement("span");l.classList.add(s),l.style.backgroundColor=`var(--atomic-${t.color})`,l.setAttribute("part",s);const u=Math.max(o.clientWidth,o.clientHeight),c=u/2,d=(h=c,129.21*Math.cbrt(h));var h;const{top:g,left:f}=o.getBoundingClientRect();l.style.width=l.style.height=`${u}px`,l.style.left=e.clientX-(f+c)+"px",l.style.top=e.clientY-(g+c)+"px",l.style.setProperty("--animation-duration",`${d}ms`),o.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,d)}},6864:function(e,t,n){n.d(t,{a:function(){return g}});var i=n(4348),s=n(3307),r=n(6452),o=n(9430),a=n(6128),l=n(5430),u=n(3550);const c=({inputRef:e,bindings:t,onClick:n,...r})=>(0,i.h)("div",{part:"clear-button-wrapper",class:"ml-2 flex items-start items-center justify-center py-2"},(0,i.h)(s.B,{style:"text-transparent",part:"clear-button",class:"text-neutral-dark flex h-8 w-8 shrink-0 items-center justify-center",onClick:()=>{null==n||n(),null==e||e.focus()},ariaLabel:t.i18n.t("clear"),...r},(0,i.h)("atomic-icon",{part:"clear-icon",icon:'<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M15 1.00012L1.00012 14.9999" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M0.999878 1L14.9999 15" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n',class:"h-4 w-4"})));function d(e,t){const n=null==e?void 0:e.parentNode;n&&"\n"!==e.value&&(n.dataset.replicatedValue=null!=t?t:e.value)}function h(e,t){let n;const i=new Promise((e,i)=>{n=setTimeout(()=>{i(new Error("Promise timed out."))},t)});return Promise.race([e,i]).then(()=>{clearTimeout(n)})}class g{constructor(e){this.ownerSearchBoxProps=e,this.suggestions=[],this.leftSuggestionElements=[],this.rightSuggestionElements=[],this.leftPanel=void 0,this.rightPanel=void 0,this.activeDescendant="",this.suggestedQuery="",this.queryDataAttribute="data-query",this.suggestionEvents=[],this.previousActiveDescendantElement=null,this.leftSuggestions=[],this.rightSuggestions=[],this.triggerSuggestions=(0,a.d)(()=>this.executeQuerySuggestion(),this.ownerSearchBoxProps.getSuggestionDelay())}get partialSuggestionBindings(){return{suggestedQuery:()=>this.suggestedQuery,clearSuggestions:()=>this.clearSuggestions(),triggerSuggestions:()=>this.triggerSuggestions(),getSuggestions:()=>this.suggestions,getSuggestionElements:()=>this.allSuggestionElements}}get activeDescendantElement(){var e,t;return this.hasActiveDescendant&&((null===(e=this.leftPanel)||void 0===e?void 0:e.querySelector(`#${this.activeDescendant}`))||(null===(t=this.rightPanel)||void 0===t?void 0:t.querySelector(`#${this.activeDescendant}`)))||null}onSubmit(){this.clickOnActiveElement(),this.clearSuggestions()}updateActiveDescendant(e=""){this.activeDescendant=e,(0,i.f)(this.ownerSearchBoxProps.getHost())}clickOnActiveElement(){var e;null===(e=this.activeDescendantElement)||void 0===e||e.click(),this.updateActiveDescendant()}isRightPanelInFocus(){return!(0,r.a)(this.panelInFocus)&&!(0,r.a)(this.rightPanel)&&this.panelInFocus===this.rightPanel}initializeSuggestions(e){this.suggestions=this.suggestionEvents.map(t=>t(e))}registerSuggestionsFromEvent(e,t){e.preventDefault(),e.stopPropagation(),this.suggestionEvents.push(e.detail),this.suggestions.push(e.detail(t))}registerSuggestions(e){this.suggestions.push(e)}get isDoubleList(){return Boolean(this.leftSuggestionElements.length&&this.rightSuggestionElements.length)}focusPanel(e){const t="left"===e?this.leftPanel:this.rightPanel;if(this.panelInFocus!==t&&t&&t.firstElementChild){const e=this.previousActiveDescendantElement&&t.contains(this.previousActiveDescendantElement)?this.previousActiveDescendantElement:t.firstElementChild;this.updateDescendants(e.id)}}clearSuggestions(){this.clearSuggestionElements(),this.updateActiveDescendant()}focusNextValue(){this.hasSuggestions&&this.nextOrFirstValue&&this.focusValue(this.nextOrFirstValue)}focusValue(e){this.updateActiveDescendant(e.id),this.scrollActiveDescendantIntoView(),this.updateQueryFromSuggestion()}onSuggestionMouseOver(e,t,n){const i="left"===t?this.leftPanel:this.rightPanel;this.panelInFocus===i?this.updateActiveDescendant(n):this.updateDescendants(n),e.query&&this.updateSuggestedQuery(e.query)}onSuggestionClick(e,t){e.query&&(this.clearSuggestions(),this.updateOwnerSearchboxQuery(e.query)),e.onSelect&&e.onSelect(t)}get hasSuggestions(){return!!this.allSuggestionElements.length}get allSuggestionElements(){return[...this.leftSuggestionElements,...this.rightSuggestionElements]}
2focusPreviousValue(){this.firstValue!==this.activeDescendantElement?this.hasSuggestions&&this.previousOrLastValue&&this.focusValue(this.previousOrLastValue):this.updateActiveDescendant()}get hasActiveDescendant(){return""!==this.activeDescendant}async executeQuerySuggestion(){var e;this.updateActiveDescendant();const t=await Promise.allSettled(this.suggestions.map(e=>h(e.onInput?e.onInput():Promise.resolve(),this.ownerSearchBoxProps.getSuggestionTimeout()))),n=[];t.forEach((e,t)=>{"fulfilled"===e.status?n.push(this.suggestions[t]):this.ownerSearchBoxProps.getLogger().warn("Some query suggestions are not being shown because the promise timed out.")});const i=(e,t=!1)=>n.filter(n=>n.panel===e||!n.panel&&t).sort(this.sortSuggestions);this.leftSuggestions=i("left",!0),this.leftSuggestionElements=this.getAndFilterLeftSuggestionElements(),this.rightSuggestions=i("right"),this.rightSuggestionElements=this.getSuggestionElements(this.rightSuggestions);const s=(null===(e=this.allSuggestionElements.find(l.e))||void 0===e?void 0:e.query)||"";this.updateSuggestedQuery(s)}get lastValue(){var e;return null===(e=this.panelInFocus)||void 0===e?void 0:e.lastElementChild}get previousOrLastValue(){var e;return this.hasActiveDescendant&&(null===(e=this.activeDescendantElement)||void 0===e?void 0:e.previousElementSibling)||this.lastValue}sortSuggestions(e,t){return e.position-t.position}get nextOrFirstValue(){var e;return this.hasActiveDescendant&&(null===(e=this.activeDescendantElement)||void 0===e?void 0:e.nextElementSibling)||this.firstValue}
2get firstValue(){var e;return null===(e=this.panelInFocus)||void 0===e?void 0:e.firstElementChild}get panelInFocus(){var e,t;return(null===(e=this.leftPanel)||void 0===e?void 0:e.contains(this.activeDescendantElement))?this.leftPanel:(null===(t=this.rightPanel)||void 0===t?void 0:t.contains(this.activeDescendantElement))?this.rightPanel:this.leftPanel||this.rightPanel}scrollActiveDescendantIntoView(){var e;null===(e=this.activeDescendantElement)||void 0===e||e.scrollIntoView({block:"nearest"})}updateQueryFromSuggestion(){var e;const t=null===(e=this.activeDescendantElement)||void 0===e?void 0:e.getAttribute(this.queryDataAttribute);this.updateOwnerSearchboxQuery(t||"")}updateOwnerSearchboxQuery(e){e&&this.ownerSearchBoxProps.getSearchBoxValue()!==e&&(this.ownerSearchBoxProps.updateQuery(e),this.updateSuggestedQuery(e))}async updateSuggestedQuery(e){await Promise.allSettled(this.suggestions.map(t=>h(t.onSuggestedQueryChange?t.onSuggestedQueryChange(e):Promise.resolve(),this.ownerSearchBoxProps.getSuggestionTimeout()))),this.suggestedQuery=e,this.updateSuggestionElements(e),(0,i.f)(this.ownerSearchBoxProps.getHost())}updateSuggestionElements(e){this.isPanelInFocus(this.leftPanel,e)||(this.leftSuggestionElements=this.getAndFilterLeftSuggestionElements()),this.isPanelInFocus(this.rightPanel,e)||(this.rightSuggestionElements=this.getSuggestionElements(this.rightSuggestions))}forceUpdate(){this.updateSuggestionElements(this.suggestedQuery),(0,i.f)(this.ownerSearchBoxProps.getHost())}isPanelInFocus(e,t){var n;if(!this.activeDescendantElement)return!1;if(t){const n=o.D.sanitize(t);return!!(null==e?void 0:e.querySelector(`[${this.queryDataAttribute}="${n}"]`))}return(null===(n=this.activeDescendantElement)||void 0===n?void 0:n.closest("ul"))===e}getAndFilterLeftSuggestionElements(){const e=this.getSuggestionElements(this.leftSuggestions),t=new Set;return e.filter(e=>!!(0,r.a)(e.query)||!t.has(e.query)&&(t.add(e.query),!0))}getSuggestionElements(e){const t=e.map(e=>e.renderItems()).flat(),n=this.ownerSearchBoxProps.getNumberOfSuggestionsToDisplay()+t.filter(l.a).length;return t.slice(0,n)}updateDescendants(e=""){const t=this.activeDescendantElement;this.previousActiveDescendantElement=t,this.updateActiveDescendant(e)}clearSuggestionElements(){this.leftSuggestionElements=[],this.rightSuggestionElements=[]}}const f="data-query";function p(e,t){let n="suggestion";return t&&(n+=" active-suggestion"),e.query&&(n+=" suggestion-with-query"),e.part&&(n+=` ${e.part}`),n}function v(e){return"flex px-4 min-h-[40px] items-center text-left text-neutral-dark cursor-pointer "+(e?"bg-neutral-light":"")}function m(e){return e instanceof HTMLElement}function b(e){return m(e.content)?(0,i.h)(i.F,null):e.content}function S({bindings:e,id:t,suggestion:n,isSelected:i,side:s,index:r,lastIndex:o,isDoubleList:a},l){return{id:t,key:n.key,part:p(n,i),class:v(i),ref:t=>{t&&(function({renderedSuggestion:e,suggestion:t}){m(t.content)&&e.replaceChildren(t.content)}({renderedSuggestion:t,suggestion:n}),t.setAttribute("aria-label",function({bindings:e,renderedSuggestion:t,suggestion:n,side:i,index:s,lastIndex:r,isDoubleList:o,isButton:a}){var l,c,d;const h=null!==(d=null!==(c=null!==(l=n.ariaLabel)&&void 0!==l?l:n.query)&&void 0!==c?c:t.innerText)&&void 0!==d?d:e.i18n.t("no-title"),g=(0,u.i)()&&a?e.i18n.t("search-suggestion-button",{label:h,interpolation:{escapeValue:!1}}):h,f=s+1,p=r+1;return o?e.i18n.t("search-suggestion-double-list",{label:g,position:f,count:p,side:e.i18n.t("left"===i?"left":"right"),interpolation:{escapeValue:!1}}):e.i18n.t("search-suggestion-single-list",{label:g,position:f,count:p,interpolation:{escapeValue:!1}})}({bindings:e,renderedSuggestion:t,suggestion:n,side:s,index:r,lastIndex:o,isDoubleList:a,isButton:l})))}}}n.d(t,["B",0,e=>(0,i.h)("button",{...S(e,!0),onMouseDown:e=>e.preventDefault(),onClick:t=>{var n;return null===(n=e.onClick)||void 0===n?void 0:n.call(e,t)},onMouseOver:t=>{var n;return null===(n=e.onMouseOver)||void 0===n?void 0:n.call(e,t)},[f]:e.suggestion.query},b(e.suggestion)),"S",0,({textAreaRef:e,loading:t,bindings:n,onInput:s,onFocus:r,onBlur:o,onChange:a,onKeyDown:l,onKeyUp:u,value:h,ariaLabel:g,onClear:f,popup:p,...v})=>{return(0,i.h)("div",{class:"flex grow overflow-hidden"},(0,i.h)("div",{part:"textarea-expander",class:"grid grow overflow-hidden"},(0,i.h)("textarea",{part:"textarea","aria-label":g,placeholder:n.i18n.t("search"),class:"placeholder-neutral-dark",rows:1,onInput:t=>{null==s||s(t),d(e)},onKeyDown:t=>{if(d(e),"Enter"===t.key){if(t.shiftKey)return;t.preventDefault()}null==l||l(t)},onKeyUp:t=>{null==u||u(t),"Enter"!==t.key?d(e):t.preventDefault()},onBlur:t=>{null==o||o(t),function(e){const t=null==e?void 0:e.parentNode;t&&t.classList.remove("expanded")}(e),d(e)},onChange:t=>{null==a||a(t),d(e)},onFocus:t=>{null==r||r(t);const n=t.target;d(null!=e?e:n),function(e){const t=null==e?void 0:e.parentNode;t&&t.classList.add("expanded")}(null!=e?e:n)},autocomplete:"off",...p&&(m=p,{role:"combobox",autocomplete:"off",autocapitalize:"off",autocorrect:"off",...m.activeDescendant&&{"aria-activedescendant":m.activeDescendant},"aria-expanded":`${m.hasSuggestions&&m.expanded}`,"aria-autocomplete":"both","aria-haspopup":"true","aria-controls":m.id}),...v,value:h})),t&&(0,i.h)("div",{class:"searchbox-button-wrapper ml-2 flex items-center justify-center"},(0,i.h)("span",{part:"loading",class:"loading mr-2 grid h-5 w-5 animate-spin place-items-center rounded-full bg-gradient-to-r"})),!t&&h&&(0,i.h)(c,{inputRef:e,bindings:n,onClick:()=>{f(),function(e){const t=null==e?void 0:e.parentNode;t&&delete t.dataset.replicatedValue}(e)}}));var m},"b",0,e=>(0,i.h)("span",{...S(e,!1)},b(e.suggestion)),"c",0,(e,t)=>(0,i.h)("div",{part:"wrapper",class:["flex bg-background w-full border border-neutral rounded-md focus-within:ring",e.disabled?"focus-within:border-disabled focus-within:ring-neutral":"focus-within:border-primary focus-within:ring-ring-primary",e.textArea?"absolute top-0 left-0":"relative h-full"].join(" "),onFocusout:e.onFocusout},t),"d",0,'<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">\n<circle cx="7" cy="7" r="6.5" stroke="currentColor"/>\n<path d="M16 16L12 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'])},5430:function(e,t,n){n.d(t,{a:function(){return o},e:function(){return a}});var i=n(4844),s=n(9430);const r=["atomic-search-box","atomic-insight-search-box","atomic-commerce-search-box"];function o(e){return!e.query}function a(e){return!!e.query}n.d(t,["d",0,(e,t)=>{if(t.dispatchEvent((0,i.b)("atomic/searchBoxSuggestion/register",e)),!(0,s.c)(t,r.join(", ")))throw new Error(`The "${t.nodeName.toLowerCase()}" component was not handled, as it is not a child of the following elements: ${r.join(", ")}`)}])}}]);

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.