Bones/node_modules/angular2/bundles/angular2-polyfills.min.js
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

1 line
26 KiB
JavaScript

!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){(function(e){"use strict";function t(e,t,n,r){function o(t){var n=t.data;return n.args[0]=t.invoke,n.handleId=i.apply(e,n.args),t}function a(e){return u(e.data.handleId)}t+=r,n+=r;var i=c.patchMethod(e,t,function(n){return function(i,c){if("function"==typeof c[0]){var u=Zone.current,s={handleId:null,isPeriodic:"Interval"==r,delay:"Timeout"==r||"Interval"==r?c[1]||0:null,args:c};return u.scheduleMacroTask(t,c[0],s,o,a)}return n.apply(e,c)}}),u=c.patchMethod(e,n,function(t){return function(n,r){var o=r[0];o&&"string"==typeof o.type?o.cancelFn&&o.zone.cancelTask(o):t.apply(e,r)}})}n(1);var r=n(2),o=n(4),a=n(5),i=n(6),c=n(3),u="set",s="clear",l=["alert","prompt","confirm"],f="undefined"==typeof window?e:window;t(f,u,s,"Timeout"),t(f,u,s,"Interval"),t(f,u,s,"Immediate"),t(f,"request","cancelMacroTask","AnimationFrame"),t(f,"mozRequest","mozCancel","AnimationFrame"),t(f,"webkitRequest","webkitCancel","AnimationFrame");for(var p=0;p<l.length;p++){var h=l[p];c.patchMethod(f,h,function(e,t,n){return function(t,r){return Zone.current.run(e,f,r,n)}})}r.eventTargetPatch(f),i.propertyDescriptorPatch(f),c.patchClass("MutationObserver"),c.patchClass("WebKitMutationObserver"),c.patchClass("FileReader"),o.propertyPatch(),a.registerElementPatch(f),f.navigator&&f.navigator.geolocation&&c.patchPrototype(f.navigator.geolocation,["getCurrentPosition","watchPosition"])}).call(t,function(){return this}())},function(e,t){(function(e){(function(e){function t(e){return"__zone_symbol__"+e}function n(){E||w||0!=T.length||(e[g]?e[g].resolve(0)[k](a):e[y](a,0))}function r(e){n(),T.push(e)}function o(e){var t=e&&e.rejection;t&&console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t),console.error(e)}function a(){if(!_){for(_=!0;T.length;){var e=T;T=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){o(r)}}}for(;b.length;){var a=b;b=[];for(var t=0;t<a.length;t++){var i=a[t];try{i.zone.runGuarded(function(){throw i})}catch(r){o(r)}}}_=!1,E=!1}}function i(e){return e&&e.then}function c(e){return e}function u(e){return Z.reject(e)}function s(e,t){return function(n){l(e,t,n)}}function l(e,t,r){if(e[S]===P)if(r instanceof Z&&r[S]!==P)f(r),l(e,r[S],r[O]);else if(i(r))r.then(s(e,t),s(e,!1));else{e[S]=t;var o=e[O];e[O]=r;for(var a=0;a<o.length;)p(e,o[a++],o[a++],o[a++],o[a++]);if(0==o.length&&t==j){e[S]=M;try{throw new Error("Uncaught (in promise): "+r)}catch(c){var u=c;u.rejection=r,u.promise=e,u.zone=h.current,u.task=h.currentTask,b.push(u),n()}}}return e}function f(e){if(e[S]===M){e[S]=j;for(var t=0;t<b.length;t++)if(e===b[t].promise){b.splice(t,1);break}}}function p(e,t,n,r,o){f(e);var a=e[S]?r||c:o||u;t.scheduleMicroTask(D,function(){try{l(n,!0,t.run(a,null,[e[O]]))}catch(r){l(n,!1,r)}})}var h=function(){function e(e,t){this._properties=null,this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new d(this,this._parent&&this._parent._zoneDelegate,t)}return Object.defineProperty(e,"current",{get:function(){return m},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return w},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t._properties[e];t=t._parent}},e.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},e.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var e=this._zoneDelegate.intercept(this,e,t),n=this;return function(){return n.runGuarded(e,this,arguments,t)}},e.prototype.run=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=m;m=this;try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{m=o}},e.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r=null);var o=m;m=this;try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{m=o}},e.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone which created it! (Creation: "+e.zone.name+"; Execution: "+this.name+")");var r=w;w=e;var o=m;m=this;try{try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{"macroTask"==e.type&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null),m=o,w=r}},e.prototype.scheduleMicroTask=function(e,t,n,r){return this._zoneDelegate.scheduleTask(this,new v("microTask",this,e,t,n,r,null))},e.prototype.scheduleMacroTask=function(e,t,n,r,o){return this._zoneDelegate.scheduleTask(this,new v("macroTask",this,e,t,n,r,o))},e.prototype.scheduleEventTask=function(e,t,n,r,o){return this._zoneDelegate.scheduleTask(this,new v("eventTask",this,e,t,n,r,o))},e.prototype.cancelTask=function(e){var t=this._zoneDelegate.cancelTask(this,e);return e.cancelFn=null,t},e.__symbol__=t,e}(),d=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._hasTaskZS=n&&(n.onHasTask?n:t._hasTaskZS),this._hasTaskDlgt=n&&(n.onHasTask?t:t._hasTaskDlgt)}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new h(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this.zone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this.zone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this.zone,e,t):!0},e.prototype.scheduleTask=function(e,t){try{if(this._scheduleTaskZS)return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this.zone,e,t);if(t.scheduleFn)t.scheduleFn(t);else{if("microTask"!=t.type)throw new Error("Task is missing scheduleFn.");r(t)}return t}finally{e==this.zone&&this._updateTaskCount(t.type,1)}},e.prototype.invokeTask=function(e,t,n,r){try{return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this.zone,e,t,n,r):t.callback.apply(n,r)}finally{e!=this.zone||"eventTask"==t.type||t.data&&t.data.isPeriodic||this._updateTaskCount(t.type,-1)}},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this.zone,e,t);else{if(!t.cancelFn)throw new Error("Task does not support cancellation, or is already canceled.");n=t.cancelFn(t)}return e==this.zone&&this._updateTaskCount(t.type,-1),n},e.prototype.hasTask=function(e,t){return this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this.zone,e,t)},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(0>o)throw new Error("More tasks executed then were scheduled.");if(0==r||0==o){var a={microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e};try{this.hasTask(this.zone,a)}finally{this._parentDelegate&&this._parentDelegate._updateTaskCount(e,t)}}},e}(),v=function(){function e(e,t,n,r,o,i,c){this.type=e,this.zone=t,this.source=n,this.data=o,this.scheduleFn=i,this.cancelFn=c,this.callback=r;var u=this;this.invoke=function(){try{return t.runTask(u,this,arguments)}finally{a()}}}return e}(),y=t("setTimeout"),g=t("Promise"),k=t("then"),m=new h(null,null),w=null,T=[],_=!1,b=[],E=!1,S=t("state"),O=t("value"),D="Promise.then",P=null,z=!0,j=!1,M=0,Z=function(){function e(e){var t=this;t[S]=P,t[O]=[];try{e&&e(s(t,z),s(t,j))}catch(n){l(t,!1,n)}}return e.resolve=function(e){return l(new this(null),z,e)},e.reject=function(e){return l(new this(null),j,e)},e.race=function(e){function t(e){a&&(a=r(e))}function n(e){a&&(a=o(e))}for(var r,o,a=new this(function(e,t){r=e,o=t}),c=0,u=e;c<u.length;c++){var s=u[c];i(s)||(s=this.resolve(s)),s.then(t,n)}return a},e.all=function(e){function t(e){o&&r(e),o=null}for(var n,r,o=new this(function(e,t){n=e,r=t}),a=[],c=0,u=0,s=e;u<s.length;u++){var l=s[u];i(l)||(l=this.resolve(l)),l.then(function(e){return function(t){a[e]=t,c--,o&&!c&&n(a)}}(c),t),c++}return c||n(a),o},e.prototype.then=function(t,n){var r=new e(null),o=h.current;return this[S]==P?this[O].push(o,r,t,n):p(this,o,r,t,n),r},e.prototype["catch"]=function(e){return this.then(null,e)},e}(),C=e[t("Promise")]=e.Promise;if(e.Promise=Z,C){var I=C.prototype,L=I[t("then")]=I.then;I.then=function(e,t){var n=this;return new Z(function(e,t){L.call(n,e,t)}).then(e,t)}}return e.Zone=h})("undefined"==typeof window?e:window)}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){var t=[],n=e.wtf;n?t=a.split(",").map(function(e){return"HTML"+e+"Element"}).concat(i):e[c]?t.push(c):t=i;for(var r=0;r<t.length;r++){var u=e[t[r]];o.patchEventTargetMethods(u&&u.prototype)}}var o=n(3),a="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",i="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex".split(","),c="EventTarget";t.eventTargetPatch=r},function(e,t){(function(e){"use strict";function n(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=Zone.current.wrap(e[n],t+"_"+n));return e}function r(e,t){for(var r=e.constructor.name,o=0;o<t.length;o++){var a=t[o],i=e[a];i&&(e[a]=function(e){return function(){return e.apply(this,n(arguments,r+"."+a))}}(i))}}function o(e,t){var n=Object.getOwnPropertyDescriptor(e,t)||{enumerable:!0,configurable:!0};delete n.writable,delete n.value;var r=t.substr(2),o="_"+t;n.set=function(e){if(this[o]&&this.removeEventListener(r,this[o]),"function"==typeof e){var t=function(t){var n;n=e.apply(this,arguments),void 0==n||n||t.preventDefault()};this[o]=t,this.addEventListener(r,t,!1)}else this[o]=null},n.get=function(){return this[o]},Object.defineProperty(e,t,n)}function a(e,t){var n=[];for(var r in e)"on"==r.substr(0,2)&&n.push(r);for(var a=0;a<n.length;a++)o(e,n[a]);if(t)for(var i=0;i<t.length;i++)o(e,"on"+t[i])}function i(e,t,n,r,o){var a=e[g];if(a)for(var i=0;i<a.length;i++){var c=a[i],u=c.data;if(u.handler===t&&u.useCapturing===r&&u.eventName===n)return o&&a.splice(i,1),c}return null}function c(e,t){var n=e[g];n||(n=e[g]=[]),n.push(t)}function u(e){var t=e.data;return c(t.target,e),t.target[w](t.eventName,e.invoke,t.useCapturing)}function s(e){var t=e.data;i(t.target,e.invoke,t.eventName,t.useCapturing,!0),t.target[T](t.eventName,e.invoke,t.useCapturing)}function l(e,t){var n=t[0],r=t[1],o=t[2]||!1,a=e||y,c=null;if("function"==typeof r?c=r:r&&r.handleEvent&&(c=function(e){return r.handleEvent(e)}),!c||r&&"[object FunctionWrapper]"===r.toString())return a[w](n,r,o);var l=i(a,r,n,o,!1);if(l)return a[w](n,l.invoke,o);var f=Zone.current,p=a.constructor.name+".addEventListener:"+n,h={target:a,eventName:n,name:n,useCapturing:o,handler:r};f.scheduleEventTask(p,c,h,u,s)}function f(e,t){var n=t[0],r=t[1],o=t[2]||!1,a=e||y,c=i(a,r,n,o,!0);c?c.zone.cancelTask(c):a[T](n,r,o)}function p(e){return e&&e.addEventListener?(v(e,k,function(){return l}),v(e,m,function(){return f}),!0):!1}function h(e){var t=y[e];if(t){y[e]=function(){var r=n(arguments,e);switch(r.length){case 0:this[_]=new t;break;case 1:this[_]=new t(r[0]);break;case 2:this[_]=new t(r[0],r[1]);break;case 3:this[_]=new t(r[0],r[1],r[2]);break;case 4:this[_]=new t(r[0],r[1],r[2],r[3]);break;default:throw new Error("Arg list too long.")}};var r,o=new t(function(){});for(r in o)!function(t){"function"==typeof o[t]?y[e].prototype[t]=function(){return this[_][t].apply(this[_],arguments)}:Object.defineProperty(y[e].prototype,t,{set:function(n){"function"==typeof n?this[_][t]=Zone.current.wrap(n,e+"."+t):this[_][t]=n},get:function(){return this[_][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(y[e][r]=t[r])}}function d(e,t){try{return Function("f","return function "+e+"(){return f(this, arguments)}")(t)}catch(n){return function(){return t(this,arguments)}}}function v(e,n,r){for(var o=e;o&&!o.hasOwnProperty(n);)o=Object.getPrototypeOf(o);!o&&e[n]&&(o=e);var a,i=t.zoneSymbol(n);return o&&!(a=o[i])&&(a=o[i]=o[n],o[n]=d(n,r(a,i,n))),a}t.zoneSymbol=Zone.__symbol__;var y="undefined"==typeof window?e:window;t.bindArguments=n,t.patchPrototype=r,t.isWebWorker="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,t.isNode="undefined"!=typeof process&&"[object process]"==={}.toString.call(process),t.isBrowser=!t.isNode&&!t.isWebWorker&&!(!window||!window.HTMLElement),t.patchProperty=o,t.patchOnProperties=a;var g=t.zoneSymbol("eventTasks"),k="addEventListener",m="removeEventListener",w=t.zoneSymbol(k),T=t.zoneSymbol(m);t.patchEventTargetMethods=p;var _=t.zoneSymbol("originalInstance");t.patchClass=h,t.createNamedFn=d,t.patchMethod=v}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(){Object.defineProperty=function(e,t,n){if(a(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);return"prototype"!==t&&(n=i(e,t,n)),u(e,t,n)},Object.defineProperties=function(e,t){return Object.keys(t).forEach(function(n){Object.defineProperty(e,n,t[n])}),e},Object.create=function(e,t){return"object"==typeof t&&Object.keys(t).forEach(function(n){t[n]=i(e,n,t[n])}),l(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=s(e,t);return a(e,t)&&(n.configurable=!1),n}}function o(e,t,n){return n=i(e,t,n),u(e,t,n)}function a(e,t){return e&&e[f]&&e[f][t]}function i(e,t,n){return n.configurable=!0,n.configurable||(e[f]||u(e,f,{writable:!0,value:{}}),e[f][t]=!0),n}var c=n(3),u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l=Object.create,f=c.zoneSymbol("unconfigurables");t.propertyPatch=r,t._redefineProperty=o},function(e,t,n){"use strict";function r(e){if(a.isBrowser&&"registerElement"in e.document){var t=document.registerElement,n=["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"];document.registerElement=function(e,r){return r&&r.prototype&&n.forEach(function(e){var t="Document.registerElement::"+e;if(r.prototype.hasOwnProperty(e)){var n=Object.getOwnPropertyDescriptor(r.prototype,e);n&&n.value?(n.value=Zone.current.wrap(n.value,t),o._redefineProperty(r.prototype,e,n)):r.prototype[e]=Zone.current.wrap(r.prototype[e],t)}else r.prototype[e]&&(r.prototype[e]=Zone.current.wrap(r.prototype[e],t))}),t.apply(document,[e,r])}}}var o=n(4),a=n(3);t.registerElementPatch=r},function(e,t,n){"use strict";function r(e){if(!c.isNode){var t="undefined"!=typeof WebSocket;o()?(c.isBrowser&&c.patchOnProperties(HTMLElement.prototype,u),c.patchOnProperties(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(c.patchOnProperties(IDBIndex.prototype,null),c.patchOnProperties(IDBRequest.prototype,null),c.patchOnProperties(IDBOpenDBRequest.prototype,null),c.patchOnProperties(IDBDatabase.prototype,null),c.patchOnProperties(IDBTransaction.prototype,null),c.patchOnProperties(IDBCursor.prototype,null)),t&&c.patchOnProperties(WebSocket.prototype,null)):(a(),c.patchClass("XMLHttpRequest"),t&&i.apply(e))}}function o(){if(c.isBrowser&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var e=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(e&&!e.configurable)return!1}Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{get:function(){return!0}});var t=new XMLHttpRequest,n=!!t.onreadystatechange;return Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{}),n}function a(){for(var e=0;e<u.length;e++){var t=u[e],n="on"+t;document.addEventListener(t,function(e){for(var t,r=e.target,o=r.constructor.name+"."+n;r;)r[n]&&!r[n][s]&&(t=Zone.current.wrap(r[n],o),t[s]=r[n],r[n]=t),r=r.parentElement},!0)}}var i=n(7),c=n(3),u="copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror".split(" ");t.propertyDescriptorPatch=r;var s=c.zoneSymbol("unbound")},function(e,t,n){(function(e){"use strict";function r(t){var n=t.WebSocket;t.EventTarget||o.patchEventTargetMethods(n.prototype),t.WebSocket=function(e,t){var r,a=arguments.length>1?new n(e,t):new n(e),i=Object.getOwnPropertyDescriptor(a,"onmessage");return i&&i.configurable===!1?(r=Object.create(a),["addEventListener","removeEventListener","send","close"].forEach(function(e){r[e]=function(){return a[e].apply(a,arguments)}})):r=a,o.patchOnProperties(r,["close","error","message","open"]),r},e.WebSocket.prototype=Object.create(n.prototype,{constructor:{value:WebSocket}})}var o=n(3);t.apply=r}).call(t,function(){return this}())}]),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t){"use strict";!function(){function e(){return new Error("STACKTRACE TRACKING")}function t(){try{throw e()}catch(t){return t}}function n(e){return e.stack?e.stack.split(c):[]}function r(e,t){var r;r=n(t);for(var o=0;o<r.length;o++){var a=r[o];o<s.length&&s[o]===a||e.push(r[o])}}function o(e,t){var n=[t];if(e)for(var o=(new Date).getTime(),a=0;a<e.length;a++){var i=e[a],s=i.timestamp;n.push(u+" Elapsed: "+(o-s.getTime())+" ms; At: "+s+" "+u),r(n,i.error),o=s.getTime()}return n.join(c)}function a(e,t){t>0&&(e.push(n((new f).error)),a(e,t-1))}function i(){var e=[];a(e,2);for(var t=e[0],n=e[1],r=0;r<t.length;r++){var o=t[r],i=n[r];if(o!==i)break;s.push(o)}}var c="\n",u=" ------------- ",s=[],l="__creationTrace__",f=function(){function e(){this.error=d(),this.timestamp=new Date}return e}(),p=e(),h=t(),d=p.stack?e:h.stack?t:e;Zone.longStackTraceZoneSpec={name:"long-stack-trace",longStackTraceLimit:10,onScheduleTask:function(e,t,n,r){var o=Zone.currentTask,a=o&&o.data&&o.data[l]||[];return a=[new f].concat(a),a.length>this.longStackTraceLimit&&(a.length=this.longStackTraceLimit),r.data||(r.data={}),r.data[l]=a,e.scheduleTask(n,r)},onHandleError:function(e,t,n,r){var a=Zone.currentTask;if(r instanceof Error&&a){var i=Object.getOwnPropertyDescriptor(r,"stack");if(i){var c=i.get,u=i.value;i={get:function(){return o(a.data&&a.data[l],c?c.apply(this):u)}},Object.defineProperty(r,"stack",i)}else r.stack=o(a.data&&a.data[l],r.stack)}return e.handleError(n,r)}},i()}()}]);var Reflect;!function(e){function t(e,t,n,r){if(_(r)){if(_(n)){if(!b(e))throw new TypeError;if(!S(t))throw new TypeError;return f(e,t)}if(!b(e))throw new TypeError;if(!E(t))throw new TypeError;return n=D(n),h(e,t,n)}if(!b(e))throw new TypeError;if(!E(t))throw new TypeError;if(_(n))throw new TypeError;if(!E(r))throw new TypeError;return n=D(n),p(e,t,n,r)}function n(e,t){function n(n,r){if(_(r)){if(!S(n))throw new TypeError;m(e,t,n,void 0)}else{if(!E(n))throw new TypeError;r=D(r),m(e,t,n,r)}}return n}function r(e,t,n,r){if(!E(n))throw new TypeError;return _(r)||(r=D(r)),m(e,t,n,r)}function o(e,t,n){if(!E(t))throw new TypeError;return _(n)||(n=D(n)),v(e,t,n)}function a(e,t,n){if(!E(t))throw new TypeError;return _(n)||(n=D(n)),y(e,t,n)}function i(e,t,n){if(!E(t))throw new TypeError;return _(n)||(n=D(n)),g(e,t,n)}function c(e,t,n){if(!E(t))throw new TypeError;return _(n)||(n=D(n)),k(e,t,n)}function u(e,t){if(!E(e))throw new TypeError;return _(t)||(t=D(t)),w(e,t)}function s(e,t){if(!E(e))throw new TypeError;return _(t)||(t=D(t)),T(e,t)}function l(e,t,n){if(!E(t))throw new TypeError;_(n)||(n=D(n));var r=d(t,n,!1);if(_(r))return!1;if(!r["delete"](e))return!1;if(r.size>0)return!0;var o=F.get(t);return o["delete"](n),o.size>0?!0:(F["delete"](t),!0)}function f(e,t){for(var n=e.length-1;n>=0;--n){var r=e[n],o=r(t);if(!_(o)){if(!S(o))throw new TypeError;t=o}}return t}function p(e,t,n,r){for(var o=e.length-1;o>=0;--o){var a=e[o],i=a(t,n,r);if(!_(i)){if(!E(i))throw new TypeError;r=i}}return r}function h(e,t,n){for(var r=e.length-1;r>=0;--r){var o=e[r];o(t,n)}}function d(e,t,n){var r=F.get(e);if(!r){if(!n)return;r=new C,F.set(e,r)}var o=r.get(t);if(!o){if(!n)return;o=new C,r.set(t,o)}return o}function v(e,t,n){var r=y(e,t,n);if(r)return!0;var o=P(t);return null!==o?v(e,o,n):!1}function y(e,t,n){var r=d(t,n,!1);return void 0===r?!1:Boolean(r.has(e))}function g(e,t,n){var r=y(e,t,n);if(r)return k(e,t,n);var o=P(t);return null!==o?g(e,o,n):void 0}function k(e,t,n){var r=d(t,n,!1);if(void 0!==r)return r.get(e)}function m(e,t,n,r){var o=d(n,r,!0);o.set(e,t)}function w(e,t){var n=T(e,t),r=P(e);if(null===r)return n;var o=w(r,t);if(o.length<=0)return n;if(n.length<=0)return o;for(var a=new I,i=[],c=0;c<n.length;c++){var u=n[c],s=a.has(u);s||(a.add(u),i.push(u))}for(var l=0;l<o.length;l++){var u=o[l],s=a.has(u);s||(a.add(u),i.push(u))}return i}function T(e,t){var n=d(e,t,!1),r=[];return n&&n.forEach(function(e,t){return r.push(t)}),r}function _(e){return void 0===e}function b(e){return Array.isArray(e)}function E(e){return"object"==typeof e?null!==e:"function"==typeof e}function S(e){return"function"==typeof e}function O(e){return"symbol"==typeof e}function D(e){return O(e)?e:String(e)}function P(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===Z)return t;if(t!==Z)return t;var n=e.prototype,r=Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var o=r.constructor;return"function"!=typeof o?t:o===e?t:o}function z(){function e(){this._keys=[],this._values=[],this._cache=t}var t={};return e.prototype={get size(){return this._keys.length},has:function(e){return e===this._cache?!0:this._find(e)>=0?(this._cache=e,!0):!1},get:function(e){var t=this._find(e);return t>=0?(this._cache=e,this._values[t]):void 0},set:function(e,t){return this["delete"](e),this._keys.push(e),this._values.push(t),this._cache=e,this},"delete":function(e){var n=this._find(e);return n>=0?(this._keys.splice(n,1),this._values.splice(n,1),this._cache=t,!0):!1},clear:function(){this._keys.length=0,this._values.length=0,this._cache=t},forEach:function(e,t){for(var n=this.size,r=0;n>r;++r){var o=this._keys[r],a=this._values[r];this._cache=o,e.call(this,a,o,this)}},_find:function(e){for(var t=this._keys,n=t.length,r=0;n>r;++r)if(t[r]===e)return r;return-1}},e}function j(){function e(){this._map=new C}return e.prototype={get size(){return this._map.length},has:function(e){return this._map.has(e)},add:function(e){return this._map.set(e,e),this},"delete":function(e){return this._map["delete"](e)},clear:function(){this._map.clear()},forEach:function(e,t){this._map.forEach(e,t)}},e}function M(){function e(){this._key=o()}function t(e,t){for(var n=0;t>n;++n)e[n]=255*Math.random()|0}function n(e){if(u){var n=u.randomBytes(e);return n}if("function"==typeof Uint8Array){var n=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(n):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(n):t(n,e),n}var n=new Array(e);return t(n,e),n}function r(){var e=n(i);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",r=0;i>r;++r){var o=e[r];(4===r||6===r||8===r)&&(t+="-"),16>o&&(t+="0"),t+=o.toString(16).toLowerCase()}return t}function o(){var e;do e="@@WeakMap@@"+r();while(s.call(l,e));return l[e]=!0,e}function a(e,t){if(!s.call(e,f)){if(!t)return;Object.defineProperty(e,f,{value:Object.create(null)})}return e[f]}var i=16,c="undefined"!=typeof global&&"[object process]"===Object.prototype.toString.call(global.process),u=c&&require("crypto"),s=Object.prototype.hasOwnProperty,l={},f=o();return e.prototype={has:function(e){var t=a(e,!1);return t?this._key in t:!1},get:function(e){var t=a(e,!1);return t?t[this._key]:void 0},set:function(e,t){var n=a(e,!0);return n[this._key]=t,this},"delete":function(e){var t=a(e,!1);return t&&this._key in t?delete t[this._key]:!1},clear:function(){this._key=o()}},e}var Z=Object.getPrototypeOf(Function),C="function"==typeof Map?Map:z(),I="function"==typeof Set?Set:j(),L="function"==typeof WeakMap?WeakMap:M(),F=new L;e.decorate=t,e.metadata=n,e.defineMetadata=r,e.hasMetadata=o,e.hasOwnMetadata=a,e.getMetadata=i,e.getOwnMetadata=c,e.getMetadataKeys=u,e.getOwnMetadataKeys=s,e.deleteMetadata=l,function(t){if("undefined"!=typeof t.Reflect){if(t.Reflect!==e)for(var n in e)t.Reflect[n]=e[n]}else t.Reflect=e}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:"undefined"!=typeof global?global:Function("return this;")())}(Reflect||(Reflect={}));