,null),e}catch(e){return!1}})),this.goToPersonalizeCallback=()=>{const{oneRiverInterestsPivotInfo:e}=this.config;(0,_.l)().switchPivot({pivotId:e.pivotId,configIndexHref:e.configIndexHref,configIndexRef:e.configIndexRef,context:{isRequestFromSdCardAddRemoveClick:!0},telemetryPageName:G.q.Interests,display:e.displayName})},this.iconHide=E.d`
        <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M0.408617 0.146409C0.231148 0.323878 0.215019 0.601582 0.360216 0.797273L0.408617 0.853339L3.09766 3.54238C1.81665 4.44181 0.859238 5.78516 0.461411 7.37443C0.394374 7.64223 0.557134 7.9137 0.82494 7.98075C1.09275 8.04773 1.3642 7.88504 1.43124 7.61717C1.78413 6.20745 2.65569 5.02506 3.81743 4.26195L5.02355 5.46817C4.55199 5.94905 4.26121 6.60789 4.26121 7.33457C4.26121 8.80701 5.45482 10.0006 6.92721 10.0006C7.65396 10.0006 8.31273 9.70978 8.79368 9.23823L12.7389 13.1836C12.9341 13.3788 13.2506 13.3788 13.4458 13.1836C13.6233 13.0062 13.6394 12.7284 13.4942 12.5327L13.4458 12.4767L9.37113 8.40158L9.37193 8.40057L8.57207 7.60217L6.65928 5.68978L6.66061 5.68925L4.74027 3.77094L4.74109 3.76973L3.98576 3.01624L1.11555 0.146409C0.920336 -0.0488029 0.603829 -0.0488029 0.408617 0.146409ZM5.73024 6.17546L8.08639 8.53161C7.78646 8.82207 7.3777 9.00083 6.92721 9.00083C6.00697 9.00083 5.26096 8.25481 5.26096 7.33457C5.26096 6.88409 5.43974 6.47532 5.73024 6.17546ZM6.92721 2.33275C6.26051 2.33275 5.61361 2.43144 5.00175 2.61601L5.82622 3.43994C6.18333 3.36937 6.55157 3.3325 6.92721 3.3325C9.54196 3.3325 11.7993 5.1189 12.4239 7.62024C12.4908 7.88804 12.7622 8.05093 13.03 7.98408C13.2979 7.91716 13.4608 7.64583 13.3939 7.37796C12.6587 4.43404 10.0034 2.33275 6.92721 2.33275ZM7.05698 4.67169L9.59055 7.20487C9.5227 5.83395 8.42497 4.73725 7.05698 4.67169Z" fill-opacity="0.83"/>
        </svg>
    `,this.iconSettings=E.d`
        <svg width="17" height="17" viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg">
            <path d="M0.0242728 5.88266C0.393563 4.74053 1.00191 3.69213 1.80461 2.80364C1.94035 2.65339 2.15331 2.59984 2.34397 2.66802L4.26225 3.35392C4.78233 3.53977 5.35459 3.26883 5.54045 2.74875C5.55872 2.69762 5.5728 2.64507 5.58253 2.59173L5.94799 0.585725C5.98432 0.386273 6.1375 0.228505 6.3358 0.186297C6.91599 0.0628015 7.51086 0 8.11354 0C8.71584 0 9.31037 0.0627251 9.89022 0.186072C10.0885 0.228241 10.2416 0.38591 10.2781 0.585286L10.6445 2.59165C10.7436 3.13497 11.2644 3.4951 11.8077 3.39601C11.8611 3.38627 11.9137 3.37219 11.9647 3.35395L13.8831 2.66802C14.0738 2.59984 14.2867 2.65339 14.4225 2.80364C15.2252 3.69213 15.8335 4.74053 16.2028 5.88266C16.2651 6.07534 16.205 6.28658 16.0507 6.41764L14.4958 7.73773C14.0748 8.0952 14.0233 8.72627 14.3808 9.14726C14.416 9.18865 14.4544 9.22712 14.4958 9.26225L16.0507 10.5824C16.205 10.7134 16.2651 10.9247 16.2028 11.1173C15.8335 12.2595 15.2252 13.3079 14.4225 14.1964C14.2867 14.3466 14.0738 14.4002 13.8831 14.332L11.9648 13.6461C11.4447 13.4602 10.8725 13.7312 10.6866 14.2512C10.6684 14.3024 10.6543 14.3549 10.6445 14.4085L10.2781 16.4147C10.2416 16.6141 10.0885 16.7718 9.89022 16.8139C9.31037 16.9373 8.71584 17 8.11354 17C7.51086 17 6.91599 16.9372 6.3358 16.8137C6.1375 16.7715 5.98432 16.6137 5.94799 16.4143L5.58254 14.4084C5.48346 13.865 4.96268 13.5049 4.41936 13.604C4.36593 13.6137 4.31339 13.6278 4.26234 13.6461L2.34397 14.332C2.15331 14.4002 1.94035 14.3466 1.80461 14.1964C1.00191 13.3079 0.393563 12.2595 0.0242728 11.1173C-0.038028 10.9247 0.0220447 10.7134 0.176415 10.5824L1.73126 9.26227C2.15225 8.9048 2.20374 8.27373 1.84627 7.85274C1.81112 7.81135 1.77265 7.77288 1.73128 7.73775L0.176415 6.41764C0.0220447 6.28658 -0.038028 6.07534 0.0242728 5.88266ZM1.08482 5.87709L2.37852 6.97546C2.46131 7.04576 2.53824 7.12269 2.60854 7.20548C3.32348 8.04746 3.2205 9.3096 2.37849 10.0246L1.08482 11.1229C1.37687 11.9051 1.79832 12.6322 2.32976 13.2751L3.92574 12.7044C4.02802 12.6679 4.1331 12.6397 4.23995 12.6202C5.3266 12.422 6.36815 13.1423 6.56633 14.229L6.8703 15.8975C7.27817 15.9655 7.69353 16 8.11354 16C8.53327 16 8.94834 15.9656 9.35595 15.8976L9.66076 14.2289C9.68025 14.1221 9.7084 14.017 9.74495 13.9147C10.1167 12.8746 11.2612 12.3327 12.3014 12.7044L13.8973 13.2751C14.4288 12.6322 14.8502 11.9051 15.1423 11.1229L13.8486 10.0245C13.7658 9.95424 13.6888 9.87731 13.6185 9.79452C12.9036 8.95254 13.0066 7.6904 13.8486 6.97544L15.1423 5.87709C14.8502 5.09486 14.4288 4.36783 13.8973 3.72494L12.3013 4.29559C12.1991 4.33214 12.094 4.3603 11.9871 4.37979C10.9005 4.57796 9.85893 3.8577 9.66078 2.77119L9.35595 1.10235C8.94834 1.03443 8.53327 1 8.11354 1C7.69353 1 7.27817 1.03448 6.8703 1.10249L6.56632 2.77105C6.54683 2.87791 6.51867 2.98299 6.48212 3.08527C6.11042 4.12542 4.96589 4.6673 3.92565 4.29556L2.32976 3.72494C1.79832 4.36783 1.37687 5.09486 1.08482 5.87709ZM5.61354 8.5C5.61354 7.11929 6.73283 6 8.11354 6C9.49425 6 10.6135 7.11929 10.6135 8.5C10.6135 9.88071 9.49425 11 8.11354 11C6.73283 11 5.61354 9.88071 5.61354 8.5ZM6.61354 8.5C6.61354 9.32843 7.28511 10 8.11354 10C8.94197 10 9.61354 9.32843 9.61354 8.5C9.61354 7.67157 8.94197 7 8.11354 7C7.28511 7 6.61354 7.67157 6.61354 8.5Z" fill-opacity="0.83"/>
        </svg>
    `}experienceConnected(){if(this.config.mockData)this.livestreamGlobal=(0,f.I$)(this.config.mockData),this.parentElement&&"1u"===this.parentElement.id?this.cardSize=U.Nv._1x_2y:this.parentElement&&"2u"===this.parentElement.id&&(this.cardSize=U.Nv._2x_2y),this.cardLayout=this.cardSize&&f.tY.has(this.cardSize)?f.tY.get(this.cardSize):this.EsportsCardLayout._1x_1y;else try{this.livestreamGlobal=(0,f.I$)(JSON.parse(this.esportsCardData)),this.parentElement&&"1u"===this.parentElement.id?this.cardSize=U.Nv._1x_2y:this.parentElement&&"2u"===this.parentElement.id&&(this.cardSize=U.Nv._2x_2y),this.cardLayout=this.cardSize&&f.tY.has(this.cardSize)?f.tY.get(this.cardSize):this.EsportsCardLayout._1x_1y}catch(e){k.M.sendAppErrorEvent(Object.assign(Object.assign({},v.ifI),{message:"Failed to parse Esports live stream data from backend",pb:Object.assign(Object.assign({},v.ifI.pb),{customMessage:"Failed to parse Espora),c,yt),rt&&n.setMRUGroupBackpropClicks(c,a,bt,rt),b=n.getTextForLexicalFeatures(a),b&&(a.handoffType==1&&(n.computeUrlFeatures(b,t.queryToFetch,c,e),pt=n.getDomain(b),n.computeDomainFeatures(a,t.queryToFetch,c,e,pt,f)),n.isFileOrFolder(a.type)&&(wt=e.cvid+e.privacyNumber+b,c[131]=n.stringHashCode(wt))),l&&(c[440]=l[440],c[441]=l[441],c[451]=l[451],c[450]=l[450],c[452]=l[452]),n.removeUndefinedAndZeroAndTrimValues(c),st.push(c);return st},r.prototype.setGroupSuppressionSignals=function(t,i){var f,e,u;if(t)for(t.maxGroupCCR={},t.maxGroupProbSugClickGivenPref={},t.mruGroupBackpropRatios={},t.mruGroupBackpropWeights={},f=0,e=i;f<e.length;f++)if(u=e[f],u.featureStore){var r=n.getGroupType(u),o=u.featureStore[94]||0,s=u.featureStore[0]||0;t.maxGroupCCR[r]=t.maxGroupCCR[r]?Math.max(t.maxGroupCCR[r],o):o;t.maxGroupProbSugClickGivenPref[r]=t.maxGroupProbSugClickGivenPref[r]?Math.max(t.maxGroupProbSugClickGivenPref[r],s):s;t.mruGroupBackpropRatios[r]=u.featureStore[266];t.mruGroupBackpropWeights[r]=u.featureStore[267];(t.mruGroupBackpropWeights[r]||t.mruGroupBackpropRatios[r])&&(t.backPropDataExists=!0)}},r.prototype.setMRUGroupLaunchRatios=function(t,i,r,u,f,e){var s,o;if(r){e&&(e.mruGroupRatios={});t[186]=f/r;for(s in u){o=u[s]/r;n.getGroupType(i)==Number(s)&&(t[271]=o);e&&(e.mruGroupRatios[s]=o);switch(Number(s)){case n.GroupType.Apps:t[169]=o;break;case n.GroupType.Settings:t[170]=o;break;case n.GroupType.Cortana:t[171]=o;break;case n.GroupType.Command:t[172]=o;break;case n.GroupType.Photos:t[173]=o;break;case n.GroupType.Videos:t[174]=o;break;case n.GroupType.Music:t[175]=o;break;case n.GroupType.Documents:t[176]=o;break;case n.GroupType.Folders:t[177]=o;break;case n.GroupType.Emails:t[178]=o;break;case n.GroupType.Store:t[179]=o;break;case n.GroupType.SearchSuggestions:t[262]=o;t[180]=u[n.GroupType.Websites]?(u[n.GroupType.Websites]+u[s])/r:o;break;case n.GroupType.Websites:t[263]=o;t[180]=u[n.GroupType.SearchSuggestions]?(u[n.GroupType.SearchSuggestions]+u[s])/r:o;break;case n.GroupType.PathCompletion:t[181]=o;break;case n.GroupType.People:t[184]=o;break;case n.GroupType.Bookmarks:t[260]=o;break;case n.GroupType.LocalPlaces:t[261]=o}}}},r.prototype.getRank=function(t){if(t.deviceItem&&typeof t.deviceItem.rankScore!="undefined")return t.deviceItem.rankScore;var i=n.isJumpListSuggestion(t)?t.jumpListItem.usagePoints:undefined;return typeof i!="undefined"?i:undefined},r.prototype.getSuggestionFeatureStore=function(t,i,r,u,f,e){var o={},c,b,l,a,v,y,h,s,k,nt,p,d,tt,w,g;if(this.setTypeSignal(i,o),c=n.getAppItem(i),c?(o[2]=c.totalLaunches,o[92]=c.launchArguments?1:0,f>0&&(o[103]=c.totalLaunches/f),this.addLastAccessDate(c.lastAccessed,o)):this.addLastAccessDate(n.isJumpListSuggestion(i)?i.jumpListItem.lastAccessed:null,o),o[99]=i.confidence,o[150]=i.source,o[283]=i.pinnedToTaskbar?1:undefined,i.hc&&(o[189]=1),o[17]=i.highConfidenceMetaSuggestionScore,b=this.getRank(i),typeof b!="undefined"?o[16]=b:o[4]=1,l=i,l.matchedOnlyOnContent&&(o[259]=1),l.matchedOnlyOnAuthor&&(o[273]=1),l.lastModifiedDate&&(o[268]=n.getTimeDiffInDays(l.lastModifiedDate)),l.extensionLC==".lnk"&&(o[272]=1),o[23]=i.prefetchConfidenceScore,o[264]=u&&u.ProbNextKS!==undefined?u.ProbNextKS:1,o[296]=u&&u.ProbNextKSV2!==undefined?u.ProbNextKSV2:1,this.setThresholdRatios(o,u),this.setRatios(o,u),a=n.getGroupType(i),v=i.query,i.type=="SW"&&(v="SearchTheWeb"),y=n.getAthenaGroupKey(String(a),String(i.handoffType),i.type),n.setEngagementSignals(o,r,y,v,!1,!1),n.setEngagementSignals(o,e,y,v,!1,!0),e&&!r&&n.setEngagementSignals(o,e,y,v,!1,!1),o[10]=t.length,(i.isAnswer||a==n.GroupType.Cortana)&&(o[11]=1),h=n.getTextForLexicalFeatures(i),s=h?h.toLocaleLowerCase():null,h||(o[132]=1),s==t&&(o[133]=1),i.handoffType==2&&(o[8]=1,n.isSetting(i.type)&&(o[64]=1),n.isApp(i.type)&&(o[83]=1)),a==n.GroupType.SearchSuggestions&&(i.type!="SW"&&(o[82]=1),o[25]=1),k=o[132]==1,k?o[137]=t.length:(o[137]=h.length,o[134]=n.getEditDistance(t,s),o[135]=Math.min(100,n.computeEditDistanceRatio(o[134],t.length,h.length)),o[136]=n.isWordBoundary(t,h),o[284]=Math.abs(h.length-t.length)),!k&&s){for(s.indexOf(t)>-1&&(o[143]=1),s.substring(0,t.length)===t&&(o[188]=1),nt=s.split(" "),p=0,d=nt;p<d.length;p++)if(tt=d[p],tt==t){o[145]=1;break}o[420]=n.computeJaroSimilarity(t,s);o[421]=n.computeJaroWinklerSimilarity(t,s)}return o[1]==1&&i.deviceItem&&(w=n.getAppItem(i),w.extension&&(o[400]=w.extension===".exe"?1:0,o[401]=w.extension===".appref-ms"?1:0),s&&(o[402]=s.indexOf("install")>-1?1:0)),o[1]||i.type!="FL"&&i.type!="FD"&&i.type!="ST"||(o[403]=1),(i.type=="QP"||i.type=="QS"||i.type=="SC"||i.type=="OS")&&(o[404]=1),o[8]==1&&(o[27]=o[133]),(i.isAnswer||a==n.GroupType.Cortana)&&(o[55]=o[133]),(i.type=="HS"||i.fromHistory)&&(o[121]=1),o[41]=o[83]==1?o[40]:o[64]==1?o[39]:o[11]==1?o[32]:o[89]==1?o[54]:o[85]==1?o[30]:o[86]==1?o[53]:o[87]==1?o[52]:o[61]==1?o[31]:o[88]==1?o[51]:o[63]==1?o[35]:o[82]==1?o[29]:o[90]==1?o[50]:o[59]==1?o[34]:o[37],(n.isSetting(i.type)||n.isApp(i.type))&&(g=i.ciMetaData,this.computeConstraintIndexFeatures(i.deviceItem,o,g),i.ciMatchedQuery=this.getConstraintIndexMatchedQuery(g),o[269]&&o[270]&&(o[405]=Math.sqrt(o[269]*o[270]))),i.signals&&(o[230]=i.signals.DistanceToEntity,o[231]=i.signals.DistanceToEntityPrecision,o[232]=i.signals.RankingScore),o},r.prototype.addLastAccessDate=function(t,i){var r=n.getTimeDiffInDays(t);r!=null?i[9]=r:i[19]=1},r.prototype.setTypeSignal=function(n,t){switch(n.type){case"LDOC":case"FL":t[61]=1;break;case"LI":t[85]=1;break;case"LV":t[86]=1;break;case"MU":t[87]=1;break;case"FD":t[88]=1;break;case"CG":t[89]=1;break;case"PT":t[90]=1;break;case"PP":case"IBA":t[1]=1;break;case"ML":case"MD":t[21]=1;break;case"SW":t[59]=1}},r.prototype.setRatios=function(n,t){t&&t.AppsRatio!==undefined&&(n[26]=t.AppsRatio,t.SettingsRatio&&(n[5]=t.SettingsRatio),t.StoreRatio&&(n[57]=t.StoreRatio),t.PrefixProbability&&(n[12]=t.PrefixProbability),t.FilesRatio&&(n[24]=t.FilesRatio),t.WebRatio&&(n[18]=t.WebRatio),t.PhotosVideosMusicRatio&&(n[28]=t.PhotosVideosMusicRatio),t.ContactsRatio&&(n[56]=t.ContactsRatio),t.LocalProtocolRatio&&(n[91]=t.LocalProtocolRatio))},r.prototype.setThresholdRatios=function(n,t){t&&t.ThApps!==undefined?(n[40]=t.ThApps,t.ThStore&&(n[35]=t.ThStore),t.ThSetting&&(n[39]=t.ThSetting),t.ThCortAns&&(n[32]=t.ThCortAns),t.ThPrefixCount&&(n[38]=t.ThPrefixCount),t.ThWeb&&(n[29]=t.ThWeb),t.ThSearchTheWeb&&(n[34]=t.ThSearchTheWeb),t.ThOther&&(n[37]=t.ThOther),t.ThFile&&(n[31]=t.ThFile),t.ThFolder&&(n[51]=t.ThFolder),t.ThPath&&(n[50]=t.ThPath),t.ThEmail&&(n[33]=t.ThEmail),t.ThCommAns&&(n[54]=t.ThCommAns),t.ThPhotoAns&&(n[30]=t.ThPhotoAns),t.ThVideoAns&&(n[53]=t.ThVideoAns),t.ThMusicAns&&(n[52]=t.ThMusicAns),t.ThDNav&&(n[147]=t.ThDNav)):n[42]=1},r.prototype.computeConstraintIndexFeatures=function(n,t,i){var u,o,f,e,s,r;if(n&&n.rawIndexResponse){if(!i)return;if(t[157]=i.GrammarScore,t[158]=i.MatchScore,i.Parses&&i.Parses.length>0&&i.Parses[0].Entities&&i.Parses[0].Entities.length>0)for(u=0,o=i.Parses[0].Entities;u<o.length;u++)if(f=o[u],t[159]=f.EntityScore,f.Attributes)for(e=0,s=f.Attributes;e<s.length;e++)r=s[e],r.Name=="gscore"?t[269]=Number(r.Value):r.Name=="lscore"&&(t[270]=Number(r.Value))}},r.prototype.getConstraintIndexMatchedQuery=function(n){return!n||n.MatchScore==0?null:n.Query},r.prototype.getLocalHourBucket=function(n){var t=n.getHours(),i=1;return t>=0&&t<6?i=1:t>=6&&t<12?i=2:t>=12&&t<18?i=3:t>=18&&t<=23&&(i=4),i},r}();t.FastRankRanker=r})(t=n.Ranking||(n.Ranking={}))}(WSB||(WSB={})),function(n){var t=function(){function t(t){var i=this;this._instrumentationProvider=t;n.Host.bindDismissed(function(){return i.flushAggregatedMeasure(!0)});this._keystrokeAggregatedFunctionPerf={}}return t.prototype.onNewKeystroke=function(n,t,i){this.flushAggregatedMeasure();this._aggregatedMeasureFlushed=!1;this._currentLeftPaneSuggestions=null;this._currentRawImpressionGuid=t;this._currentRawClientImpressionGuid=SearchAppWrapper.CortanaApp.impressionId;this._keystrokeAggregatedMeasure={CVID:n};this._keystrokeAggregatedFunctionPerf={};this._currentKeystrokeAggregatedMeasureIsForSearchHome=i},t.prototype.flushAggregatedMeasure=function(t){var f,i,r,e,o,u;if((t||this._currentKeystrokeAggrega