PageSourceSearch

https://news.caboodleai.com/_next/static/chunks/852.e5f240bd0c5d9c88.js

js caboodleai.com collected 2026-10-09 18:17:09 UTC 5,473 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[852],{89902:function(t,e){"use strict";e.Z={src:"/_next/static/media/done-white.86f883cc.svg",height:16,width:16,blurWidth:0,blurHeight:0}},88200:function(t,e){"use strict";e.Z={src:"/_next/static/media/outline-plus.95d198f1.svg",height:16,width:16,blurWidth:0,blurHeight:0}},20852:function(t,e,s){"use strict";s.r(e),s.d(e,{default:function(){return R}});var i=s(85893),a=s(67294),_=s(17891),n=s(25675),c=s.n(n),o=s(88200),r=s(89902),E=s(75344),l=s.n(E),d=s(23508),S=s(17138),T=s(64122),u=s(55006),h=s(87711),I=s(28926),A=s(73699);function R(t){let{companyId:e,isFollowed:s,companyName:n,cb:E,isButton:R=!1}=t,{status:C,data:p}=(0,d.j)(),{siteNameId:m}=(0,T.x)(),[w,y]=(0,a.useState)(0===s),{setOpenModal:N}=(0,I.mK)();(0,a.useEffect)(()=>{y(0===s)},[s]);let O=(0,a.useCallback)(async()=>{var t,s;if("authenticated"===C&&(null==p?void 0:null===(s=p.user)||void 0===s?void 0:null===(t=s.roles)||void 0===t?void 0:t.includes("tracker"))){let t=new S.o(m),s=(null==p?void 0:p.user).id,i=await t.userFollowEntity({userId:s,entityId:e,entityType:6,followState:!w,userType:1,returnResult:1}),a=new u.Z(m);if(a.clearCache("".concat(h.x.NEWSFEED_ARTICLES).concat(m,"_").concat(s)),a.clearCache("".concat(h.x.FEATURED_SOURCES).concat(m,"_").concat(s)),i){let t=i.some(t=>0===t.isFollowed&&t.entityId===e&&6===t.entityType);y(t),E(t)}}else N("signIn",{open:!0,isSignIn:!0}),setTimeout(()=>{N("featuredSourceModal",!1)},50)},[w,e,null==p?void 0:p.user,N,m,C,E]),f=null==e?void 0:e.toString();return R?(0,i.jsxs)(A.default,{onClick:O,children:[" ",w?"Unfollow":"Follow"]}):(0,i.jsx)("div",{className:l().sharebtn,children:(0,i.jsxs)("span",{className:"".concat(l().dot," cursor-pointer"),onClick:O,children:[w?(0,i.jsx)(c(),{"data-tooltip-id":f,"data-tooltip-html":'<div class="text-center">Unfollow <br/> '.concat(n,"</div>"),src:r.Z,width:20,height:20,style:{width:"auto",height:"auto",fontSize:10},alt:"shareDine"}):(0,i.jsx)(c(),{"data-tooltip-id":f,"data-tooltip-html":'<div class="text-center">Follow <br/> '.concat(n,"</div>"),src:o.Z,width:20,height:20,style:{width:"auto",height:"auto",fontSize:10},alt:"share"}),(0,i.jsx)(_.u,{id:f})]})})}},87711:function(t,e,s){"use strict";s.d(e,{x:function(){return i}});let i={SETTINGS:"site_settingsDataProductsFeatures_",PRODUCTS:"site_products_",NEWSFEED_ARTICLES:"newsfeed_articles_",IMPRESSIONS:"newsfeed_impressions_",ARTICLE:"article_cache_",ARCHIVES:"newsletter_archives_",ARCHIVE:"newsletter_archive_",NEXT_READ:"next_read_articles_",VIEW_TEMPLATES_THEME:"view_templatestheme_",THEME_DATA:"theme_data_",ARTICLES_BY_COMPANY_ID:"articlesby_companyid_",FEATURED_PRODUCTS:"featured_products_",FEATURED_SOURCES:"newsfeed_impressions_N-FS",TOP_LABELS:"top_labels_",ARTICLES_BY_LABEL:"articlesby_label_",ARTICLES_FOR_USER:"articlesfor_user_",TOKEN_TRACKER:"tracker_data_",USER_INFO:"user_data_",PERSONALIZE_DATA:"personolize_data_",SITE_FEATURES:"site_features_",SITE_RSS:"site_rss_",SITE_CATEGORIES:"site_categories_",SITE_AUTOCOMPLETE_SEARCH:"site_autocompletesearch_",SITE_COMPANY_SEARCH:"site_companysearch_",SITE_COMPANY_ACTIVE_LIST:"site_companyactivelist_",SITE_ARTICLE_SEARCH:"site_articlesearch_",SITE_PRODUCT_SEARCH:"site_productsearch_",SITE_COMPANY_DETAILS:"site_companydetail
1s_",SITE_COMPANY_CATEGORIES:"site_companycategories_",SITE_COMPANY_PDODUCTS:"site_companyproducts_",SITE_COMPANY_USERS:"site_companyusers_",GET_ARTICLES_LIST:"site_articleslist_",GET_SHOW_MORE_ARTICLES:"site_showMoreArticleslist_",GET_ARTICLES_LIST_BY_ENTITY:"site_articleslistbyentity_",ADMIN_USER_BY_TOKEN:"admin_user_by_token",RESOURCES_BY_PATH:"ResourcesByPath",DEFAULT_IMAGES_LIST:"default_images_list",CONTENT_LIBRARY_PAGE:"content_library_page_data_",GET_PRESS_RELEASES_LIST:"site_pressreleases_",COMPANIES_NUMBER_BY_FIRST_LATTER:"site_companiesNumberByFirstLatter_",GET_SITE_WEBINARS:"site_webinars_",GET_ENTITY_DETAILS:"site_entitydetails_",REVALIDATE_TIMER:"site_revalidate_timer"}},17138:function(t,e,s){"use strict";s.d(e,{o:function(){return a}});var i=s(54971);class a{async userFollowEntity(t){try{let e=await fetch(i.Ko.USER_FOLLOW_ENTITY,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",sitenameid:this.siteNameId}}),s=await e.json();return s}catch(t){throw Error("Something went wrong. Please true again")}}async getPersonalizeList(t){try{let e=Object.entries(t).reduce((t,e)=>"".concat(t).concat(e[0],"=").concat(e[1],"&"),"?"),s=await fetch("".concat(i.Ko.PERSONALIZE_LIST).concat(e),{headers:{"Content-Type":"application/json",sitenameid:this.siteNameId}}),a=await s.json();return a}catch(t){throw Error("Something went wrong. Please true again")}}async getEntitiesSearchForAutoComplete(t){try{let e=Object.entries(t).reduce((t,e)=>"".concat(t).concat(e[0],"=").concat(e[1],"&"),"?"),s=await fetch("".concat(i.Ko.ENTITIES_SEARCH_FOR_AUTOCOMPLETE).concat(e),{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",sitenameid:this.siteNameId}}),a=await s.json();return a}catch(t){throw Error("Something went wrong. Please true again")}}constructor(t){this.siteNameId="",this.siteNameId=t}}},55006:function(t,e,s){"use strict";var i=s(54971);e.Z=class{clearCache(t){fetch("".concat(i.Ko.CLEAR_CACHE,"?secret=").concat(encodeURIComponent("&TWMWE7Vp3&4g^JX%y%boC57Au@68B2&%n%6444U"),"&url=").concat(t))}constructor(t){this.siteNameId="",this.siteNameId=t}}},75344:function(t){t.exports={dot:"styles_dot___ldqQ"}}}]);

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.