PageSourceSearch

https://nordsaltenkraft.no/dist/all/chunks/12993-b58964155a04a82bfa57.js

js nordsaltenkraft.no collected 2026-09-24 10:20:11 UTC 1,924 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkwips_components_scripts||=[]).push([[12993],{"5f91f0a2911ff52a"(t,a,e){e.r(a),e.d(a,{default:()=>v});var n=e("b641633d6c906d19"),s=e("a54fa6d0a722ba3f"),o=e("99c472be6da17922"),c=e("92c490e8e5efe9cd"),u=e("eb0d7dd6674ec63a");const d={class:"kundo-chat-widget-loader"},i={key:1,class:"admin-label"},l=(0,n.pM)({}),r=(0,n.pM)({...l,__name:"Block",props:{embedUrl:String,customChatButtonText:String},setup(t){const a=t,l=(0,s.KR)(!1),r=(0,s.KR)(!1),v=(0,n.EW)(()=>{const t=a.embedUrl?.match(/\/chat-js\/org\/([0-9]+)\//)??[];return t.length>=2?parseInt(t[1]??""):null}),h=(0,n.EW)(()=>v.value&&l.value&&r.value?"https://static-chat.kundo.se/chat-js/org/"+v.value+"/widget.js":null),{isAdministrator:_}=(0,u.bP)((0,c.x)());async function m(){const t=(await Promise.resolve().then(e.bind(e,"2c955294755a99bf"))).default;t.addChangeListener((t,a)=>{if("kundo-ab-chat"==t){const t=a??!1;!t&&l.value&&(top??window).location.reload(),l.value=t}}),await t.awaitConsent("kundo-ab-chat")&&(l.value=!0)}async function b(){await new Promise(t=>setTimeout(t,1e3)),r.value=!0}return(0,n.sV)(async()=>{const t=window;t.$kundo_chat||(t.$kundo_chat={});const e=a.customChatButtonText??"";e&&(t.$kundo_chat.custom_texts||(t.$kundo_chat.custom_texts={}),t.$kundo_chat.custom_texts.START_TEXT=e),await Promise.all([m(),b()])}),(t,a)=>((0,n.uX)(),(0,n.CE)("div",d,[h.value?((0,n.uX)(),(0,n.Wv)((0,n.$y)("script"),{key:0,src:h.value,async:""},null,8,["src"])):(0,n.Q3)("",!0),(0,s.R1)(_)?((0,n.uX)(),(0,n.CE)("div",i,[(0,n.eW)((0,o.v_)(t.$t("(Only visible for administrator)"))+" "+(0,o.v_)(t.$t("Kundo chat widget loader:"))+" ",1),l.value?((0,n.uX)(),(0,n.CE)(n.FK,{key:0},[(0,n.eW)((0,o.v_)(t.$t("Consent given")),1)],64)):((0,n.uX)(),(0,n.CE)(n.FK,{key:1},[(0,n.eW)((0,o.v_)(t.$t("Consent not given")),1)],64))])):(0,n.Q3)("",!0)]))}}),v=(0,e("461bee8a7784aa7f").A)(r,[["__scopeId","data-v-735dfa96"]])}}]);

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.