"+n+" "+t.config.saAria.shownText+"")),s.notify(B)},show:function(){var e=this,t=e.config,i=e.elems.sbInput.value,s=i.length;e.updateRows(),e.app.notify(P),e.shown&&e.sameQuery()||(e.lastInput=i,st.maxInput?e.hide():(e.model.fetch(),e.triggered=!0))},hide:function(){var e=this,t=(s=e.elems).sbInput,i=s.saAria,s=s.sbForm,n=e.config,a=e.app;a.notify(M),T.removeClass(w.body,n.typingClass),s&&s.parentElement&&T.removeClass(s.parentElement,n.typingClass),T.removeClass(s,n.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,n.restoreScrollPosition&&window.scroll({top:e.previousScrollY}),t&&(T.set(t,"aria-expanded","false"),e.useTextArea)&&T.set(t,"rows","1"),i&&(T.set(i,"aria-expanded","false"),i.innerHTML=T.cleanHTML("

"+e.config.saAria.closedText+"")),a.notify(O)},autoSelect:function(e){var t,i=this.config.autoSelect;i&&(!0===i&&0===e.idx||"[object Object]"===Object.prototype.toString.call(i)&&(t=e.data).m==i.m&&i.exact&&t.k.toLowerCase()===t.q.toLowerCase())&&(this.assistItem=e)},clearAssist:function(){var e=this.elems;e.saTray.innerHTML="",this.items.splice(0,this.items.length),this.assistItem=null,T.set(e.sbInput,oe,"")},createItem:function(e){var t=e.idx,i={idx:t,data:e.origData},s=T.htmlEncode,n=this.config,a=this.app.createElem,o={},r=(n.highlight&&T.merge(o,n.highlight),e.highlight&&T.merge(o,e.highlight),a(n.saItem,"li"));return(t=(T.set(r,"pos",t),r.id+=t,a(n.saTitle,"span"))).innerHTML=T.cleanHTML(e.t||(n.boldTag&&e.k&&e.q?T.bold(n.boldTag,s(e.k),s(e.q),o):s(e.k))),r.appendChild(t),i.li=r,i.title=t,i},resetQuery:function(){this.elems.sbInput.value=this.origQuery},reset:function(){var e=this,t=e.config,i=e.elems.sbForm;t.resetQuery&&e.resetQuery(),e.hide(),i.action=e.origAction,e.app.notify(H)},sameQuery:function(){return this.elems.sbInput.value==this.lastInput},updateRows:function(){var e=this,t=e.config,i=e.elems.sbInput,s=e.app.getElemStyleValue;e.useTextArea&&(e.rowHeight||(e.rowHeight=t.inputRowHeight||i.clientHeight-parseInt(s(i,"padding-top"),10)-parseInt(s(i,"padding-bottom"),10)),i.style.height=0,T.set(i,"rows",Math.min(Math.floor(i.scrollHeight/e.rowHeight),t.inputMaxRows||5)),i.style.height="")}},ce),c.initConfig=function(){return{elems:{sbForm:"sb-form",sbInput:"sb-input",sbSubmit:"sb-search",sbClear:"sb-clr",sbCancel:"sb-cancel",saTray:"sa-tray"},customEvent:{},sa:{css:"sa",attrs:{type:"normal"}},saList:{css:"sa-list",attrs:{role:"listbox"},style:{cursor:"pointer"}},saItem:{css:"sa-item",attrs:{role:"option",id:"sa-item"}},saTitle:{css:"sa-item-title"},saAria:{shownText:"new suggestions shown",closedText:"Suggestion box closed",css:"sa-aria-live-region",attrs:{"aria-live":"polite"},style:{position:"absolute",left:"-9999px"}},saBE:{host:"",base:"/sugg/gossip/gossip-us-ura/",params:{l:1,bm:3,output:"sd1",nresults:10}},shBE:{host:"",base:"/history"},minInput:0,maxInput:255,boldTag:"{s}",ylc:{_r:2},ylcAssist:{use_case:""},hideOnOutsideClick:!0,noQueryClass:"sa-noQuery",typingClass:"typing",noResultClass:"sf-noResult"}},k.hideSbClr=(de.prototype={init:function(e){(this.app=e).on(P,pe,this),e.on(R,pe,this)}},de),k.entityFocus=(fe.prototype={init:function(e){(this.app=e).on(V,ue,this)}},fe),k.saFr2=(_e.prototype={init:function(e){var t=this;(t.app=e).on(R,me,t),e.on(I,ge,t),e.on(D,ve,t),e.on(K,ye,t),e.on(G,ye,t),e.on(H,be,t)}},_e),k.ipos=(Se.prototype={init:function(e){(this.app=e).on(P,Ce,this),e.on(I,Ee,this)}},Se),k.ylcEncode=(ke.prototype={init:function(e){(this.app=e).on(D,we,this),e.on(V,Te,this)}},ke),k.saTray=(xe.prototype={init:function(e){(this.app=e).on(x,Ie,this)}},xe),k.saFlvr=(Ae.prototype={init:function(e){e.on(F,Re,this)}},Ae),k.saOverlay=(Ne.prototype={init:function(e){e.on(R,Le,this)}},Ne),k.saPASF=(Me.prototype={init:function(e){var t=this;t.pasf=[],t.relatedStocks=[],t.beforeNode=null,(t.app=e).on(I,Fe,t),e.on(F,He,t),e.on(N,Pe,t)}},Me),k.saRelatedStocks=(qe.prototype={init:function(e){var t=this;t.pasf=[],t.relatedStocks=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(F,Oe,t),e.on(N,Be,t)}},qe),k.saShoppingRefinement=(Ke.prototype={init:function(e){var t=this;t.shoppingRefinement=[],t.beforeNode=null,t.currentPos=0,t.category="",(t.app=e).on(A,Ue,t),e.on(F,De,t),e.on(N,Ge,t)}},Ke),k.saWhatToWatch=(Qe.prototype={init:function(e){var t=this;t.whatToWatch=[],t.beforeNode=null,t.currentPos=0,(t.app=e).on(i,Ve,t),e.on(F,We,t),e.on(N,Ye,t)}},Qe),k.saEdit=(je.prototype={init:function(e){e.on(F,ze,this)}},je),k.saEmptyState=($e.prototype={init:function(e){var t=this;t.history=[],t.trending=[],t.beforeNode=null,(t.app=e).on(i,Xe,t),e.on(F,Ze,t),e.on(N,Je,t)}},$e),k.saAnnot=(tt.prototype={init:function(e){e.on(F,et,this)}},tt),k.saStock=(nt.prototype={init:function(e){(this.app=e).on(L,it,this),e.on(F,st,this)}},nt),k.saSport=(rt.prototype={init:function(e){(this.app=e).on(L,at,this),e.on(F,ot,this)}},rt),k.saWeather=(pt.prototype={init:function(e){(this.app=e).on(L,lt,this),e.on(F,ct,this)}},pt),k.saEntertainments=(l="show_subtitle",p="year",d="genre",h="releaseDate",u="offer",f="tvNetwork",ht.prototype={init:function(e){(this.app=e).on(L,dt,this),e.fdToSH=e.fdToSH.concat([l,p,d,h,u,f])}},ht),k.saFlightStatus=(gt.prototype={init:function(e){(this.app=e).on(L,ft,this),e.on(F,mt,this)}},gt),k.saCurrencyConverter=(bt.prototype={init:function(e){(this.app=e).on(L,vt,this),e.on(F,yt,this)}},bt),k.saUnitConverter=(a="resultUnitAbbr",o="resultUnit",Et.prototype={init:function(e){(this.app=e).on(L,_t,this),e.on(F,Ct,this),e.fdToSH=e.fdToSH.concat([a,o,"num"])}},Et),k.saAI=(m=document,r="sa-ai",Rt.prototype={init:function(e){(this.app=e).on(q,St,this),e.on(L,wt,this),e.on(F,Tt,this),e.on(N,kt,this),e.on(U,It,this)}},Rt),k.saPreview=(g="short_desc",v="o_imgUrl",Bt.prototype={init:function(e){var t=this;t.disablePreview=!0,t.previewCol=null,t.firstItem=null,t.hoverDebounce=null,t.prevHoverIndex=-1,t.prevActiveIndex=-1,(t.app=e).on(i,At,t),e.on(F,Lt,t),e.on(N,Nt,t),e.on(J,Ft,t),e.on($,Pt,t),e.on(U,Ht,t),e.on(O,Mt,t),e.fdToSH=e.fdToSH.concat([g,v])}},Bt),k.saImg=(Ut.prototype={init:function(e){e.on(F,qt,this)}},Ut),k.saSubTray=(Wt.prototype={init:function(e){var t=this;t.app=e,t.sqpos=t.toleft=0,e.on(A,Dt,t),e.on(L,Gt,t),e.on(N,Kt,t),e.on(O,Vt,t)}},Wt),k.saGroup=(jt.prototype={init:function(e){var t=this;t.app=e,t.grps=[],t.mkrs={},e.on(F,Yt,t),e.on(N,zt,t)}},jt),k.saFts=(Zt.prototype={init:function(e){e.on(F,Xt,this)}},Zt),k.saPCActn=(ii.prototype={init:function(e){var t=this;t.app=e,t.selectedIndex=-1,e.on(i,Jt,t),e.on(q,$t,t),e.on(Y,ei,t),e.on(z,ti,t)}},ii),k.anykey=(ni.prototype={init:function(e){(this.app=e).on(q,si,this)}},ni),k.tapRmv=(oi.prototype={init:function(e){(this.app=e).on(U,ai,this)}},oi),k.tapClr=(li.prototype={init:function(e){(this.app=e).on(q,ri,this)}},li),k.feedback=(y=T,ci.prototype={appendFeedback:function(e){this.canReport&&e.parentNode.appendChild(this.reportLink)},populateList:function(e){for(var t=this.config.css.namespace,i=(this.fdata={query:e.q,gprid:e.l?e.l.gprid:"",suggestions:{results:[]}},this.createElem({tag:"ul"})),s={},n=(s[ee]=!0,s[ne]=!0,s[te]=!0,0),a=0;a

