!/**
 * Highcharts JS v13.0.0 (2026-06-11)
 * @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,a,n,o){return function(){"use strict";var s,h,p,c,d,l,f,u={184:function(t){t.exports=n},448:function(t){t.exports=e},512:function(t){t.exports=i},540:function(t){t.exports=o},820:function(t){t.exports=a},944:function(e){e.exports=t},960:function(t){t.exports=r}},g={};function v(t){var e=g[t];if(void 0!==e)return e.exports;var r=g[t]={exports:{}};return u[t](r,r.exports,v),r.exports}v.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return v.d(e,{a:e}),e},v.d=function(t,e){for(var r in e)v.o(e,r)&&!v.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},v.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)};var m={};v.d(m,{default:function(){return q}});var x=v(944),y=v.n(x);v(448);var w=y().getOptions,_=function(){for(var t=[],e=w().colors,r=0,i=0,a=["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<a.length;i++){var n=a[i];t.push({path:n,color:e[r++],width:5,height:5,patternTransform:"scale(1.4 1.4)"})}r=5;for(var o=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"];o<s.length;o++){var n=s[o];t.push({path:n,color:e[r++],width:10,height:10})}return t}();function b(t,e){var r,i=JSON.stringify(t),a=i.length||0,n=0,o=0;if(e){r=Math.max(Math.floor(a/500),1);for(var s=0;s<a;s+=r)n+=i.charCodeAt(s);n&=n}for(;o<a;++o)n=(n<<5)-n+i.charCodeAt(o),n&=n;return n.toString(16).replace("-","1")}function A(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;(0,x.defined)(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 E(){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,a;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==(a=t.group)?void 0:a.scaleY)}).map(function(t){var e,i,a,n,o;return{id:((null==(e=t.graphic)?void 0:e.element.getAttribute("fill"))||(null==(i=t.graphic)?void 0:i.element.getAttribute("color"))||(null==(a=t.graphic)?void 0:a.element.getAttribute("stroke"))||"").replace(r.url,"").replace("url(#","").replace(")",""),x:(null==(n=t.group)?void 0:n.scaleX)||1,y:(null==(o=t.group)?void 0:o.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 C=v(960),M=v.n(C),O=v(512),S=v.n(O),k=function(t,e,r,i,a){void 0===a&&(a=1);var n=t&&t.attr("fill"),o=n&&n.match(/url\(([^)]+)\)/);if(o){var s=document.querySelector(""+o[1]+" path");if(s){var h=s.getBBox();if(0===h.width){var p=s.parentElement;t.renderer.box.appendChild(s),h=s.getBBox(),p.appendChild(s)}var c=1/(h.width+a),d=e/i/h.height,l=h.width/h.height,f=r/e,u=-h.width/2;l<f&&(c=c*l/f),s.setAttribute("stroke-width",a/(r*c)),s.setAttribute("transform","translate(0.5, 0)"+"scale(".concat(c," ").concat(d,") ")+"translate(".concat(u+a*c/2,", ").concat(-h.y,")"))}}},H=function(t,e){var r=t.len,i=0;return e&&(0,x.defined)(e.max)&&(i=t.toPixels(e.max,!0),r=t.len-i),{height:r,y:i}},L=(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)}),T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return L(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];k(this.graphic,H(e.yAxis,i).height,this.shapeArgs.width||0,this.shapeArgs.height||1/0,this.series.options.borderWidth||0)}},e}(S().seriesTypes.column.prototype.pointClass),B=v(820),R=v.n(B),j=v(184),G=v.n(j),P=v(540),I=v.n(P),W=(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)});p=M(),c=R(),d=I(),(f=(l=c.prototype.pointClass).prototype).calculatePatternDimensions||((0,x.addEvent)(p,"endResize",function(){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,a=r.points;i<a.length;i++){var n=a[i],o=n.options&&n.options.color;o&&o.pattern&&(o.pattern._width="defer",o.pattern._height="defer")}}this.redraw(!1)}}),(0,x.addEvent)(p,"redraw",function(){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 a=r[i];!t[a]&&((0,x.erase)(e.defIds,a),e.patternElements[a]&&(e.patternElements[a].destroy(),delete e.patternElements[a]))}}}),(0,x.extend)(f,{calculatePatternDimensions:A}),(0,x.addEvent)(l,"afterInit",function(){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=(0,x.merge)(this.series.options.color,e))}),(0,x.addEvent)(c,"render",function(){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],a=i.options&&i.options.color;a&&a.pattern&&(t&&!(i.shapeArgs&&i.shapeArgs.width&&i.shapeArgs.height)?(a.pattern._width="defer",a.pattern._height="defer"):i.calculatePatternDimensions(a.pattern))}}),(0,x.wrap)(c.prototype,"getColor",function(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))}),(0,x.addEvent)(c,"afterRender",E),(0,x.addEvent)(c,"mapZoomComplete",E),(0,x.extend)(d.prototype,{addPattern:function(t,e){var r,i,a=(0,x.pick)(e,!0),n=(0,x.animObject)(a),o=t.color||"var(--highcharts-neutral-color-80)",s=t.height||("number"==typeof t._height?t._height:0)||32,h=t.width||("number"==typeof t._width?t._width:0)||32,p=t.anchorToPoint?"userSpaceOnUse":t.patternContentUnits||"userSpaceOnUse",c=t.id;if(!c&&(this.idCounter=this.idCounter||0,c="highcharts-pattern-"+this.idCounter+"-"+(this.chartIndex||0),++this.idCounter),this.forExport&&(c+="-export"),this.defIds=this.defIds||[],!(this.defIds.indexOf(c)>-1)){this.defIds.push(c);var d,l={id:c,patternUnits:"userSpaceOnUse",patternContentUnits:p,width:h,height:s,x:t._x||t.x||0,y:t._y||t.y||0};t._inverted&&(l.patternTransform="scale(1, -1)",t.patternTransform&&(t.patternTransform+=" scale(1, -1)")),t.patternTransform&&(l.patternTransform=t.patternTransform);var f=this.createElement("pattern").attr(l).add(this.defs);return(f.id=c,t.path)?(i=(0,x.isObject)(t.path)?t.path:{d:t.path},t.backgroundColor&&(d=t.backgroundColor,this.rect(0,0,h,s).attr({fill:d}).add(f)),r={d:i.d},this.styledMode||(r.stroke=i.stroke||o,r["stroke-width"]=(0,x.pick)(i.strokeWidth,2),r.fill=i.fill||"none"),i.transform&&(r.transform=i.transform),this.createElement("path").attr(r).add(f),f.color=o):t.image&&(a?this.image(t.image,0,0,h,s,function(){this.animate({opacity:(0,x.pick)(t.opacity,1)},n),(0,x.removeEvent)(this.element,"load")}).attr({opacity:0}).add(f):this.image(t.image,0,0,h,s).add(f)),t.image&&a||void 0===t.opacity||[].forEach.call(f.element.childNodes,function(e){e.setAttribute("opacity",t.opacity)}),this.patternElements=this.patternElements||{},this.patternElements[c]=f,f}}}),(0,x.addEvent)(d,"complexColor",function(t){var e=t.args[0],r=t.args[1],i=t.args[2],a=this.chartIndex||0,n=e.pattern,o="var(--highcharts-neutral-color-80)";if(void 0!==e.patternIndex&&_&&(n=_[e.patternIndex]),!n)return!0;if(n.image||"string"==typeof n.path||n.path&&n.path.d){var s,h,p,c=i.parentNode&&i.parentNode.getAttribute("class");c=c&&c.indexOf("highcharts-legend")>-1,("defer"===n._width||"defer"===n._height)&&A.call({graphic:{element:i}},n),(c||!n.id||n.anchorToPoint)&&((n=(0,x.merge)({},n)).anchorToPoint&&(s=n,(h=(0,x.merge)({},s))._x=(p=i.getBBox?i.getBBox():{x:0,y:0,width:32,height:32}).x,h._y=p.y,n=h),n.id="highcharts-pattern-"+a+"-"+b(n)+b(n,!0)+(n.anchorToPoint?"-anchored":"")),this.addPattern(n,!this.forExport&&(0,x.pick)(n.animation,this.globalAnimation,{duration:100})),o="url(".concat(this.url,"#").concat(n.id+(this.forExport?"-export":""),")")}else o=n.color||o;return i.setAttribute(r,o),e.toString=function(){return o},!1}));var D=S().seriesTypes.column,U=function(t,e){var r=e.chart.inverted;r&&t.attr({rotation:90*!!r,scaleX:r?-1:1})},X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return W(e,t),e.prototype.animate=function(t){var e=this.chart,r=this.group,i=(0,x.animObject)(this.options.animation),a=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(","),n=e.sharedClips[a];if(t&&r){var o=e.getClipBox(this);n||(o.y=o.height,o.height=0,n=e.renderer.clipRect(o),e.sharedClips[a]=n),r.clip(n)}else if(n&&!n.hasClass("highcharts-animating")){var s=e.getClipBox(this);n.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 a=i[e.index%i.length],n=H(this.yAxis,a),o=n.y,s=n.height,h=a.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:o,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){(0,x.defined)(t.max)&&(0,x.defined)(e.dataMax)&&t.max>e.dataMax&&(e.dataMax=t.max)}),e},e.defaultOptions=(0,x.merge)(D.defaultOptions,{borderWidth:0}),e}(D);function V(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])}),a=-1;i.forEach(function(t){r[t]&&r[t].visible&&(a=t)});var n=t.axis.chart.series[a];if(n&&n.is("pictorial")&&t.axis.hasData()&&n.xAxis.hasData()){var o=n.xAxis,s=t.axis.options,h=t.axis.chart,p=t.shadow,c=o.toPixels(t.x,!0),d=h.inverted?o.len-c:c,l=n.options.paths||[],f=t.x%l.length,u=l[f],g=n.getColumnMetrics&&n.getColumnMetrics().width,v=H(n.yAxis,u),m=v.height,y=v.y,w=s.stackShadow,_=(0,x.pick)(w&&w.borderWidth,n.options.borderWidth,1);if(!p&&w&&w.enabled&&u)t.shadowGroup||(t.shadowGroup=h.renderer.g("shadow-group").add()),t.shadowGroup.attr({translateX:h.inverted?t.axis.pos:o.pos,translateY:h.inverted?o.pos:t.axis.pos}),t.shadow=h.renderer.rect(d,y,g,m).attr({fill:{pattern:{path:{d:u.definition,fill:w.color||"var(--highcharts-neutral-color-20)",strokeWidth:_,stroke:w.borderColor||"transparent"},x:d,y:y,width:g,height:m,patternContentUnits:"objectBoundingBox",backgroundColor:"none",color:"var(--highcharts-neutral-color-20)"}}}).add(t.shadowGroup),U(t.shadowGroup,t.axis),k(t.shadow,m,g,m,_),t.setOffset(n.pointXOffset||0,n.barW||0);else if(p&&t.shadowGroup){p.animate({x:d,y:y,width:g,height:m});var b=p.attr("fill"),A=b&&b.match(/url\(([^)]+)\)/);A&&h.renderer.patternElements&&h.renderer.patternElements[A[1].slice(1)].animate({x:d,y:y,width:g,height:m}),t.shadowGroup.animate({translateX:h.inverted?t.axis.pos:o.pos,translateY:h.inverted?o.pos:t.axis.pos}),U(t.shadowGroup,t.axis),k(p,m,g,m,_),t.setOffset(n.pointXOffset||0,n.barW||0)}}else t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadow=void 0,t.shadowGroup.destroy(),t.shadowGroup=void 0)}function Y(t,e){t.axes&&t.axes.forEach(function(t){if(t.stacking){var r=t.stacking.stacks;(0,x.objectEach)(r,function(t){(0,x.objectEach)(t,function(t){e(t)})})}})}function N(t){Y(t,function(t){t.shadow&&t.shadowGroup&&(t.shadow.destroy(),t.shadowGroup.destroy(),delete t.shadow,delete t.shadowGroup)})}(0,x.addEvent)(X,"afterRender",function(){var t=this,e=t.options.paths,r=/url\(([^)]+)\)/;t.points.forEach(function(i){if(i.graphic&&i.shapeArgs&&e){var a=e[i.index%e.length],n=i.graphic.attr("fill"),o=n&&n.match(r),s=H(t.yAxis,a),h=s.y,p=s.height;if(o&&t.chart.renderer.patternElements){var c=t.chart.renderer.patternElements[o[1].slice(1)];c&&c.animate({x:i.shapeArgs.x,y:h,width:i.shapeArgs.width||0,height:p})}k(i.graphic,H(t.yAxis,a).height,i.shapeArgs.width||0,i.shapeArgs.height||1/0,t.options.borderWidth||0)}})}),(0,x.addEvent)(M(),"render",function(){Y(this,V)}),(0,x.addEvent)(G(),"afterSetOffset",function(t){if(this.shadow){var e=this.axis,r=e.chart,i=e.len,a=t.xOffset,n=t.width,o=r.inverted?a-r.xAxis[0].len:a,s=r.inverted?-i:0;this.shadow.attr({translateX:o,translateY:s}),this.shadow.animate({width:n})}}),(0,x.addEvent)(M(),"afterDrilldown",function(){N(this)}),(0,x.addEvent)(M(),"afterDrillUp",function(){N(this)}),X.prototype.pointClass=T,S().registerSeriesType("pictorial",X);var q=y();return m.default}()});