2.Cbm3fwWx.chunk.js

https://cdn.livechatinc.com/widget/static/js/2.Cbm3fwWx.chunk.js

Analyzed: 3/2/2026, 1:33:46 AM

View Scan Result

Script Analysis Summary

Summary: 2.Cbm3fwWx.chunk.js is a 431.3 KB external identified as react v1.1.1. Contains 2486 functions with complexity score of 1509. SHA-256: c6448b4b81b6f478...

external431.3 KBreact v1.1.1ML Embeddings Available

Code Metrics

File Size
431.3 KB
Functions
2,486*
Complexity
1,509
AST Nodes
99,991
AST Depth
42
Function Calls
4,588
Normalized Size
155.5 KB

Code Analysis

API Usage

dom1407 calls
crypto74 calls
network65 calls

Control Flow

Functions1,777
Loops212
Conditionals428

String Statistics

Total Strings5,317
Unique Strings2,820
URLs Found3

Security Indicators

Crypto APIsEncoding Functions

Code Style

Lines of Code25
MinifiedYes

Obfuscation Analysis

No obfuscation data available

Library Detection

reactv1.1.1

Bundle Analysis

Not a bundled file

Copyright & License

License
null,organizationId:"",rtl:!1,s:!1,region:null,actingAsDirectLink:!1,availability:null,isSendingFileEvents:!1,clientLimitExceeded:!1,clientLimitExceededLifted:!1,limitReached:!1,defaultWidget:"livechat",currentChat:xe,config:{features:{agentAvatar:{enabled:!0},boosters:{enabled:!1,items:[]},chatHistory:{enabled:!1},continuousChat:{enabled:!1},creditCardMasking:{enabled:!1},disableSounds:{enabled:!1},emailTranscript:{enabled:!0},facebookButton:{enabled:!1},fileSharing:{enabled:!0},emojiPicker:{enabled:!0},googlePlusButton:{enabled:!1},hideOnInit:{enabled:!1},hideTrademark:{enabled:!1},linksPreview:{enabled:!0},logo:{enabled:!0,path:"https://cdn.livechat-static.com/api/file/lc/main/default/logo/c4bf6633aa89a76af7461279581d8bdb.png"},ticketForm:{enabled:!0,mode:"livechat"},preChatAfterGreeting:{enabled:!0},preChatForm:{enabled:!1},rating:{enabled:!0},twitterButton:{enabled:!1},mobileMinimized:{enabled:!0},minimized:{enabled:!0},homeScreen:{enabled:!0},queue:{writingInQueueEnabled:!1},utmParams:{enabled:!0},addToWebsiteButton:{enabled:!0},textApp:{enabled:!1},privacyPolicy:{enabled:!1,text:""}},minimizedType:"bar",mobileMinimizedType:"bar",screenPosition:"right",mobileScreenPosition:"right",disabledOnMobile:!1,screenOffset:{x:0,y:0},properties:{license:{},group:{}},theme:{},nonProfitLicense:!1},destroyed:!1,eagerFetchingMode:!1,embedded:!0,requestedGroup:null,mobileWrapper:null,invitation:{current:null,hiddenIds:[],displayedIds:[]},isInCustomContainer:!1,isMinimizedForcefullyDisabled:!1,hasUnseenEvents:!1,hidden:!1,maximized:!1,pageFocused:!1,applicationFocused:!1,mobile:Ee(),muted:!1,readyState:Fe,loadedInitialHistory:!1,integrationName:null,language:null,localizationVersion:null,clientVisitNumber:0,clientChatNumber:0,visibility:{state:"minimized",interactionModality:"virtual"},greetingsMuted:!1,isPreview:!1,isConfigurator:!1,dropAreaVisible:!1,wasActivated:!1,isReturning:!1,clientLastVisitTimestamp:null,clientPageViewsCount:0,page:{title:"",url:"",referrer:""},owApiURL:"",messageDraft:"",initialMessageDraft:null,locationHistory:{history:[],updatedAt:(new Date).getTime()},recommendations:{id:"",products:[],hiddenIds:[]},pendingOpenAIRunId:null,streamedOpenAIMessage:null,contactInvitation:{},chatBotGreeting:{},lightbox:{state:"closed",currentImageEventId:null,images:{orderedEventIds:[],eventIdDataMap:{}}},visitorCounter:{session:{sessions:0}},googleReviews:{},minimizedMessageInput:{isVisible:!1,state:"hidden",closed:!1,isPrivacyPolicyBannerClosing:!1,closingGreetingId:null,isReplacingGreeting:!1},disableSendingMessage:!1,clientWidth:0,clientHeight:0,postponedGreeting:null,limits:[],header:{text:"",logo:"",backgroundType:"gradient"},showChatPreviewWarningBanner:!1,hideMinimizeButton:!1,hideMeatballsMenu:!1,textInputMaxLength:null,showTextSelectionTracking:!1,enableMinimizedMessageInputLayout:!1,privacyPolicyBannerState:"unset",websiteTextSelection:{text:"",state:"hidden"},welcomeMessageId:null,isExitIntentShadeDisplayed:!1,isLargeWidget:!1,hideTextComposer:!1,pipMode:!1}},Jo={boosters:!0,carousel:!0,emoji:!0,form:!0,image_preview:!0,message:!0,rich_message:!0,sticker:!0,system_message:!0,url_preview:!0,email_prompt:!0,message_draft:!0},Qo={boosters:!0,carousel:!0,form:!0},ea=e=>qi(e,{shouldAddToTimeline:e=>Jo[e.type],shouldCreateNewGroup:(e,t)=>!!Qo[e.type]||!(!t||"carousel"!==t.type)}),ta=(e,t)=>{const{persistKey:n}=t||{},r=Zo(n,{schema:{messageDraft:{path:["application","messageDraft"],defaultValue:null},clientLimitExceededLifted:{path:["application","clientLimitExceededLifted"],defaultValue:!1},eyeCatcherHidden:{path:["application","eyeCatcher","hidden"],defaultValue:!1},invitationHiddenIds:{path:["application","invitation","hiddenIds"],defaultValue:[]},invitationDisplayedIds:{path:["application","invitation","displayedIds"],defaultValue:[]},maximized:{path:["application","maximized"],defaultValue:!1},visibility:{path:["application","visibility"],defaultValue:{state:"minimized"}},muted:{path:["application","muted"],defaultValue:!1},limitReached:{path:["application","limitReached"],defaultValue:!1},greetingsMuted:{path:["application","greetingsMuted"],defaultValue:!1},wasActivated:{path:["application","wasActivated"],defaultValue:!1},currentView:{path:["views","current"]},locationHistory:{path:["application","locationHistory"],defaultValue:{history:[],updatedAt:(new Date).getTime()}},recommendations:{path:["application","recommendations"],defaultValue:{id:"",products:[],hiddenIds:[]}},pendingOpenAIRunId:{path:["application","pendingOpenAIRunId"],defaultValue:null},contactInvitation:{path:["application","contactInvitation"],defaultValue:{hidden:!1,hasSeen:!1}},chatBotGreeting:{path:["application","chatBotGreeting"],defaultValue:{hidden:!1,hasSeen:!1}},postponedGreeting:{path:["application","postponedGreeting"],defaultValue:null},pipConsent:{path:["application","pipConsent"],defaultValue:null},minimizedMessageInput:{path:["application","minimizedMessageInput","closed"],defaultValue:!1},welcomeMessageId:{path:["application","welcomeMessageId"],defaultValue:null},isLargeWidget:{path:["application","isLargeWidget"],defaultValue:!1}},preSave:e=>Dr({},e,{visibility:{state:e.visibility&&"hidden"===e.visibility.state?"minimized":e.visibility.state}})}),o=i($o,i(e,r.rehydrate()));return Rr(r.persist,Xo,ea)(o)},na=e=>ea(jr($o,e,{application:{isPreview:!0}})),ra=[{id:"iframekb",template:"moment",title:"Knowledge Base",description:"Save time with Knowledge Base - easy to access know-how right in the LiveChat widget",icon:"https://www.knowledgebase.ai/apple-touch-icon.71342b95.png",action:{type:"button",label:"Search",url:"https://livechat.kb.help/"}}],ia=(e,t,n)=>{const r=!!ye("lc_boosters",window.location.search)?(e=>i(e,{application:{config:{features:{boosters:{enabled:!0,items:ra}}}}}))(e):e,o=(n?na:ta)(r,t);return o.addView("Chat/postchat"),o.addView("Chat/prechat"),o.addView("Chat/queue"),o.addView("minimized",{text:"Chat"}),o.addView("Chat/ticketForm"),o.addView("Moment",{show:!1,data:{}}),o.addChat({id:xe,active:!1,properties:{agentActivity:null,ended:!1,fakeAgentMessageId:null,hasMoreHistory:null,lastThread:null,previousThread:null,loadingHistory:!1,queued:!1,rate:null,rateComment:null,starting:!1,startChatAgainPending:!1,eventsSeenUpToMap:{},currentAgent:null}}),o};var oa=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(Em){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),aa="-ms-",ua="-moz-",sa="-webkit-",la="comm",ca="rule",da="decl",pa=Math.abs,Da=String.fromCharCode;function ma(e){return e.trim()}function fa(e,t,n){return e.replace(t,n)}function ha(e,t){return e.indexOf(t)}function ga(e,t){return 0|e.charCodeAt(t)}function va(e,t,n){return e.slice(t,n)}function ba(e){return e.length}function Ca(e){return e.length}function Ea(e,t){return t.push(e),e}var ya=1,xa=1,Fa=0,wa=0,Aa=0,Ba="";function ka(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:ya,column:xa,length:a,return:""}}function Sa(e,t,n){return ka(e,t.root,t.parent,n,t.props,t.children,0)}function Ta(){return Aa=wa>0?ga(Ba,--wa):0,xa--,10===Aa&&(xa=1,ya--),Aa}function La(){return Aa=wa<Fa?ga(Ba,wa++):0,xa++,10===Aa&&(xa=1,ya++),Aa}function Pa(){return ga(Ba,wa)}function Ma(){return wa}function Ia(e,t){return va(Ba,e,t)}function Oa(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function za(e){return ya=xa=1,Fa=ba(Ba=e),wa=0,[]}function Ra(e){return Ba="",e}function _a(e){return ma(Ia(wa-1,Wa(91===e?e+2:40===e?e+1:e)))}function ja(e){for(;(Aa=Pa())&&Aa<33;)La();return Oa(e)>2||Oa(Aa)>3?"":" "}function Na(e,t){for(;--t&&La()&&!(Aa<48||Aa>102||Aa>57&&Aa<65||Aa>70&&Aa<97););return Ia(e,Ma()+(t<6&&32==Pa()&&32==La()))}function Wa(e){for(;La();)switch(Aa){case e:return wa;case 34:case 39:return Wa(34===e||39===e?e:Aa);case 40:41===e&&Wa(e);break;case 92:La()}return wa}function Va(e,t){for(;La()&&e+Aa!==57&&(e+Aa!==84||47!==Pa()););return"/, React v1.1.1, the MIT license found in the, file in the root directory of this source tree, MIT
Authors
n.author,events:[Ii(n)],type:n.type,showDate:r,timestamp:n.timestamp}},Ri=(e,t)=>zi({sessionUserId:ie(e).id,event:t,showDate:, DISCLAIMS ALL WARRANTIES WITH, BE LIABLE FOR ANY SPECIAL, DIRECT,, n.author,events:[Ii(n)],type:n.type,showDate:r,timestamp:n.timestamp}},Ri=(e,t)=>zi({sessionUserId:ie(e).id,event:t,showDate:!0}),_i=e=>te(e=>-1*Vr(0,"timestamp",re(e.events)),e).map(e=>{let{id:t}=e;return{id:t}}),ji=(e,t)=>{let{id:n}=t;return Ti({},e,{Chat:Ti({},e.Chat,{[n]:Ti({},e.Chat[n],{timeline:[]})})})},Ni=()=>!1,Wi=()=>!0,Vi=function(e){return void 0===e&&(e={}),function(t){return void 0===t&&(t=e),t}},Hi=(e,t)=>ae(ni(ue((t,n)=>t(e[n]),{application:mi,entities:wi,localization:Bi,session:Si,views:Vi})),(e=>{let{shouldAddToTimeline:t=Wi,shouldCreateNewGroup:i=Ni}=e;const o=(e,t)=>{const n=ie(e).id,r=n=>T(e,t,n);return(e,t)=>{const o=re(e),a=r(re(o.events).id);if("message_draft"===t.type&&"form"===o.type){const i=oe(e=>"message_draft"===e.type,e);return i?[...Nr(2,e),Ti({},i,{events:Oi(i.events,t,r)}),o]:[...Nr(1,e),zi({sessionUserId:n,event:t}),o]}return Pi(a.timestamp,t.timestamp)?t.timestamp>=o.timestamp+3e5||o.author!==t.author||i(t,a)?[...e,zi({sessionUserId:n,event:t})]:[...Nr(1,e),Ti({},o,{events:Oi(o.events,t,r)})]:[...e,zi({sessionUserId:n,event:t,showDate:!0})]}},a=(e,n,r)=>{const i=r.filter(t);if(0===i.length)return[];const[a,...u]=i,s=Ri(e,a);return u.reduce(o(e,n),[s])},u=(e,t,r)=>{const i=ee(r);return{Chat:n(e=>({[e.id]:{timeline:a(r,e.id,e.events)}}),i),ChatList:_i(i),current:null}},s=(e,t,n)=>{let{id:r}=t;return Ti({},e,{Chat:Ti({},e.Chat,{[r]:{timeline:a(n,r,L(n,r).events)}}),ChatList:_i(ee(n))})},l=(e,n,r)=>{let{chat:i,id:a}=n;const{timeline:u}=e.Chat[i],s=T(r,i,a);return t(s)?Ti({},e,{Chat:Ti({},e.Chat,{[i]:Ti({},e.Chat[i],{timeline:u.length>0?o(r,i)(u,s):[Ri(r,s)]})}),ChatList:_i(ee(r))}):e},c=(e,t)=>{let{chat:n,id:r}=t;const{timeline:i}=e.Chat[n],o=H(e=>e.events.some(e=>e.id===r),i),a=i[o],u=a.events.filter(e=>e.id!==r);let s;return u.length>0?s=ne(o,Ti({},a,{events:u}),i):(s=o+1
Version (from header)
1.1.1
Copyright Notice
(c) Facebook, Inc. and its affiliates

ML Analysis

CodeBERT (768d)GraphCodeBERT (768d)AST Features (128d)Handcrafted (64d)
Composite Vector1728 dimensions

Used for semantic similarity search across the database

Module Information

Module Pattern
application
Is Module
Yes