var AutoSuggest;(function(n){var t;(function(t){function c(n){return n.toLocaleLowerCase().replace(l,"").trim()}function o(n,t,i,r,u){if(!n)return i;if(typeof n!="string")try{return{content:URL.createObjectURL(n),type:0,bgColor:r}}catch(f){return SharedLogHelper.LogError("convertToHtmlImage "+t,u,f),i}else return{content:n,type:0,bgColor:r}}var s=!!_ge("wsb_form_q"),i,e,u,r,f,l=/[\.,:;?!¿¡]/g,h=-933981677285477,a=400;t.toIcon=o;var v={"action://Help/Launch":"Help","ms-cortana://navigate/Notebook":"Notebook"},y={"ms-cortana://navigate/Settings":t.config.settingsUri},p=function(){function l(s){var c=this,a,l,v,y,p;this._accessTokenManager=s;this._queryParamsCache={};this._locStrings=[];this._enUsLocStrings=[];this._modifierKeyState={altKey:!1,ctrlKey:!1,shiftKey:!1};this._bootstrapDoneEventHandlers=[];this._appVisibleEventHandlers=[];this._shownEventHandlers=[];this._conversationStartEventHandlers=[];this._dismissedEventHandlers=[];this._appHiddenEventHandlers=[];this._searchBoxGotFocusEventHandlers=[];this._searchBoxLostFocusEventHandlers=[];this._onSubmitHandlers=[];this._onFeedbackClosingHandlers=[];this._onSearchBoxGlyphIconClick=[];this._onSearchBoxClick=[];this._onButtonRightOfSearchBoxClick=[];this._queryChangedHandlers=[];this._rawQueryChangedHandlers=[];this._keyDownHandlers=[];this._keyUpHandlers=[];this._keyEscapeHandlers=[];this._onAccentColorAndThemeRefreshed=[];this._accessTokenAvailableHandlers=[];this._fileDropHandlers=[];this._scopeListRequiresUpdate=[];this._accountChangedHandlers=[];this._pinnedApps={};this._state=0;this._paneCloseCount=0;this._qfDismissCount=0;this._currentPaneHeight=0;this._root=_ge("root");this._rootContainer=_ge("rootContainer");this._defaultBrowser=0;this.usedImpressionIds={};this.getEdgeIcon=function(n,t){var i=c._defaultBrowserIconCache&&c.getUriLaunchPolicy()==0?c._defaultBrowserIconCache:c._edgeIconCache;return i(n,t)};this._suggestionsContainer=_ge("suggestionsList");i=SearchAppWrapper.CortanaApp;e=i.queryFormulationView;u=i.launcher;r=typeof SearchBoxController=="object"?SearchBoxController:i.searchBox;f=n.Service.QueryParams;n.refreshBingEnabledCache(i.isBingEnabled,t.getMarketForBingAvailability());this._currentCVID=n.cleanGuid(this.createGuid());this._randomPrivacyNumber=this.getNewPrivacyNumber();this.initLanguage();a=n.safeExecute(function(){return+e.perfMetrics.lookup(32)},"perfMetricsFallbackLookup",h);this._hasFallbackHappened=a!=h;l=e.searchHistory;l&&l.addEventListener("cleardevicehistoryrequested",function(){var t=function(t){return n.safeExecute(function(){return l.signalClearDeviceHistoryCompleted(t)},"signalClearDeviceHistoryCompleted")};c._clearStorageRequestedHandlers?n.safeExecute(function(){return c._clearStorageRequestedHandlers(t),!0},"clearDeviceHistoryRequested")||t(!1):t(!1)});i.addEventListener("statechanged",function(n){c.updateState(c._state,n.newState,!1)});r.addEventListener("querytextchanged",function(n){if(!c._qfDisabled){c._feedbackFormIsVisible&&c.closeFeedbackForm();var t=n.queryText;c._queryPropertiesOverrides&&c._queryPropertiesOverrides.query!=t&&(c._queryPropertiesOverrides=null);c.updateState(c._state,2,!0);c._queryToIgnoreOnQueryTextChangedEvent!=n.queryText&&(c._queryToIgnoreOnQueryTextChangedEvent=null);c.callQueryChangedHandlers(n,!1,c._queryToIgnoreOnQueryTextChangedEvent!=null,n.impressionId)}});r.addEventListener("keydown",function(u){var f,e,o,s,h;if(f=u.keyCode,t.config.debugDismissEvents){if(f==121){c.updateState(c._state,1,!1);return}if(f==122){e=c._state==0?2:0;c.updateState(c._state,e,!1);return}}if(c._qfDisabled){if(i.hostingEnvironment==3&&f==13){o=r.getQueryText().queryText;i.fileExplorerSuggestionPage.onSuggestionSelection(o)}return}if(f!=9&&!n.isFunctionalKey(f)){if(f==27){c.keyDownEscapeHandler();return}s={shiftKey:u.isShiftKeyPressed,ctrlKey:u.isControlKeyPressed,altKey:!1};h=u.isHandled;c._keyDownHandlers.forEach(function(t){return n.safeExecute(function(){return t(f,s,h)},"keyDown")})}});sj_b.addEventListener("keydown",function(i){var r,o,s,u,f,e;if(!c._qfDisabled){if(r=i.keyCode,t.config.debugDismissEvents){if(r==121){c.updateState(c._state,1,!1);return}if(r==122){o=c._state==0?2:0;c.updateState(c._state,o,!1);return}}if(!n.isFunctionalKey(r)){if(r!=9||c._feedbackFormIsVisible||i.preventDefault(),s=t.RuntimeConfig.AlwaysWide||t.config.enableLocalPreviewPaneInSingleColumn,u=i.target,u){if(f=_ge("fbpgdg"),f&&f.contains(u))return;if(r==27){c.keyDownEscapeHandler();return}if(!s&&t.RuntimeConfig.PreviewPaneAvailable&&(e=_ge("qfPreviewPane"),e&&e.contains(u)&&(!t.DialogBox||t.DialogBox.isVisible())))if(r==37)sj_pd(i);else return}n.contains([38,40],r)&&sj_pd(i);c._keyDownHandlers.forEach(function(t){return n.safeExecute(function(){return t(i.keyCode,i,!1)},"body.keyDown")})}}});r.addEventListener("keyup",function(t){var i,r,u;c._qfDisabled||(i=t.keyCode,i==9||n.isFunctionalKey(i))||(r={shiftKey:t.isShiftKeyPressed,ctrlKey:t.isControlKeyPressed,altKey:!1},u=t.isHandled,c._keyUpHandlers.forEach(function(t){return n.safeExecute(function(){return t(i,r,u)},"keyUp")}))});sj_b.addEventListener("keyup",function(t){if(!c._qfDisabled){var i=t.keyCode;n.isFunctionalKey(i)||c._keyUpHandlers.forEach(function(r){return n.safeExecute(function(){return r(i,t,!1)},"keyUp")})}});r.addEventListener("gotfocus",function(){c._qfDisabled||c._searchBoxGotFocusEventHandlers.forEach(function(t){return n.safeExecute(function(){return t()},"gotfocus")})});r.addEventListener("lostfocus",function(){c._qfDisabled||c._searchBoxLostFocusEventHandlers.forEach(function(t){return n.safeExecute(function(){return t()},"lostfocus")})});r.addEventListener("submitbuttonclick",function(){if(!c._qfDisabled){var r=n.getCurrentTime(),i=c.getFeatureString("SubmitButtonGlyph").featureValue;i&&i!=""||t.RuntimeConfig.QfMode==2?c._onButtonRightOfSearchBoxClick.forEach(function(t){return n.safeExecute(function(){return t(i)},"submitbuttonclick.custom")}):c._onSubmitHandlers.forEach(function(t){return n.safeExecute(function(){return t(r,!0,null)},"submitbuttonclick")})}});r.addEventListener("searchboxglyphclick",function(){c._qfDisabled||c._onSearchBoxGlyphIconClick.forEach(function(t){return n.safeExecute(function(){return t()},"searchboxglyphclick")})});r.addEventListener("searchboxtapped",function(){c._qfDisabled||c._onSearchBoxClick.forEach(function(t){return n.safeExecute(function(){return t()},"searchboxtapped")})});r.addEventListener("searchboxclick",function(){c._qfDisabled||c._onSearchBoxClick.forEach(function(t){return n.safeExecute(function(){return t()},"searchboxclick")})});t.config.enableDragDropSearch&&(v=function(n){var i=[],r,u,t;if(n.dataTransfer.items)for(t=0;t0&&c._fileDropHandlers.forEach(function(n){return n(t)})}}));sj_evt.bind("ajax.feedback.initialized",sj_dm(this,this.registerFeedbackDebugCallback),!0);this.bindAppVisible(function(){c.appVisibleInit()});this.bindShown(function(){if(n.safeFireEvent("ajax.threshold.pageStart",n.getCurrentTime()),c.shownInit(),!c._qfDisabled){var i=c.getNewConversationId();t.updateErrorHandlingCVID(i);c._currentCVID!=i&&(c._currentCVID=i,c._randomPrivacyNumber=c.getNewPrivacyNumber(),c._conversationStartEventHandlers.forEach(function(t){return n.safeExecute(function(){return t()},"conversationStart")}));c._lastKeyWasEnter=!1}});this.bindDismissed(function(){c._qfDismissCount+=1;n.safeFireEvent("threshold.pageUnload");c.dismissCleanup()});this.bindAppHidden(function(){c._paneCloseCount+=1;c.appHiddenCleanup();c.uploadClientErrorLog()});this.bindKeyDown(function(t,i){var r,u;c._modifierKeyState=i;r=t==13;r&&!c._lastKeyWasEnter&&(u=n.getCurrentTime(),c._onSubmitHandlers.forEach(function(t){return n.safeExecute(function(){return t(u,!1,i)},"onSubmit handlers")}));c._lastKeyWasEnter=r});this.bindKeyUp(function(n){c._lastKeyWasEnter=!1;switch(n){case 16:c._modifierKeyState.shiftKey=!1;break;case 17:c._modifierKeyState.ctrlKey=!1}});this.bindOnFeedbackClosing(function(n){n&&c.setFocusInSearchBox(null,"onFeedbackClosing")});t.config.refreshWhenTokenArrives&&this.bindAccessTokenAvailable(function(n){var i=n==1?function(n){return n.dataSource=="SSEE"||n.dataSource=="SSUE"}:function(n){return n.dataSource=="SSEC"||n.dataSource=="SSUC"};c._currentQuery&&(c._currentQuery.queryToFetch.length>=t.config.minLengthFor3SonL1||t.isL2(c._currentQuery))&&c._currentQuery.originalQuery==r.getQueryText().queryText&&t.ScopeConfig[c._currentQuery.scope].enabledDataSources.some(i)&&c.refreshCurrentPane()});_G.PN="QF";this._edgeIconCache=t.Promise.safeChainWithGlobalCaching("edgeIcon",function(n){return e.deviceSearch.findAppsAsync(t.EdgeAppIds).then(function(i){var r=t.EdgeAppIds.map(function(n){return i[n]}).filter(function(n){return!!n})[0];return r.getImageAsync(t.getImageSizeValue(n)).then(function(n){return o(n,"edgeIcon",null,r.isImmersive?r.logoBackgroundColor:null)})})},function(n){return n+"_edgeIcon"});sj_evt.bind("onFeedbackStarting",function(n){var t=n===void 0?[undefined,undefined]:n,i=t[1];c._feedbackFormIsVisible=!0;c._feedbackFormIsOpenedByClient=i;c.adjustHeight()});sj_evt.bind("onFeedbackClosing",function(){c._feedbackFormIsVisible=!1;c.adjustHeight();c._onFeedbackClosingHandlers.forEach(function(t){return n.safeExecute(function(){return t(c._feedbackFormIsOpenedByClient)},"onFeedbackClosing handlers")})});this._accessTokenManager&&(this._accessTokenManager.bindAccessTokenAvailable(function(n){c._accessTokenAvailableHandlers.forEach(function(t){return t(n)})}),this._accessTokenManager.bindAccountTypesChanged(function(){return c.updateScopeList()}),y=function(){return!0},p=this._qfDismissCount,this._accessTokenManager.enumerateMultiAccountAuthority(y,function(){return c.initHeadersOverrides(p)}))}return l.prototype.refreshDefaultBrowserInfo=function(){if(this._defaultBrowser=0,i.getDefaultBrowserInfo){var r=n.safeExecute(function(){return i.getDefaultBrowserInfo()},"getDefaultBrowserInfo");r&&(this._defaultBrowser=this.calculateBrowserType(r.path),this._defaultBrowserIconCache=e.deviceSearch.getIconForDefaultBrowserAsync&&this.getUriLaunchPolicy()==0&&this._defaultBrowser!=3?t.Promise.safeChainWithGlobalCaching("defaultBrowserIcon",function(n){return e.deviceSearch.getIconForDefaultBrowserAsync(t.getImageSizeValue(n),0).then(function(n){return o(n,"defaultBrowserIcon")})},function(n){return n+"_"+r.progId}):null)}!t.isMobileCache&&i.setDefaultUriLaunchPolicy&&i.setDefaultUriLaunchPolicy(this.getUriLaunchPolicy())},l.prototype.getDefaultBrowser=function(){return this._defaultBrowser},l.prototype.calculateBrowserType=function(n){return n?n.endsWith("\\chrome.exe")?6:n.endsWith("LaunchWinApp.exe")?3:n.endsWith("firefox.exe")?5:n.endsWith("\\msedge.exe")?4:n.endsWith("Opera\\Launcher.exe")?7:n.endsWith("\\iexplore.exe")?2:0:0},l.prototype.getUriLaunchPolicy=function(){return this._defaultBrowser==4||this._defaultBrowser==3?0:2},l.prototype.getConnectedAccountInfo=function(n){return this._accessTokenManager?this._accessTokenManager.getCachedAccountInfo(n):null},l.prototype.isInternetConnectionMetered=function(){return n.safeExecute(function(){return i.networkEnvironment&&i.networkEnvironment.isMeteredConnection},"isInternetConnectionMetered",!1)},l.prototype.isInputPanelVisible=function(){return n.safeExecute(function(){return r.isInputPaneVisible},"isInputPanelVisible")},l.prototype.uploadClientErrorLog=function(){var o,u,e,t,f,r;if(i.getFlightingLogsAndDelete)for(o=n.safeExecute(function(){return i.getFlightingLogsAndDelete()},"getFlightingLogsAndDelete",""),u=0,e=o.split("\r\n");u0&&(this._headersCache["X-BM-ClientFeatures"]=r.join());this.setAuthHeadersFromWindowsTokens();ThresholdUtilities.getCortanaHeaders(function(i){if(i&&n==u._qfDismissCount){u._shouldRequestEltoken=!!i["X-Search-Location"];var f=i["X-BM-ClientFeatures"];f&&(Array.prototype.push.apply(r,f.split(",")),u._headersCache["X-BM-ClientFeatures"]=r.join());u._safeSearchSetting=i["X-Search-SafeSearch"];u._isEducationEnvironment=i["X-Device-EnableRegulatoryPsm"]=="1";u._isWindowsS=i["X-Device-EnableCPsm"]=="1";u._partnerSearchCode=i["X-Device-PSC"];t.substrateProvidersEnabled()||u.updateScopeList();typeof BingAtWork!="undefined"&&BingAtWork&&BingAtWork.wsb&&BingAtWork.wsb.cortanaToken&&(delete i["X-Search-RPSToken"],i.Authorization="Bearer "+BingAtWork.wsb.cortanaToken)}})},l.prototype.createGuid=function(){return n.safeExecute(function(){return i.createGuid()},"createGuid","")},l.prototype.getLocString=function(t){for(var i,u,e,o,f=[],r=1;r0&&(i=n.formatString(i,f)),i},l.prototype.getEnUsLocString=function(n){for(var u,r,t=0,i=this._enUsLocStrings;t=0&&((f=this._vcdKeywords[r],f&1)||f&2&&u==0||f&4&&(u==t.length-i.length||(e=t.lastIndexOf(i),e==t.length-i.length))))))return!0;return!1},l.prototype.isRequestFocusAvailable=function(){return!!r.requestFocus},l.prototype.setFocusInSearchBox=function(t,i){var u,f,e;this.isRequestFocusAvailable()&&(u=function(){return r.requestFocus()},f="requestFocus",t==9?n.safeSetTimeout(u,0,f,i):n.safeExecute(u,f,null,i),e=n.getCurrentActiveElement(),e&&e.blur())},l.prototype.setFocusInWebView=function(t){i.focusWebView&&n.safeExecute(function(){return i.focusWebView()},"focusWebView",null,t)},l.prototype.getFeatureEnabled=function(t){var r={validFeature:!1,featureEnabled:!1};return i.getFeatureEnabled?n.safeExecute(function(){return i.getFeatureEnabled(t)},"getFeatureEnabled",r,t):r},l.prototype.getFeatureDWORD=function(t){var r={validFeature:!1,featureValue:0};return i.getFeatureDWORD?n.safeExecute(function(){return i.getFeatureDWORD(t)},"getFeatureDWORD",r,t):r},l.prototype.getFeatureString=function(t){var r={validFeature:!1,featureValue:""};return i.getFeatureString?n.safeExecute(function(){return i.getFeatureString(t)},"getFeatureString",r,t):r},l.prototype.launchInApp=function(i,u,f){this.updateQueryWithoutRefetching(u);n.safeExecute(f,i);t.isMobileCache&&r.requestUnfocus&&n.safeExecute(function(){return r.requestUnfocus()},"requestUnfocus",null,i)},l.prototype.launchVoiceFlow=function(n){var t=this;this.launchInApp("launchVoiceFlow",n,function(){return u.launchRAFAsync(n,t.getFormCode(),t.getInstrumentationParameters())})},l.prototype.launchSearch=function(n,i,r){r&&!t.config.disableRAF?this.launchVoiceFlow(n):t.isMobileCache?this.launchInApp("launchSearch",n,function(){var t=u.createSearchLaunchOptions();t.searchQuery=n;var r=i.indexOf("/search"),f=i.indexOf("/",i.indexOf("//")+2),e=f==r?"":i.substring(f+1,r);e&&(t.pivot=e);t.mode=1;t.uriContext=i.substr(i.indexOf("&")+1);u.launchSearchAsync(t)}):this.launchUri(i)},l.prototype.launchCat1=function(n,t,r){var o=this,f=v[t],e;f?this.launchInApp("launch"+f,n,function(){return i.launchExperienceByName(f,null)}):(e=y[t],e?this.launchUri(e):this.launchInApp("launchCat1",n,function(){return u.launchCat1Async(n,r,o.getInstrumentationParameters())}))},l.prototype.launchCat2or3a=function(n,t){var i=this;this.launchInApp("launchCat2",n,function(){return u.launchCat2Async(n,i.getFormCode(),t,i.getInstrumentationParameters())})},l.prototype.launchStoreSearch=function(i){var r="ms-windows-store:search?query="+n.encodeQueryParameter(i)+"&ocid="+n.encodeQueryParameter(t.config.storeHandoffTag)+"&type=apps";this.launchUri(r)},l.prototype.launchFolder=function(t){n.safeExecute(function(){return u.startLaunchFolder(t)},"launchFolder")},l.prototype.launchWindowsCortanaSettings=function(){this.launchUri("ms-settings:cortana")},l.prototype.launchWindowsIndexingOptions=function(){t.LocalDataProvider.launchIndexingOptions(this,!1)},l.prototype.launchCortanaSignIn=function(){this.launchUri("ms-cortana://CapabilitiesPrompt/?RequestedCapabilities=Personalization")},l.prototype.launchCortanaNotebook=function(){this.launchUri("ms-cortana://StartMode=Notebook")},l.prototype.launchCortanaDevices=function(){this.launchUri("ms-cortana://StartMode=Devices")},l.prototype.launchWindowsAccountSettings=function(){this.launchUri("ms-settings:emailandaccounts")},l.prototype.launchSearchSettings=function(){this.launchUri("ms-settings:cortana-windowssearch")},l.prototype.launchSearchDetails=function(){this.launchUri("ms-settings:search-moredetails")},l.prototype.launchSearchPermissions=function(){this.launchUri("ms-settings:search-permissions")},l.prototype.launchLockscreenSettings=function(){this.launchUri("ms-settings:personalization-lockscreen")},l.prototype.getErrorCodeToIgnoreOnLaunch=function(n){return t.isIndexerBasedDataSource(n)||n=="PT"?-2147467263:undefined},l.prototype.launchDeviceItem=function(r,f){var s=this,e=r.id,o=f,h,c;t.localDataSourceMayContainPII(f)||(o+="\n"+e);e.startsWith("shell:")?n.safeExecute(function(){return u.startLaunchFolder(e)},"launchDeviceItem",null,o):(h=function(){if(s._isFileExplorerOrControlPanel)i.fileExplorerSuggestionPage.onFileSelection(r);else s.manuallyDismissApp()},c=r.originalDeviceItem||r,t.Promise.safeChain("launchDeviceItem",function(){return u.launchSearchItemAsync(c)},h,null,null,o,this.getErrorCodeToIgnoreOnLaunch(f)))},l.prototype.launchAppItem=function(i,r,f){var h=this,e=i.id,o=r+"\n"+e,s;f&&o+"\n"+f;e.startsWith("shell:")?n.safeExecute(function(){return u.startLaunchFolder(e)},"launchAppItem",null,o):(s=i.originalDeviceItem||i,t.Promise.safeChain("launchAppItem",function(){var n;return f&&(n=u.createAppLaunchOptions(),n.appContext=f),u.launchSearchItemAsync(s,n)},function(){return h.manuallyDismissApp()},null,null,o,this.getErrorCodeToIgnoreOnLaunch(r)))},l.prototype.launchWebContent=function(n,t,i){this.launchInApp("launchWebContent",t,function(){var t=u.createWebContentLaunchOptions();t.uri=n;i&&t.setAuthorization("Bearer",i);u.launchWebContent(t)})},l.prototype.launchPrivacyPortal=function(){this.launchUri("https://go.microsoft.com/fwlink/?LinkId=780764")},l.prototype.getCustomUrlParameters=function(i){var r=Object.assign({},this._queryParamsCache),u=i.scope;return u==t.Scope.All?delete r[f.Scope]:r[f.Scope]=t.Scope[u].toLowerCase(),t.searchHistoryAllowed()||(r[n.Service.QueryParams.NoHistory]="1"),this._sendElTokenInSuggstionRequest&&(r[n.Service.QueryParams.ElTokenValue]=this._elToken),r},l.prototype.getCustomHeaders=function(n){var i=Object.assign({},this._headersCache),r;return n&&n.scope==t.Scope.Apps||(r=(i["X-BM-ClientFeatures"]||"").split(","),r.push("RevStore"),i["X-BM-ClientFeatures"]=r.join()),i},l.prototype.reloadWebView=function(){t.Promise.safeChain("reloadWebViewAsync",function(){return i.reloadWebViewAsync()})},l.prototype.throwIfResourcesMissing=function(){var t=_ge("cssCanary"),n=_w.getComputedStyle(t).fontFamily;if(n!="CANARY"&&n!='"CANARY"')throw new Error("Missing CSS Bundle");},l.prototype.getFormCode=function(){switch(t.RuntimeConfig.QfMode){case 6:return"WNSALK";case 8:return"W10XLS";default:return"WNSGPH"}},l.prototype.getRegion=function(){return t.regionCache},l.prototype.getLanguage=function(){return t.uiLanguageCache},l.prototype.dataSourceDependencies=function(t){return t==n.WebDataSource?["OSTMA","QS"]:[]},l.prototype.getPaneCloseCount=function(){return this._paneCloseCount},l.prototype.hasFallbackHappened=function(){return this._hasFallbackHappened},l.prototype.getSafeSearchSetting=function(){return this._safeSearchSetting},l.prototype.isEducationEnvironment=function(){return this._isEducationEnvironment},l.prototype.isWindowsS=function(){return this._isWindowsS},l.prototype.getPartnerSearchCode=function(){return this._partnerSearchCode},l.prototype.getMSNRefIg=function(){return null},l.prototype.setSearchBoxGlyphIcon=function(t){var i,u,f;r.setSearchBoxGlyphIcon&&(t?(i=t.content||"",i.startsWith("&#x")&&(u=parseInt(i.substr(3),16),i=u?String.fromCharCode(u):""),f=t.type==2?"/Assets/Fonts/CortMDL2.ttf#Cortana MDL2 Assets":"",n.safeExecute(function(){return r.setSearchBoxGlyphIcon(i,f)},"setSearchBoxGlyphIcon custom")):n.safeExecute(function(){return r.setSearchBoxGlyphIcon("","")},"setSearchBoxGlyphIcon default"))},l.prototype.adjustHeightWithoffset=function(){},l.prototype.adjustHeight=function(){var f=this,r,u;t.RuntimeConfig.PanelCanResize&&i.setWebViewHeight&&(this._pendingAdjustHeightTimer&&(sb_ct(this._pendingAdjustHeightTimer),this._pendingAdjustHeightTimer=null),t.config.th&&ClientTestHooks.getUrlValueNumber("clientversion")&&(s?this._rootContainer.style.height="auto":this._root.style.height="auto"),r=this._feedbackFormIsVisible?a:this._root.offsetHeight,s&&(r+=36),u=function(){r*=i.textScaleFactor||1;i.isCenterScreen&&i.setCenterScreenAcrylicBackgroundHeight(r+2);i.setWebViewHeight(r);f._currentPaneHeight=r;f._pendingAdjustHeightTimer=null},!t.config.paneResizeDelay||r>=this._currentPaneHeight?u():this._pendingAdjustHeightTimer=n.safeSetTimeout(u,t.config.paneResizeDelay,"adjustHeight"))},l.prototype.isClientLocationAvailable=function(){return this._shouldRequestEltoken||!!this._elToken},l.prototype.getFileExplorerCurrentPath=function(){if(t.RuntimeConfig.QfMode!=5)throw"Not supported";return this._fileExplorerCurrentPath},l}();t.Host=p})(t=n.WSB||(n.WSB={}))})(AutoSuggest||(AutoSuggest={}))