1var role=urlParams.get("role");const env=getEnv();window.brand=urlParams.get("brand")||"";window.role=role||"";window.sitename="pfizeroncologytogether";function loadOmnichannelInHost(data,env){var chatbotData=data&&data[env];if(!chatbotData)return;var hostWindow=window;var hostDoc=hostWindow.document;if(!hostDoc)return;if(hostDoc.getElementById("Microsoft_Omnichannel_LCWidget"))return;var chatbotScript=hostDoc.createElement("script");chatbotScript.id="Microsoft_Omnichannel_LCWidget";chatbotScript.src="https://oc-cdn-ocprod.azureedge.net/livechatwidget/scripts/LiveChatBootstrapper.js";chatbotScript.async=!0;chatbotScript.setAttribute("v2","");chatbotScript.setAttribute("data-app-id",atob(chatbotData.app_id||""));chatbotScript.setAttribute("data-lcw-version",chatbotData.lcw_version||"");chatbotScript.setAttribute("data-org-id",atob(chatbotData.org_id||""));chatbotScript.setAttribute("data-org-url",atob(chatbotData.org_url||""));chatbotScript.setAttribute("data-customization-callback","pflcw");chatbotScript.setAttribute("data-suggested-action-layout","stacked");chatbotScript.onload=function(e){console.log(e);attachContextProvider(hostWindow)};(hostDoc.body||hostDoc.head||hostDoc.documentElement).appendChild(chatbotScript)} 2function pflcw(){return{chatButtonProps:{styleProps:{generalStyleProps:{backgroundColor:"#00488A",border:"0px",fontFamily:'"objektiv-mk3", sans-serif'},iconStyleProps:{border:"0px",boxShadow:"none",backgroundColor:"transparent",margin:"0px",padding:"0px"},textContainerStyleProps:{border:"0px",margin:"0px"},titleStyleProps:{color:"#FFFFFF",fontFamily:'"objektiv-mk3", sans-serif'},subtitleStyleProps:{color:"#FFFFFF",fontFamily:'"objektiv-mk3", sans-serif'}}}
2,headerProps:{styleProps:{generalStyleProps:{background:"#081F5D",fontFamily:'"objektiv-mk3", sans-serif'}}},loadingPaneProps:{styleProps:{iconStyleProps:{backgroundColor:"transparent",borderRadius:"0px",border:"0px",boxShadow:"none",outline:"none",width:"40px",height:"40px",transform:"scale(2) translateY(-20px)",transformOrigin:"center",padding:"0px"}}}}} 3function attachContextProvider(hostWindow){function contextProvider(){return{SiteName:{value:"Oncology Together"||"",isDisplayable:!0},SessionId:{value:window.sessionid||"",isDisplayable:!0},Role:{value:role||"",isDisplayable:!0},Brand:{value:window.brand||"",isDisplayable:!0}}} 4hostWindow.addEventListener("lcw:ready",function(){var sdk=hostWindow.Microsoft.Omnichannel.LiveChatWidget.SDK;if(!sdk)return;sdk.setContextProvider(contextProvider)},{once:!0})} 5if((role==="patient"||role==="caregiver")&&!document.body.classList.contains("sign-up")){$.ajax({url:"../files/chatbot.json",method:"GET",dataType:"json",success:function(data){loadOmnichannelInHost(data,env)}})} 6window.addEventListener('message',(event)=>{const{messageName}=event.data||{};switch(messageName){case 'lcw:onMinimize':s.tl(this,'o',`${pagename}| content navigation | chatbot minimized`);break;case 'lcw:onMaximize':s.tl(this,'o',`${pagename}| content navigation | chatbot open`);break;case 'internal:headerCloseButtonClicked':s.tl(this,'o',`${pagename}| content navigation | chatbot closed`);break;default:break}})
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.