PageSourceSearch

https://serpstat.com/js/app-pages-brand-opportunities-page.e2ae8347.chunk.js?react

js serpstat.com collected 2026-10-01 08:46:01 UTC 58,533 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5609],{98923(e,t,l){l.r(t),l.d(t,{DialogStandart:()=>i.default});var i=l(37342)},56468(e,t,l){l.r(t),l.d(t,{NoDashboardQueryParams:()=>n,default:()=>s});var i=l(74848),a=l(5556),o=l.n(a),r=l(76978);const n=({text:e})=>(0,i.jsx)("div",{className:"card bigger tc card_window_height dt",children:(0,i.jsxs)("div",{className:"dtc",children:[(0,i.jsx)(r.Figure2,{}),(0,i.jsx)("h4",{className:"mt40",children:e})]})});n.propTypes={text:o().oneOfType([o().string,o().node])};const s=n},16142(e,t,l){l.r(t),l.d(t,{default:()=>c});var i=l(74848),a=l(5556),o=l.n(a),r=l(46942),n=l.n(r),s=l(1770);const d=({noDataText:e,children:t,className:l})=>(0,i.jsx)("div",{className:"wrapper",children:(0,i.jsxs)("div",{className:n()(l),children:[(0,i.jsx)(s.DashboardNoDataTable,{children:e}),t]})});d.propTypes={noDataText:o().string.isRequired,className:o().string,children:o().any};const c=d},4507(e,t,l){l.r(t),l.d(t,{default:()=>g});var i=l(74848),a=l(96540),o=l(5556),r=l.n(o),n=l(96307),s=l(21552),d=l(8217),c=l(46942),u=l.n(c),_=l(14858);const p=e=>"ai_overview"===e.type||"ai_overview"===e.serpType?"sparkle":e.serchEngine||e.searchEngine,m=({data:e})=>{const t=((e,t)=>"ppc"===e.type||"ppc"===e.serpType?`${t.translate("ppc","PPC","","",!0)}, `:"ai_overview"===e.type||"ai_overview"===e.serpType?`${t.translate("ai_overview","AI Overview","","",!0)}, `:"")(e,new s.Translator("rt")),l=e.region?`, ${e.region}`:"",o=e.city?`, ${e.city}`:"",r=e.langName?`, ${e.langName}`:"",c=t+e.country+l+o+r;return(0,i.jsx)(a.Fragment,{children:(0,i.jsxs)(d.default,{allowOpenOnTop:!0,className:"field-region-tooltip print-tooltip",dropdownSide:"center",tooltipText:c,children:[(0,i.jsx)(n.SvgSprite,{iconId:p(e),className:"rt_urls_stats__field field-icon"}),(0,i.jsx)(n.SvgSprite,{iconId:"desktop"===e.deviceType?"computer":"mobile",className:"rt_urls_stats__field field-icon field-icon__device"}),(0,i.jsx)("span",{className:u()("rt_urls_stats__field field-text",{crossed:(0,_.isYandexName)(e.serchEngine||"")}),children:c})]})})};m.propTypes={data:r().object};const g=m},1770(e,t,l){l.r(t),l.d(t,{DashboardNoDataTable:()=>o});var i=l(74848),a=l(9820);const o=({children:e,iconWidth:t=40,iconHeight:l=40,className:o="table_empty",style:r})=>(0,i.jsxs)("div",{className:o,style:r,children:[(0,i.jsx)(a.Figure4,{width:t,height:l,alt:"No data available"}),(0,i.jsx)("span",{children:e})]})},17498(e,t,l){l.r(t),l.d(t,{NOT_LIMITED_DB_MODULES:()=>a,NOT_LIMITES_MAX_LINES_PLANS:()=>o,configLimits:()=>i});const i={BACKLINKS:"backlinkAnalysis",ANALYTICS:"searchAnalytics",KEYWORDS_BATCH_ANALYSIS:"keywordsBatchAnalysis"},a=["BACKLINKS"],o=[598]},5682(e,t,l){l.r(t),l.d(t,{default:()=>M});var i=l(39791),a=l(71468),o=l(21552),r=l(55263),n=l(62355),s=l(17498),d=l(1081),c=l(11492);const u=e=>{var t;return(null==(t=e.header.userLimits)?void 0:t.limitedDbs)||[]},_=e=>{var t,l,i;return(null==(t=e.queryParams)?void 0:t.se)||(null==(i=null==(l=e.searchForm)?void 0:l.searchEngines)?void 0:i.Default)},p=(e,t)=>t.noDbLimits,m=e=>{var t,l;return(0,n.getModuleByRoute)(null==(l=null==(t=e.router)?void 0:t.location)?void 0:l.pathname)},g=()=>(0,d.createSelector)([u,_,p,m],(e,t,l,i)=>!l&&!s.NOT_LIMITED_DB_MODULES.includes(i)&&Array.isArray(e)&&e.find(e=>e===t)),x=(0,d.createSelector)([m],e=>e&&s.configLimits[e]?s.configLimits[e]:null),j=e=>{var t,l;return(null==(l=null==(t=e.header.userLimits)?void 0:t[x(e)])?void 0:l.maxLines)||null},h=(0,d.createSelector)([e=>{var t,l;return(null==(t=c.default.getParseToken())?void 0:t.planId)||(null==(l=e.userData.basicInfo)?void 0:l.planId)}],e=>c.default.getParseToken()&&s.NOT_LIMITES_MAX_LINES_PLANS.includes(Number(e))),b=(e,t)=>{var l,i;return(null==(i=null==(l=e.header.userLimits)?void 0:l.sorting)?void 0:i.isSortingAvailable)||Boolean(t.isSortingAvailable)},N=(e,t)=>{var l,i,a;return(null==(a=null==(i=null==(l=e.userData)?void 0:l.userLimits)?void 0:i.searchAnalytics)?void 0:a.filterAvailable)||Boolean(t.isFilterAvailable)},M=(0,r.compose)((0,o.withTranslation)(["audit_personal_report","Global","Alerts","tooltip"],{withRef:!0}),(0,a.connect)(()=>{const e=g(),t=(0,d.createSelector)([g(),j,h],(e,t,l)=>l?null:e?i.MAX_LINES_FOR_LIMITED_DB:t),l=(0,d.createSelector)([g(),j],(e,t)=>e?i.MAX_LINES_FOR_LIMITED_DB:t);return(i,a)=>({isLimitedDb:e(i,a),maxLines:a.maxLines||t(i,a),maxLinesForTotalAmount:l(i,a),isSortingAvailable:b(i,a),isFilterAvailable:N(i,a)})},null,null,{forwardRef:!0}))(i.default)},55731(e,t,l){l.r(t),l.d(t,{default:()=>u});var i=l(95059),a=l(32892),o=l(55263),r=l(99995),n=l(1081);const s=(0,n.createSelector)(({userData:e})=>{var t;return(null==(t=null==e?void 0:e.userLimits)?void 0:t.limitedDbs)||[]},({searchBar:e})=>e.se,(e,t)=>Boolean(e.includes(t))),d=(0,n.createSelector)(({header:e})=>{var t,l;
1return null==(l=null==(t=e.userLimits)?void 0:t.searchAnalytics)?void 0:l.maxLines},({total:e})=>e,(e,t)=>t&&t>e?e:t||0),c=(0,n.createSelector)(({header:e})=>{var t,l;return null==(l=null==(t=e.userLimits)?void 0:t.exportAnalytics)?void 0:l.left},d,(e,t)=>Boolean(t>e)),u=(0,o.compose)((0,o.withProps)(({config:e={},formats:t})=>({formats:t||e.formats||void 0})),(0,a.connect)(({header:e,authentication:t,userData:l,searchBar:i},{total:a})=>{var o,r,n,u,_,p,m,g,x;return{isCustomLogoEnabled:null==(r=null==(o=e.userLimits)?void 0:o.whiteLabel)?void 0:r.isCustomLogoEnabled,isExportAvailable:t.isAuthenticated&&(null==(u=null==(n=e.userLimits)?void 0:n.export)?void 0:u.isExportAvailable),limits:null==(p=null==(_=e.userLimits)?void 0:_.exportAnalytics)?void 0:p.left,isLimitedDbSelected:s({userData:l,searchBar:i}),exportTotal:d({header:e,total:a}),isOnlyPartExport:c({header:e,total:a}),maxLines:(null==(g=null==(m=e.userLimits)?void 0:m.searchAnalytics)?void 0:g.maxLines)||0,planId:Number((null==(x=l.basicInfo)?void 0:x.planId)||0)}},{triggerLimitsIsOverModal:r.triggerLimitsIsOverModal}))(i.default)},79611(e,t,l){l.r(t),l.d(t,{useLazyProcedure:()=>o});var i=l(96540),a=l(86673);const o=e=>{const[t,l]=(0,i.useState)(null),[o,r]=(0,i.useState)(!1),[n,s]=(0,i.useState)(null);return{callProcedure:t=>{return i=null,o=null,n=function*(){try{r(!0),l(null),s(null);const i=yield(0,a.fetchDataWithErrorCheck)(e,t);return l(i),i}catch(e){console.error(e),s(e)}finally{r(!1)}},new Promise((e,t)=>{var l=e=>{try{r(n.next(e))}catch(e){t(e)}},a=e=>{try{r(n.throw(e))}catch(e){t(e)}},r=t=>t.done?e(t.value):Promise.resolve(t.value).then(l,a);r((n=n.apply(i,o)).next())});var i,o,n},clear:()=>{r(!1),l(null),s(null)},data:t,loading:o,error:n}}},51268(e,t,l){l.r(t),l.d(t,{BIGQUERY_FORMAT_ID:()=>r,DEFAULT_DATASET_ID:()=>n,default:()=>G});var i=l(74848),a=l(96540),o=l(28314);const r="bq",n="serpstat_reports";var s=l(21552),d=l(46942),c=l.n(d),u=l(38221),_=l.n(u),p=l(90011),m=l(91175),g=l(50768),x=l(18020),j=l(4978),h=l(61118),b=Object.defineProperty,N=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,f=(e,t,l)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l;const v=({projects:e,onChange:t,projectId:l,isLoading:o})=>{const{t:r}=(0,s.useTranslation)(["export","Global","tooltip"]),[n,d]=(0,a.useState)(""),u=(0,a.useCallback)(e=>()=>{t(e)},[t]);(0,a.useEffect)(()=>{d("")},[e]);const b=(0,a.useMemo)(()=>n?e.filter(e=>e.name.includes(n)):e,[e,n]),v={className:"scrollbar",rowCount:b.length,rowHeight:30,overscanRowCount:2,rowRenderer:({index:e,key:t,style:a})=>{const o=b[e],r=`project_${t}`;return(0,i.jsx)("div",{className:c()("df aic project-list__item",{"project-list__item--active":o.id===l}),style:a,onClick:u(o.id),"data-testid":o.id,children:(0,i.jsx)("span",{children:o.name})},r)},height:260};return(0,i.jsxs)("div",{className:"project-list",children:[(0,i.jsxs)("div",{className:"project-list__header",children:[r("export::select_project_from_list"),(0,i.jsx)(x.Tooltip,{tooltipText:r("tooltip::select_project_from_list")})]}),(0,i.jsx)("div",{className:"project-list__wrapper",children:o?(0,i.jsx)(j.BigLoader,{isTextHidden:!0}):e.length>0?(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(g.default,{placeholder:r("Global::search"),name:"search",onInput:_()(d,200),value:n,autofocus:!0,inputClear:!0,autoComplete:"off"}),(0,i.jsx)(p.default,{disableHeight:!0,children:({width:e})=>(0,i.jsx)(m.default,((e,t)=>{for(var l in t||(t={}))M.call(t,l)&&f(e,l,t[l]);if(N)for(var l of N(t))y.call(t,l)&&f(e,l,t[l]);return e})({width:e},v))})]}):(0,i.jsxs)("div",{className:"df aic jcc fdc project-list__no-projects",children:[(0,i.jsx)(h.Figure6,{width:"50",className:"datasets-list__no-data"}),(0,i.jsx)("span",{children:r("export::big_query_has_no_projects")})]})})]})};var T=Object.defineProperty,I=Object.getOwnPropertySymbols,D=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,k=(e,t,l)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l;const S=({className:e,datasets:t,datasetId:l,onChange:o,isLoading:r,needSelectProject:n})=>{const{t:d}=(0,s.useTranslation)(["export","Global","tooltip"]),[u,b]=(0,a.useState)(""),N=(0,a.useCallback)(e=>()=>{o(e)},[o]);(0,a.useEffect)(()=>{b("")},[t]);const M=(0,a.useMemo)(()=>u?t.filter(e=>e.id.includes(u)):t,[t,u]),y={className:"scrollbar",rowCount:M.length,rowHeight:30,overscanRowCount:2,rowRenderer:({index:e,key:t,style:a})=>{const o=M[e],r=`${o.id}_${t}`;return(0,i.jsx)("div",{className:c()("df aic datasets-list__item",{"datasets-list__item--active":o.id===l}),style:a,onClick:N(o.id),"data-testid":o.id,children:(0,i.jsx)("span",{children:o.id})},r)},height:260};return(0,i.jsxs)("div",{className:c()("datasets-list",e),children:[(0,i.jsxs)("div",{className:"datasets-list__header",children:[d("export::select_dataset_from_list"),(0,i.jsx)(x.Tooltip,{tooltipText:d("tooltip::select_dataset_from_list")})]}),(0,i.jsx)("div",{className:"datasets-list__wrapper",children:r?(0,i.jsx)(j.BigLoader,{isTextHidden:!0}):n?(0,i.jsxs)("div",{className:"df aic jcc fdc datasets-list__need-select-project",children:[(0,i.jsx)(h.Figure6,{width:"50",className:"datasets-list__no-data"}),(0,i.jsx)("span",{children:d("export::big_query_need_select_project")})]}):(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(g.default,{placeholder:d("Global::search"),name:"search",onInput:_()(b,200),value:u,autofocus:!0,inputClear:!0,autoComplete:"off"}),(0,i.jsx)(p.default,{disableHeight:!0,children:({width:e})=>(0,i.jsx)(m.default,((e,t)=>
1{for(var l in t||(t={}))D.call(t,l)&&k(e,l,t[l]);if(I)for(var l of I(t))w.call(t,l)&&k(e,l,t[l]);return e})({width:e},y))})]})})]})},L=(e=[])=>{const{data:t,loading:l,error:i}=(0,o.useProcedure)(["projects.getBqUserProjects",{}],e);return{projects:t,loadingProjects:l,errorProjects:i}};var O=l(86673);const z=e=>{const[t,l]=(0,a.useState)([]),[i,o]=(0,a.useState)(!1),[r,s]=(0,a.useState)(null);return(0,a.useEffect)(()=>{(()=>{return t=null,i=null,a=function*(){try{o(!0),l(null),s(null);let t=[];e&&(t=yield(0,O.fetchDataWithErrorCheck)("projects.getBqDatasetsByProject",{projectId:e})),l((e=>{const t=[{id:n}];return(null==e?void 0:e.length)&&e.forEach(e=>{e.id!==n&&t.push(e)}),t})(t))}catch(e){s(e)}finally{o(!1)}},new Promise((e,l)=>{var o=e=>{try{n(a.next(e))}catch(e){l(e)}},r=e=>{try{n(a.throw(e))}catch(e){l(e)}},n=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,r);n((a=a.apply(t,i)).next())});var t,i,a})()},[e]),{datasets:t,loadingDatasets:i,errorDatasets:r}};var A=l(37342);const E=({className:e,onClose:t,header:l,footer:a,children:o})=>(0,i.jsx)("div",{className:c()("dialog-settings",e),children:(0,i.jsx)(A.default,{onClose:t,className:c()(e,"dialog-settings__dialog"),dialogHeading:l,dialogFoot:a,isAlertsInPopupOn:!0,onWrappClick:t,children:(0,i.jsx)("div",{className:"df dialog-settings__sections",children:Array.isArray(o)?o.map((e,t)=>(0,i.jsx)("div",{className:`dialog-settings__section dialog-settings__section--${t+1}`,children:e},`section-${t}`)):o})})});var C=l(31299);const P=({className:e,cancelTitle:t,onCancel:l,applyTitle:a,onApply:o,isApplyDisabled:r,children:n})=>{const{t:d}=(0,s.useTranslation)(["Global"]);return(0,i.jsxs)("div",{className:c()("df aic jcfe footers-buttons",e),children:[n,"function"===typeof l&&(0,i.jsx)(C.Button,{className:"footers-buttons__cancel",onClick:l,color:"primary",children:t||d("Global::cancel_button")}),"function"===typeof o&&(0,i.jsx)(C.Button,{className:"footers-buttons__apply",onClick:o,isDisabled:r,children:a||d("Global::apply_button")})]})},Q=({onClose:e,onSubmit:t})=>{const{t:l}=(0,s.useTranslation)(["export","Global"]),[o,r]=(0,a.useState)(null),[n,d]=(0,a.useState)(null),{projects:c,loadingProjects:u}=L(),{datasets:_,loadingDatasets:p}=z(o),m=(0,a.useCallback)(()=>{o&&t&&t({projectId:o,datasetId:n})},[t,o,n]),g=(0,a.useCallback)(e=>{o!==e&&(d(null),r(e))},[o]);return(0,a.useEffect)(()=>{!(u||p)&&o&&(null==_?void 0:_.length)>0&&d(_[0].id)},[_,p]),(0,i.jsxs)(E,{className:"dialog-bq-project-id",onClose:e,header:l("export::big_query_export"),footer:(0,i.jsx)(P,{onCancel:e,onApply:m,isApplyDisabled:!o||!n,applyTitle:l("export::big_query_id_button")}),children:[(0,i.jsx)(v,{projects:c||[],projectId:o,onChange:g,isLoading:u}),(0,i.jsx)(S,{datasets:_||[],datasetId:n,onChange:d,isDisabled:!o,isLoading:u||p,needSelectProject:!o})]})};var U=Object.defineProperty,B=Object.defineProperties,Y=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,R=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,H=(e,t,l)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,V=(e,t)=>{for(var l in t||(t={}))R.call(t,l)&&H(e,l,t[l]);if(F)for(var l of F(t))Z.call(t,l)&&H(e,l,t[l]);return e};const G=e=>t=>{var l=t,{formats:n,onExport:s}=l,d=((e,t)=>{var l={};for(var i in e)R.call(e,i)&&t.indexOf(i)<0&&(l[i]=e[i]);if(null!=e&&F)for(var i of F(e))t.indexOf(i)<0&&Z.call(e,i)&&(l[i]=e[i]);return l})(l,["formats","onExport"]);const[c,u]=(0,a.useState)(null),_=(0,o.useTrigger)(!1),p=(0,a.useCallback)(e=>{const{format:t}=e;t===r?(u(e),_.on()):(u(null),s(e))},[s,_]),m=(0,a.useCallback)(({projectId:e,datasetId:t})=>{var l;s((l=V({},c),B(l,Y({bigQueryProjectId:e,bigQueryDatasetId:t})))),_.off()},[s,c,_]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e,V({formats:n,onExport:p},d)),_.value&&(0,i.jsx)(Q,{onClose:_.off,onSubmit:m})]})}},35818(e,t,l){l.r(t),l.d(t,{default:()=>v});var i=l(74848),a=l(46216);var o=l(96540),r=l(87714),n=l(19320);const s=({title:e,desc:t,info:l,src:a,onClick:s,button:d,withUpgradeButton:c})=>(0,i.jsxs)(o.Fragment,{children:[(0,i.jsxs)("div",{className:"tc core-empty-section__text-wrapper",children:[(0,i.jsx)("h4",{className:"core-empty-section__title",children:e}),t&&(0,i.jsx)("p",{className:"core-empty-section__message",children:t}),l&&(0,i.jsx)("p",{className:"core-empty-section__message",children:l}),d&&c&&(0,i.jsx)(n.default,{path:"/pay/",title:d,children:(0,i.jsx)(r.default,{color:"green",onClick:s,children:d})}),d&&!c&&(0,i.jsx)(r.default,{color:"green",onClick:s,children:d})]}),a&&(0,i.jsx)("div",{className:"mr40 ml40 mr30 df jcc",children:(0,i.jsx)("div",{className:"core-empty-section__img-wrapper",children:(0,i.jsx)("img",{src:a,alt:"Serpstat Empty Section"})})})]});var d=l(46942),c=l.n(d),u=l(18492),_=l(11492),p=l(76428),m=l(72681);const g={"/batch":{uk:"7AinhyTXJYY",en:"OVjRzuqbKlQ"},"/keywords/batch":{uk:"OxbTeWJutHY",en:"2Jze0wQJ5aY"},"/text-editor":{uk:"UtXAtgStGAQ",en:"0Fs201Zu23A"},"/brand-opportunities":{uk:"zU2wMzmCE18",en:"TsZImFmlBwI"}},x=({title:e,desc:t,src:l,onClick:a,button:o,withUpgradeButton:s,children:d,className:x})=>{const{t:j}=(0,u.useTranslation)(["Global"]),h=_.default.getParseToken(),b=(0,p.default)(),{pathname:N}=(0,m.useLocation)(),M=((e,t)=>{const l=Object.entries(g).sort(([e],[t])=>t.length-e.length);for(const[i,a]of l){const l=e.indexOf(i);if(-1===l)continue;const o=e[l+i.length];if(void 0===o||"/"===o)return"uk"===t?a.uk:a.en}return null})(N,b),y=[44,289,145,442,690,696,766,778,782,784,786,788,958,1012,1337,684,768,1101].includes(null==h?void 0:h.planId),f=()=>{let e="/pay/";return y&&["en","es"].includes(b)&&(e="https://serpstat.com/page/lifetime-pricing-plan/"),y&&"ru"===b&&(e="https://serpstat.com/ru/page/lifetime-pricing-plan/"),y&&"uk"===b&&(e="https://serpstat.com/uk/page/lifetime-pricing-plan/"),e};return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:c()(x,"df aic jcc core-empty-section pt20 pb20"),children:[(0,i.jsx)("div",{className:"core-empty-section__fake-popup-background",style:{backgroundImage:l?`url('${l}')`:"transparent"}}),(0,i.jsxs)("div",{className:"core-empty-section__fake-popup tac",children:[(0,i.jsx)("div",{className:"core-empty-section__fake-popup-logo df jcc",children:M?(0,i.jsx)("iframe",{width:"700",height:"365",src:`https://www.youtube.com/embed/${M}`,title:"YouTube video",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):null}),(0,i.jsxs)("div",{className:"pt20 pb30 pl30 pr30 tc",children:[(0,i.jsx)("h4",{className:"core-empty-section__title",children:e}),t&&(0,i.jsx)("p",{className:"core-empty-section__message",children:t}),y?(0,i.jsx)("h4",{className:"core-empty-section__sub-title",children:j("upgrade_lifetime_subscription")}):null,o&&s&&(0,i.jsx)(n.default,{path:f(),title:o,hideTrial:!0,children:(0,i.jsx)(r.default,{color:"green",onClick:()=>{y?window.location.href=f():a()},children:o})}),o&&!s&&(0,i.jsx)(r.default,{color:"green",onClick:a,children:o}),d]})]})]})})};var j=Object.defineProperty,h=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,M=(e,t,l)=>t in e?j(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,y=(e,t)=>{for(var l in t||(t={}))b.call(t,l)&&M(e,l,t[l]);if(h)for(var l of h(t))N.call(t,l)&&M(e,l,t[l]);return e};const f=e=>{var t=e,{viewType:l}=t,a=((e,t)=>{var l={};for(var i in e)b.call(e,i)&&t.indexOf(i)<0&&(l[i]=e[i]);if(null!=e&&h)for(var i of h(e))t.indexOf(i)<0&&N.call(e,i)&&(l[i]=e[i]);return l})(t,["viewType"]);return"fake-popup"===l?(0,i.jsx)(x,y({},a)):(0,i.jsx)(s,y({},a))};f.defaultProps={onClick:()=>{(0,a.transitionTo)("/pay/")},viewType:"fake-popup",withUpgradeButton:!0};const v=f},51926(e,t,l){l.r(t),l.d(t,{default:()=>d});var i=l(83759),a=l(38434),o=l(56166),r=l(58520),n=l(91470),s=l(55638);function d(e,t,l){return d=this,c=null,u=function*(){e.preventDefault(),(0,i.default)((0,a.requestCreateProject)({domain:t.value,name:t.value,groups:"Default group",fromDashboard:!1,callback:()=>{(0,i.default)((0,n.getProjectsRequest)({forceUpdate:!0})),s.dashbordCache.reset(),(0,i.default)((0,o.addAlert)({alertID:(0,r.default)(),alertType:"success",alertText:t.t("Global::add_to_projects_success",{domain:t.value})})),l()}}))},new Promise((e,t)=>
1{var l=e=>{try{a(u.next(e))}catch(e){t(e)}},i=e=>{try{a(u.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(l,i);a((u=u.apply(d,c)).next())});var d,c,u}},77424(e,t,l){l.r(t),l.d(t,{default:()=>j});var i=l(74848),a=l(96540),o=l(31726),r=l(96307),n=l(46216),s=l(86663),d=l(51926);const c=(e,t,l)=>s.stringify({se:t,query:e,search_type:"domain"===l?"subdomains":l});var u=l(78462),_=l(21552),p=l(8217),m=(e=>(e.Domain="subdomains",e.Keyword="keyword",e.Url="url",e))(m||{});const g=new Map;g.set("domain",(e,t)=>[[{title:e("domain_overview"),href:"/domains/index/"},{title:e("domain_organic_keywords"),href:"/domains/search/"},{title:e("domain_top_pages"),href:"/domains/urls/"},{title:e("domain_backlinks_overview"),href:"/backlinks/dashboard/"},{title:e("domain_referring_domains"),href:"/backlinks/refdomains/"},{title:e("domain_outlinks"),href:"/backlinks/outlinks/"},{title:e("domain_anchors"),href:"/backlinks/anchors/"},t?{title:e("audit_start"),href:`/audit/overview/${t}`,setQuery:()=>"?start=true"}:{title:e("audit_create_project"),href:"/audit/createProject",setQuery:e=>`?domain=${e}`},!t&&{title:e("Global::add_to_projects"),href:window.location.pathname,onClick:d.default}].filter(Boolean)]),g.set("keyword",e=>[[{title:e("keyword_overview"),href:"/keywords/index/"},{title:e("keyword_related_keywords"),href:"/keywords/graph/"},{title:e("keyword_search_suggestions"),href:"/keywords/suggestions/"},{title:e("keyword_competitors"),href:"/keywords/competitors/"},{title:e("keyword_organic_keyword_selection"),href:"/keywords/search/"},{title:e("keyword_paid_keyword_selection"),href:"/keywords/ad/"},{title:e("keyword_top_pages"),href:"/keywords/urls/"},{title:e("QuickLinks::keywords_top"),href:"/keywords/info/"}]]),g.set("url",e=>[[{title:e("url_overview"),href:"/urls/index/"},{title:e("url_missed_keywords"),href:"/urls/missing-keywords/"},{title:e("url_competitors"),href:"/urls/competitors/"},{title:e("url_paid_url_position"),href:"/urls/search/"},{title:e("url_ads_examples"),href:"/urls/ads/"}]]);const x=(0,a.memo)(({type:e,iconId:t="angle_right",children:l,className:s,value:d,se:x,projects:j})=>{const{t:h}=(0,_.useTranslation)(["QuickLinks","Global"]),b=(0,a.useMemo)(()=>{switch(e){case m.Keyword:return h("tooltip_keyword_text");case m.Url:return h("tooltip_url_text");default:return h("tooltip_text")}},[h,e]),N=((e,t)=>{var l;return((null==(l=null==t?void 0:t.filter(e=>!e.viewOnly))?void 0:l.find(t=>t.projectDomain===e))||{}).projectId})(d,j),M=g.get(e)?g.get(e)(h,N):null,y=((e,t)=>{switch(t){case m.Domain:return(0,u.testValue)(e,["domain"]);case m.Keyword:return(0,u.testValue)(e,["keyword"]);case m.Url:return(0,u.testValue)(e,["addurl"]);default:return!0}})(d,e);return(0,i.jsxs)(i.Fragment,{children:[l,(0,i.jsx)(o.default,{className:`${s||""} quick-links`,classNameDropdown:"quick-links__dropdown",dropdownSide:"right-center",allowOpenOnTop:!0,trigger:(0,i.jsx)(p.default,{tooltipText:b,children:(0,i.jsx)(r.default,{className:"quick-links__trigger",iconId:t})}),children:t=>M&&y?M.map((l,a)=>(0,i.jsx)("ul",{className:"quick-links__list",children:l&&l.map((l,a)=>(0,i.jsx)("li",{children:(0,i.jsx)(n.default,{className:"quick-links__link",type:void 0,to:{pathname:l.href,search:l.setQuery?l.setQuery(d,x):c(d,x,e)},onClick:l.onClick?i=>{l.onClick(i,{value:d,se:x,type:e,t:h},t)}:void 0,children:l.title})},`${a}`))},`${a}`)):(0,i.jsx)("div",{className:"p10",children:y?`No have this type: ${e}`:`No valid value: ${d}, by type: ${e}`})})]})});const j=(0,l(32892).connect)(e=>({se:(e.searchForm.selectSE||{}).value,projects:e.projects.allProjects||[]}),null)(x)},76978(e,t,l){l.r(t),l.d(t,{Figure2:()=>a});var i=l(83015);const a=(0,l(55263).withProps)({lightThemeSrc:l(8406).default,darkThemeSrc:l(96665).default})(i.Img)},61118(e,t,l){l.r(t),l.d(t,{Figure6:()=>a});var i=l(83015);const a=(0,l(55263).withProps)({lightThemeSrc:l(88826).default,darkThemeSrc:l(70837).default})(i.Img)},47386(e,t,l){l.r(t),l.d(t,{ADMIN_PLAN:()=>a,SE_ID_GOOGLE:()=>o,SE_ID_YANDEX:()=>r,SUPPORT_PLAN:()=>i,pageTabs:()=>n});const i="13",a="1",o=1,r=2,n=[{text:"Organic",value:"organic"},{text:"Paid",value:"paid"},{text:"AI Overview",value:"ai_overview"}]},77395(e,t,l){l.r(t),l.d(t,{PositionReservedValues:()=>n,RegionDeviceTypes:()=>o,RegionSearchEngines:()=>r,RegionSerpTypes:()=>a,RtPages:()=>i});var i=(e=>(e.Settings="settings",e.Competitors="competitors",e.Urls="urls",e.Keywords="keywords",e))(i||{}),a=(e=>(e.SEO="organic",e.PPC="ppc",e.AIO="ai_overview",e))(a||{}),o=(e=>(e.Desktop="desktop",e.Mobile="phone",e))(o||{}),r=(e=>(e.Google="google",e.Yandex="yandex",e))(r||{}),n=(e=>(e[e.NotAvailable=null]="NotAvailable",e[e.OutsideOfTop=101]="OutsideOfTop",e[e.ContextNotFound=999]="ContextNotFound",e))(n||{})},95059(e,t,l){l.r(t),l.d(t,{default:()=>z,defaultFormats:()=>L});var i=l(74848),a=l(96540),o=l(46942),r=l.n(o),n=l(21552),s=l(2578),d=l(1139),
1c=Object.defineProperty,u=Object.defineProperties,_=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,x=(e,t,l)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l;const j=e=>(t,l)=>d.default.checkIsAdmin(l)||t>e?e:t,h=[{formats:["csv","csv_cp1251"],getLimit:(e,t)=>d.default.checkIsAdmin(t)?1e6:e},{formats:["xls","xlsx"],getLimit:j(65e3)},{formats:["gdrive"],getLimit:j(75e3)},{formats:["pdf"],getLimit:j(2e3)}],b=(e,t,l,i)=>{let a=null;if("with_fb_shares"===i)a=2e3;else{const{getLimit:i}=h.find(({formats:t})=>t.includes(e.name))||{};if(i){const e=i(t,l);-1!==e&&(a=e)}}return a},N=(e,t,l,i,a,o)=>e.map(e=>{return"string"===typeof e?e:(l=((e,t)=>{for(var l in t||(t={}))m.call(t,l)&&x(e,l,t[l]);if(p)for(var l of p(t))g.call(t,l)&&x(e,l,t[l]);return e})({},e),r={limitNumber:o||b(e,t,i,a)},u(l,_(r)));var l,r});var M=l(51268),y=Object.defineProperty,f=Object.defineProperties,v=Object.getOwnPropertyDescriptors,T=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,w=(e,t,l)=>t in e?y(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,k=(e,t)=>{for(var l in t||(t={}))I.call(t,l)&&w(e,l,t[l]);if(T)for(var l of T(t))D.call(t,l)&&w(e,l,t[l]);return e},S=(e,t)=>f(e,v(t));const L=[{name:"csv",limitLabel:"up_to_1M"},{name:"csv_cp1251",limitLabel:"up_to_1M"},{name:"xls",limitLabel:"up_to_65K"},{name:"xlsx",limitLabel:"up_to_65K"},{name:"gdrive",limitLabel:"up_to_75K"},{name:"pdf",limitLabel:"up_to_2K"}],O=(0,M.default)(s.default),z=({isDisabled:e,isPartialExportAvailable:t,config:l,onExport:o,className:s,formats:d=L,limits:c,exportTotal:u,isLimitedDbSelected:_,maxLines:p,customMaxLines:m,planId:g,onSelectLogo:x,noTooltip:j})=>{const{t:h}=(0,n.useTranslation)(["export","AnalysisExport","Backlinks","Audit","UserWhiteLabel"]),b=(0,a.useMemo)(()=>N(d,p,0,g,"",m),[d,p,c,g,m]),M=(0,a.useMemo)(()=>((null==l?void 0:l.fields)||[]).map(e=>({id:e.value,isDisabled:e.disabled,name:e.translate||h(`field_${e.value}`),submitValue:e.submitValue,isChecked:e.isChecked,se:e.se})),[l,h]),y=(0,a.useMemo)(()=>((null==l?void 0:l.choice)||[]).map(e=>S(k({},e),{title:h(e.name),id:e.name,formats:N(e.formats,p,0,g,e.name)})),[null==l?void 0:l.choice,c,p,g,h]),f=(0,a.useCallback)(e=>{o(S(k({},e),{method:e.method||(null==l?void 0:l.method)||void 0}))},[o,l]);return(0,i.jsx)("div",{className:r()("export-site-analysis",s),children:(0,i.jsx)(O,{formats:b,isAllowedPartialExport:t,isAllowedFieldsSelect:Boolean(M.length),fields:M,choice:y,isDisabled:e,onExport:f,limits:c,exportTotal:u,isLimitedDbSelected:_,onSelectLogo:x,noTooltip:j})})}},43457(e,t,l){l.r(t),l.d(t,{default:()=>a});var i=l(74848);const a=({pagination:e={},number:t=0})=>{const{page:l=1,pageSize:a=0}=e;return(0,i.jsx)(i.Fragment,{children:t+(1===l?0:a*l-a)})}},40458(e,t,l){l.r(t),l.d(t,{default:()=>Xe});var i=l(74848),a=l(96540);const o="BrandOpportunities___re7mm",r={"d-none":"d-none___Txc9B","d-inline":"d-inline___rl03d","d-inline-block":"d-inline-block___AAo6Q","d-block":"d-block___xSZcT","d-table":"d-table___dzalH","d-table-row":"d-table-row___uY6zr","d-table-cell":"d-table-cell___Wpizs","d-flex":"d-flex___Tce1R","d-inline-flex":"d-inline-flex___uQv9R","d-sm-none":"d-sm-none___V2QjD","d-sm-inline":"d-sm-inline___DaWeF","d-sm-inline-block":"d-sm-inline-block___fHRL6","d-sm-block":"d-sm-block___PEdEB","d-sm-table":"d-sm-table___Sk3WL","d-sm-table-row":"d-sm-table-row___HvCOF","d-sm-table-cell":"d-sm-table-cell___BbqQT","d-sm-flex":"d-sm-flex___s4pMy","d-sm-inline-flex":"d-sm-inline-flex___vrEfN","d-md-none":"d-md-none___L7b86","d-md-inline":"d-md-inline___feQ6A","d-md-inline-block":"d-md-inline-block___jHmNX","d-md-block":"d-md-block___PC0ti","d-md-table":"d-md-table___i4jJ_","d-md-table-row":"d-md-table-row___rQQoo","d-md-table-cell":"d-md-table-cell___eTNPw","d-md-flex":"d-md-flex___tY0Mr","d-md-inline-flex":"d-md-inline-flex___d9v6p","d-lg-none":"d-lg-none___Kinfp","d-lg-inline":"d-lg-inline___pKflI","d-lg-inline-block":"d-lg-inline-block___EEO2I","d-lg-block":"d-lg-block___r__Uj","d-lg-table":"d-lg-table___oTMyp","d-lg-table-row":"d-lg-table-row___kVI1U","d-lg-table-cell":"d-lg-table-cell___fqZK1","d-lg-flex":"d-lg-flex___aw0Y8","d-lg-inline-flex":"d-lg-inline-flex___SO23b","d-xl-none":"d-xl-none___Iu9Lh","d-xl-inline":"d-xl-inline___H6eSC","d-xl-inline-block":"d-xl-inline-block___nDiUN","d-xl-block":"d-xl-block___h9HZd","d-xl-table":"d-xl-table___UwZRy","d-xl-table-row":"d-xl-table-row___zhhxS","d-xl-table-cell":"d-xl-table-cell___IvmEu","d-xl-flex":"d-xl-flex___JflxK","d-xl-inline-flex":"d-xl-inline-flex___MJRvL","d-xxl-none":"d-xxl-none___nPaMa","d-xxl-inline":"d-xxl-inline___sJ97i","d-xxl-inline-block":"d-xxl-inline-block___Rigfy","d-xxl-block":"d-xxl-block___V9SAq","d-xxl-table":"d-xxl-table___uWp0L","d-xxl-table-row":"d-xxl-table-row___koo36","d-xxl-table-cell":"d-xxl-table-cell___KvLCJ","d-xxl-flex":"d-xxl-flex___Hvf5a","d-xxl-inline-flex":"d-xxl-inline-flex___BVMW6",BrandOp
1portunitiesLanding:"BrandOpportunitiesLanding___e33Yb",bottomSection:"bottomSection___SNLya",findSection:"findSection___XSRLp",analyzeSection:"analyzeSection___krTLS",discoverSection:"discoverSection___Vesz8",formSection:"formSection___lpghj",illustration:"illustration___o1ulz",header:"header____HiZO",title:"title___aJMfP",subtitle:"subtitle___lMqwp",form:"form___B77cm",inputsWrapper:"inputsWrapper___s5dUV",inputsRow:"inputsRow___YPypv",labelText:"labelText___WRBG0",generateReportButton:"generateReportButton___WlIIa",aioIllustration:"aioIllustration___zuusD",info:"info___flH7o",description:"description___cE1UV",discoverIllustration:"discoverIllustration___wgV_H",bgBrandGradient:"bgBrandGradient___YkJJ7",formInput:"formInput___bavUo",regionSelectValue:"regionSelectValue___dzCPg"};var n=l(31071),s=l(18492),d=l(55610),c=l(50768),u=l(36955),_=l(51734),p=l(93055),m=l(96307),g=l(78536),x=l(46216),j=l(78462),h=l(80762),b=l(72681),N=l(21630),M=l(32892),y=l(4737),f=l(28314),v=Object.defineProperty,T=Object.defineProperties,I=Object.getOwnPropertyDescriptors,D=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,k=Object.prototype.propertyIsEnumerable,S=(e,t,l)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,L=(e,t)=>{for(var l in t||(t={}))w.call(t,l)&&S(e,l,t[l]);if(D)for(var l of D(t))k.call(t,l)&&S(e,l,t[l]);return e},O=(e,t)=>T(e,I(t));const z=({styles:e,searchForm:t,dropdownSearchHandle:l,changeSE:o,buttonText:r="brand_opportunities::generate_report_button",onSubmit:v})=>{var T;const{t:I}=(0,s.useTranslation)(["searchPlatform","SearchForm","brand_opportunities","InputErrors"]),D=(0,b.useLocation)(),w=(0,M.useDispatch)(),k=(0,n.useTheme)(),{dropdown_query:S}=(0,M.useSelector)(e=>e.searchForm),z=(0,a.useMemo)(()=>new URLSearchParams(D.search),[D.search]),A=(0,a.useMemo)(()=>({brand_name:z.get("brand_name")||"",main_domain:z.get("main_domain")||"",mirrors:z.get("mirrors")||""}),[z]);let E=(0,h.getFilteredSEItems)({searchForm:t,t:I});E={Default:(null==E?void 0:E.Default)||"",Google:(null==(T=null==E?void 0:E.Google)?void 0:T.filter(e=>["g_us","g_ua"].includes(e.value)))||[]};const C=e=>{l(e)},P=e=>{o(e)},Q=e=>{if(!e)return!0;const t=[];return e.split(",").forEach(e=>{const l=(0,j.validateValue)(e.trim(),["domain","noHTML"]);l.length&&t.push(l)}),0===t.length},U=(0,f.usePrevious)(t.selectSE);return(0,a.useEffect)(()=>{!U&&(null==t?void 0:t.selectSE)&&setTimeout(()=>{w((0,y.fetchDefaultSE)({flag:"us",text:"google.com",title_key:"united_states",value:"g_us"}))},200)},[w,E,U,null==t?void 0:t.selectSE]),(0,i.jsx)(g.Form,{onSubmit:e=>{var l,i;const a=e.brand_name?`brand_name=${e.brand_name}`:"",o=e.main_domain?`main_domain=${e.main_domain}`:"",r=Q(e.mirrors),n=[a,o,e.mirrors&&r?`mirrors=${e.mirrors}`:"",(null==(l=null==t?void 0:t.selectSE)?void 0:l.value)?`se=${null==(i=null==t?void 0:t.selectSE)?void 0:i.value}`:""].filter(e=>e).join("&");v&&v(),(0,x.transitionTo)(`/brand-opportunities/?${n}`)},validate:e=>{const t={};if(e.brand_name||(t.brand_name=I("InputErrors::field_required")),e.main_domain){(0,j.validateValue)(null==e?void 0:e.main_domain,["domain","noHTML"]).length&&(t.main_domain=I("InputErrors::wrong_format"))}else t.main_domain=I("InputErrors::field_required");return t},initialValues:A,children:l=>{var a;return(0,i.jsxs)("form",{className:e.form,onSubmit:l.handleSubmit,children:[(0,i.jsxs)("div",{className:e.inputsWrapper,children:[(0,i.jsxs)("div",{className:e.inputsRow,children:[(0,i.jsx)(g.Field,{name:"brand_name",render:({input:t,meta:l})=>(0,i.jsxs)("label",{htmlFor:"brand_name",children:[(0,i.jsxs)("div",{className:e.labelText,"data-theme":(0,N.getNewTheamNames)(k.currentTheme),
1children:[I("brand_opportunities::brand_name_field_label"),(0,i.jsx)(d.Tooltip,{tooltipText:I("brand_opportunities::brand_name_field_tooltip")})]}),(0,i.jsx)(c.default,O(L({},t),{type:"text",value:t.value,classNameParent:e.formInput,id:"brand_name",name:"brand_name",placeholder:I("brand_opportunities::brand_name_placeholder"),onInput:t.onChange})),l.touched&&l.error&&(0,i.jsx)(u.default,{inputErrorText:l.error})]})}),(0,i.jsx)(g.Field,{name:"main_domain",render:({input:t,meta:l})=>(0,i.jsxs)("label",{htmlFor:"main_domain",children:[(0,i.jsxs)("div",{className:e.labelText,"data-theme":(0,N.getNewTheamNames)(k.currentTheme),children:[I("brand_opportunities::main_domain_field_label"),(0,i.jsx)(d.Tooltip,{tooltipText:I("brand_opportunities::main_domain_field_tooltip")})]}),(0,i.jsx)(c.default,O(L({},t),{type:"text",value:t.value,classNameParent:e.formInput,id:"main_domain",name:"main_domain",placeholder:I("brand_opportunities::main_domain_placeholder"),onInput:t.onChange})),l.touched&&l.error&&(0,i.jsx)(u.default,{inputErrorText:l.error})]})})]}),(0,i.jsxs)("div",{className:e.inputsRow,children:[(0,i.jsxs)("label",{htmlFor:"region",children:[(0,i.jsxs)("div",{className:e.labelText,"data-theme":(0,N.getNewTheamNames)(k.currentTheme),
1children:[I("brand_opportunities::region_field_label"),(0,i.jsx)(d.Tooltip,{tooltipText:I("brand_opportunities::region_field_tooltip")})]}),(0,i.jsx)(_.default.Dropdown,{items:E,value:(null==t?void 0:t.selectSE)&&(null==(a=null==t?void 0:t.selectSE)?void 0:a.value)||"g_us",placeholder:(null==t?void 0:t.selectSE)?(0,i.jsxs)("div",{className:e.regionSelectValue,children:[(0,i.jsx)("i",{className:`flag_${t.selectSE.flag}`}),t.selectSE.text]}):(0,i.jsx)(p.default,{}),className:"search_product_dropdown_handler flex_form_group_el",classNameDropdown:"searchbar-database-no-query",dropdownHandle:C,onClick:P,inputHiddenName:"se",t:I,query:S,showLimitedDb:!0,sortByGroups:!0})]}),(0,i.jsx)(g.Field,{name:"mirrors",render:({input:t,meta:l})=>{const a=t.value&&!Q(t.value),o=l.touched&&a;return(0,i.jsxs)("label",{htmlFor:"mirrors",children:[(0,i.jsxs)("div",{className:e.labelText,"data-theme":(0,N.getNewTheamNames)(k.currentTheme),children:[I("brand_opportunities::mirrors_field_label"),(0,i.jsx)(d.Tooltip,{tooltipText:I("brand_opportunities::mirrors_field_tooltip")})]}),(0,i.jsx)(c.default,O(L({},t),{type:"text",value:t.value,classNameParent:e.formInput,id:"mirrors",name:"mirrors",placeholder:I("brand_opportunities::mirrors_placeholder"),onInput:t.onChange})),o&&(0,i.jsx)(u.default,{inputErrorText:I("InputErrors::wrong_format")})]})}})]})]}),(0,i.jsxs)("button",{type:"submit",className:e.generateReportButton,children:[(0,i.jsx)(m.default,{iconId:"search"}),I(r)]})]})}})},A=l.p+"imgs/ai-overview-illustration_e5e43426.svg?react",E=l.p+"imgs/ai-overview-illustration-dark_e07af523.svg?react",C=l.p+"imgs/discover-illustration_9565f5f6.svg?react",P=l.p+"imgs/discover-illustration-dark_75b1c30b.svg?react",Q=l.p+"imgs/find-illustration_5b3d8e4d.svg?react",U=l.p+"imgs/find-illustration-dark_2b576765.svg?react",B=l.p+"imgs/analyze-illustration_2e57c3ea.svg?react",Y=l.p+"imgs/analyze-illustration-dark_47178830.svg?react",F=({searchForm:e,dropdownSearchHandle:t,changeSE:l})=>{const a=(0,n.useTheme)(),{t:o}=(0,s.useTranslation)(["SearchForm","brand_opportunities"]);return(0,i.jsxs)("div",{className:r.BrandOpportunitiesLanding,"data-theme":a.currentTheme,children:[(0,i.jsxs)("div",{className:r.header,children:[(0,i.jsx)("div",{className:r.title,children:o("brand_opportunities::page_title")}),(0,i.jsx)("div",{className:r.subtitle,children:o("brand_opportunities::page_subtitle")})]}),(0,i.jsxs)("div",{className:r.formSection,children:[(0,i.jsx)(z,{styles:r,searchForm:e,changeSE:l,dropdownSearchHandle:t}),(0,i.jsx)("img",{src:"dark-full"===a.currentTheme?E:A,alt:"AIO Illustration",className:r.aioIllustration})]}),(0,i.jsxs)("div",{className:r.discoverSection,children:[(0,i.jsxs)("div",{className:r.info,children:[(0,i.jsx)("div",{className:r.title,children:o("brand_opportunities::missed_opportunities_title")}),(0,i.jsx)("div",{className:r.description,children:o("brand_opportunities::missed_opportunities_description")})]}),(0,i.jsx)("img",{src:"dark-full"===a.currentTheme?P:C,alt:"Discover Illustration",className:r.discoverIllustration})]}),(0,i.jsxs)("div",{className:r.bottomSection,children:[(0,i.jsxs)("div",{className:r.findSection,children:[(0,i.jsx)("img",{src:"dark-full"===a.currentTheme?U:Q,alt:"Discover Illustration",className:r.illustration}),(0,i.jsxs)("div",{className:r.info,children:[(0,i.jsx)("div",{className:r.title,children:o("brand_opportunities::brand_mentions_title")}),(0,i.jsx)("div",{className:r.description,children:o("brand_opportunities::brand_mentions_description")})]})]}),(0,i.jsxs)("div",{className:r.analyzeSection,children:[(0,i.jsx)("img",{src:"dark-full"===a.currentTheme?Y:B,alt:"Discover Illustration",className:r.illustration}),(0,i.jsxs)("div",{className:r.info,children:[(0,i.jsx)("div",{className:r.title,children:o("brand_opportunities::analyze_competitors_title")}),(0,i.jsx)("div",{className:r.description,children:o("brand_opportunities::analyze_competitors_description")})]})]})]})]})};var R=l(68154);const Z="BOFilterButton___kiXUS",H="card___nsJS0",V="title___Iag7S",G="value___d3LMB";var W=l(29526);const q=({title:e,tooltip:t,value:l,color:a,isActive:o=!1,isDisabled:r=!1,onClick:s})=>{const c=(0,n.useTheme)(),u=a?{"--bo-filter-color":a}:void 0;return(0,i.jsx)("div",{className:Z,style:u,"data-active":String(o),"data-theme":(0,N.getNewTheamNames)(c.currentTheme),
1children:(0,i.jsxs)("button",{"data-theme":(0,N.getNewTheamNames)(c.currentTheme),className:H,onClick:s,disabled:r,children:[(0,i.jsxs)("div",{className:V,children:[e,(0,i.jsx)(d.Tooltip,{tooltipText:t})]}),(0,i.jsx)("div",{className:G,children:"number"===typeof l?(0,W.formatNumberLetter)(l):l})]})})};var $=l(79611),J=l(56468),K=l(16142),X=l(5682),ee=l(30080);const te={with_links:{type:"with_links",color:"#72B155",text:"brand_opportunities::with_links",tooltip:"brand_opportunities::with_links_tooltip",tag:"brand_opportunities::with_links_tag"},domain_only:{type:"domain_only",color:"#FA9927",text:"brand_opportunities::domain_only",tooltip:"brand_opportunities::domain_only_tooltip",tag:"brand_opportunities::domain_only_tag"},opportunity:{type:"opportunity",color:"#EC3D4C",text:"brand_opportunities::opportunity",tooltip:"brand_opportunities::opportunity_tooltip",tag:"brand_opportunities::opportunity_tag"}},le={name:"keyword",title:"brand_opportunities::keyword_column",tooltip:"brand_opportunities::keyword_column_tooltip"},ie={name:"textPreview",title:"brand_opportunities::textPreview_column",tooltip:"brand_opportunities::textPreview_column_tooltip"},ae={name:"type",title:"brand_opportunities::type_column",tooltip:"brand_opportunities::type_column_tooltip"},oe={name:"competitors",title:"brand_opportunities::competitors_column",tooltip:"brand_opportunities::competitors_column_tooltip"},re="BrandOpportunitiesReport___m8mND",ne="header___E_JDb",se="title___tiqVa",de="requestInfo___m5T6J",ce="buttons___oD4vR",ue="regenerateButton___qsLIw",_e="buttonIcon___oBV7Z",pe="filterButtons___nz_1N",me="tableWrapper___DVeBx",ge="textPreviewCell___s5BQo",xe="typeCell___OYwuS",je="boCompetitorsCell___Up5so";var he=Object.defineProperty,be=Object.defineProperties,Ne=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,ve=(e,t,l)=>t in e?he(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,Te=(e,t)=>{for(var l in t||(t={}))ye.call(t,l)&&ve(e,l,t[l]);if(Me)for(var l of Me(t))fe.call(t,l)&&ve(e,l,t[l]);return e},Ie=(e,t)=>be(e,Ne(t));const De={isMoveColumn:!0,className:"p10 df aic jcc"},we=e=>[Ie(Te({},De),{title:"#",className:"p10 df aic jcc",width:40,Component:({index:e,pagination:t})=>(0,i.jsx)(ee.ColumnNumberCell,{number:e+1,pagination:t}),isHiddenSettingsColumn:!0,isCustomizable:!1,isDefault:!0,isFixed:!0,isIndex:!0,canResize:!1,onExport:()=>null}),Ie(Te({name:le.name,fieldId:le.name},De),{title:le.title,HeadComponent:()=>(0,i.jsx)(d.Tooltip,{tooltipText:e(le.tooltip),children:e(le.title)}),className:"p10 df aic",width:250,Component:({item:e})=>(0,i.jsx)("div",{children:e.keyword}),isDisableSettingsColumn:!0,isMoveColumn:!1,isFixed:!0,canResize:!0}),Ie(Te({name:ie.name,fieldId:ie.name},De),{title:ie.title,HeadComponent:()=>(0,i.jsx)(d.Tooltip,{tooltipText:e(ie.tooltip),children:e(ie.title)}),className:"p10 df aic",width:700,Component:({item:e})=>(0,i.jsx)("div",{onClick:e.openTextPreview,className:ge,children:e.text}),isDisableSettingsColumn:!0,isMoveColumn:!1,isFixed:!0,canResize:!0}
1),Ie(Te({name:ae.name,fieldId:ae.name},De),{title:ae.title,HeadComponent:()=>(0,i.jsx)(d.Tooltip,{tooltipText:e(ae.tooltip),children:e(ae.title)}),className:"p10 df aic",width:150,Component:({item:t})=>{var l,a;return(0,i.jsx)("div",{className:xe,style:{backgroundColor:null==(l=te[t.type])?void 0:l.color},children:e(null==(a=te[t.type])?void 0:a.tag)})},isDisableSettingsColumn:!0,isMoveColumn:!1,isFixed:!0,canResize:!0}),Ie(Te({name:oe.name,fieldId:oe.name},De),{title:oe.title,HeadComponent:()=>(0,i.jsx)(d.Tooltip,{tooltipText:e(oe.tooltip),children:e(oe.title)}),className:"p10 df aic",width:150,Component:({item:e})=>(0,i.jsx)("div",{onClick:e.openCompetitorsList,className:je,children:e.domains.join("\n")}),isDisableSettingsColumn:!0,isMoveColumn:!1,isFixed:!0,canResize:!0})];var ke=l(4978),Se=l(98923),Le=l(53292);const Oe=({isOpened:e,onClose:t,content:l})=>(0,i.jsx)(Le.default,{isOpened:e,onClose:t,children:(0,i.jsx)(Se.DialogStandart,{dialogHeading:(0,i.jsx)("h4",{children:null==l?void 0:l.title}),dialogBody:(0,i.jsx)("div",{children:null==l?void 0:l.body})})}),ze={"d-none":"d-none___kKTHq","d-inline":"d-inline___JrgL2","d-inline-block":"d-inline-block___IEyfG","d-block":"d-block___L0uh8","d-table":"d-table___vjgBI","d-table-row":"d-table-row___SaChc","d-table-cell":"d-table-cell___yNjqF","d-flex":"d-flex___hSSjr","d-inline-flex":"d-inline-flex___jvUTU","d-sm-none":"d-sm-none___ez4A4","d-sm-inline":"d-sm-inline___qDrqK","d-sm-inline-block":"d-sm-inline-block___GMWeV","d-sm-block":"d-sm-block___nZE1F","d-sm-table":"d-sm-table___XbFXM","d-sm-table-row":"d-sm-table-row___TcJ8H","d-sm-table-cell":"d-sm-table-cell___BOOis","d-sm-flex":"d-sm-flex___y_cQI","d-sm-inline-flex":"d-sm-inline-flex___KuiEm","d-md-none":"d-md-none___i7HPn","d-md-inline":"d-md-inline___Dn_rW","d-md-inline-block":"d-md-inline-block___lKq5s","d-md-block":"d-md-block___bDI4B","d-md-table":"d-md-table___GEep6","d-md-table-row":"d-md-table-row___W6myd","d-md-table-cell":"d-md-table-cell___vZS_u","d-md-flex":"d-md-flex___t6Abw","d-md-inline-flex":"d-md-inline-flex___c9O6l","d-lg-none":"d-lg-none___AFDip","d-lg-inline":"d-lg-inline___qNps_","d-lg-inline-block":"d-lg-inline-block___h6MQ7","d-lg-block":"d-lg-block___TQxmC","d-lg-table":"d-lg-table___tV6Y1","d-lg-table-row":"d-lg-table-row___vB9Xj","d-lg-table-cell":"d-lg-table-cell___yvHwx","d-lg-flex":"d-lg-flex___V6d2m","d-lg-inline-flex":"d-lg-inline-flex___yZvan","d-xl-none":"d-xl-none___PMN5m","d-xl-inline":"d-xl-inline___DIcla","d-xl-inline-block":"d-xl-inline-block___DV2nI","d-xl-block":"d-xl-block___AP4gL","d-xl-table":"d-xl-table___L9Eys","d-xl-table-row":"d-xl-table-row___jRlwW","d-xl-table-cell":"d-xl-table-cell___qT2qw","d-xl-flex":"d-xl-flex___mRzy1","d-xl-inline-flex":"d-xl-inline-flex___x62Ii","d-xxl-none":"d-xxl-none___y55Ur","d-xxl-inline":"d-xxl-inline___sxcQ4","d-xxl-inline-block":"d-xxl-inline-block___CP0zF","d-xxl-block":"d-xxl-block___ByEkO","d-xxl-table":"d-xxl-table___Kx75X","d-xxl-table-row":"d-xxl-table-row___Ic_O6","d-xxl-table-cell":"d-xxl-table-cell___UEzeC","d-xxl-flex":"d-xxl-flex___ElzY3","d-xxl-inline-flex":"d-xxl-inline-flex___Hf5k4",FormModal:"FormModal___cfD9F",modalBody:"modalBody___oCAPq",form:"form___CnXot",inputsWrapper:"inputsWrapper___zEUOM",inputsRow:"inputsRow___o1MT7",labelText:"labelText___Pf2yM",generateReportButton:"generateReportButton___F2Kzr"},Ae=({isOpened:e,onClose:t,searchForm:l,dropdownSearchHandle:a,changeSE:o})=>{const{t:r}=(0,s.useTranslation)("brand_opportunities");return(0,i.jsx)(Le.default,{isOpened:e,onClose:t,children:(0,i.jsx)(Se.DialogStandart,{wrapperClassName:ze.FormModal,dialogHeading:(0,i.jsx)("h4",{children:r("regenerate_report_modal_title")}),dialogBody:(0,i.jsx)("div",{className:ze.modalBody,children:(0,i.jsx)(z,{styles:ze,searchForm:l,changeSE:o,dropdownSearchHandle:a,buttonText:"brand_opportunities::regenerate_report_button",onSubmit:t})})})})};var Ee=l(55731),Ce=Object.defineProperty,Pe=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Fe=(e,t,l)=>t in e?Ce(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l,Re=(e,t)=>{for(var l in t||(t={}))Be.call(t,l)&&Fe(e,l,t[l]);if(Ue)for(var l of Ue(t))Ye.call(t,l)&&Fe(e,l,t[l]);return e},Ze=(e,t)=>Pe(e,Qe(t));const He=({searchForm:e,dropdownSearchHandle:t,changeSE:l})=>{var o,r,c;const{t:u}=(0,s.useTranslation)("brand_opportunities"),_=(0,b.useLocation)(),p=(0,b.useHistory)(),m=(0,n.useTheme)(),g=(0,a.useMemo)(()=>new URLSearchParams(_.search),[_.search]),x=(0,f.usePrevious)(g),j=(0,a.useMemo)(()=>new URLSearchParams(_.search),[_.search]),[h,M]=(0,a.useState)(null),[y,v]=(0,a.useState)(!1),[T,I]=(0,a.useState)({page:1,pageSize:20}),D=(0,f.usePrevious)(T),[w,k]=(0,a.useState)(g.get("type")||null),S=(0,f.usePrevious)(w),{callProcedure:L,data:O,loading:z}=(0,$.useLazyProcedure)("brandOpportunities.getSummary"),{callProcedure:A,data:E,loading:C}=(0,$.useLazyProcedure)("brandOpportunities.getList"),{callProcedure:P}=(0,$.useLazyProcedure)("brandOpportunities.export"),Q=z||C,U=(0,a.useMemo)(()=>{var e;return Ze(Re({},E),{data:null==(e=null==E?void 0:E.data)?void 0:e.map(e=>Ze(Re({},e),{openTextPreview:()=>M({title:u(ie.title),body:null==e?void 0:e.text}),openCompetitorsList:()=>{var t;return M({title:u(oe.title),body:null==(t=null==e?void 0:e.domains)?void 0:t.map(e=>(0,i.jsx)("div",{children:e},e))})}}))})},[E,u]),B=(0,a.useCallback)(({page:e,pageSize:t})=>{e&&t&&(null==U?void 0:U.total)>0&&e<=(null==U?void 0:U.total)&&(I({page:e,pageSize:t}),j.set("page",String(e)),j.set("pageSize",String(t))),p.replace({pathname:_.pathname,search:j.toString()})},[p,null==U?void 0:U.total,_.pathname,j]),Y=(0,a.useCallback)(()=>{I({page:1,pageSize:20}),j.delete("page"),j.delete("pageSize"),p.replace({pathname:_.pathname,search:j.toString()})},[p,_.pathname,j]),F=e=>()=>{w===e?(j.delete("type"),k(null)):(j.set("type",e),k(e)),p.replace({pathname:_.pathname,search:j.toString()}),Y()},R=(0,a.useCallback)(()=>{L({searchEngine:g.get("se"),query:g.get("brand_name"),domains:[g.get("main_domain")]}),A({searchEngine:g.get("se"),query:g.get("brand_name"),domains:[g.get("main_domain")],type:w,page:T.page||1,pageSize:T.pageSize||20,sort:null,order:null,filter:""})},[w,A,L,T.page,T.pageSize,g]);(0,a.useEffect)(()=>{R()},[]);const Z=(0,f.usePrevious)(null==U?void 0:U.total);(0,a.useEffect)(()=>{Z!==(null==U?void 0:U.total)&&g.get("page")&&g.get("pageSize")&&B({page:Number(g.get("page")),pageSize:Number(g.get("pageSize"))})},[B,null==U?void 0:U.total,Z,g]),(0,a.useEffect)(()=>{S===w&&T.page===(null==D?void 0:D.page)&&T.pageSize===(null==D?void 0:D.pageSize)&&x.get("se")===g.get("se")&&x.get("brand_name")===g.get("brand_name")&&x.get("main_domain")===g.get("main_domain")&&x.get("mirrors")===g.get("mirrors")||R()}
1,[S,w,A,g,T.page,T.pageSize,null==D?void 0:D.page,null==D?void 0:D.pageSize,x,R]);const H=u(`searchPlatform::${null==(o=null==e?void 0:e.selectSE)?void 0:o.title_key}`);return(0,i.jsxs)("div",{className:re,children:[(0,i.jsxs)("div",{className:ne,children:[(0,i.jsxs)("div",{className:se,children:[u("report_title"),(0,i.jsx)(d.Tooltip,{tooltipText:u("report_title_tooltip")}),(0,i.jsx)("span",{className:de,children:`${u("report_title_brand")}: ${g.get("brand_name")} | ${u("report_title_domain")}: ${g.get("main_domain")} | ${u("report_title_se")}: ${H}`})]}),(0,i.jsxs)("div",{className:ce,children:[(0,i.jsxs)("button",{onClick:()=>v(!0),className:ue,"data-theme":(0,N.getNewTheamNames)(m.currentTheme),children:[(0,i.jsx)("img",{src:"data:image/svg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Y1NCAxNC40MDA5TDE2LjE4NTYgNC4yNzI2M0MxNi41NTA0IDMuOTA4OTQgMTcuMTQxMSAzLjkwODk0IDE3LjUwNTkgNC4yNzM3M1oiIGZpbGw9IiMxQjcxQkUiLz4KPC9zdmc+Cg==",alt:"Edit Icon",className:_e})]}),(0,i.jsx)(Ee.default,{config:{fields:[],formats:[{name:"csv",limitLabel:"up_to_10K"}]},onExport:()=>{P({searchEngine:g.get("se"),query:g.get("brand_name"),domains:[g.get("main_domain")],format:"csv",type:null,sort:null,order:null,page:T.page||1,pageSize:T.pageSize||20,filter:"",limit:1e4,params:{pdf_export_logo:"serpstat"}})},isPartialExportAvailable:!1,total:(null==U?void 0:U.total)||0,customMaxLines:1e4,noTooltip:!0})]})]}),(0,i.jsxs)("div",{className:pe,"data-theme":(0,N.getNewTheamNames)(m.currentTheme),
1children:[(0,i.jsx)(q,{title:u(te.with_links.text),tooltip:u(te.with_links.tooltip),value:O?O[te.with_links.type]:(0,i.jsx)(ke.SmallLoader,{}),color:te.with_links.color,isActive:w===te.with_links.type,isDisabled:Q,onClick:F(te.with_links.type)}),(0,i.jsx)(q,{title:u(te.domain_only.text),tooltip:u(te.domain_only.tooltip),value:O?O[te.domain_only.type]:(0,i.jsx)(ke.SmallLoader,{}),color:te.domain_only.color,isActive:w===te.domain_only.type,isDisabled:Q,onClick:F(te.domain_only.type)}),(0,i.jsx)(q,{title:u(te.opportunity.text),tooltip:u(te.opportunity.tooltip),value:O?O[te.opportunity.type]:(0,i.jsx)(ke.SmallLoader,{}),color:te.opportunity.color,isActive:w===te.opportunity.type,isDisabled:Q,onClick:F(te.opportunity.type)})]}),(0,i.jsx)("div",{className:me,"data-theme":(0,N.getNewTheamNames)(m.currentTheme),children:(0,i.jsx)(X.default,{id:"brand.opportunities",t:u,isLoading:Q,rowHeight:100,headHeight:30,data:null==U?void 0:U.data,isHighlightHoverRow:!0,columns:we(u),pagination:Ze(Re({},T),{total:(null==U?void 0:U.total)||0}),onChange:B,isEmpty:!(null==(r=null==U?void 0:U.data)?void 0:r.length),placeholderEmpty:(null==(c=null==U?void 0:U.data)?void 0:c.length)?(0,i.jsx)(K.default,{noDataText:u("Global::no_matched_results")}):(0,i.jsx)("div",{className:"wrapper_no-data",children:(0,i.jsx)(J.default,{text:u("rt::no_data")})}),noDbLimits:!0})}),(0,i.jsx)(Oe,{isOpened:!!h,onClose:()=>{M(null)},content:h}),(0,i.jsx)(Ae,{isOpened:y,onClose:()=>v(!1),searchForm:e,changeSE:l,dropdownSearchHandle:t})]})};var Ve=l(55263),Ge=l(55499),We=l(21552),qe=l(35818);const $e={en:l(4798).default},Je=()=>{const{t:e}=(0,We.useTranslation)(["brand_opportunities"]);return(0,i.jsx)("div",{className:"fg1",children:(0,i.jsx)(qe.default,{src:$e.en,title:e("no_acess_title"),desc:e("no_acess_text"),button:e("no_acess_button")})})},Ke={dropdownSearchHandle:y.dropdownSearchHandle,requestDefaultSE:y.requestDefaultSE,changeSE:y.changeSE,getProjectsSearchFormRequest:Ge.getProjectsSearchFormRequest},Xe=(0,Ve.compose)((0,M.connect)(e=>{var t,l;return{searchForm:e.searchForm,hasAccess:null==(l=null==(t=e.header.userLimits)?void 0:t.aioBrandOpportunity)?void 0:l.hasAccessAioBrandOpportunity}},Ke),(0,Ve.branch)(({hasAccess:e})=>!e,(0,Ve.renderComponent)(Je)))(({searchForm:e,dropdownSearchHandle:t,changeSE:l,getProjectsSearchFormRequest:r,requestDefaultSE:d})=>{const c=(0,n.useTheme)(),{t:u}=(0,s.useTranslation)("Titles"),_=(0,b.useLocation)(),p=(0,a.useMemo)(()=>new URLSearchParams(_.search),[_.search]),m=p.get("brand_name")&&p.get("main_domain");return(0,a.useEffect)(()=>{r(),d()},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(R.Helmet,{children:[(0,i.jsx)("body",{className:"page_product page_product_react","data-ui-theme":(0,N.getNewTheamNames)(c.currentTheme)}),(0,i.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,i.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:!0}),(0,i.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=Inter:[email protected]&family=Roboto:wght@100;300;400;500;700&display=swap",rel:"stylesheet"}),(0,i.jsx)("title",{children:u("brandOpportunities")})]}),(0,i.jsx)("div",{className:`${o} BrandOpportunities`,"data-theme":_.search?void 0:c.currentTheme,children:m?(0,i.jsx)(He,{searchForm:e,dropdownSearchHandle:t,changeSE:l}):(0,i.jsx)(F,{searchForm:e,dropdownSearchHandle:t,changeSE:l})})]})})},21630(e,t,l){l.r(t),l.d(t,{getNewTheamNames:()=>i});const i=e=>"light"===e?"new_light":"dark-full"===e?"new_dark":e},4798(e,t,l){l.r(t),l.d(t,{default:()=>i});const i=l.p+"imgs/brand_opportunities_no_access_en_6de5a38b.png?react"},96665(e,t,l){l.r(t),l.d(t,{default:()=>i});const i=l.p+"imgs/dark_0c219d36.svg?react"},8406(e,t,l){l.r(t),l.d(t,{default:()=>i});const i=l.p+"imgs/light_51f5419f.svg?react"},70837(e,t,l){l.r(t),l.d(t,{default:()=>i});const i="data:image/svg+xml;base64,Cjxzdmcgd2lkdGg9IjYxIiBoZWlnaHQ9IjYwIiB2aWV3Qm94PSIwIDAgNjEgNjAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDMuMDI2NSA3LjVMMzkuODQ0IDE1Ljc1SDE2LjUwNThMMTMuMzIzMyA3LjVDMTEuMjc4NSA3LjUgOS42MTAzNSA5LjIyOTc1IDkuNjEwMzUgMTEuMzVWNTMuMTVDOS42MTAzNSA1NS4yNjc1IDExLjI3ODUgNTcgMTMuMzIwNiA1N0g0My4wMjM5QzQ1LjA2NiA1NyA0Ni43MzY4IDU1LjI2NDggNDYuNzM2OCA1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MxNCAzOC4yNjA4TDU0Ljg0NDUgNDEuOTIxNkM1NS44OTcyIDQzLjAxMzIgNTUuOTAxNiA0NC43NzY1IDU0Ljg0NzIgNDUuODY5OUM1My43OTc3IDQ2Ljk1ODEgNTIuMDg1NSA0Ni45NTE2IDUxLjAzOTUgNDUuODY3MUw0Ny41MDkgNDIuMjA2Mkw0My45Nzg2IDQ1Ljg2NzFDNDIuOTI1OCA0Ni45NTg3IDQxLjIyNTMgNDYuOTYzMiA0MC4xNzA5IDQ1Ljg2OTlDMzkuMTIxNSA0NC43ODE3IDM5LjEyNzYgNDMuMDA2MiA0MC4xNzM2IDQxLjkyMTZMNDMuNzA0MSAzOC4yNjA4TDQwLjE3MzYgMzQuNTk5OUMzOS4xMjA5IDMzLjUwODMgMzkuMTE2NSAzMS43NDUgNDAuMTcwOSAzMC42NTE3QzQxLjIyMDQgMjkuNTYzNSA0Mi45MzI2IDI5LjU2OTkgNDMuOTc4NiAzMC42NTQ1TDQ3LjUwOSAzNC4zMTUzWiIgZmlsbD0iI0FDQjZDQyI+PC9wYXRoPjwvc3ZnPg=="}}]);

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.