!/**
 * Highcharts JS v12.6.0 (2026-04-13)
 * @module highcharts/modules/pictorial
 * @requires highcharts
 *
 * Pictorial graph series type for Highcharts
 *
 * (c) 2010-2026 Highsoft AS
 * Author: Torstein Hønsi, Magdalena Gut
 *
 * A commercial license may be required depending on use.
 * See www.highcharts.com/license
 */function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.Series.types.column,t._Highcharts.Chart,t._Highcharts.SeriesRegistry,t._Highcharts.Series,t._Highcharts.StackItem,t._Highcharts.SVGRenderer):"function"==typeof define&&define.amd?define("highcharts/modules/pictorial",["highcharts/highcharts"],function(t){return e(t,t.Series,["types"],["column"],t.Chart,t.SeriesRegistry,t.Series,t.StackItem,t.SVGRenderer)}):"object"==typeof exports?exports["highcharts/modules/pictorial"]=e(t._Highcharts,t._Highcharts.Series.types.column,t._Highcharts.Chart,t._Highcharts.SeriesRegistry,t._Highcharts.Series,t._Highcharts.StackItem,t._Highcharts.SVGRenderer):t.Highcharts=e(t.Highcharts,t.Highcharts.Series.types.column,t.Highcharts.Chart,t.Highcharts.SeriesRegistry,t.Highcharts.Series,t.Highcharts.StackItem,t.Highcharts.SVGRenderer)}("u"<typeof window?this:window,function(t,e,r,i,n,o,a){return function(){"use strict";var s,h,c={184:function(t){t.exports=o},448:function(t){t.exports=e},512:function(t){t.exports=i},540:function(t){t.exports=a},820:function(t){t.exports=n},944:function(e){e.exports=t},960:function(t){t.exports=r}},p={};function l(t){var e=p[t];if(void 0!==e)return e.exports;var r=p[t]={exports:{}};return c[t](r,r.exports,l),r.exports}l.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return l.d(e,{a:e}),e},l.d=function(t,e){for(var r in e)l.o(e,r)&&!l.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},l.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var d={};l.d(d,{default:function(){return to}});var f=l(944),u=l.n(f);l(448);var g=function(t,e,r){if(r||2==arguments.length)for(var i,n=0,o=e.length;n<o;n++)!i&&n in e||(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))};function v(t,e,r,i){void 0===i&&(i={});var n="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(n,"hcEvents")||(n.hcEvents={});var o=n.hcEvents;u().Point&&t instanceof u().Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);var a=t.addEventListener;a&&a.call(t,e,r,!!u().supportsPassiveEvents&&{passive:void 0===i.passive?-1!==e.indexOf("touch"):i.passive,capture:!1}),o[e]||(o[e]=[]);var s={fn:r,order:"number"==typeof i.order?i.order:1/0};return o[e].push(s),o[e].sort(function(t,e){return t.order-e.order}),function(){A(t,e,r)}}function y(t,e){var r;for(r in t||(t={}),e)t[r]=e[r];return t}function m(t){return x(t)&&"number"==typeof t.nodeType}function x(t,e){var r;return!!t&&"object"==typeof t&&(!e||"[object Array]"!==(r=Object.prototype.toString.call(t))&&"[object Array Iterator]"!==r)}function w(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var i,n=g([t],e,!0),o={},a=function(t,e){return"object"!=typeof t&&(t={}),b(e,function(r,i){if("__proto__"!==i&&"constructor"!==i){var n;!x(r,!0)||(n=null==r?void 0:r.constructor,x(r,!0)&&!m(r)&&(null==n?void 0:n.name)&&"Object"!==n.name)||m(r)?t[i]=e[i]:t[i]=a(t[i]||{},r)}}),t};!0===t&&(o=n[1],n=Array.prototype.slice.call(n,2));var s=n.length;for(i=0;i<s;i++)o=a(o,n[i]);return o}function b(t,e,r){for(var i in t)Object.hasOwnProperty.call(t,i)&&e.call(r||t[i],t[i],i,t)}function _(){for(var t=arguments,e=t.length,r=0;r<e;r++){var i=t[r];if(null!=i)return i}}function A(t,e,r){function i(e,r){var i=t.removeEventListener;i&&i.call(t,e,r,!1)}function n(r){var n,o;t.nodeName&&(e?(n={})[e]=!0:n=r,b(n,function(t,e){if(r[e])for(o=r[e].length;o--;)i(e,r[e][o].fn)}))}var o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){var a=o.hcEvents;if(e){var s=a[e]||[];r?(a[e]=s.filter(function(t){return r!==t.fn}),i(e,r)):(n(a),a[e]=[])}else n(a),delete o.hcEvents}}u().doc,u().win,Array.prototype.find;var O=u().animObject,C=u().getOptions,S=function(){for(var t=[],e=C().colors,r=0,i=0,n=["M 0 0 L 5 5 M 4.5 -0.5 L 5.5 0.5 M -0.5 4.5 L 0.5 5.5","M 0 5 L 5 0 M -0.5 0.5 L 0.5 -0.5 M 4.5 5.5 L 5.5 4.5","M 2 0 L 2 5 M 4 0 L 4 5","M 0 2 L 5 2 M 0 4 L 5 4","M 0 1.5 L 2.5 1.5 L 2.5 0 M 2.5 5 L 2.5 3.5 L 5 3.5"];i<n.length;i++){var o=n[i];t.push({path:o,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"})}r=5;for(var a=0,s=["M 0 0 L 5 10 L 10 0","M 3 3 L 8 3 L 8 8 L 3 8 Z","M 5 5 m -4 0 a 4 4 0 1 1 8 0 a 4 4 0 1 1 -8 0","M 0 0 L 10 10 M 9 -1 L 11 1 M -1 9 L 1 11","M 0 10 L 10 0 M -1 1 L 1 -1 M 9 11 L 11 9"];a<s.length;a++){var o=s[a];t.push({path:o,color:e[r++],width:10,height:10})}return t}();function E(t,e){var r,i=JSON.stringify(t),n=i.length||0,o=0,a=0;if(e){r=Math.max(Math.floor(n/500),1);for(var s=0;s<n;s+=r)o+=i.charCodeAt(s);o&=o}for(;a<n;++a)o=(o<<5)-o+i.charCodeAt(a),o&=o;return o.toString(16).replace("-","1")}function M(){if(this.renderer&&(this.renderer.defIds||[]).filter(function(t){return t&&t.indexOf&&0===t.indexOf("highcharts-pattern-")}).length){for(var t=0,e=this.series;t<e.length;t++){var r=e[t];if(r.visible)for(var i=0,n=r.points;i<n.length;i++){var o=n[i],a=o.options&&o.options.color;a&&a.pattern&&(a.pattern._width="defer",a.pattern._height="defer")}}this.redraw(!1)}}function k(){var t={},e=this.renderer,r=(e.defIds||[]).filter(function(t){return t.indexOf&&0===t.indexOf("highcharts-pattern-")});if(r.length){[].forEach.call(this.renderTo.querySelectorAll('[color^="url("], [fill^="url("], [stroke^="url("]'),function(r){var i=r.getAttribute("fill")||r.getAttribute("color")||r.getAttribute("stroke");i&&(t[i.replace(e.url,"").replace("url(#","").replace(")","")]=!0)});for(var i=0;i<r.length;i++){var n=r[i];!t[n]&&(!function(t,e){for(var r=t.length;r--;)if(t[r]===e){t.splice(r,1);break}}(e.defIds,n),e.patternElements[n]&&(e.patternElements[n].destroy(),delete e.patternElements[n]))}}}function L(){var t,e=this.options.color;e&&(e.pattern||void 0!==e.patternIndex)&&("string"==typeof(null==(t=e.pattern)?void 0:t.path)&&(e.pattern.path={d:e.pattern.path}),this.color=this.options.color=w(this.series.options.color,e))}function H(t){var e=t.args[0],r=t.args[1],i=t.args[2],n=this.chartIndex||0,o=e.pattern,a="#333333";if(void 0!==e.patternIndex&&S&&(o=S[e.patternIndex]),!o)return!0;if(o.image||"string"==typeof o.path||o.path&&o.path.d){var s,h,c=i.parentNode&&i.parentNode.getAttribute("class");c=c&&c.indexOf("highcharts-legend")>-1,("defer"===o._width||"defer"===o._height)&&P.call({graphic:{element:i}},o),(c||!o.id||o.anchorToPoint)&&((o=w({},o)).anchorToPoint&&((s=w({},o))._x=(h=i.getBBox?i.getBBox():{x:0,y:0,width:32,height:32}).x,s._y=h.y,o=s),o.id="highcharts-pattern-"+n+"-"+E(o)+E(o,!0)+(o.anchorToPoint?"-anchored":"")),this.addPattern(o,!this.forExport&&_(o.animation,this.globalAnimation,{duration:100})),a="url(".concat(this.url,"#").concat(o.id+(this.forExport?"-export":""),")")}else a=o.color||a;return i.setAttribute(r,a),e.toString=function(){return a},!1}function j(){var t=this.chart.isResizing;if(this.isDirtyData||t||!this.chart.hasRendered)for(var e=0,r=this.points;e<r.length;e++){var i=r[e],n=i.options&&i.options.color;n&&n.pattern&&(t&&!(i.shapeArgs&&i.shapeArgs.width&&i.shapeArgs.height)?(n.pattern._width="defer",n.pattern._height="defer"):i.calculatePatternDimensions(n.pattern))}}function P(t){if(!t.width||!t.height||t.anchorToPoint){var e=this.graphic&&(this.graphic.getBBox&&this.graphic.getBBox(!0)||this.graphic.element&&this.graphic.element.getBBox())||{},r=this.shapeArgs;if(r&&(e.width=r.width||e.width,e.height=r.height||e.height,e.x=r.x||e.x,e.y=r.y||e.y),t.image){if(!e.width||!e.height){t._width="defer",t._height="defer";var i=this.series.chart.mapView&&this.series.chart.mapView.getSVGTransform().scaleY;null!=i&&i<0&&(t._inverted=!0);return}t.aspectRatio&&(e.aspectRatio=e.width/e.height,t.aspectRatio>e.aspectRatio?e.aspectWidth=e.height*t.aspectRatio:e.aspectHeight=e.width/t.aspectRatio),t._width=t.width||Math.ceil(e.aspectWidth||e.width),t._height=t.height||Math.ceil(e.aspectHeight||e.height)}t.anchorToPoint?(t._x=0,t._y=0,t.width||(t._width=e.width),t.height||(t._height=e.height)):(t.width||(t._x=t.x||0,t._x+=e.x-Math.round(e.aspectWidth?Math.abs(e.aspectWidth-e.width)/2:0)),t.height||(t._y=t.y||0,t._y+=e.y-Math.round(e.aspectHeight?Math.abs(e.aspectHeight-e.height)/2:0)))}}function T(t,e){var r,i,n=_(e,!0),o=O(n),a=t.color||"#333333",s=t.height||("number"==typeof t._height?t._height:0)||32,h=t.width||("number"==typeof t._width?t._width:0)||32,c=t.anchorToPoint?"userSpaceOnUse":t.patternContentUnits||"userSpaceOnUse",p=t.id;if(!p&&(this.idCounter=this.idCounter||0,p="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(p+="-export"),this.defIds=this.defIds||[],!(this.defIds.indexOf(p)>-1)){this.defIds.push(p);var l,d={id:p,patternUnits:"userSpaceOnUse",patternContentUnits:c,width:h,height:s,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(d.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(d.patternTransform=t.patternTransform);var f=this.createElement("pattern").attr(d).add(this.defs);return(f.id=p,t.path)?(i=x(t.path)?t.path:{d:t.path},t.backgroundColor&&(l=t.backgroundColor,this.rect(0,0,h,s).attr({fill:l}).add(f)),r={d:i.d},this.styledMode||(r.stroke=i.stroke||a,r["stroke-width"]=_(i.strokeWidth,2),r.fill=i.fill||"none"),i.transform&&(r.transform=i.transform),this.createElement("path").attr(r).add(f),f.color=a):t.image&&(n?this.image(t.image,0,0,h,s,function(){this.animate({opacity:_(t.opacity,1)},o),A(this.element,"load")}).attr({opacity:0}).add(f):this.image(t.image,0,0,h,s).add(f)),t.image&&n||void 0===t.opacity||[].forEach.call(f.element.childNodes,function(e){e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[p]=f,f}}function B(t){var e=this.options.color;e&&e.pattern&&!e.pattern.color?(delete this.options.color,t.apply(this,[].slice.call(arguments,1)),e.pattern.color=this.color,this.color=this.options.color=e):t.apply(this,[].slice.call(arguments,1))}function R(){var t,e;if(null==(t=this.chart)?void 0:t.mapView){var r=this.chart.renderer,i=r.patternElements;(null==(e=r.defIds)?void 0:e.length)&&i&&this.points.filter(function(t){var e,r,i,n;return!!t.graphic&&(t.graphic.element.hasAttribute("fill")||t.graphic.element.hasAttribute("color")||t.graphic.element.hasAttribute("stroke"))&&!(null==(r=null==(e=t.options.color)?void 0:e.pattern)?void 0:r.image)&&!!(null==(i=t.group)?void 0:i.scaleX)&&!!(null==(n=t.group)?void 0:n.scaleY)}).map(function(t){var e,i,n,o,a;return{id:((null==(e=t.graphic)?void 0:e.element.getAttribute("fill"))||(null==(i=t.graphic)?void 0:i.element.getAttribute("color"))||(null==(n=t.graphic)?void 0:n.element.getAttribute("stroke"))||"").replace(r.url,"").replace("url(#","").replace(")",""),x:(null==(o=t.group)?void 0:o.scaleX)||1,y:(null==(a=t.group)?void 0:a.scaleY)||1}}).filter(function(t,e,r){return""!==t.id&&-1!==t.id.indexOf("highcharts-pattern-")&&!r.some(function(r,i){return r.id===t.id&&i<e})}).forEach(function(t){var e=t.id;i[e].scaleX=1/t.x,i[e].scaleY=1/t.y,i[e].updateTransform("patternTransform")})}}var G=l(960),I=l.n(G),W=l(512),D=l.n(W),U=function(t,e,r,i,n){void 0===n&&(n=1);var o=t&&t.attr("fill"),a=o&&o.match(/url\(([^)]+)\)/);if(a){var s=document.querySelector(""+a[1]+" path");if(s){var h=s.getBBox();if(0===h.width){var c=s.parentElement;t.renderer.box.appendChild(s),h=s.getBBox(),c.appendChild(s)}var p=1/(h.width+n),l=e/i/h.height,d=h.width/h.height,f=r/e,u=-h.width/2;d<f&&(p=p*d/f),s.setAttribute("stroke-width",n/(r*p)),s.setAttribute("transform","translate(0.5, 0)"+"scale(".concat(p," ").concat(l,") ")+"translate(".concat(u+n*p/2,", ").concat(-h.y,")"))}}},X=function(t,e){var r=t.len,i=0;return e&&null!=e.max&&(i=t.toPixels(e.max,!0),r=t.len-i),{height:r,y:i}},V=(s=function(t,e){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),Y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return V(e,t),e.prototype.setState=function(){t.prototype.setState.apply(this,arguments);var e=this.series,r=e.options.paths;if(this.graphic&&this.shapeArgs&&r){var i=r[this.index%r.length];U(this.graphic,X(e.yAxis,i).height,this.shapeArgs.width||0,this.shapeArgs.height||1/0,this.series.options.borderWidth||0)}},e}(D().seriesTypes.column.prototype.pointClass),N=l(820),q=l.n(N),z=l(184),F=l.n(z),Z=l(540),J=l.n(Z),K=(h=function(t,e){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),Q=D().seriesTypes.column;({compose:function(t,e,r){var i,n,o,a=e.prototype.pointClass,s=a.prototype;s.calculatePatternDimensions||(v(t,"endResize",M),v(t,"redraw",k),y(s,{calculatePatternDimensions:P}),v(a,"afterInit",L),v(e,"render",j),i=e.prototype,o=i[n="getColor"],i[n]=function(){var t=arguments,e=this;return B.apply(this,[function(){return o.apply(e,arguments.length?arguments:t)}].concat([].slice.call(arguments)))},v(e,"afterRender",R),v(e,"mapZoomComplete",R),y(r.prototype,{addPattern:T}),v(r,"complexColor",H))},patterns:S}).compose(I(),q(),J());var $=u().animObject,tt=function(t,e){var r=e.chart.inverted;r&&t.attr({rotation:90*!!r,scaleX:r?-1:1})},te=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return K(e,t),e.prototype.animate=function(t){var e=this.chart,r=this.group,i=$(this.options.animation),n=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(","),o=e.sharedClips[n];if(t&&r){var a=e.getClipBox(this);o||(a.y=a.height,a.height=0,o=e.renderer.clipRect(a),e.sharedClips[n]=o),r.clip(o)}else if(o&&!o.hasClass("highcharts-animating")){var s=e.getClipBox(this);o.addClass("highcharts-animating").animate(s,i)}},e.prototype.animateDrilldown=function(){},e.prototype.animateDrillupFrom=function(){},e.prototype.pointAttribs=function(e){var r=t.prototype.pointAttribs.apply(this,arguments),i=this.options.paths;if(e&&e.shapeArgs&&i){var n=i[e.index%i.length],o=X(this.yAxis,n),a=o.y,s=o.height,h=n.definition;h!==e.pathDef?(e.pathDef=h,r.fill={pattern:{path:{d:h,fill:r.fill,strokeWidth:r["stroke-width"],stroke:r.stroke},x:e.shapeArgs.x,y:a,width:e.shapeArgs.width||0,height:s,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#ff0000"}}):e.pathDef&&e.graphic&&delete r.fill}return delete r.stroke,delete r.strokeWidth,r},e.prototype.getExtremes=function(){var e=t.prototype.getExtremes.apply(this,arguments),r=this.options.paths;return r&&r.forEach(function(t){null!=t.max&&null!=e.dataMax&&t.max>e.dataMax&&(e.dataMax=t.max)}),e},e.defaultOptions=w(Q.defaultOptions,{borderWidth:0}),e}(Q);function tr(t){var e=Object.keys(t.points).filter(function(t){return t.split(",").length>1}),r=t.axis.chart.series,i=e.map(function(t){return parseFloat(t.split(",")[0])}),n=-1;i.forEach(function(t){r[t]&&r[t].visible&&(n=t)});var o=t.axis.chart.series[n];if(o&&o.is("pictorial")&&t.axis.hasData()&&o.xAxis.hasData()){var a=o.xAxis,s=t.axis.options,h=t.axis.chart,c=t.shadow,p=a.toPixels(t.x,!0),l=h.inverted?a.len-p:p,d=o.options.paths||[],f=t.x%d.length,u=d[f],g=o.getColumnMetrics&&o.getColumnMetrics().width,v=X(o.yAxis,u),y=v.height,m=v.y,x=s.stackShadow,w=_(x&&x.borderWidth,o.options.borderWidth,1);if(!c&&x&&x.enabled&&u)t.shadowGroup||(t.shadowGroup=h.renderer.g("shadow-group").add()),t.shadowGroup.attr({translateX:h.inverted?t.axis.pos:a.pos,translateY:h.inverted?a.pos:t.axis.pos}),t.shadow=h.renderer.rect(l,m,g,y).attr({fill:{pattern:{path:{d:u.definition,fill:x.color||"#dedede",strokeWidth:w,stroke:x.borderColor||"transparent"},x:l,y:m,width:g,height:y,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"#dedede"}}}).add(t.shadowGroup),tt(t.shadowGroup,t.axis),U(t.shadow,y,g,y,w),t.setOffset(o.pointXOffset||0,o.barW||0);else if(c&&t.shadowGroup){c.animate({x:l,y:m,width:g,height:y});var b=c.attr("fill"),A=b&&b.match(/url\(([^)]+)\)/);A&&h.renderer.patternElements&&h.renderer.patternElements[A[1].slice(1)].animate({x:l,y:m,width:g,height:y}),t.shadowGroup.animate({translateX:h.inverted?t.axis.pos:a.pos,translateY:h.inverted?a.pos:t.axis.pos}),tt(t.shadowGroup,t.axis),U(c,y,g,y,w),t.setOffset(o.pointXOffset||0,o.barW||0)}}else t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadow=void 0,t.shadowGroup.destroy(),t.shadowGroup=void 0)}function ti(t,e){t.axes&&t.axes.forEach(function(t){t.stacking&&b(t.stacking.stacks,function(t){b(t,function(t){e(t)})})})}function tn(t){ti(t,function(t){t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadowGroup.destroy(),delete t.shadow,delete t.shadowGroup)})}v(te,"afterRender",function(){var t=this,e=t.options.paths,r=/url\(([^)]+)\)/;t.points.forEach(function(i){if(i.graphic&&i.shapeArgs&&e){var n=e[i.index%e.length],o=i.graphic.attr("fill"),a=o&&o.match(r),s=X(t.yAxis,n),h=s.y,c=s.height;if(a&&t.chart.renderer.patternElements){var p=t.chart.renderer.patternElements[a[1].slice(1)];p&&p.animate({x:i.shapeArgs.x,y:h,width:i.shapeArgs.width||0,height:c})}U(i.graphic,X(t.yAxis,n).height,i.shapeArgs.width||0,i.shapeArgs.height||1/0,t.options.borderWidth||0)}})}),v(I(),"render",function(){ti(this,tr)}),v(F(),"afterSetOffset",function(t){if(this.shadow){var e=this.axis,r=e.chart,i=e.len,n=t.xOffset,o=t.width,a=r.inverted?n-r.xAxis[0].len:n,s=r.inverted?-i:0;this.shadow.attr({translateX:a,translateY:s}),this.shadow.animate({width:o})}}),v(I(),"afterDrilldown",function(){tn(this)}),v(I(),"afterDrillUp",function(){tn(this)}),te.prototype.pointClass=Y,D().registerSeriesType("pictorial",te);var to=u();return d.default}()});