PageSourceSearch

https://salentu.com/_next/static/chunks/pages/search/ytrends/[...page-name]-985b1c038ea2d8f4.js

js salentu.com collected 2026-10-02 20:14:29 UTC 49,132 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[497],{520:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search/ytrends/[...page-name]",function(){return o(8790)}])},2907:function(e,t,o){"use strict";var n=o(5893),i=o(7294);let Header=class Header extends i.Component{render(){let e=this.props;return(0,n.jsx)("header",{className:e.styles.header,children:e.children})}constructor(e){super(e)}};t.Z=Header},7349:function(e,t,o){"use strict";var n=o(5893);t.Z=e=>{let t=(null==e?void 0:e.loadingText)||null;return(0,n.jsxs)("div",{className:"loader ".concat(e.className),children:[t&&(0,n.jsx)("div",{className:"loaderText",children:t}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{id:"a"}),(0,n.jsx)("li",{id:"b"}),(0,n.jsx)("li",{id:"c"}),(0,n.jsx)("li",{id:"d"}),(0,n.jsx)("li",{id:"e"}),(0,n.jsx)("li",{id:"f"}),(0,n.jsx)("li",{id:"g"}),(0,n.jsx)("li",{id:"h"}),(0,n.jsx)("li",{id:"i"})]})]})}},3636:function(e,t,o){"use strict";var n=o(5893),i=o(7294),s=o(4096),l=o(2270),d=o(2907),a=o(9598),c=o(7251),r=o.n(c),_=o(4145),v=o(1876).Buffer;t.Z=e=>{var t,o,c,u;let{router:h,context:y,nosy:m=!1,showMenu:b=!0,searchName:p,searchAction:g,searchPlaceholder:k,searchLabel:f,logoOnClick:w}=e,[x,S]=(0,i.useState)(""),j=null==h?void 0:h.locale,R=m?r().logoHorizontal:r().logo,T=w||(m?()=>{}:()=>{window.scrollTo({top:0,behavior:"smooth"}),h.push("/")}),N=void 0!==k?k:null===_.Z||void 0===_.Z?void 0:null===(o=_.Z.SEARCH)||void 0===o?void 0:null===(t=o[j])||void 0===t?void 0:t.PLACEHOLDER,I=void 0!==f?f:null===_.Z||void 0===_.Z?void 0:null===(u=_.Z.SEARCH)||void 0===u?void 0:null===(c=u[j])||void 0===c?void 0:c.LABEL;return(0,n.jsxs)(d.Z,{styles:r(),children:[(0,n.jsx)(s.Z,{className:R,forcedShow:m?"horizontal":void 0,onClick:T}),!m&&(0,n.jsx)(l.Z,{id:"header-search",className:r()["search-box"],value:x,onChange:e=>{S(e.target.value)},onSearch:e=>{let t=0!==location.search.length?location.search.substr(1):"",o=new URLSearchParams(t);o.set("enc","b64"),o.set("qy",v.from(x).toString("base64")),h.push("/search/?".concat(o.toString()))},label:I,placeholder:N,...p?{name:p}:{},...g?{action:g}:{}}),!m&&b&&(0,n.jsx)(a.Oq,{className:r()["menu-icon"],onClick:()=>{var e;return null==y?void 0:null===(e=y.fn)||void 0===e?void 0:e.onToggleMenu()}})]})}},3846:function(e,t,o){"use strict";o.d(t,{Z:function(){return Stars}});var n=o(5893),i=o(7294),s=o(5697),l=o.n(s),d=o(7632);function Star(e){let{rating:t,styles:o}=e,[s,l]=(0,i.useState)();return(0,i.useEffect)(()=>
1{l((0,d.Z)())},[]),(0,n.jsxs)("svg",{className:null==o?void 0:o.star,viewBox:"60 -62 309 309",children:[(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:s,x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[(0,n.jsx)("stop",{offset:"0%",className:null==o?void 0:o.full}),(0,n.jsx)("stop",{offset:"".concat(100*t,"%"),className:null==o?void 0:o.full}),(0,n.jsx)("stop",{offset:"".concat(100*t,"%"),className:null==o?void 0:o.empty}),(0,n.jsx)("stop",{offset:"100%",className:null==o?void 0:o.empty})]})}),(0,n.jsx)("polygon",{fill:"url(#".concat(s,")"),points:"281.1,129.8 364,55.7 255.5,46.8 214,-59 172.5,46.8 64,55.4 146.8,129.7 121.1,241 212.9,181.1 213.9,181 306.5,241"})]})}function Stars(e){let{stars:t,styles:o}=e,i=[];for(let e=0;e<5;e++){let s=Math.min(Math.max(0,t-e),1);i.push((0,n.jsx)(Star,{styles:o,rating:s},"star-".concat(e)))}return(0,n.jsxs)("div",{className:"".concat(null==o?void 0:o.stars),children:[i,t]})}Stars.propTypes={stars:l().number.isRequired,styles:l().object},Star.propTypes={rating:l().number.isRequired,styles:l().object}},8790:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSP:function(){return A}});var n=o(5893),i=o(7294),s=o(1163),l=o(9755),d=o.n(l),a=o(488),c=o.n(a),r=o(2689),_=o(4096),v=o(7349),u=o(2270),h=o(9044),y=o(9598),m=o(3846),b=o(3636),p=o(193),g=o.n(p),k=o(3740),f=o.n(k),w=o(8678),x=o.n(w),S=o(2785),j=o.n(S),R=o(4554),T=o.n(R),N=o(7632),I=o(4145),E=o(7093),L=o(355),C=o(1876).Buffer;let LoaderAd=()=>(0,n.jsxs)("div",{className:"lds-loader",children:[(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{}),(0,n.jsx)("div",{})]});let TrendsPage=class TrendsPage extends i.Component{async componentDidMount(){var e,t,o,n;console.log("Y Trends did mount");let{props:i}=this;this.setState({isCampaign:!!(null===(e=i.router.query)||void 0===e?void 0:e.utm_campaign)}),this.sendAnalyticsEvent("Trends",{event_category:"Stat",event_label:"page_view"}),this.sendAnalyticsEvent("Stat",{event_category:"PageView"});let s=await (0,E.En)().catch(e=>{console.log(e),this.setState({device:"mobile"})});(null==s?void 0:s.device)||(s.device="mobile"),await this.getDataKA(s),this.setState({device:null==s?void 0:s.device}),window.addEventListener("popstate",this.onChangeHistory.bind(this)),i.router.events.on("routeChangeStart",()=>{this.setState({trend_selected:null,keyword_selected:null})});let l=0!==location.search.length?location.search.substr(1):"",d=new URLSearchParams(l),a=d.get("utm_source")||"",c=d.get("utm_st")||"",r=await (0,E.Qw)({source:a,wf:"ytrends",partner:c}).catch(e=>console.log("yahoo init source tag",e));try{let e=(null===(o=this.state)||void 0===o?void 0:null===(t=o.trend_selected)||void 0===t?void 0:t.keywords.flatMap(e=>e.key).join(","))||(null===(n=this.props.data)||void 0===n?void 0:n.trends.keywords.flatMap(e=>e.key).join(","));console.log("Init xmlp:",r[a||"organic"],e),window.xmlp.init({source_tag:r[a||"organic"],ykws:e})}catch(e){console.log("window.xmlp.init",e)}try{(0,E.VC)(e=>{console.log("Detected AB",e),e&&this.sendAnalyticsEvent("Trends",{event_category:"Stat",event_label:"adblocker"})})}catch(e){console.log("detectAdblock error",e)}}handleLeadAd(e){var t,o,n,i,s,l,d,a,c,r,_,v,u,h,y,m,b,p,g,k,f;let{state:w,props:x}=this,{router:S}=x,j=0!==location.search.length?location.search.substr(1):"",R=new URLSearchParams(j),T=(null==S?void 0:null===(t=S.query)||void 0===t?void 0:t.en)||"lead";this.sendAnalyticsEvent("IconBrowsing",{event_category:"Stat",event_label:"ad_clicked"});let N={value:null===(o=({rpc:(null===(n=w.keyword_selected)||void 0===n?void 0:n.rpc)||0}).rpc)||void 0===o?void 0:o.toFixed(2),currency:"EUR"};this.sendAnalyticsEvent(w.keyword_selected.key,{event_category:this.state.fbKeyCalled?"ClarityLead-Fallback":"ClarityLead",event_label:(0,E.Q8)()?"on":"off"}),this.sendAnalyticsEvent(w.keyword_selected.key,{event_category:"Lead",event_label:R.get("mkt"),...N}),w.fbKeyCalled&&this.sendAnalyticsEvent(w.keyword_selected.key,{event_category:"Lead-Fallback",event_label:R.get("mkt")});let L=null==S?void 0:null===(i=S.query)||void 0===i?void 0:i.utm_source,C="",A={};switch(null==S?void 0:null===(s=S.query)||void 0===s?void 0:s.conv){case"vc":C="ViewContent",A={currency:"EUR",value:Number(this.state.averageRpc)};break;case"pc":C="Purchase",A={currency:"EUR",value:Number(this.state.averageRpc)};break;default:C="Lead",A={currency:"EUR",value:Number(this.state.averageRpc)}}let P=("lead"===T||"Lead"===C||"Purchase"===C)&&Number(Number(this.state.averageRpc))>0&&"EUR";
1switch(L){case"fb":this.sendFacebookEvent(C,P?{value:Number(this.state.averageRpc),currency:"EUR"}:A,"track",(null==S?void 0:null===(l=S.query)||void 0===l?void 0:l.pid)||(null===I.Z||void 0===I.Z?void 0:null===(d=I.Z.PIXEL)||void 0===d?void 0:d.fb));break;case"tb":this.sendTaboolaEvent((null==S?void 0:null===(a=S.query)||void 0===a?void 0:a.pid)||(null===I.Z||void 0===I.Z?void 0:null===(c=I.Z.PIXEL)||void 0===c?void 0:c.tb),"lead",P?Number(this.state.averageRpc):null);break;case"ob":this.sendOutbrainEvent("ObLead",P?Number(this.state.averageRpc):null);break;case"tt":this.sendTiktokEvent("lead"===T?"Subscribe":capitalize(T||""),(null==S?void 0:null===(r=S.query)||void 0===r?void 0:r.pid)||(null===I.Z||void 0===I.Z?void 0:null===(_=I.Z.PIXEL)||void 0===_?void 0:_.tt),{query:w.keyword_selected.key,currency:"EUR",value:Number(this.state.averageRpc),contents:[{content_id:this.state.styleId,content_type:"product",content_name:this.state.keyword_selected.key,content_category:"yicons"}]}),"lead"===T&&this.sendTiktokEvent("Purchase",(null==S?void 0:null===(v=S.query)||void 0===v?void 0:v.pid)||(null===I.Z||void 0===I.Z?void 0:null===(u=I.Z.PIXEL)||void 0===u?void 0:u.tt),{query:w.keyword_selected.key,currency:"EUR",value:Number(this.state.averageRpc),contents:[{content_id:this.state.styleId,content_type:"product",content_name:this.state.keyword_selected.key,content_category:"yicons"}]});break;default:this.sendFacebookEvent("Lead",P?{value:Number(this.state.averageRpc),currency:"EUR"}:A,"track",(null==S?void 0:null===(h=S.query)||void 0===h?void 0:h.pid)||(null===I.Z||void 0===I.Z?void 0:null===(y=I.Z.PIXEL)||void 0===y?void 0:y.fb)),this.sendTaboolaEvent((null==S?void 0:null===(m=S.query)||void 0===m?void 0:m.pid)||(null===I.Z||void 0===I.Z?void 0:null===(b=I.Z.PIXEL)||void 0===b?void 0:b.tb),"lead",P?Number(this.state.averageRpc):null),this.sendOutbrainEvent("ObLead",P?Number(this.state.averageRpc):null),this.sendTiktokEvent("lead"===T?"Subscribe":capitalize(T||""),(null==S?void 0:null===(p=S.query)||void 0===p?void 0:p.pid)||(null===I.Z||void 0===I.Z?void 0:null===(g=I.Z.PIXEL)||void 0===g?void 0:g.tt),{query:w.keyword_selected.key,currency:"EUR",value:Number(this.state.averageRpc),contents:[{content_id:this.state.styleId,content_type:"product",content_name:this.state.keyword_selected.key,content_category:"yicons"}]}),"lead"===T&&this.sendTiktokEvent("Purchase",(null==S?void 0:null===(k=S.query)||void 0===k?void 0:k.pid)||(null===I.Z||void 0===I.Z?void 0:null===(f=I.Z.PIXEL)||void 0===f?void 0:f.tt),{query:w.keyword_selected.key,currency:"EUR",value:Number(this.state.averageRpc),contents:[{content_id:this.state.styleId,content_type:"product",content_name:this.state.keyword_selected.key,content_category:"yicons"}]})}}async getDataKA(e,t){var o,n,i,s,l;let{state:d,props:a}=this,c=null==a?void 0:a.data,r=0!==location.search.length?location.search.substr(1):"",_=new URLSearchParams(r);if((null===(o=c.config)||void 0===o?void 0:o.ka)&&(t||(null===(n=d.trend_selected)||void 0===n?void 0:n.term))){let o={mkt:_.get("mkt")||(null==e?void 0:e.country),device:null==e?void 0:e.device,source:_.get("utm_source"),term:t||(null===(i=d.trend_selected)||void 0===i?void 0:i.term),campaign_id:_.get("utm_campaign"),language:(null===(s=a.context)||void 0===s?void 0:s.locale)||(null===(l=c.config)||void 0===l?void 0:l.language)||null},n=await (0,E.au)(o);try{let t=("string"==typeof n?JSON.parse(C.from(n,"base64").toString()):[]).map(e=>{let t=null==e?void 0:e.keyword;return null==e||delete e.keyword,{...e,key:t}}).sort((e,t)=>t.percentage-e.percentage).slice(0,10);Array.isArray(t)&&0===t.length||"object"==typeof n?(o.mkt&&o.device&&o.source&&o.term&&o.campaign_id?this.sendAnalyticsEvent("KA",{event_category:"Stat",event_label:"params_no_data"}):this.sendAnalyticsEvent("KA",{event_category:"Stat",event_label:"missing_params_no_data"}),this.setState({loaderVisible:!1})):this.setState({trend_selected:{...d.trend_selected,keywords:t},ka:t,device:null==e?void 0:e.device},()=>{this.sendAnalyticsEvent("KA",{event_category:"Stat",event_label:"available"}),setTimeout(()=>this.setState({loaderVisible:!1}),500)})}catch(e){console.log(e),this.sendAnalyticsEvent("KA",{event_category:"Stat",event_label:"no_data"})}}else this.setState({loaderVisible:!1})}loadBeacon(e){let t=document.createElement("img");t.height=1,t.width=1,t.src="".concat(e),document.body.appendChild(t)}selectTierInit(e){let{router:t}=this.props,{source_tag:o,ysid:n,cid:i,ig:s,cyId:l,rguid:d}=e;if(window.selectTier.init){var a,c,r;window.selectTier.init({source_tag:o,ysid:n,cid:i,ig:s,select_tier:{clarityId:l,rguid:d},test_mode:null===(a=t.query)||void 0===a?void 0:a.cyt}),(null===(c=t.query)||void 0===c?void 0:c.cyt)&&console.log("selectTier init",JSON.stringify({source_tag:o,ysid:n,cid:i,ig:s,select_tier:{clarityId:l,rguid:d},test_mode:null===(r=t.query)||void 0===r?void 0:r.cyt}))}}async getYahooFeed(e){var t,o,n,i,s,l,d,a;let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},{router:r}=this.props,_=this.props.data,v=_.config.ads_results||1,u=0!==location.search.length?location.search.substr(1):"",h=new URLSearchParams(u),y=h.get("utm_campaign")||"",m=h.get("utm_source")||"",b=h.get("utm_st")||"",p=h.get("mkt")||(null==_?void 0:null===(t=_.config)||void 0===t?void 0:t.mkt),g=h.get("conv"),k=null==e?void 0:e.key,f=document.location.href,w=h.get("utm_nsite")||"nosite",x=h.get("utm_nsite_id")||"nd";if(k){let t=await (0,E.Qw)({campaign:y,source:m,partner:b,q:k,mkt:p,num:v,related_search:!0,cy:!0,wf:"ytrends",mock:!1,referer:f,nsite:w,nsite_id:x}).catch(e=>console.log(e));(null==t?void 0:t.beacon_img_url)&&this.loadBeacon(t.beacon_img_url),(null==t?void 0:t.select_tier)&&this.selectTierInit(null==t?void 0:t.select_tier),(null==t?void 0:t.data)&&Array.isArray(t.data)&&0!==t.data.length?(this.sendAnalyticsEvent(k,{event_category:this.state.fbKeyCalled?"ClarityImpression-Fallback":"Clarity
1Impression",event_label:(0,E.Q8)()?"on":"off"}),this.sendAnalyticsEvent(k,{event_category:this.state.fbKeyCalled?"Impression-Fallback":"Impression",event_label:p}),this.sendFacebookEvent("Impression",{content_name:location.pathname,currency:"EUR",value:Number(this.state.averageRpc)},"trackCustom",(null==r?void 0:null===(o=r.query)||void 0===o?void 0:o.pid)||(null===I.Z||void 0===I.Z?void 0:I.Z.PIXEL.fb)),this.sendTiktokEvent("ViewContent",(null==r?void 0:null===(n=r.query)||void 0===n?void 0:n.pid)||(null===I.Z||void 0===I.Z?void 0:null===(i=I.Z.PIXEL)||void 0===i?void 0:i.tt),{query:k,currency:"EUR",value:Number(this.state.averageRpc)*((null===I.Z||void 0===I.Z?void 0:null===(l=I.Z.AVERAGE_RPC)||void 0===l?void 0:null===(s=l.values)||void 0===s?void 0:s.viewContent)||1),contents:[{content_id:this.state.styleId,content_type:"product",content_name:this.state.keyword_selected.key,content_category:"yicons"}]}),g&&"vc"===g||this.sendFacebookEvent("ViewContent",{content_name:location.pathname,currency:"EUR",value:Number(this.state.averageRpc)},"track",(null==r?void 0:null===(d=r.query)||void 0===d?void 0:d.pid)||(null===I.Z||void 0===I.Z?void 0:I.Z.PIXEL.fb)),t.data.forEach(e=>{let t=!1;try{var o,n,i;t=null===(i=e.Extensions[0])||void 0===i?void 0:null===(n=i.PartnerOptOut[0])||void 0===n?void 0:null===(o=n.IsAllowed)||void 0===o?void 0:o.includes("1")}catch(e){}this.sendAnalyticsEvent("YahooPartnerOptOut",{event_category:"Stat",event_label:t})}),setTimeout(()=>{this.setState({keyword_selected:{...this.state.keyword_selected,response:t.data.slice(0,_.config.ads_results||1)}},()=>{this.setState({ads_box_animation:!0},()=>{setTimeout(()=>{this.setState({keyword_selected:{...this.state.keyword_selected,loader:!0}},()=>c(t))},1e3)})})},1e3)):(t=[],console.log('Yahoo Feed no results for "'.concat(k,'"')),this.sendAnalyticsEvent(p,{event_category:"NoResults",event_label:k}),this.setState({ka:(this.state.ka||[]).filter(t=>t.key!==e.key),keyword_selected:{...this.state.keyword_selected,response:null===(a=this.props.data.config)||void 0===a?void 0:a.no_results_msg},fbKeyCalled:!0,loaderVisible:!1},()=>{var t;this.state.fbKey&&(null===(t=this.state)||void 0===t?void 0:t.keyword_selected.length)!==0&&setTimeout(()=>{var t;this.callAPI(null,{keywords:((null===(t=this.state)||void 0===t?void 0:t.keyword_selected)||[]).filter(t=>t.key!==e.key)})},0)}))}else this.setState({loaderVisible:!1})}callSerp(e){var t,o;let n=null===(t=this.props)||void 0===t?void 0:t.data,i=this;if((null===(o=n.config)||void 0===o?void 0:o.serp_results)===0||this.state.isCampaign)return new Promise(e=>e());let s=0!==location.search.length?location.search.substr(1):"",l=new URLSearchParams(s);return history.pushState({link:"".concat(location.pathname,"?").concat(l.toString())},document.title,"".concat(location.pathname,"?").concat(l.toString())),this.sendAnalyticsEvent("page_view"),new Promise((t,o)=>{var s;(0,E.af)("google",e.key,l.get("hl")||(null===(s=n.config)||void 0===s?void 0:s.language)||"en",n.config.serp_results||2).then(o=>{o&&Array.isArray(o)?(t(),this.setState({serpResults:o})):(console.warn("getSerpResults","Data not found"),this.sendAnalyticsEvent("NoResults",{event_category:"Serp",event_label:e.key}),this.setState({current_keyword:{...i.state.current_keyword,loader:!1},serpResults:""}))}).catch(t=>{o(t),console.error(t),this.sendAnalyticsEvent("NoResults",{event_category:"Serp",event_label:e.key}),i.setState({current_keyword:{...i.state.current_keyword,data:"",loader:!1}})})})}callAPI(e,t){var o;let{props:n}=this,i=n.data,{ka:s}=this.state,l=(null==i?void 0:null===(o=i.config)||void 0===o?void 0:o.ka)&&Array.isArray(s)&&0!==s.length;this.sendAnalyticsEvent("Trends",{event_category:"Stat",event_label:"second_step_clicked"}),l&&this.sendAnalyticsEvent("KA",{event_category:"Stat",event_label:"active"}),this.setState({fbKeyCalled:!e&&this.state.fbKeyCalled},()=>{var e;this.callSerp(t).catch(e=>console.log("callSerp",e)),this.setState({averageRpc:(null===(e=this.state.keyword_selected)||void 0===e?void 0:e.rpc)||0,styleId:(0,E.Bg)(this.state.keyword_selected.key)},()=>{this.getYahooFeed(t,e=>{console.log("Init xmlp:",e.select_tier.source_tag,e.select_tier.ysid,t.key);try{window.xmlp.init({source_tag:e.select_tier.source_tag,ysid:e.select_tier.ysid,ykws:(null==t?void 0:t.key)||""})}catch(e){console.log("window.xmlp.init",e)}})})})}onChangeHistory(e){return this.state.keyword_selected?this.setState({keyword_selected:null},()=>setTimeout(()=>window.scrollTo({top:0,behavior:"smooth"}),500)):this.state.trend_selected?this.setState({trend_selected:null}):void 0}sendAnalyticsEvent(e,t){t||(t={page_title:document.title,page_location:window.location.href}),gtag&&gtag("event",e,t)}sendFacebookEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>
12&&void 0!==arguments[2]?arguments[2]:"track",n=arguments.length>3?arguments[3]:void 0,i=document.cookie.split(";").filter(e=>-1!==e.trim().indexOf("_fbp")||-1!==e.trim().indexOf("_fbc"));try{var s,l,d,a;if(fbq(o,e,t),(null==i?void 0:i.length)<2&&(null===(s=this.props.router.query)||void 0===s?void 0:s.fbclid)&&(i=["_fbp=fb.1.".concat(new Date().getTime(),".").concat(Math.round(2147483647*Math.random())),"_fbc=fb.1.".concat(new Date().getTime(),".").concat(null===(l=this.props.router.query)||void 0===l?void 0:l.fbclid)],console.log("Generated fbp and fbc values via fbclid",i)),(null==i?void 0:i.length)>=2){let o=null===(d=i.find(e=>-1!==e.indexOf("_fbc")))||void 0===d?void 0:d.trim().replace("_fbc=",""),s=null===(a=i.find(e=>-1!==e.indexOf("_fbp")))||void 0===a?void 0:a.trim().replace("_fbp=","");(0,E.QL)({p:n,e:e,data:t,fbc:o,fbp:s,dl:window.location.href}).catch(e=>console.log("sendS2SFacebookPixel",e))}}catch(e){}}sendTaboolaEvent(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=0!==location.search.length?location.search.substr(1):"",i=new URLSearchParams(n);if(o>0&&_tfa.push({notify:"event",name:t,id:e,revenue:o}),i.get("tblci")){let e={c:i.get("tblci"),e:t};o>0&&(e.v=o),(0,E.Lh)(e).catch(e=>console.log("sendS2STaboolaPixel",e))}}sendOutbrainEvent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ObLead",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=0!==location.search.length?location.search.substr(1):"",n=new URLSearchParams(o);if(n.get("obclid")){let o={c:n.get("obclid"),e:e};t>0&&(o.v=t),(0,E.oE)(o).catch(e=>console.log("sendS2SOutbrainPixel",e))}}sendTiktokEvent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ViewContent",t=arguments.length>1?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=0!==location.search.length?location.search.substr(1):"",i=new URLSearchParams(n),s=(0,N.Z)();try{ttq.track(e,o,{event_id:s})}catch(e){console.log("ttq.track",e)}try{let n;n=i.get("ttclid")?i.get("ttclid"):(0,E.ej)("ttclid");let l=location.protocol+"//"+location.host+location.pathname,d=(0,E.ej)("_ttp");n?(0,E.E2)({pc:t,e:e,eid:s,ttclid:n,ttp:d,eu:l,ed:o}):console.log("sendS2STikTokPixel - ttclid not present")}catch(e){console.log("sendS2STikTokPixel",e)}}onChangeSearch(e){this.setState({searchValue:e.target.value,searchClicked:!1})}onSearch(e,t){this.setState({searchClicked:!0},()=>{let{router:e}=this.props,o=0!==location.search.length?location.search.substr(1):"",n=new URLSearchParams(o);n.set("enc","b64"),n.set("qy",C.from(t).toString("base64")),this.sendAnalyticsEvent("Search",{event_category:"User",event_label:t}),e.push("/search/?".concat(n.toString()))})}onClickKey(e,t){let{props:o}=this,n=C.from(t.key).toString("base64"),i=new URLSearchParams(location.search.substr(1));i.set("qy",n),this.sendAnalyticsEvent("Trends",{event_category:"Stat",event_label:"second_step_clicked"}),this.setState({keyword_selected:{...t,loader:!0}},()=>{window.scrollTo({top:0,behavior:"smooth"}),this.onChangeSearch({target:{value:t.key}}),this.callAPI(e,t)})}onClickTopicButton(e,t){let{props:o}=this;o.router.push("".concat(o.pageName,"/").concat(t.key).concat(location.search))}yahooAdLinkRender(e,t){var o;return(0,n.jsx)("a",{"data-yiid":t.ImpressionId||"","data-appns":t.appNs,"data-k":t.k,"data-ykw":(null===(o=this.state.keyword_selected)||void 0===o?void 0:o.key)||"",href:t.link,target:"_blank",rel:"noopener nofollow",onClick:e=>this.handleLeadAd(e,!0),style:{color:"#737373"},children:e},t.ImpressionId)}renderYahooAds(){var e,t,o,i,s;let{state:l,props:d}=this,a=null==d?void 0:d.data,c={};return l.device&&"mobile"!==l.device&&(c.width="unset",c.float="right",c.marginLeft="20px"),"yahoo-feed"===a.config.api&&(null===(e=l.keyword_selected)||void 0===e?void 0:e.response)&&(0,n.jsxs)("div",{className:f().yahooResultsContainer,children:["string"==typeof(null===(t=l.keyword_selected)||void 0===t?void 0:t.response)&&(null===(o=l.keyword_selected)||void 0===o?void 0:o.response),(Array.isArray(null===(i=l.keyword_selected)||void 0===i?void 0:i.response)?null===(s=l.ke
1yword_selected)||void 0===s?void 0:s.response:[]).map(e=>{var t,o;let i=e.$,s=null===(t=e.ClickUrl[0])||void 0===t?void 0:t._;return i.link=s,(0,n.jsxs)("div",{className:f().yahooItemContainer,style:{cursor:"auto"},children:["mobile"!==l.device&&(0,n.jsx)("div",{className:j().yahooCallToAction_button,style:c,children:this.yahooAdLinkRender((0,n.jsx)("button",{className:j()["eb-call_to_action-button"],children:(0,n.jsx)(y.e0,{fill:"#fff"})}),i)}),(0,n.jsx)("div",{className:f().yahooItem__title,children:this.yahooAdLinkRender((0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:i.originalTitle||i.title}}),i)}),(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:i.originalDescription||i.description},className:f().yahooItem__description}),(0,n.jsx)("div",{className:f().yahooItem__siteHost,style:{color:"#ababab"},children:this.yahooAdLinkRender((0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:i.siteHost}}),i)}),(!l.device||"mobile"===l.device)&&(0,n.jsx)("div",{className:j().yahooCallToAction_button,style:{cursor:"auto"},children:this.yahooAdLinkRender((0,n.jsx)("button",{children:(0,n.jsx)(y.e0,{fill:"#fff"})}),i)}),(0,n.jsx)("div",{className:f().yahooSponsoredLinks,children:null===(o=a.config.call_to_action_ads)||void 0===o?void 0:o.sponsored_links})]})})]})}renderKeysMobile(e){var t,o,i,s,l,a,c,r,_,v;let{state:u,props:h}=this,b=(null==e?void 0:e.maxHeight)?{height:e.maxHeight}:{},p=h.data;if(!this.state.keyword_selected||(null===(t=this.state.keyword_selected)||void 0===t?void 0:t.key)===(null==e?void 0:e.key))return(0,n.jsx)("div",{className:"eb-body-content-item",ref:(null===(o=u.keyword_selected)||void 0===o?void 0:o.key)===e.key?this.selectedKeyRef:null,children:(0,n.jsx)("a",{onClick:t=>{var o;(null===(o=this.state.keyword_selected)||void 0===o?void 0:o.response)||this.onClickKey(t,e)},children:(0,n.jsx)("div",{className:"".concat(e.img?j().eb_body_content_key_action_img:""," ").concat(j().eb_body_content_key_action," ").concat((null===(i=u.keyword_selected)||void 0===i?void 0:i.key)===e.key?j()["eb_body_content_action_key-selected"]:""," ").concat((null===(s=u.keyword_selected)||void 0===s?void 0:s.response)?j().eb_body_content_item_action__ads:""," \n            ").concat(u.ads_box_animation?j().eb_body_content_item_action__ads_animation:j().zoom),style:b,children:(null===(l=u.keyword_selected)||void 0===l?void 0:l.key)===e.key&&(null===(a=u.keyword_selected)||void 0===a?void 0:a.response)?this.renderYahooAds():(null===(c=u.keyword_selected)||void 0===c?void 0:c.key)===e.key&&(null===(r=u.keyword_selected)||void 0===r?void 0:r.loader)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(LoaderAd,{}),(0,n.jsx)("div",{children:null===(_=p.config)||void 0===_?void 0:_.loader_msg})]}):(0,n.jsxs)(n.Fragment,{children:[e.img&&(0,n.jsx)("div",{className:j().eb_body_content_item_img,children:(0,n.jsx)(d(),{src:e.img,width:"400",height:"391",layout:"responsive"})}),(0,n.jsxs)("div",{className:j()["eb-call_to_action-button_label"],children:[(null==e?void 0:e.label)||e.key,(null==e?void 0:e.rating)&&(0,n.jsx)(m.Z,{styles:j(),stars:null==e?void 0:e.rating})]}),(0,n.jsx)("div",{className:j()["eb-call_to_action-button_container"],children:(0,n.jsx)(y.e0,{fill:"#fff",className:j()["eb-call_to_action-button"]})})]})})})},"page-".concat(h.pageName,"-").concat(null===(v=u.trend_selected)||void 0===v?void 0:v.term,"-").concat(e.key))}renderKeysDesktop(e){var t,o,i,s,l,a,c,r,_,v,u,h;let{state:b,props:p}=this,g=(null===(t=b.keyword_selected)||void 0===t?void 0:t.key)?{height:e.maxHeight?null==e?void 0:e.maxHeight:void 0,cursor:(null===(o=b.keyword_selected)||void 0===o?void 0:o.key)?"auto":"pointer"}:{cursor:"pointer"},k=p.data;if(!this.state.keyword_selected||(null===(i=this.state.keyword_selected)||void 0===i?void 0:i.key)===(null==e?void 0:e.key))return(0,n.jsx)("div",{className:"eb-body-content-item",ref:(null===(s=b.keyword_selected)||void 0===s?void 0:s.key)===e.key?this.selectedKeyRef:null,children:(0,n.jsx)("a",{onClick:t=>{var o;(null===(o=this.state.keyword_selected)||void 0===o?void 0:o.response)||this.onClickKey(t,e)},children:(0,n.jsx)("div",{className:"".concat(e.img?j().eb_body_content_key_action_img:""," ").concat(j().eb_body_content_key_action," ").concat((null===(l=b.keyword_selected)||void 0===l?void 0:l.key)===e.key?j()["eb_body_content_action_key_desktop-selected"]:""," ").concat((null===(a=b.keyword_selected)||void 0===a?void 0:a.response)?j().eb_body_content_item_action__ads:""," \n            ").concat(b.ads_box_animation?j().eb_body_content_item_action__ads_animation:j().zoom),style:g,children:(null===(c=b.keyword_selected)||void 0===c?void 0:c.key)===e.key&&(null===(r=b.keyword_selected)||void 0===r?void 0:r.response)?this.renderYahooAds():(null===(_=b.keyword_selected)||void 0===_?void 0:_.key)===e.key&&(null===(v=b.keyword_selected)||void 0===v?void 0:v.loader)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(LoaderAd,{}),(0,n.jsx)("div",{children:null===(u=k.config)||void 0===u?void 0:u.loader_msg})]}):(0,n.jsxs)(n.Fragment,{children:[e.img&&(0,n.jsx)("div",{className:j().eb_body_content_item_img,children:(0,n.jsx)(d(),{src:e.img,width:"400",height:"391",layout:"responsive"})}),(0,n.jsxs)("div",{className:j()["eb-call_to_action-button_label"],children:[(null==e?void 0:e.label)||e.key,(null==e?void 0:e.rating)&&(0,n.jsx)(m.Z,{styles:j(),stars:null==e?void 0:e.rating})]}),(0,n.jsx)("div",{className:j()["eb-call_to_action-button_container"],children:(0,n.jsx)(y.e0,{fill:"#fff",className:j()["eb-call_to_action-button"]})})]})})})},"page-".concat(p.pageName,"-").concat(null===(h=b.trend_selected)||void 0===h?void 0:h.term,"-").concat(e.key))}renderKeys(e){let{state:t,props:o}=this;
1switch(null==t?void 0:t.device){case"desktop":case"tablet":return this.renderKeysDesktop(e);default:return this.renderKeysMobile(e)}}renderButtonsList(){var e,t,o,i,s,l,a,r,_,v;let{props:u}=this,h=null===(e=u.data)||void 0===e?void 0:e.content;return(0,n.jsxs)("div",{className:"eb-body",children:[(null==u?void 0:null===(o=u.data)||void 0===o?void 0:null===(t=o.config)||void 0===t?void 0:t.top_title)&&(0,n.jsxs)("div",{className:j()["eb-body-top-title"],children:[(0,n.jsx)("div",{children:null==u?void 0:null===(s=u.data)||void 0===s?void 0:null===(i=s.config)||void 0===i?void 0:i.top_title}),(0,n.jsx)("div",{children:c()(null==u?void 0:null===(a=u.data)||void 0===a?void 0:null===(l=a.config)||void 0===l?void 0:l.top_description)})]}),(0,n.jsx)("div",{className:"eb-body-content",children:u.data.buttons.map(e=>(0,n.jsx)("div",{className:"eb-body-content-item",children:(0,n.jsx)("a",{onClick:t=>this.onClickTopicButton(t,e),children:(0,n.jsxs)("div",{className:e.img?"".concat(j().eb_body_content_item_action):"".concat(j().eb_body_content_item_action__small),children:[e.img&&(0,n.jsx)("div",{className:j().eb_body_content_item_img,children:(0,n.jsx)(d(),{src:e.img,width:"400",height:"391",layout:"responsive"})}),e.title]})})},"page-".concat(u.pageName,"-").concat(e.key)))}),(0,n.jsxs)("div",{className:"".concat(j()["eb-content_container"]," ").concat(j()["eb-category_section"]),children:[(0,n.jsx)("h1",{children:null==h?void 0:h.title}),(0,n.jsxs)("div",{className:j()["eb-content-body_container"],children:[(null==h?void 0:null===(r=h.img)||void 0===r?void 0:r.link)&&(0,n.jsx)("div",{className:"".concat(j()["eb-content-img"]),children:(null==h?void 0:null===(_=h.img)||void 0===_?void 0:_.link)&&(0,n.jsx)(d(),{src:h.img.link,width:h.img.width,height:h.img.height,layout:"responsive"})}),(0,n.jsx)("div",{className:"".concat(j()["eb-content-body"]," ").concat((null==h?void 0:null===(v=h.img)||void 0===v?void 0:v.link)?"":j()["eb-content-body_full"]),dangerouslySetInnerHTML:{__html:h.body}})]})]})]})}renderContentImg(e){var t,o;let{props:i,state:s}=this;return(null==e?void 0:null===(t=e.img)||void 0===t?void 0:t.link)&&(0,n.jsx)("div",{className:"".concat(j()["eb-content-img"]),children:(null==e?void 0:null===(o=e.img)||void 0===o?void 0:o.link)&&(0,n.jsx)(d(),{src:e.img.link,width:e.img.width,height:e.img.height,layout:"responsive"})})}onClickTrend(e,t){let{state:o,props:n}=this;this.sendAnalyticsEvent("Trends",{event_category:"Stat",event_label:"first_step_clicked"}),history.pushState({link:"".concat(n.pageName,"/").concat(t.term).concat(location.search)},t.term,"".concat(n.pageName,"/").concat(t.term).concat(location.search)),this.setState({trend_selected:t,loaderVisible:!0},()=>this.getDataKA({device:null==o?void 0:o.device},null==t?void 0:t.term))}renderTrends(){let{state:e,props:t}=this,o=(t.data.trends||[]).map(o=>{var i,s;return(0,n.jsx)("div",{className:"eb-body-content-item",children:(0,n.jsx)("a",{onClick:e=>this.onClickTrend(e,o),children:(0,n.jsxs)("div",{className:o.img?"".concat(j().eb_body_content_item_action," ").concat((null===(i=e.trend_selected)||void 0===i?void 0:i.term)===o.term?j()["eb_body_content_action_item-selected"]:""):"".concat(j().eb_body_content_item_action__small," ").concat((null===(s=e.trend_selected)||void 0===s?void 0:s.term)===o.term?j()["eb_body_content_action_item-selected"]:""),children:[o.img&&(0,n.jsx)("div",{className:j().eb_body_content_item_img,children:(0,n.jsx)(d(),{src:o.img,width:"400",height:"391",layout:"responsive"})}),o.title]})})},"page-".concat(t.pageName,"-").concat(o.term))});return o}render(){var e,t,o,i,s,l,a,c,y,m,p,k,f,w,S,R,N,E,L,C,A,P,Z,q,O,U,K,H,B,M,F,V,D,X,W,G,Y,Q,z,J,$,ee,et,eo,en,ei,es,el,ed,ea,ec,er;let e_=this.state,ev=this.props,eu=this.context,eh="https://".concat("salentu.com","/").concat((null===(t=ev.data)||void 0===t?void 0:null===(e=t.config)||void 0===e?void 0:e.language)||ev.router.locale).concat(ev.router.asPath),ey=ev.data,em=null===(o=ev.data)||void 0===o?void 0:o.content;return(0,n.jsxs)("div",{id:"search-trends-page",className:g().container,children:[(0,n.jsxs)(r.Z,{title:"Search Trends",children:[(null===(s=ev.data)||void 0===s?void 0:null===(i=s.config)||void 0===i?void 0:i.hl)&&(0,n.jsx)("link",{rel:"alternate",hrefLang:null===(a=ev.data)||void 0===a?void 0:null===(l=a.config)||void 0===l?void 0:l.hl,href:eh}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function(w,d,t,x,m,l,p){w.selectTierDeferPageLoad=true;w['XMLPlusSTObject']=m;w[m]=w[m]||function(){(w[m].q=w[m].q||[]).push(arguments)},w[m].l=1*new Date();l=d.createElement(t),p=d.getElementsByTagName(t)[0];l.type=\"text/javascript\";l.async=1;l.defer=1;l.src=x;p.parentNode.insertBefore(l,p)})(window,document,'script','https://s.yimg.com/ds/scripts/selectTier.js','selectTier');"}}),(0,n.jsx)("script",{dangerouslySetInnerHTML:{__html:"(function(w,d,t,x,m,l,p){w.xmlpDeferPageLoad=true;w['XMLPlusObject']=m;w[m]=w[m]||function(){(w[m].q=w[m].q||[]).push(arguments)},w[m].l=1*new Date();l=d.createElement(t),p=d.getElementsByTagName(t)[0];l.type=\"text/javascript\";l.async=1;l.defer=1;l.src=x;p.parentNode.insertBefore(l,p)})(window,document,'script','https://s.yimg.com/ds/scripts/xmlp3.js','xmlp');"}})]}),(0,n.jsx)(b.Z,{router:ev.router,context:eu,searchName:"k"}),e_.loaderVisible&&(0,n.jsx)(v.Z,{className:"loader"}),(0,n.jsxs)("main",{className:"".concat(g().main," ").concat(e_.loaderVisible?"loading":""),children:[(null===(c=ev.data)||void 0===c?void 0:c.buttons)&&this.renderButtonsList(),(null===(y=ev.data)||void 0===y?void 0:y.trends)&&(0,n.jsxs)("div",{className:"eb-body",children:[(0,n.jsxs)("div",{className:j()["eb-body-title"],children:[e_.trend_selected&&!e_.keyword_selected&&(null==ev?void 0:null===(p=ev.data)||void 0===p?void 0:null===(m=p.config)||void 0===m?void 0:m.top_description),e_.trend_selected&&(null===(w=this.props)||void 0===w?void 0:null===(f=w.data)||void 0===f?void 0:null===(k=f.config)||void 0===k?void 0:k.top_img)&&(0,n.jsx)("div",{className:j()["eb-body-title_img"],children:(0,n.jsx)(d(),{src:null===(N=this.props)||void 0===N?void 0:null===(R=N.data)||void 0===R?void 0:null===(S=R.config)||void 0===S?void 0:S.top_img,width:"55",height:"85",layout:"responsive"})})]}),e_.keyword_selected&&((null===(E=e_.keyword_selected)||void 0===E?void 0:E.response)||e_.noResultsMsg)&&(0,n.jsxs)("div",{className:j()["eb-call-to-action_container"],children:[(0,n.jsx)("div",{children:e_.noResultsMsg||(null===(C=ey.config)||void 0===C?void 0:null===(L=C.call_to_action_ads)||void 0===L?void 0:L.action_title)}),(0,n.jsxs)("div",{children:[!e_.noResultsMsg&&(null===(P=ey.config)||void 0===P?void 0:null===(A=P.call_to_action_ads)||void 0===A?void 0:A.your_search_label)," ",!e_.noResultsMsg&&(null===(Z=e_.keyword_selected)||void 0===Z?void 0:Z.key)||""]})]}),(0,n.jsxs)("div",{className:"eb-body-content ".concat("mobile"!==e_.device&&j()["eb-content-desktop_container"]),children:[(0,n.jsx)("div",{className:"eb-body-content ".concat("mobile"!==e_.device&&j()["eb-content-desktop_column"]),style:{width:"".concat((null===(q=e_.keyword_selected)||void 0===q?void 0:q.loader)||(null===(O=e_.keyword_selected)||void 0===O?void 0:O.response)?"100%":"50%")},children:(e_.trend_selected&&(!e_.loaderVisible||(null==e_?void 0:e_.device))?e_.trend_selected.keywords:[]).map((e,t)=>{var o,n,i,s,l;if((t%2!=1||(null==e_?void 0:e_.device)==="mobile")&&(null===(o=e_.trend_selected)||void 0===o||!o.top_keywords||(null===(i=e_.trend_selected)||void 0===i?void 0:null===(n=i.top_keywords)||void 0===n?void 0:n.disabled)||!((null===(l=e_.trend_selected)||void 0===l?void 0:null===(s=l.top_keywords)||void 0===s?void 0:s.num)<=t)))return this.renderKeys(e)})}),(null==e_?void 0:e_.device)!=="mobile"&&(0,n.jsx)("div",{className:"eb-body-content ".concat("mobile"!==e_.device&&j()["eb-content-desktop_column"]),children:(e_.trend_selected&&(!e_.loaderVisible||(null==e_?void 0:e_.device))?e_.trend_selected.keywords:[]).map((e,t)=>{var o,n,i,s,l;if((t%2!=0||(null==e_?void 0:e_.device)==="mobile")&&(null===(o=e_.trend_selected)||void 0===o||!o.top_keywords||(null===(i=e_.trend_selected)||void 0===i?void 0:null===(n=i.top_keywords)||void 0===n?void 0:n.disabled)||!((null===(l=e_.trend_selected)||void 0===l?void 0:null===(s=l.top_keywords)||void 0===s?void 0:s.num)<=t)))return this.renderKeys(e)})}),(0,n.jsx)("div",{ref:this.contentResultRef,children:(null===(U=e_.serpResults)||void 0===U?void 0:U.length)!==0&&!(null==e_?void 0:e_.isCampaign)&&(0,n.jsxs)("div",{className:T().serpResultsCol__1,children:[(null===(K=ey.config)||void 0===K?void 0:K.serp_description)&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:j()["eb-body-serp_border"]}),(0,n.jsx)("div",{className:j()["eb-body-serp_description"],children:null===(H=ey.config)||void 0===H?void 0:H.serp_description})]}),(0,n.jsx)("div",{className:T().serpResults__header,style:{paddingLeft:"8px"},children:"☳ Web Results"}),(0,n.jsx)("div",{className:T().serpResults,children:e_.serpResults.map((e,t)=>(0,n.jsxs)("div",{className:T().serpResultItem,children:[(0,n.jsx)("div",{className:"".concat(T().serpResultItem__title),children:(0,n.jsx)("a",{onClick:()=>this.onClickOrganicResult(e,t+1),href:e.link,target:"_blank",rel:"noopener noreferrer",children:e.title})}),(0,n.jsx)("div",{className:"".concat(T().serpResultItem__displayLink),children:e.displayLink}
1),(0,n.jsx)("div",{className:"".concat(T().serpResultItem__desc),children:e.snippet})]},e.cacheId||t))})]})}),(null===(B=e_.trend_selected)||void 0===B?void 0:B.top_keywords)&&!(null===(F=e_.trend_selected)||void 0===F?void 0:null===(M=F.top_keywords)||void 0===M?void 0:M.disabled)&&(null===(D=e_.trend_selected)||void 0===D?void 0:null===(V=D.top_keywords)||void 0===V?void 0:V.top_description)&&(0,n.jsx)("div",{className:"".concat(j()["eb-content-otherkeys"]," ").concat(j().top),children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e_.trend_selected.top_keywords.top_description}})}),e_.current_button_selected&&((null===(X=e_.current_keyword)||void 0===X?void 0:X.response)||e_.noResultsMsg)&&(0,n.jsxs)("div",{className:stylesYIcons["eb-call-to-action_container"],children:[(0,n.jsx)("div",{children:e_.noResultsMsg||(null===(G=ey.config)||void 0===G?void 0:null===(W=G.call_to_action_ads)||void 0===W?void 0:W.action_title)}),(0,n.jsxs)("div",{children:[!e_.noResultsMsg&&(null===(Q=ey.config)||void 0===Q?void 0:null===(Y=Q.call_to_action_ads)||void 0===Y?void 0:Y.your_search_label)," ",!e_.noResultsMsg&&((null===($=e_.current_page_state.pages)||void 0===$?void 0:null===(J=$.buttons)||void 0===J?void 0:null===(z=J.find(e=>{var t;return e.button===(null===(t=e_.current_button_selected)||void 0===t?void 0:t.button)}))||void 0===z?void 0:z.key)||(null===(ee=e_.current_button_selected)||void 0===ee?void 0:ee.key)||"")]})]})]}),(0,n.jsxs)("div",{className:"".concat(j()["eb-content_container"]," ").concat(j()["eb-category_section"]),children:[(0,n.jsx)("h1",{children:null==em?void 0:em.title}),(0,n.jsxs)("div",{className:j()["eb-content-body_container"],children:[this.renderContentImg(em),(0,n.jsx)("div",{className:"".concat(j()["eb-content-body"]," ").concat((null==em?void 0:null===(et=em.img)||void 0===et?void 0:et.link)?"":j()["eb-content-body_full"]),dangerouslySetInnerHTML:{__html:em.body}})]}),(null===(eo=e_.trend_selected)||void 0===eo?void 0:eo.top_keywords)&&!(null===(ei=e_.trend_selected)||void 0===ei?void 0:null===(en=ei.top_keywords)||void 0===en?void 0:en.disabled)&&(null===(el=e_.trend_selected)||void 0===el?void 0:null===(es=el.top_keywords)||void 0===es?void 0:es.bottom_description)&&(0,n.jsx)("div",{className:"".concat(j()["eb-body-top-title"]," ").concat(j()["eb-content-otherkeys"]),children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e_.trend_selected.top_keywords.bottom_description}})})]}),(0,n.jsx)("div",{className:"eb-body-content",children:e_.trend_selected&&(e_.trend_selected&&!e_.loaderVisible?e_.trend_selected.keywords:[]).map((e,t)=>{var o,n,i,s,l,d;if(null===(o=e_.trend_selected)||void 0===o||!o.top_keywords||!((null===(i=e_.trend_selected)||void 0===i?void 0:null===(n=i.top_keywords)||void 0===n?void 0:n.num)>t))return(null===(s=e_.trend_selected)||void 0===s?void 0:s.top_keywords)&&!(null===(d=e_.trend_selected)||void 0===d?void 0:null===(l=d.top_keywords)||void 0===l?void 0:l.disabled)&&this.renderKeys(e)})})]})]}),(0,n.jsxs)(h.Z,{locale:null===(ea=this.props)||void 0===ea?void 0:null===(ed=ea.router)||void 0===ed?void 0:ed.locale,styles:x(),type:"large",children:[(0,n.jsx)(_.Z,{className:x()["footer-logo_large"],onClick:()=>ev.router.push("/")}),(0,n.jsx)(u.Z,{id:"footer-search",action:"/search",className:x()["footer-search_large"],value:e_.searchValue,onChange:this.onChangeSearch,onSearch:this.onSearch,label:null===(ec=I.Z.SEARCH[ev.router.locale])||void 0===ec?void 0:ec.LABEL,placeholder:null===(er=I.Z.SEARCH[ev.router.locale])||void 0===er?void 0:er.PLACEHOLDER})]})]})}constructor(e){var t,o;super(e),this.state={trend_selected:(null===(t=e.router.query)||void 0===t?void 0:t.utm_term)?Array.isArray(e.data.trends)&&(null===(o=e.data.trends)||void 0===o?void 0:o.find(t=>{var o;return t.term===(null===(o=e.router.query)||void 0===o?void 0:o.utm_term)}))||e.data.trends[0]||e.data.trends:e.data.trends[0]||e.data.trends,keyword_selected:null,searchValue:"",searchClicked:!1,loaderVisible:!0,queryString:"",country:null,device:null,serpResults:[],isCampaign:!1,averageRpc:0,styleId:""},this.selectedKeyRef=i.createRef(),this.feedLoaded=!1,this.onChangeSearch=this.onChangeSearch.bind(this),this.onSearch=this.onSearch.bind(this)}};TrendsPage.contextType=L._;var A=!0;t.default=(0,s.withRouter)(TrendsPage)},7251:function(e){e.exports={header:"Header_header__uG7pF",logo:"Header_logo__G0LqO","search-box":"Header_search-box__ELGOT","menu-icon":"Header_menu-icon__lo4AO"}},4554:function(e){e.exports={container:"Search_container__I27nK",main:"Search_main__D_46O",logo:"Search_logo__wwJSj","search-box":"Search_search-box__1w8RH","menu-icon":"Search_menu-icon__Cr6Oa",csaResults:"Search_csaResults__4m70G",serpResults:"Search_serpResults__VQNfb",serpResultItem:"Search_serpResultItem__MkhSj",serpResultItem__title:"Search_serpResultItem__title__qDqMF",serpResultItem__desc:"Search_serpResultItem__desc__WgOS1",serpResultItem__displayLink:"Search_serpResultItem__displayLink__hRAV_","grid-items_section":"Search_grid-items_section__PZhVT","grid-items_container":"Search_grid-items_container__qumic","grid-items_child":"Search_grid-items_child__YPSAa","grid-items_img":"Search_grid-items_img__Ma_0M","grid-items_content":"Search_grid-items_content__VLm9g","grid-items_more":"Search_grid-items_more__dQrgq","archive-body":"Search_archive-body__C_6DW","archive-body_section-full":"Search_archive-body_section-full__6am4U","grid-items_title":"Search_grid-items_title__jECOx","page-header_banner":"Search_page-header_banner__VVftN","page-body":"Search_page-body__wRieB","page-body_section-x2":"Search_page-body_section-x2__h7B8v","page-body_section-x3":"Search_page-body_section-x3__ugV7N"}},193:function(e){e.exports={container:"SearchBrowsing_container__ywAlW",containerCategory:"SearchBrowsing_containerCategory__LPs9I",main:"SearchBrowsing_main___wRRh",logo:"SearchBrowsing_logo__3__6s","menu-icon":"SearchBrowsing_menu-icon__4jx9L","search-box":"SearchBrowsing_search-box__8zRCO","container-pages":"SearchBrowsing_container-pages__I8oBR"}},3740:function(e){e.exports={container:"SearchIcons_container__r_Qtc",main:"SearchIcons_main__AIsPj",logo:"SearchIcons_logo__TZD_B","search-box":"SearchIcons_search-box__1uMPo","menu-icon":"SearchIcons_menu-icon__f0OKi",csaResultsContainer:"SearchIcons_csaResultsContainer__GF4kO",csaResults:"SearchIcons_csaResults__GOWHG",csaResultsLoaded:"SearchIcons_csaResultsLoaded__a0AIF",serpResults__title:"SearchIcons_serpResults__title__XCWcb",serpResults:"SearchIcons_serpResults__6Kcit",serpResultItem:"SearchIcons_serpResultItem__heuNq",serpResultItem__title:"SearchIcons_serpResultItem__title__cX_W1",serpResultItem__desc:"SearchIcons_serpResultItem__desc__mcKgi",serpResultItem__displayLink:"SearchIcons_serpResultItem__displayLink__d1_b2",globalIcon:"SearchIcons_globalIcon__0Rv7N","grid-items_section":"SearchIcons_grid-items_section__88gkg","grid-items_container":"SearchIcons_grid-items_container__syvqp","grid-items_child":"SearchIcons_grid-items_child__DpItf","grid-items_img":"SearchIcons_grid-items_img__lbmur","grid-items_content":"SearchIcons_grid-items_content__P83IE","grid-items_more":"SearchIcons_grid-items_more__gkx5e",stars:"SearchIcons_stars__153MJ",star:"SearchIcons_star___H0G_",full:"SearchIcons_full__HjXyk",empty:"SearchIcons_empty__XQLp3","archive-body":"SearchIcons_archive-body__eKgww","archive-body_section-full":"SearchIcons_archive-body_section-full__vF1h_","grid-items_title":"SearchIcons_grid-items_title__ii0nj","page-header_banner":"SearchIcons_page-header_banner__Wih_2","page-body":"SearchIcons_page-body__GTjr_","page-body_section-x2":"SearchIcons_page-body_section-x2__BBKca","page-body_section-x3":"SearchIcons_page-body_section-x3__9zQgZ"}},2785:function(e){e.exports={"eb-navbar":"Trends_eb-navbar__sLGQW","eb-body-top-title":"Trends_eb-body-top-title__ag1jx","eb-body-title":"Trends_eb-body-title__oHFm6","eb-body-title_img":"Trends_eb-body-title_img__C0LGB",eb_body_content_item_action:"Trends_eb_body_content_item_action__W85Ks",eb_body_content_item_action__small:"Trends_eb_body_content_item_action__small__TJ_pN",eb_body_content_key_action:"Trends_eb_body_content_key_action__FLLjt",eb_body_content_key_action_img:"Trends_eb_body_content_key_action_img__0bKM7","eb-call_to_action-button_label":"Trends_eb-call_to_action-button_label__xSBLr","eb-call_to_action-button_container":"Trends_eb-call_to_action-button_container__UTzUY","eb-call_to_action-button_icons-wall_label":"Trends_eb-call_to_action-button_icons-wall_label__7_sh7","eb_body_content_action_item-selected":"Trends_eb_body_content_action_item-selected__OU_MB","eb_body_content_action_key-selected":"Trends_eb_body_content_action_key-selected__RF9cp",eb_body_content_item_img:"Trends_eb_body_content_item_img__C1pN_","eb-consent_container":"Trends_eb-consent_container__BPweO","eb-consent-title-confirm":"Trends_eb-consent-title-confirm__SW17T","eb-consent-title-link":"Trends_eb-consent-title-link__BliUU","eb-consent-privacy_policy-title":"Trends_eb-consent-privacy_policy-title__S4Pl7","eb-consent-description":"Trends_eb-consent-description__fKPxT","eb-call-to-action_container":"Trends_eb-call-to-action_container__GoHxL","eb-content_container":"Trends_eb-content_container__jUEUx","eb-category_section":"Trends_eb-category_section__Y5rcX","eb-content-body_container":"Trends_eb-content-body_container__l0ZTf","eb-content-img"
1:"Trends_eb-content-img__FXmhT","eb-content-body":"Trends_eb-content-body__BrE_5","eb-content-img_hide":"Trends_eb-content-img_hide__Y3ZO8","eb-content-body_full":"Trends_eb-content-body_full__Kdmpr","eb-content-otherkeys":"Trends_eb-content-otherkeys__qQ6Hr",top:"Trends_top__2rYUS","eb-related-posts_container":"Trends_eb-related-posts_container__juX68","eb-related-posts-light":"Trends_eb-related-posts-light__EsoWR","eb-related-posts-content":"Trends_eb-related-posts-content__gwlyN","eb-related-posts-meta":"Trends_eb-related-posts-meta__fw7ck","eb-related-posts-nocontent":"Trends_eb-related-posts-nocontent__FvGqd","eb-call_to_action-button":"Trends_eb-call_to_action-button__W_M0_",stars:"Trends_stars__iHZz_",star:"Trends_star__DybUd",full:"Trends_full__6KTfh",empty:"Trends_empty__rhLxj",zoom:"Trends_zoom__TAnQK"}},2703:function(e,t,o){"use strict";var n=o(414);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,t,o,i,s,l){if(l!==n){var d=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return e.PropTypes=e,e}},5697:function(e,t,o){e.exports=o(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7632:function(e,t,o){"use strict";let n;o.d(t,{Z:function(){return esm_browser_v4}});let i="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);var s={randomUUID:i};let l=new Uint8Array(16),d=[];for(let e=0;e<256;++e)d.push((e+256).toString(16).slice(1));var esm_browser_v4=function(e,t,o){if(s.randomUUID&&!t&&!e)return s.randomUUID();e=e||{};let i=e.random||(e.rng||function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(l)})();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){o=o||0;for(let e=0;e<16;++e)t[o+e]=i[e];return t}return function(e,t=0){return(d[e[t+0]]+d[e[t+1]]+d[e[t+2]]+d[e[t+3]]+"-"+d[e[t+4]]+d[e[t+5]]+"-"+d[e[t+6]]+d[e[t+7]]+"-"+d[e[t+8]]+d[e[t+9]]+"-"+d[e[t+10]]+d[e[t+11]]+d[e[t+12]]+d[e[t+13]]+d[e[t+14]]+d[e[t+15]]).toLowerCase()}(i)}}},function(e){e.O(0,[664,841,488,648,983,161,774,888,179],function(){return e(e.s=520)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.