mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
3.0 KiB
9 lines
3.0 KiB
'use strict';
|
|
/**
|
|
* @license Angular
|
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
* License: MIT
|
|
*/(function(g,f){if(typeof define=="function"&&define.amd){define(f)}else if(typeof exports=="object" && typeof module<"u"){module.exports=f()}else{var m=f();for(var i in m) g[i]=m[i]}}(typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : this,function(){var exports={};var __exports=exports;var module={exports};
|
|
"use strict";(function(v,l){if(typeof define=="function"&&define.amd)define(l);else if(typeof exports=="object"&&typeof module<"u")module.exports=l();else{var s=l();for(var g in s)v[g]=s[g]}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:exports,function(){var v={},l=v,s={exports:v},g=Object.defineProperty,E=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,d=function(o,a,c){return a in o?g(o,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):o[a]=c},x=function(o,a){for(var c in a||(a={}))A.call(a,c)&&d(o,c,a[c]);if(E)for(var u=0,p=E(a);u<p.length;u++){var c=p[u];R.call(a,c)&&d(o,c,a[c])}return o},k=function(o,a,c){return d(o,typeof a!="symbol"?a+"":a,c),c};function I(o){var a="\n",c={},u="__creationTrace__",p="STACKTRACE TRACKING",T="__SEP_TAG__",y=T+"@[native]",w=function(){function t(){k(this,"error",j()),k(this,"timestamp",new Date)}return t}();function h(){return new Error(p)}function O(){try{throw h()}catch(t){return t}}var G=h(),N=O(),j=G.stack?h:N.stack?O:h;function b(t){return t.stack?t.stack.split(a):[]}function C(t,n){for(var i=b(n),r=0;r<i.length;r++){var e=i[r];c.hasOwnProperty(e)||t.push(i[r])}}function L(t,n){var i=[n?n.trim():""];if(t)for(var r=new Date().getTime(),e=0;e<t.length;e++){var f=t[e],_=f.timestamp,S="____________________Elapsed ".concat(r-_.getTime()," ms; At: ").concat(_);S=S.replace(/[^\w\d]/g,"_"),i.push(y.replace(T,S)),C(i,f.error),r=_.getTime()}return i.join(a)}function m(){return Error.stackTraceLimit>0}o.longStackTraceZoneSpec={name:"long-stack-trace",longStackTraceLimit:10,getLongStackTrace:function(t){if(t){var n=t[o.__symbol__("currentTaskTrace")];return n?L(n,t.stack):t.stack}},onScheduleTask:function(t,n,i,r){if(m()){var e=o.currentTask,f=e&&e.data&&e.data[u]||[];f=[new w].concat(f),f.length>this.longStackTraceLimit&&(f.length=this.longStackTraceLimit),r.data||(r.data={}),r.type==="eventTask"&&(r.data=x({},r.data)),r.data[u]=f}return t.scheduleTask(i,r)},onHandleError:function(t,n,i,r){if(m()){var e=o.currentTask||r.task;if(r instanceof Error&&e){var f=L(e.data&&e.data[u],r.stack);try{r.stack=r.longStack=f}catch(_){}}}return t.handleError(i,r)}};function P(t,n){n>0&&(t.push(b(new w().error)),P(t,n-1))}function F(){if(m()){var t=[];P(t,2);for(var n=t[0],i=t[1],r=0;r<n.length;r++){var e=n[r];if(e.indexOf(p)==-1){var f=e.match(/^\s*at\s+/);if(f){y=f[0]+T+" (http://localhost)";break}}}for(var r=0;r<n.length;r++){var e=n[r],_=i[r];if(e===_)c[e]=!0;else break}}}F()}return I(Zone),l!=v&&(s.exports=v),s.exports});
|
|
|
|
if(__exports != exports)module.exports = exports;return module.exports}));
|
|
|