(function(){var n={displayName:"AutoSuggest:WindowsIndexingMessage",getInitialState:function(){var n=this.props||{},i=n.viewData||{},t=n.properties||{},r=LocStringManager.getLocString({uiCulture:n.uiCulture,name:"CortanaQF",namespace:"AutoSuggest"}),u=i.TestHooksEnabled,f=t.Icon,e=t.Disabled,o=t.ClickHandler;return{}},render:function(){var bt=this,t=this.props||{},kt=t.viewData||{},s=t.properties||{},k=[],n=t.encoder||Sparkle.defaultEncoder,i=LocStringManager.getLocString({uiCulture:t.uiCulture,name:"CortanaQF",namespace:"AutoSuggest"}),d=kt.TestHooksEnabled,g=s.Icon,dt=s.Disabled,nt=s.ClickHandler,h=[],tt=Sparkle.copyContext(t,{}),r,f,c,ft,e,l,a,et,ot,u,o,v,y,st,ht,p,w,b,vt,yt,pt,wt;if(dt){r={};f=[];r.className=n.writeAttribute("indexingMessage");r.title=n.writeAttribute(i.WindowsIndexingDisabledToolTip);d&&(r["data-partnertag"]=n.writeAttribute("IndexingDisabledMessage"));var it=Sparkle.copyContext(t,r),rt={},ut=[];rt.className=n.writeAttribute("primaryText");c=Sparkle.copyContext(t,rt);n.writeContent(i.WindowsIndexingDisabledMessage,ut);c.defaultSegment=ut;ft=Sparkle.resolveView("div").renderView(c);f.push(ft);nt!=null&&(e={},l=[],e.className=n.writeAttribute("primaryText accentColor"),e.onClick=function(n){var t=new Sparkle.RenderedView(bt),i=n;nt()},a=Sparkle.copyContext(t,e),n.writeContent(i.WindowsIndexingDisabledAction,l),a.defaultSegment=l,et=Sparkle.resolveView("div").renderView(a),f.push(et));it.defaultSegment=f;ot=Sparkle.resolveView("div").renderView(it);h.push(ot)}else if(g!=null){u={};o=[];u.className=n.writeAttribute("indexingMessage");u.title=n.writeAttribute(i.WindowsIndexingInProgressToolTip);d&&(u["data-partnertag"]=n.writeAttribute("IndexingMessage"));v=Sparkle.copyContext(t,u);y={};y.Icon=n.writeAttribute(g);st=Sparkle.resolveView("AutoSuggest:Icon");ht=Sparkle.copyContext(t,y);o.push(st.renderView(ht));p={};w=[];p.className=n.writeAttribute("details");var ct=Sparkle.copyContext(t,p),lt={},at=[];lt.className=n.writeAttribute("primaryText");b=Sparkle.copyContext(t,lt);n.writeContent(i.WindowsIndexingInProgressMessage,at);b.defaultSegment=at;vt=Sparkle.resolveView("div").renderView(b);w.push(vt);ct.defaultSegment=w;yt=Sparkle.resolveView("div").renderView(ct);o.push(yt);v.defaultSegment=o;pt=Sparkle.resolveView("div").renderView(v);h.push(pt)}return tt.defaultSegment=h,wt=Sparkle.resolveView("div").renderView(tt),k.push(wt),Sparkle.ReactImpl.returnSingleNode(k)}};Sparkle.ReactImpl.registerView(n)})()