PageSourceSearch

https://liu.se/dist/global/component-chatbot-chatbot-js.js?v=1790061783566

js liu.se collected 2026-09-24 07:44:10 UTC 1,893 bytes, 1 lines download raw bytes

1(self.webpackChunknodejs_dependencies=self.webpackChunknodejs_dependencies||[]).push([[2968,7500],{4947(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,$=__webpack_require__(4692);void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return function(element){$("#minimizable-web-chat button.maximize").on("click",function(){$(".chatboxExperienceEditor").length<1&&$(".chat-box").removeClass("hide")}),$("#minimizable-web-chat button.minimize").on("click",function(){$(".chat-box").addClass("hide")}),$("#minimizable-web-chat button.switch").on("click",function(){$(".chat-box").hasClass("right")?($(".chat-box").removeClass("right"),$(".chat-box").addClass("left")):($(".chat-box").removeClass("left"),$(".chat-box").addClass("right"))}),function(){var styleOptions=null;try{styleOptions=$("#webchat").data("styleoptions")}catch{styleOptions={hideUploadButton:!0,bubbleBackground:"rgba(0, 0, 255, .1)",bubbleFromUserBackground:"rgba(0, 255, 0, .1)",backgroundColor:"paleturquoise"}}var BOT_ID=$("#webchat").data("botid");if(BOT_ID.startsWith("https://"))var theURL=BOT_ID;else theURL="https://powerva.microsoft.com/api/botmanagement/v1/directline/directlinetoken?botId="+BOT_ID;const store=window.WebChat.createStore({},({dispatch})=>next=>action=>("DIRECT_LINE/CONNECT_FULFILLED"===action.type&&dispatch({meta:{method:"keyboard"},payload:{activity:{channelData:{postBack:!0},name:"startConversation",type:"event"}},type:"DIRECT_LINE/POST_ACTIVITY"}),next(action)));fetch(theURL).then(response=>response.json()).then(conversationInfo=>{window.WebChat.renderWebChat({directLine:window.WebChat.createDirectLine({token:conversationInfo.token}),store,styleOptions,locale:"sv-SE"},document.getElementById("webchat"))}).catch(err=>console.error("An error occurred: "+err))}()}}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}}]);

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.