17/05/2024

Click Travel

Easy For Anywhere

Hurricane Ian slams Boca Grande, playground for presidents and celebrities, but landmarks survive

13 min read
Hurricane Ian slams Boca Grande, playground for presidents and celebrities, but landmarks survive

    promoMarkupnotifMarkup

“,panelEmptyTemplate=”

  • emptyPanelMsg

  • “,panelErrorTemplate=”

    errorMsg

    “,panelParentTemplate=””,notifOnboardPromoTemplate=”

  • “,EXPANDED_PANEL=”expanded_panel”,ERROR_PANEL=”error_panel”,NotificationView=function(){function e(n,t)classCallCheck(this,e);var i=this;i._config=n,i._panelNode=null,i._store=treturn createClass(e,[key:”_generatePanelMarkup”,value:function(e,n)var t=this._config,i=void 0,o=void 0;”undefined”!=typeof window&&(i=window.Notification&&”default”===window.Notification.permission,o=t.promos.bypassEligibleClassCheck,{key:”render”,value:function(e,n)var t=this;if(t._panelNode)var i=void 0,o=t._panelNode,s=void 0,a=void 0;switch(e)case EXPANDED_PANEL:i=panelTemplate,a=t._store.getNotifications(),s=t._generatePanelMarkup(i,a),o.innerHTML=s;break;case ERROR_PANEL:s=(i=panelErrorTemplate).replace(“errorMsg”,t._config.panel.errorMsg),o.innerHTML=sn&&n()else n&&n(new Error(“No panel parent”))},key:”createPanelParentNode”,value:function(e)e&&(e.innerHTML=panelParentTemplate,this._panelNode=document.getElementById(constants.panelNodeId)),key:”updateBadgeNode”,value:function(e)if(e)var n=this._store.getNotifications().newCount,t=this._config.badge.maxCount;if(n)var i=n>t?t+”+”:n;e.innerHTML=ielse e.innerHTML=””,key:”addStyles”,value:function(e)if(e&&”undefined”!=typeof window)]),e}(),EXPANDED_PANEL$1=”expanded_panel”,ERROR_PANEL$1=”error_panel”,PanelController=function()function e(n,t,i)classCallCheck(this,e);var o=this;o._store=t,o._view=i,o._config=n;var s=o._config.panel;o._panelParentNode=document.querySelector(s.parentSelector),o._badgeNode=o._config.badge.selector&&document.querySelector(o._config.badge.selector),o._indicatorNode=s.indicatorSelector&&document.querySelector(s.indicatorSelector)return createClass(e,[key:”createPanelParentNode”,value:function()this._view.createPanelParentNode(this._panelParentNode),this._notifPanelNode=document.getElementById(constants.panelNodeId),key:”refreshPanelNode”,value:function(e,n)var t=this;addClass(t._notifPanelNode,constants.panelLoading),t._store.fetchNotifications(e,(function(e,i)var o=window.wafer&&window.wafer.base;o&&o.destroy(t._notifPanelNode),e?t._notifPanelNode.innerHTML)),key:”resetBadge”,value:function()var e=this;e._store.resetNewCount(),e._view.updateBadgeNode(e._badgeNode),addClass(e._badgeNode,e._config.badge.hideClass),key:”_showIndicator”,value:function()this._indicatorNode&&(this._store.getNotifications().newCount?addClass(this._indicatorNode,this._config.panel.indicatorClass):removeClass(this._indicatorNode,this._config.panel.indicatorClass)),key:”_showBadge”,value:function()var e=this;e._store.getNotifications().newCount?removeClass(e._badgeNode,e._config.badge.hideClass):addClass(e._badgeNode,e._config.badge.hideClass)]),e(),config=promos:eligibleBodyClass:”display-push-promos”,enableNotifOnboard:!0,bypassEligibleClassCheck:!1,notifOnboardBtnLabel:”Notify Me”,notifOnboardMsg:”Get alerts for breaking news and top stories”,promoLogo:”https://s.yimg.com/cv/apiv2/ae/news/circle_bell.png”,showYahooLogo:!0,subscriptionTopic:”gondor_homerun_news”,badge:hideClass:””,maxCount:5,selector:””,panel:80″,indicatorClass:”yns-indicator”,indicatorSelector:null,maxCount:6,notificationCenterNavMsg:”View all newCount notifications”,notificationCenterPath:””,notificationTypes:””,parentSelector:null,styleTagId:”notificationStyles”,theme:”default”,service:attemptCount:2,attemptDelay:1,url:null,resetUrl:null,isRMP:!1,responseType:”json”,timeout:1500,Main=function(){function e(n)classCallCheck(this,e);var t=this;t.config=t._parseConfig(n),t._validateRequiredConfigs()&&(t._request=new NotificationRequest(t.config),t._store=new NotificationStore(t.config,t._request),t._view=new NotificationView(t.config,t._store),t._panelController=new PanelController(t.config,t._store,t._view),t._panelController.createPanelParentNode(),t._assignHelperMethods())return createClass(e,[key:”_parseConfig”,value:function(e)var n=;for(var t in objectAssign(n,config),n)if(n.hasOwnProperty(t))var i=n[t],o=e[t];”object”===(void 0===i?”undefined”:_typeof(i))?objectAssign(i,o):n[t]=e[t]return n,key:”_validateRequiredConfigs”,value:function()var e=this.config;return!(!e.panel.parentSelector,key:”_assignHelperMethods”,value:function()var e=this;e.helpers=refreshPanelNode:e._panelController.refreshPanelNode.bind(e._panelController),resetBadge:e._panelController.resetBadge.bind(e._panelController),resetIndicator:function()removeClass(e._panelController._indicatorNode,e.config.panel.indicatorClass)]),e}(),notificationClient_module_min=Main,notificationClient=NotificationClient:notificationClient_module_min,CONSUMPTION_STORAGE_KEY=”lnct”,NotifClient=function(){function e()void 0===n?void 0:n.match(/ybar-variant-([a-z]*)/),this.client=new notificationClient.NotificationClient(this.getConfig())return e.prototype.refreshPanel=function()void 0===n?void 0:n.context),e.prototype.resetBadge=function()this.client.helpers.resetBadge(),this.setTimeStamp(),e.prototype.getConfig=function()void 0===e?void 0:e.config,c=;if(r)var d=this.mergeConfigs(s,c);return(null===(t=this.partnerClasses),e.prototype.mergeConfigs=function(e,n)var t=__assign(,e);for(var i in e)t[i]=__assign(__assign(,e[i]),n[i]);return t,e.prototype.getTimeStamp=function(),e.prototype.setTimeStamp=function()e.setItem(CONSUMPTION_STORAGE_KEY,n),n,e}(),notifClient=new NotifClient,getNotifClient=function()return notifClient,reInit=function()notifClient=new NotifClient,ybarRapid,ybarRapidInterval,ybarRapidErrMsg=””,beaconQueue=[],noop=function(),logRapidError=function()window.removeEventListener(“beforeunload”,logRapidError),””!==ybarRapidErrMsg&&logError(“Rapid not found on page”,new Error(ybarRapidErrMsg)),findRapidWithSpaceid=function(e)var n=void 0;if(e&&e.length>0)for(var t=0;t90&&fireImageBeacon(“performance”,e)catch(e)),1e3)}))},measureInit=measure(“ybar-init”);initYbar(),measureInit.stop(),initPerformanceMetricsBeaconListener(),initRapid(),initErrorBeaconListener();var selected=”_yb_1rg0c”,Css$7=”right-item”:”_yb_1wo9u”,selected:selected,”ybar-mod-topnavigation”:”_yb_dzk1v”,”ybar-mod-topnavigation-teaser-imp”:”_yb_1fnia”,DOCUMENT_NODE_TYPE=9;if(“undefined”!=typeof Element&&!Element.prototype.matches)proto.oMatchesSelectorfunction closest(e,n)for(;e&&e.nodeType!==DOCUMENT_NODE_TYPE;)if(“function”==typeof e.matches&&e.matches(n))return e;e=e.parentNodevar closest_1=closest;function _delegate(e,n,t,i,o)var s=listener.apply(this,arguments);return e.addEventListener(t,s,o),destroy:function()e.removeEventListener(t,s,o)function delegate(e,n,t,i,o)return”function”==typeof e.addEventListener?_delegate.apply(null,arguments):”function”==typeof t?_delegate.bind(null,document).apply(null,arguments):(“string”==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e)return _delegate(e,n,t,i,o))))function listener(e,n,t,i)return function(t)t.delegateTarget=closest_1(t.target,n),t.delegateTarget&&i.call(e,t)var delegate_1=delegate,ListNode=function(e)this.data=e,this.next=null,this.prev=null,LinkedList=function(){function e()this.head=null,this.tail=nullreturn e.prototype.push=function(e)var n=new ListNode(e);return this.head?this.tail?(n.prev=this.tail,this.tail.next=n,this.tail=n):(this.tail=n,this.tail.prev=this.head,this.head.next=this.tail):(this.head=n,n.next=this.tail),n,e.prototype.size=function()for(var e=0,n=this.head;n;)e+=1,n=n.next;return e,e.prototype.getHead=function()return this.head,e.prototype.getTail=function()return this.tail,e.prototype.get=function(e){if(e>=this.size())return null;for(var n=0,t=this.head;(null==t?void 0:t.next)&&n0&&Array.prototype.forEach.call(e,(function(e)e.onerror=function()e.onerror=null,e.style.display=”none”)),fixLogoOutline=function(e,n)e&&(hideOutlineOnMouseDown(“#ybar-logo”,”#ybar-logo”,n),n.onDestroy((function()e.classList.remove(“ybar-show-outline”),e.classList.remove(“ybar-hide-outline”)))),logoClick=function(e,n)n&&e.addElementListener(n,”click”,(function()e.triggerEvent(“logo-click”))),init$3=function(e,n)n.logoImages&&hideLogosOnError(n.logoImages),n.wrapper&&(fixLogoOutline(n.wrapper,e),logoClick(e,n.wrapper));initModule(“ybar-mod-logo”,(function(e)var n=wrapper:document.getElementById(“ybar-logo”),logoImages:document.querySelectorAll(“.”.concat(Css$6[“logo-image”]));init$3(e,n)));var overlay$1=”_yb_1xu2b”,tooltip=”_yb_1ahtp”,tooltip__text=”_yb_1kycp”,tooltip__voice=”_yb_zxqi6″,tooltip__web=”_yb_19kcw”,dark=”_yb_lr0ga”,darker=”_yb_ni291″,light=”_yb_77dc3″,midnight60=”_yb_wyb37″,Css$5=”dropdown-open”:”_yb_w6vjf”,”merchant-is-selected”:”_yb_1tkwz”,overlay:overlay$1,”selected-merchant-clear-button”:”_yb_147mb”,”shops-buttons”:”_yb_1rh19″,”styled-select”:”_yb_114k9″,tooltip:tooltip,”tooltip–show”:”_yb_1udem”,tooltip__text:tooltip__text,tooltip__voice:tooltip__voice,tooltip__web:tooltip__web,dark:dark,darker:darker,light:light,midnight60:midnight60,range=function(e,n)var t=Math.max(e,n),i=Math.min(e,n),o=Math.abs(t-i);return __spreadArray([],new Array(o+1),!0).map((function(e,n)return i+n)),openSearchOverlay=function(e,n,t)var i=e.getConfig().bucketConfig,o=(void 0===i?:i).enable_search_ui,s=void 0!==o&&o;if(n.ybar)n.ybar.classList.add(“ybar-searchbox-assist-fullscreen”),document.documentElement.classList.add(“ybar-overlay”),document.body.classList.add(“ybar-overlay-noscroll”);beaconClick(“ybar”,”websrch”,””,elm:”expand”,subsec:”searchbox”,itc:”1″),setTimeout((function()n.searchInput instanceof HTMLInputElement&&(t&&(n.searchInput.value=t),n.searchInput.focus(),s&&n.searchInput.click()))),closeSearchOverlay=function(e)n.classList.remove(“ybar-searchbox-assist-fullscreen”),document.documentElement.classList.remove(“ybar-overlay”),document.body.classList.remove(“ybar-overlay-noscroll”),e.searchInput instanceof HTMLInputElement&&(e.searchInput.value=””,e.searchInput.blur()),initMweb=function(e,n)”smartphone”===e.getConfig().device&&(e.addElementListener(n.searchBoxPlaceholder,”click”,(function()openSearchOverlay(e,n))),e.addElementListener(n.searchBoxPlaceholder,”keydown”,(function(t))),n.searchBoxBackButton&&(e.addElementListener(n.searchBoxBackButton,”click”,(function(e)e.stopPropagation(),closeSearchOverlay(n);beaconClick(“ybar”,”back-close-srch”,””,elm:”btn”,subsec:”searchbox”,itc:”1″))),e.addElementListener(n.searchInput,”keyup”,(function(e)e.stopPropagation();27===e.keyCode&&(e.stopPropagation(),closeSearchOverlay(n))))),e.onDestroy((function()closeSearchOverlay(n)))),Tooltip=function()function e(e,n,t)n&&(this.ybar=e,this.elem=n,this.options=t,this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.addEventListeners())return Object.defineProperty(e.prototype,”tooltip”,get:function()(this.tooltipMarkup=this.createTooltip(),(this.options.tooltipParentElm,enumerable:!1,configurable:!0),e.prototype.show=function()this.tooltip.classList.add(this.options.showClass),e.prototype.hide=function()this.tooltip.classList.remove(this.options.showClass),e.prototype.addEventListeners=function()this.ybar.addElementListener(this.elem,”mouseenter”,this.show),this.ybar.addElementListener(this.elem,”focus”,this.show),this.ybar.addElementListener(this.elem,”mouseleave”,this.hide),this.ybar.addElementListener(this.elem,”blur”,this.hide),e.prototype.createTooltip=function()var e=document.createElement(“div”);e.className=this.options.containerClass,e();createCommonjsModule((function(module){(function(){var __webpack_modules__={“./src/index.js”:
    /*!**********************!*\
    !*** ./src/index.js ***!
    \**********************/function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){eval(“var I18n = __webpack_require__(/*! ./lib/I18n */ \”./src/lib/I18n.js\”);\n\n(function (win, doc) {\n \”use strict\”;\n\n var defaultConfig = \n uiLang: ‘en-US’,\n speechLang: ‘en-US’,\n voiceButton: ‘#voice-btn’,\n searchBox: \n form: ‘#sf’,\n input: ‘#yschsp’,\n params: \n fr: ”,\n fr2: ”\n \n ,\n enable_voice_trending: false,\n trending: \n market: \”en-us\”\n ,\n ui: \n speechOverlay: \n disableBlur: false\n \n ,\n browsers: \n edge: false\n \n ;\n\n function VoiceSearch(config) {\n var self = this;\n self.config = Object.assign(defaultConfig, config || );\n self.i18n = new VoiceSearch.I18n(\n lang: self.config.uiLang\n );\n self.renderPermissionGuide(self);\n self.renderSpeechPanel(self);\n self.speechResult=””;\n self.noSpeech = true;\n self.isRecognitionStart = false;\n self.recognition = null;\n self.voiceButton = doc.querySelector(self.config.voiceButton);\n self.searchBoxForm = doc.querySelector(self.config.searchBox.form);\n self.searchBoxQuery = doc.querySelector(self.config.searchBox.input);\n self.speechPanel = doc.querySelector(‘#spch’);\n self.speechButtonContainer = doc.querySelector(‘#spchbc’);\n self.speechButton = doc.querySelector(‘#spchbc-btn’);\n self.speechText = doc.querySelector(‘#spcht’);\n self.speechOverlay = doc.getElementById(‘spch-overlay’);\n self.retryLink = doc.querySelector(‘#spcht-retry’);\n self.trending = doc.getElementById(‘spch-trending’);\n self.trendingTerms = doc.getElementById(‘trending-terms’);\n self.termSpans = doc.getElementsByClassName(\”trending-term\”);\n self.closeButton = doc.querySelector(‘#spchx’);\n self.startAudio = new Audio(‘https://s.yimg.com/pv/static/misc/voice-start-202105050733.wav’);\n self.resultAudio = new Audio(‘https://s.yimg.com/pv/static/misc/voice-result-202105050733.wav’);\n self.errorAudio = new Audio(‘https://s.yimg.com/pv/static/misc/voice-error-202105050733.wav’);\n self.closeAudio = new Audio(‘https://s.yimg.com/pv/static/misc/voice-close-202105050733.wav’);\n self.permissionGuide = doc.querySelector(‘#spchp’);\n self.permissionGuideClose = doc.querySelector(‘#spchpx’);\n self.permissionGuideTimer = null;\n\n self.onEscKeyDown = function (e) \n if (e.code !== ‘Escape’) \n return;\n \n\n self.recognition.stop();\n self.sendBeacon(‘keybrd’, ‘voicesearch_cancel_esc’); // The clean up should put inside closePanel() instead of here,\n // or func won’t be cleaned up if user close panel with btn or overlay\n\n self.closePanel(self);\n ;\n\n if (self.isBrowserSupported()) {\n var SpeechRecognition = win.SpeechRecognition || win.webkitSpeechRecognition;\n var SpeechGrammarList = win.SpeechGrammarList || win.webkitSpeechGrammarList;\n var speechGrammar=”#JSGF V1.0;”;\n self.recognition = new SpeechRecognition();\n var speechRecognitionList = new SpeechGrammarList();\n\n if (speechRecognitionList.addFromString) \n speechRecognitionList.addFromString(speechGrammar, 1);\n \n\n self.recognition.grammars = speechRecognitionList;\n self.recognition.continuous = false;\n self.recognition.lang = self.config.speechLang;\n self.recognition.interimResults = false;\n self.recognition.maxAlternatives = 1;\n /* Listeners */\n\n if (self.voiceButton) \n self.voiceButton.onclick = function () \n self.recognition.start();\n\n if (self.permissionGuideTimer) \n win.clearTimeout(self.permissionGuideTimer);\n \n\n self.permissionGuideTimer = win.setTimeout(function () \n if (!self.isRecognitionStart) \n self.showPermissionGuide(self);\n \n , 300); // Also close when pressing esc\n\n doc.addEventListener(‘keydown’, self.onEscKeyDown);\n self.sendBeacon(‘clk’, ‘voicesearch’);\n ;\n \n\n if (self.speechButton) \n self.speechButton.onclick = function () \n if (!self.isRecognitionStart) \n self.recognition.start();\n self.sendBeacon(‘clk’, ‘voicesearch_panel_mic_restart’);\n else \n self.recognition.stop();\n self.sendBeacon(‘clk’, ‘voicesearch_panel_mic_close’);\n self.closePanel(self);\n \n ;\n \n\n if (self.retryLink) \n self.retryLink.onclick = function () \n if (!self.isRecognitionStart) \n self.recognition.start();\n self.sendBeacon(‘clk’, ‘voicesearch_panel_retry’);\n \n ;\n \n\n if (self.speechOverlay) \n self.speechOverlay.onclick = function () \n self.recognition.stop();\n self.sendBeacon(‘clk’, ‘voicesearch_cancel_outside’);\n self.closePanel(self);\n ;\n \n\n if (self.closeButton) \n self.closeButton.onclick = function\n /*event*/\n () \n self.recognition.stop();\n self.sendBeacon(‘clk’, ‘voicesearch_cancel’);\n self.closePanel(self);\n ;\n \n\n if (self.permissionGuideClose) \n self.permissionGuideClose.onclick = function\n /*event*/\n () \n self.recognition.stop();\n self.sendBeacon(‘clk’, ‘voicesearch_permission_close’);\n self.closeAudio.play();\n self.hidePermissionGuide(self);\n ;\n \n /* Recognition Events */\n\n\n self.recognition.onresult = function (event) \n // The SpeechRecognitionEvent results property returns a SpeechRecognitionResultList object\n // The SpeechRecognitionResultList object contains SpeechRecognitionResult objects.\n // It has a getter so it can be accessed like an array\n // The first [0] returns the SpeechRecognitionResult at the last position.\n // Each SpeechRecognitionResult object contains SpeechRecognitionAlternative objects that contain individual results.\n // These also have getters so they can be accessed like arrays.\n // The second [0] returns the SpeechRecognitionAlternative at position 0.\n // We then return the transcript property of the SpeechRecognitionAlternative object\n // console.log(‘Confidence: ‘ + event.results[0][0].confidence);\n self.speechResult = event.results[0][0].transcript;\n /* Punctuation Handling: Check last character and strip it if necessary */\n\n self.handlePunctuation(self);\n\n if (self.speechText) \n self.speechText.innerText = self.speechResult;\n \n\n if (self.searchBoxQuery) \n self.searchBoxQuery.value = self.speechResult;\n \n\n self.resultAudio.play();\n win.setTimeout(function () \n if (self.speechPanel) \n self.speechPanel.classList.remove(\”s2tb\”);\n self.speechPanel.classList.add(\”s2tb-h\”);\n \n\n self.hideRetryLink(self);\n\n if (self.searchBoxForm) \n var inputFr = self.searchBoxForm.querySelector(‘[name=fr]’);\n var inputFr2 = self.searchBoxForm.querySelector(‘[name=fr2]’);\n\n if (inputFr && self.config.searchBox && self.config.searchBox.params && self.config.searchBox.params.fr) \n inputFr.value = config.searchBox.params.fr;\n inputFr.disabled = false; // for homepage case\n \n\n if (inputFr2 && self.config.searchBox && self.config.searchBox.params && self.config.searchBox.params.fr2) \n inputFr2.value = config.searchBox.params.fr2;\n inputFr2.disabled = false; // for homepage case\n \n\n self.searchBoxForm.submit();\n \n , 1000);\n ;\n\n self.recognition.onspeechstart = function\n /*event*/\n () // Fired when speech starts\n ;\n\n self.recognition.onspeechend = function () \n // Fired when speech ends\n self.recognition.stop();\n ;\n\n self.recognition.onerror = function\n /*event*/\n () \n // console.log(‘Error occurred in recognition: ‘ + event.error);\n if (self.speechText) \n self.speechText.innerText = self.i18n.t(‘search.voice.recognition_error’);\n \n\n self.hideTrending(self);\n self.showRetryLink(self);\n self.errorAudio.play();\n ;\n\n self.recognition.onaudiostart = function\n /*event*/\n () \n // Fired when the user agent has started to capture audio.\n if (self.speechButtonContainer) \n self.speechButtonContainer.classList.add(\”listening\”);\n \n ;\n\n self.recognition.onaudioend = function\n /*event*/\n () \n // Fired when the user agent has finished capturing audio.\n if (self.speechButtonContainer) \n self.speechButtonContainer.classList.remove(\”listening\”);\n \n ;\n\n self.recognition.onsoundstart = function\n /*event*/\n () \n // Fired when any sound — recognisable speech or not — has been detected.\n self.hideTrending(self);\n self.noSpeech = false;\n\n if (self.speechButtonContainer) \n self.speechButtonContainer.classList.remove(\”listening\”);\n self.speechButtonContainer.classList.add(\”speaking\”);\n \n ;\n\n self.recognition.onsoundend = function\n /*event*/\n () \n // Fired when no sound present\n if (self.speechButtonContainer) \n self.speechButtonContainer.classList.remove(\”speaking\”);\n \n ;\n\n self.recognition.onstart = function\n /*event*/\n () \n // Fired when the speech recognition service has begun listening\n self.recognitionInit(self);\n self.startRecognition(self);\n ;\n\n self.recognition.onend = function\n /*event*/\n () \n // Fired when the speech recognition service has disconnected.\n self.isRecognitionStart = false;\n\n if (self.noSpeech == false && self.speechResult == ”) \n // No match: Fired when the speech recognition can’t recognise speech\n if (self.speechText) \n self.speechText.innerText = self.i18n.t(‘search.voice.recognition_nomatch’);\n \n\n self.hideTrending(self);\n self.showRetryLink(self);\n self.errorAudio.play();\n \n ; // trigger onReady event when initialized\n\n\n if (document && document.dispatchEvent) \n document.dispatchEvent(new Event(‘VOICE_JS_READY’));\n \n }\n } // static members\n\n\n VoiceSearch.I18n = I18n; // instance members\n\n VoiceSearch.prototype.renderPermissionGuide = function (self) \n var tmpl = \”\\n

    \\n \\n

    \\n \\n

    \\n

    \”.concat(self.i18n.t(‘search.voice.permission_title’), \”

    \\n

    \”).concat(self.i18n.t(‘search.voice.permission_text’), \”

    \\n

    \\n

    \\n

    \\n \”);\n var dom = new DOMParser().parseFromString(tmpl, ‘text/html’);\n document.body.appendChild(dom.body.children[0]);\n ;\n\n VoiceSearch.prototype.renderSpeechPanel = function (self) \n var tmpl = \”\\n

    \\n \\n \\n

    \\n

    \\n

    \\n \\n \\n \\n \\n \\n \\n

    \\n

    \\n

    \\n \\n \\n \”.concat(self.i18n.t(‘search.voice.recognition_retry’), \”\\n

    \\n

    \\n

    \\n

    \\n

    \\n

    \\n \”).concat(self.i18n.t(‘search.voice.trending_title’), \”\\n \\n

    \\n

    \\n

    \\n \”);\n var dom = new DOMParser().parseFromString(tmpl, ‘text/html’);\n\n if (self && self.config && self.config.ui && self.config.ui.speechOverlay && self.config.ui.speechOverlay.disableBlur) \n dom.body.children[0].classList.add(‘disable-blur-overlay’);\n \n\n document.body.appendChild(dom.body.children[0]);\n ;\n\n VoiceSearch.prototype.isBrowserSupported = function () \n var isSupported = false;\n var self = this;\n var isChromium = Boolean(window.chrome);\n var isIOSChrome = /CriOS/.test(window.navigator.userAgent);\n var isEdge = /Edg\\//.test(window.navigator.userAgent);\n var isLegacyEdge = /Edge\\//.test(window.navigator.userAgent);\n var isOpera = Boolean(window.opr);\n var isBrave = Boolean(window.navigator.brave);\n var browsers = [// chrome\n \n checkEnabled: function checkEnabled() \n return true;\n ,\n checkBrowser: function checkBrowser() \n return isChromium && !isIOSChrome && !isEdge && !isOpera && !isBrave;\n ,\n checkAPI: function checkAPI() \n return win && (‘SpeechRecognition’ in win \n , // edge\n \n checkEnabled: function checkEnabled() \n return self && self.config && self.config.browsers && self.config.browsers.edge;\n ,\n checkBrowser: function checkBrowser() \n return isChromium && isEdge && !isLegacyEdge;\n ,\n checkAPI: function checkAPI() \n return win && (‘SpeechRecognition’ in win \n ];\n\n for (var b = 0; b 0) \n ;\n\n VoiceSearch.prototype.sendBeacon = function (actn, slk) ;\n\n if (ULT.beacon_click) \n var trackParams = \n _S: SB.config.i13n.spaceid,\n _I: SB.config.i13n.pvid,\n actn: actn,\n sec: ‘search’,\n slk: slk\n ;\n win.YAHOO.ULT.beacon_click(trackParams);\n \n ;\n\n VoiceSearch.prototype.ajaxReq = function (url, callback) ),function()function e(e)return”function”==typeof e.trim?e.trim():e.replace(/^\s+function n(e)var n;c&&c\&]/gim,(function(e)return””+e.charCodeAt(0)+”;”)),ae:function(e,n,t,i)if(i=i,de:function(e,n,t)if(e.removeEventListener)e.removeEventListener(n,t);elseif(!e.detachEvent)return!1;e.detachEvent(“on”+n,t),ts:function()return Math.round((new Date).getTime()/1e3),bold:function(e,n,t,o),]+/).filter((function(e)return””!==e)).sort((function(e,n)return n.length-e.length)).map(i)).length?(a=a.replace(“%needles”,o.join(“,fireEvent:function(e,n,t)var i;”function”==typeof s.CustomEvent?(i=new s.CustomEvent(n,detail:t),e.dispatchEvent(i)):”function”==typeof a.createEvent?((i=a.createEvent(“CustomEvent”)).initCustomEvent(n,!1,!1,t),e.dispatchEvent(i)):(a.attachEvent,document.documentElement[n]=t),s.YAHOO=s.YAHOO||,s.YAHOO.NBClass=o,s.YAHOO.NB=new o,Array.prototype.forEach||(Array.prototype.forEach=function(e,n)var t,i;if(null==this)throw new TypeError(” this is null or not defined”);var o,s=Object(this),a=s.length>>>0;if(“function”!=typeof e)throw new TypeError(e+” is not a function”);for(1>>0;if(“function”!=typeof e)throw new TypeError;for(var i,o=[],s=2>>0;if(“function”!=typeof e)throw new TypeError(e+” is not a function”);for(1this.length)&&-1!==this.indexOf(e,n));var s,a,r,c,l,d,u,p,h,f,m=window,g=document,y=m.YAHOO,v=y.NB,b=,_=”before_get_assist”,w=”before_display_data”,C=”before_init_view”,E=”after_init_view”,x=”before_parse_data”,T=”before_update_assist”,S=”after_update_list”,k=”after_create_item”,L=”before_show_sa”,I=”after_reset_view”,M=”after_hide_view”,A=”after_init_controller”,R=”click_assist”,N=”before_query_assist”,O=”before_key_submit”,B=”before_button_submit”,P=”before_submit_query”,D=”after_item_highlight”,q=”after_item_reset_highlight”,V=”before_sb_focus”,j=”after_sb_focus”,F=”before_sb_blur”,U=”after_sb_blur”,$=”before_beacon”,H=”after_set_ylc”,Y=”after_reset_controller”;function G(e,n)function z(e),this.listeners=,this.cb=function W()function J()function Q()function K()var e=this.app.view.elems,n=e.sbClear;n&&(0Manage history‘,log:sec:”search”,slk:”clear history”,rspns:”upd”,t2:”search”,t4:”clear history”}function Se()function e(e)e.keyCode&&27!==e.keyCode&&13!=e.keyCodevar n=this,t=n.app,i=t.view,o=i.elems,s=o.sbInput,a=o.sbClear;a&&(v.ae(a,”click”,e),v.ae(a,”keydown”,e))function ke()this.config=log:_r:2,actn:”clk”,pos:1,sec:”search”,slk:”clearsearch”,rspns:”upd”,t1:”hdr”,t2:”search”,t3:”clear”,t4:”clearsearch”y.SA=(d=[],z.prototype=jsonp:function(e)var n=g.getElementsByTagName(“head”)[0],t=g.createElement(“script”);v.set(t,”type”,”text/javascript”),v.set(t,”src”,e),n.appendChild(t),v.ae(t,”load”,(function()n.removeChild(t))),createElem:G,getElemStyleValue:function(e,n)return m.getComputedStyle?m.getComputedStyle(e).getPropertyValue(n):e.currentStyle?(n=n.replace(/\-([a-z])1/g,(function(e,n)return n.toUpperCase())),e.currentStyle[n]):””,format:function(e,n)if(e)return e.replace(/(\d+)/g,(function(e,t)return n&&void 0!==n[t]?n[t]:””)).trim(),on:function(e,n,t)var i;e&&n&&((i=this.listeners)[e],notify:function(e,n)var t=this.listeners;if(!t[e])return!1;t[e].forEach((function(e)[]))),init:function(e)var n,t,i,o,s=this,a=s.config,r=a.plugins=;for(o in s.view=n=new l.viewClass,s.model=t=new l.modelClass,s.control=i=new l.controlClass,b)”object”==typeof e&&v.merge(a,e),s.ready=n.init(s)&&t.init(s)&&i.init(s),u=z,l=ver:”assistjs-v1.0.155-ybar”,apps:d,plugs:b,add:function(e,n)b[e]=n,msg:BEFORE_GET_ASSIST:_,BEFORE_DISPLAY_DATA:w,BEFORE_INIT_VIEW:C,AFTER_INIT_VIEW:E,BEFORE_PARSE_DATA:x,BEFORE_UPDATE_ASSIST:T,AFTER_UPDATE_LIST:S,AFTER_CREATE_ITEM:k,BEFORE_SHOW_SA:L,AFTER_RESET_VIEW:I,AFTER_HIDE_VIEW:M,AFTER_INIT_CONTROLLER:A,CLICK_ASSIST:R,BEFORE_QUERY_ASSIST:N,BEFORE_KEY_SUBMIT:O,BEFORE_BUTTON_SUBMIT:B,BEFORE_SUBMIT_QUERY:P,BEFORE_SB_FOCUS:V,AFTER_SB_FOCUS:j,BEFORE_SB_BLUR:F,AFTER_SB_BLUR:U,BEFORE_BEACON:$,AFTER_SET_YLC:H,AFTER_RESET_CONTROLLER:Y,AFTER_ITEM_HIGHLIGHT:D,AFTER_ITEM_RESET_HIGHLIGHT:q,markers:GOSSIP_MARKER_SEARCH_HISTORY:13,GOSSIP_MARKER_TRENDING:9,GOSSIP_MARKER_PEOPLE_ALSO_SEARCH_FOR:42,init:function(e)var n,t=v.ieVer;return!(t&&t”+s+” “+t.config.saAria.shownText+””),show:function()var e=this,n=e.config,t=e.elems.sbInput.value,i=t.length;e.app.notify(L),e.shown&&e.sameQuery(),hide:function()var e=this,n=(t=e.elems).saAria,t=t.sbForm,i=e.config;v.removeClass(g.body,i.typingClass),t&&t.parentElement&&v.removeClass(t.parentElement,i.typingClass),v.removeClass(t,i.noResultClass),e.clearAssist(),e.shown=!1,e.triggered=!1,n&&(v.set(n,”aria-expanded”,”false”),n.innerHTML=”

    “+e.config.saAria.closedText+”

    “),e.app.notify(M),clearAssist:function()this.elems.saTray.innerHTML=””,this.items.splice(0,this.items.length),this.assistItem=null,createItem:function(e)var n,t=idx:e.idx,data:e.origData,i=v.htmlEncode,o=this.config,s=(n=this.app.createElem)(o.saItem,”li”);return(n=(v.set(s,”pos”,e.idx),n(o.saTitle,”span”))).innerHTML=e.t,resetQuery:function()this.elems.sbInput.value=this.origQuery,reset:function()var e=this,n=e.config,t=e.elems.sbForm;n.resetQuery&&e.resetQuery(),e.hide(),t.action=e.origAction,e.app.notify(I),sameQuery:function()return this.elems.sbInput.value==this.lastInput,Q),l.initConfig=function()returnelems: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”,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:”https://r.search.yahoo.com/history”,minInput:0,maxInput:255,boldTag:”s“,ylc:_r:2,ylcAssist:use_case:””,hideOnOutsideClick:!0,noQueryClass:”sa-noQuery”,typingClass:”typing”,noResultClass:”sf-noResult”,b.hideSbClr=(X.prototype=init:function(e)(this.app=e).on(L,K,this),X),b.saFr=(te.prototype=init:function(e)(this.app=e).on(E,Z,this),e.on(N,ee,this),e.on(I,ne,this),te),b.ipos=(se.prototype=init:function(e)(this.app=e).on(L,ie,this),e.on(_,oe,this),se),b.saTray=(re.prototype=init:function(e)(this.app=e).on(C,ae,this),re),b.saFlvr=(le.prototype=init:function(e)e.on(k,ce,this),le),b.saEdit=(ue.prototype=init:function(e)e.on(k,de,this),ue),b.saAnnot=(he.prototype=init:function(e)e.on(k,pe,this),he),b.saImg=(me.prototype=init:function(e)e.on(k,fe,this),me),b.saGroup=(ve.prototype=init:function(e)this.app=e,this.idxs=,e.on(k,ge,this),e.on(S,ye,this),ve),b.saPCActn=(Ee.prototype=init:function(e)var n=this;n.app=e,n.selectedIndex=-1,e.on(w,be,n),e.on(A,_e,n),e.on(j,we,n),e.on(U,Ce,n),Ee),b.tapRmv=(Te.prototype=init:function(e)(this.app=e).on(R,xe,this),Te),b.tapClr=(ke.prototype=init:function(e)(this.app=e).on(A,Se,this),ke)}();var history=”_yb_4xnq8″,lowlight=”_yb_128fo”,sa=”_yb_wnobi”,trending=”_yb_154r7″,Css$4=”bot-search-icon”:”_yb_1uc8m”,”bot-search-icon-container”:”_yb_1nzim”,”bot-search-item”:”_yb_1xnce”,”bot-search-item-col”:”_yb_yzjhj”,”bot-search-span”:”_yb_dde6m”,history:history,”list-item-hover”:”_yb_17a5t”,lowlight:lowlight,”no-wrap”:”_yb_gflur”,”related-title”:”_yb_1ssok”,sa:sa,”sa-annot-rich”:”_yb_w3tt3″,”sa-annot-subtitle”:”_yb_13j7l”,”sa-annot-title”:”_yb_1iic7″,”sa-edit”:”_yb_zld0r”,”sa-edit-icon”:”_yb_yn8ls”,”sa-edit-text”:”_yb_xnlqm”,”sa-fd-actn-cont”:”_yb_o5hhi”,”sa-grp-hdr”:”_yb_64lg8″,”sa-grp-hdr-title”:”_yb_dzz3h”,”sa-history”:”_yb_1j331″,”sa-img”:”_yb_89t7d”,”sa-img-ctn”:”_yb_153c4″,”sa-img-icon”:”_yb_1dkri”,”sa-item”:”_yb_1uyg8″,”sa-item-title”:”_yb_14w46″,”sa-rich-thumb”:”_yb_12mpf”,”sa-sbx-container”:”_yb_1wp8q”,”sa-sugg”:”_yb_1he2d”,”sa-thumb-icon”:”_yb_144lz”,”sa-tray”:”_yb_1wzp1″,”sa-tray-list-container”:”_yb_1cab4″,”sa-trending”:”_yb_bkdrj”,”sub-assist”:”_yb_f5kvl”,”suggestion-title”:”_yb_17cb2″,trending:trending,”trending-title”:”_yb_oyl49″,”yui3-highlight”:”_yb_dm927″,saConfV1=boldTag:’s‘,customEvent:customBtn:”searchBtnClicked”,customKeyBoard:”enterKeyPressed”,customSelection:”assistSelectionClicked”,elems:sbForm:”ybar-sf”,sbInput:”ybar-sbq”,sbSubmit:”ybar-search”,sbClear:”ybar-sbq-x”,sbCancel:”ybar-search-back-btn”,hightlight:exact:!0,pattern:”^”,minInput:1,sa:css:Css$4[“sa-tray”],saBE:base:””,host:””,params:appid:”yfp-t”,saItem:css:””,saList:css:Css$4[“sa-tray-list-container”],saTitle:css:””,style:display:”block”,plugins:saFr:disable:!0,saTray:afterNode:”ybar-sbq”,ctn:css:Css$4[“sa-sbx-container”],tray:css:Css$4.sa+” “+Css$4.lowlight,saPCActn:css:Css$4[“list-item-hover”],ylcEncode:disable:!0,saFlvr:disable:!0,saEdit:disable:!0,saAnnot:disable:!0,saImg:disable:!0,saPopup:disable:!0,richSAConfV1={saBE:base:””,host:””,params:appid:”yfp-t”,”.crumb”:””,f:1,shBE:host:”https://search.yahoo.com”,base:”https://r.search.yahoo.com/history”,params:_bcrumb:””,minInput:0,plugins:saFlvr:m9:Css$4[“sa-trending”],m13:Css$4[“sa-history”],flvr:Css$4[“sa-sugg”],saEdit:ctn:css:Css$4[“sa-edit”],icon:css:Css$4[“sa-edit-icon”],text:css:Css$4[“sa-edit-text”],text:”Remove”,saAnnot:title:css:Css$4[“sa-annot-title”],subtitle:css:Css$4[“sa-annot-subtitle”],richClass:Css$4[“sa-annot-rich”],tapRmv:placeholder:””,saImg:placeholder:css:Css$4[“sa-img-icon”],thumbnail:css:Css$4[“sa-img”],ctn:css:Css$4[“sa-img-ctn”],saGroup:hdr:css:Css$4[“sa-grp-hdr”],title:css:Css$4[“sa-grp-hdr-title”],grps:m9:text:”Trending Now”,css:Css$4.trending,m13:text:””,css:Css$4.history},richSAConfV1Smartphone={saBE:base:””,host:””,params:appid:”mi5″,”.crumb”:””,f:1,shBE:host:”https://search.yahoo.com”,base:”https://r.search.yahoo.com/history”,params:_bcrumb:””,saItem:css:Css$4[“sa-item”],saTitle:css:Css$4[“sa-item-title”],minInput:0,plugins:saFlvr:m9:Css$4[“sa-trending”],m13:Css$4[“sa-history”],flvr:Css$4[“sa-sugg”],saEdit:ctn:css:Css$4[“sa-edit”],icon:css:Css$4[“sa-edit-icon”],text:css:Css$4[“sa-edit-text”],saAnnot:title:css:Css$4[“sa-annot-title”],subtitle:css:Css$4[“sa-annot-subtitle”],richClass:Css$4[“sa-annot-rich”],tapRmv:placeholder:””,saImg:placeholder:css:Css$4[“sa-img-icon”],wrap:css:Css$4[“sa-thumb-icon”],thumbnail:css:Css$4[“sa-img”],ctn:css:Css$4[“sa-img-ctn”],richClass:Css$4[“sa-rich-thumb”],showIconOnImgLoad:!0,saGroup:hdr:css:Css$4[“sa-grp-hdr”],title:css:Css$4[“sa-grp-hdr-title”],grps:m9:text:”Trending Now”,css:Css$4.trending,m13:text:””,css:Css$4.history},bottomSearch=function(e,n,t)””,d.textContent=n,u.textContent=p[1],_getQueryStringByName=function(e)var n=new RegExp(“[?&]”+e+”=([^]*)”).exec(window.location.search);return n?n[1]:null,_getFrValueByMode=function(e,n,t)r),r,_getFr2ValueByMode=function(e,n,t,i,o)”smartphone”!==n&&!!document.querySelector(“.modal-open”),r=e.querySelector(‘input[name=”fr2″]’);if(r)s=r.value;var c=r.dataset&&r.dataset.savalue,l=r.dataset&&r.dataset.modalsb,d=r.dataset&&r.dataset.modalsa;t?s=a&&d?d:c:a&&l&&(s=l),i&&o&&(s=””.concat(s,”,ct:”).concat(i,”,kt:”).concat(o))return s,_getTsrcValueByMode=function(e,n)void 0===n&&(n=!1);var t=null,i=e.querySelector(‘input[name=”.tsrc”]’);if(i)t=i.value;var o=i.dataset&&i.dataset.savalue;n&&o&&(t=o)return t,_setInputValues=function(e,n,t)var i=e.querySelectorAll(n);if(i)for(var o=0;os‘,clearButtonId:”ybar-sbq-x”,suppressEmptyQuery:!0,anykey:!0,autofocus:!0,enableYlc:!1,fr2:”sa-gp-ybar”,searchBoxId:”ybar-sbq”,cssClass:container:Css$4[“sa-sbx-container”],trayContainer:Css$4.sa+” “+Css$4.lowlight,tray:Css$4[“sa-tray”],traySub:Css$4[“sa-tray”]+” “+Css$4[“sub-assist”]+” “+Css$4[“no-wrap”],ul:Css$4[“sa-tray-list-container”],liHighlight:Css$4[“list-item-hover”],li:””,span:””,text:””,aria:””,actionContainer:Css$4[“sa-fd-actn-cont”],relatedSearches:Css$4[“related-title”],trendingNow:Css$4[“trending-title”],YbRapid=getAugmentedNamespace(rapid),nativeAssist=createCommonjsModule((function(e){var n=function(e,n)var t=function()if(“Microsoft Internet Explorer”===e.navigator.appName)var n=new RegExp(“MSIE ([0-9]1,[.0-9]0,)”).exec(e.navigator.userAgent);return n&&n[1]&&parseFloat(n[1])return!1();function i(e,n)e.prototype=Object.create?Object.create(n.prototype):function(e)function n()return n.prototype=e,new n(n.prototype),e.prototype.constructor=efunction o(e)\s+$/gm,””)function s(e)if(t&&ts”,annotation:,cssClass:container:”sa-sbx-container”,trayContainer:”sa lowlight”,tray:”sa-tray”,traySub:”sa-tray sub-assist no-wrap”,ul:”sa-tray-list-container”,liHighlight:”list-item-hover”,li:””,span:””,text:””,aria:”sa-aria-live-region”,actionContainer:”sa-fd-actn-cont”,relatedSearches:”related-title”,trendingNow:”trending-title”,text:relatedSearches:”Related Searches”,trendingNow:”Trending Now”,ariaShown:”new suggestions shown”,ariaClosed:”Suggestion box closed”,customEvent:!1,suppressEmptyQuery:!1,enableAnnotation:!1,enableIpos:!0,subAssist:!0,subTrayDelta:5,trayPadding:12,debug:!1,objectName:”SA”,anykey:!1,clearBeaconing:!1,enableYlc:!0,autofocus:!1,highlight:pattern:””,exact:!1,minQueryLength:0,enableTabRender:!0return e.YAHOO=e.YAHOO||,c.prototype=set:function(e,n,t)e.setAttribute(n,t),get:function(e,n)return e.getAttribute(n),merge:function e(n,t)for(var i in t)”object”==typeof t[i]&&”object”==typeof n[i]?e(n[i],t[i]):n[i]=t[i],extend:i,buildUrl:function(e,n)var t=[];for(var i in n)n.hasOwnProperty(i)&&t.push(encodeURIComponent(i)+”=”+encodeURIComponent(n[i]));return t.length>0&&(e=e+(-1===e.indexOf(“?”)?”?”:”&”)+t.join(“&”)),e,stopPropagation:function(e)e.returnValue=!1,e.cancelBubble=!0,e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),setFocus:function(e)s(e),a(e),cursorEnd:s,select:function(e,n,i)if(t&&t\&]/gim,(function(e)return””+e.charCodeAt(0)+”;”)),ae:function(e,n,t,i)if(i,de:function(e,n,t)if(e.removeEventListener)e.removeEventListener(n,t);elseif(!e.detachEvent)return!1;e.detachEvent(“on”+n,t),ts:function()return Math.round((new Date).getTime()/1e3),bold:function(e,n,t,i)var o,s,a=(i.pattern?i.pattern:””)+”(&[^;\\s]*)?(%needles)”;return(o=i.exact?[r(t)]:t.split(/[\s,debug:function(n)this.config.debug&&e.console&&e.console.log&&e.console.log(n),i(l,c),l.prototype.init=function(t,i)var o=this;if(this.saModel=i,this.config=t,this.clearButton=this.clearButton,l.prototype.getWidth=function(e,t)var i,o=p:e,t:this.config.boldTag.replace(“s”,this.htmlEncode(e)),idx:0,s=n.createElement(“div”);s.className=this.config.cssClass.container;var a=n.createElement(“div”);a.className=this.config.cssClass.trayContainer,s.appendChild(a);var r=n.createElement(“div”);r.className=this.config.cssClass.traySub,r.style.left=”-9999px”,a.appendChild(r);var c=n.createElement(“ul”);c.className=this.config.cssClass.ul,r.appendChild(c);var l=this.createItem(o);t&&((i=n.createElement(“span”)).innerHTML=t,l.suggestionSpan.appendChild(i)),c.appendChild(l.li),this.searchbox.parentNode.insertBefore(s,this.searchbox.nextSibling);var d=l.suggestionSpan.clientWidth+this.config.subTrayDelta;return s.outerHTML=””,d,l.prototype.display=function(t){var i=t.data,o=t.sqpos,s=t.hiddenNeedle,a=this,r=;this.hide(),this.selectedItem=!1,this.tray=n.createElement(“div”),this.set(this.tray,”type”,”normal”),this.tray.className=this.config.cssClass.tray,o&&this.config.subAssist&&(this.tray.className=this.config.cssClass.traySub,this.tray.style.left=this.getWidth(s)+”px”),this.ul=n.createElement(“ul”),this.ul.className=this.config.cssClass.ul,this.set(this.ul,”role”,”listbox”),this.tray.appendChild(this.ul),this.itemList=[],this.config.ylcParam.n_sugg=a.saModel.ylc.n_sugg,i.forEach((function(t)var i;if(t.idx=a.itemList.length,4===t.m&&a.config.text.trendingNow&&!r.trending)var s=n.createElement(“span”);s.className=a.config.cssClass.trendingNow,s.innerHTML=a.config.text.trendingNow,a.ul.appendChild(s),r.trending=!0var c=a.createItem(t);!o&&a.config.enableAnnotation&&t.m&&a.config.annotation[t.m]&&t.fd&&(i=a.getItemAnnotation(t,c.suggestionSpan))&&c.suggestionSpan.appendChild(i),a.ul.appendChild(c.li),a.itemList.push(c.li),a.ae(c.li,”mouseenter”,(function(e)a.resetHighlight(),c.li.className=a.config.cssClass.li+” “+a.config.cssClass.liHighlight,a.selectedItem=t.idx)),a.ae(c.li,”mouseleave”,(function(e)c.li.className=a.config.cssClass.li)),a.ae(c.li,”click”,(function(i)i.srcElement;a.saModel.ylc.pos=t.idx+1,a.saModel.ylc.pqstr=o,a.saModel.ylc.pqstrl=o.length,a.saModel.ylc.use_case=””,a.formTag.fr2&&(a.formTag.fr2.value=a.config.fr2),a.searchbox.value=t.p,s.tagName&&”a”===s.tagName.toLowerCase()&&(a.searchbox.value=a.get(s,”data”),a.saModel.ylc.use_case=s.innerHTML),a.hide(),a.saModel.addYlc(a.saModel.clickTarget),a.config.customEvent?(a.saModel.addYlk(s),function(t,i,o)var s;”function”==typeof e.CustomEvent?(s=new e.CustomEvent(i,detail:o),t.dispatchEvent(s)):”function”==typeof n.createEvent?((s=n.createEvent(“CustomEvent”)).initCustomEvent(i,!1,!1,o),t.dispatchEvent(s)):(n.attachEvent,document.documentElement[i]=o)(a.searchbox,”assistSelection”,data:t)):a.suggestionClick(i,t))))),this.aria&&(this.set(this.aria,”aria-expanded”,”true”),this.aria.innerHTML=”

    “+a.itemList.length+” “+this.config.text.ariaShown+”

    “),this.show()},l.prototype.suggestionClick=function(e,n)this.formTag.submit(),l.prototype.show=function()this.shown=!0,this.resetHighlight(),this.trayContainer.appendChild(this.tray),l.prototype.hide=function()this.aria&&(this.set(this.aria,”aria-expanded”,”false”),this.aria.innerHTML=”

    “+this.config.text.ariaClosed+”

    “),this.shown=!1,this.resetHighlight(),this.trayContainer.innerHTML=””,l.prototype.resetHighlight=function()!1!==this.selectedItem&&this.itemList.length&&(this.itemList[this.selectedItem].className=this.config.cssClass.li),l.prototype.resetHightlight=l.prototype.resetHighlight,l.prototype.tab=function(),l.prototype.moveUpDown=function(e)!this.itemList.length)&&(this.resetHighlight(),e?!1===this.selectedItem,l.prototype.createItem=function(e)var t=n.createElement(“li”),i=this;if(t.className=this.config.cssClass.li,this.set(t,”pos”,e.idx),this.set(t,”role”,”option”),this.config.formatResult)var o=this.config.ylcVal;o&&(o=o.replace(“cposV”,e.idx),i.config.ylcParam&&(o=o.replace(“t9Val”,i.config.ylcParam.n_sugg)),this.set(t,”data-ylk”,o)),this.set(t,”data-position”,e.idx)i.set(t,”data”,e.p);var s=n.createElement(“span”);s.className=i.config.cssClass.span,s.style.display=”block”,t.appendChild(s);var a=n.createElement(“span”);return a.className=i.config.cssClass.text,a.innerHTML=e.t,s.appendChild(a),li:t,suggestionSpan:s,l.prototype.getItemAnnotation=function(e),a=this.config.cssClass,r=e.fd,c=””,l=””,d=this.searchbox.clientWidth-2*this.config.trayPadding;if(s.subtitle&&r.subtitle)if(l=s.subtitle.replace(“subtitle”,this.htmlEncode(r.subtitle)),!(this.getWidth(e.p,l)‘+l+””)>d)l=””;breakl&&(c+=’‘+l+”“)return c&&((t=n.createElement(“span”)).innerHTML=c),t,i(d,c),d.prototype.unset=function()this.triggered=!1,this.saView.hide(),d.prototype.jsonp=function(e,t)var i=command:this.saView.searchbox.value,t_stmp:this.ts(),callback:”YAHOO.”+this.config.objectName+”.cb.”+e;this.merge(i,this.config.gossipParam),t&&this.merge(i,t);var o=this.buildUrl(this.config.saBase,i),s=n.getElementsByTagName(“head”)[0],a=n.createElement(“script”);this.set(a,”type”,”text/javascript”),this.set(a,”src”,o),s.appendChild(a),this.ae(a,”load”,(function()s.removeChild(a))),d.prototype.read=function(e)var n,t=this,i=[],o=e.sqpos,s=e.q=e.q,d.prototype.fetch=function()var e,n=this.saView.searchbox,t=this,i=null,s=t.lastValue===t.saView.searchbox.value;if(t.config.suppressEmptyQuery&&””==o(n.value))return t.unset(),!0;if(t.saView.shown&&s)return!0;if(this.config.enableIpos&&!s&&void 0!==t.lastValue&&((e=this.getCursorPosition())===n.value.length&&(e=null),null!==e&&(i=ipos:e)),t.lastValue=t.saView.searchbox.value,this.config.minQueryLength&&this.saView.searchbox.value.lengththis.config.max)return this.unset(),!0;this.triggered=!0,this.callBackIdx++;var a=”sacb”+this.callBackIdx;for(var r in t.cbTable)t.cbTable.hasOwnProperty(r)&&(t.cbTable[r]=function());this.cbTable[a]=function(e)),t.cbTable[a]=function(),this.jsonp(a,i),d.prototype.getCursorPosition=function()var e,t=this.saView.searchbox,i=null;return”number”==typeof t.selectionStart?i=t.selectionStart:n.selection&&(t.focus(),(e=n.selection.createRange()).moveStart(“character”,-n.activeElement.value.length),i=e.text.length),i,d.prototype.addYlc=function(e)var n=encodeURIComponent(this.saView.searchbox.value);this.ylc.query=n,this.ylc.qstrl=n.length,this.ylc.t_stmp=this.ts(),this.config.enableYlc&&this.ULT?this.saView.formTag.action=this.ULT.y64_token(“ylc”,e,this.ylc):this.debug(“YLC logging is disabled”),d.prototype.addYlk=function(e)var n=this,t=[];if([“gprid”,”query”,”pqstr”].forEach((function(e)e in n.ylc&&t.push(e+”:”+n.ylc[e]))),n.config.ylcVal=n.config.ylcVal+”;”+t.join(“;”),e)var i=n.get(e,”data-ylk”)+”;”+t.join(“;”);n.set(e,”data-ylk”,i),d.prototype.init=function(n)(this.debug(“ULT library is missing. Disabling ylc logging”),this.config.enableYlc=!1),this.ylc=,this.merge(this.ylc,this.config.ylcParam),this.clickTarget=this.config.clkLink?this.config.clkLink:this.saView.formTag.action,this.submitTarget=this.saView.formTag.action,!0,i(u,c),u.prototype.init=function(i)t>=9?this.ae(this.saView.searchbox,”input”,(function(e)s.saModel.fetch())):8===t&&this.ae(this.saView.searchbox,”propertychange”,(function(e)”value”===e.propertyName&&!1===s.saView.selectedItem&&s.saModel.fetch())),s.config.anykey&&this.ae(n,”keydown”,(function(e)s.lastValue!==s.saView.searchbox.value&&!1===s.saView.selectedItem&&s.saModel.fetch();this.ae(this.saView.searchbox,”focus”,(function(e)!s.saModel.triggered&&s.saModel.fetch(),t&&9===t&&!s.ie9_attached&&(s.ae(n,”selectionchange”,a),s.ie9_attached=!0))),this.ae(this.saView.searchbox,”blur”,(function(e)t&&9===t&&s.ie9_attached&&(s.de(n,”selectionchange”,a),s.ie9_attached=!1))),this.ae(this.saView.searchbox,”click”,(function(e)!s.saModel.triggered&&s.saModel.fetch()));var r=function(e)if(s.saView.shown)for(var n=e.target?e.target:e.srcElement;n;)if(n===s.saView.formTag)return;n=n.parentNodes.config.touchOriented&&s.stopPropagation(e),s.saModel.unset();return”ontouchstart”in e?(this.config.touchOriented=!0,this.ae(n.body,”touchstart”,r,!0)):this.ae(n,”click”,r),this.ae(this.saView.formTag,”submit”,(function(e)s.saModel.addYlc(s.saModel.submitTarget))),this.saView.clearButton&&this.ae(this.saView.clearButton,”click”,(function(e)if(s.saView.searchbox.value=””,s.saModel.triggered=!1,s.setFocus(s.saView.searchbox),s.config.enableYlc&&s.config.clearBeaconing&&s.saModel.ULT)var n=_r:2,actn:”clk”,pos:1,sec:”clearsearch”,slk:”clear”,t1:”hdr”,t2:”searchbox”,t3:”clear”;s.merge(n,s.config.clrLog),s.saModel.ULT.beacon_click(n))),!0},i(p,c),p.prototype.saModelClass=d,p.prototype.saViewClass=l,p.prototype.saControlClass=u,p.prototype.init=function(i){return!(t&&t

    clicktravel.my.id | Newsphere by AF themes.