PageSourceSearch

https://www.udir.no/Kvark/dist/43.828b71d87a8133f4d922.js

js udir.no collected 2026-10-01 10:22:27 UTC 8,547 bytes, 1 lines download raw bytes

1(this.webpackChunkkvark=this.webpackChunkkvark||[]).push([[43],{29043(t,e,i){var o,n,s;s=function(t){function e(t,e,i,o){t.hasOwnProperty(e)||(t[e]=o.apply(null,i),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Series/Timeline/TimelinePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,i){var o=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),n=e.seriesTypes.pie.prototype.pointClass,s=i.defined,r=i.isNumber,a=i.merge,p=i.objectEach,l=i.pick;return function(e){function i(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return o(i,e),i.prototype.alignConnector=function(){var t=this.series,e=this.connector,i=this.dataLabel,o=this.dataLabel.options=a(t.options.dataLabels,this.options.dataLabels),n=this.series.chart,r=e.getBBox(),p=r.x+i.translateX;r=r.y+i.translateY,n.inverted?r-=i.options.connectorWidth/2:p+=i.options.connectorWidth/2,e[(n=n.isInsidePlot(p,r))?"animate":"attr"]({d:this.getConnectorPath()}),t.chart.styledMode||e.attr({stroke:o.connectorColor||this.color,"stroke-width":o.connectorWidth,opacity:i[s(i.newOpacity)?"newOpacity":"opacity"]})},i.prototype.drawConnector=function(){var t=this.series;this.connector||(this.connector=t.chart.renderer.path(this.getConnectorPath()).attr({zIndex:-1}).add(this.dataLabel)),this.series.chart.isInsidePlot(this.dataLabel.x,this.dataLabel.y)&&this.alignConnector()},i.prototype.getConnectorPath=function(){var t=this.series.chart,e=this.series.xAxis.len,i=t.inverted,o=i?"x2":"y2",n=this.dataLabel,s=n.targetPosition,a={x1:this.plotX,y1:this.plotY,x2:this.plotX,y2:r(s.y)?s.y:n.y},l=(n.alignAttr||n)[o[0]]<this.series.yAxis.len/2;return i&&(a={x1:this.plotY,y1:e-this.plotX,x2:s.x||n.x,y2:e-this.plotX}),l&&(a[o]+=n[i?"width":"height"]),p(a,(function(t,e){a[e]-=(n.alignAttr||n)[e[0]]})),t.renderer.crispLine([["M",a.x1,a.y1],["L",a.x2,a.y2]],n.options.connectorWidth)},i.prototype.init=function(){var t=e.prototype.init.apply(this,arguments);return t.name=l(t.name,"Event"),t.y=1,t},i.prototype.isValid=function(){return null!==this.options.y},i.prototype.setState=function(){var t=e.prototype.setState;this.isNull||t.apply(this,arguments)},i.prototype.setVisible=function(t,e){var i=this.series;e=l(e,i.options.ignoreHiddenPoint),n.prototype.setVisible.call(this,t,!1),i.processData(),e&&i.chart.redraw()},i.prototype.applyOptions=function(i,o){return i=t.prototype.optionsToObject.call(this,i),this.userDLOptions=a(this.userDLOptions,i.dataLabels),e.prototype.applyOptions.call(this,i,o)},i}(e.series.prototype.pointClass)})),e(t,"Series/Timeline/TimelineSeriesDefaults.js",[],(function(){return{colorByPoint:!0,stickyTracking:!1,ignoreHiddenPoint:!0,legendType:"point",lineWidth:4,tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 10px"> {point.key}</span><br/>',pointFormat:"{point.description}"},states:{hover:{lineWidthPlus:0}},dataLabels:{enabled:!0,allowOverlap:!0,alternate:!0,backgroundColor:"#ffffff",borderWidth:1,borderColor:"#999999",borderRadius:3,color:"#333333",connectorWidth:1,distance:100,formatter:function(){return(this.series.chart.styledMode?"<span>● </span>":'<span style="color:'+this.point.color+'">● </span>')+'<span class="highcharts-strong">'+(this.key||"")+"</span><br/>"+(this.point.label||"")},style:{textOutline:"none",fontWeight:"normal",fontSize:"12px"},shadow:!1,verticalAlign:"middle"},marker:{enabledThreshold:0,symbol:"square",radius:6,lineWidth:2,height:15},showInLegend:!1,colorKey:"x"}})),e(t,"Series/Timeline/TimelineSeries.js",[t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Renderer/SVG/SVGElement.js"],t["Series/Timeline/TimelinePoint.js"],t["Series/Timeline/TimelineSeriesDefaults.js"],t["Core/Utilities.js"]],(function(t,e,
1i,o,n,s){var r=this&&this.__extends||function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])},t(e,i)};return function(e,i){function o(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),a=e.seriesTypes,p=a.column,l=a.line,h=s.addEvent,c=s.arrayMax,d=s.arrayMin,u=s.defined;a=s.extend;var y=s.merge,f=s.pick;return s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.userOptions=void 0,e.visibilityMap=void 0,e}return r(e,t),e.prototype.alignDataLabel=function(e,i,o,n){var s=this.chart.inverted,r=this.visibilityMap.filter((function(t){return t})),a=this.visiblePointsCount,p=r.indexOf(e);r=this.options.dataLabels;var l=e.userDLOptions||{};p=r.alternate?p&&p!==a-1?2:1.5:1,a=Math.floor(this.xAxis.len/a);var h=i.padding;if(e.visible){var c=Math.abs(l.x||e.options.dataLabels.x);s=s?{width:(s=2*(c-h)-e.itemHeight/2)+"px",textOverflow:i.width/s*i.height/2>a*p?"ellipsis":"none"}:{width:(l.width||r.width||a*p-2*h)+"px"},i.css(s),this.chart.styledMode||i.shadow(r.shadow)}t.prototype.alignDataLabel.apply(this,arguments)},e.prototype.bindAxes=function(){var e=this;t.prototype.bindAxes.call(e),["xAxis","yAxis"].forEach((function(t){"xAxis"!==t||e[t].userOptions.type||(e[t].categories=e[t].hasNames=!0)}))},e.prototype.distributeDL=function(){var t=this,e=t.options.dataLabels,i=1;if(e){var o=e.distance||0;t.points.forEach((function(n){var s;n.options.dataLabels=y(((s={})[t.chart.inverted?"x":"y"]=e.alternate&&i%2?-o:o,s),n.userDLOptions),i++}))}},e.prototype.generatePoints=function(){var e=this;t.prototype.generatePoints.apply(e),e.points.forEach((function(t,i){t.applyOptions({x:e.xData[i]},e.xData[i])}))},e.prototype.getVisibilityMap=function(){return(this.data.length?this.data:this.userOptions.data).map((function(t){return!(!t||!1===t.visible||t.isNull)&&t}))},e.prototype.getXExtremes=function(t){var e=this;return t=t.filter((function(t,i){return e.points[i].isValid()&&e.points[i].visible})),{min:d(t),max:c(t)}},e.prototype.init=function(){var e=this;t.prototype.init.apply(e,arguments),e.eventsToUnbind.push(h(e,"afterTranslate",(function(){var t,i=Number.MAX_VALUE;e.points.forEach((function(e){e.isInside=e.isInside&&e.visible,e.visible&&!e.isNull&&(u(t)&&(i=Math.min(i,Math.abs(e.plotX-t))),t=e.plotX)})),e.closestPointRangePx=i}))),e.eventsToUnbind.push(h(e,"drawDataLabels",(function(){e.distributeDL()}))),e.eventsToUnbind.push(h(e,"afterDrawDataLabels",(function(){var t;e.points.forEach((function(e){if(t=e.dataLabel)return t.animate=function(t){return this.targetPosition&&(this.targetPosition=t),i.prototype.animate.apply(this,arguments)},t.targetPosition||(t.targetPosition={}),e.drawConnector()}))}))),e.eventsToUnbind.push(h(e.chart,"afterHideOverlappingLabel",(function(){e.points.forEach((function(t){t.connector&&t.dataLabel&&t.dataLabel.oldOpacity!==t.dataLabel.newOpacity&&t.alignConnector()}))})))},e.prototype.markerAttribs=function(e,i){var o=this.options.marker,n=e.marker||{},s=n.symbol||o.symbol,r=f(n.width,o.width,this.closestPointRangePx),a=f(n.height,o.height),p=0;return this.xAxis.dateTime?t.prototype.markerAttribs.call(this,e,i):(i&&(o=o.states[i]||{},i=n.states&&n.states[i]||{},p=f(i.radius,o.radius,p+(o.radiusPlus||0))),e.hasImage=s&&0===s.indexOf("url"),e={x:Math.floor(e.plotX)-r/2-p/2,y:e.plotY-a/2-p/2,width:r+p,height:a+p},this.chart.inverted?{y:e.x&&e.width&&this.xAxis.len-e.x-e.width,x:e.y&&e.y,width:e.height,height:e.width}:e)},e.prototype.processData=function(){var e,i=0;for(this.visibilityMap=this.getVisibilityMap(),this.visibilityMap.forEach((function(t){t&&i++})),this.visiblePointsCount=i,e=0;e<this.xData.length;e++)this.yData[e]=1;t.prototype.processData.call(this,arguments)},e.defaultOptions=y(l.defaultOptions,n),e}(l),a(s.prototype,{drawLegendSymbol:t.drawRectangle,drawTracker:p.prototype.drawTracker,pointClass:o,trackerGroups:["markerGroup","dataLabelsGroup"]}),e.registerSeriesType("timeline",s),s})),e(t,"masters/modules/timeline.src.js",[],(function(){}))}
1,t.exports?(s.default=s,t.exports=s):(o=[i(14783)],void 0===(n=function(t){return s(t),s.Highcharts=t,s}.apply(e,o))||(t.exports=n))}}]);

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.