"),t.close()),!t)throw Error("base not supported");var r=t.createElement("base");r.href=i,t.getElementsByTagName("head")[0].appendChild(r);var n=t.createElement("a");return n.href=o,n.href}finally{e&&e.parentNode.removeChild(e)}}():o)||""),e=function(){if(!("defineProperties"in Object))return!1;try{var e={};return Object.defineProperties(e,{prop:{get:function(){return!0}}}),e.prop}catch(s){return!1}}()?this:document.createElement("a"),r=new f(t.search?t.search.substring(1):null);function n(){var e=t.href.replace(/#$|\?$|\?(?=#)/g,"");t.href!==e&&(t.href=e)}function a(){r._setList(t.search?c(t.search.substring(1)):[]),r._update_steps()}return r._url_object=e,Object.defineProperties(e,{href:{get:function(){return t.href},set:function(e){t.href=e,n(),a()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in t?t.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return t.protocol},set:function(e){t.protocol=e},enumerable:!0,configurable:!0},username:{get:function(){return t.username},set:function(e){t.username=e},enumerable:!0,configurable:!0},password:{get:function(){return t.password},set:function(e){t.password=e},enumerable:!0,configurable:!0},host:{get:function(){var e={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[t.protocol];return e?t.host.replace(e,""):t.host},set:function(e){t.host=e},enumerable:!0,configurable:!0},hostname:{get:function(){return t.hostname},set:function(e){t.hostname=e},enumerable:!0,configurable:!0},port:{get:function(){return t.port},set:function(e){t.port=e},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==t.pathname.charAt(0)?"/"+t.pathname:t.pathname},set:function(e){t.pathname=e},enumerable:!0,configurable:!0},search:{get:function(){return t.search},set:function(e){t.search!==e&&(t.search=e,n(),a())},enumerable:!0,configurable:!0},searchParams:{get:function(){return r},enumerable:!0,configurable:!0},hash:{get:function(){return t.hash},set:function(e){t.hash=e,n()},enumerable:!0,configurable:!0},toString:{value:function(){return t.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return t.valueOf()},enumerable:!1,configurable:!0}}),e}if(Object.defineProperties(f.prototype,{append:{value:function(e,t){this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},"delete":{value:function(e){for(var t=0;t=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(e,t){r<=e&&(this.__redo__[t]=++e)},this),this.__redo__.push(r)):Object.defineProperty(this,"__redo__",{value:[r],configurable:!0,enumerable:!1,writable:!1}))},configurable:!0,enumerable:!1,writable:!0},_onDelete:{value:function(r){var e;r>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(e=this.__redo__.indexOf(r))&&this.__redo__.splice(e,1),this.__redo__.forEach(function(e,t){r=t.length)return{done:!0,value:P};var e=t[n++];return{done:!1,value:"key"===r?e.name:"value"===r?e.value:[e.name,e.value]}}}function r(o,i){if(!(this instanceof p.URL))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator.");var t=function(e){if(l)return new u(e);var t=document.createElement("a");return t.href=e,t}((o=i?function(){if(l)return new u(o,i).href;var e,t;try{if("[object OperaMini]"===Object.prototype.toString.call(window.operamini)?((e=document.createElement("iframe")).style.display="none",document.documentElement.appendChild(e),t=e.contentWindow.document):document.implementation&&document.implementation.createHTMLDocument?t=document.implementation.createHTMLDocument(""):document.implementation&&document.implementation.createDocument?((t=document.implementation.createDocument("http://www.w3.org/1999/xhtml","html",null)).documentElement.appendChild(t.createElement("head")),t.documentElement.appendChild(t.createElement("body"))):window.ActiveXObject&&((t=new window.ActiveXObject("htmlfile")).write(""),t.close()),!t)throw Error("base not supported");var r=t.createElement("base");r.href=i,t.getElementsByTagName("head")[0].appendChild(r);var n=t.createElement("a");return n.href=o,n.href}finally{e&&e.parentNode.removeChild(e)}}():o)||""),e=function(){if(!("defineProperties"in Object))return!1;try{var e={};return Object.defineProperties(e,{prop:{get:function(){return!0}}}),e.prop}catch(s){return!1}}()?this:document.createElement("a"),r=new f(t.search?t.search.substring(1):null);function n(){var e=t.href.replace(/#$|\?$|\?(?=#)/g,"");t.href!==e&&(t.href=e)}function a(){r._setList(t.search?c(t.search.substring(1)):[]),r._update_steps()}return r._url_object=e,Object.defineProperties(e,{href:{get:function(){return t.href},set:function(e){t.href=e,n(),a()},enumerable:!0,configurable:!0},origin:{get:function(){return"origin"in t?t.origin:this.protocol+"//"+this.host},enumerable:!0,configurable:!0},protocol:{get:function(){return t.protocol},set:function(e){t.protocol=e},enumerable:!0,configurable:!0},username:{get:function(){return t.username},set:function(e){t.username=e},enumerable:!0,configurable:!0},password:{get:function(){return t.password},set:function(e){t.password=e},enumerable:!0,configurable:!0},host:{get:function(){var e={"http:":/:80$/,"https:":/:443$/,"ftp:":/:21$/}[t.protocol];return e?t.host.replace(e,""):t.host},set:function(e){t.host=e},enumerable:!0,configurable:!0},hostname:{get:function(){return t.hostname},set:function(e){t.hostname=e},enumerable:!0,configurable:!0},port:{get:function(){return t.port},set:function(e){t.port=e},enumerable:!0,configurable:!0},pathname:{get:function(){return"/"!==t.pathname.charAt(0)?"/"+t.pathname:t.pathname},set:function(e){t.pathname=e},enumerable:!0,configurable:!0},search:{get:function(){return t.search},set:function(e){t.search!==e&&(t.search=e,n(),a())},enumerable:!0,configurable:!0},searchParams:{get:function(){return r},enumerable:!0,configurable:!0},hash:{get:function(){return t.hash},set:function(e){t.hash=e,n()},enumerable:!0,configurable:!0},toString:{value:function(){return t.toString()},enumerable:!1,configurable:!0},valueOf:{value:function(){return t.valueOf()},enumerable:!1,configurable:!0}}),e}if(Object.defineProperties(f.prototype,{append:{value:function(e,t){this._list.push({name:e,value:t}),this._update_steps()},writable:!0,enumerable:!0,configurable:!0},"delete":{value:function(e){for(var t=0;t

  1. Hello!