PageSourceSearch

https://app.pointerpro.com/chunk-C46UFDQS.js

js pointerpro.com collected 2026-09-24 09:58:12 UTC 4,796 bytes, 2 lines download raw bytes

1import{Ic as R,La as C,Na as I,Qa as O,U as l,W as u,Y as r,Z as d,ec as D,gc as H,ha as m,hc as w,ic as f,ja as p,kc as M,la as y,qa as T,ra as v}from"./chunk-Y66N7V4O.js";import{b as S}from"./chunk-76Q5SISU.js";import{h}from"./chunk-7CEBWOAQ.js";var P=new u("HIGHCHARTS_LOADER"),A=new u("HIGHCHARTS_ROOT_MODULES"),E=new u("HIGHCHARTS_OPTIONS"),L=new u("HIGHCHARTS_CONFIG"),k=new u("HIGHCHARTS_TIMEOUT"),b=(()=>{let e=class e{constructor(){this.highcharts=p(null),this.loader=r(P),this.globalOptions=r(E,{optional:!0}),this.globalModules=r(A,{optional:!0}),this.sharedHighchartsPromise=null,this.moduleLoadCache=new WeakMap}loadModules(s){return h(this,null,function*(){if(!s)return;let t=this.moduleLoadCache.get(s);if(t)return t;let o=Promise.allSettled(s()).then(n=>{let a=n.filter(c=>c.status==="rejected");if(a.length){let c=a.map(({reason:g})=>g instanceof Error?g.message:String(g));throw new Error(`Failed to load Highcharts modules: ${c.join("; ")}`)}});return this.moduleLoadCache.set(s,o),o.catch(()=>{this.moduleLoadCache.get(s)===o&&this.moduleLoadCache.delete(s)}),o})}ensureSharedHighcharts(){return h(this,null,function*(){if(!this.sharedHighchartsPromise){let s=h(this,null,function*(){let t=yield this.loader();return yield this.loadModules(this.globalModules),this.globalOptions&&t.setOptions(this.globalOptions),t});this.sharedHighchartsPromise=s,s.catch(()=>{this.sharedHighchartsPromise===s&&(this.sharedHighchartsPromise=null)})}return this.sharedHighchartsPromise})}load(s){return h(this,null,function*(){let t=yield this.ensureSharedHighcharts();return yield this.loadModules(s?.modules),this.highcharts.set(t),t})}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),F=(()=>{let e=class e{delay(s){return new Promise(t=>setTimeout(t,s))}getChartFactory(s,t){if(t==="chart")return s.chart;let n=s[t];if(!n)throw new Error(`Highcharts constructor "${t}" is not available. Did you load the required module?`);return n}createChart(){H(s=>{let t=this.loadedHighcharts(),o=this.constructorType();if(!t||this.isDestroyed)return;let n=c=>{if(!(c.renderer.forExport||this.isDestroyed))return this.chartInstance.emit(c)},a=this.getChartFactory(t,o)(this.el.nativeElement,D(()=>this.options()),n);this.chart.set(a),s(()=>{this.chart()===a&&this.chart.set(null),a.destroy()})})}keepChartUpToDate(){let s=null;H(()=>{let t=this.chart(),o=this.update(),n=this.oneToOne(),a=this.options();if(t){if(t!==s){s=t;return}o&&t.update(a,!0,n)}})}initializeHighcharts(){return h(this,null,function*(){yield this.pendingTasks.run(()=>h(this,null,function*(){try{let s=yield this.highchartsChartService.load(this.relativeConfig),t=this.relativeConfig?.timeout??this.timeout??0;t>0&&(yield this.delay(t)),this.isDestroyed||this.loadedHighcharts.set(s)}catch(s){console.error("Highcharts failed to load; chart was not created.",s)}}))})}constructor(){this.constructorType=f("chart"),this.oneToOne=f(!1),this.options=f.required(),this.update=M(!0),this.chartInstance=w(),this.destroyRef=r(m),this.el=r(T),this.platformId=r(v),this.relativeConfig=r(L,{optional:!0}),this.timeout=r(k,{optional:!0}),this.highchartsChartService=r(b),this.pendingTasks=r(y),this.loadedHighcharts=p(null),this.chart=p(null),this.isDestroyed=!1,!(this.platformId&&R(this.platformId))&&(this.destroyRef.onDestroy(()=>{this.isDestroyed=!0}),this.createChart(),this.keepChartUpToDate(),this.initializeHighcharts())}};e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=I({type:e,selectors:[["","highchartsChart",""]],inputs:{constructorType:[1,"constructorType"],oneToOne:[1,"oneToOne"],options:[1,"options"],update:[1,"update"]},outputs:{update:"updateChange",chartInstance:"chartInstance"}});let i=e;return i})(),K=(()=>{let e=class e{};e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=C({type:e,selectors:[["highcharts-chart"]],features:[O([{directive:F,inputs:["constructorType","constructorType","oneToOne","oneToOne","options","options","update","update"],outputs:["chartInstance","chartInstance","updateChange","updateChange"]}])],decls:0,vars:0,template:function(t,o){},encapsulation:2,changeDetection:0});let i=e;return i})(),j=()=>[],U=()=>import("./chunk-UJTUHFFG.js").then(i=>i.default);function V(i){return d([{provide:P,useValue:i??U}])}function x(i){return d([{provide:E,useValue:i}])}function N(i){return d([{provide:A,useValue:i}])}function Q(i={}){let e=[V(i.instance),N(i.modules??j),{provide:k,useValue:i.timeout}];return i.options&&e.push(x(i.options)),d(e)}var _=(()=>{let e=class e{getHighcharts(){return S.default}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();export{K as a,Q as b,_ as c};
2//# sourceMappingURL=chunk-C46UFDQS.js.map

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.