mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 01:23:43 +03:00
2545 lines
1.5 MiB
2545 lines
1.5 MiB
/*eslint no-unused-vars: 0*/
|
||
/*eslint strict: 0*/
|
||
var $buoop = { vs: {i:9, f:25, o:12.1, s:7}, c:2 };
|
||
function $buo_f(){
|
||
var e = document.createElement('script');
|
||
e.src = '//browser-update.org/update.min.js';
|
||
document.body.appendChild(e);
|
||
}
|
||
try {document.addEventListener('DOMContentLoaded', $buo_f, false);}
|
||
catch(e){window['attachEvent']('onload', $buo_f);}
|
||
|
||
!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,exports,t){(function(e){"use strict";function n(e){function t(e){var t=e[v];return t}function n(e){var t=e.data;t.target.addEventListener("readystatechange",function(){t.target.readyState===XMLHttpRequest.DONE&&(t.aborted||e.invoke())});var n=t.target[v];return n||(t.target[v]=e),a.apply(t.target,t.args),e}function r(){}function o(e){var t=e.data;return t.aborted=!0,i.apply(t.target,t.args)}var a=c.patchMethod(e.XMLHttpRequest.prototype,"send",function(){return function(e,t){var a=Zone.current,i={target:e,isPeriodic:!1,delay:null,args:t,aborted:!1};return a.scheduleMacroTask("XMLHttpRequest.send",r,i,n,o)}}),i=c.patchMethod(e.XMLHttpRequest.prototype,"abort",function(e){return function(e,n){var r=t(e);if(r&&"string"==typeof r.type){if(null==r.cancelFn)return;r.zone.cancelTask(r)}}})}t(1);var r=t(2),o=t(4),a=t(5),i=t(6),s=t(8),c=t(3),u="set",l="clear",p=["alert","prompt","confirm"],h="undefined"==typeof window?e:window;s.patchTimer(h,u,l,"Timeout"),s.patchTimer(h,u,l,"Interval"),s.patchTimer(h,u,l,"Immediate"),s.patchTimer(h,"request","cancelMacroTask","AnimationFrame"),s.patchTimer(h,"mozRequest","mozCancel","AnimationFrame"),s.patchTimer(h,"webkitRequest","webkitCancel","AnimationFrame");for(var f=0;f<p.length;f++){var d=p[f];c.patchMethod(h,d,function(e,t,n){return function(t,r){return Zone.current.run(e,h,r,n)}})}r.eventTargetPatch(h),i.propertyDescriptorPatch(h),c.patchClass("MutationObserver"),c.patchClass("WebKitMutationObserver"),c.patchClass("FileReader"),o.propertyPatch(),a.registerElementPatch(h),n(h);var v=c.zoneSymbol("xhrTask");h.navigator&&h.navigator.geolocation&&c.patchPrototype(h.navigator.geolocation,["getCurrentPosition","watchPosition"])}).call(exports,function(){return this}())},function(e,exports){(function(e){(function(e){function t(e){return"__zone_symbol__"+e}function n(){D||T||0!=b.length||(e[y]?e[y].resolve(0)[g](a):e[k](a,0))}function r(e){n(),b.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;b.length;){var e=b;b=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){o(r)}}}for(;w.length;){var a=w;w=[];for(var i=function(e){var t=a[e];try{t.zone.runGuarded(function(){throw t})}catch(n){o(n)}},t=0;t<a.length;t++)i(t)}_=!1,D=!1}}function i(e){return e&&e.then}function s(e){return e}function c(e){return M.reject(e)}function u(e,t){return function(n){l(e,t,n)}}function l(e,t,r){if(e[S]===O)if(r instanceof M&&r[S]!==O)p(r),l(e,r[S],r[E]);else if(i(r))r.then(u(e,t),u(e,!1));else{e[S]=t;var o=e[E];e[E]=r;for(var a=0;a<o.length;)h(e,o[a++],o[a++],o[a++],o[a++]);if(0==o.length&&t==Z){e[S]=C;try{throw new Error("Uncaught (in promise): "+r)}catch(s){var c=s;c.rejection=r,c.promise=e,c.zone=f.current,c.task=f.currentTask,w.push(c),n()}}}return e}function p(e){if(e[S]===C){e[S]=Z;for(var t=0;t<w.length;t++)if(e===w[t].promise){w.splice(t,1);break}}}function h(e,t,n,r,o){p(e);var a=e[S]?r||s:o||c;t.scheduleMicroTask(P,function(){try{l(n,!0,t.run(a,null,[e[E]]))}catch(r){l(n,!1,r)}})}var f=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 T},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 n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,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.runCount++,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=T;T=e;var o=m;m=this;try{"macroTask"==e.type&&e.data&&!e.data.isPeriodic&&(e.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{m=o,T=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.runCount=-1,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 f(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,s){this.runCount=0,this.type=e,this.zone=t,this.source=n,this.data=o,this.scheduleFn=i,this.cancelFn=s,this.callback=r;var c=this;this.invoke=function(){try{return t.runTask(c,this,arguments)}finally{a()}}}return e}(),k=t("setTimeout"),y=t("Promise"),g=t("then"),m=new f(null,null),T=null,b=[],_=!1,w=[],D=!1,S=t("state"),E=t("value"),P="Promise.then",O=null,z=!0,Z=!1,C=0,M=function(){function e(e){var t=this;t[S]=O,t[E]=[];try{e&&e(u(t,z),u(t,Z))}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),Z,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}),s=0,c=e;s<c.length;s++){var u=c[s];i(u)||(u=this.resolve(u)),u.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=0,s=[],c=0,u=e;c<u.length;c++){var l=u[c];i(l)||(l=this.resolve(l)),l.then(function(e){return function(t){s[e]=t,a--,o&&!a&&n(s)}}(a),t),a++}return a||n(s),o},e.prototype.then=function(t,n){var r=new e(null),o=f.current;return this[S]==O?this[E].push(o,r,t,n):h(this,o,r,t,n),r},e.prototype["catch"]=function(e){return this.then(null,e)},e}(),I=e[t("Promise")]=e.Promise;if(e.Promise=M,I){var j=I.prototype,L=j[t("then")]=j.then;j.then=function(e,t){var n=this;return new M(function(e,t){L.call(n,e,t)}).then(e,t)}}return e.Zone=f})("undefined"==typeof window?e:window)}).call(exports,function(){return this}())},function(e,exports,t){"use strict";function n(e){var t=[],n=e.wtf;n?t=o.split(",").map(function(e){return"HTML"+e+"Element"}).concat(a):e[i]?t.push(i):t=a;for(var s=0;s<t.length;s++){var c=e[t[s]];r.patchEventTargetMethods(c&&c.prototype)}}var r=t(3),o="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",a="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(","),i="EventTarget";exports.eventTargetPatch=n},function(e,exports){(function(e){"use strict";function t(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 n(e,n){for(var r=e.constructor.name,o=function(o){var a=n[o],i=e[a];i&&(e[a]=function(e){return function(){return e.apply(this,t(arguments,r+"."+a))}}(i))},a=0;a<n.length;a++)o(a)}function r(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 o(e,t){var n=[];for(var o in e)"on"==o.substr(0,2)&&n.push(o);for(var a=0;a<n.length;a++)r(e,n[a]);if(t)for(var i=0;i<t.length;i++)r(e,"on"+t[i])}function a(e,t,n,r,o){var a=e[k];if(a)for(var i=0;i<a.length;i++){var s=a[i],c=s.data;if(c.handler===t&&c.useCapturing===r&&c.eventName===n)return o&&a.splice(i,1),s}return null}function i(e,t){var n=e[k];n||(n=e[k]=[]),n.push(t)}function s(e){var t=e.data;return i(t.target,e),t.target[m](t.eventName,e.invoke,t.useCapturing)}function c(e){var t=e.data;a(t.target,e.invoke,t.eventName,t.useCapturing,!0),t.target[T](t.eventName,e.invoke,t.useCapturing)}function u(e,t){var n=t[0],r=t[1],o=t[2]||!1,i=e||v,u=null;"function"==typeof r?u=r:r&&r.handleEvent&&(u=function(e){return r.handleEvent(e)});var l=!1;try{l=r&&"[object FunctionWrapper]"===r.toString()}catch(p){return}if(!u||l)return i[m](n,r,o);var h=a(i,r,n,o,!1);if(h)return i[m](n,h.invoke,o);var f=Zone.current,d=i.constructor.name+".addEventListener:"+n,k={target:i,eventName:n,name:n,useCapturing:o,handler:r};f.scheduleEventTask(d,u,k,s,c)}function l(e,t){var n=t[0],r=t[1],o=t[2]||!1,i=e||v,s=a(i,r,n,o,!0);s?s.zone.cancelTask(s):i[T](n,r,o)}function p(e){return e&&e.addEventListener?(d(e,y,function(){return u}),d(e,g,function(){return l}),!0):!1}function h(e){var n=v[e];if(n){v[e]=function(){var r=t(arguments,e);switch(r.length){case 0:this[b]=new n;break;case 1:this[b]=new n(r[0]);break;case 2:this[b]=new n(r[0],r[1]);break;case 3:this[b]=new n(r[0],r[1],r[2]);break;case 4:this[b]=new n(r[0],r[1],r[2],r[3]);break;default:throw new Error("Arg list too long.")}};var r,o=new n(function(){});for(r in o)!function(t){"function"==typeof o[t]?v[e].prototype[t]=function(){return this[b][t].apply(this[b],arguments)}:Object.defineProperty(v[e].prototype,t,{set:function(n){"function"==typeof n?this[b][t]=Zone.current.wrap(n,e+"."+t):this[b][t]=n},get:function(){return this[b][t]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&(v[e][r]=n[r])}}function f(e,t){try{return Function("f","return function "+e+"(){return f(this, arguments)}")(t)}catch(n){return function(){return t(this,arguments)}}}function d(e,t,n){for(var r=e;r&&!r.hasOwnProperty(t);)r=Object.getPrototypeOf(r);!r&&e[t]&&(r=e);var o,a=exports.zoneSymbol(t);return r&&!(o=r[a])&&(o=r[a]=r[t],r[t]=f(t,n(o,a,t))),o}exports.zoneSymbol=Zone.__symbol__;var v="undefined"==typeof window?e:window;exports.bindArguments=t,exports.patchPrototype=n,exports.isWebWorker="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,exports.isNode="undefined"!=typeof process&&"[object process]"==={}.toString.call(process),exports.isBrowser=!exports.isNode&&!exports.isWebWorker&&!("undefined"==typeof window||!window.HTMLElement),exports.patchProperty=r,exports.patchOnProperties=o;var k=exports.zoneSymbol("eventTasks"),y="addEventListener",g="removeEventListener",m=exports.zoneSymbol(y),T=exports.zoneSymbol(g);exports.patchEventTargetMethods=p;var b=exports.zoneSymbol("originalInstance");exports.patchClass=h,exports.createNamedFn=f,exports.patchMethod=d}).call(exports,function(){return this}())},function(e,exports,t){"use strict";function n(){Object.defineProperty=function(e,t,n){if(o(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);return"prototype"!==t&&(n=a(e,t,n)),s(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]=a(e,n,t[n])}),u(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=c(e,t);return o(e,t)&&(n.configurable=!1),n}}function r(e,t,n){return n=a(e,t,n),s(e,t,n)}function o(e,t){return e&&e[l]&&e[l][t]}function a(e,t,n){return n.configurable=!0,n.configurable||(e[l]||s(e,l,{writable:!0,value:{}}),e[l][t]=!0),n}var i=t(3),s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.create,l=i.zoneSymbol("unconfigurables");exports.propertyPatch=n,exports._redefineProperty=r},function(e,exports,t){"use strict";function n(e){if(o.isBrowser&&"registerElement"in e.document){var t=document.registerElement,n=["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"];document.registerElement=function(e,o){return o&&o.prototype&&n.forEach(function(e){var t="Document.registerElement::"+e;if(o.prototype.hasOwnProperty(e)){var n=Object.getOwnPropertyDescriptor(o.prototype,e);n&&n.value?(n.value=Zone.current.wrap(n.value,t),r._redefineProperty(o.prototype,e,n)):o.prototype[e]=Zone.current.wrap(o.prototype[e],t)}else o.prototype[e]&&(o.prototype[e]=Zone.current.wrap(o.prototype[e],t))}),t.apply(document,[e,o])}}}var r=t(4),o=t(3);exports.registerElementPatch=n},function(e,exports,t){"use strict";function n(e){if(!i.isNode){var t="undefined"!=typeof WebSocket;r()?(i.isBrowser&&i.patchOnProperties(HTMLElement.prototype,s),i.patchOnProperties(XMLHttpRequest.prototype,null),"undefined"!=typeof IDBIndex&&(i.patchOnProperties(IDBIndex.prototype,null),i.patchOnProperties(IDBRequest.prototype,null),i.patchOnProperties(IDBOpenDBRequest.prototype,null),i.patchOnProperties(IDBDatabase.prototype,null),i.patchOnProperties(IDBTransaction.prototype,null),i.patchOnProperties(IDBCursor.prototype,null)),t&&i.patchOnProperties(WebSocket.prototype,null)):(o(),i.patchClass("XMLHttpRequest"),t&&a.apply(e))}}function r(){if(i.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 o(){for(var e=function(e){var t=s[e],n="on"+t;document.addEventListener(t,function(e){var t,r,o=e.target;for(r=o?o.constructor.name+"."+n:"unknown."+n;o;)o[n]&&!o[n][c]&&(t=Zone.current.wrap(o[n],r),t[c]=o[n],o[n]=t),o=o.parentElement},!0)},t=0;t<s.length;t++)e(t)}var a=t(7),i=t(3),s="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(" ");exports.propertyDescriptorPatch=n;var c=i.zoneSymbol("unbound")},function(e,exports,t){"use strict";function n(e){var t=e.WebSocket;e.EventTarget||r.patchEventTargetMethods(t.prototype),e.WebSocket=function(e,n){var o,a=arguments.length>1?new t(e,n):new t(e),i=Object.getOwnPropertyDescriptor(a,"onmessage");return i&&i.configurable===!1?(o=Object.create(a),["addEventListener","removeEventListener","send","close"].forEach(function(e){o[e]=function(){return a[e].apply(a,arguments)}})):o=a,r.patchOnProperties(o,["close","error","message","open"]),o};for(var n in t)e.WebSocket[n]=t[n]}var r=t(3);exports.apply=n},function(e,exports,t){"use strict";function n(e,t,n,o){function a(t){var n=t.data;return n.args[0]=t.invoke,n.handleId=s.apply(e,n.args),t}function i(e){return c(e.data.handleId)}var s=null,c=null;t+=o,n+=o,s=r.patchMethod(e,t,function(n){return function(r,s){if("function"==typeof s[0]){var c=Zone.current,u={handleId:null,isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:null,args:s};return c.scheduleMacroTask(t,s[0],u,a,i)}return n.apply(e,s)}}),c=r.patchMethod(e,n,function(t){return function(n,r){var o=r[0];o&&"string"==typeof o.type?(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&o.zone.cancelTask(o):t.apply(e,r)}})}var r=t(3);exports.patchTimer=n}]);
|
||
/*! *****************************************************************************
|
||
Copyright (C) Microsoft. All rights reserved.
|
||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||
this file except in compliance with the License. You may obtain a copy of the
|
||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||
|
||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||
|
||
See the Apache Version 2.0 License for specific language governing permissions
|
||
and limitations under the License.
|
||
***************************************************************************** */
|
||
var Reflect;
|
||
(function (Reflect) {
|
||
"use strict";
|
||
// Load global or shim versions of Map, Set, and WeakMap
|
||
var functionPrototype = Object.getPrototypeOf(Function);
|
||
var _Map = typeof Map === "function" ? Map : CreateMapPolyfill();
|
||
var _Set = typeof Set === "function" ? Set : CreateSetPolyfill();
|
||
var _WeakMap = typeof WeakMap === "function" ? WeakMap : CreateWeakMapPolyfill();
|
||
// [[Metadata]] internal slot
|
||
var __Metadata__ = new _WeakMap();
|
||
/**
|
||
* Applies a set of decorators to a property of a target object.
|
||
* @param decorators An array of decorators.
|
||
* @param target The target object.
|
||
* @param targetKey (Optional) The property key to decorate.
|
||
* @param targetDescriptor (Optional) The property descriptor for the target key
|
||
* @remarks Decorators are applied in reverse order.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* C = Reflect.decorate(decoratorsArray, C);
|
||
*
|
||
* // property (on constructor)
|
||
* Reflect.decorate(decoratorsArray, C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* Reflect.decorate(decoratorsArray, C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* Object.defineProperty(C, "staticMethod",
|
||
* Reflect.decorate(decoratorsArray, C, "staticMethod",
|
||
* Object.getOwnPropertyDescriptor(C, "staticMethod")));
|
||
*
|
||
* // method (on prototype)
|
||
* Object.defineProperty(C.prototype, "method",
|
||
* Reflect.decorate(decoratorsArray, C.prototype, "method",
|
||
* Object.getOwnPropertyDescriptor(C.prototype, "method")));
|
||
*
|
||
*/
|
||
function decorate(decorators, target, targetKey, targetDescriptor) {
|
||
if (!IsUndefined(targetDescriptor)) {
|
||
if (!IsArray(decorators)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (IsUndefined(targetKey)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsObject(targetDescriptor)) {
|
||
throw new TypeError();
|
||
}
|
||
targetKey = ToPropertyKey(targetKey);
|
||
return DecoratePropertyWithDescriptor(decorators, target, targetKey, targetDescriptor);
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
if (!IsArray(decorators)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
targetKey = ToPropertyKey(targetKey);
|
||
return DecoratePropertyWithoutDescriptor(decorators, target, targetKey);
|
||
}
|
||
else {
|
||
if (!IsArray(decorators)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsConstructor(target)) {
|
||
throw new TypeError();
|
||
}
|
||
return DecorateConstructor(decorators, target);
|
||
}
|
||
}
|
||
Reflect.decorate = decorate;
|
||
/**
|
||
* A default metadata decorator factory that can be used on a class, class member, or parameter.
|
||
* @param metadataKey The key for the metadata entry.
|
||
* @param metadataValue The value for the metadata entry.
|
||
* @returns A decorator function.
|
||
* @remarks
|
||
* If `metadataKey` is already defined for the target and target key, the
|
||
* metadataValue for that key will be overwritten.
|
||
* @example
|
||
*
|
||
* // constructor
|
||
* @Reflect.metadata(key, value)
|
||
* class C {
|
||
* }
|
||
*
|
||
* // property (on constructor, TypeScript only)
|
||
* class C {
|
||
* @Reflect.metadata(key, value)
|
||
* static staticProperty;
|
||
* }
|
||
*
|
||
* // property (on prototype, TypeScript only)
|
||
* class C {
|
||
* @Reflect.metadata(key, value)
|
||
* property;
|
||
* }
|
||
*
|
||
* // method (on constructor)
|
||
* class C {
|
||
* @Reflect.metadata(key, value)
|
||
* static staticMethod() { }
|
||
* }
|
||
*
|
||
* // method (on prototype)
|
||
* class C {
|
||
* @Reflect.metadata(key, value)
|
||
* method() { }
|
||
* }
|
||
*
|
||
*/
|
||
function metadata(metadataKey, metadataValue) {
|
||
function decorator(target, targetKey) {
|
||
if (!IsUndefined(targetKey)) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
targetKey = ToPropertyKey(targetKey);
|
||
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);
|
||
}
|
||
else {
|
||
if (!IsConstructor(target)) {
|
||
throw new TypeError();
|
||
}
|
||
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, /*targetKey*/ undefined);
|
||
}
|
||
}
|
||
return decorator;
|
||
}
|
||
Reflect.metadata = metadata;
|
||
/**
|
||
* Define a unique metadata entry on the target.
|
||
* @param metadataKey A key used to store and retrieve metadata.
|
||
* @param metadataValue A value that contains attached metadata.
|
||
* @param target The target object on which to define metadata.
|
||
* @param targetKey (Optional) The property key for the target.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* Reflect.defineMetadata("custom:annotation", options, C);
|
||
*
|
||
* // property (on constructor)
|
||
* Reflect.defineMetadata("custom:annotation", options, C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* Reflect.defineMetadata("custom:annotation", options, C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* Reflect.defineMetadata("custom:annotation", options, C, "staticMethod");
|
||
*
|
||
* // method (on prototype)
|
||
* Reflect.defineMetadata("custom:annotation", options, C.prototype, "method");
|
||
*
|
||
* // decorator factory as metadata-producing annotation.
|
||
* function MyAnnotation(options): Decorator {
|
||
* return (target, key?) => Reflect.defineMetadata("custom:annotation", options, target, key);
|
||
* }
|
||
*
|
||
*/
|
||
function defineMetadata(metadataKey, metadataValue, target, targetKey) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
targetKey = ToPropertyKey(targetKey);
|
||
}
|
||
return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);
|
||
}
|
||
Reflect.defineMetadata = defineMetadata;
|
||
/**
|
||
* Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.
|
||
* @param metadataKey A key used to store and retrieve metadata.
|
||
* @param target The target object on which the metadata is defined.
|
||
* @param targetKey (Optional) The property key for the target.
|
||
* @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* result = Reflect.hasMetadata("custom:annotation", C);
|
||
*
|
||
* // property (on constructor)
|
||
* result = Reflect.hasMetadata("custom:annotation", C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* result = Reflect.hasMetadata("custom:annotation", C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* result = Reflect.hasMetadata("custom:annotation", C, "staticMethod");
|
||
*
|
||
* // method (on prototype)
|
||
* result = Reflect.hasMetadata("custom:annotation", C.prototype, "method");
|
||
*
|
||
*/
|
||
function hasMetadata(metadataKey, target, targetKey) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
targetKey = ToPropertyKey(targetKey);
|
||
}
|
||
return OrdinaryHasMetadata(metadataKey, target, targetKey);
|
||
}
|
||
Reflect.hasMetadata = hasMetadata;
|
||
/**
|
||
* Gets a value indicating whether the target object has the provided metadata key defined.
|
||
* @param metadataKey A key used to store and retrieve metadata.
|
||
* @param target The target object on which the metadata is defined.
|
||
* @param targetKey (Optional) The property key for the target.
|
||
* @returns `true` if the metadata key was defined on the target object; otherwise, `false`.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* result = Reflect.hasOwnMetadata("custom:annotation", C);
|
||
*
|
||
* // property (on constructor)
|
||
* result = Reflect.hasOwnMetadata("custom:annotation", C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* result = Reflect.hasOwnMetadata("custom:annotation", C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* result = Reflect.hasOwnMetadata("custom:annotation", C, "staticMethod");
|
||
*
|
||
* // method (on prototype)
|
||
* result = Reflect.hasOwnMetadata("custom:annotation", C.prototype, "method");
|
||
*
|
||
*/
|
||
function hasOwnMetadata(metadataKey, target, targetKey) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
targetKey = ToPropertyKey(targetKey);
|
||
}
|
||
return OrdinaryHasOwnMetadata(metadataKey, target, targetKey);
|
||
}
|
||
Reflect.hasOwnMetadata = hasOwnMetadata;
|
||
/**
|
||
* Gets the metadata value for the provided metadata key on the target object or its prototype chain.
|
||
* @param metadataKey A key used to store and retrieve metadata.
|
||
* @param target The target object on which the metadata is defined.
|
||
* @param targetKey (Optional) The property key for the target.
|
||
* @returns The metadata value for the metadata key if found; otherwise, `undefined`.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* result = Reflect.getMetadata("custom:annotation", C);
|
||
*
|
||
* // property (on constructor)
|
||
* result = Reflect.getMetadata("custom:annotation", C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* result = Reflect.getMetadata("custom:annotation", C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* result = Reflect.getMetadata("custom:annotation", C, "staticMethod");
|
||
*
|
||
* // method (on prototype)
|
||
* result = Reflect.getMetadata("custom:annotation", C.prototype, "method");
|
||
*
|
||
*/
|
||
function getMetadata(metadataKey, target, targetKey) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
targetKey = ToPropertyKey(targetKey);
|
||
}
|
||
return OrdinaryGetMetadata(metadataKey, target, targetKey);
|
||
}
|
||
Reflect.getMetadata = getMetadata;
|
||
/**
|
||
* Gets the metadata value for the provided metadata key on the target object.
|
||
* @param metadataKey A key used to store and retrieve metadata.
|
||
* @param target The target object on which the metadata is defined.
|
||
* @param targetKey (Optional) The property key for the target.
|
||
* @returns The metadata value for the metadata key if found; otherwise, `undefined`.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* result = Reflect.getOwnMetadata("custom:annotation", C);
|
||
*
|
||
* // property (on constructor)
|
||
* result = Reflect.getOwnMetadata("custom:annotation", C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* result = Reflect.getOwnMetadata("custom:annotation", C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* result = Reflect.getOwnMetadata("custom:annotation", C, "staticMethod");
|
||
*
|
||
* // method (on prototype)
|
||
* result = Reflect.getOwnMetadata("custom:annotation", C.prototype, "method");
|
||
*
|
||
*/
|
||
function getOwnMetadata(metadataKey, target, targetKey) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
targetKey = ToPropertyKey(targetKey);
|
||
}
|
||
return OrdinaryGetOwnMetadata(metadataKey, target, targetKey);
|
||
}
|
||
Reflect.getOwnMetadata = getOwnMetadata;
|
||
/**
|
||
* Gets the metadata keys defined on the target object or its prototype chain.
|
||
* @param target The target object on which the metadata is defined.
|
||
* @param targetKey (Optional) The property key for the target.
|
||
* @returns An array of unique metadata keys.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* result = Reflect.getMetadataKeys(C);
|
||
*
|
||
* // property (on constructor)
|
||
* result = Reflect.getMetadataKeys(C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* result = Reflect.getMetadataKeys(C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* result = Reflect.getMetadataKeys(C, "staticMethod");
|
||
*
|
||
* // method (on prototype)
|
||
* result = Reflect.getMetadataKeys(C.prototype, "method");
|
||
*
|
||
*/
|
||
function getMetadataKeys(target, targetKey) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
targetKey = ToPropertyKey(targetKey);
|
||
}
|
||
return OrdinaryMetadataKeys(target, targetKey);
|
||
}
|
||
Reflect.getMetadataKeys = getMetadataKeys;
|
||
/**
|
||
* Gets the unique metadata keys defined on the target object.
|
||
* @param target The target object on which the metadata is defined.
|
||
* @param targetKey (Optional) The property key for the target.
|
||
* @returns An array of unique metadata keys.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* result = Reflect.getOwnMetadataKeys(C);
|
||
*
|
||
* // property (on constructor)
|
||
* result = Reflect.getOwnMetadataKeys(C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* result = Reflect.getOwnMetadataKeys(C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* result = Reflect.getOwnMetadataKeys(C, "staticMethod");
|
||
*
|
||
* // method (on prototype)
|
||
* result = Reflect.getOwnMetadataKeys(C.prototype, "method");
|
||
*
|
||
*/
|
||
function getOwnMetadataKeys(target, targetKey) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
targetKey = ToPropertyKey(targetKey);
|
||
}
|
||
return OrdinaryOwnMetadataKeys(target, targetKey);
|
||
}
|
||
Reflect.getOwnMetadataKeys = getOwnMetadataKeys;
|
||
/**
|
||
* Deletes the metadata entry from the target object with the provided key.
|
||
* @param metadataKey A key used to store and retrieve metadata.
|
||
* @param target The target object on which the metadata is defined.
|
||
* @param targetKey (Optional) The property key for the target.
|
||
* @returns `true` if the metadata entry was found and deleted; otherwise, false.
|
||
* @example
|
||
*
|
||
* class C {
|
||
* // property declarations are not part of ES6, though they are valid in TypeScript:
|
||
* // static staticProperty;
|
||
* // property;
|
||
*
|
||
* constructor(p) { }
|
||
* static staticMethod(p) { }
|
||
* method(p) { }
|
||
* }
|
||
*
|
||
* // constructor
|
||
* result = Reflect.deleteMetadata("custom:annotation", C);
|
||
*
|
||
* // property (on constructor)
|
||
* result = Reflect.deleteMetadata("custom:annotation", C, "staticProperty");
|
||
*
|
||
* // property (on prototype)
|
||
* result = Reflect.deleteMetadata("custom:annotation", C.prototype, "property");
|
||
*
|
||
* // method (on constructor)
|
||
* result = Reflect.deleteMetadata("custom:annotation", C, "staticMethod");
|
||
*
|
||
* // method (on prototype)
|
||
* result = Reflect.deleteMetadata("custom:annotation", C.prototype, "method");
|
||
*
|
||
*/
|
||
function deleteMetadata(metadataKey, target, targetKey) {
|
||
if (!IsObject(target)) {
|
||
throw new TypeError();
|
||
}
|
||
else if (!IsUndefined(targetKey)) {
|
||
targetKey = ToPropertyKey(targetKey);
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#deletemetadata-metadatakey-p-
|
||
var metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);
|
||
if (IsUndefined(metadataMap)) {
|
||
return false;
|
||
}
|
||
if (!metadataMap.delete(metadataKey)) {
|
||
return false;
|
||
}
|
||
if (metadataMap.size > 0) {
|
||
return true;
|
||
}
|
||
var targetMetadata = __Metadata__.get(target);
|
||
targetMetadata.delete(targetKey);
|
||
if (targetMetadata.size > 0) {
|
||
return true;
|
||
}
|
||
__Metadata__.delete(target);
|
||
return true;
|
||
}
|
||
Reflect.deleteMetadata = deleteMetadata;
|
||
function DecorateConstructor(decorators, target) {
|
||
for (var i = decorators.length - 1; i >= 0; --i) {
|
||
var decorator = decorators[i];
|
||
var decorated = decorator(target);
|
||
if (!IsUndefined(decorated)) {
|
||
if (!IsConstructor(decorated)) {
|
||
throw new TypeError();
|
||
}
|
||
target = decorated;
|
||
}
|
||
}
|
||
return target;
|
||
}
|
||
function DecoratePropertyWithDescriptor(decorators, target, propertyKey, descriptor) {
|
||
for (var i = decorators.length - 1; i >= 0; --i) {
|
||
var decorator = decorators[i];
|
||
var decorated = decorator(target, propertyKey, descriptor);
|
||
if (!IsUndefined(decorated)) {
|
||
if (!IsObject(decorated)) {
|
||
throw new TypeError();
|
||
}
|
||
descriptor = decorated;
|
||
}
|
||
}
|
||
return descriptor;
|
||
}
|
||
function DecoratePropertyWithoutDescriptor(decorators, target, propertyKey) {
|
||
for (var i = decorators.length - 1; i >= 0; --i) {
|
||
var decorator = decorators[i];
|
||
decorator(target, propertyKey);
|
||
}
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#getorcreatemetadatamap--o-p-create-
|
||
function GetOrCreateMetadataMap(target, targetKey, create) {
|
||
var targetMetadata = __Metadata__.get(target);
|
||
if (!targetMetadata) {
|
||
if (!create) {
|
||
return undefined;
|
||
}
|
||
targetMetadata = new _Map();
|
||
__Metadata__.set(target, targetMetadata);
|
||
}
|
||
var keyMetadata = targetMetadata.get(targetKey);
|
||
if (!keyMetadata) {
|
||
if (!create) {
|
||
return undefined;
|
||
}
|
||
keyMetadata = new _Map();
|
||
targetMetadata.set(targetKey, keyMetadata);
|
||
}
|
||
return keyMetadata;
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasmetadata--metadatakey-o-p-
|
||
function OrdinaryHasMetadata(MetadataKey, O, P) {
|
||
var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
|
||
if (hasOwn) {
|
||
return true;
|
||
}
|
||
var parent = GetPrototypeOf(O);
|
||
if (parent !== null) {
|
||
return OrdinaryHasMetadata(MetadataKey, parent, P);
|
||
}
|
||
return false;
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasownmetadata--metadatakey-o-p-
|
||
function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
|
||
var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);
|
||
if (metadataMap === undefined) {
|
||
return false;
|
||
}
|
||
return Boolean(metadataMap.has(MetadataKey));
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetmetadata--metadatakey-o-p-
|
||
function OrdinaryGetMetadata(MetadataKey, O, P) {
|
||
var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
|
||
if (hasOwn) {
|
||
return OrdinaryGetOwnMetadata(MetadataKey, O, P);
|
||
}
|
||
var parent = GetPrototypeOf(O);
|
||
if (parent !== null) {
|
||
return OrdinaryGetMetadata(MetadataKey, parent, P);
|
||
}
|
||
return undefined;
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetownmetadata--metadatakey-o-p-
|
||
function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
|
||
var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);
|
||
if (metadataMap === undefined) {
|
||
return undefined;
|
||
}
|
||
return metadataMap.get(MetadataKey);
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarydefineownmetadata--metadatakey-metadatavalue-o-p-
|
||
function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
|
||
var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ true);
|
||
metadataMap.set(MetadataKey, MetadataValue);
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarymetadatakeys--o-p-
|
||
function OrdinaryMetadataKeys(O, P) {
|
||
var ownKeys = OrdinaryOwnMetadataKeys(O, P);
|
||
var parent = GetPrototypeOf(O);
|
||
if (parent === null) {
|
||
return ownKeys;
|
||
}
|
||
var parentKeys = OrdinaryMetadataKeys(parent, P);
|
||
if (parentKeys.length <= 0) {
|
||
return ownKeys;
|
||
}
|
||
if (ownKeys.length <= 0) {
|
||
return parentKeys;
|
||
}
|
||
var set = new _Set();
|
||
var keys = [];
|
||
for (var _i = 0; _i < ownKeys.length; _i++) {
|
||
var key = ownKeys[_i];
|
||
var hasKey = set.has(key);
|
||
if (!hasKey) {
|
||
set.add(key);
|
||
keys.push(key);
|
||
}
|
||
}
|
||
for (var _a = 0; _a < parentKeys.length; _a++) {
|
||
var key = parentKeys[_a];
|
||
var hasKey = set.has(key);
|
||
if (!hasKey) {
|
||
set.add(key);
|
||
keys.push(key);
|
||
}
|
||
}
|
||
return keys;
|
||
}
|
||
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryownmetadatakeys--o-p-
|
||
function OrdinaryOwnMetadataKeys(target, targetKey) {
|
||
var metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);
|
||
var keys = [];
|
||
if (metadataMap) {
|
||
metadataMap.forEach(function (_, key) { return keys.push(key); });
|
||
}
|
||
return keys;
|
||
}
|
||
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-undefined-type
|
||
function IsUndefined(x) {
|
||
return x === undefined;
|
||
}
|
||
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray
|
||
function IsArray(x) {
|
||
return Array.isArray(x);
|
||
}
|
||
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-type
|
||
function IsObject(x) {
|
||
return typeof x === "object" ? x !== null : typeof x === "function";
|
||
}
|
||
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor
|
||
function IsConstructor(x) {
|
||
return typeof x === "function";
|
||
}
|
||
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-symbol-type
|
||
function IsSymbol(x) {
|
||
return typeof x === "symbol";
|
||
}
|
||
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey
|
||
function ToPropertyKey(value) {
|
||
if (IsSymbol(value)) {
|
||
return value;
|
||
}
|
||
return String(value);
|
||
}
|
||
function GetPrototypeOf(O) {
|
||
var proto = Object.getPrototypeOf(O);
|
||
if (typeof O !== "function" || O === functionPrototype) {
|
||
return proto;
|
||
}
|
||
// TypeScript doesn't set __proto__ in ES5, as it's non-standard.
|
||
// Try to determine the superclass constructor. Compatible implementations
|
||
// must either set __proto__ on a subclass constructor to the superclass constructor,
|
||
// or ensure each class has a valid `constructor` property on its prototype that
|
||
// points back to the constructor.
|
||
// If this is not the same as Function.[[Prototype]], then this is definately inherited.
|
||
// This is the case when in ES6 or when using __proto__ in a compatible browser.
|
||
if (proto !== functionPrototype) {
|
||
return proto;
|
||
}
|
||
// If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.
|
||
var prototype = O.prototype;
|
||
var prototypeProto = Object.getPrototypeOf(prototype);
|
||
if (prototypeProto == null || prototypeProto === Object.prototype) {
|
||
return proto;
|
||
}
|
||
// if the constructor was not a function, then we cannot determine the heritage.
|
||
var constructor = prototypeProto.constructor;
|
||
if (typeof constructor !== "function") {
|
||
return proto;
|
||
}
|
||
// if we have some kind of self-reference, then we cannot determine the heritage.
|
||
if (constructor === O) {
|
||
return proto;
|
||
}
|
||
// we have a pretty good guess at the heritage.
|
||
return constructor;
|
||
}
|
||
// naive Map shim
|
||
function CreateMapPolyfill() {
|
||
var cacheSentinel = {};
|
||
function Map() {
|
||
this._keys = [];
|
||
this._values = [];
|
||
this._cache = cacheSentinel;
|
||
}
|
||
Map.prototype = {
|
||
get size() {
|
||
return this._keys.length;
|
||
},
|
||
has: function (key) {
|
||
if (key === this._cache) {
|
||
return true;
|
||
}
|
||
if (this._find(key) >= 0) {
|
||
this._cache = key;
|
||
return true;
|
||
}
|
||
return false;
|
||
},
|
||
get: function (key) {
|
||
var index = this._find(key);
|
||
if (index >= 0) {
|
||
this._cache = key;
|
||
return this._values[index];
|
||
}
|
||
return undefined;
|
||
},
|
||
set: function (key, value) {
|
||
this.delete(key);
|
||
this._keys.push(key);
|
||
this._values.push(value);
|
||
this._cache = key;
|
||
return this;
|
||
},
|
||
delete: function (key) {
|
||
var index = this._find(key);
|
||
if (index >= 0) {
|
||
this._keys.splice(index, 1);
|
||
this._values.splice(index, 1);
|
||
this._cache = cacheSentinel;
|
||
return true;
|
||
}
|
||
return false;
|
||
},
|
||
clear: function () {
|
||
this._keys.length = 0;
|
||
this._values.length = 0;
|
||
this._cache = cacheSentinel;
|
||
},
|
||
forEach: function (callback, thisArg) {
|
||
var size = this.size;
|
||
for (var i = 0; i < size; ++i) {
|
||
var key = this._keys[i];
|
||
var value = this._values[i];
|
||
this._cache = key;
|
||
callback.call(this, value, key, this);
|
||
}
|
||
},
|
||
_find: function (key) {
|
||
var keys = this._keys;
|
||
var size = keys.length;
|
||
for (var i = 0; i < size; ++i) {
|
||
if (keys[i] === key) {
|
||
return i;
|
||
}
|
||
}
|
||
return -1;
|
||
}
|
||
};
|
||
return Map;
|
||
}
|
||
// naive Set shim
|
||
function CreateSetPolyfill() {
|
||
var cacheSentinel = {};
|
||
function Set() {
|
||
this._map = new _Map();
|
||
}
|
||
Set.prototype = {
|
||
get size() {
|
||
return this._map.length;
|
||
},
|
||
has: function (value) {
|
||
return this._map.has(value);
|
||
},
|
||
add: function (value) {
|
||
this._map.set(value, value);
|
||
return this;
|
||
},
|
||
delete: function (value) {
|
||
return this._map.delete(value);
|
||
},
|
||
clear: function () {
|
||
this._map.clear();
|
||
},
|
||
forEach: function (callback, thisArg) {
|
||
this._map.forEach(callback, thisArg);
|
||
}
|
||
};
|
||
return Set;
|
||
}
|
||
// naive WeakMap shim
|
||
function CreateWeakMapPolyfill() {
|
||
var UUID_SIZE = 16;
|
||
var isNode = typeof global !== "undefined" && Object.prototype.toString.call(global.process) === '[object process]';
|
||
var nodeCrypto = isNode && require("crypto");
|
||
var hasOwn = Object.prototype.hasOwnProperty;
|
||
var keys = {};
|
||
var rootKey = CreateUniqueKey();
|
||
function WeakMap() {
|
||
this._key = CreateUniqueKey();
|
||
}
|
||
WeakMap.prototype = {
|
||
has: function (target) {
|
||
var table = GetOrCreateWeakMapTable(target, /*create*/ false);
|
||
if (table) {
|
||
return this._key in table;
|
||
}
|
||
return false;
|
||
},
|
||
get: function (target) {
|
||
var table = GetOrCreateWeakMapTable(target, /*create*/ false);
|
||
if (table) {
|
||
return table[this._key];
|
||
}
|
||
return undefined;
|
||
},
|
||
set: function (target, value) {
|
||
var table = GetOrCreateWeakMapTable(target, /*create*/ true);
|
||
table[this._key] = value;
|
||
return this;
|
||
},
|
||
delete: function (target) {
|
||
var table = GetOrCreateWeakMapTable(target, /*create*/ false);
|
||
if (table && this._key in table) {
|
||
return delete table[this._key];
|
||
}
|
||
return false;
|
||
},
|
||
clear: function () {
|
||
// NOTE: not a real clear, just makes the previous data unreachable
|
||
this._key = CreateUniqueKey();
|
||
}
|
||
};
|
||
function FillRandomBytes(buffer, size) {
|
||
for (var i = 0; i < size; ++i) {
|
||
buffer[i] = Math.random() * 255 | 0;
|
||
}
|
||
}
|
||
function GenRandomBytes(size) {
|
||
if (nodeCrypto) {
|
||
var data = nodeCrypto.randomBytes(size);
|
||
return data;
|
||
}
|
||
else if (typeof Uint8Array === "function") {
|
||
var data = new Uint8Array(size);
|
||
if (typeof crypto !== "undefined") {
|
||
crypto.getRandomValues(data);
|
||
}
|
||
else if (typeof msCrypto !== "undefined") {
|
||
msCrypto.getRandomValues(data);
|
||
}
|
||
else {
|
||
FillRandomBytes(data, size);
|
||
}
|
||
return data;
|
||
}
|
||
else {
|
||
var data = new Array(size);
|
||
FillRandomBytes(data, size);
|
||
return data;
|
||
}
|
||
}
|
||
function CreateUUID() {
|
||
var data = GenRandomBytes(UUID_SIZE);
|
||
// mark as random - RFC 4122 § 4.4
|
||
data[6] = data[6] & 0x4f | 0x40;
|
||
data[8] = data[8] & 0xbf | 0x80;
|
||
var result = "";
|
||
for (var offset = 0; offset < UUID_SIZE; ++offset) {
|
||
var byte = data[offset];
|
||
if (offset === 4 || offset === 6 || offset === 8) {
|
||
result += "-";
|
||
}
|
||
if (byte < 16) {
|
||
result += "0";
|
||
}
|
||
result += byte.toString(16).toLowerCase();
|
||
}
|
||
return result;
|
||
}
|
||
function CreateUniqueKey() {
|
||
var key;
|
||
do {
|
||
key = "@@WeakMap@@" + CreateUUID();
|
||
} while (hasOwn.call(keys, key));
|
||
keys[key] = true;
|
||
return key;
|
||
}
|
||
function GetOrCreateWeakMapTable(target, create) {
|
||
if (!hasOwn.call(target, rootKey)) {
|
||
if (!create) {
|
||
return undefined;
|
||
}
|
||
Object.defineProperty(target, rootKey, { value: Object.create(null) });
|
||
}
|
||
return target[rootKey];
|
||
}
|
||
return WeakMap;
|
||
}
|
||
// hook global Reflect
|
||
(function (__global) {
|
||
if (typeof __global.Reflect !== "undefined") {
|
||
if (__global.Reflect !== Reflect) {
|
||
for (var p in Reflect) {
|
||
__global.Reflect[p] = Reflect[p];
|
||
}
|
||
}
|
||
}
|
||
else {
|
||
__global.Reflect = Reflect;
|
||
}
|
||
})(typeof window !== "undefined" ? window :
|
||
typeof WorkerGlobalScope !== "undefined" ? self :
|
||
typeof global !== "undefined" ? global :
|
||
Function("return this;")());
|
||
})(Reflect || (Reflect = {}));
|
||
//# sourceMappingURL=Reflect.js.map
|
||
!function e(t,n,r){function s(i,u){if(!n[i]){if(!t[i]){var c="function"==typeof require&&require;if(!u&&c)return c(i,!0);if(o)return o(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var f=n[i]={exports:{}};t[i][0].call(f.exports,function(n){var e=t[i][1][n];return s(e?e:n)},f,f.exports,e,t,n,r)}return n[i].exports}for(var o="function"==typeof require&&require,i=0;i<r.length;i++)s(r[i]);return s}({1:[function(t,n,e){(function(n){"use strict";if(t(189),t(2),n._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");n._babelPolyfill=!0}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{189:189,2:2}],2:[function(t,n,e){n.exports=t(190)},{190:190}],3:[function(t,n,e){n.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],4:[function(t,n,e){var r=t(84)("unscopables"),o=Array.prototype;void 0==o[r]&&t(32)(o,r,{}),n.exports=function(t){o[r][t]=!0}},{32:32,84:84}],5:[function(t,n,e){var r=t(39);n.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},{39:39}],6:[function(t,n,e){"use strict";var r=t(81),o=t(77),i=t(80);n.exports=[].copyWithin||function copyWithin(t,n){var e=r(this),u=i(e.length),c=o(t,u),a=o(n,u),s=arguments,f=s.length>2?s[2]:void 0,l=Math.min((void 0===f?u:o(f,u))-a,u-c),h=1;for(c>a&&a+l>c&&(h=-1,a+=l-1,c+=l-1);l-- >0;)a in e?e[c]=e[a]:delete e[c],c+=h,a+=h;return e}},{77:77,80:80,81:81}],7:[function(t,n,e){"use strict";var r=t(81),o=t(77),i=t(80);n.exports=[].fill||function fill(t){for(var n=r(this),e=i(n.length),u=arguments,c=u.length,a=o(c>1?u[1]:void 0,e),s=c>2?u[2]:void 0,f=void 0===s?e:o(s,e);f>a;)n[a++]=t;return n}},{77:77,80:80,81:81}],8:[function(t,n,e){var r=t(79),o=t(80),i=t(77);n.exports=function(t){return function(n,e,u){var c,a=r(n),s=o(a.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if(c=a[f++],c!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f;return!t&&-1}}},{77:77,79:79,80:80}],9:[function(t,n,e){var r=t(18),o=t(35),i=t(81),u=t(80),c=t(10);n.exports=function(t){var n=1==t,e=2==t,a=3==t,s=4==t,f=6==t,l=5==t||f;return function(h,p,v){for(var g,y,d=i(h),m=o(d),x=r(p,v,3),S=u(m.length),w=0,b=n?c(h,S):e?c(h,0):void 0;S>w;w++)if((l||w in m)&&(g=m[w],y=x(g,w,d),t))if(n)b[w]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:b.push(g)}else if(s)return!1;return f?-1:a||s?s:b}}},{10:10,18:18,35:35,80:80,81:81}],10:[function(t,n,e){var r=t(39),o=t(37),i=t(84)("species");n.exports=function(t,n){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&(e=e[i],null===e&&(e=void 0))),new(void 0===e?Array:e)(n)}},{37:37,39:39,84:84}],11:[function(t,n,e){var r=t(12),o=t(84)("toStringTag"),i="Arguments"==r(function(){return arguments}());n.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=(n=Object(t))[o])?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},{12:12,84:84}],12:[function(t,n,e){var r={}.toString;n.exports=function(t){return r.call(t).slice(8,-1)}},{}],13:[function(t,n,e){"use strict";var r=t(47),o=t(32),i=t(61),u=t(18),c=t(70),a=t(19),s=t(28),f=t(43),l=t(45),h=t(83)("id"),p=t(31),v=t(39),g=t(66),y=t(20),d=Object.isExtensible||v,m=y?"_s":"size",x=0,S=function(t,n){if(!v(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!p(t,h)){if(!d(t))return"F";if(!n)return"E";o(t,h,++x)}return"O"+t[h]},w=function(t,n){var e,r=S(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};n.exports={getConstructor:function(t,n,e,o){var f=t(function(t,i){c(t,f,n),t._i=r.create(null),t._f=void 0,t._l=void 0,t[m]=0,void 0!=i&&s(i,e,t[o],t)});return i(f.prototype,{clear:function clear(){for(var t=this,n=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete n[e.i];t._f=t._l=void 0,t[m]=0},"delete":function(t){var n=this,e=w(n,t);if(e){var r=e.n,o=e.p;delete n._i[e.i],e.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==e&&(n._f=r),n._l==e&&(n._l=o),n[m]--}return!!e},forEach:function forEach(t){for(var n,e=u(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(e(n.v,n.k,this);n&&n.r;)n=n.p},has:function has(t){return!!w(this,t)}}),y&&r.setDesc(f.prototype,"size",{get:function(){return a(this[m])}}),f},def:function(t,n,e){var r,o,i=w(t,n);return i?i.v=e:(t._l=i={i:o=S(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=i),r&&(r.n=i),t[m]++,"F"!==o&&(t._i[o]=i)),t},getEntry:w,setStrong:function(t,n,e){f(t,n,function(t,n){this._t=t,this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,e=t._l;e&&e.r;)e=e.p;return t._t&&(t._l=e=e?e.n:t._t._f)?"keys"==n?l(0,e.k):"values"==n?l(0,e.v):l(0,[e.k,e.v]):(t._t=void 0,l(1))},e?"entries":"values",!e,!0),g(n)}}},{18:18,19:19,20:20,28:28,31:31,32:32,39:39,43:43,45:45,47:47,61:61,66:66,70:70,83:83}],14:[function(t,n,e){var r=t(28),o=t(11);n.exports=function(t){return function toJSON(){if(o(this)!=t)throw TypeError(t+"#toJSON isn't generic");var n=[];return r(this,!1,n.push,n),n}}},{11:11,28:28}],15:[function(t,n,e){"use strict";var r=t(32),o=t(61),i=t(5),u=t(39),c=t(70),a=t(28),s=t(9),f=t(31),l=t(83)("weak"),h=Object.isExtensible||u,p=s(5),v=s(6),g=0,y=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},m=function(t,n){return p(t.a,function(t){return t[0]===n})};d.prototype={get:function(t){var n=m(this,t);return n?n[1]:void 0},has:function(t){return!!m(this,t)},set:function(t,n){var e=m(this,t);e?e[1]=n:this.a.push([t,n])},"delete":function(t){var n=v(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},n.exports={getConstructor:function(t,n,e,r){var i=t(function(t,o){c(t,i,n),t._i=g++,t._l=void 0,void 0!=o&&a(o,e,t[r],t)});return o(i.prototype,{"delete":function(t){return u(t)?h(t)?f(t,l)&&f(t[l],this._i)&&delete t[l][this._i]:y(this)["delete"](t):!1},has:function has(t){return u(t)?h(t)?f(t,l)&&f(t[l],this._i):y(this).has(t):!1}}),i},def:function(t,n,e){return h(i(n))?(f(n,l)||r(n,l,{}),n[l][t._i]=e):y(t).set(n,e),t},frozenStore:y,WEAK:l}},{28:28,31:31,32:32,39:39,5:5,61:61,70:70,83:83,9:9}],16:[function(t,n,e){"use strict";var r=t(30),o=t(23),i=t(62),u=t(61),c=t(28),a=t(70),s=t(39),f=t(25),l=t(44),h=t(67);n.exports=function(t,n,e,p,v,g){var y=r[t],d=y,m=v?"set":"add",x=d&&d.prototype,S={},w=function(t){var n=x[t];i(x,t,"delete"==t?function(t){return g&&!s(t)?!1:n.call(this,0===t?0:t)}:"has"==t?function has(t){return g&&!s(t)?!1:n.call(this,0===t?0:t)}:"get"==t?function get(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function add(t){return n.call(this,0===t?0:t),this}:function set(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof d&&(g||x.forEach&&!f(function(){(new d).entries().next()}))){var b,E=new d,O=E[m](g?{}:-0,1)!=E,P=f(function(){E.has(1)}),_=l(function(t){new d(t)});_||(d=n(function(n,e){a(n,d,t);var r=new y;return void 0!=e&&c(e,v,r[m],r),r}),d.prototype=x,x.constructor=d),g||E.forEach(function(t,n){b=1/n===-(1/0)}),(P||b)&&(w("delete"),w("has"),v&&w("get")),(b||O)&&w(m),g&&x.clear&&delete x.clear}else d=p.getConstructor(n,t,v,m),u(d.prototype,e);return h(d,t),S[t]=d,o(o.G+o.W+o.F*(d!=y),S),g||p.setStrong(d,t,v),d}},{23:23,25:25,28:28,30:30,39:39,44:44,61:61,62:62,67:67,70:70}],17:[function(t,n,e){var r=n.exports={version:"1.2.6"};"number"==typeof __e&&(__e=r)},{}],18:[function(t,n,e){var r=t(3);n.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},{3:3}],19:[function(t,n,e){n.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],20:[function(t,n,e){n.exports=!t(25)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{25:25}],21:[function(t,n,e){var r=t(39),o=t(30).document,i=r(o)&&r(o.createElement);n.exports=function(t){return i?o.createElement(t):{}}},{30:30,39:39}],22:[function(t,n,e){var r=t(47);n.exports=function(t){var n=r.getKeys(t),e=r.getSymbols;if(e)for(var o,i=e(t),u=r.isEnum,c=0;i.length>c;)u.call(t,o=i[c++])&&n.push(o);return n}},{47:47}],23:[function(t,n,e){var r=t(30),o=t(17),i=t(32),u=t(62),c=t(18),a="prototype",s=function(t,n,e){var f,l,h,p,v=t&s.F,g=t&s.G,y=t&s.S,d=t&s.P,m=t&s.B,x=g?r:y?r[n]||(r[n]={}):(r[n]||{})[a],S=g?o:o[n]||(o[n]={}),w=S[a]||(S[a]={});g&&(e=n);for(f in e)l=!v&&x&&f in x,h=(l?x:e)[f],p=m&&l?c(h,r):d&&"function"==typeof h?c(Function.call,h):h,x&&!l&&u(x,f,h),S[f]!=h&&i(S,f,p),d&&w[f]!=h&&(w[f]=h)};r.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,n.exports=s},{17:17,18:18,30:30,32:32,62:62}],24:[function(t,n,e){var r=t(84)("match");n.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,!"/./"[t](n)}catch(o){}}return!0}},{84:84}],25:[function(t,n,e){n.exports=function(t){try{return!!t()}catch(n){return!0}}},{}],26:[function(t,n,e){"use strict";var r=t(32),o=t(62),i=t(25),u=t(19),c=t(84);n.exports=function(t,n,e){var a=c(t),s=""[t];i(function(){var n={};return n[a]=function(){return 7},7!=""[t](n)})&&(o(String.prototype,t,e(u,a,s)),r(RegExp.prototype,a,2==n?function(t,n){return s.call(t,this,n)}:function(t){return s.call(t,this)}))}},{19:19,25:25,32:32,62:62,84:84}],27:[function(t,n,e){"use strict";var r=t(5);n.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},{5:5}],28:[function(t,n,e){var r=t(18),o=t(41),i=t(36),u=t(5),c=t(80),a=t(85);n.exports=function(t,n,e,s){var f,l,h,p=a(t),v=r(e,s,n?2:1),g=0;if("function"!=typeof p)throw TypeError(t+" is not iterable!");if(i(p))for(f=c(t.length);f>g;g++)n?v(u(l=t[g])[0],l[1]):v(t[g]);else for(h=p.call(t);!(l=h.next()).done;)o(h,v,l.value,n)}},{18:18,36:36,41:41,5:5,80:80,85:85}],29:[function(t,n,e){var r=t(79),o=t(47).getNames,i={}.toString,u="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return o(t)}catch(n){return u.slice()}};n.exports.get=function getOwnPropertyNames(t){return u&&"[object Window]"==i.call(t)?c(t):o(r(t))}},{47:47,79:79}],30:[function(t,n,e){var r=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],31:[function(t,n,e){var r={}.hasOwnProperty;n.exports=function(t,n){return r.call(t,n)}},{}],32:[function(t,n,e){var r=t(47),o=t(60);n.exports=t(20)?function(t,n,e){return r.setDesc(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},{20:20,47:47,60:60}],33:[function(t,n,e){n.exports=t(30).document&&document.documentElement},{30:30}],34:[function(t,n,e){n.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},{}],35:[function(t,n,e){var r=t(12);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},{12:12}],36:[function(t,n,e){var r=t(46),o=t(84)("iterator"),i=Array.prototype;n.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},{46:46,84:84}],37:[function(t,n,e){var r=t(12);n.exports=Array.isArray||function(t){return"Array"==r(t)}},{12:12}],38:[function(t,n,e){var r=t(39),o=Math.floor;n.exports=function isInteger(t){return!r(t)&&isFinite(t)&&o(t)===t}},{39:39}],39:[function(t,n,e){n.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],40:[function(t,n,e){var r=t(39),o=t(12),i=t(84)("match");n.exports=function(t){var n;return r(t)&&(void 0!==(n=t[i])?!!n:"RegExp"==o(t))}},{12:12,39:39,84:84}],41:[function(t,n,e){var r=t(5);n.exports=function(t,n,e,o){try{return o?n(r(e)[0],e[1]):n(e)}catch(i){var u=t["return"];throw void 0!==u&&r(u.call(t)),i}}},{5:5}],42:[function(t,n,e){"use strict";var r=t(47),o=t(60),i=t(67),u={};t(32)(u,t(84)("iterator"),function(){return this}),n.exports=function(t,n,e){t.prototype=r.create(u,{next:o(1,e)}),i(t,n+" Iterator")}},{32:32,47:47,60:60,67:67,84:84}],43:[function(t,n,e){"use strict";var r=t(49),o=t(23),i=t(62),u=t(32),c=t(31),a=t(46),s=t(42),f=t(67),l=t(47).getProto,h=t(84)("iterator"),p=!([].keys&&"next"in[].keys()),v="@@iterator",g="keys",y="values",d=function(){return this};n.exports=function(t,n,e,m,x,S,w){s(e,n,m);var b,E,O=function(t){if(!p&&t in F)return F[t];switch(t){case g:return function keys(){return new e(this,t)};case y:return function values(){return new e(this,t)}}return function entries(){return new e(this,t)}},P=n+" Iterator",_=x==y,M=!1,F=t.prototype,A=F[h]||F[v]||x&&F[x],j=A||O(x);if(A){var N=l(j.call(new t));f(N,P,!0),!r&&c(F,v)&&u(N,h,d),_&&A.name!==y&&(M=!0,j=function values(){return A.call(this)})}if(r&&!w||!p&&!M&&F[h]||u(F,h,j),a[n]=j,a[P]=d,x)if(b={values:_?j:O(y),keys:S?j:O(g),entries:_?O("entries"):j},w)for(E in b)E in F||i(F,E,b[E]);else o(o.P+o.F*(p||M),n,b);return b}},{23:23,31:31,32:32,42:42,46:46,47:47,49:49,62:62,67:67,84:84}],44:[function(t,n,e){var r=t(84)("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(u){}n.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i=[7],u=i[r]();u.next=function(){e=!0},i[r]=function(){return u},t(i)}catch(c){}return e}},{84:84}],45:[function(t,n,e){n.exports=function(t,n){return{value:n,done:!!t}}},{}],46:[function(t,n,e){n.exports={}},{}],47:[function(t,n,e){var r=Object;n.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach}},{}],48:[function(t,n,e){var r=t(47),o=t(79);n.exports=function(t,n){for(var e,i=o(t),u=r.getKeys(i),c=u.length,a=0;c>a;)if(i[e=u[a++]]===n)return e}},{47:47,79:79}],49:[function(t,n,e){n.exports=!1},{}],50:[function(t,n,e){n.exports=Math.expm1||function expm1(t){return 0==(t=+t)?t:t>-1e-6&&1e-6>t?t+t*t/2:Math.exp(t)-1}},{}],51:[function(t,n,e){n.exports=Math.log1p||function log1p(t){return(t=+t)>-1e-8&&1e-8>t?t-t*t/2:Math.log(1+t)}},{}],52:[function(t,n,e){n.exports=Math.sign||function sign(t){return 0==(t=+t)||t!=t?t:0>t?-1:1}},{}],53:[function(t,n,e){var r,o,i,u=t(30),c=t(76).set,a=u.MutationObserver||u.WebKitMutationObserver,s=u.process,f=u.Promise,l="process"==t(12)(s),h=function(){var t,n,e;for(l&&(t=s.domain)&&(s.domain=null,t.exit());r;)n=r.domain,e=r.fn,n&&n.enter(),e(),n&&n.exit(),r=r.next;o=void 0,t&&t.enter()};if(l)i=function(){s.nextTick(h)};else if(a){var p=1,v=document.createTextNode("");new a(h).observe(v,{characterData:!0}),i=function(){v.data=p=-p}}else i=f&&f.resolve?function(){f.resolve().then(h)}:function(){c.call(u,h)};n.exports=function asap(t){var n={fn:t,next:void 0,domain:l&&s.domain};o&&(o.next=n),r||(r=n,i()),o=n}},{12:12,30:30,76:76}],54:[function(t,n,e){var r=t(47),o=t(81),i=t(35);n.exports=t(25)(function(){var t=Object.assign,n={},e={},r=Symbol(),o="abcdefghijklmnopqrst";return n[r]=7,o.split("").forEach(function(t){e[t]=t}),7!=t({},n)[r]||Object.keys(t({},e)).join("")!=o})?function assign(t,n){for(var e=o(t),u=arguments,c=u.length,a=1,s=r.getKeys,f=r.getSymbols,l=r.isEnum;c>a;)for(var h,p=i(u[a++]),v=f?s(p).concat(f(p)):s(p),g=v.length,y=0;g>y;)l.call(p,h=v[y++])&&(e[h]=p[h]);return e}:Object.assign},{25:25,35:35,47:47,81:81}],55:[function(t,n,e){var r=t(23),o=t(17),i=t(25);n.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},{17:17,23:23,25:25}],56:[function(t,n,e){var r=t(47),o=t(79),i=r.isEnum;n.exports=function(t){return function(n){for(var e,u=o(n),c=r.getKeys(u),a=c.length,s=0,f=[];a>s;)i.call(u,e=c[s++])&&f.push(t?[e,u[e]]:u[e]);return f}}},{47:47,79:79}],57:[function(t,n,e){var r=t(47),o=t(5),i=t(30).Reflect;n.exports=i&&i.ownKeys||function ownKeys(t){var n=r.getNames(o(t)),e=r.getSymbols;return e?n.concat(e(t)):n}},{30:30,47:47,5:5}],58:[function(t,n,e){"use strict";var r=t(59),o=t(34),i=t(3);n.exports=function(){for(var t=i(this),n=arguments.length,e=Array(n),u=0,c=r._,a=!1;n>u;)(e[u]=arguments[u++])===c&&(a=!0);return function(){var r,i=this,u=arguments,s=u.length,f=0,l=0;if(!a&&!s)return o(t,e,i);if(r=e.slice(),a)for(;n>f;f++)r[f]===c&&(r[f]=u[l++]);for(;s>l;)r.push(u[l++]);return o(t,r,i)}}},{3:3,34:34,59:59}],59:[function(t,n,e){n.exports=t(30)},{30:30}],60:[function(t,n,e){n.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},{}],61:[function(t,n,e){var r=t(62);n.exports=function(t,n){for(var e in n)r(t,e,n[e]);return t}},{62:62}],62:[function(t,n,e){var r=t(30),o=t(32),i=t(83)("src"),u="toString",c=Function[u],a=(""+c).split(u);t(17).inspectSource=function(t){return c.call(t)},(n.exports=function(t,n,e,u){"function"==typeof e&&(e.hasOwnProperty(i)||o(e,i,t[n]?""+t[n]:a.join(String(n))),e.hasOwnProperty("name")||o(e,"name",n)),t===r?t[n]=e:(u||delete t[n],o(t,n,e))})(Function.prototype,u,function toString(){return"function"==typeof this&&this[i]||c.call(this)})},{17:17,30:30,32:32,83:83}],63:[function(t,n,e){n.exports=function(t,n){var e=n===Object(n)?function(t){return n[t]}:n;return function(n){return String(n).replace(t,e)}}},{}],64:[function(t,n,e){n.exports=Object.is||function is(t,n){return t===n?0!==t||1/t===1/n:t!=t&&n!=n}},{}],65:[function(t,n,e){var r=t(47).getDesc,o=t(39),i=t(5),u=function(t,n){if(i(t),!o(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};n.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(n,e,o){try{o=t(18)(Function.call,r(Object.prototype,"__proto__").set,2),o(n,[]),e=!(n instanceof Array)}catch(i){e=!0}return function setPrototypeOf(t,n){return u(t,n),e?t.__proto__=n:o(t,n),t}}({},!1):void 0),check:u}},{18:18,39:39,47:47,5:5}],66:[function(t,n,e){"use strict";var r=t(30),o=t(47),i=t(20),u=t(84)("species");n.exports=function(t){var n=r[t];i&&n&&!n[u]&&o.setDesc(n,u,{configurable:!0,get:function(){return this}})}},{20:20,30:30,47:47,84:84}],67:[function(t,n,e){var r=t(47).setDesc,o=t(31),i=t(84)("toStringTag");n.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},{31:31,47:47,84:84}],68:[function(t,n,e){var r=t(30),o="__core-js_shared__",i=r[o]||(r[o]={});n.exports=function(t){return i[t]||(i[t]={})}},{30:30}],69:[function(t,n,e){var r=t(5),o=t(3),i=t(84)("species");n.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||void 0==(e=r(u)[i])?n:o(e)}},{3:3,5:5,84:84}],70:[function(t,n,e){n.exports=function(t,n,e){if(!(t instanceof n))throw TypeError(e+": use the 'new' operator!");return t}},{}],71:[function(t,n,e){var r=t(78),o=t(19);n.exports=function(t){return function(n,e){var i,u,c=String(o(n)),a=r(e),s=c.length;return 0>a||a>=s?t?"":void 0:(i=c.charCodeAt(a),55296>i||i>56319||a+1===s||(u=c.charCodeAt(a+1))<56320||u>57343?t?c.charAt(a):i:t?c.slice(a,a+2):(i-55296<<10)+(u-56320)+65536)}}},{19:19,78:78}],72:[function(t,n,e){var r=t(40),o=t(19);n.exports=function(t,n,e){if(r(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(o(t))}},{19:19,40:40}],73:[function(t,n,e){var r=t(80),o=t(74),i=t(19);n.exports=function(t,n,e,u){var c=String(i(t)),a=c.length,s=void 0===e?" ":String(e),f=r(n);if(a>=f)return c;""==s&&(s=" ");var l=f-a,h=o.call(s,Math.ceil(l/s.length));return h.length>l&&(h=h.slice(0,l)),u?h+c:c+h}},{19:19,74:74,80:80}],74:[function(t,n,e){"use strict";var r=t(78),o=t(19);n.exports=function repeat(t){var n=String(o(this)),e="",i=r(t);if(0>i||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(n+=n))1&i&&(e+=n);return e}},{19:19,78:78}],75:[function(t,n,e){var r=t(23),o=t(19),i=t(25),u=" \n\x0B\f\r \u2028\u2029\ufeff",c="["+u+"]",a="
",s=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),l=function(t,n){var e={};e[t]=n(h),r(r.P+r.F*i(function(){return!!u[t]()||a[t]()!=a}),"String",e)},h=l.trim=function(t,n){return t=String(o(t)),1&n&&(t=t.replace(s,"")),2&n&&(t=t.replace(f,"")),t};n.exports=l},{19:19,23:23,25:25}],76:[function(t,n,e){var r,o,i,u=t(18),c=t(34),a=t(33),s=t(21),f=t(30),l=f.process,h=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,g=0,y={},d="onreadystatechange",m=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},x=function(t){m.call(t.data)};h&&p||(h=function setImmediate(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++g]=function(){c("function"==typeof t?t:Function(t),n)},r(g),g},p=function clearImmediate(t){delete y[t]},"process"==t(12)(l)?r=function(t){l.nextTick(u(m,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=x,r=u(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):r=d in s("script")?function(t){a.appendChild(s("script"))[d]=function(){a.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),n.exports={set:h,clear:p}},{12:12,18:18,21:21,30:30,33:33,34:34}],77:[function(t,n,e){var r=t(78),o=Math.max,i=Math.min;n.exports=function(t,n){return t=r(t),0>t?o(t+n,0):i(t,n)}},{78:78}],78:[function(t,n,e){var r=Math.ceil,o=Math.floor;n.exports=function(t){return isNaN(t=+t)?0:(t>0?o:r)(t)}},{}],79:[function(t,n,e){var r=t(35),o=t(19);n.exports=function(t){return r(o(t))}},{19:19,35:35}],80:[function(t,n,e){var r=t(78),o=Math.min;n.exports=function(t){return t>0?o(r(t),9007199254740991):0}},{78:78}],81:[function(t,n,e){var r=t(19);n.exports=function(t){return Object(r(t))}},{19:19}],82:[function(t,n,e){var r=t(39);n.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},{39:39}],83:[function(t,n,e){var r=0,o=Math.random();n.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+o).toString(36))}},{}],84:[function(t,n,e){var r=t(68)("wks"),o=t(83),i=t(30).Symbol;n.exports=function(t){return r[t]||(r[t]=i&&i[t]||(i||o)("Symbol."+t))}},{30:30,68:68,83:83}],85:[function(t,n,e){var r=t(11),o=t(84)("iterator"),i=t(46);n.exports=t(17).getIteratorMethod=function(t){return void 0!=t?t[o]||t["@@iterator"]||i[r(t)]:void 0}},{11:11,17:17,46:46,84:84}],86:[function(t,n,e){"use strict";var r,o=t(47),i=t(23),u=t(20),c=t(60),a=t(33),s=t(21),f=t(31),l=t(12),h=t(34),p=t(25),v=t(5),g=t(3),y=t(39),d=t(81),m=t(79),x=t(78),S=t(77),w=t(80),b=t(35),E=t(83)("__proto__"),O=t(9),P=t(8)(!1),_=Object.prototype,M=Array.prototype,F=M.slice,A=M.join,j=o.setDesc,N=o.getDesc,I=o.setDescs,k={};u||(r=!p(function(){return 7!=j(s("div"),"a",{get:function(){return 7}}).a}),o.setDesc=function(t,n,e){if(r)try{return j(t,n,e)}catch(o){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(v(t)[n]=e.value),t},o.getDesc=function(t,n){if(r)try{return N(t,n)}catch(e){}return f(t,n)?c(!_.propertyIsEnumerable.call(t,n),t[n]):void 0},o.setDescs=I=function(t,n){v(t);for(var e,r=o.getKeys(n),i=r.length,u=0;i>u;)o.setDesc(t,e=r[u++],n[e]);return t}),i(i.S+i.F*!u,"Object",{getOwnPropertyDescriptor:o.getDesc,defineProperty:o.setDesc,defineProperties:I});var D="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),T=D.concat("length","prototype"),L=D.length,R=function(){var t,n=s("iframe"),e=L,r=">";for(n.style.display="none",a.appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object</script"+r),t.close(),R=t.F;e--;)delete R.prototype[D[e]];return R()},C=function(t,n){return function(e){var r,o=m(e),i=0,u=[];for(r in o)r!=E&&f(o,r)&&u.push(r);for(;n>i;)f(o,r=t[i++])&&(~P(u,r)||u.push(r));return u}},G=function(){};i(i.S,"Object",{getPrototypeOf:o.getProto=o.getProto||function(t){return t=d(t),f(t,E)?t[E]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?_:null},getOwnPropertyNames:o.getNames=o.getNames||C(T,T.length,!0),create:o.create=o.create||function(t,n){var e;return null!==t?(G.prototype=v(t),e=new G,G.prototype=null,e[E]=t):e=R(),void 0===n?e:I(e,n)},keys:o.getKeys=o.getKeys||C(D,L,!1)});var W=function(t,n,e){if(!(n in k)){for(var r=[],o=0;n>o;o++)r[o]="a["+o+"]";k[n]=Function("F,a","return new F("+r.join(",")+")")}return k[n](t,e)};i(i.P,"Function",{bind:function bind(t){var n=g(this),e=F.call(arguments,1),r=function(){var o=e.concat(F.call(arguments));return this instanceof r?W(n,o.length,o):h(n,o,t)};return y(n.prototype)&&(r.prototype=n.prototype),r}}),i(i.P+i.F*p(function(){a&&F.call(a)}),"Array",{slice:function(t,n){var e=w(this.length),r=l(this);if(n=void 0===n?e:n,"Array"==r)return F.call(this,t,n);for(var o=S(t,e),i=S(n,e),u=w(i-o),c=Array(u),a=0;u>a;a++)c[a]="String"==r?this.charAt(o+a):this[o+a];return c}}),i(i.P+i.F*(b!=Object),"Array",{join:function join(t){return A.call(b(this),void 0===t?",":t)}}),i(i.S,"Array",{isArray:t(37)});var z=function(t){return function(n,e){g(n);var r=b(this),o=w(r.length),i=t?o-1:0,u=t?-1:1;if(arguments.length<2)for(;;){if(i in r){e=r[i],i+=u;break}if(i+=u,t?0>i:i>=o)throw TypeError("Reduce of empty array with no initial value")}for(;t?i>=0:o>i;i+=u)i in r&&(e=n(e,r[i],i,this));return e}},K=function(t){return function(n){return t(this,n,arguments[1])}};i(i.P,"Array",{forEach:o.each=o.each||K(O(0)),map:K(O(1)),filter:K(O(2)),some:K(O(3)),every:K(O(4)),reduce:z(!1),reduceRight:z(!0),indexOf:K(P),lastIndexOf:function(t,n){var e=m(this),r=w(e.length),o=r-1;for(arguments.length>1&&(o=Math.min(o,x(n))),0>o&&(o=w(r+o));o>=0;o--)if(o in e&&e[o]===t)return o;return-1}}),i(i.S,"Date",{now:function(){return+new Date}});var U=function(t){return t>9?t:"0"+t};i(i.P+i.F*(p(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!p(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function toISOString(){if(!isFinite(this))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=0>n?"-":n>9999?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+U(t.getUTCMonth()+1)+"-"+U(t.getUTCDate())+"T"+U(t.getUTCHours())+":"+U(t.getUTCMinutes())+":"+U(t.getUTCSeconds())+"."+(e>99?e:"0"+U(e))+"Z"}})},{12:12,20:20,21:21,23:23,25:25,3:3,31:31,33:33,34:34,35:35,37:37,39:39,47:47,5:5,60:60,77:77,78:78,79:79,8:8,80:80,81:81,83:83,9:9}],87:[function(t,n,e){var r=t(23);r(r.P,"Array",{copyWithin:t(6)}),t(4)("copyWithin")},{23:23,4:4,6:6}],88:[function(t,n,e){var r=t(23);r(r.P,"Array",{fill:t(7)}),t(4)("fill")},{23:23,4:4,7:7}],89:[function(t,n,e){"use strict";var r=t(23),o=t(9)(6),i="findIndex",u=!0;i in[]&&Array(1)[i](function(){u=!1}),r(r.P+r.F*u,"Array",{findIndex:function findIndex(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t(4)(i)},{23:23,4:4,9:9}],90:[function(t,n,e){"use strict";var r=t(23),o=t(9)(5),i="find",u=!0;i in[]&&Array(1)[i](function(){u=!1}),r(r.P+r.F*u,"Array",{find:function find(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t(4)(i)},{23:23,4:4,9:9}],91:[function(t,n,e){"use strict";var r=t(18),o=t(23),i=t(81),u=t(41),c=t(36),a=t(80),s=t(85);o(o.S+o.F*!t(44)(function(t){Array.from(t)}),"Array",{from:function from(t){var n,e,o,f,l=i(t),h="function"==typeof this?this:Array,p=arguments,v=p.length,g=v>1?p[1]:void 0,y=void 0!==g,d=0,m=s(l);if(y&&(g=r(g,v>2?p[2]:void 0,2)),void 0==m||h==Array&&c(m))for(n=a(l.length),e=new h(n);n>d;d++)e[d]=y?g(l[d],d):l[d];else for(f=m.call(l),e=new h;!(o=f.next()).done;d++)e[d]=y?u(f,g,[o.value,d],!0):o.value;return e.length=d,e}})},{18:18,23:23,36:36,41:41,44:44,80:80,81:81,85:85}],92:[function(t,n,e){"use strict";var r=t(4),o=t(45),i=t(46),u=t(79);n.exports=t(43)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,e):"values"==n?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},{4:4,43:43,45:45,46:46,79:79}],93:[function(t,n,e){"use strict";var r=t(23);r(r.S+r.F*t(25)(function(){function F(){}return!(Array.of.call(F)instanceof F)}),"Array",{of:function of(){for(var t=0,n=arguments,e=n.length,r=new("function"==typeof this?this:Array)(e);e>t;)r[t]=n[t++];return r.length=e,r}})},{23:23,25:25}],94:[function(t,n,e){t(66)("Array")},{66:66}],95:[function(t,n,e){"use strict";var r=t(47),o=t(39),i=t(84)("hasInstance"),u=Function.prototype;i in u||r.setDesc(u,i,{value:function(t){if("function"!=typeof this||!o(t))return!1;if(!o(this.prototype))return t instanceof this;for(;t=r.getProto(t);)if(this.prototype===t)return!0;return!1}})},{39:39,47:47,84:84}],96:[function(t,n,e){var r=t(47).setDesc,o=t(60),i=t(31),u=Function.prototype,c=/^\s*function ([^ (]*)/,a="name";a in u||t(20)&&r(u,a,{configurable:!0,get:function(){var t=(""+this).match(c),n=t?t[1]:"";return i(this,a)||r(this,a,o(5,n)),n}})},{20:20,31:31,47:47,60:60}],97:[function(t,n,e){"use strict";var r=t(13);t(16)("Map",function(t){return function Map(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function get(t){var n=r.getEntry(this,t);return n&&n.v},set:function set(t,n){return r.def(this,0===t?0:t,n)}},r,!0)},{13:13,16:16}],98:[function(t,n,e){var r=t(23),o=t(51),i=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))),"Math",{acosh:function acosh(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:o(t-1+i(t-1)*i(t+1))}})},{23:23,51:51}],99:[function(t,n,e){function asinh(t){return isFinite(t=+t)&&0!=t?0>t?-asinh(-t):Math.log(t+Math.sqrt(t*t+1)):t}var r=t(23);r(r.S,"Math",{asinh:asinh})},{23:23}],100:[function(t,n,e){var r=t(23);r(r.S,"Math",{atanh:function atanh(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},{23:23}],101:[function(t,n,e){var r=t(23),o=t(52);r(r.S,"Math",{cbrt:function cbrt(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},{23:23,52:52}],102:[function(t,n,e){var r=t(23);r(r.S,"Math",{clz32:function clz32(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},{23:23}],103:[function(t,n,e){var r=t(23),o=Math.exp;r(r.S,"Math",{cosh:function cosh(t){return(o(t=+t)+o(-t))/2}})},{23:23}],104:[function(t,n,e){var r=t(23);r(r.S,"Math",{expm1:t(50)})},{23:23,50:50}],105:[function(t,n,e){var r=t(23),o=t(52),i=Math.pow,u=i(2,-52),c=i(2,-23),a=i(2,127)*(2-c),s=i(2,-126),f=function(t){return t+1/u-1/u};r(r.S,"Math",{fround:function fround(t){var n,e,r=Math.abs(t),i=o(t);return s>r?i*f(r/s/c)*s*c:(n=(1+c/u)*r,e=n-(n-r),e>a||e!=e?i*(1/0):i*e)}})},{23:23,52:52}],106:[function(t,n,e){var r=t(23),o=Math.abs;r(r.S,"Math",{hypot:function hypot(t,n){for(var e,r,i=0,u=0,c=arguments,a=c.length,s=0;a>u;)e=o(c[u++]),e>s?(r=s/e,i=i*r*r+1,s=e):e>0?(r=e/s,i+=r*r):i+=e;return s===1/0?1/0:s*Math.sqrt(i)}})},{23:23}],107:[function(t,n,e){var r=t(23),o=Math.imul;r(r.S+r.F*t(25)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function imul(t,n){var e=65535,r=+t,o=+n,i=e&r,u=e&o;return 0|i*u+((e&r>>>16)*u+i*(e&o>>>16)<<16>>>0)}})},{23:23,25:25}],108:[function(t,n,e){var r=t(23);r(r.S,"Math",{log10:function log10(t){return Math.log(t)/Math.LN10}})},{23:23}],109:[function(t,n,e){var r=t(23);r(r.S,"Math",{log1p:t(51)})},{23:23,51:51}],110:[function(t,n,e){var r=t(23);r(r.S,"Math",{log2:function log2(t){return Math.log(t)/Math.LN2}})},{23:23}],111:[function(t,n,e){var r=t(23);r(r.S,"Math",{sign:t(52)})},{23:23,52:52}],112:[function(t,n,e){var r=t(23),o=t(50),i=Math.exp;r(r.S+r.F*t(25)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function sinh(t){return Math.abs(t=+t)<1?(o(t)-o(-t))/2:(i(t-1)-i(-t-1))*(Math.E/2)}})},{23:23,25:25,50:50}],113:[function(t,n,e){var r=t(23),o=t(50),i=Math.exp;r(r.S,"Math",{
|
||
tanh:function tanh(t){var n=o(t=+t),e=o(-t);return n==1/0?1:e==1/0?-1:(n-e)/(i(t)+i(-t))}})},{23:23,50:50}],114:[function(t,n,e){var r=t(23);r(r.S,"Math",{trunc:function trunc(t){return(t>0?Math.floor:Math.ceil)(t)}})},{23:23}],115:[function(t,n,e){"use strict";var r=t(47),o=t(30),i=t(31),u=t(12),c=t(82),a=t(25),s=t(75).trim,f="Number",l=o[f],h=l,p=l.prototype,v=u(r.create(p))==f,g="trim"in String.prototype,y=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){n=g?n.trim():s(n,3);var e,r,o,i=n.charCodeAt(0);if(43===i||45===i){if(e=n.charCodeAt(2),88===e||120===e)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var u,a=n.slice(2),f=0,l=a.length;l>f;f++)if(u=a.charCodeAt(f),48>u||u>o)return NaN;return parseInt(a,r)}}return+n};l(" 0o1")&&l("0b1")&&!l("+0x1")||(l=function Number(t){var n=arguments.length<1?0:t,e=this;return e instanceof l&&(v?a(function(){p.valueOf.call(e)}):u(e)!=f)?new h(y(n)):y(n)},r.each.call(t(20)?r.getNames(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(t){i(h,t)&&!i(l,t)&&r.setDesc(l,t,r.getDesc(h,t))}),l.prototype=p,p.constructor=l,t(62)(o,f,l))},{12:12,20:20,25:25,30:30,31:31,47:47,62:62,75:75,82:82}],116:[function(t,n,e){var r=t(23);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},{23:23}],117:[function(t,n,e){var r=t(23),o=t(30).isFinite;r(r.S,"Number",{isFinite:function isFinite(t){return"number"==typeof t&&o(t)}})},{23:23,30:30}],118:[function(t,n,e){var r=t(23);r(r.S,"Number",{isInteger:t(38)})},{23:23,38:38}],119:[function(t,n,e){var r=t(23);r(r.S,"Number",{isNaN:function isNaN(t){return t!=t}})},{23:23}],120:[function(t,n,e){var r=t(23),o=t(38),i=Math.abs;r(r.S,"Number",{isSafeInteger:function isSafeInteger(t){return o(t)&&i(t)<=9007199254740991}})},{23:23,38:38}],121:[function(t,n,e){var r=t(23);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{23:23}],122:[function(t,n,e){var r=t(23);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{23:23}],123:[function(t,n,e){var r=t(23);r(r.S,"Number",{parseFloat:parseFloat})},{23:23}],124:[function(t,n,e){var r=t(23);r(r.S,"Number",{parseInt:parseInt})},{23:23}],125:[function(t,n,e){var r=t(23);r(r.S+r.F,"Object",{assign:t(54)})},{23:23,54:54}],126:[function(t,n,e){var r=t(39);t(55)("freeze",function(t){return function freeze(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],127:[function(t,n,e){var r=t(79);t(55)("getOwnPropertyDescriptor",function(t){return function getOwnPropertyDescriptor(n,e){return t(r(n),e)}})},{55:55,79:79}],128:[function(t,n,e){t(55)("getOwnPropertyNames",function(){return t(29).get})},{29:29,55:55}],129:[function(t,n,e){var r=t(81);t(55)("getPrototypeOf",function(t){return function getPrototypeOf(n){return t(r(n))}})},{55:55,81:81}],130:[function(t,n,e){var r=t(39);t(55)("isExtensible",function(t){return function isExtensible(n){return r(n)?t?t(n):!0:!1}})},{39:39,55:55}],131:[function(t,n,e){var r=t(39);t(55)("isFrozen",function(t){return function isFrozen(n){return r(n)?t?t(n):!1:!0}})},{39:39,55:55}],132:[function(t,n,e){var r=t(39);t(55)("isSealed",function(t){return function isSealed(n){return r(n)?t?t(n):!1:!0}})},{39:39,55:55}],133:[function(t,n,e){var r=t(23);r(r.S,"Object",{is:t(64)})},{23:23,64:64}],134:[function(t,n,e){var r=t(81);t(55)("keys",function(t){return function keys(n){return t(r(n))}})},{55:55,81:81}],135:[function(t,n,e){var r=t(39);t(55)("preventExtensions",function(t){return function preventExtensions(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],136:[function(t,n,e){var r=t(39);t(55)("seal",function(t){return function seal(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],137:[function(t,n,e){var r=t(23);r(r.S,"Object",{setPrototypeOf:t(65).set})},{23:23,65:65}],138:[function(t,n,e){"use strict";var r=t(11),o={};o[t(84)("toStringTag")]="z",o+""!="[object z]"&&t(62)(Object.prototype,"toString",function toString(){return"[object "+r(this)+"]"},!0)},{11:11,62:62,84:84}],139:[function(t,n,e){"use strict";var r,o=t(47),i=t(49),u=t(30),c=t(18),a=t(11),s=t(23),f=t(39),l=t(5),h=t(3),p=t(70),v=t(28),g=t(65).set,y=t(64),d=t(84)("species"),m=t(69),x=t(53),S="Promise",w=u.process,b="process"==a(w),E=u[S],O=function(t){var n=new E(function(){});return t&&(n.constructor=Object),E.resolve(n)===n},P=function(){function P2(t){var n=new E(t);return g(n,P2.prototype),n}var n=!1;try{if(n=E&&E.resolve&&O(),g(P2,E),P2.prototype=o.create(E.prototype,{constructor:{value:P2}}),P2.resolve(5).then(function(){})instanceof P2||(n=!1),n&&t(20)){var e=!1;E.resolve(o.setDesc({},"then",{get:function(){e=!0}})),n=e}}catch(r){n=!1}return n}(),_=function(t,n){return i&&t===E&&n===r?!0:y(t,n)},M=function(t){var n=l(t)[d];return void 0!=n?n:t},F=function(t){var n;return f(t)&&"function"==typeof(n=t.then)?n:!1},A=function(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=h(n),this.reject=h(e)},j=function(t){try{t()}catch(n){return{error:n}}},N=function(t,n){if(!t.n){t.n=!0;var e=t.c;x(function(){for(var r=t.v,o=1==t.s,i=0,c=function(n){var e,i,u=o?n.ok:n.fail,c=n.resolve,a=n.reject;try{u?(o||(t.h=!0),e=u===!0?r:u(r),e===n.promise?a(TypeError("Promise-chain cycle")):(i=F(e))?i.call(e,c,a):c(e)):a(r)}catch(s){a(s)}};e.length>i;)c(e[i++]);e.length=0,t.n=!1,n&&setTimeout(function(){var n,e,o=t.p;I(o)&&(b?w.emit("unhandledRejection",r,o):(n=u.onunhandledrejection)?n({promise:o,reason:r}):(e=u.console)&&e.error&&e.error("Unhandled promise rejection",r)),t.a=void 0},1)})}},I=function(t){var n,e=t._d,r=e.a||e.c,o=0;if(e.h)return!1;for(;r.length>o;)if(n=r[o++],n.fail||!I(n.promise))return!1;return!0},k=function(t){var n=this;n.d||(n.d=!0,n=n.r||n,n.v=t,n.s=2,n.a=n.c.slice(),N(n,!0))},D=function(t){var n,e=this;if(!e.d){e.d=!0,e=e.r||e;try{if(e.p===t)throw TypeError("Promise can't be resolved itself");(n=F(t))?x(function(){var r={r:e,d:!1};try{n.call(t,c(D,r,1),c(k,r,1))}catch(o){k.call(r,o)}}):(e.v=t,e.s=1,N(e,!1))}catch(r){k.call({r:e,d:!1},r)}}};P||(E=function Promise(t){h(t);var n=this._d={p:p(this,E,S),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};try{t(c(D,n,1),c(k,n,1))}catch(e){k.call(n,e)}},t(61)(E.prototype,{then:function then(t,n){var e=new A(m(this,E)),r=e.promise,o=this._d;return e.ok="function"==typeof t?t:!0,e.fail="function"==typeof n&&n,o.c.push(e),o.a&&o.a.push(e),o.s&&N(o,!1),r},"catch":function(t){return this.then(void 0,t)}})),s(s.G+s.W+s.F*!P,{Promise:E}),t(67)(E,S),t(66)(S),r=t(17)[S],s(s.S+s.F*!P,S,{reject:function reject(t){var n=new A(this),e=n.reject;return e(t),n.promise}}),s(s.S+s.F*(!P||O(!0)),S,{resolve:function resolve(t){if(t instanceof E&&_(t.constructor,this))return t;var n=new A(this),e=n.resolve;return e(t),n.promise}}),s(s.S+s.F*!(P&&t(44)(function(t){E.all(t)["catch"](function(){})})),S,{all:function all(t){var n=M(this),e=new A(n),r=e.resolve,i=e.reject,u=[],c=j(function(){v(t,!1,u.push,u);var e=u.length,c=Array(e);e?o.each.call(u,function(t,o){var u=!1;n.resolve(t).then(function(t){u||(u=!0,c[o]=t,--e||r(c))},i)}):r(c)});return c&&i(c.error),e.promise},race:function race(t){var n=M(this),e=new A(n),r=e.reject,o=j(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return o&&r(o.error),e.promise}})},{11:11,17:17,18:18,20:20,23:23,28:28,3:3,30:30,39:39,44:44,47:47,49:49,5:5,53:53,61:61,64:64,65:65,66:66,67:67,69:69,70:70,84:84}],140:[function(t,n,e){var r=t(23),o=Function.apply;r(r.S,"Reflect",{apply:function apply(t,n,e){return o.call(t,n,e)}})},{23:23}],141:[function(t,n,e){var r=t(47),o=t(23),i=t(3),u=t(5),c=t(39),a=Function.bind||t(17).Function.prototype.bind;o(o.S+o.F*t(25)(function(){function F(){}return!(Reflect.construct(function(){},[],F)instanceof F)}),"Reflect",{construct:function construct(t,n){i(t);var e=arguments.length<3?t:i(arguments[2]);if(t==e){if(void 0!=n)switch(u(n).length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var o=[null];return o.push.apply(o,n),new(a.apply(t,o))}var s=e.prototype,f=r.create(c(s)?s:Object.prototype),l=Function.apply.call(t,f,n);return c(l)?l:f}})},{17:17,23:23,25:25,3:3,39:39,47:47,5:5}],142:[function(t,n,e){var r=t(47),o=t(23),i=t(5);o(o.S+o.F*t(25)(function(){Reflect.defineProperty(r.setDesc({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function defineProperty(t,n,e){i(t);try{return r.setDesc(t,n,e),!0}catch(o){return!1}}})},{23:23,25:25,47:47,5:5}],143:[function(t,n,e){var r=t(23),o=t(47).getDesc,i=t(5);r(r.S,"Reflect",{deleteProperty:function deleteProperty(t,n){var e=o(i(t),n);return e&&!e.configurable?!1:delete t[n]}})},{23:23,47:47,5:5}],144:[function(t,n,e){"use strict";var r=t(23),o=t(5),i=function(t){this._t=o(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};t(42)(i,"Object",function(){var t,n=this,e=n._k;do if(n._i>=e.length)return{value:void 0,done:!0};while(!((t=e[n._i++])in n._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function enumerate(t){return new i(t)}})},{23:23,42:42,5:5}],145:[function(t,n,e){var r=t(47),o=t(23),i=t(5);o(o.S,"Reflect",{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(t,n){return r.getDesc(i(t),n)}})},{23:23,47:47,5:5}],146:[function(t,n,e){var r=t(23),o=t(47).getProto,i=t(5);r(r.S,"Reflect",{getPrototypeOf:function getPrototypeOf(t){return o(i(t))}})},{23:23,47:47,5:5}],147:[function(t,n,e){function get(t,n){var e,i,a=arguments.length<3?t:arguments[2];return c(t)===a?t[n]:(e=r.getDesc(t,n))?o(e,"value")?e.value:void 0!==e.get?e.get.call(a):void 0:u(i=r.getProto(t))?get(i,n,a):void 0}var r=t(47),o=t(31),i=t(23),u=t(39),c=t(5);i(i.S,"Reflect",{get:get})},{23:23,31:31,39:39,47:47,5:5}],148:[function(t,n,e){var r=t(23);r(r.S,"Reflect",{has:function has(t,n){return n in t}})},{23:23}],149:[function(t,n,e){var r=t(23),o=t(5),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function isExtensible(t){return o(t),i?i(t):!0}})},{23:23,5:5}],150:[function(t,n,e){var r=t(23);r(r.S,"Reflect",{ownKeys:t(57)})},{23:23,57:57}],151:[function(t,n,e){var r=t(23),o=t(5),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function preventExtensions(t){o(t);try{return i&&i(t),!0}catch(n){return!1}}})},{23:23,5:5}],152:[function(t,n,e){var r=t(23),o=t(65);o&&r(r.S,"Reflect",{setPrototypeOf:function setPrototypeOf(t,n){o.check(t,n);try{return o.set(t,n),!0}catch(e){return!1}}})},{23:23,65:65}],153:[function(t,n,e){function set(t,n,e){var i,s,f=arguments.length<4?t:arguments[3],l=r.getDesc(c(t),n);if(!l){if(a(s=r.getProto(t)))return set(s,n,e,f);l=u(0)}return o(l,"value")?l.writable!==!1&&a(f)?(i=r.getDesc(f,n)||u(0),i.value=e,r.setDesc(f,n,i),!0):!1:void 0===l.set?!1:(l.set.call(f,e),!0)}var r=t(47),o=t(31),i=t(23),u=t(60),c=t(5),a=t(39);i(i.S,"Reflect",{set:set})},{23:23,31:31,39:39,47:47,5:5,60:60}],154:[function(t,n,e){var r=t(47),o=t(30),i=t(40),u=t(27),c=o.RegExp,a=c,s=c.prototype,f=/a/g,l=/a/g,h=new c(f)!==f;!t(20)||h&&!t(25)(function(){return l[t(84)("match")]=!1,c(f)!=f||c(l)==l||"/a/i"!=c(f,"i")})||(c=function RegExp(t,n){var e=i(t),r=void 0===n;return this instanceof c||!e||t.constructor!==c||!r?h?new a(e&&!r?t.source:t,n):a((e=t instanceof c)?t.source:t,e&&r?u.call(t):n):t},r.each.call(r.getNames(a),function(t){t in c||r.setDesc(c,t,{configurable:!0,get:function(){return a[t]},set:function(n){a[t]=n}})}),s.constructor=c,c.prototype=s,t(62)(o,"RegExp",c)),t(66)("RegExp")},{20:20,25:25,27:27,30:30,40:40,47:47,62:62,66:66,84:84}],155:[function(t,n,e){var r=t(47);t(20)&&"g"!=/./g.flags&&r.setDesc(RegExp.prototype,"flags",{configurable:!0,get:t(27)})},{20:20,27:27,47:47}],156:[function(t,n,e){t(26)("match",1,function(t,n){return function match(e){"use strict";var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))}})},{26:26}],157:[function(t,n,e){t(26)("replace",2,function(t,n,e){return function replace(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)}})},{26:26}],158:[function(t,n,e){t(26)("search",1,function(t,n){return function search(e){"use strict";var r=t(this),o=void 0==e?void 0:e[n];return void 0!==o?o.call(e,r):new RegExp(e)[n](String(r))}})},{26:26}],159:[function(t,n,e){t(26)("split",2,function(t,n,e){return function split(r,o){"use strict";var i=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,i,o):e.call(String(i),r,o)}})},{26:26}],160:[function(t,n,e){"use strict";var r=t(13);t(16)("Set",function(t){return function Set(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(t){return r.def(this,t=0===t?0:t,t)}},r)},{13:13,16:16}],161:[function(t,n,e){"use strict";var r=t(23),o=t(71)(!1);r(r.P,"String",{codePointAt:function codePointAt(t){return o(this,t)}})},{23:23,71:71}],162:[function(t,n,e){"use strict";var r=t(23),o=t(80),i=t(72),u="endsWith",c=""[u];r(r.P+r.F*t(24)(u),"String",{endsWith:function endsWith(t){var n=i(this,t,u),e=arguments,r=e.length>1?e[1]:void 0,a=o(n.length),s=void 0===r?a:Math.min(o(r),a),f=String(t);return c?c.call(n,f,s):n.slice(s-f.length,s)===f}})},{23:23,24:24,72:72,80:80}],163:[function(t,n,e){var r=t(23),o=t(77),i=String.fromCharCode,u=String.fromCodePoint;r(r.S+r.F*(!!u&&1!=u.length),"String",{fromCodePoint:function fromCodePoint(t){for(var n,e=[],r=arguments,u=r.length,c=0;u>c;){if(n=+r[c++],o(n,1114111)!==n)throw RangeError(n+" is not a valid code point");e.push(65536>n?i(n):i(((n-=65536)>>10)+55296,n%1024+56320))}return e.join("")}})},{23:23,77:77}],164:[function(t,n,e){"use strict";var r=t(23),o=t(72),i="includes";r(r.P+r.F*t(24)(i),"String",{includes:function includes(t){return!!~o(this,t,i).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},{23:23,24:24,72:72}],165:[function(t,n,e){"use strict";var r=t(71)(!0);t(43)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},{43:43,71:71}],166:[function(t,n,e){var r=t(23),o=t(79),i=t(80);r(r.S,"String",{raw:function raw(t){for(var n=o(t.raw),e=i(n.length),r=arguments,u=r.length,c=[],a=0;e>a;)c.push(String(n[a++])),u>a&&c.push(String(r[a]));return c.join("")}})},{23:23,79:79,80:80}],167:[function(t,n,e){var r=t(23);r(r.P,"String",{repeat:t(74)})},{23:23,74:74}],168:[function(t,n,e){"use strict";var r=t(23),o=t(80),i=t(72),u="startsWith",c=""[u];r(r.P+r.F*t(24)(u),"String",{startsWith:function startsWith(t){var n=i(this,t,u),e=arguments,r=o(Math.min(e.length>1?e[1]:void 0,n.length)),a=String(t);return c?c.call(n,a,r):n.slice(r,r+a.length)===a}})},{23:23,24:24,72:72,80:80}],169:[function(t,n,e){"use strict";t(75)("trim",function(t){return function trim(){return t(this,3)}})},{75:75}],170:[function(t,n,e){"use strict";var r=t(47),o=t(30),i=t(31),u=t(20),c=t(23),a=t(62),s=t(25),f=t(68),l=t(67),h=t(83),p=t(84),v=t(48),g=t(29),y=t(22),d=t(37),m=t(5),x=t(79),S=t(60),w=r.getDesc,b=r.setDesc,E=r.create,O=g.get,P=o.Symbol,_=o.JSON,M=_&&_.stringify,F=!1,A=p("_hidden"),j=r.isEnum,N=f("symbol-registry"),I=f("symbols"),k="function"==typeof P,D=Object.prototype,T=u&&s(function(){return 7!=E(b({},"a",{get:function(){return b(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=w(D,n);r&&delete D[n],b(t,n,e),r&&t!==D&&b(D,n,r)}:b,L=function(t){var n=I[t]=E(P.prototype);return n._k=t,u&&F&&T(D,t,{configurable:!0,set:function(n){i(this,A)&&i(this[A],t)&&(this[A][t]=!1),T(this,t,S(1,n))}}),n},R=function(t){return"symbol"==typeof t},C=function defineProperty(t,n,e){return e&&i(I,n)?(e.enumerable?(i(t,A)&&t[A][n]&&(t[A][n]=!1),e=E(e,{enumerable:S(0,!1)})):(i(t,A)||b(t,A,S(1,{})),t[A][n]=!0),T(t,n,e)):b(t,n,e)},G=function defineProperties(t,n){m(t);for(var e,r=y(n=x(n)),o=0,i=r.length;i>o;)C(t,e=r[o++],n[e]);return t},W=function create(t,n){return void 0===n?E(t):G(E(t),n)},z=function propertyIsEnumerable(t){var n=j.call(this,t);return n||!i(this,t)||!i(I,t)||i(this,A)&&this[A][t]?n:!0},K=function getOwnPropertyDescriptor(t,n){var e=w(t=x(t),n);return!e||!i(I,n)||i(t,A)&&t[A][n]||(e.enumerable=!0),e},U=function getOwnPropertyNames(t){for(var n,e=O(x(t)),r=[],o=0;e.length>o;)i(I,n=e[o++])||n==A||r.push(n);return r},q=function getOwnPropertySymbols(t){for(var n,e=O(x(t)),r=[],o=0;e.length>o;)i(I,n=e[o++])&&r.push(I[n]);return r},J=function stringify(t){if(void 0!==t&&!R(t)){for(var n,e,r=[t],o=1,i=arguments;i.length>o;)r.push(i[o++]);return n=r[1],"function"==typeof n&&(e=n),(e||!d(n))&&(n=function(t,n){return e&&(n=e.call(this,t,n)),R(n)?void 0:n}),r[1]=n,M.apply(_,r)}},B=s(function(){var t=P();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))});k||(P=function Symbol(){if(R(this))throw TypeError("Symbol is not a constructor");return L(h(arguments.length>0?arguments[0]:void 0))},a(P.prototype,"toString",function toString(){return this._k}),R=function(t){return t instanceof P},r.create=W,r.isEnum=z,r.getDesc=K,r.setDesc=C,r.setDescs=G,r.getNames=g.get=U,r.getSymbols=q,u&&!t(49)&&a(D,"propertyIsEnumerable",z,!0));var V={"for":function(t){return i(N,t+="")?N[t]:N[t]=P(t)},keyFor:function keyFor(t){return v(N,t)},useSetter:function(){F=!0},useSimple:function(){F=!1}};r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(t){var n=p(t);V[t]=k?n:L(n)}),F=!0,c(c.G+c.W,{Symbol:P}),c(c.S,"Symbol",V),c(c.S+c.F*!k,"Object",{create:W,defineProperty:C,defineProperties:G,getOwnPropertyDescriptor:K,getOwnPropertyNames:U,getOwnPropertySymbols:q}),_&&c(c.S+c.F*(!k||B),"JSON",{stringify:J}),l(P,"Symbol"),l(Math,"Math",!0),l(o.JSON,"JSON",!0)},{20:20,22:22,23:23,25:25,29:29,30:30,31:31,37:37,47:47,48:48,49:49,5:5,60:60,62:62,67:67,68:68,79:79,83:83,84:84}],171:[function(t,n,e){"use strict";var r=t(47),o=t(62),i=t(15),u=t(39),c=t(31),a=i.frozenStore,s=i.WEAK,f=Object.isExtensible||u,l={},h=t(16)("WeakMap",function(t){return function WeakMap(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function get(t){if(u(t)){if(!f(t))return a(this).get(t);if(c(t,s))return t[s][this._i]}},set:function set(t,n){return i.def(this,t,n)}},i,!0,!0);7!=(new h).set((Object.freeze||Object)(l),7).get(l)&&r.each.call(["delete","has","get","set"],function(t){var n=h.prototype,e=n[t];o(n,t,function(n,r){if(u(n)&&!f(n)){var o=a(this)[t](n,r);return"set"==t?this:o}return e.call(this,n,r)})})},{15:15,16:16,31:31,39:39,47:47,62:62}],172:[function(t,n,e){"use strict";var r=t(15);t(16)("WeakSet",function(t){return function WeakSet(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function add(t){return r.def(this,t,!0)}},r,!1,!0)},{15:15,16:16}],173:[function(t,n,e){"use strict";var r=t(23),o=t(8)(!0);r(r.P,"Array",{includes:function includes(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),t(4)("includes")},{23:23,4:4,8:8}],174:[function(t,n,e){var r=t(23);r(r.P,"Map",{toJSON:t(14)("Map")})},{14:14,23:23}],175:[function(t,n,e){var r=t(23),o=t(56)(!0);r(r.S,"Object",{entries:function entries(t){return o(t)}})},{23:23,56:56}],176:[function(t,n,e){var r=t(47),o=t(23),i=t(57),u=t(79),c=t(60);o(o.S,"Object",{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(t){for(var n,e,o=u(t),a=r.setDesc,s=r.getDesc,f=i(o),l={},h=0;f.length>h;)e=s(o,n=f[h++]),n in l?a(l,n,c(0,e)):l[n]=e;return l}})},{23:23,47:47,57:57,60:60,79:79}],177:[function(t,n,e){var r=t(23),o=t(56)(!1);r(r.S,"Object",{values:function values(t){return o(t)}})},{23:23,56:56}],178:[function(t,n,e){var r=t(23),o=t(63)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function escape(t){return o(t)}})},{23:23,63:63}],179:[function(t,n,e){var r=t(23);r(r.P,"Set",{toJSON:t(14)("Set")})},{14:14,23:23}],180:[function(t,n,e){"use strict";var r=t(23),o=t(71)(!0);r(r.P,"String",{at:function at(t){return o(this,t)}})},{23:23,71:71}],181:[function(t,n,e){"use strict";var r=t(23),o=t(73);r(r.P,"String",{padLeft:function padLeft(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},{23:23,73:73}],182:[function(t,n,e){"use strict";var r=t(23),o=t(73);r(r.P,"String",{padRight:function padRight(t){return o(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},{23:23,73:73}],183:[function(t,n,e){"use strict";t(75)("trimLeft",function(t){return function trimLeft(){return t(this,1)}})},{75:75}],184:[function(t,n,e){"use strict";t(75)("trimRight",function(t){return function trimRight(){return t(this,2)}})},{75:75}],185:[function(t,n,e){var r=t(47),o=t(23),i=t(18),u=t(17).Array||Array,c={},a=function(t,n){r.each.call(t.split(","),function(t){void 0==n&&t in u?c[t]=u[t]:t in[]&&(c[t]=i(Function.call,[][t],n))})};a("pop,reverse,shift,keys,values,entries",1),a("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),a("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",c)},{17:17,18:18,23:23,47:47}],186:[function(t,n,e){t(92);var r=t(30),o=t(32),i=t(46),u=t(84)("iterator"),c=r.NodeList,a=r.HTMLCollection,s=c&&c.prototype,f=a&&a.prototype,l=i.NodeList=i.HTMLCollection=i.Array;s&&!s[u]&&o(s,u,l),f&&!f[u]&&o(f,u,l)},{30:30,32:32,46:46,84:84,92:92}],187:[function(t,n,e){var r=t(23),o=t(76);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},{23:23,76:76}],188:[function(t,n,e){var r=t(30),o=t(23),i=t(34),u=t(58),c=r.navigator,a=!!c&&/MSIE .\./.test(c.userAgent),s=function(t){return a?function(n,e){return t(i(u,[].slice.call(arguments,2),"function"==typeof n?n:Function(n)),e)}:t};o(o.G+o.B+o.F*a,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},{23:23,30:30,34:34,58:58}],189:[function(t,n,e){t(86),t(170),t(125),t(133),t(137),t(138),t(126),t(136),t(135),t(131),t(132),t(130),t(127),t(129),t(134),t(128),t(96),t(95),t(115),t(116),t(117),t(118),t(119),t(120),t(121),t(122),t(123),t(124),t(98),t(99),t(100),t(101),t(102),t(103),t(104),t(105),t(106),t(107),t(108),t(109),t(110),t(111),t(112),t(113),t(114),t(163),t(166),t(169),t(165),t(161),t(162),t(164),t(167),t(168),t(91),t(93),t(92),t(94),t(87),t(88),t(90),t(89),t(154),t(155),t(156),t(157),t(158),t(159),t(139),t(97),t(160),t(171),t(172),t(140),t(141),t(142),t(143),t(144),t(147),t(145),t(146),t(148),t(149),t(150),t(151),t(153),t(152),t(173),t(180),t(181),t(182),t(183),t(184),t(178),t(176),t(177),t(175),t(174),t(179),t(185),t(188),t(187),t(186),n.exports=t(17)},{100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:126,127:127,128:128,129:129,130:130,131:131,132:132,133:133,134:134,135:135,136:136,137:137,138:138,139:139,140:140,141:141,142:142,143:143,144:144,145:145,146:146,147:147,148:148,149:149,150:150,151:151,152:152,153:153,154:154,155:155,156:156,157:157,158:158,159:159,160:160,161:161,162:162,163:163,164:164,165:165,166:166,167:167,168:168,169:169,17:17,170:170,171:171,172:172,173:173,174:174,175:175,176:176,177:177,178:178,179:179,180:180,181:181,182:182,183:183,184:184,185:185,186:186,187:187,188:188,86:86,87:87,88:88,89:89,90:90,91:91,92:92,93:93,94:94,95:95,96:96,97:97,98:98,99:99}],190:[function(t,n,e){(function(t){!function(t){"use strict";function wrap(t,n,e,r){var o=Object.create((n||Generator).prototype),i=new Context(r||[]);return o._invoke=makeInvokeMethod(t,e,i),o}function tryCatch(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(r){return{type:"throw",arg:r}}}function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}function defineIteratorMethods(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function AwaitArgument(t){this.arg=t}function AsyncIterator(t){function invoke(n,o){var i=t[n](o),u=i.value;return u instanceof AwaitArgument?Promise.resolve(u.arg).then(e,r):Promise.resolve(u).then(function(t){return i.value=t,i})}function enqueue(t,e){function callInvokeWithMethodAndArg(){return invoke(t,e)}return n=n?n.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):new Promise(function(t){t(callInvokeWithMethodAndArg())})}"object"==typeof process&&process.domain&&(invoke=process.domain.bind(invoke));var n,e=invoke.bind(t,"next"),r=invoke.bind(t,"throw");invoke.bind(t,"return");this._invoke=enqueue}function makeInvokeMethod(t,n,r){var o=c;return function invoke(i,u){if(o===s)throw new Error("Generator is already running");if(o===f){if("throw"===i)throw u;return doneResult()}for(;;){var h=r.delegate;if(h){if("return"===i||"throw"===i&&h.iterator[i]===e){r.delegate=null;var p=h.iterator["return"];if(p){var v=tryCatch(p,h.iterator,u);if("throw"===v.type){i="throw",u=v.arg;continue}}if("return"===i)continue}var v=tryCatch(h.iterator[i],h.iterator,u);if("throw"===v.type){r.delegate=null,i="throw",u=v.arg;continue}i="next",u=e;var g=v.arg;if(!g.done)return o=a,g;r[h.resultName]=g.value,r.next=h.nextLoc,r.delegate=null}if("next"===i)r._sent=u,o===a?r.sent=u:r.sent=e;else if("throw"===i){if(o===c)throw o=f,u;r.dispatchException(u)&&(i="next",u=e)}else"return"===i&&r.abrupt("return",u);o=s;var v=tryCatch(t,n,r);if("normal"===v.type){o=r.done?f:a;var g={value:v.arg,done:r.done};if(v.arg!==l)return g;r.delegate&&"next"===i&&(u=e)}else"throw"===v.type&&(o=f,i="throw",u=v.arg)}}}function pushTryEntry(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function resetTryEntry(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,u=function next(){for(;++i<t.length;)if(r.call(t,i))return next.value=t[i],next.done=!1,next;return next.value=e,next.done=!0,next};return u.next=u}}return{next:doneResult}}function doneResult(){return{value:e,done:!0}}var e,r=Object.prototype.hasOwnProperty,o="function"==typeof Symbol&&Symbol.iterator||"@@iterator",i="object"==typeof n,u=t.regeneratorRuntime;if(u)return void(i&&(n.exports=u));u=t.regeneratorRuntime=i?n.exports:{},u.wrap=wrap;var c="suspendedStart",a="suspendedYield",s="executing",f="completed",l={},h=GeneratorFunctionPrototype.prototype=Generator.prototype;GeneratorFunction.prototype=h.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunction.displayName="GeneratorFunction",u.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return n?n===GeneratorFunction||"GeneratorFunction"===(n.displayName||n.name):!1},u.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):t.__proto__=GeneratorFunctionPrototype,t.prototype=Object.create(h),t},u.awrap=function(t){return new AwaitArgument(t)},defineIteratorMethods(AsyncIterator.prototype),u.async=function(t,n,e,r){var o=new AsyncIterator(wrap(t,n,e,r));return u.isGeneratorFunction(n)?o:o.next().then(function(t){return t.done?t.value:o.next()})},defineIteratorMethods(h),h[o]=function(){return this},h.toString=function(){return"[object Generator]"},u.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function next(){for(;n.length;){var e=n.pop();if(e in t)return next.value=e,next.done=!1,next}return next.done=!0,next}},u.values=values,Context.prototype={constructor:Context,reset:function(t){if(this.prev=0,this.next=0,this.sent=e,this.done=!1,this.delegate=null,this.tryEntries.forEach(resetTryEntry),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],n=t.completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(t){function handle(e,r){return i.type="throw",i.arg=t,n.next=e,!!r}if(this.done)throw t;for(var n=this,e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e],i=o.completion;if("root"===o.tryLoc)return handle("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(u&&c){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0);if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return handle(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return handle(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=n,i?this.next=i.finallyLoc:this.complete(u),l},complete:function(t,n){if("throw"===t.type)throw t.arg;"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=t.arg,this.next="end"):"normal"===t.type&&n&&(this.next=n)},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),resetTryEntry(e),l}},"catch":function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var o=r.arg;resetTryEntry(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:values(t),resultName:n,nextLoc:e},l}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[1]);
|
||
|
||
|
||
/* **********************************************
|
||
Begin prism-core.js
|
||
********************************************** */
|
||
|
||
var _self = (typeof window !== 'undefined')
|
||
? window // if in browser
|
||
: (
|
||
(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)
|
||
? self // if in worker
|
||
: {} // if in node js
|
||
);
|
||
|
||
/**
|
||
* Prism: Lightweight, robust, elegant syntax highlighting
|
||
* MIT license http://www.opensource.org/licenses/mit-license.php/
|
||
* @author Lea Verou http://lea.verou.me
|
||
*/
|
||
|
||
var Prism = (function(){
|
||
|
||
// Private helper vars
|
||
var lang = /\blang(?:uage)?-(?!\*)(\w+)\b/i;
|
||
|
||
var _ = _self.Prism = {
|
||
util: {
|
||
encode: function (tokens) {
|
||
if (tokens instanceof Token) {
|
||
return new Token(tokens.type, _.util.encode(tokens.content), tokens.alias);
|
||
} else if (_.util.type(tokens) === 'Array') {
|
||
return tokens.map(_.util.encode);
|
||
} else {
|
||
return tokens.replace(/&/g, '&').replace(/</g, '<').replace(/\u00a0/g, ' ');
|
||
}
|
||
},
|
||
|
||
type: function (o) {
|
||
return Object.prototype.toString.call(o).match(/\[object (\w+)\]/)[1];
|
||
},
|
||
|
||
// Deep clone a language definition (e.g. to extend it)
|
||
clone: function (o) {
|
||
var type = _.util.type(o);
|
||
|
||
switch (type) {
|
||
case 'Object':
|
||
var clone = {};
|
||
|
||
for (var key in o) {
|
||
if (o.hasOwnProperty(key)) {
|
||
clone[key] = _.util.clone(o[key]);
|
||
}
|
||
}
|
||
|
||
return clone;
|
||
|
||
case 'Array':
|
||
// Check for existence for IE8
|
||
return o.map && o.map(function(v) { return _.util.clone(v); });
|
||
}
|
||
|
||
return o;
|
||
}
|
||
},
|
||
|
||
languages: {
|
||
extend: function (id, redef) {
|
||
var lang = _.util.clone(_.languages[id]);
|
||
|
||
for (var key in redef) {
|
||
lang[key] = redef[key];
|
||
}
|
||
|
||
return lang;
|
||
},
|
||
|
||
/**
|
||
* Insert a token before another token in a language literal
|
||
* As this needs to recreate the object (we cannot actually insert before keys in object literals),
|
||
* we cannot just provide an object, we need anobject and a key.
|
||
* @param inside The key (or language id) of the parent
|
||
* @param before The key to insert before. If not provided, the function appends instead.
|
||
* @param insert Object with the key/value pairs to insert
|
||
* @param root The object that contains `inside`. If equal to Prism.languages, it can be omitted.
|
||
*/
|
||
insertBefore: function (inside, before, insert, root) {
|
||
root = root || _.languages;
|
||
var grammar = root[inside];
|
||
|
||
if (arguments.length == 2) {
|
||
insert = arguments[1];
|
||
|
||
for (var newToken in insert) {
|
||
if (insert.hasOwnProperty(newToken)) {
|
||
grammar[newToken] = insert[newToken];
|
||
}
|
||
}
|
||
|
||
return grammar;
|
||
}
|
||
|
||
var ret = {};
|
||
|
||
for (var token in grammar) {
|
||
|
||
if (grammar.hasOwnProperty(token)) {
|
||
|
||
if (token == before) {
|
||
|
||
for (var newToken in insert) {
|
||
|
||
if (insert.hasOwnProperty(newToken)) {
|
||
ret[newToken] = insert[newToken];
|
||
}
|
||
}
|
||
}
|
||
|
||
ret[token] = grammar[token];
|
||
}
|
||
}
|
||
|
||
// Update references in other language definitions
|
||
_.languages.DFS(_.languages, function(key, value) {
|
||
if (value === root[inside] && key != inside) {
|
||
this[key] = ret;
|
||
}
|
||
});
|
||
|
||
return root[inside] = ret;
|
||
},
|
||
|
||
// Traverse a language definition with Depth First Search
|
||
DFS: function(o, callback, type) {
|
||
for (var i in o) {
|
||
if (o.hasOwnProperty(i)) {
|
||
callback.call(o, i, o[i], type || i);
|
||
|
||
if (_.util.type(o[i]) === 'Object') {
|
||
_.languages.DFS(o[i], callback);
|
||
}
|
||
else if (_.util.type(o[i]) === 'Array') {
|
||
_.languages.DFS(o[i], callback, i);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
plugins: {},
|
||
|
||
highlightAll: function(async, callback) {
|
||
var elements = document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code');
|
||
|
||
for (var i=0, element; element = elements[i++];) {
|
||
_.highlightElement(element, async === true, callback);
|
||
}
|
||
},
|
||
|
||
highlightElement: function(element, async, callback) {
|
||
// Find language
|
||
var language, grammar, parent = element;
|
||
|
||
while (parent && !lang.test(parent.className)) {
|
||
parent = parent.parentNode;
|
||
}
|
||
|
||
if (parent) {
|
||
language = (parent.className.match(lang) || [,''])[1];
|
||
grammar = _.languages[language];
|
||
}
|
||
|
||
// Set language on the element, if not present
|
||
element.className = element.className.replace(lang, '').replace(/\s+/g, ' ') + ' language-' + language;
|
||
|
||
// Set language on the parent, for styling
|
||
parent = element.parentNode;
|
||
|
||
if (/pre/i.test(parent.nodeName)) {
|
||
parent.className = parent.className.replace(lang, '').replace(/\s+/g, ' ') + ' language-' + language;
|
||
}
|
||
|
||
var code = element.textContent;
|
||
|
||
var env = {
|
||
element: element,
|
||
language: language,
|
||
grammar: grammar,
|
||
code: code
|
||
};
|
||
|
||
if (!code || !grammar) {
|
||
_.hooks.run('complete', env);
|
||
return;
|
||
}
|
||
|
||
_.hooks.run('before-highlight', env);
|
||
|
||
if (async && _self.Worker) {
|
||
var worker = new Worker(_.filename);
|
||
|
||
worker.onmessage = function(evt) {
|
||
env.highlightedCode = evt.data;
|
||
|
||
_.hooks.run('before-insert', env);
|
||
|
||
env.element.innerHTML = env.highlightedCode;
|
||
|
||
callback && callback.call(env.element);
|
||
_.hooks.run('after-highlight', env);
|
||
_.hooks.run('complete', env);
|
||
};
|
||
|
||
worker.postMessage(JSON.stringify({
|
||
language: env.language,
|
||
code: env.code,
|
||
immediateClose: true
|
||
}));
|
||
}
|
||
else {
|
||
env.highlightedCode = _.highlight(env.code, env.grammar, env.language);
|
||
|
||
_.hooks.run('before-insert', env);
|
||
|
||
env.element.innerHTML = env.highlightedCode;
|
||
|
||
callback && callback.call(element);
|
||
|
||
_.hooks.run('after-highlight', env);
|
||
_.hooks.run('complete', env);
|
||
}
|
||
},
|
||
|
||
highlight: function (text, grammar, language) {
|
||
var tokens = _.tokenize(text, grammar);
|
||
return Token.stringify(_.util.encode(tokens), language);
|
||
},
|
||
|
||
tokenize: function(text, grammar, language) {
|
||
var Token = _.Token;
|
||
|
||
var strarr = [text];
|
||
|
||
var rest = grammar.rest;
|
||
|
||
if (rest) {
|
||
for (var token in rest) {
|
||
grammar[token] = rest[token];
|
||
}
|
||
|
||
delete grammar.rest;
|
||
}
|
||
|
||
tokenloop: for (var token in grammar) {
|
||
if(!grammar.hasOwnProperty(token) || !grammar[token]) {
|
||
continue;
|
||
}
|
||
|
||
var patterns = grammar[token];
|
||
patterns = (_.util.type(patterns) === "Array") ? patterns : [patterns];
|
||
|
||
for (var j = 0; j < patterns.length; ++j) {
|
||
var pattern = patterns[j],
|
||
inside = pattern.inside,
|
||
lookbehind = !!pattern.lookbehind,
|
||
lookbehindLength = 0,
|
||
alias = pattern.alias;
|
||
|
||
pattern = pattern.pattern || pattern;
|
||
|
||
for (var i=0; i<strarr.length; i++) { // Don’t cache length as it changes during the loop
|
||
|
||
var str = strarr[i];
|
||
|
||
if (strarr.length > text.length) {
|
||
// Something went terribly wrong, ABORT, ABORT!
|
||
break tokenloop;
|
||
}
|
||
|
||
if (str instanceof Token) {
|
||
continue;
|
||
}
|
||
|
||
pattern.lastIndex = 0;
|
||
|
||
var match = pattern.exec(str);
|
||
|
||
if (match) {
|
||
if(lookbehind) {
|
||
lookbehindLength = match[1].length;
|
||
}
|
||
|
||
var from = match.index - 1 + lookbehindLength,
|
||
match = match[0].slice(lookbehindLength),
|
||
len = match.length,
|
||
to = from + len,
|
||
before = str.slice(0, from + 1),
|
||
after = str.slice(to + 1);
|
||
|
||
var args = [i, 1];
|
||
|
||
if (before) {
|
||
args.push(before);
|
||
}
|
||
|
||
var wrapped = new Token(token, inside? _.tokenize(match, inside) : match, alias);
|
||
|
||
args.push(wrapped);
|
||
|
||
if (after) {
|
||
args.push(after);
|
||
}
|
||
|
||
Array.prototype.splice.apply(strarr, args);
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
return strarr;
|
||
},
|
||
|
||
hooks: {
|
||
all: {},
|
||
|
||
add: function (name, callback) {
|
||
var hooks = _.hooks.all;
|
||
|
||
hooks[name] = hooks[name] || [];
|
||
|
||
hooks[name].push(callback);
|
||
},
|
||
|
||
run: function (name, env) {
|
||
var callbacks = _.hooks.all[name];
|
||
|
||
if (!callbacks || !callbacks.length) {
|
||
return;
|
||
}
|
||
|
||
for (var i=0, callback; callback = callbacks[i++];) {
|
||
callback(env);
|
||
}
|
||
}
|
||
}
|
||
};
|
||
|
||
var Token = _.Token = function(type, content, alias) {
|
||
this.type = type;
|
||
this.content = content;
|
||
this.alias = alias;
|
||
};
|
||
|
||
Token.stringify = function(o, language, parent) {
|
||
if (typeof o == 'string') {
|
||
return o;
|
||
}
|
||
|
||
if (_.util.type(o) === 'Array') {
|
||
return o.map(function(element) {
|
||
return Token.stringify(element, language, o);
|
||
}).join('');
|
||
}
|
||
|
||
var env = {
|
||
type: o.type,
|
||
content: Token.stringify(o.content, language, parent),
|
||
tag: 'span',
|
||
classes: ['token', o.type],
|
||
attributes: {},
|
||
language: language,
|
||
parent: parent
|
||
};
|
||
|
||
if (env.type == 'comment') {
|
||
env.attributes['spellcheck'] = 'true';
|
||
}
|
||
|
||
if (o.alias) {
|
||
var aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias];
|
||
Array.prototype.push.apply(env.classes, aliases);
|
||
}
|
||
|
||
_.hooks.run('wrap', env);
|
||
|
||
var attributes = '';
|
||
|
||
for (var name in env.attributes) {
|
||
attributes += (attributes ? ' ' : '') + name + '="' + (env.attributes[name] || '') + '"';
|
||
}
|
||
|
||
return '<' + env.tag + ' class="' + env.classes.join(' ') + '" ' + attributes + '>' + env.content + '</' + env.tag + '>';
|
||
|
||
};
|
||
|
||
if (!_self.document) {
|
||
if (!_self.addEventListener) {
|
||
// in Node.js
|
||
return _self.Prism;
|
||
}
|
||
// In worker
|
||
_self.addEventListener('message', function(evt) {
|
||
var message = JSON.parse(evt.data),
|
||
lang = message.language,
|
||
code = message.code,
|
||
immediateClose = message.immediateClose;
|
||
|
||
_self.postMessage(_.highlight(code, _.languages[lang], lang));
|
||
if (immediateClose) {
|
||
_self.close();
|
||
}
|
||
}, false);
|
||
|
||
return _self.Prism;
|
||
}
|
||
|
||
// Get current script and highlight
|
||
var script = document.getElementsByTagName('script');
|
||
|
||
script = script[script.length - 1];
|
||
|
||
if (script) {
|
||
_.filename = script.src;
|
||
|
||
if (document.addEventListener && !script.hasAttribute('data-manual')) {
|
||
document.addEventListener('DOMContentLoaded', _.highlightAll);
|
||
}
|
||
}
|
||
|
||
return _self.Prism;
|
||
|
||
})();
|
||
|
||
if (typeof module !== 'undefined' && module.exports) {
|
||
module.exports = Prism;
|
||
}
|
||
|
||
// hack for components to work correctly in node.js
|
||
if (typeof global !== 'undefined') {
|
||
global.Prism = Prism;
|
||
}
|
||
|
||
|
||
/* **********************************************
|
||
Begin prism-markup.js
|
||
********************************************** */
|
||
|
||
Prism.languages.markup = {
|
||
'comment': /<!--[\w\W]*?-->/,
|
||
'prolog': /<\?[\w\W]+?\?>/,
|
||
'doctype': /<!DOCTYPE[\w\W]+?>/,
|
||
'cdata': /<!\[CDATA\[[\w\W]*?]]>/i,
|
||
'tag': {
|
||
pattern: /<\/?(?!\d)[^\s>\/=.$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,
|
||
inside: {
|
||
'tag': {
|
||
pattern: /^<\/?[^\s>\/]+/i,
|
||
inside: {
|
||
'punctuation': /^<\/?/,
|
||
'namespace': /^[^\s>\/:]+:/
|
||
}
|
||
},
|
||
'attr-value': {
|
||
pattern: /=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,
|
||
inside: {
|
||
'punctuation': /[=>"']/
|
||
}
|
||
},
|
||
'punctuation': /\/?>/,
|
||
'attr-name': {
|
||
pattern: /[^\s>\/]+/,
|
||
inside: {
|
||
'namespace': /^[^\s>\/:]+:/
|
||
}
|
||
}
|
||
|
||
}
|
||
},
|
||
'entity': /&#?[\da-z]{1,8};/i
|
||
};
|
||
|
||
// Plugin to make entity title show the real entity, idea by Roman Komarov
|
||
Prism.hooks.add('wrap', function(env) {
|
||
|
||
if (env.type === 'entity') {
|
||
env.attributes['title'] = env.content.replace(/&/, '&');
|
||
}
|
||
});
|
||
|
||
Prism.languages.xml = Prism.languages.markup;
|
||
Prism.languages.html = Prism.languages.markup;
|
||
Prism.languages.mathml = Prism.languages.markup;
|
||
Prism.languages.svg = Prism.languages.markup;
|
||
|
||
|
||
/* **********************************************
|
||
Begin prism-css.js
|
||
********************************************** */
|
||
|
||
Prism.languages.css = {
|
||
'comment': /\/\*[\w\W]*?\*\//,
|
||
'atrule': {
|
||
pattern: /@[\w-]+?.*?(;|(?=\s*\{))/i,
|
||
inside: {
|
||
'rule': /@[\w-]+/
|
||
// See rest below
|
||
}
|
||
},
|
||
'url': /url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,
|
||
'selector': /[^\{\}\s][^\{\};]*?(?=\s*\{)/,
|
||
'string': /("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,
|
||
'property': /(\b|\B)[\w-]+(?=\s*:)/i,
|
||
'important': /\B!important\b/i,
|
||
'function': /[-a-z0-9]+(?=\()/i,
|
||
'punctuation': /[(){};:]/
|
||
};
|
||
|
||
Prism.languages.css['atrule'].inside.rest = Prism.util.clone(Prism.languages.css);
|
||
|
||
if (Prism.languages.markup) {
|
||
Prism.languages.insertBefore('markup', 'tag', {
|
||
'style': {
|
||
pattern: /(<style[\w\W]*?>)[\w\W]*?(?=<\/style>)/i,
|
||
lookbehind: true,
|
||
inside: Prism.languages.css,
|
||
alias: 'language-css'
|
||
}
|
||
});
|
||
|
||
Prism.languages.insertBefore('inside', 'attr-value', {
|
||
'style-attr': {
|
||
pattern: /\s*style=("|').*?\1/i,
|
||
inside: {
|
||
'attr-name': {
|
||
pattern: /^\s*style/i,
|
||
inside: Prism.languages.markup.tag.inside
|
||
},
|
||
'punctuation': /^\s*=\s*['"]|['"]\s*$/,
|
||
'attr-value': {
|
||
pattern: /.+/i,
|
||
inside: Prism.languages.css
|
||
}
|
||
},
|
||
alias: 'language-css'
|
||
}
|
||
}, Prism.languages.markup.tag);
|
||
}
|
||
|
||
/* **********************************************
|
||
Begin prism-clike.js
|
||
********************************************** */
|
||
|
||
Prism.languages.clike = {
|
||
'comment': [
|
||
{
|
||
pattern: /(^|[^\\])\/\*[\w\W]*?\*\//,
|
||
lookbehind: true
|
||
},
|
||
{
|
||
pattern: /(^|[^\\:])\/\/.*/,
|
||
lookbehind: true
|
||
}
|
||
],
|
||
'string': /(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
|
||
'class-name': {
|
||
pattern: /((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,
|
||
lookbehind: true,
|
||
inside: {
|
||
punctuation: /(\.|\\)/
|
||
}
|
||
},
|
||
'keyword': /\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,
|
||
'boolean': /\b(true|false)\b/,
|
||
'function': /[a-z0-9_]+(?=\()/i,
|
||
'number': /\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,
|
||
'operator': /--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,
|
||
'punctuation': /[{}[\];(),.:]/
|
||
};
|
||
|
||
|
||
/* **********************************************
|
||
Begin prism-javascript.js
|
||
********************************************** */
|
||
|
||
Prism.languages.javascript = Prism.languages.extend('clike', {
|
||
'keyword': /\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,
|
||
'number': /\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,
|
||
// Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)
|
||
'function': /[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i
|
||
});
|
||
|
||
Prism.languages.insertBefore('javascript', 'keyword', {
|
||
'regex': {
|
||
pattern: /(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,
|
||
lookbehind: true
|
||
}
|
||
});
|
||
|
||
Prism.languages.insertBefore('javascript', 'class-name', {
|
||
'template-string': {
|
||
pattern: /`(?:\\`|\\?[^`])*`/,
|
||
inside: {
|
||
'interpolation': {
|
||
pattern: /\$\{[^}]+\}/,
|
||
inside: {
|
||
'interpolation-punctuation': {
|
||
pattern: /^\$\{|\}$/,
|
||
alias: 'punctuation'
|
||
},
|
||
rest: Prism.languages.javascript
|
||
}
|
||
},
|
||
'string': /[\s\S]+/
|
||
}
|
||
}
|
||
});
|
||
|
||
if (Prism.languages.markup) {
|
||
Prism.languages.insertBefore('markup', 'tag', {
|
||
'script': {
|
||
pattern: /(<script[\w\W]*?>)[\w\W]*?(?=<\/script>)/i,
|
||
lookbehind: true,
|
||
inside: Prism.languages.javascript,
|
||
alias: 'language-javascript'
|
||
}
|
||
});
|
||
}
|
||
|
||
Prism.languages.js = Prism.languages.javascript;
|
||
|
||
/* **********************************************
|
||
Begin prism-file-highlight.js
|
||
********************************************** */
|
||
|
||
(function () {
|
||
if (typeof self === 'undefined' || !self.Prism || !self.document || !document.querySelector) {
|
||
return;
|
||
}
|
||
|
||
self.Prism.fileHighlight = function() {
|
||
|
||
var Extensions = {
|
||
'js': 'javascript',
|
||
'html': 'markup',
|
||
'svg': 'markup',
|
||
'xml': 'markup',
|
||
'py': 'python',
|
||
'rb': 'ruby',
|
||
'ps1': 'powershell',
|
||
'psm1': 'powershell'
|
||
};
|
||
|
||
if(Array.prototype.forEach) { // Check to prevent error in IE8
|
||
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
||
var src = pre.getAttribute('data-src');
|
||
|
||
var language, parent = pre;
|
||
var lang = /\blang(?:uage)?-(?!\*)(\w+)\b/i;
|
||
while (parent && !lang.test(parent.className)) {
|
||
parent = parent.parentNode;
|
||
}
|
||
|
||
if (parent) {
|
||
language = (pre.className.match(lang) || [, ''])[1];
|
||
}
|
||
|
||
if (!language) {
|
||
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
||
language = Extensions[extension] || extension;
|
||
}
|
||
|
||
var code = document.createElement('code');
|
||
code.className = 'language-' + language;
|
||
|
||
pre.textContent = '';
|
||
|
||
code.textContent = 'Loading…';
|
||
|
||
pre.appendChild(code);
|
||
|
||
var xhr = new XMLHttpRequest();
|
||
|
||
xhr.open('GET', src, true);
|
||
|
||
xhr.onreadystatechange = function () {
|
||
if (xhr.readyState == 4) {
|
||
|
||
if (xhr.status < 400 && xhr.responseText) {
|
||
code.textContent = xhr.responseText;
|
||
|
||
Prism.highlightElement(code);
|
||
}
|
||
else if (xhr.status >= 400) {
|
||
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
||
}
|
||
else {
|
||
code.textContent = '✖ Error: File does not exist or is empty';
|
||
}
|
||
}
|
||
};
|
||
|
||
xhr.send(null);
|
||
});
|
||
}
|
||
|
||
};
|
||
|
||
self.Prism.fileHighlight();
|
||
|
||
})();
|
||
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.actionscript = Prism.languages.extend('javascript', {
|
||
'keyword': /\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\b/,
|
||
'operator': /\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/
|
||
});
|
||
Prism.languages.actionscript['class-name'].alias = 'function';
|
||
|
||
if (Prism.languages.markup) {
|
||
Prism.languages.insertBefore('actionscript', 'string', {
|
||
'xml': {
|
||
pattern: /(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\\1|\\?(?!\1)[\w\W])*\2)*\s*\/?>/,
|
||
lookbehind: true,
|
||
inside: {
|
||
rest: Prism.languages.markup
|
||
}
|
||
}
|
||
});
|
||
}
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.c = Prism.languages.extend('clike', {
|
||
'keyword': /\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,
|
||
'operator': /\-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*\/]/,
|
||
'number': /\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)[ful]*\b/i
|
||
});
|
||
|
||
Prism.languages.insertBefore('c', 'string', {
|
||
'macro': {
|
||
// allow for multiline macro definitions
|
||
// spaces after the # character compile fine with gcc
|
||
pattern: /(^\s*)#\s*[a-z]+([^\r\n\\]|\\.|\\(?:\r\n?|\n))*/im,
|
||
lookbehind: true,
|
||
alias: 'property',
|
||
inside: {
|
||
// highlight the path of the include statement as a string
|
||
'string': {
|
||
pattern: /(#\s*include\s*)(<.+?>|("|')(\\?.)+?\3)/,
|
||
lookbehind: true
|
||
},
|
||
// highlight macro directives as keywords
|
||
'directive': {
|
||
pattern: /(#\s*)\b(define|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\b/,
|
||
lookbehind: true,
|
||
alias: 'keyword'
|
||
}
|
||
}
|
||
},
|
||
// highlight predefined macros as constants
|
||
'constant': /\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|stdin|stdout|stderr)\b/
|
||
});
|
||
|
||
delete Prism.languages.c['class-name'];
|
||
delete Prism.languages.c['boolean'];
|
||
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.cpp = Prism.languages.extend('c', {
|
||
'keyword': /\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,
|
||
'boolean': /\b(true|false)\b/,
|
||
'operator': /[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\->|:{1,2}|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/
|
||
});
|
||
|
||
Prism.languages.insertBefore('cpp', 'keyword', {
|
||
'class-name': {
|
||
pattern: /(class\s+)[a-z0-9_]+/i,
|
||
lookbehind: true
|
||
}
|
||
});
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.csharp = Prism.languages.extend('clike', {
|
||
'keyword': /\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\b/,
|
||
'string': [
|
||
/@("|')(\1\1|\\\1|\\?(?!\1)[\s\S])*\1/,
|
||
/("|')(\\?.)*?\1/
|
||
],
|
||
'number': /\b-?(0x[\da-f]+|\d*\.?\d+f?)\b/i
|
||
});
|
||
|
||
Prism.languages.insertBefore('csharp', 'keyword', {
|
||
'preprocessor': {
|
||
pattern: /(^\s*)#.*/m,
|
||
lookbehind: true,
|
||
alias: 'property',
|
||
inside: {
|
||
// highlight preprocessor directives as keywords
|
||
'directive': {
|
||
pattern: /(\s*#)\b(define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\b/,
|
||
lookbehind: true,
|
||
alias: 'keyword'
|
||
}
|
||
}
|
||
}
|
||
});
|
||
|
||
/* */
|
||
"format cjs";
|
||
/**
|
||
* Original by Aaron Harun: http://aahacreative.com/2012/07/31/php-syntax-highlighting-prism/
|
||
* Modified by Miles Johnson: http://milesj.me
|
||
*
|
||
* Supports the following:
|
||
* - Extends clike syntax
|
||
* - Support for PHP 5.3+ (namespaces, traits, generators, etc)
|
||
* - Smarter constant and function matching
|
||
*
|
||
* Adds the following new token classes:
|
||
* constant, delimiter, variable, function, package
|
||
*/
|
||
|
||
Prism.languages.php = Prism.languages.extend('clike', {
|
||
'keyword': /\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\b/i,
|
||
'constant': /\b[A-Z0-9_]{2,}\b/,
|
||
'comment': {
|
||
pattern: /(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,
|
||
lookbehind: true
|
||
}
|
||
});
|
||
|
||
// Shell-like comments are matched after strings, because they are less
|
||
// common than strings containing hashes...
|
||
Prism.languages.insertBefore('php', 'class-name', {
|
||
'shell-comment': {
|
||
pattern: /(^|[^\\])#.*/,
|
||
lookbehind: true,
|
||
alias: 'comment'
|
||
}
|
||
});
|
||
|
||
Prism.languages.insertBefore('php', 'keyword', {
|
||
'delimiter': /\?>|<\?(?:php)?/i,
|
||
'variable': /\$\w+\b/i,
|
||
'package': {
|
||
pattern: /(\\|namespace\s+|use\s+)[\w\\]+/,
|
||
lookbehind: true,
|
||
inside: {
|
||
punctuation: /\\/
|
||
}
|
||
}
|
||
});
|
||
|
||
// Must be defined after the function pattern
|
||
Prism.languages.insertBefore('php', 'operator', {
|
||
'property': {
|
||
pattern: /(->)[\w]+/,
|
||
lookbehind: true
|
||
}
|
||
});
|
||
|
||
// Add HTML support of the markup language exists
|
||
if (Prism.languages.markup) {
|
||
|
||
// Tokenize all inline PHP blocks that are wrapped in <?php ?>
|
||
// This allows for easy PHP + markup highlighting
|
||
Prism.hooks.add('before-highlight', function(env) {
|
||
if (env.language !== 'php') {
|
||
return;
|
||
}
|
||
|
||
env.tokenStack = [];
|
||
|
||
env.backupCode = env.code;
|
||
env.code = env.code.replace(/(?:<\?php|<\?)[\w\W]*?(?:\?>)/ig, function(match) {
|
||
env.tokenStack.push(match);
|
||
|
||
return '{{{PHP' + env.tokenStack.length + '}}}';
|
||
});
|
||
});
|
||
|
||
// Restore env.code for other plugins (e.g. line-numbers)
|
||
Prism.hooks.add('before-insert', function(env) {
|
||
if (env.language === 'php') {
|
||
env.code = env.backupCode;
|
||
delete env.backupCode;
|
||
}
|
||
});
|
||
|
||
// Re-insert the tokens after highlighting
|
||
Prism.hooks.add('after-highlight', function(env) {
|
||
if (env.language !== 'php') {
|
||
return;
|
||
}
|
||
|
||
for (var i = 0, t; t = env.tokenStack[i]; i++) {
|
||
// The replace prevents $$, $&, $`, $', $n, $nn from being interpreted as special patterns
|
||
env.highlightedCode = env.highlightedCode.replace('{{{PHP' + (i + 1) + '}}}', Prism.highlight(t, env.grammar, 'php').replace(/\$/g, '$$$$'));
|
||
}
|
||
|
||
env.element.innerHTML = env.highlightedCode;
|
||
});
|
||
|
||
// Wrap tokens in classes that are missing them
|
||
Prism.hooks.add('wrap', function(env) {
|
||
if (env.language === 'php' && env.type === 'markup') {
|
||
env.content = env.content.replace(/(\{\{\{PHP[0-9]+\}\}\})/g, "<span class=\"token php\">$1</span>");
|
||
}
|
||
});
|
||
|
||
// Add the rules before all others
|
||
Prism.languages.insertBefore('php', 'comment', {
|
||
'markup': {
|
||
pattern: /<[^?]\/?(.*?)>/,
|
||
inside: Prism.languages.markup
|
||
},
|
||
'php': /\{\{\{PHP[0-9]+\}\}\}/
|
||
});
|
||
}
|
||
|
||
/* */
|
||
"format cjs";
|
||
(function(Prism) {
|
||
|
||
// Ignore comments starting with { to privilege string interpolation highlighting
|
||
var comment = /#(?!\{).+/,
|
||
interpolation = {
|
||
pattern: /#\{[^}]+\}/,
|
||
alias: 'variable'
|
||
};
|
||
|
||
Prism.languages.coffeescript = Prism.languages.extend('javascript', {
|
||
'comment': comment,
|
||
'string': [
|
||
|
||
// Strings are multiline
|
||
/'(?:\\?[^\\])*?'/,
|
||
|
||
{
|
||
// Strings are multiline
|
||
pattern: /"(?:\\?[^\\])*?"/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
}
|
||
],
|
||
'keyword': /\b(and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,
|
||
'class-member': {
|
||
pattern: /@(?!\d)\w+/,
|
||
alias: 'variable'
|
||
}
|
||
});
|
||
|
||
Prism.languages.insertBefore('coffeescript', 'comment', {
|
||
'multiline-comment': {
|
||
pattern: /###[\s\S]+?###/,
|
||
alias: 'comment'
|
||
},
|
||
|
||
// Block regexp can contain comments and interpolation
|
||
'block-regex': {
|
||
pattern: /\/{3}[\s\S]*?\/{3}/,
|
||
alias: 'regex',
|
||
inside: {
|
||
'comment': comment,
|
||
'interpolation': interpolation
|
||
}
|
||
}
|
||
});
|
||
|
||
Prism.languages.insertBefore('coffeescript', 'string', {
|
||
'inline-javascript': {
|
||
pattern: /`(?:\\?[\s\S])*?`/,
|
||
inside: {
|
||
'delimiter': {
|
||
pattern: /^`|`$/,
|
||
alias: 'punctuation'
|
||
},
|
||
rest: Prism.languages.javascript
|
||
}
|
||
},
|
||
|
||
// Block strings
|
||
'multiline-string': [
|
||
{
|
||
pattern: /'''[\s\S]*?'''/,
|
||
alias: 'string'
|
||
},
|
||
{
|
||
pattern: /"""[\s\S]*?"""/,
|
||
alias: 'string',
|
||
inside: {
|
||
interpolation: interpolation
|
||
}
|
||
}
|
||
]
|
||
|
||
});
|
||
|
||
Prism.languages.insertBefore('coffeescript', 'keyword', {
|
||
// Object property
|
||
'property': /(?!\d)\w+(?=\s*:(?!:))/
|
||
});
|
||
|
||
}(Prism));
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.go = Prism.languages.extend('clike', {
|
||
'keyword': /\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,
|
||
'builtin': /\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\b/,
|
||
'boolean': /\b(_|iota|nil|true|false)\b/,
|
||
'operator': /[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,
|
||
'number': /\b(-?(0x[a-f\d]+|(\d+\.?\d*|\.\d+)(e[-+]?\d+)?)i?)\b/i,
|
||
'string': /("|'|`)(\\?.|\r|\n)*?\1/
|
||
});
|
||
delete Prism.languages.go['class-name'];
|
||
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.haskell= {
|
||
'comment': {
|
||
pattern: /(^|[^-!#$%*+=?&@|~.:<>^\\\/])(--[^-!#$%*+=?&@|~.:<>^\\\/].*|{-[\w\W]*?-})/m,
|
||
lookbehind: true
|
||
},
|
||
'char': /'([^\\']|\\([abfnrtv\\"'&]|\^[A-Z@[\]\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,
|
||
'string': /"([^\\"]|\\([abfnrtv\\"'&]|\^[A-Z@[\]\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\s+\\)*"/,
|
||
'keyword' : /\b(case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,
|
||
'import_statement' : {
|
||
// The imported or hidden names are not included in this import
|
||
// statement. This is because we want to highlight those exactly like
|
||
// we do for the names in the program.
|
||
pattern: /(\r?\n|\r|^)\s*import\s+(qualified\s+)?([A-Z][_a-zA-Z0-9']*)(\.[A-Z][_a-zA-Z0-9']*)*(\s+as\s+([A-Z][_a-zA-Z0-9']*)(\.[A-Z][_a-zA-Z0-9']*)*)?(\s+hiding\b)?/m,
|
||
inside: {
|
||
'keyword': /\b(import|qualified|as|hiding)\b/
|
||
}
|
||
},
|
||
// These are builtin variables only. Constructors are highlighted later as a constant.
|
||
'builtin': /\b(abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,
|
||
// decimal integers and floating point numbers | octal integers | hexadecimal integers
|
||
'number' : /\b(\d+(\.\d+)?(e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,
|
||
// Most of this is needed because of the meaning of a single '.'.
|
||
// If it stands alone freely, it is the function composition.
|
||
// It may also be a separator between a module name and an identifier => no
|
||
// operator. If it comes together with other special characters it is an
|
||
// operator too.
|
||
'operator' : /\s\.\s|[-!#$%*+=?&@|~.:<>^\\\/]*\.[-!#$%*+=?&@|~.:<>^\\\/]+|[-!#$%*+=?&@|~.:<>^\\\/]+\.[-!#$%*+=?&@|~.:<>^\\\/]*|[-!#$%*+=?&@|~:<>^\\\/]+|`([A-Z][_a-zA-Z0-9']*\.)*[_a-z][_a-zA-Z0-9']*`/,
|
||
// In Haskell, nearly everything is a variable, do not highlight these.
|
||
'hvariable': /\b([A-Z][_a-zA-Z0-9']*\.)*[_a-z][_a-zA-Z0-9']*\b/,
|
||
'constant': /\b([A-Z][_a-zA-Z0-9']*\.)*[A-Z][_a-zA-Z0-9']*\b/,
|
||
'punctuation' : /[{}[\];(),.:]/
|
||
};
|
||
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.java = Prism.languages.extend('clike', {
|
||
'keyword': /\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/,
|
||
'number': /\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+(?:e[+-]?\d+)?[df]?\b/i,
|
||
'operator': {
|
||
pattern: /(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,
|
||
lookbehind: true
|
||
}
|
||
});
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.lua = {
|
||
'comment': /^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,
|
||
// \z may be used to skip the following space
|
||
'string': /(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[\s\S]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,
|
||
'number': /\b0x[a-f\d]+\.?[a-f\d]*(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|\.?\d*(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,
|
||
'keyword': /\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,
|
||
'function': /(?!\d)\w+(?=\s*(?:[({]))/,
|
||
'operator': [
|
||
/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,
|
||
{
|
||
// Match ".." but don't break "..."
|
||
pattern: /(^|[^.])\.\.(?!\.)/,
|
||
lookbehind: true
|
||
}
|
||
],
|
||
'punctuation': /[\[\](){},;]|\.+|:+/
|
||
};
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.matlab = {
|
||
// We put string before comment, because of printf() patterns that contain "%"
|
||
'string': /\B'(?:''|[^'\n])*'/,
|
||
'comment': [
|
||
/%\{[\s\S]*?\}%/,
|
||
/%.+/
|
||
],
|
||
// FIXME We could handle imaginary numbers as a whole
|
||
'number': /\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,
|
||
'keyword': /\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,
|
||
'function': /(?!\d)\w+(?=\s*\()/,
|
||
'operator': /\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,
|
||
'punctuation': /\.{3}|[.,;\[\](){}!]/
|
||
};
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.perl = {
|
||
'comment': [
|
||
{
|
||
// POD
|
||
pattern: /(^\s*)=\w+[\s\S]*?=cut.*/m,
|
||
lookbehind: true
|
||
},
|
||
{
|
||
pattern: /(^|[^\\$])#.*/,
|
||
lookbehind: true
|
||
}
|
||
],
|
||
// TODO Could be nice to handle Heredoc too.
|
||
'string': [
|
||
// q/.../
|
||
/\b(?:q|qq|qx|qw)\s*([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1/,
|
||
|
||
// q a...a
|
||
/\b(?:q|qq|qx|qw)\s+([a-zA-Z0-9])(?:[^\\]|\\[\s\S])*?\1/,
|
||
|
||
// q(...)
|
||
/\b(?:q|qq|qx|qw)\s*\((?:[^()\\]|\\[\s\S])*\)/,
|
||
|
||
// q{...}
|
||
/\b(?:q|qq|qx|qw)\s*\{(?:[^{}\\]|\\[\s\S])*\}/,
|
||
|
||
// q[...]
|
||
/\b(?:q|qq|qx|qw)\s*\[(?:[^[\]\\]|\\[\s\S])*\]/,
|
||
|
||
// q<...>
|
||
/\b(?:q|qq|qx|qw)\s*<(?:[^<>\\]|\\[\s\S])*>/,
|
||
|
||
// "...", `...`
|
||
/("|`)(?:[^\\]|\\[\s\S])*?\1/,
|
||
|
||
// '...'
|
||
// FIXME Multi-line single-quoted strings are not supported as they would break variables containing '
|
||
/'(?:[^'\\\r\n]|\\.)*'/
|
||
],
|
||
'regex': [
|
||
// m/.../
|
||
/\b(?:m|qr)\s*([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1[msixpodualngc]*/,
|
||
|
||
// m a...a
|
||
/\b(?:m|qr)\s+([a-zA-Z0-9])(?:[^\\]|\\.)*?\1[msixpodualngc]*/,
|
||
|
||
// m(...)
|
||
/\b(?:m|qr)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngc]*/,
|
||
|
||
// m{...}
|
||
/\b(?:m|qr)\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngc]*/,
|
||
|
||
// m[...]
|
||
/\b(?:m|qr)\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngc]*/,
|
||
|
||
// m<...>
|
||
/\b(?:m|qr)\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngc]*/,
|
||
|
||
// The lookbehinds prevent -s from breaking
|
||
// FIXME We don't handle change of separator like s(...)[...]
|
||
// s/.../.../
|
||
{
|
||
pattern: /(^|[^-]\b)(?:s|tr|y)\s*([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\2(?:[^\\]|\\[\s\S])*?\2[msixpodualngcer]*/,
|
||
lookbehind: true
|
||
},
|
||
|
||
// s a...a...a
|
||
{
|
||
pattern: /(^|[^-]\b)(?:s|tr|y)\s+([a-zA-Z0-9])(?:[^\\]|\\[\s\S])*?\2(?:[^\\]|\\[\s\S])*?\2[msixpodualngcer]*/,
|
||
lookbehind: true
|
||
},
|
||
|
||
// s(...)(...)
|
||
{
|
||
pattern: /(^|[^-]\b)(?:s|tr|y)\s*\((?:[^()\\]|\\[\s\S])*\)\s*\((?:[^()\\]|\\[\s\S])*\)[msixpodualngcer]*/,
|
||
lookbehind: true
|
||
},
|
||
|
||
// s{...}{...}
|
||
{
|
||
pattern: /(^|[^-]\b)(?:s|tr|y)\s*\{(?:[^{}\\]|\\[\s\S])*\}\s*\{(?:[^{}\\]|\\[\s\S])*\}[msixpodualngcer]*/,
|
||
lookbehind: true
|
||
},
|
||
|
||
// s[...][...]
|
||
{
|
||
pattern: /(^|[^-]\b)(?:s|tr|y)\s*\[(?:[^[\]\\]|\\[\s\S])*\]\s*\[(?:[^[\]\\]|\\[\s\S])*\][msixpodualngcer]*/,
|
||
lookbehind: true
|
||
},
|
||
|
||
// s<...><...>
|
||
{
|
||
pattern: /(^|[^-]\b)(?:s|tr|y)\s*<(?:[^<>\\]|\\[\s\S])*>\s*<(?:[^<>\\]|\\[\s\S])*>[msixpodualngcer]*/,
|
||
lookbehind: true
|
||
},
|
||
|
||
// /.../
|
||
// The look-ahead tries to prevent two divisions on
|
||
// the same line from being highlighted as regex.
|
||
// This does not support multi-line regex.
|
||
/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\b))/
|
||
],
|
||
|
||
// FIXME Not sure about the handling of ::, ', and #
|
||
'variable': [
|
||
// ${^POSTMATCH}
|
||
/[&*$@%]\{\^[A-Z]+\}/,
|
||
// $^V
|
||
/[&*$@%]\^[A-Z_]/,
|
||
// ${...}
|
||
/[&*$@%]#?(?=\{)/,
|
||
// $foo
|
||
/[&*$@%]#?((::)*'?(?!\d)[\w$]+)+(::)*/i,
|
||
// $1
|
||
/[&*$@%]\d+/,
|
||
// $_, @_, %!
|
||
// The negative lookahead prevents from breaking the %= operator
|
||
/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/
|
||
],
|
||
'filehandle': {
|
||
// <>, <FOO>, _
|
||
pattern: /<(?![<=])\S*>|\b_\b/,
|
||
alias: 'symbol'
|
||
},
|
||
'vstring': {
|
||
// v1.2, 1.2.3
|
||
pattern: /v\d+(\.\d+)*|\d+(\.\d+){2,}/,
|
||
alias: 'string'
|
||
},
|
||
'function': {
|
||
pattern: /sub [a-z0-9_]+/i,
|
||
inside: {
|
||
keyword: /sub/
|
||
}
|
||
},
|
||
'keyword': /\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|say|state|sub|switch|undef|unless|until|use|when|while)\b/,
|
||
'number': /\b-?(0x[\dA-Fa-f](_?[\dA-Fa-f])*|0b[01](_?[01])*|(\d(_?\d)*)?\.?\d(_?\d)*([Ee][+-]?\d+)?)\b/,
|
||
'operator': /-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\b/,
|
||
'punctuation': /[{}[\];(),:]/
|
||
};
|
||
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.python= {
|
||
'triple-quoted-string': {
|
||
pattern: /"""[\s\S]+?"""|'''[\s\S]+?'''/,
|
||
alias: 'string'
|
||
},
|
||
'comment': {
|
||
pattern: /(^|[^\\])#.*/,
|
||
lookbehind: true
|
||
},
|
||
'string': /("|')(?:\\?.)*?\1/,
|
||
'function' : {
|
||
pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\()/g,
|
||
lookbehind: true
|
||
},
|
||
'class-name': {
|
||
pattern: /(\bclass\s+)[a-z0-9_]+/i,
|
||
lookbehind: true
|
||
},
|
||
'keyword' : /\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\b/,
|
||
'boolean' : /\b(?:True|False)\b/,
|
||
'number' : /\b-?(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,
|
||
'operator' : /[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not)\b/,
|
||
'punctuation' : /[{}[\];(),.:]/
|
||
};
|
||
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.r = {
|
||
'comment': /#.*/,
|
||
'string': /(['"])(?:\\?.)*?\1/,
|
||
'percent-operator': {
|
||
// Includes user-defined operators
|
||
// and %%, %*%, %/%, %in%, %o%, %x%
|
||
pattern: /%[^%\s]*%/,
|
||
alias: 'operator'
|
||
},
|
||
'boolean': /\b(?:TRUE|FALSE)\b/,
|
||
'ellipsis': /\.\.(?:\.|\d+)/,
|
||
'number': [
|
||
/\b(?:NaN|Inf)\b/,
|
||
/\b(?:0x[\dA-Fa-f]+(?:\.\d*)?|\d*\.?\d+)(?:[EePp][+-]?\d+)?[iL]?\b/
|
||
],
|
||
'keyword': /\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/,
|
||
'operator': /->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,
|
||
'punctuation': /[(){}\[\],;]/
|
||
};
|
||
/* */
|
||
"format cjs";
|
||
/**
|
||
* Original by Samuel Flores
|
||
*
|
||
* Adds the following new token classes:
|
||
* constant, builtin, variable, symbol, regex
|
||
*/
|
||
(function(Prism) {
|
||
Prism.languages.ruby = Prism.languages.extend('clike', {
|
||
'comment': /#(?!\{[^\r\n]*?\}).*/,
|
||
'keyword': /\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/
|
||
});
|
||
|
||
var interpolation = {
|
||
pattern: /#\{[^}]+\}/,
|
||
inside: {
|
||
'delimiter': {
|
||
pattern: /^#\{|\}$/,
|
||
alias: 'tag'
|
||
},
|
||
rest: Prism.util.clone(Prism.languages.ruby)
|
||
}
|
||
};
|
||
|
||
Prism.languages.insertBefore('ruby', 'keyword', {
|
||
'regex': [
|
||
{
|
||
pattern: /%r([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1[gim]{0,3}/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
pattern: /%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
// Here we need to specifically allow interpolation
|
||
pattern: /%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
pattern: /%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
pattern: /%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
pattern: /(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,
|
||
lookbehind: true
|
||
}
|
||
],
|
||
'variable': /[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/,
|
||
'symbol': /:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/
|
||
});
|
||
|
||
Prism.languages.insertBefore('ruby', 'number', {
|
||
'builtin': /\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,
|
||
'constant': /\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\b)/
|
||
});
|
||
|
||
Prism.languages.ruby.string = [
|
||
{
|
||
pattern: /%[qQiIwWxs]?([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
pattern: /%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
// Here we need to specifically allow interpolation
|
||
pattern: /%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
pattern: /%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
pattern: /%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
},
|
||
{
|
||
pattern: /("|')(#\{[^}]+\}|\\(?:\r?\n|\r)|\\?.)*?\1/,
|
||
inside: {
|
||
'interpolation': interpolation
|
||
}
|
||
}
|
||
];
|
||
}(Prism));
|
||
/* */
|
||
"format cjs";
|
||
(function(Prism) {
|
||
var insideString = {
|
||
variable: [
|
||
// Arithmetic Environment
|
||
{
|
||
pattern: /\$?\(\([\w\W]+?\)\)/,
|
||
inside: {
|
||
// If there is a $ sign at the beginning highlight $(( and )) as variable
|
||
variable: [{
|
||
pattern: /(^\$\(\([\w\W]+)\)\)/,
|
||
lookbehind: true
|
||
},
|
||
/^\$\(\(/,
|
||
],
|
||
number: /\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee]-?\d+)?)\b/,
|
||
// Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic
|
||
operator: /--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,
|
||
// If there is no $ sign at the beginning highlight (( and )) as punctuation
|
||
punctuation: /\(\(?|\)\)?|,|;/
|
||
}
|
||
},
|
||
// Command Substitution
|
||
{
|
||
pattern: /\$\([^)]+\)|`[^`]+`/,
|
||
inside: {
|
||
variable: /^\$\(|^`|\)$|`$/
|
||
}
|
||
},
|
||
/\$(?:[a-z0-9_#\?\*!@]+|\{[^}]+\})/i
|
||
],
|
||
};
|
||
|
||
Prism.languages.bash = {
|
||
'shebang': {
|
||
pattern: /^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,
|
||
alias: 'important'
|
||
},
|
||
'comment': {
|
||
pattern: /(^|[^"{\\])#.*/,
|
||
lookbehind: true
|
||
},
|
||
'string': [
|
||
//Support for Here-Documents https://en.wikipedia.org/wiki/Here_document
|
||
{
|
||
pattern: /((?:^|[^<])<<\s*)(?:"|')?(\w+?)(?:"|')?\s*\r?\n(?:[\s\S])*?\r?\n\2/g,
|
||
lookbehind: true,
|
||
inside: insideString
|
||
},
|
||
{
|
||
pattern: /("|')(?:\\?[\s\S])*?\1/g,
|
||
inside: insideString
|
||
}
|
||
],
|
||
'variable': insideString.variable,
|
||
// Originally based on http://ss64.com/bash/
|
||
'function': {
|
||
pattern: /(^|\s|;|\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\s|;|\||&)/,
|
||
lookbehind: true
|
||
},
|
||
'keyword': {
|
||
pattern: /(^|\s|;|\||&)(?:let|:|\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\s|;|\||&)/,
|
||
lookbehind: true
|
||
},
|
||
'boolean': {
|
||
pattern: /(^|\s|;|\||&)(?:true|false)(?=$|\s|;|\||&)/,
|
||
lookbehind: true
|
||
},
|
||
'operator': /&&?|\|\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,
|
||
'punctuation': /\$?\(\(?|\)\)?|\.\.|[{}[\];]/
|
||
};
|
||
|
||
var inside = insideString.variable[1].inside;
|
||
inside['function'] = Prism.languages.bash['function'];
|
||
inside.keyword = Prism.languages.bash.keyword;
|
||
inside.boolean = Prism.languages.bash.boolean;
|
||
inside.operator = Prism.languages.bash.operator;
|
||
inside.punctuation = Prism.languages.bash.punctuation;
|
||
})(Prism);
|
||
/* */
|
||
"format cjs";
|
||
// issues: nested multiline comments
|
||
Prism.languages.swift = Prism.languages.extend('clike', {
|
||
'string': {
|
||
pattern: /("|')(\\(?:\((?:[^()]|\([^)]+\))+\)|\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
|
||
inside: {
|
||
'interpolation': {
|
||
pattern: /\\\((?:[^()]|\([^)]+\))+\)/,
|
||
inside: {
|
||
delimiter: {
|
||
pattern: /^\\\(|\)$/,
|
||
alias: 'variable'
|
||
}
|
||
// See rest below
|
||
}
|
||
}
|
||
}
|
||
},
|
||
'keyword': /\b(as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|Protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\b/,
|
||
'number': /\b([\d_]+(\.[\de_]+)?|0x[a-f0-9_]+(\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,
|
||
'constant': /\b(nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,
|
||
'atrule': /@\b(IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\b/,
|
||
'builtin': /\b([A-Z]\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\b/
|
||
});
|
||
Prism.languages.swift['string'].inside['interpolation'].inside.rest = Prism.util.clone(Prism.languages.swift);
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.objectivec = Prism.languages.extend('c', {
|
||
'keyword': /\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\b|(@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,
|
||
'string': /("|')(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|@"(\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
|
||
'operator': /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/
|
||
});
|
||
|
||
/* */
|
||
"format cjs";
|
||
Prism.languages.scala = Prism.languages.extend('java', {
|
||
'keyword': /<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,
|
||
'string': /"""[\W\w]*?"""|"(?:[^"\\\r\n]|\\.)*"|'(?:[^\\\r\n']|\\.[^\\']*)'/,
|
||
'builtin': /\b(?:String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\b/,
|
||
'number': /\b(?:0x[\da-f]*\.?[\da-f]+|\d*\.?\d+e?\d*[dfl]?)\b/i,
|
||
'symbol': /'[^\d\s\\]\w*/
|
||
});
|
||
delete Prism.languages.scala['class-name'];
|
||
delete Prism.languages.scala['function'];
|
||
|
||
!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in p||(p[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==q.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=p[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex<h){if(void 0!==g.groupIndex&&(b[g.groupIndex].splice(q.call(b[g.groupIndex],g),1),0==b[g.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");g.groupIndex=h}e(g,b)}}}}function f(a){var b=p[a];b.groupIndex=0;var c=[];e(b,c);for(var d=!!b.declarative==c.length%2,f=c.length-1;f>=0;f--){for(var g=c[f],i=0;i<g.length;i++){var k=g[i];d?h(k):j(k)}d=!d}}function g(a){return u[a]||(u[a]={name:a,dependencies:[],exports:{},importers:[]})}function h(b){if(!b.module){var c=b.module=g(b.name),d=b.module.exports,e=b.declare.call(a,function(a,b){if(c.locked=!0,"object"==typeof a)for(var e in a)d[e]=a[e];else d[a]=b;for(var f=0,g=c.importers.length;g>f;f++){var h=c.importers[f];if(!h.locked)for(var i=0;i<h.dependencies.length;++i)h.dependencies[i]===c&&h.setters[i](d)}return c.locked=!1,b},b.name);c.setters=e.setters,c.execute=e.execute;for(var f=0,i=b.normalizedDeps.length;i>f;f++){var j,k=b.normalizedDeps[f],l=p[k],m=u[k];m?j=m.exports:l&&!l.declarative?j=l.esModule:l?(h(l),m=l.module,j=m.exports):j=o(k),m&&m.importers?(m.importers.push(c),c.dependencies.push(m)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=p[a];if(c)c.declarative?n(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=o(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=p[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(a){var b={};if("object"==typeof a||"function"==typeof a){var c=a&&a.hasOwnProperty;if(r)for(var d in a)m(b,a,d)||l(b,a,d,c);else for(var d in a)l(b,a,d,c)}return b["default"]=a,t(b,"__useDefault",{value:!0}),b}function l(a,b,c,d){(!d||b.hasOwnProperty(c))&&(a[c]=b[c])}function m(a,b,c){try{var d;return(d=Object.getOwnPropertyDescriptor(b,c))&&t(a,c,d),!0}catch(e){return!1}}function n(b,c){var d=p[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==q.call(c,g)&&(p[g]?n(g,c):o(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function o(a){if(w[a])return w[a];if("@node/"==a.substr(0,6))return v(a.substr(6));var b=p[a];if(!b)throw"Module "+a+" not present.";return f(a),n(a,[]),p[a]=void 0,b.declarative&&t(b.module.exports,"__esModule",{value:!0}),w[a]=b.declarative?b.module.exports:b.esModule}var p={},q=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},r=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(s){r=!1}var t;!function(){try{Object.defineProperty({},"a",{})&&(t=Object.defineProperty)}catch(a){t=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var u={},v="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,w={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:v,register:b,registerDynamic:c,get:o,set:function(a,b){w[a]=b},newModule:function(a){return a}},h=0;h<d.length;h++)(function(a,b){b&&b.__esModule?w[a]=b:w[a]=k(b)})(d[h],arguments[h]);e(g);var i=o(a[0]);if(a.length>1)for(var h=1;h<a.length;h++)o(a[h]);return i.__useDefault?i["default"]:i})}}}("undefined"!=typeof self?self:global)(["1","2"],[],function(a){var b=this.require,c=this.exports,d=this.module;!function(b){function c(a,b){for(var c=a.split(".");c.length;)b=b[c.shift()];return b}function d(a){if("string"==typeof a)return c(a,b);if(!(a instanceof Array))throw new Error("Global exports must be a string or array.");for(var d={},e=!0,f=0;f<a.length;f++){var g=c(a[f],b);e&&(d["default"]=g,e=!1),d[a[f].split(".").pop()]=g}return d}function e(a){if(Object.keys)Object.keys(b).forEach(a);else for(var c in b)i.call(b,c)&&a(c)}function f(a){e(function(c){if(-1==j.call(k,c)){try{var d=b[c]}catch(e){k.push(c)}a(c,d)}})}var g,h=a,i=Object.prototype.hasOwnProperty,j=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},k=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"];h.set("@@global-helpers",h.newModule({prepareGlobal:function(a,c,e){var h=b.define;b.define=void 0;var i;if(e){i={};for(var j in e)i[j]=b[j],b[j]=e[j]}return c||(g={},f(function(a,b){g[a]=b})),function(){var a;if(c)a=d(c);else{a={};var e,j;f(function(b,c){g[b]!==c&&"undefined"!=typeof c&&(a[b]=c,"undefined"!=typeof e?j||e===c||(j=!0):e=c)}),a=j?a:e}if(i)for(var k in i)b[k]=i[k];return b.define=h,a}}}))}("undefined"!=typeof self?self:global),a.register("3",[],function(){return{setters:[],execute:function(){}}}),a.register("4",[],function(){return{setters:[],execute:function(){}}}),a.register("5",[],function(){return{setters:[],execute:function(){}}}),a.register("6",[],function(){return{setters:[],execute:function(){}}}),a.register("7",[],function(a){"use strict";var b;return{setters:[],execute:function(){b="1.0.0",a("redocVersion",b)}}}),a.registerDynamic("8",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.ReflectionCapabilities=d.__core_private__.ReflectionCapabilities,b.reflector=d.__core_private__.reflector,c.exports}),a.registerDynamic("a",["b","c","d","e","f","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("e"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("10");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("11",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("12",["e"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c<a.length;c++){var e=a[c];h.isArray(e)?d(e,b):b.push(e)}return b}function e(a){return h.isJsObject(a)?h.isArray(a)||!(a instanceof b.Map)&&h.getSymbolIterator()in a:!1}function f(a,b,c){for(var d=a[h.getSymbolIterator()](),e=b[h.getSymbolIterator()]();;){var f=d.next(),g=e.next();if(f.done&&g.done)return!0;if(f.done||g.done)return!1;if(!c(f.value,g.value))return!1}}function g(a,b){if(h.isArray(a))for(var c=0;c<a.length;c++)b(a[c]);else for(var d,e=a[h.getSymbolIterator()]();!(d=e.next()).done;)b(d.value)}var h=a("e");b.Map=h.global.Map,b.Set=h.global.Set;var i=function(){try{if(1===new b.Map([[1,2]]).size)return function(a){return new b.Map(a)}}catch(a){}return function(a){for(var c=new b.Map,d=0;d<a.length;d++){var e=a[d];c.set(e[0],e[1])}return c}}(),j=function(){try{if(new b.Map(new b.Map))return function(a){return new b.Map(a)}}catch(a){}return function(a){var c=new b.Map;return a.forEach(function(a,b){c.set(b,a)}),c}}(),k=function(){return(new b.Map).keys().next?function(a){for(var b,c=a.keys();!(b=c.next()).done;)a.set(b.value,null)}:function(a){a.forEach(function(b,c){a.set(c,null)})}}(),l=function(){try{if((new b.Map).values().next)return function(a,b){return b?Array.from(a.values()):Array.from(a.keys())}}catch(a){}return function(a,b){var c=o.createFixedSize(a.size),d=0;return a.forEach(function(a,e){c[d]=b?a:e,d++}),c}}(),m=function(){function a(){}return a.clone=function(a){return j(a)},a.createFromStringMap=function(a){var c=new b.Map;for(var d in a)c.set(d,a[d]);return c},a.toStringMap=function(a){var b={};return a.forEach(function(a,c){return b[c]=a}),b},a.createFromPairs=function(a){return i(a)},a.clearValues=function(a){k(a)},a.iterable=function(a){return a},a.keys=function(a){return l(a,!1)},a.values=function(a){return l(a,!0)},a}();b.MapWrapper=m;var n=function(){function a(){}return a.create=function(){return{}},a.contains=function(a,b){return a.hasOwnProperty(b)},a.get=function(a,b){return a.hasOwnProperty(b)?a[b]:void 0},a.set=function(a,b,c){a[b]=c},a.keys=function(a){return Object.keys(a)},a.values=function(a){return Object.keys(a).reduce(function(b,c){return b.push(a[c]),b},[])},a.isEmpty=function(a){for(var b in a)return!1;return!0},a["delete"]=function(a,b){delete a[b]},a.forEach=function(a,b){for(var c in a)a.hasOwnProperty(c)&&b(a[c],c)},a.merge=function(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);return c},a.equals=function(a,b){var c=Object.keys(a),d=Object.keys(b);if(c.length!=d.length)return!1;for(var e,f=0;f<c.length;f++)if(e=c[f],a[e]!==b[e])return!1;return!0},a}();b.StringMapWrapper=n;var o=function(){function a(){}return a.createFixedSize=function(a){return new Array(a)},a.createGrowableSize=function(a){return new Array(a)},a.clone=function(a){return a.slice(0)},a.forEachWithIndex=function(a,b){for(var c=0;c<a.length;c++)b(a[c],c)},a.first=function(a){return a?a[0]:null},a.last=function(a){return a&&0!=a.length?a[a.length-1]:null},a.indexOf=function(a,b,c){return void 0===c&&(c=0),a.indexOf(b,c)},a.contains=function(a,b){return-1!==a.indexOf(b)},a.reversed=function(b){var c=a.clone(b);return c.reverse()},a.concat=function(a,b){return a.concat(b)},a.insert=function(a,b,c){a.splice(b,0,c)},a.removeAt=function(a,b){var c=a[b];return a.splice(b,1),c},a.removeAll=function(a,b){for(var c=0;c<b.length;++c){var d=a.indexOf(b[c]);a.splice(d,1)}},a.remove=function(a,b){var c=a.indexOf(b);return c>-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;c<a.length;++c)if(a[c]!==b[c])return!1;return!0},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.splice=function(a,b,c){return a.splice(b,c)},a.sort=function(a,b){h.isPresent(b)?a.sort(b):a.sort()},a.toString=function(a){return a.toString()},a.toJSON=function(a){return JSON.stringify(a)},a.maximum=function(a,b){if(0==a.length)return null;for(var c=null,d=-(1/0),e=0;e<a.length;e++){var f=a[e];if(!h.isBlank(f)){var g=b(f);g>d&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c<b.length;c++)a.push(b[c])},a}();b.ListWrapper=o,b.isListLikeIterable=e,b.areIterablesEqual=f,b.iterateListLike=g;var p=function(){var a=new b.Set([1,2,3]);return 3===a.size?function(a){return new b.Set(a)}:function(a){var c=new b.Set(a);if(c.size!==a.length)for(var d=0;d<a.length;d++)c.add(a[d]);return c}}(),q=function(){function a(){}return a.createFromList=function(a){return p(a)},a.has=function(a,b){return a.has(b)},a["delete"]=function(a,b){a["delete"](b)},a}();return b.SetWrapper=q,c.exports}),a.registerDynamic("13",["11","12","e"],!0,function(a,b,c){"use strict";var d=a("11"),e=a("12"),f=a("e"),g=function(){function a(){this.res=[]}return a.prototype.log=function(a){this.res.push(a)},a.prototype.logError=function(a){this.res.push(a)},a.prototype.logGroup=function(a){this.res.push(a)},a.prototype.logGroupEnd=function(){},a}(),h=function(){function a(a,b){void 0===b&&(b=!0),this._logger=a,this._rethrowException=b}return a.exceptionToString=function(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null);var e=new g,f=new a(e,!1);return f.call(b,c,d),e.res.join("\n")},a.prototype.call=function(a,b,c){void 0===b&&(b=null),void 0===c&&(c=null);var d=this._findOriginalException(a),e=this._findOriginalStack(a),g=this._findContext(a);if(this._logger.logGroup("EXCEPTION: "+this._extractMessage(a)),f.isPresent(b)&&f.isBlank(e)&&(this._logger.logError("STACKTRACE:"),this._logger.logError(this._longStackTrace(b))),f.isPresent(c)&&this._logger.logError("REASON: "+c),f.isPresent(d)&&this._logger.logError("ORIGINAL EXCEPTION: "+this._extractMessage(d)),f.isPresent(e)&&(this._logger.logError("ORIGINAL STACKTRACE:"),this._logger.logError(this._longStackTrace(e))),f.isPresent(g)&&(this._logger.logError("ERROR CONTEXT:"),this._logger.logError(g)),this._logger.logGroupEnd(),this._rethrowException)throw a},a.prototype._extractMessage=function(a){return a instanceof d.BaseWrappedException?a.wrapperMessage:a.toString()},a.prototype._longStackTrace=function(a){return e.isListLikeIterable(a)?a.join("\n\n-----async gap-----\n"):a.toString()},a.prototype._findContext=function(a){try{return a instanceof d.BaseWrappedException?f.isPresent(a.context)?a.context:this._findContext(a.originalException):null}catch(b){return null}},a.prototype._findOriginalException=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a.originalException;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException;return b},a.prototype._findOriginalStack=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a,c=a.originalStack;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException,b instanceof d.BaseWrappedException&&f.isPresent(b.originalException)&&(c=b.originalStack);return c},a}();return b.ExceptionHandler=h,c.exports}),a.registerDynamic("14",["11","13"],!0,function(a,b,c){"use strict";function d(a){return new TypeError(a)}function e(){throw new j("unimplemented")}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("11"),h=a("13"),i=a("13");b.ExceptionHandler=i.ExceptionHandler;var j=function(a){function b(b){void 0===b&&(b="--"),a.call(this,b),this.message=b,this.stack=new Error(b).stack}return f(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.BaseException=j;var k=function(a){function b(b,c,d,e){a.call(this,b),this._wrapperMessage=b,this._originalException=c,this._originalStack=d,this._context=e,this._wrapperStack=new Error(b).stack}return f(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return h.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),b.prototype.toString=function(){return this.message},b}(g.BaseWrappedException);return b.WrappedException=k,b.makeTypeError=d,b.unimplemented=e,c.exports}),a.registerDynamic("15",["16","14","e","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("16"),f=a("14"),g=a("e"),h=a("10"),i=function(a){function b(){if(a.call(this),this._cache=g.global.$templateCache,null==this._cache)throw new f.BaseException("CachedXHR: Template cache was not found in $templateCache.")}return d(b,a),b.prototype.get=function(a){return this._cache.hasOwnProperty(a)?h.PromiseWrapper.resolve(this._cache[a]):h.PromiseWrapper.reject("CachedXHR: Did not find cached template for "+a,null)},b}(e.XHR);return b.CachedXHR=i,c.exports}),a.registerDynamic("17",["9","18","19","1a","1b","1c","1d"],!0,function(a,b,c){"use strict";function d(a){return a.dependencies.forEach(function(a){if(a instanceof q.ViewFactoryDependency){var b=a;b.placeholder.moduleUrl=f(b.comp)}else if(a instanceof q.ComponentFactoryDependency){var c=a;c.placeholder.name=g(c.comp),c.placeholder.moduleUrl=f(c.comp)}}),a.statements}function e(a,b){return a.dependencies.forEach(function(a){a.valuePlaceholder.moduleUrl=h(a.moduleUrl,a.isShimmed,b)}),a.statements}function f(a){var b=j(a.moduleUrl);return b[0]+".ngfactory"+b[1]}function g(a){return a.name+"NgFactory"}function h(a,b,c){return b?a+".shim"+c:""+a+c}function i(a){if(!a.isComponent)throw new n.BaseException("Could not compile '"+a.type.name+"' because it is not a component.")}function j(a){var b=a.lastIndexOf(".");return-1!==b?[a.substring(0,b),a.substring(b)]:[a,""]}var k=a("9"),l=a("18"),m=a("19"),n=a("1a"),o=a("1b"),p=a("1c"),q=a("1d"),r=new l.CompileIdentifierMetadata({name:"ComponentFactory",runtime:k.ComponentFactory,moduleUrl:p.assetUrl("core","linker/component_factory")}),s=function(){function a(a,b){this.moduleUrl=a,this.source=b}return a}();b.SourceModule=s;var t=function(){function a(a,b){this.source=a,this.importedUrls=b}return a}();b.StyleSheetSourceWithImports=t;var u=function(){function a(a,b,c){this.component=a,this.directives=b,this.pipes=c}return a}();b.NormalizedComponentWithViewDirectives=u;var v=function(){function a(a,b,c,d,e){this._directiveNormalizer=a,this._templateParser=b,this._styleCompiler=c,this._viewCompiler=d,this._outputEmitter=e}return a.prototype.normalizeDirectiveMetadata=function(a){return this._directiveNormalizer.normalizeDirective(a).asyncResult},a.prototype.compileTemplates=function(a){var b=this;if(0===a.length)throw new n.BaseException("No components given");var c=[],d=[],e=f(a[0].component.type),h=[];return a.forEach(function(a){var e=a.component;i(e);var f=j(e.type.moduleUrl)[1],k=b._styleCompiler.compileComponent(e);k.externalStylesheets.forEach(function(a){h.push(b._codgenStyles(a,f))});var m=b._compileComponent(e,a.directives,a.pipes,k.componentStylesheet,f,c);d.push(m);var n=l.createHostComponentMeta(e.type,e.selector),p=b._compileComponent(n,[e],[],null,f,c),q=g(e.type);c.push(o.variable(q).set(o.importExpr(r,[o.importType(e.type)]).instantiate([o.literal(e.selector),o.variable(p),o.importExpr(e.type)],o.importType(r,[o.importType(e.type)],[o.TypeModifier.Const]))).toDeclStmt(null,[o.StmtModifier.Final])),d.push(q)}),h.unshift(this._codegenSourceModule(e,c,d)),h},a.prototype._compileComponent=function(a,b,c,f,g,h){var i=this._templateParser.parse(a,a.template.template,b,c,a.type.name),j=f?o.variable(f.stylesVar):o.literalArr([]),k=this._viewCompiler.compileComponent(a,i,j,c);return f&&m.ListWrapper.addAll(h,e(f,g)),m.ListWrapper.addAll(h,d(k)),k.viewFactoryVar},a.prototype._codgenStyles=function(a,b){return e(a,b),this._codegenSourceModule(h(a.meta.moduleUrl,a.isShimmed,b),a.statements,[a.stylesVar])},a.prototype._codegenSourceModule=function(a,b,c){return new s(a,this._outputEmitter.emitStatements(a,b,c))},a}();return b.OfflineCompiler=v,c.exports}),a.registerDynamic("1e",["1a","1f","20","1b"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("1a"),f=a("1f"),g=a("20"),h=a("1b"),i=function(a){function b(){a.call(this,!1)}return d(b,a),b.prototype.visitDeclareClassStmt=function(a,b){var c=this;return b.pushClass(a),this._visitClassConstructor(a,b),f.isPresent(a.parent)&&(b.print(a.name+".prototype = Object.create("),a.parent.visitExpression(this,b),b.println(".prototype);")),a.getters.forEach(function(d){return c._visitClassGetter(a,d,b)}),a.methods.forEach(function(d){return c._visitClassMethod(a,d,b)}),b.popClass(),null},b.prototype._visitClassConstructor=function(a,b){b.print("function "+a.name+"("),f.isPresent(a.constructorMethod)&&this._visitParams(a.constructorMethod.params,b),b.println(") {"),b.incIndent(),f.isPresent(a.constructorMethod)&&a.constructorMethod.body.length>0&&(b.println("var self = this;"),this.visitAllStatements(a.constructorMethod.body,b)),b.decIndent(),b.println("}")},b.prototype._visitClassGetter=function(a,b,c){c.println("Object.defineProperty("+a.name+".prototype, '"+b.name+"', { get: function() {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("}});")},b.prototype._visitClassMethod=function(a,b,c){c.print(a.name+".prototype."+b.name+" = function("),this._visitParams(b.params,c),c.println(") {"),c.incIndent(),b.body.length>0&&(c.println("var self = this;"),this.visitAllStatements(b.body,c)),c.decIndent(),c.println("};")},b.prototype.visitReadVarExpr=function(b,c){if(b.builtin===h.BuiltinVar.This)c.print("self");else{if(b.builtin===h.BuiltinVar.Super)throw new e.BaseException("'super' needs to be handled at a parent ast node, not at the variable level!");a.prototype.visitReadVarExpr.call(this,b,c)}return null},b.prototype.visitDeclareVarStmt=function(a,b){return b.print("var "+a.name+" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return a.value.visitExpression(this,b),null},b.prototype.visitInvokeFunctionExpr=function(b,c){var d=b.fn;return d instanceof h.ReadVarExpr&&d.builtin===h.BuiltinVar.Super?(c.currentClass.parent.visitExpression(this,c),c.print(".call(this"),b.args.length>0&&(c.print(", "),this.visitAllExpressions(b.args,c,",")),c.print(")")):a.prototype.visitInvokeFunctionExpr.call(this,b,c),null},b.prototype.visitFunctionExpr=function(a,b){return b.print("function("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return b.print("function "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.visitTryCatchStmt=function(a,b){b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+g.CATCH_ERROR_VAR.name+") {"),b.incIndent();var c=[g.CATCH_STACK_VAR.set(g.CATCH_ERROR_VAR.prop("stack")).toDeclStmt(null,[h.StmtModifier.Final])].concat(a.catchStmts);return this.visitAllStatements(c,b),b.decIndent(),b.println("}"),null},b.prototype._visitParams=function(a,b){this.visitAllObjects(function(a){return b.print(a.name)},a,b,",")},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case h.BuiltinMethod.ConcatArray:b="concat";break;case h.BuiltinMethod.SubscribeObservable:b="subscribe";break;case h.BuiltinMethod.bind:b="bind";break;default:throw new e.BaseException("Unknown builtin method: "+a)}return b},b}(g.AbstractEmitterVisitor);return b.AbstractJsEmitterVisitor=i,c.exports}),a.registerDynamic("21",["1f","20","1e","1c"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=new j,e=g.EmitterVisitorContext.createRoot([c]);return d.visitAllStatements(b,e),f.evalExpression(a,c,e.toSource(),d.getArgs())}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("1f"),g=a("20"),h=a("1e"),i=a("1c");b.jitStatements=d;var j=function(a){function b(){a.apply(this,arguments),this._evalArgNames=[],this._evalArgValues=[]}return e(b,a),b.prototype.getArgs=function(){for(var a={},b=0;b<this._evalArgNames.length;b++)a[this._evalArgNames[b]]=this._evalArgValues[b];return a},b.prototype.visitExternalExpr=function(a,b){var c=a.value.runtime,d=this._evalArgValues.indexOf(c);if(-1===d){d=this._evalArgValues.length,this._evalArgValues.push(c);var e=f.isPresent(a.value.name)?i.sanitizeIdentifier(a.value.name):"val";this._evalArgNames.push(i.sanitizeIdentifier("jit_"+e+d))}return b.print(this._evalArgNames[d]),null},b}(h.AbstractJsEmitterVisitor);return c.exports}),a.registerDynamic("22",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("23",["b","c","d","1f","f","22"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("1f"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("22");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("24",["1a","1f","1b","20"],!0,function(a,b,c){"use strict";function d(a){var b,c=new n(l),d=k.EmitterVisitorContext.createRoot([]);return b=i.isArray(a)?a:[a],b.forEach(function(a){if(a instanceof j.Statement)a.visitStatement(c,d);else if(a instanceof j.Expression)a.visitExpression(c,d);else{if(!(a instanceof j.Type))throw new h.BaseException("Don't know how to print debug info for "+a);a.visitType(c,d)}}),d.toSource()}function e(a){if(a instanceof j.ExpressionStatement){var b=a.expr;if(b instanceof j.InvokeFunctionExpr){var c=b.fn;if(c instanceof j.ReadVarExpr&&c.builtin===j.BuiltinVar.Super)return b}}return null}function f(a){return i.isPresent(a)&&a.hasModifier(j.TypeModifier.Const)}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("1a"),i=a("1f"),j=a("1b"),k=a("20"),l="asset://debug/lib";b.debugOutputAstAsDart=d;var m=function(){function a(a){this._importGenerator=a}return a.prototype.emitStatements=function(a,b,c){var d=this,e=[],f=new n(a),g=k.EmitterVisitorContext.createRoot(c);return f.visitAllStatements(b,g),f.importsWithPrefixes.forEach(function(b,c){e.push("import '"+d._importGenerator.getImportPath(a,c)+"' as "+b+";")}),e.push(g.toSource()),e.join("\n")},a}();b.DartEmitter=m;var n=function(a){function b(b){a.call(this,!0),this._moduleUrl=b,
|
||
this.importsWithPrefixes=new Map}return g(b,a),b.prototype.visitExternalExpr=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitDeclareVarStmt=function(a,b){return a.hasModifier(j.StmtModifier.Final)?f(a.type)?b.print("const "):b.print("final "):i.isBlank(a.type)&&b.print("var "),i.isPresent(a.type)&&(a.type.visitType(this,b),b.print(" ")),b.print(a.name+" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return b.print("("),a.value.visitExpression(this,b),b.print(" as "),a.type.visitType(this,b),b.print(")"),null},b.prototype.visitDeclareClassStmt=function(a,b){var c=this;return b.pushClass(a),b.print("class "+a.name),i.isPresent(a.parent)&&(b.print(" extends "),a.parent.visitExpression(this,b)),b.println(" {"),b.incIndent(),a.fields.forEach(function(a){return c._visitClassField(a,b)}),i.isPresent(a.constructorMethod)&&this._visitClassConstructor(a,b),a.getters.forEach(function(a){return c._visitClassGetter(a,b)}),a.methods.forEach(function(a){return c._visitClassMethod(a,b)}),b.decIndent(),b.println("}"),b.popClass(),null},b.prototype._visitClassField=function(a,b){a.hasModifier(j.StmtModifier.Final)?b.print("final "):i.isBlank(a.type)&&b.print("var "),i.isPresent(a.type)&&(a.type.visitType(this,b),b.print(" ")),b.println(a.name+";")},b.prototype._visitClassGetter=function(a,b){i.isPresent(a.type)&&(a.type.visitType(this,b),b.print(" ")),b.println("get "+a.name+" {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype._visitClassConstructor=function(a,b){b.print(a.name+"("),this._visitParams(a.constructorMethod.params,b),b.print(")");var c=a.constructorMethod.body,d=c.length>0?e(c[0]):null;i.isPresent(d)&&(b.print(": "),d.visitExpression(this,b),c=c.slice(1)),b.println(" {"),b.incIndent(),this.visitAllStatements(c,b),b.decIndent(),b.println("}")},b.prototype._visitClassMethod=function(a,b){i.isPresent(a.type)?a.type.visitType(this,b):b.print("void"),b.print(" "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype.visitFunctionExpr=function(a,b){return b.print("("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return i.isPresent(a.type)?a.type.visitType(this,b):b.print("void"),b.print(" "+a.name+"("),this._visitParams(a.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case j.BuiltinMethod.ConcatArray:b=".addAll";break;case j.BuiltinMethod.SubscribeObservable:b="listen";break;case j.BuiltinMethod.bind:b=null;break;default:throw new h.BaseException("Unknown builtin method: "+a)}return b},b.prototype.visitTryCatchStmt=function(a,b){return b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+k.CATCH_ERROR_VAR.name+", "+k.CATCH_STACK_VAR.name+") {"),b.incIndent(),this.visitAllStatements(a.catchStmts,b),b.decIndent(),b.println("}"),null},b.prototype.visitBinaryOperatorExpr=function(b,c){switch(b.operator){case j.BinaryOperator.Identical:c.print("identical("),b.lhs.visitExpression(this,c),c.print(", "),b.rhs.visitExpression(this,c),c.print(")");break;case j.BinaryOperator.NotIdentical:c.print("!identical("),b.lhs.visitExpression(this,c),c.print(", "),b.rhs.visitExpression(this,c),c.print(")");break;default:a.prototype.visitBinaryOperatorExpr.call(this,b,c)}return null},b.prototype.visitLiteralArrayExpr=function(b,c){return f(b.type)&&c.print("const "),a.prototype.visitLiteralArrayExpr.call(this,b,c)},b.prototype.visitLiteralMapExpr=function(b,c){return f(b.type)&&c.print("const "),i.isPresent(b.valueType)&&(c.print("<String, "),b.valueType.visitType(this,c),c.print(">")),a.prototype.visitLiteralMapExpr.call(this,b,c)},b.prototype.visitInstantiateExpr=function(a,b){return b.print(f(a.type)?"const":"new"),b.print(" "),a.classExpr.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},b.prototype.visitBuiltintType=function(a,b){var c;switch(a.name){case j.BuiltinTypeName.Bool:c="bool";break;case j.BuiltinTypeName.Dynamic:c="dynamic";break;case j.BuiltinTypeName.Function:c="Function";break;case j.BuiltinTypeName.Number:c="num";break;case j.BuiltinTypeName.Int:c="int";break;case j.BuiltinTypeName.String:c="String";break;default:throw new h.BaseException("Unsupported builtin type "+a.name)}return b.print(c),null},b.prototype.visitExternalType=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitArrayType=function(a,b){return b.print("List<"),i.isPresent(a.of)?a.of.visitType(this,b):b.print("dynamic"),b.print(">"),null},b.prototype.visitMapType=function(a,b){return b.print("Map<String, "),i.isPresent(a.valueType)?a.valueType.visitType(this,b):b.print("dynamic"),b.print(">"),null},b.prototype._visitParams=function(a,b){var c=this;this.visitAllObjects(function(a){i.isPresent(a.type)&&(a.type.visitType(c,b),b.print(" ")),b.print(a.name)},a,b,",")},b.prototype._visitIdentifier=function(a,b,c){var d=this;if(i.isBlank(a.name))throw new h.BaseException("Internal error: unknown identifier "+a);if(i.isPresent(a.moduleUrl)&&a.moduleUrl!=this._moduleUrl){var e=this.importsWithPrefixes.get(a.moduleUrl);i.isBlank(e)&&(e="import"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(a.moduleUrl,e)),c.print(e+".")}c.print(a.name),i.isPresent(b)&&b.length>0&&(c.print("<"),this.visitAllObjects(function(a){return a.visitType(d,c)},b,c,","),c.print(">"))},b}(k.AbstractEmitterVisitor);return c.exports}),a.registerDynamic("25",["26","23","19","1a","1f","24","1b","27"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=a.concat([new n.ReturnStatement(n.variable(b))]),e=new q(null,null,null,null,new Map,new Map,new Map,new Map,c),f=new t,g=f.visitAllStatements(d,e);return l.isPresent(g)?g.value:null}function e(a){return l.IS_DART?a instanceof p:l.isPresent(a)&&l.isPresent(a.props)&&l.isPresent(a.getters)&&l.isPresent(a.methods)}function f(a,b,c,d,e){for(var f=d.createChildWihtLocalVars(),g=0;g<a.length;g++)f.vars.set(a[g],b[g]);var h=e.visitAllStatements(c,f);return l.isPresent(h)?h.value:null}function g(a,b,c,d){switch(a.length){case 0:return function(){return f(a,[],b,c,d)};case 1:return function(e){return f(a,[e],b,c,d)};case 2:return function(e,g){return f(a,[e,g],b,c,d)};case 3:return function(e,g,h){return f(a,[e,g,h],b,c,d)};case 4:return function(e,g,h,i){return f(a,[e,g,h,i],b,c,d)};case 5:return function(e,g,h,i,j){return f(a,[e,g,h,i,j],b,c,d)};case 6:return function(e,g,h,i,j,k){return f(a,[e,g,h,i,j,k],b,c,d)};case 7:return function(e,g,h,i,j,k,l){return f(a,[e,g,h,i,j,k,l],b,c,d)};case 8:return function(e,g,h,i,j,k,l,m){return f(a,[e,g,h,i,j,k,l,m],b,c,d)};case 9:return function(e,g,h,i,j,k,l,m,n){return f(a,[e,g,h,i,j,k,l,m,n],b,c,d)};case 10:return function(e,g,h,i,j,k,l,m,n,o){return f(a,[e,g,h,i,j,k,l,m,n,o],b,c,d)};default:throw new k.BaseException("Declaring functions with more than 10 arguments is not supported right now")}}var h=a("26"),i=a("23"),j=a("19"),k=a("1a"),l=a("1f"),m=a("24"),n=a("1b"),o=a("27");b.interpretStatements=d;var p=function(){function a(){}return Object.defineProperty(a.prototype,"props",{get:function(){return k.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"getters",{get:function(){return k.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"methods",{get:function(){return k.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"clazz",{get:function(){return k.unimplemented()},enumerable:!0,configurable:!0}),a}();b.DynamicInstance=p;var q=function(){function a(a,b,c,d,e,f,g,h,i){this.parent=a,this.superClass=b,this.superInstance=c,this.className=d,this.vars=e,this.props=f,this.getters=g,this.methods=h,this.instanceFactory=i}return a.prototype.createChildWihtLocalVars=function(){return new a(this,this.superClass,this.superInstance,this.className,new Map,this.props,this.getters,this.methods,this.instanceFactory)},a}(),r=function(){function a(a){this.value=a}return a}(),s=function(){function a(a,b,c){this._classStmt=a,this._ctx=b,this._visitor=c}return a.prototype.instantiate=function(a){var b=this,c=new Map,d=new Map,e=new Map,h=this._classStmt.parent.visitExpression(this._visitor,this._ctx),i=new q(this._ctx,h,null,this._classStmt.name,this._ctx.vars,c,d,e,this._ctx.instanceFactory);this._classStmt.fields.forEach(function(a){c.set(a.name,null)}),this._classStmt.getters.forEach(function(a){d.set(a.name,function(){return f([],[],a.body,i,b._visitor)})}),this._classStmt.methods.forEach(function(a){var c=a.params.map(function(a){return a.name});e.set(a.name,g(c,a.body,i,b._visitor))});var j=this._classStmt.constructorMethod.params.map(function(a){return a.name});return f(j,a,this._classStmt.constructorMethod.body,i,this._visitor),i.superInstance},a.prototype.debugAst=function(){return this._visitor.debugAst(this._classStmt)},a}(),t=function(){function a(){}return a.prototype.debugAst=function(a){return l.IS_DART?m.debugOutputAstAsDart(a):o.debugOutputAstAsTypeScript(a)},a.prototype.visitDeclareVarStmt=function(a,b){return b.vars.set(a.name,a.value.visitExpression(this,b)),null},a.prototype.visitWriteVarExpr=function(a,b){for(var c=a.value.visitExpression(this,b),d=b;null!=d;){if(d.vars.has(a.name))return d.vars.set(a.name,c),c;d=d.parent}throw new k.BaseException("Not declared variable "+a.name)},a.prototype.visitReadVarExpr=function(a,b){var c=a.name;if(l.isPresent(a.builtin))switch(a.builtin){case n.BuiltinVar.Super:case n.BuiltinVar.This:return b.superInstance;case n.BuiltinVar.CatchError:c=u;break;case n.BuiltinVar.CatchStack:c=v;break;default:throw new k.BaseException("Unknown builtin variable "+a.builtin)}for(var d=b;null!=d;){if(d.vars.has(c))return d.vars.get(c);d=d.parent}throw new k.BaseException("Not declared variable "+c)},a.prototype.visitWriteKeyExpr=function(a,b){var c=a.receiver.visitExpression(this,b),d=a.index.visitExpression(this,b),e=a.value.visitExpression(this,b);return c[d]=e,e},a.prototype.visitWritePropExpr=function(a,b){var c=a.receiver.visitExpression(this,b),d=a.value.visitExpression(this,b);if(e(c)){var f=c;f.props.has(a.name)?f.props.set(a.name,d):h.reflector.setter(a.name)(c,d)}else h.reflector.setter(a.name)(c,d);return d},a.prototype.visitInvokeMethodExpr=function(a,b){var c,d=a.receiver.visitExpression(this,b),f=this.visitAllExpressions(a.args,b);if(l.isPresent(a.builtin))switch(a.builtin){case n.BuiltinMethod.ConcatArray:c=j.ListWrapper.concat(d,f[0]);break;case n.BuiltinMethod.SubscribeObservable:c=i.ObservableWrapper.subscribe(d,f[0]);break;case n.BuiltinMethod.bind:c=l.IS_DART?d:d.bind(f[0]);break;default:throw new k.BaseException("Unknown builtin method "+a.builtin)}else if(e(d)){var g=d;c=g.methods.has(a.name)?l.FunctionWrapper.apply(g.methods.get(a.name),f):h.reflector.method(a.name)(d,f)}else c=h.reflector.method(a.name)(d,f);return c},a.prototype.visitInvokeFunctionExpr=function(a,b){var c=this.visitAllExpressions(a.args,b),d=a.fn;if(d instanceof n.ReadVarExpr&&d.builtin===n.BuiltinVar.Super)return b.superInstance=b.instanceFactory.createInstance(b.superClass,b.className,c,b.props,b.getters,b.methods),b.parent.superInstance=b.superInstance,null;var e=a.fn.visitExpression(this,b);return l.FunctionWrapper.apply(e,c)},a.prototype.visitReturnStmt=function(a,b){return new r(a.value.visitExpression(this,b))},a.prototype.visitDeclareClassStmt=function(a,b){var c=new s(a,b,this);return b.vars.set(a.name,c),null},a.prototype.visitExpressionStmt=function(a,b){return a.expr.visitExpression(this,b)},a.prototype.visitIfStmt=function(a,b){var c=a.condition.visitExpression(this,b);return c?this.visitAllStatements(a.trueCase,b):l.isPresent(a.falseCase)?this.visitAllStatements(a.falseCase,b):null},a.prototype.visitTryCatchStmt=function(a,b){try{return this.visitAllStatements(a.bodyStmts,b)}catch(c){var d=b.createChildWihtLocalVars();return d.vars.set(u,c),d.vars.set(v,c.stack),this.visitAllStatements(a.catchStmts,d)}},a.prototype.visitThrowStmt=function(a,b){throw a.error.visitExpression(this,b)},a.prototype.visitCommentStmt=function(a,b){return null},a.prototype.visitInstantiateExpr=function(a,b){var c=this.visitAllExpressions(a.args,b),d=a.classExpr.visitExpression(this,b);return d instanceof s?d.instantiate(c):l.FunctionWrapper.apply(h.reflector.factory(d),c)},a.prototype.visitLiteralExpr=function(a,b){return a.value},a.prototype.visitExternalExpr=function(a,b){return a.value.runtime},a.prototype.visitConditionalExpr=function(a,b){return a.condition.visitExpression(this,b)?a.trueCase.visitExpression(this,b):l.isPresent(a.falseCase)?a.falseCase.visitExpression(this,b):null},a.prototype.visitNotExpr=function(a,b){return!a.condition.visitExpression(this,b)},a.prototype.visitCastExpr=function(a,b){return a.value.visitExpression(this,b)},a.prototype.visitFunctionExpr=function(a,b){var c=a.params.map(function(a){return a.name});return g(c,a.statements,b,this)},a.prototype.visitDeclareFunctionStmt=function(a,b){var c=a.params.map(function(a){return a.name});return b.vars.set(a.name,g(c,a.statements,b,this)),null},a.prototype.visitBinaryOperatorExpr=function(a,b){var c=this,d=function(){return a.lhs.visitExpression(c,b)},e=function(){return a.rhs.visitExpression(c,b)};switch(a.operator){case n.BinaryOperator.Equals:return d()==e();case n.BinaryOperator.Identical:return d()===e();case n.BinaryOperator.NotEquals:return d()!=e();case n.BinaryOperator.NotIdentical:return d()!==e();case n.BinaryOperator.And:return d()&&e();case n.BinaryOperator.Or:return d()||e();case n.BinaryOperator.Plus:return d()+e();case n.BinaryOperator.Minus:return d()-e();case n.BinaryOperator.Divide:return d()/e();case n.BinaryOperator.Multiply:return d()*e();case n.BinaryOperator.Modulo:return d()%e();case n.BinaryOperator.Lower:return d()<e();case n.BinaryOperator.LowerEquals:return d()<=e();case n.BinaryOperator.Bigger:return d()>e();case n.BinaryOperator.BiggerEquals:return d()>=e();default:throw new k.BaseException("Unknown operator "+a.operator)}},a.prototype.visitReadPropExpr=function(a,b){var c,d=a.receiver.visitExpression(this,b);if(e(d)){var f=d;c=f.props.has(a.name)?f.props.get(a.name):f.getters.has(a.name)?f.getters.get(a.name)():f.methods.has(a.name)?f.methods.get(a.name):h.reflector.getter(a.name)(d)}else c=h.reflector.getter(a.name)(d);return c},a.prototype.visitReadKeyExpr=function(a,b){var c=a.receiver.visitExpression(this,b),d=a.index.visitExpression(this,b);return c[d]},a.prototype.visitLiteralArrayExpr=function(a,b){return this.visitAllExpressions(a.entries,b)},a.prototype.visitLiteralMapExpr=function(a,b){var c=this,d={};return a.entries.forEach(function(a){return d[a[0]]=a[1].visitExpression(c,b)}),d},a.prototype.visitAllExpressions=function(a,b){var c=this;return a.map(function(a){return a.visitExpression(c,b)})},a.prototype.visitAllStatements=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.visitStatement(this,b);if(e instanceof r)return e}return null},a}(),u="error",v="stack";return c.exports}),a.registerDynamic("28",["26","1a","1f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("26"),f=a("1a"),g=a("1f"),h=function(){function a(){}return a.prototype.createInstance=function(a,b,c,d,g,h){if(a===e.AppView)return c=c.concat([null]),new i(c,d,g,h);if(a===e.DebugAppView)return new i(c,d,g,h);throw new f.BaseException("Can't instantiate class "+a+" in interpretative mode")},a}();b.InterpretiveAppViewInstanceFactory=h;var i=function(a){function b(b,c,d,e){a.call(this,b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7]),this.props=c,this.getters=d,this.methods=e}return d(b,a),b.prototype.createInternal=function(b){var c=this.methods.get("createInternal");return g.isPresent(c)?c(b):a.prototype.createInternal.call(this,b)},b.prototype.injectorGetInternal=function(b,c,d){var e=this.methods.get("injectorGetInternal");return g.isPresent(e)?e(b,c,d):a.prototype.injectorGet.call(this,b,c,d)},b.prototype.detachInternal=function(){var b=this.methods.get("detachInternal");return g.isPresent(b)?b():a.prototype.detachInternal.call(this)},b.prototype.destroyInternal=function(){var b=this.methods.get("destroyInternal");return g.isPresent(b)?b():a.prototype.destroyInternal.call(this)},b.prototype.dirtyParentQueriesInternal=function(){var b=this.methods.get("dirtyParentQueriesInternal");return g.isPresent(b)?b():a.prototype.dirtyParentQueriesInternal.call(this)},b.prototype.detectChangesInternal=function(b){var c=this.methods.get("detectChangesInternal");return g.isPresent(c)?c(b):a.prototype.detectChangesInternal.call(this,b)},b}(e.DebugAppView);return c.exports}),a.registerDynamic("29",["9","1a","1f","23","18","2a","1d","2b","2c","2d","2e","1b","21","25","28"],!0,function(a,b,c){"use strict";function d(a){if(!a.isComponent)throw new f.BaseException("Could not compile '"+a.type.name+"' because it is not a component.")}var e=a("9"),f=a("1a"),g=a("1f"),h=a("23"),i=a("18"),j=a("2a"),k=a("1d"),l=a("2b"),m=a("2c"),n=a("2d"),o=a("2e"),p=a("1b"),q=a("21"),r=a("25"),s=a("28"),t=function(){function a(a,b,c,d,e,f){this._metadataResolver=a,this._templateNormalizer=b,this._templateParser=c,this._styleCompiler=d,this._viewCompiler=e,this._genConfig=f,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map}return a.prototype.resolveComponent=function(a){return g.isString(a)?h.PromiseWrapper.reject(new f.BaseException("Cannot resolve component using '"+a+"'."),null):this.compileComponentAsync(a)},a.prototype.compileComponentAsync=function(a){var b=this,c=this._getTransitiveCompiledTemplates(a,!0),d=[];return c.forEach(function(a){a.loading&&d.push(a.loading)}),Promise.all(d).then(function(){return c.forEach(function(a){b._compileTemplate(a)}),b._getCompiledHostTemplate(a).proxyComponentFactory})},a.prototype.compileComponentSync=function(a){var b=this,c=this._getTransitiveCompiledTemplates(a,!0);return c.forEach(function(a){if(a.loading)throw new f.BaseException("Can't compile synchronously as "+a.compType.name+" is still being loaded!")}),c.forEach(function(a){b._compileTemplate(a)}),this._getCompiledHostTemplate(a).proxyComponentFactory},a.prototype.clearCacheFor=function(a){this._metadataResolver.clearCacheFor(a),this._compiledHostTemplateCache["delete"](a);var b=this._compiledTemplateCache.get(a);b&&(this._templateNormalizer.clearCacheFor(b.normalizedCompMeta),this._compiledTemplateCache["delete"](a))},a.prototype.clearCache=function(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._templateNormalizer.clearCache()},a.prototype._getCompiledHostTemplate=function(a){var b=this._compiledHostTemplateCache.get(a);if(g.isBlank(b)){var c=this._metadataResolver.getDirectiveMetadata(a);d(c);var e=i.createHostComponentMeta(c.type,c.selector);b=new u(!0,c.selector,c.type,[],[a],[],[],this._templateNormalizer.normalizeDirective(e)),this._compiledHostTemplateCache.set(a,b)}return b},a.prototype._getCompiledTemplate=function(a){var b=this._compiledTemplateCache.get(a);if(g.isBlank(b)){var c=this._metadataResolver.getDirectiveMetadata(a);d(c);var e=[],f=[];this._metadataResolver.getViewDirectivesMetadata(a).forEach(function(a){a.isComponent?f.push(a.type.runtime):e.push(a)});var h=c.precompile.map(function(a){return a.runtime}),i=this._metadataResolver.getViewPipesMetadata(a);b=new u(!1,c.selector,c.type,e,f,h,i,this._templateNormalizer.normalizeDirective(c)),this._compiledTemplateCache.set(a,b)}return b},a.prototype._getTransitiveCompiledTemplates=function(a,b,c){var d=this;void 0===c&&(c=new Set);var e=b?this._getCompiledHostTemplate(a):this._getCompiledTemplate(a);return c.has(e)||(c.add(e),e.viewComponentTypes.forEach(function(a){d._getTransitiveCompiledTemplates(a,!1,c)}),e.precompileHostComponentTypes.forEach(function(a){d._getTransitiveCompiledTemplates(a,!0,c)})),c},a.prototype._compileTemplate=function(a){var b=this;if(!a.isCompiled){var c=a.normalizedCompMeta,d=new Map,e=this._styleCompiler.compileComponent(c);e.externalStylesheets.forEach(function(a){d.set(a.meta.moduleUrl,a)}),this._resolveStylesCompileResult(e.componentStylesheet,d);var f,h=a.viewComponentTypes.map(function(a){return b._getCompiledTemplate(a).normalizedCompMeta}),i=this._templateParser.parse(c,c.template.template,a.viewDirectives.concat(h),a.viewPipes,c.type.name),j=this._viewCompiler.compileComponent(c,i,p.variable(e.componentStylesheet.stylesVar),a.viewPipes),l=(j.dependencies.map(function(a){var c;if(a instanceof k.ViewFactoryDependency){var d=a;c=b._getCompiledTemplate(d.comp.runtime),d.placeholder.runtime=c.proxyViewFactory,d.placeholder.name="viewFactory_"+d.comp.name}else if(a instanceof k.ComponentFactoryDependency){var e=a;c=b._getCompiledHostTemplate(e.comp.runtime),e.placeholder.runtime=c.proxyComponentFactory,e.placeholder.name="compFactory_"+e.comp.name}return c}),e.componentStylesheet.statements.concat(j.statements));f=g.IS_DART||!this._genConfig.useJit?r.interpretStatements(l,j.viewFactoryVar,new s.InterpretiveAppViewInstanceFactory):q.jitStatements(a.compType.name+".template.js",l,j.viewFactoryVar),a.compiled(f)}},a.prototype._resolveStylesCompileResult=function(a,b){var c=this;a.dependencies.forEach(function(a,d){var e=b.get(a.moduleUrl),f=c._resolveAndEvalStylesCompileResult(e,b);a.valuePlaceholder.runtime=f,a.valuePlaceholder.name="importedStyles"+d})},a.prototype._resolveAndEvalStylesCompileResult=function(a,b){return this._resolveStylesCompileResult(a,b),g.IS_DART||!this._genConfig.useJit?r.interpretStatements(a.statements,a.stylesVar,new s.InterpretiveAppViewInstanceFactory):q.jitStatements(a.meta.moduleUrl+".css.js",a.statements,a.stylesVar)},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:n.CompileMetadataResolver},{type:m.DirectiveNormalizer},{type:l.TemplateParser},{type:j.StyleCompiler},{type:k.ViewCompiler},{type:o.CompilerConfig}],a}();b.RuntimeCompiler=t;var u=function(){function a(a,b,c,d,f,g,h,i){var j=this;this.isHost=a,this.compType=c,this.viewDirectives=d,this.viewComponentTypes=f,this.precompileHostComponentTypes=g,this.viewPipes=h,this._normalizeResult=i,this._viewFactory=null,this.loading=null,this._normalizedCompMeta=null,this.isCompiled=!1,this.isCompiledWithDeps=!1,this.proxyViewFactory=function(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return j._viewFactory.apply(null,a)},this.proxyComponentFactory=a?new e.ComponentFactory(b,this.proxyViewFactory,c.runtime):null,i.syncResult?this._normalizedCompMeta=i.syncResult:this.loading=i.asyncResult.then(function(a){j._normalizedCompMeta=a,j.loading=null})}return Object.defineProperty(a.prototype,"normalizedCompMeta",{get:function(){if(this.loading)throw new f.BaseException("Template is still loading for "+this.compType.name+"!");return this._normalizedCompMeta},enumerable:!0,configurable:!0}),a.prototype.compiled=function(a){this._viewFactory=a,this.isCompiled=!0},a.prototype.depsCompiled=function(){this.isCompiledWithDeps=!0},a}();return c.exports}),a.registerDynamic("2f",["9","30","2b","2e","18","17","29","31","32","33","34","35","36","2c","2d","2a","1d","37","38","39","3a"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}var e=a("9");d(a("30"));var f=a("2b");b.TEMPLATE_TRANSFORMS=f.TEMPLATE_TRANSFORMS;var g=a("2e");b.CompilerConfig=g.CompilerConfig,b.RenderTypes=g.RenderTypes,d(a("18")),d(a("17"));var h=a("29");b.RuntimeCompiler=h.RuntimeCompiler,d(a("31")),d(a("32"));var i=a("33");b.ViewResolver=i.ViewResolver;var j=a("34");b.DirectiveResolver=j.DirectiveResolver;var k=a("35");b.PipeResolver=k.PipeResolver;var l=a("2b"),m=a("36"),n=a("2c"),o=a("2d"),p=a("2a"),q=a("1d"),r=a("2e"),s=a("29"),t=a("37"),u=a("38"),v=a("31"),w=a("39"),x=a("3a"),y=a("33"),z=a("34"),A=a("35");return b.COMPILER_PROVIDERS=[x.Lexer,w.Parser,m.HtmlParser,l.TemplateParser,n.DirectiveNormalizer,o.CompileMetadataResolver,v.DEFAULT_PACKAGE_URL_PROVIDER,p.StyleCompiler,q.ViewCompiler,{provide:r.CompilerConfig,useValue:new r.CompilerConfig},s.RuntimeCompiler,{provide:e.ComponentResolver,useExisting:s.RuntimeCompiler},{provide:e.Compiler,useExisting:s.RuntimeCompiler},u.DomElementSchemaRegistry,{provide:t.ElementSchemaRegistry,useExisting:u.DomElementSchemaRegistry},v.UrlResolver,y.ViewResolver,z.DirectiveResolver,A.PipeResolver],c.exports}),a.registerDynamic("32",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a.prototype.get=function(a){return null},a}();return b.XHR=d,c.exports}),a.registerDynamic("2c",["9","19","1a","1f","18","2e","3b","36","3c","3d","31","32"],!0,function(a,b,c){"use strict";function d(a,b){return new i.CompileDirectiveMetadata({type:a.type,isComponent:a.isComponent,selector:a.selector,exportAs:a.exportAs,changeDetection:a.changeDetection,inputs:a.inputs,outputs:a.outputs,hostListeners:a.hostListeners,hostProperties:a.hostProperties,hostAttributes:a.hostAttributes,lifecycleHooks:a.lifecycleHooks,providers:a.providers,viewProviders:a.viewProviders,queries:a.queries,viewQueries:a.viewQueries,precompile:a.precompile,template:b})}var e=a("9"),f=a("19"),g=a("1a"),h=a("1f"),i=a("18"),j=a("2e"),k=a("3b"),l=a("36"),m=a("3c"),n=a("3d"),o=a("31"),p=a("32"),q=function(){function a(a,b){this.syncResult=a,this.asyncResult=b}return a}();b.NormalizeDirectiveResult=q;var r=function(){function a(a,b,c,d){this._xhr=a,this._urlResolver=b,this._htmlParser=c,this._config=d,this._xhrCache=new Map}return a.prototype.clearCache=function(){this._xhrCache.clear()},a.prototype.clearCacheFor=function(a){var b=this;a.isComponent&&(this._xhrCache["delete"](a.template.templateUrl),a.template.externalStylesheets.forEach(function(a){b._xhrCache["delete"](a.moduleUrl)}))},a.prototype._fetch=function(a){var b=this._xhrCache.get(a);return b||(b=this._xhr.get(a),this._xhrCache.set(a,b)),b},a.prototype.normalizeDirective=function(a){var b=this;if(!a.isComponent)return new q(a,Promise.resolve(a));var c,e=null;if(h.isPresent(a.template.template))e=this.normalizeTemplateSync(a.type,a.template),c=Promise.resolve(e);else{if(!a.template.templateUrl)throw new g.BaseException("No template specified for component "+a.type.name);c=this.normalizeTemplateAsync(a.type,a.template)}if(e&&0===e.styleUrls.length){var f=d(a,e);return new q(f,Promise.resolve(f))}return new q(null,c.then(function(a){return b.normalizeExternalStylesheets(a)}).then(function(b){return d(a,b)}))},a.prototype.normalizeTemplateSync=function(a,b){return this.normalizeLoadedTemplate(a,b,b.template,a.moduleUrl)},a.prototype.normalizeTemplateAsync=function(a,b){var c=this,d=this._urlResolver.resolve(a.moduleUrl,b.templateUrl);return this._fetch(d).then(function(e){return c.normalizeLoadedTemplate(a,b,e,d)})},a.prototype.normalizeLoadedTemplate=function(a,b,c,d){var f=this._htmlParser.parse(c,a.name);if(f.errors.length>0){var j=f.errors.join("\n");throw new g.BaseException("Template parse errors:\n"+j)}var l=this.normalizeStylesheet(new i.CompileStylesheetMetadata({styles:b.styles,styleUrls:b.styleUrls,moduleUrl:a.moduleUrl})),m=new s;k.htmlVisitAll(m,f.rootNodes);var n=this.normalizeStylesheet(new i.CompileStylesheetMetadata({styles:m.styles,styleUrls:m.styleUrls,moduleUrl:d})),o=l.styles.concat(n.styles),p=l.styleUrls.concat(n.styleUrls),q=b.encapsulation;return h.isBlank(q)&&(q=this._config.defaultEncapsulation),q===e.ViewEncapsulation.Emulated&&0===o.length&&0===p.length&&(q=e.ViewEncapsulation.None),new i.CompileTemplateMetadata({encapsulation:q,template:c,templateUrl:d,styles:o,styleUrls:p,externalStylesheets:b.externalStylesheets,ngContentSelectors:m.ngContentSelectors,animations:b.animations,interpolation:b.interpolation})},a.prototype.normalizeExternalStylesheets=function(a){return this._loadMissingExternalStylesheets(a.styleUrls).then(function(b){return new i.CompileTemplateMetadata({encapsulation:a.encapsulation,template:a.template,templateUrl:a.templateUrl,styles:a.styles,styleUrls:a.styleUrls,externalStylesheets:b,ngContentSelectors:a.ngContentSelectors,animations:a.animations,interpolation:a.interpolation})})},a.prototype._loadMissingExternalStylesheets=function(a,b){var c=this;return void 0===b&&(b=new Map),Promise.all(a.filter(function(a){return!b.has(a)}).map(function(a){return c._fetch(a).then(function(d){var e=c.normalizeStylesheet(new i.CompileStylesheetMetadata({styles:[d],moduleUrl:a}));return b.set(a,e),c._loadMissingExternalStylesheets(e.styleUrls,b)})})).then(function(a){return f.MapWrapper.values(b)})},a.prototype.normalizeStylesheet=function(a){var b=this,c=a.styleUrls.filter(m.isStyleUrlResolvable).map(function(c){return b._urlResolver.resolve(a.moduleUrl,c)}),d=a.styles.map(function(d){var e=m.extractStyleUrls(b._urlResolver,a.moduleUrl,d);return c.push.apply(c,e.styleUrls),e.style});return new i.CompileStylesheetMetadata({styles:d,styleUrls:c,moduleUrl:a.moduleUrl})},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:p.XHR},{type:o.UrlResolver},{type:l.HtmlParser},{type:j.CompilerConfig}],a}();b.DirectiveNormalizer=r;var s=function(){function a(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return a.prototype.visitElement=function(a,b){var c=n.preparseElement(a);switch(c.type){case n.PreparsedElementType.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(c.selectAttr);break;case n.PreparsedElementType.STYLE:var d="";a.children.forEach(function(a){a instanceof k.HtmlTextAst&&(d+=a.value)}),this.styles.push(d);break;case n.PreparsedElementType.STYLESHEET:this.styleUrls.push(c.hrefAttr)}return c.nonBindable&&this.ngNonBindableStackCount++,k.htmlVisitAll(this,a.children),c.nonBindable&&this.ngNonBindableStackCount--,null},a.prototype.visitComment=function(a,b){return null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitText=function(a,b){return null},a.prototype.visitExpansion=function(a,b){return null},a.prototype.visitExpansionCase=function(a,b){return null},a}();return c.exports}),a.registerDynamic("3e",["1a","3b","3f"],!0,function(a,b,c){"use strict";function d(a){var b=new l;return new k(h.htmlVisitAll(b,a),b.isExpanded,b.errors)}function e(a,b){var c=a.cases.map(function(a){-1!=j.indexOf(a.value)||a.value.match(/^=\d+$/)||b.push(new i.I18nError(a.valueSourceSpan,'Plural cases should be "=<number>" or one of '+j.join(", ")));var c=d(a.expression);return b.push.apply(b,c.errors),new h.HtmlElementAst("template",[new h.HtmlAttrAst("ngPluralCase",""+a.value,a.valueSourceSpan)],c.nodes,a.sourceSpan,a.sourceSpan,a.sourceSpan)}),e=new h.HtmlAttrAst("[ngPlural]",a.switchValue,a.switchValueSourceSpan);return new h.HtmlElementAst("ng-container",[e],c,a.sourceSpan,a.sourceSpan,a.sourceSpan)}function f(a,b){var c=a.cases.map(function(a){var c=d(a.expression);return b.push.apply(b,c.errors),new h.HtmlElementAst("template",[new h.HtmlAttrAst("ngSwitchCase",""+a.value,a.valueSourceSpan)],c.nodes,a.sourceSpan,a.sourceSpan,a.sourceSpan)}),e=new h.HtmlAttrAst("[ngSwitch]",a.switchValue,a.switchValueSourceSpan);return new h.HtmlElementAst("ng-container",[e],c,a.sourceSpan,a.sourceSpan,a.sourceSpan)}var g=a("1a"),h=a("3b"),i=a("3f"),j=["zero","one","two","few","many","other"];b.expandNodes=d;var k=function(){function a(a,b,c){this.nodes=a,this.expanded=b,this.errors=c}return a}();b.ExpansionResult=k;var l=function(){function a(){this.isExpanded=!1,this.errors=[]}return a.prototype.visitElement=function(a,b){return new h.HtmlElementAst(a.name,a.attrs,h.htmlVisitAll(this,a.children),a.sourceSpan,a.startSourceSpan,a.endSourceSpan)},a.prototype.visitAttr=function(a,b){
|
||
return a},a.prototype.visitText=function(a,b){return a},a.prototype.visitComment=function(a,b){return a},a.prototype.visitExpansion=function(a,b){return this.isExpanded=!0,"plural"==a.type?e(a,this.errors):f(a,this.errors)},a.prototype.visitExpansionCase=function(a,b){throw new g.BaseException("Should not be reached")},a}();return c.exports}),a.registerDynamic("40",["19","1a","1f","3b","36","41","3e","42","3f"],!0,function(a,b,c){"use strict";var d=a("19"),e=a("1a"),f=a("1f"),g=a("3b"),h=a("36"),i=a("41"),j=a("3e"),k=a("42"),l=a("3f"),m="ph",n="name",o=/<ph(\s)+name=("(\w)+")><\/ph>/gi,p=function(){function a(a,b,c,d,e,f){this._htmlParser=a,this._parser=b,this._messagesContent=c,this._messages=d,this._implicitTags=e,this._implicitAttrs=f}return a.prototype.parse=function(a,b,c,d){void 0===c&&(c=!1),void 0===d&&(d=i.DEFAULT_INTERPOLATION_CONFIG),this.errors=[],this._interpolationConfig=d;var e=this._htmlParser.parse(a,b,!0);if(e.errors.length>0)return e;var f=j.expandNodes(e.rootNodes),g=this._recurse(f.nodes);return(k=this.errors).push.apply(k,f.errors),this.errors.length>0?new h.HtmlParseTreeResult([],this.errors):new h.HtmlParseTreeResult(g,[]);var k},a.prototype._processI18nPart=function(a){try{return a.hasI18n?this._mergeI18Part(a):this._recurseIntoI18nPart(a)}catch(b){if(b instanceof l.I18nError)return this.errors.push(b),[];throw b}},a.prototype._mergeI18Part=function(a){var b=a.createMessage(this._parser,this._interpolationConfig),c=k.id(b);if(!d.StringMapWrapper.contains(this._messages,c))throw new l.I18nError(a.sourceSpan,"Cannot find message for id '"+c+"', content '"+b.content+"'.");var e=this._messages[c];return this._mergeTrees(a,e,a.children)},a.prototype._recurseIntoI18nPart=function(a){if(f.isPresent(a.rootElement)){var b=a.rootElement,c=this._recurse(a.children),d=this._i18nAttributes(b);return[new g.HtmlElementAst(b.name,d,c,b.sourceSpan,b.startSourceSpan,b.endSourceSpan)]}return f.isPresent(a.rootTextNode)?[a.rootTextNode]:this._recurse(a.children)},a.prototype._recurse=function(a){var b=this,c=l.partition(a,this.errors,this._implicitTags);return d.ListWrapper.flatten(c.map(function(a){return b._processI18nPart(a)}))},a.prototype._mergeTrees=function(a,b,c){var d=new q;g.htmlVisitAll(d,c);var h=this._mergeTreesHelper(b,d.mapping);if(f.isPresent(a.rootElement)){var i=a.rootElement,j=this._i18nAttributes(i);return[new g.HtmlElementAst(i.name,j,h,i.sourceSpan,i.startSourceSpan,i.endSourceSpan)]}if(f.isPresent(a.rootTextNode))throw new e.BaseException("should not be reached");return h},a.prototype._mergeTreesHelper=function(a,b){var c=this;return a.map(function(d){if(d instanceof g.HtmlElementAst)return c._mergeElementOrInterpolation(d,a,b);if(d instanceof g.HtmlTextAst)return d;throw new e.BaseException("should not be reached")})},a.prototype._mergeElementOrInterpolation=function(a,b,c){var d=this._getName(a),g=d[0],h=f.NumberWrapper.parseInt(d.substring(1),10),i=c[h];if("t"==g)return this._mergeTextInterpolation(a,i);if("e"==g)return this._mergeElement(a,i,c);throw new e.BaseException("should not be reached")},a.prototype._getName=function(a){if(a.name!=m)throw new l.I18nError(a.sourceSpan,'Unexpected tag "'+a.name+'". Only "'+m+'" tags are allowed.');var b=a.attrs.filter(function(a){return a.name==n});if(0==b.length)throw new l.I18nError(a.sourceSpan,'Missing "'+n+'" attribute.');return b[0].value},a.prototype._mergeTextInterpolation=function(a,b){var c=this._parser.splitInterpolation(b.value,b.sourceSpan.toString(),this._interpolationConfig),d=f.isPresent(c)?c.expressions:[],e=this._messagesContent.substring(a.startSourceSpan.end.offset,a.endSourceSpan.start.offset),h=this._replacePlaceholdersWithExpressions(e,d,b.sourceSpan);return new g.HtmlTextAst(h,b.sourceSpan)},a.prototype._mergeElement=function(a,b,c){var d=this._mergeTreesHelper(a.children,c);return new g.HtmlElementAst(b.name,this._i18nAttributes(b),d,b.sourceSpan,b.startSourceSpan,b.endSourceSpan)},a.prototype._i18nAttributes=function(a){var b=this,c=[],e=f.isPresent(this._implicitAttrs[a.name])?this._implicitAttrs[a.name]:[];return a.attrs.forEach(function(f){if(!f.name.startsWith(l.I18N_ATTR_PREFIX)&&f.name!=l.I18N_ATTR){var h,i=a.attrs.filter(function(a){return a.name==""+l.I18N_ATTR_PREFIX+f.name});if(0==i.length){if(-1==e.indexOf(f.name))return void c.push(f);h=l.messageFromAttribute(b._parser,b._interpolationConfig,f)}else h=l.messageFromI18nAttribute(b._parser,b._interpolationConfig,a,i[0]);var j=k.id(h);if(!d.StringMapWrapper.contains(b._messages,j))throw new l.I18nError(f.sourceSpan,"Cannot find message for id '"+j+"', content '"+h.content+"'.");var m=b._replaceInterpolationInAttr(f,b._messages[j]);c.push(new g.HtmlAttrAst(f.name,m,f.sourceSpan))}}),c},a.prototype._replaceInterpolationInAttr=function(a,b){var c=this._parser.splitInterpolation(a.value,a.sourceSpan.toString(),this._interpolationConfig),d=f.isPresent(c)?c.expressions:[],e=b[0],h=b[b.length-1],i=e.sourceSpan.start.offset,j=h instanceof g.HtmlElementAst?h.endSourceSpan.end.offset:h.sourceSpan.end.offset,k=this._messagesContent.substring(i,j);return this._replacePlaceholdersWithExpressions(k,d,a.sourceSpan)},a.prototype._replacePlaceholdersWithExpressions=function(a,b,c){var d=this,e=this._buildExprMap(b);return f.RegExpWrapper.replaceAll(o,a,function(a){var b=a[2],f=b.substring(1,b.length-1);return d._convertIntoExpression(f,e,c)})},a.prototype._buildExprMap=function(a){for(var b=new Map,c=new Map,d=0;d<a.length;d++){var e=l.getPhNameFromBinding(a[d],d);b.set(l.dedupePhName(c,e),a[d])}return b},a.prototype._convertIntoExpression=function(a,b,c){if(b.has(a))return""+this._interpolationConfig.start+b.get(a)+this._interpolationConfig.end;throw new l.I18nError(c,"Invalid interpolation name '"+a+"'")},a}();b.I18nHtmlParser=p;var q=function(){function a(){this.mapping=[]}return a.prototype.visitElement=function(a,b){return this.mapping.push(a),g.htmlVisitAll(this,a.children),null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitText=function(a,b){return this.mapping.push(a),null},a.prototype.visitExpansion=function(a,b){return null},a.prototype.visitExpansionCase=function(a,b){return null},a.prototype.visitComment=function(a,b){return""},a}();return c.exports}),a.registerDynamic("3f",["1f","3b","43","42"],!0,function(a,b,c){"use strict";function d(a,b,c){for(var d=[],h=0;h<a.length;++h){var i=a[h],j=[];if(e(i)){for(var k=i.value.replace(/^i18n:?/,"").trim();++h<a.length&&!f(a[h]);)j.push(a[h]);if(h===a.length){b.push(new v(i.sourceSpan,"Missing closing 'i18n' comment."));break}d.push(new w(null,null,j,k,!0))}else if(i instanceof r.HtmlElementAst){var k=g(i),l=q.isPresent(k)||c.indexOf(i.name)>-1;d.push(new w(i,null,i.children,q.isPresent(k)?k.value:null,l))}else i instanceof r.HtmlTextAst&&d.push(new w(null,i,null,null,!1))}return d}function e(a){return a instanceof r.HtmlCommentAst&&q.isPresent(a.value)&&a.value.startsWith("i18n")}function f(a){return a instanceof r.HtmlCommentAst&&q.isPresent(a.value)&&"/i18n"===a.value}function g(a){for(var c=a.attrs,d=0;d<c.length;d++)if(c[d].name===b.I18N_ATTR)return c[d];return null}function h(a){return q.isBlank(a)||""==a?null:a.split("|")[0]}function i(a){if(q.isBlank(a)||""==a)return null;var b=a.split("|",2);return b.length>1?b[1]:null}function j(a,b,c,d){var e=d.name.substring(5),f=c.attrs.find(function(a){return a.name==e});if(f)return k(a,b,f,h(d.value),i(d.value));throw new v(c.sourceSpan,"Missing attribute '"+e+"'.")}function k(a,b,c,d,e){void 0===d&&(d=null),void 0===e&&(e=null);var f=l(c.value,c.sourceSpan,a,b);return new t.Message(f,d,e)}function l(a,b,c,d){try{var e=c.splitInterpolation(a,b.toString(),d),f=new Map;if(q.isPresent(e)){for(var g="",h=0;h<e.strings.length;++h)if(g+=e.strings[h],h!=e.strings.length-1){var i=m(e.expressions[h],h);i=n(f,i),g+='<ph name="'+i+'"/>'}return g}return a}catch(j){return a}}function m(a,b){var c=q.StringWrapper.split(a,u);return c.length>1?c[1]:""+b}function n(a,b){var c=a.get(b);return q.isPresent(c)?(a.set(b,c+1),b+"_"+c):(a.set(b,1),b)}function o(a,b,c){var d=new x(b,c);return r.htmlVisitAll(d,a).join("")}var p=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},q=a("1f"),r=a("3b"),s=a("43"),t=a("42");b.I18N_ATTR="i18n",b.I18N_ATTR_PREFIX="i18n-";var u=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*"([\s\S]*?)"[\s\S]*\)/g,v=function(a){function b(b,c){a.call(this,b,c)}return p(b,a),b}(s.ParseError);b.I18nError=v,b.partition=d;var w=function(){function a(a,b,c,d,e){this.rootElement=a,this.rootTextNode=b,this.children=c,this.i18n=d,this.hasI18n=e}return Object.defineProperty(a.prototype,"sourceSpan",{get:function(){return q.isPresent(this.rootElement)?this.rootElement.sourceSpan:q.isPresent(this.rootTextNode)?this.rootTextNode.sourceSpan:this.children[0].sourceSpan},enumerable:!0,configurable:!0}),a.prototype.createMessage=function(a,b){return new t.Message(o(this.children,a,b),h(this.i18n),i(this.i18n))},a}();b.Part=w,b.meaning=h,b.description=i,b.messageFromI18nAttribute=j,b.messageFromAttribute=k,b.removeInterpolation=l,b.getPhNameFromBinding=m,b.dedupePhName=n,b.stringifyNodes=o;var x=function(){function a(a,b){this._parser=a,this._interpolationConfig=b,this._index=0}return a.prototype.visitElement=function(a,b){var c=this._index++,d=this._join(r.htmlVisitAll(this,a.children),"");return'<ph name="e'+c+'">'+d+"</ph>"},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitText=function(a,b){var c=this._index++,d=l(a.value,a.sourceSpan,this._parser,this._interpolationConfig);return d!=a.value?'<ph name="t'+c+'">'+d+"</ph>":a.value},a.prototype.visitComment=function(a,b){return""},a.prototype.visitExpansion=function(a,b){return null},a.prototype.visitExpansionCase=function(a,b){return null},a.prototype._join=function(a,b){return a.filter(function(a){return a.length>0}).join(b)},a}();return c.exports}),a.registerDynamic("44",["19","1f","3b","41","42","3f","45"],!0,function(a,b,c){return function(c){"use strict";function d(a){var b={};return a.forEach(function(a){e.StringMapWrapper.contains(b,i.id(a))||(b[i.id(a)]=a)}),e.StringMapWrapper.values(b)}var e=a("19"),f=a("1f"),g=a("3b"),h=a("41"),i=a("42"),j=a("3f"),k=function(){function a(a,b){this.messages=a,this.errors=b}return a}();b.ExtractionResult=k,b.removeDuplicates=d;var l=function(){function a(a,b,c,d){this._htmlParser=a,this._parser=b,this._implicitTags=c,this._implicitAttrs=d}return a.prototype.extract=function(a,b,c){void 0===c&&(c=h.DEFAULT_INTERPOLATION_CONFIG),this._messages=[],this._errors=[];var d=this._htmlParser.parse(a,b,!0);return 0==d.errors.length&&this._recurse(d.rootNodes,c),new k(this._messages,this._errors.concat(d.errors))},a.prototype._extractMessagesFromPart=function(a,b){a.hasI18n?(this._messages.push(a.createMessage(this._parser,b)),this._recurseToExtractMessagesFromAttributes(a.children,b)):this._recurse(a.children,b),f.isPresent(a.rootElement)&&this._extractMessagesFromAttributes(a.rootElement,b)},a.prototype._recurse=function(a,b){var c=this;if(f.isPresent(a)){var d=j.partition(a,this._errors,this._implicitTags);d.forEach(function(a){return c._extractMessagesFromPart(a,b)})}},a.prototype._recurseToExtractMessagesFromAttributes=function(a,b){var c=this;a.forEach(function(a){a instanceof g.HtmlElementAst&&(c._extractMessagesFromAttributes(a,b),c._recurseToExtractMessagesFromAttributes(a.children,b))})},a.prototype._extractMessagesFromAttributes=function(a,b){var c=this,d=f.isPresent(this._implicitAttrs[a.name])?this._implicitAttrs[a.name]:[],e=[];a.attrs.filter(function(a){return a.name.startsWith(j.I18N_ATTR_PREFIX)}).forEach(function(d){try{e.push(d.name.substring(j.I18N_ATTR_PREFIX.length)),c._messages.push(j.messageFromI18nAttribute(c._parser,b,a,d))}catch(f){if(!(f instanceof j.I18nError))throw f;c._errors.push(f)}}),a.attrs.filter(function(a){return!a.name.startsWith(j.I18N_ATTR_PREFIX)}).filter(function(a){return-1==e.indexOf(a.name)}).filter(function(a){return d.indexOf(a.name)>-1}).forEach(function(a){return c._messages.push(j.messageFromAttribute(c._parser,b,a))})},a}();b.MessageExtractor=l}(a("45")),c.exports}),a.registerDynamic("42",["1f"],!0,function(a,b,c){"use strict";function d(a){var b=e.isPresent(a.meaning)?a.meaning:"",c=e.isPresent(a.content)?a.content:"";return e.escape("$ng|"+b+"|"+c)}var e=a("1f"),f=function(){function a(a,b,c){void 0===c&&(c=null),this.content=a,this.meaning=b,this.description=c}return a}();return b.Message=f,b.id=d,c.exports}),a.registerDynamic("46",["1f","3b","36","43","42"],!0,function(a,b,c){"use strict";function d(a){var b=a.map(function(a){return i(a)}).join("");return"<message-bundle>"+b+"</message-bundle>"}function e(a,b){var c=new o.HtmlParser,d=j(a.trim()),e=c.parse(d,b);if(e.errors.length>0)return new v(null,{},e.errors);if(f(e.rootNodes))return new v(null,{},[new w(null,'Missing element "'+u+'"')]);var h=e.rootNodes[0],i=[],k={};return g(h.children,k,i),0==i.length?new v(d,k,[]):new v(null,{},i)}function f(a){return a.length<1||!(a[0]instanceof n.HtmlElementAst)||a[0].name!=u}function g(a,b,c){a.forEach(function(a){if(a instanceof n.HtmlElementAst){var d=a;if(d.name!=t)return void c.push(new w(a.sourceSpan,'Unexpected element "'+d.name+'"'));var e=h(d);if(m.isBlank(e))return void c.push(new w(a.sourceSpan,'"'+s+'" attribute is missing'));b[e]=d.children}})}function h(a){var b=a.attrs.filter(function(a){return a.name==s});return b.length>0?b[0].value:null}function i(a){var b=m.isPresent(a.description)?" desc='"+k(a.description)+"'":"",c=m.isPresent(a.meaning)?" meaning='"+k(a.meaning)+"'":"";return"<msg id='"+q.id(a)+"'"+b+c+">"+a.content+"</msg>"}function j(a){return m.RegExpWrapper.replaceAll(r,a,function(a){var b=a[2];return"<ph name="+b+"></ph>"})}function k(a){return x.reduce(function(a,b){return a.replace(b[0],b[1])},a)}var l=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},m=a("1f"),n=a("3b"),o=a("36"),p=a("43"),q=a("42"),r=m.RegExpWrapper.create('\\<ph(\\s)+name=("(\\w)+")\\/\\>'),s="id",t="msg",u="message-bundle";b.serializeXmb=d;var v=function(){function a(a,b,c){this.content=a,this.messages=b,this.errors=c}return a}();b.XmbDeserializationResult=v;var w=function(a){function b(b,c){a.call(this,b,c)}return l(b,a),b}(p.ParseError);b.XmbDeserializationError=w,b.deserializeXmb=e;var x=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[/</g,"<"],[/>/g,">"]];return c.exports}),a.registerDynamic("47",["9","1a","1f"],!0,function(a,b,c){"use strict";function d(a,b){if(f.isDevMode()&&!h.isBlank(b)){if(!h.isArray(b))throw new g.BaseException("Expected '"+a+"' to be an array of strings.");for(var c=0;c<b.length;c+=1)if(!h.isString(b[c]))throw new g.BaseException("Expected '"+a+"' to be an array of strings.")}}function e(a,b){if(!(!f.isDevMode()||h.isBlank(b)||h.isArray(b)&&2==b.length))throw new g.BaseException("Expected '"+a+"' to be an array, [start, end].");if(f.isDevMode()&&!h.isBlank(b)){var c=b[0],d=b[1];i.forEach(function(a){if(a.test(c)||a.test(d))throw new g.BaseException("['"+c+"', '"+d+"'] contains unusable interpolation symbol.")})}}var f=a("9"),g=a("1a"),h=a("1f");b.assertArrayOfStrings=d;var i=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i];return b.assertInterpolationSymbols=e,c.exports}),a.registerDynamic("48",["9","26","19"],!0,function(a,b,c){"use strict";function d(a,b){var c=h.get(a),d=i.get(a);return f.reflector.hasLifecycleHook(b,c,d)}var e=a("9"),f=a("26"),g=a("19"),h=g.MapWrapper.createFromPairs([[f.LifecycleHooks.OnInit,e.OnInit],[f.LifecycleHooks.OnDestroy,e.OnDestroy],[f.LifecycleHooks.DoCheck,e.DoCheck],[f.LifecycleHooks.OnChanges,e.OnChanges],[f.LifecycleHooks.AfterContentInit,e.AfterContentInit],[f.LifecycleHooks.AfterContentChecked,e.AfterContentChecked],[f.LifecycleHooks.AfterViewInit,e.AfterViewInit],[f.LifecycleHooks.AfterViewChecked,e.AfterViewChecked]]),i=g.MapWrapper.createFromPairs([[f.LifecycleHooks.OnInit,"ngOnInit"],[f.LifecycleHooks.OnDestroy,"ngOnDestroy"],[f.LifecycleHooks.DoCheck,"ngDoCheck"],[f.LifecycleHooks.OnChanges,"ngOnChanges"],[f.LifecycleHooks.AfterContentInit,"ngAfterContentInit"],[f.LifecycleHooks.AfterContentChecked,"ngAfterContentChecked"],[f.LifecycleHooks.AfterViewInit,"ngAfterViewInit"],[f.LifecycleHooks.AfterViewChecked,"ngAfterViewChecked"]]);return b.hasLifecycleHook=d,c.exports}),a.registerDynamic("34",["9","26","19","1a","1f"],!0,function(a,b,c){"use strict";function d(a){return a instanceof e.DirectiveMetadata}var e=a("9"),f=a("26"),g=a("19"),h=a("1a"),i=a("1f"),j=function(){function a(a){void 0===a&&(a=f.reflector),this._reflector=a}return a.prototype.resolve=function(a){var b=this._reflector.annotations(e.resolveForwardRef(a));if(i.isPresent(b)){var c=b.find(d);if(i.isPresent(c)){var f=this._reflector.propMetadata(a);return this._mergeWithPropertyMetadata(c,f,a)}}throw new h.BaseException("No Directive annotation found on "+i.stringify(a))},a.prototype._mergeWithPropertyMetadata=function(a,b,c){var d=[],f=[],h={},j={};return g.StringMapWrapper.forEach(b,function(a,b){a.forEach(function(a){if(a instanceof e.InputMetadata&&(i.isPresent(a.bindingPropertyName)?d.push(b+": "+a.bindingPropertyName):d.push(b)),a instanceof e.OutputMetadata&&(i.isPresent(a.bindingPropertyName)?f.push(b+": "+a.bindingPropertyName):f.push(b)),a instanceof e.HostBindingMetadata&&(i.isPresent(a.hostPropertyName)?h["["+a.hostPropertyName+"]"]=b:h["["+b+"]"]=b),a instanceof e.HostListenerMetadata){var c=i.isPresent(a.args)?a.args.join(", "):"";h["("+a.eventName+")"]=b+"("+c+")"}a instanceof e.QueryMetadata&&(j[b]=a)})}),this._merge(a,d,f,h,j,c)},a.prototype._merge=function(a,b,c,d,f,j){var k,l=i.isPresent(a.inputs)?g.ListWrapper.concat(a.inputs,b):b;i.isPresent(a.outputs)?(a.outputs.forEach(function(a){if(g.ListWrapper.contains(c,a))throw new h.BaseException("Output event '"+a+"' defined multiple times in '"+i.stringify(j)+"'")}),k=g.ListWrapper.concat(a.outputs,c)):k=c;var m=i.isPresent(a.host)?g.StringMapWrapper.merge(a.host,d):d,n=i.isPresent(a.queries)?g.StringMapWrapper.merge(a.queries,f):f;return a instanceof e.ComponentMetadata?new e.ComponentMetadata({selector:a.selector,inputs:l,outputs:k,host:m,exportAs:a.exportAs,moduleId:a.moduleId,queries:n,changeDetection:a.changeDetection,providers:a.providers,viewProviders:a.viewProviders,precompile:a.precompile}):new e.DirectiveMetadata({selector:a.selector,inputs:l,outputs:k,host:m,exportAs:a.exportAs,queries:n,providers:a.providers})},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:f.ReflectorReader}],a}();return b.DirectiveResolver=j,b.CODEGEN_DIRECTIVE_RESOLVER=new j(f.reflector),c.exports}),a.registerDynamic("35",["9","26","1a","1f"],!0,function(a,b,c){"use strict";function d(a){return a instanceof e.PipeMetadata}var e=a("9"),f=a("26"),g=a("1a"),h=a("1f"),i=function(){function a(a){void 0===a&&(a=f.reflector),this._reflector=a}return a.prototype.resolve=function(a){var b=this._reflector.annotations(e.resolveForwardRef(a));if(h.isPresent(b)){var c=b.find(d);if(h.isPresent(c))return c}throw new g.BaseException("No Pipe decorator found on "+h.stringify(a))},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:f.ReflectorReader}],a}();return b.PipeResolver=i,c.exports}),a.registerDynamic("33",["9","26","1f","1a"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("26"),f=a("1f"),g=a("1a"),h=function(){function a(a){void 0===a&&(a=e.reflector),this._reflector=a}return a.prototype.resolve=function(a){var b;if(this._reflector.annotations(a).forEach(function(a){a instanceof d.ComponentMetadata&&(b=a)}),f.isPresent(b)){if(f.isBlank(b.template)&&f.isBlank(b.templateUrl))throw new g.BaseException("Component '"+f.stringify(a)+"' must have either 'template' or 'templateUrl' set.");return new d.ViewMetadata({templateUrl:b.templateUrl,template:b.template,directives:b.directives,pipes:b.pipes,encapsulation:b.encapsulation,styles:b.styles,styleUrls:b.styleUrls,animations:b.animations,interpolation:b.interpolation})}throw new g.BaseException("Could not compile '"+f.stringify(a)+"' because it is not a component.")},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:e.ReflectorReader}],a}();return b.ViewResolver=h,c.exports}),a.registerDynamic("2d",["9","26","19","1a","1f","47","18","2e","48","34","35","31","1c","33"],!0,function(a,b,c){"use strict";function d(a,b){var c=[];return r.isPresent(b)&&f(b,c),r.isPresent(a.directives)&&f(a.directives,c),c}function e(a,b){var c=[];return r.isPresent(b)&&f(b,c),r.isPresent(a.pipes)&&f(a.pipes,c),c}function f(a,b){void 0===b&&(b=[]);for(var c=0;c<a.length;c++){var d=n.resolveForwardRef(a[c]);r.isArray(d)?f(d,b):b.push(d)}return b}function g(a,b,c){var d,e=[];f(b,e);for(var g=0;g<e.length;g++)if(r.isBlank(e[g]))throw d=e.map(function(a){return r.isBlank(a)?"?":r.stringify(a)}).join(", "),new q.BaseException("One or more of "+c+' for "'+r.stringify(a)+'" were not defined: ['+d+"].");return b}function h(a){return r.isStringMap(a)&&r.isPresent(a.name)&&r.isPresent(a.filePath)}function i(a){return h(a)||a instanceof r.Type}function j(a){return h(a)?a.filePath:null}function k(a,b,c){if(h(b))return j(b);if(r.isPresent(c.moduleId)){var d=c.moduleId,e=y.getUrlScheme(d);return r.isPresent(e)&&e.length>0?d:"package:"+d+z.MODULE_SUFFIX}return a.importUri(b)}function l(a){return z.visitValue(a,new C,null)}var m=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},n=a("9"),o=a("26"),p=a("19"),q=a("1a"),r=a("1f"),s=a("47"),t=a("18"),u=a("2e"),v=a("48"),w=a("34"),x=a("35"),y=a("31"),z=a("1c"),A=a("33"),B=function(){function a(a,b,c,d,e){void 0===e&&(e=o.reflector),this._directiveResolver=a,this._pipeResolver=b,this._viewResolver=c,this._config=d,this._reflector=e,this._directiveCache=new Map,this._pipeCache=new Map,this._anonymousTypes=new Map,this._anonymousTypeIndex=0}return a.prototype.sanitizeTokenName=function(a){var b=r.stringify(a);if(b.indexOf("(")>=0){var c=this._anonymousTypes.get(a);r.isBlank(c)&&(this._anonymousTypes.set(a,this._anonymousTypeIndex++),c=this._anonymousTypes.get(a)),b="anonymous_token_"+c+"_"}return z.sanitizeIdentifier(b)},a.prototype.clearCacheFor=function(a){this._directiveCache["delete"](a),this._pipeCache["delete"](a)},a.prototype.clearCache=function(){this._directiveCache.clear(),this._pipeCache.clear()},a.prototype.getAnimationEntryMetadata=function(a){var b=this,c=a.definitions.map(function(a){return b.getAnimationStateMetadata(a)});return new t.CompileAnimationEntryMetadata(a.name,c)},a.prototype.getAnimationStateMetadata=function(a){if(a instanceof n.AnimationStateDeclarationMetadata){var b=this.getAnimationStyleMetadata(a.styles);return new t.CompileAnimationStateDeclarationMetadata(a.stateNameExpr,b)}return a instanceof n.AnimationStateTransitionMetadata?new t.CompileAnimationStateTransitionMetadata(a.stateChangeExpr,this.getAnimationMetadata(a.steps)):null},a.prototype.getAnimationStyleMetadata=function(a){return new t.CompileAnimationStyleMetadata(a.offset,a.styles)},a.prototype.getAnimationMetadata=function(a){var b=this;if(a instanceof n.AnimationStyleMetadata)return this.getAnimationStyleMetadata(a);if(a instanceof n.AnimationKeyframesSequenceMetadata)return new t.CompileAnimationKeyframesSequenceMetadata(a.steps.map(function(a){return b.getAnimationStyleMetadata(a)}));if(a instanceof n.AnimationAnimateMetadata){var c=this.getAnimationMetadata(a.styles);return new t.CompileAnimationAnimateMetadata(a.timings,c)}if(a instanceof n.AnimationWithStepsMetadata){var d=a.steps.map(function(a){return b.getAnimationMetadata(a)});return a instanceof n.AnimationGroupMetadata?new t.CompileAnimationGroupMetadata(d):new t.CompileAnimationSequenceMetadata(d)}return null},a.prototype.getDirectiveMetadata=function(a){var b=this,c=this._directiveCache.get(a);if(r.isBlank(c)){var d=this._directiveResolver.resolve(a),e=null,h=null,i=[],l=j(a),m=[];if(d instanceof n.ComponentMetadata){var p=d,q=this._viewResolver.resolve(a);s.assertArrayOfStrings("styles",q.styles),s.assertInterpolationSymbols("interpolation",q.interpolation);var u=r.isPresent(q.animations)?q.animations.map(function(a){return b.getAnimationEntryMetadata(a)}):null;s.assertArrayOfStrings("styles",q.styles),s.assertArrayOfStrings("styleUrls",q.styleUrls),e=new t.CompileTemplateMetadata({encapsulation:q.encapsulation,template:q.template,templateUrl:q.templateUrl,styles:q.styles,styleUrls:q.styleUrls,animations:u,interpolation:q.interpolation}),h=p.changeDetection,r.isPresent(d.viewProviders)&&(i=this.getProvidersMetadata(g(a,d.viewProviders,"viewProviders"))),l=k(this._reflector,a,p),p.precompile&&(m=f(p.precompile).map(function(a){return b.getTypeMetadata(a,j(a))}))}var w=[];r.isPresent(d.providers)&&(w=this.getProvidersMetadata(g(a,d.providers,"providers")));var x=[],y=[];r.isPresent(d.queries)&&(x=this.getQueriesMetadata(d.queries,!1,a),y=this.getQueriesMetadata(d.queries,!0,a)),c=t.CompileDirectiveMetadata.create({selector:d.selector,exportAs:d.exportAs,isComponent:r.isPresent(e),type:this.getTypeMetadata(a,l),template:e,changeDetection:h,inputs:d.inputs,outputs:d.outputs,host:d.host,lifecycleHooks:o.LIFECYCLE_HOOKS_VALUES.filter(function(b){return v.hasLifecycleHook(b,a)}),providers:w,viewProviders:i,queries:x,viewQueries:y,precompile:m}),this._directiveCache.set(a,c)}return c},a.prototype.maybeGetDirectiveMetadata=function(a){try{return this.getDirectiveMetadata(a)}catch(b){if(-1!==b.message.indexOf("No Directive annotation"))return null;throw b}},a.prototype.getTypeMetadata=function(a,b,c){return void 0===c&&(c=null),new t.CompileTypeMetadata({name:this.sanitizeTokenName(a),moduleUrl:b,runtime:a,diDeps:this.getDependenciesMetadata(a,c)})},a.prototype.getFactoryMetadata=function(a,b,c){return void 0===c&&(c=null),new t.CompileFactoryMetadata({name:this.sanitizeTokenName(a),moduleUrl:b,runtime:a,diDeps:this.getDependenciesMetadata(a,c)})},a.prototype.getPipeMetadata=function(a){var b=this._pipeCache.get(a);if(r.isBlank(b)){var c=this._pipeResolver.resolve(a);b=new t.CompilePipeMetadata({type:this.getTypeMetadata(a,j(a)),name:c.name,pure:c.pure,lifecycleHooks:o.LIFECYCLE_HOOKS_VALUES.filter(function(b){return v.hasLifecycleHook(b,a)})}),this._pipeCache.set(a,b)}return b},a.prototype.getViewDirectivesMetadata=function(a){for(var b=this,c=this._viewResolver.resolve(a),e=d(c,this._config.platformDirectives),f=0;f<e.length;f++)if(!i(e[f]))throw new q.BaseException("Unexpected directive value '"+r.stringify(e[f])+"' on the View of component '"+r.stringify(a)+"'");return e.map(function(a){return b.getDirectiveMetadata(a)})},a.prototype.getViewPipesMetadata=function(a){for(var b=this,c=this._viewResolver.resolve(a),d=e(c,this._config.platformPipes),f=0;f<d.length;f++)if(!i(d[f]))throw new q.BaseException("Unexpected piped value '"+r.stringify(d[f])+"' on the View of component '"+r.stringify(a)+"'");return d.map(function(a){return b.getPipeMetadata(a)})},a.prototype.getDependenciesMetadata=function(a,b){var c=this,d=!1,e=r.isPresent(b)?b:this._reflector.parameters(a);r.isBlank(e)&&(e=[]);var f=e.map(function(b){var e=!1,f=!1,g=!1,h=!1,j=!1,k=null,l=null,m=null;return r.isArray(b)?b.forEach(function(a){a instanceof n.HostMetadata?f=!0:a instanceof n.SelfMetadata?g=!0:a instanceof n.SkipSelfMetadata?h=!0:a instanceof n.OptionalMetadata?j=!0:a instanceof n.AttributeMetadata?(e=!0,m=a.attributeName):a instanceof n.QueryMetadata?a.isViewQuery?l=a:k=a:a instanceof n.InjectMetadata?m=a.token:i(a)&&r.isBlank(m)&&(m=a)}):m=b,r.isBlank(m)?(d=!0,null):new t.CompileDiDependencyMetadata({isAttribute:e,isHost:f,isSelf:g,isSkipSelf:h,isOptional:j,query:r.isPresent(k)?c.getQueryMetadata(k,null,a):null,viewQuery:r.isPresent(l)?c.getQueryMetadata(l,null,a):null,token:c.getTokenMetadata(m)})});if(d){var g=f.map(function(a){return a?r.stringify(a.token):"?"}).join(", ");throw new q.BaseException("Can't resolve all parameters for "+r.stringify(a)+": ("+g+").")}return f},a.prototype.getTokenMetadata=function(a){a=n.resolveForwardRef(a);var b;return b=r.isString(a)?new t.CompileTokenMetadata({value:a}):new t.CompileTokenMetadata({identifier:new t.CompileIdentifierMetadata({runtime:a,name:this.sanitizeTokenName(a),moduleUrl:j(a)})})},a.prototype.getProvidersMetadata=function(a){var b=this;return a.map(function(a){return a=n.resolveForwardRef(a),r.isArray(a)?b.getProvidersMetadata(a):a instanceof n.Provider?b.getProviderMetadata(a):o.isProviderLiteral(a)?b.getProviderMetadata(o.createProvider(a)):b.getTypeMetadata(a,j(a))})},a.prototype.getProviderMetadata=function(a){var b,c=null,d=null;return r.isPresent(a.useClass)?(c=this.getTypeMetadata(a.useClass,j(a.useClass),a.dependencies),b=c.diDeps):r.isPresent(a.useFactory)&&(d=this.getFactoryMetadata(a.useFactory,j(a.useFactory),a.dependencies),b=d.diDeps),new t.CompileProviderMetadata({token:this.getTokenMetadata(a.token),useClass:c,useValue:l(a.useValue),useFactory:d,useExisting:r.isPresent(a.useExisting)?this.getTokenMetadata(a.useExisting):null,deps:b,multi:a.multi})},a.prototype.getQueriesMetadata=function(a,b,c){var d=this,e=[];return p.StringMapWrapper.forEach(a,function(a,f){a.isViewQuery===b&&e.push(d.getQueryMetadata(a,f,c))}),e},a.prototype.getQueryMetadata=function(a,b,c){var d,e=this;if(a.isVarBindingQuery)d=a.varBindings.map(function(a){return e.getTokenMetadata(a)});else{if(!r.isPresent(a.selector))throw new q.BaseException("Can't construct a query for the property \""+b+'" of "'+r.stringify(c)+"\" since the query selector wasn't defined.");d=[this.getTokenMetadata(a.selector)]}return new t.CompileQueryMetadata({selectors:d,first:a.first,descendants:a.descendants,propertyName:b,read:r.isPresent(a.read)?this.getTokenMetadata(a.read):null})},a.decorators=[{type:n.Injectable}],a.ctorParameters=[{type:w.DirectiveResolver},{type:x.PipeResolver},{type:A.ViewResolver},{type:u.CompilerConfig},{type:o.ReflectorReader}],a}();b.CompileMetadataResolver=B;var C=function(a){function b(){a.apply(this,arguments)}return m(b,a),b.prototype.visitOther=function(a,b){return h(a)?new t.CompileIdentifierMetadata({name:a.name,moduleUrl:j(a)}):new t.CompileIdentifierMetadata({runtime:a})},b}(z.ValueTransformer);return c.exports}),a.registerDynamic("49",["1a","1f"],!0,function(a,b,c){"use strict";var d=a("1a"),e=a("1f"),f=/asset:([^\/]+)\/([^\/]+)\/(.+)/g,g=function(){function a(){}return a.parseAssetUrl=function(a){return h.parse(a)},a}();b.ImportGenerator=g;var h=function(){function a(a,b,c){this.packageName=a,this.firstLevelDir=b,this.modulePath=c}return a.parse=function(b,c){void 0===c&&(c=!0);var g=e.RegExpWrapper.firstMatch(f,b);if(e.isPresent(g))return new a(g[1],g[2],g[3]);if(c)return null;throw new d.BaseException("Url "+b+" is not a valid asset: url")},a}();return b.AssetUrl=h,c.exports}),a.registerDynamic("20",["1a","1f","1b"],!0,function(a,b,c){"use strict";function d(a,b){if(g.isBlank(a))return null;var c=g.StringWrapper.replaceAllMapped(a,i,function(a){return"$"==a[0]?b?"\\$":"$":"\n"==a[0]?"\\n":"\r"==a[0]?"\\r":"\\"+a[0]});return"'"+c+"'"}function e(a){for(var b="",c=0;a>c;c++)b+=" ";return b}var f=a("1a"),g=a("1f"),h=a("1b"),i=/'|\\|\n|\r|\$/g;b.CATCH_ERROR_VAR=h.variable("error"),b.CATCH_STACK_VAR=h.variable("stack");var j=function(){function a(){}return a}();b.OutputEmitter=j;var k=function(){function a(a){this.indent=a,this.parts=[]}return a}(),l=function(){function a(a,b){this._exportedVars=a,this._indent=b,this._classes=[],this._lines=[new k(b)]}return a.createRoot=function(b){return new a(b,0)},Object.defineProperty(a.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!0,configurable:!0}),a.prototype.isExportedVar=function(a){return-1!==this._exportedVars.indexOf(a)},a.prototype.println=function(a){void 0===a&&(a=""),this.print(a,!0);
|
||
},a.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},a.prototype.print=function(a,b){void 0===b&&(b=!1),a.length>0&&this._currentLine.parts.push(a),b&&this._lines.push(new k(this._indent))},a.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},a.prototype.incIndent=function(){this._indent++,this._currentLine.indent=this._indent},a.prototype.decIndent=function(){this._indent--,this._currentLine.indent=this._indent},a.prototype.pushClass=function(a){this._classes.push(a)},a.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(a.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),a.prototype.toSource=function(){var a=this._lines;return 0===a[a.length-1].parts.length&&(a=a.slice(0,a.length-1)),a.map(function(a){return a.parts.length>0?e(a.indent)+a.parts.join(""):""}).join("\n")},a}();b.EmitterVisitorContext=l;var m=function(){function a(a){this._escapeDollarInStrings=a}return a.prototype.visitExpressionStmt=function(a,b){return a.expr.visitExpression(this,b),b.println(";"),null},a.prototype.visitReturnStmt=function(a,b){return b.print("return "),a.value.visitExpression(this,b),b.println(";"),null},a.prototype.visitIfStmt=function(a,b){b.print("if ("),a.condition.visitExpression(this,b),b.print(") {");var c=g.isPresent(a.falseCase)&&a.falseCase.length>0;return a.trueCase.length<=1&&!c?(b.print(" "),this.visitAllStatements(a.trueCase,b),b.removeEmptyLastLine(),b.print(" ")):(b.println(),b.incIndent(),this.visitAllStatements(a.trueCase,b),b.decIndent(),c&&(b.println("} else {"),b.incIndent(),this.visitAllStatements(a.falseCase,b),b.decIndent())),b.println("}"),null},a.prototype.visitThrowStmt=function(a,b){return b.print("throw "),a.error.visitExpression(this,b),b.println(";"),null},a.prototype.visitCommentStmt=function(a,b){var c=a.comment.split("\n");return c.forEach(function(a){b.println("// "+a)}),null},a.prototype.visitWriteVarExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),b.print(a.name+" = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitWriteKeyExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),a.receiver.visitExpression(this,b),b.print("["),a.index.visitExpression(this,b),b.print("] = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitWritePropExpr=function(a,b){var c=b.lineIsEmpty();return c||b.print("("),a.receiver.visitExpression(this,b),b.print("."+a.name+" = "),a.value.visitExpression(this,b),c||b.print(")"),null},a.prototype.visitInvokeMethodExpr=function(a,b){a.receiver.visitExpression(this,b);var c=a.name;return g.isPresent(a.builtin)&&(c=this.getBuiltinMethodName(a.builtin),g.isBlank(c))?null:(b.print("."+c+"("),this.visitAllExpressions(a.args,b,","),b.print(")"),null)},a.prototype.visitInvokeFunctionExpr=function(a,b){return a.fn.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},a.prototype.visitReadVarExpr=function(a,c){var d=a.name;if(g.isPresent(a.builtin))switch(a.builtin){case h.BuiltinVar.Super:d="super";break;case h.BuiltinVar.This:d="this";break;case h.BuiltinVar.CatchError:d=b.CATCH_ERROR_VAR.name;break;case h.BuiltinVar.CatchStack:d=b.CATCH_STACK_VAR.name;break;default:throw new f.BaseException("Unknown builtin variable "+a.builtin)}return c.print(d),null},a.prototype.visitInstantiateExpr=function(a,b){return b.print("new "),a.classExpr.visitExpression(this,b),b.print("("),this.visitAllExpressions(a.args,b,","),b.print(")"),null},a.prototype.visitLiteralExpr=function(a,b){var c=a.value;return g.isString(c)?b.print(d(c,this._escapeDollarInStrings)):g.isBlank(c)?b.print("null"):b.print(""+c),null},a.prototype.visitConditionalExpr=function(a,b){return b.print("("),a.condition.visitExpression(this,b),b.print("? "),a.trueCase.visitExpression(this,b),b.print(": "),a.falseCase.visitExpression(this,b),b.print(")"),null},a.prototype.visitNotExpr=function(a,b){return b.print("!"),a.condition.visitExpression(this,b),null},a.prototype.visitBinaryOperatorExpr=function(a,b){var c;switch(a.operator){case h.BinaryOperator.Equals:c="==";break;case h.BinaryOperator.Identical:c="===";break;case h.BinaryOperator.NotEquals:c="!=";break;case h.BinaryOperator.NotIdentical:c="!==";break;case h.BinaryOperator.And:c="&&";break;case h.BinaryOperator.Or:c="||";break;case h.BinaryOperator.Plus:c="+";break;case h.BinaryOperator.Minus:c="-";break;case h.BinaryOperator.Divide:c="/";break;case h.BinaryOperator.Multiply:c="*";break;case h.BinaryOperator.Modulo:c="%";break;case h.BinaryOperator.Lower:c="<";break;case h.BinaryOperator.LowerEquals:c="<=";break;case h.BinaryOperator.Bigger:c=">";break;case h.BinaryOperator.BiggerEquals:c=">=";break;default:throw new f.BaseException("Unknown operator "+a.operator)}return b.print("("),a.lhs.visitExpression(this,b),b.print(" "+c+" "),a.rhs.visitExpression(this,b),b.print(")"),null},a.prototype.visitReadPropExpr=function(a,b){return a.receiver.visitExpression(this,b),b.print("."),b.print(a.name),null},a.prototype.visitReadKeyExpr=function(a,b){return a.receiver.visitExpression(this,b),b.print("["),a.index.visitExpression(this,b),b.print("]"),null},a.prototype.visitLiteralArrayExpr=function(a,b){var c=a.entries.length>1;return b.print("[",c),b.incIndent(),this.visitAllExpressions(a.entries,b,",",c),b.decIndent(),b.print("]",c),null},a.prototype.visitLiteralMapExpr=function(a,b){var c=this,e=a.entries.length>1;return b.print("{",e),b.incIndent(),this.visitAllObjects(function(a){b.print(d(a[0],c._escapeDollarInStrings)+": "),a[1].visitExpression(c,b)},a.entries,b,",",e),b.decIndent(),b.print("}",e),null},a.prototype.visitAllExpressions=function(a,b,c,d){var e=this;void 0===d&&(d=!1),this.visitAllObjects(function(a){return a.visitExpression(e,b)},a,b,c,d)},a.prototype.visitAllObjects=function(a,b,c,d,e){void 0===e&&(e=!1);for(var f=0;f<b.length;f++)f>0&&c.print(d,e),a(b[f]);e&&c.println()},a.prototype.visitAllStatements=function(a,b){var c=this;a.forEach(function(a){return a.visitStatement(c,b)})},a}();return b.AbstractEmitterVisitor=m,b.escapeSingleQuoteString=d,c.exports}),a.registerDynamic("27",["1a","1f","20","1b"],!0,function(a,b,c){"use strict";function d(a){var b,c=new l(j),d=h.EmitterVisitorContext.createRoot([]);return b=g.isArray(a)?a:[a],b.forEach(function(a){if(a instanceof i.Statement)a.visitStatement(c,d);else if(a instanceof i.Expression)a.visitExpression(c,d);else{if(!(a instanceof i.Type))throw new f.BaseException("Don't know how to print debug info for "+a);a.visitType(c,d)}}),d.toSource()}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("1a"),g=a("1f"),h=a("20"),i=a("1b"),j="asset://debug/lib";b.debugOutputAstAsTypeScript=d;var k=function(){function a(a){this._importGenerator=a}return a.prototype.emitStatements=function(a,b,c){var d=this,e=new l(a),f=h.EmitterVisitorContext.createRoot(c);e.visitAllStatements(b,f);var g=[];return e.importsWithPrefixes.forEach(function(b,c){g.push("imp"+("ort * as "+b+" from '"+d._importGenerator.getImportPath(a,c)+"';"))}),g.push(f.toSource()),g.join("\n")},a}();b.TypeScriptEmitter=k;var l=function(a){function b(b){a.call(this,!1),this._moduleUrl=b,this.importsWithPrefixes=new Map}return e(b,a),b.prototype.visitType=function(a,b,c){void 0===c&&(c="any"),g.isPresent(a)?a.visitType(this,b):b.print(c)},b.prototype.visitExternalExpr=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitDeclareVarStmt=function(a,b){return b.isExportedVar(a.name)&&b.print("export "),a.hasModifier(i.StmtModifier.Final)?b.print("const"):b.print("var"),b.print(" "+a.name+":"),this.visitType(a.type,b),b.print(" = "),a.value.visitExpression(this,b),b.println(";"),null},b.prototype.visitCastExpr=function(a,b){return b.print("(<"),a.type.visitType(this,b),b.print(">"),a.value.visitExpression(this,b),b.print(")"),null},b.prototype.visitDeclareClassStmt=function(a,b){var c=this;return b.pushClass(a),b.isExportedVar(a.name)&&b.print("export "),b.print("class "+a.name),g.isPresent(a.parent)&&(b.print(" extends "),a.parent.visitExpression(this,b)),b.println(" {"),b.incIndent(),a.fields.forEach(function(a){return c._visitClassField(a,b)}),g.isPresent(a.constructorMethod)&&this._visitClassConstructor(a,b),a.getters.forEach(function(a){return c._visitClassGetter(a,b)}),a.methods.forEach(function(a){return c._visitClassMethod(a,b)}),b.decIndent(),b.println("}"),b.popClass(),null},b.prototype._visitClassField=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print(a.name),b.print(":"),this.visitType(a.type,b),b.println(";")},b.prototype._visitClassGetter=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print("get "+a.name+"()"),b.print(":"),this.visitType(a.type,b),b.println(" {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype._visitClassConstructor=function(a,b){b.print("constructor("),this._visitParams(a.constructorMethod.params,b),b.println(") {"),b.incIndent(),this.visitAllStatements(a.constructorMethod.body,b),b.decIndent(),b.println("}")},b.prototype._visitClassMethod=function(a,b){a.hasModifier(i.StmtModifier.Private)&&b.print("private "),b.print(a.name+"("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" {"),b.incIndent(),this.visitAllStatements(a.body,b),b.decIndent(),b.println("}")},b.prototype.visitFunctionExpr=function(a,b){return b.print("("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" => {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.print("}"),null},b.prototype.visitDeclareFunctionStmt=function(a,b){return b.isExportedVar(a.name)&&b.print("export "),b.print("function "+a.name+"("),this._visitParams(a.params,b),b.print("):"),this.visitType(a.type,b,"void"),b.println(" {"),b.incIndent(),this.visitAllStatements(a.statements,b),b.decIndent(),b.println("}"),null},b.prototype.visitTryCatchStmt=function(a,b){b.println("try {"),b.incIndent(),this.visitAllStatements(a.bodyStmts,b),b.decIndent(),b.println("} catch ("+h.CATCH_ERROR_VAR.name+") {"),b.incIndent();var c=[h.CATCH_STACK_VAR.set(h.CATCH_ERROR_VAR.prop("stack")).toDeclStmt(null,[i.StmtModifier.Final])].concat(a.catchStmts);return this.visitAllStatements(c,b),b.decIndent(),b.println("}"),null},b.prototype.visitBuiltintType=function(a,b){var c;switch(a.name){case i.BuiltinTypeName.Bool:c="boolean";break;case i.BuiltinTypeName.Dynamic:c="any";break;case i.BuiltinTypeName.Function:c="Function";break;case i.BuiltinTypeName.Number:c="number";break;case i.BuiltinTypeName.Int:c="number";break;case i.BuiltinTypeName.String:c="string";break;default:throw new f.BaseException("Unsupported builtin type "+a.name)}return b.print(c),null},b.prototype.visitExternalType=function(a,b){return this._visitIdentifier(a.value,a.typeParams,b),null},b.prototype.visitArrayType=function(a,b){return this.visitType(a.of,b),b.print("[]"),null},b.prototype.visitMapType=function(a,b){return b.print("{[key: string]:"),this.visitType(a.valueType,b),b.print("}"),null},b.prototype.getBuiltinMethodName=function(a){var b;switch(a){case i.BuiltinMethod.ConcatArray:b="concat";break;case i.BuiltinMethod.SubscribeObservable:b="subscribe";break;case i.BuiltinMethod.bind:b="bind";break;default:throw new f.BaseException("Unknown builtin method: "+a)}return b},b.prototype._visitParams=function(a,b){var c=this;this.visitAllObjects(function(a){b.print(a.name),b.print(":"),c.visitType(a.type,b)},a,b,",")},b.prototype._visitIdentifier=function(a,b,c){var d=this;if(g.isBlank(a.name))throw new f.BaseException("Internal error: unknown identifier "+a);if(g.isPresent(a.moduleUrl)&&a.moduleUrl!=this._moduleUrl){var e=this.importsWithPrefixes.get(a.moduleUrl);g.isBlank(e)&&(e="import"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(a.moduleUrl,e)),c.print(e+".")}c.print(a.name),g.isPresent(b)&&b.length>0&&(c.print("<"),this.visitAllObjects(function(a){return a.visitType(d,c)},b,c,","),c.print(">"))},b}(h.AbstractEmitterVisitor);return c.exports}),a.registerDynamic("4a",["26"],!0,function(a,b,c){"use strict";function d(a,c){for(var d=0,e=c;d<e.length;d++){var f=e[d];b.SECURITY_SCHEMA[f.toLowerCase()]=a}}var e=a("26");return b.SECURITY_SCHEMA={},d(e.SecurityContext.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),d(e.SecurityContext.STYLE,["*|style"]),d(e.SecurityContext.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","video|poster","video|src"]),d(e.SecurityContext.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src","track|src"]),c.exports}),a.registerDynamic("38",["9","26","19","1f","4a","37"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("26"),g=a("19"),h=a("1f"),i=a("4a"),j=a("37"),k="boolean",l="number",m="string",n="object",o=["*|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop","^*|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*autocomplete,*autocompleteerror,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate","media|!autoplay,!controls,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,#playbackRate,preload,src,#volume",":svg:^*|*abort,*autocomplete,*autocompleteerror,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerpolicy,rel,rev,search,shape,target,text,type,username","area|alt,coords,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerpolicy,search,shape,target,username","audio^media|","br|clear","base|href,target","body|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas|#height,#width","content|select","dl|!compact","datalist|","details|!open","dialog|!open,returnValue","dir|!compact","div|align","embed|align,height,name,src,type,width","fieldset|!disabled,name","font|color,face,size","form|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr|align,color,!noShade,size,width","head|","h1,h2,h3,h4,h5,h6|align","html|version","iframe|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerpolicy,%sandbox,scrolling,src,srcdoc,width","img|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerpolicy,sizes,src,srcset,useMap,#vspace,#width","input|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","keygen|!autofocus,challenge,!disabled,keytype,name","li|type,#value","label|htmlFor","legend|align","link|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,rel,%relList,rev,%sizes,target,type","map|name","marquee|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu|!compact","meta|content,httpEquiv,name,scheme","meter|#high,#low,#max,#min,#optimum,#value","ins,del|cite,dateTime","ol|!compact,!reversed,#start,type","object|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup|!disabled,label","option|!defaultSelected,!disabled,label,!selected,text,value","output|defaultValue,%htmlFor,name,value","p|align","param|name,type,value,valueType","picture|","pre|#width","progress|#max,#value","q,blockquote,cite|","script|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow|","source|media,sizes,src,srcset,type","span|","style|!disabled,media,type","caption|align","th,td|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup|align,ch,chOff,#span,vAlign,width","table|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody|align,ch,chOff,vAlign","template|","textarea|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title|text","track|!default,kind,label,src,srclang","ul|!compact,type","unknown|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:cursor^:svg:|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan"],p={"class":"className",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},q=function(a){function b(){var b=this;a.call(this),this.schema={},o.forEach(function(a){var c=a.split("|"),d=c[1].split(","),e=(c[0]+"^").split("^"),f=e[0],i={};f.split(",").forEach(function(a){return b.schema[a]=i});var j=b.schema[e[1]];h.isPresent(j)&&g.StringMapWrapper.forEach(j,function(a,b){return i[b]=a}),d.forEach(function(a){""==a||a.startsWith("*")||(a.startsWith("!")?i[a.substring(1)]=k:a.startsWith("#")?i[a.substring(1)]=l:a.startsWith("%")?i[a.substring(1)]=n:i[a]=m)})})}return d(b,a),b.prototype.hasProperty=function(a,b){if(-1!==a.indexOf("-"))return"ng-container"!==a&&"ng-content"!==a;var c=this.schema[a.toLowerCase()];return h.isPresent(c)||(c=this.schema.unknown),h.isPresent(c[b])},b.prototype.securityContext=function(a,b){a=a.toLowerCase(),b=b.toLowerCase();var c=i.SECURITY_SCHEMA[a+"|"+b];return void 0!==c?c:(c=i.SECURITY_SCHEMA["*|"+b],void 0!==c?c:f.SecurityContext.NONE)},b.prototype.getMappedPropName=function(a){var b=g.StringMapWrapper.get(p,a);return h.isPresent(b)?b:a},b.decorators=[{type:e.Injectable}],b.ctorParameters=[],b}(j.ElementSchemaRegistry);return b.DomElementSchemaRegistry=q,c.exports}),a.registerDynamic("4b",["19","1f","45"],!0,function(a,b,c){return function(c){"use strict";function d(a){return h.StringWrapper.replaceAllMapped(a,y,function(a){return""})}function e(a,b){var c=f(a),d=0;return h.StringWrapper.replaceAllMapped(c.escapedString,z,function(a){var e=a[2],f="",g=a[4],i="";h.isPresent(a[4])&&a[4].startsWith("{"+D)&&(f=c.blocks[d++],g=a[4].substring(D.length+1),i="{");var j=b(new E(e,f));return""+a[1]+j.selector+a[3]+i+j.content+g})}function f(a){for(var b=h.StringWrapper.split(a,A),c=[],d=[],e=0,f=[],g=0;g<b.length;g++){var i=b[g];i==C&&e--,e>0?f.push(i):(f.length>0&&(d.push(f.join("")),c.push(D),f=[]),c.push(i)),i==B&&e++}return f.length>0&&(d.push(f.join("")),c.push(D)),new F(c.join(""),d)}var g=a("19"),h=a("1f"),i=function(){function a(){this.strictStyling=!0}return a.prototype.shimCssText=function(a,b,c){return void 0===c&&(c=""),a=d(a),a=this._insertDirectives(a),this._scopeCssText(a,b,c)},a.prototype._insertDirectives=function(a){return a=this._insertPolyfillDirectivesInCssText(a),this._insertPolyfillRulesInCssText(a)},a.prototype._insertPolyfillDirectivesInCssText=function(a){return h.StringWrapper.replaceAllMapped(a,j,function(a){return a[1]+"{"})},a.prototype._insertPolyfillRulesInCssText=function(a){return h.StringWrapper.replaceAllMapped(a,k,function(a){var b=a[0];return b=h.StringWrapper.replace(b,a[1],""),b=h.StringWrapper.replace(b,a[2],""),a[3]+b})},a.prototype._scopeCssText=function(a,b,c){var d=this._extractUnscopedRulesFromCssText(a);return a=this._insertPolyfillHostInCssText(a),a=this._convertColonHost(a),a=this._convertColonHostContext(a),a=this._convertShadowDOMSelectors(a),h.isPresent(b)&&(a=this._scopeSelectors(a,b,c)),a=a+"\n"+d,a.trim()},a.prototype._extractUnscopedRulesFromCssText=function(a){for(var b,c="",d=h.RegExpWrapper.matcher(l,a);h.isPresent(b=h.RegExpMatcherWrapper.next(d));){var e=b[0];e=h.StringWrapper.replace(e,b[2],""),e=h.StringWrapper.replace(e,b[1],b[3]),c+=e+"\n\n"}return c},a.prototype._convertColonHost=function(a){return this._convertColonRule(a,p,this._colonHostPartReplacer)},a.prototype._convertColonHostContext=function(a){return this._convertColonRule(a,q,this._colonHostContextPartReplacer)},a.prototype._convertColonRule=function(a,b,c){return h.StringWrapper.replaceAllMapped(a,b,function(a){if(h.isPresent(a[2])){for(var b=a[2].split(","),d=[],e=0;e<b.length;e++){var f=b[e];if(h.isBlank(f))break;f=f.trim(),d.push(c(r,f,a[3]))}return d.join(",")}return r+a[3]})},a.prototype._colonHostContextPartReplacer=function(a,b,c){return h.StringWrapper.contains(b,m)?this._colonHostPartReplacer(a,b,c):a+b+c+", "+b+" "+a+c},a.prototype._colonHostPartReplacer=function(a,b,c){return a+h.StringWrapper.replace(b,m,"")+c},a.prototype._convertShadowDOMSelectors=function(a){for(var b=0;b<s.length;b++)a=h.StringWrapper.replaceAll(a,s[b]," ");return a},a.prototype._scopeSelectors=function(a,b,c){var d=this;return e(a,function(a){var e=a.selector,f=a.content;return"@"!=a.selector[0]||a.selector.startsWith("@page")?e=d._scopeSelector(a.selector,b,c,d.strictStyling):(a.selector.startsWith("@media")||a.selector.startsWith("@supports"))&&(f=d._scopeSelectors(a.content,b,c)),new E(e,f)})},a.prototype._scopeSelector=function(a,b,c,d){for(var e=[],f=a.split(","),g=0;g<f.length;g++){var i=f[g].trim(),j=h.StringWrapper.split(i,t),k=j[0];this._selectorNeedsScoping(k,b)&&(j[0]=d&&!h.StringWrapper.contains(k,r)?this._applyStrictSelectorScope(k,b):this._applySelectorScope(k,b,c)),e.push(j.join(" "))}return e.join(", ")},a.prototype._selectorNeedsScoping=function(a,b){var c=this._makeScopeMatcher(b);return!h.isPresent(h.RegExpWrapper.firstMatch(c,a))},a.prototype._makeScopeMatcher=function(a){var b=/\[/g,c=/\]/g;return a=h.StringWrapper.replaceAll(a,b,"\\["),a=h.StringWrapper.replaceAll(a,c,"\\]"),h.RegExpWrapper.create("^("+a+")"+u,"m")},a.prototype._applySelectorScope=function(a,b,c){return this._applySimpleSelectorScope(a,b,c)},a.prototype._applySimpleSelectorScope=function(a,b,c){if(h.isPresent(h.RegExpWrapper.firstMatch(v,a))){var d=this.strictStyling?"["+c+"]":b;return a=h.StringWrapper.replace(a,r,d),h.StringWrapper.replaceAll(a,v,d+" ")}return b+" "+a},a.prototype._applyStrictSelectorScope=function(a,b){var c=/\[is=([^\]]*)\]/g;b=h.StringWrapper.replaceAllMapped(b,c,function(a){return a[1]});for(var d=[" ",">","+","~"],e=a,f="["+b+"]",i=0;i<d.length;i++){var j=d[i],k=e.split(j);e=k.map(function(a){var b=h.StringWrapper.replaceAll(a.trim(),v,"");if(b.length>0&&!g.ListWrapper.contains(d,b)&&!h.StringWrapper.contains(b,f)){var c=/([^:]*)(:*)(.*)/g,e=h.RegExpWrapper.firstMatch(c,b);h.isPresent(e)&&(a=e[1]+f+e[2]+e[3])}return a}).join(j)}return e},a.prototype._insertPolyfillHostInCssText=function(a){return a=h.StringWrapper.replaceAll(a,x,n),a=h.StringWrapper.replaceAll(a,w,m)},a}();b.ShadowCss=i;var j=/polyfill-next-selector[^}]*content:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim,k=/(polyfill-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,l=/(polyfill-unscoped-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,m="-shadowcsshost",n="-shadowcsscontext",o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",p=h.RegExpWrapper.create("("+m+o,"im"),q=h.RegExpWrapper.create("("+n+o,"im"),r=m+"-no-combinator",s=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],t=/(?:>>>)|(?:\/deep\/)/g,u="([>\\s~+[.,{:][\\s\\S]*)?$",v=h.RegExpWrapper.create(m,"im"),w=/:host/gim,x=/:host-context/gim,y=/\/\*[\s\S]*?\*\//g,z=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,A=/([{}])/g,B="{",C="}",D="%BLOCK%",E=function(){function a(a,b){this.selector=a,this.content=b}return a}();b.CssRule=E,b.processRules=e;var F=function(){function a(a,b){this.escapedString=a,this.blocks=b}return a}()}(a("45")),c.exports}),a.registerDynamic("2a",["9","18","1b","4b","31"],!0,function(a,b,c){"use strict";function d(a){var b="styles";return a&&(b+="_"+a.type.name),b}var e=a("9"),f=a("18"),g=a("1b"),h=a("4b"),i=a("31"),j="%COMP%",k="_nghost-"+j,l="_ngcontent-"+j,m=function(){function a(a,b,c){this.moduleUrl=a,this.isShimmed=b,this.valuePlaceholder=c}return a}();b.StylesCompileDependency=m;var n=function(){function a(a,b){this.componentStylesheet=a,this.externalStylesheets=b}return a}();b.StylesCompileResult=n;var o=function(){function a(a,b,c,d,e){this.statements=a,this.stylesVar=b,this.dependencies=c,this.isShimmed=d,this.meta=e}return a}();b.CompiledStylesheet=o;var p=function(){function a(a){this._urlResolver=a,this._shadowCss=new h.ShadowCss}return a.prototype.compileComponent=function(a){var b=this,c=(a.template.encapsulation===e.ViewEncapsulation.Emulated,[]),d=this._compileStyles(a,new f.CompileStylesheetMetadata({styles:a.template.styles,styleUrls:a.template.styleUrls,moduleUrl:a.type.moduleUrl}),!0);return a.template.externalStylesheets.forEach(function(d){var e=b._compileStyles(a,d,!1);c.push(e)}),new n(d,c)},a.prototype._compileStyles=function(a,b,c){for(var h=this,i=a.template.encapsulation===e.ViewEncapsulation.Emulated,j=b.styles.map(function(a){return g.literal(h._shimIfNeeded(a,i))}),k=[],l=0;l<b.styleUrls.length;l++){var n=new f.CompileIdentifierMetadata({name:d(null)});k.push(new m(b.styleUrls[l],i,n)),j.push(new g.ExternalExpr(n))}var p=d(c?a:null),q=g.variable(p).set(g.literalArr(j,new g.ArrayType(g.DYNAMIC_TYPE,[g.TypeModifier.Const]))).toDeclStmt(null,[g.StmtModifier.Final]);return new o([q],p,k,i,b)},a.prototype._shimIfNeeded=function(a,b){return b?this._shadowCss.shimCssText(a,l,k):a},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:i.UrlResolver}],a}();return b.StyleCompiler=p,c.exports}),a.registerDynamic("4c",["19","45"],!0,function(a,b,c){return function(c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("19"),f=function(){function a(){}return a.prototype.visit=function(a,b){return void 0===b&&(b=null),null},a.prototype.toString=function(){return"AST"},a}();b.AST=f;var g=function(a){function b(b,c,d){a.call(this),this.prefix=b,this.uninterpretedExpression=c,this.location=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitQuote(this,b)},b.prototype.toString=function(){return"Quote"},b}(f);b.Quote=g;var h=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.visit=function(a,b){void 0===b&&(b=null)},b}(f);b.EmptyExpr=h;var i=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitImplicitReceiver(this,b)},b}(f);b.ImplicitReceiver=i;var j=function(a){function b(b){a.call(this),this.expressions=b}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitChain(this,b)},b}(f);b.Chain=j;var k=function(a){function b(b,c,d){a.call(this),this.condition=b,this.trueExp=c,this.falseExp=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitConditional(this,b)},b}(f);b.Conditional=k;var l=function(a){function b(b,c){a.call(this),this.receiver=b,this.name=c}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitPropertyRead(this,b)},b}(f);b.PropertyRead=l;var m=function(a){
|
||
function b(b,c,d){a.call(this),this.receiver=b,this.name=c,this.value=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitPropertyWrite(this,b)},b}(f);b.PropertyWrite=m;var n=function(a){function b(b,c){a.call(this),this.receiver=b,this.name=c}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitSafePropertyRead(this,b)},b}(f);b.SafePropertyRead=n;var o=function(a){function b(b,c){a.call(this),this.obj=b,this.key=c}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitKeyedRead(this,b)},b}(f);b.KeyedRead=o;var p=function(a){function b(b,c,d){a.call(this),this.obj=b,this.key=c,this.value=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitKeyedWrite(this,b)},b}(f);b.KeyedWrite=p;var q=function(a){function b(b,c,d){a.call(this),this.exp=b,this.name=c,this.args=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitPipe(this,b)},b}(f);b.BindingPipe=q;var r=function(a){function b(b){a.call(this),this.value=b}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitLiteralPrimitive(this,b)},b}(f);b.LiteralPrimitive=r;var s=function(a){function b(b){a.call(this),this.expressions=b}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitLiteralArray(this,b)},b}(f);b.LiteralArray=s;var t=function(a){function b(b,c){a.call(this),this.keys=b,this.values=c}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitLiteralMap(this,b)},b}(f);b.LiteralMap=t;var u=function(a){function b(b,c){a.call(this),this.strings=b,this.expressions=c}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitInterpolation(this,b)},b}(f);b.Interpolation=u;var v=function(a){function b(b,c,d){a.call(this),this.operation=b,this.left=c,this.right=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitBinary(this,b)},b}(f);b.Binary=v;var w=function(a){function b(b){a.call(this),this.expression=b}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitPrefixNot(this,b)},b}(f);b.PrefixNot=w;var x=function(a){function b(b,c,d){a.call(this),this.receiver=b,this.name=c,this.args=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitMethodCall(this,b)},b}(f);b.MethodCall=x;var y=function(a){function b(b,c,d){a.call(this),this.receiver=b,this.name=c,this.args=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitSafeMethodCall(this,b)},b}(f);b.SafeMethodCall=y;var z=function(a){function b(b,c){a.call(this),this.target=b,this.args=c}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),a.visitFunctionCall(this,b)},b}(f);b.FunctionCall=z;var A=function(a){function b(b,c,d){a.call(this),this.ast=b,this.source=c,this.location=d}return d(b,a),b.prototype.visit=function(a,b){return void 0===b&&(b=null),this.ast.visit(a,b)},b.prototype.toString=function(){return this.source+" in "+this.location},b}(f);b.ASTWithSource=A;var B=function(){function a(a,b,c,d){this.key=a,this.keyIsVar=b,this.name=c,this.expression=d}return a}();b.TemplateBinding=B;var C=function(){function a(){}return a.prototype.visitBinary=function(a,b){return a.left.visit(this),a.right.visit(this),null},a.prototype.visitChain=function(a,b){return this.visitAll(a.expressions,b)},a.prototype.visitConditional=function(a,b){return a.condition.visit(this),a.trueExp.visit(this),a.falseExp.visit(this),null},a.prototype.visitPipe=function(a,b){return a.exp.visit(this),this.visitAll(a.args,b),null},a.prototype.visitFunctionCall=function(a,b){return a.target.visit(this),this.visitAll(a.args,b),null},a.prototype.visitImplicitReceiver=function(a,b){return null},a.prototype.visitInterpolation=function(a,b){return this.visitAll(a.expressions,b)},a.prototype.visitKeyedRead=function(a,b){return a.obj.visit(this),a.key.visit(this),null},a.prototype.visitKeyedWrite=function(a,b){return a.obj.visit(this),a.key.visit(this),a.value.visit(this),null},a.prototype.visitLiteralArray=function(a,b){return this.visitAll(a.expressions,b)},a.prototype.visitLiteralMap=function(a,b){return this.visitAll(a.values,b)},a.prototype.visitLiteralPrimitive=function(a,b){return null},a.prototype.visitMethodCall=function(a,b){return a.receiver.visit(this),this.visitAll(a.args,b)},a.prototype.visitPrefixNot=function(a,b){return a.expression.visit(this),null},a.prototype.visitPropertyRead=function(a,b){return a.receiver.visit(this),null},a.prototype.visitPropertyWrite=function(a,b){return a.receiver.visit(this),a.value.visit(this),null},a.prototype.visitSafePropertyRead=function(a,b){return a.receiver.visit(this),null},a.prototype.visitSafeMethodCall=function(a,b){return a.receiver.visit(this),this.visitAll(a.args,b)},a.prototype.visitAll=function(a,b){var c=this;return a.forEach(function(a){return a.visit(c,b)}),null},a.prototype.visitQuote=function(a,b){return null},a}();b.RecursiveAstVisitor=C;var D=function(){function a(){}return a.prototype.visitImplicitReceiver=function(a,b){return a},a.prototype.visitInterpolation=function(a,b){return new u(a.strings,this.visitAll(a.expressions))},a.prototype.visitLiteralPrimitive=function(a,b){return new r(a.value)},a.prototype.visitPropertyRead=function(a,b){return new l(a.receiver.visit(this),a.name)},a.prototype.visitPropertyWrite=function(a,b){return new m(a.receiver.visit(this),a.name,a.value)},a.prototype.visitSafePropertyRead=function(a,b){return new n(a.receiver.visit(this),a.name)},a.prototype.visitMethodCall=function(a,b){return new x(a.receiver.visit(this),a.name,this.visitAll(a.args))},a.prototype.visitSafeMethodCall=function(a,b){return new y(a.receiver.visit(this),a.name,this.visitAll(a.args))},a.prototype.visitFunctionCall=function(a,b){return new z(a.target.visit(this),this.visitAll(a.args))},a.prototype.visitLiteralArray=function(a,b){return new s(this.visitAll(a.expressions))},a.prototype.visitLiteralMap=function(a,b){return new t(a.keys,this.visitAll(a.values))},a.prototype.visitBinary=function(a,b){return new v(a.operation,a.left.visit(this),a.right.visit(this))},a.prototype.visitPrefixNot=function(a,b){return new w(a.expression.visit(this))},a.prototype.visitConditional=function(a,b){return new k(a.condition.visit(this),a.trueExp.visit(this),a.falseExp.visit(this))},a.prototype.visitPipe=function(a,b){return new q(a.exp.visit(this),a.name,this.visitAll(a.args))},a.prototype.visitKeyedRead=function(a,b){return new o(a.obj.visit(this),a.key.visit(this))},a.prototype.visitKeyedWrite=function(a,b){return new p(a.obj.visit(this),a.key.visit(this),a.value.visit(this))},a.prototype.visitAll=function(a){for(var b=e.ListWrapper.createFixedSize(a.length),c=0;c<a.length;++c)b[c]=a[c].visit(this);return b},a.prototype.visitChain=function(a,b){return new j(this.visitAll(a.expressions))},a.prototype.visitQuote=function(a,b){return new g(a.prefix,a.uninterpretedExpression,a.location)},a}();b.AstTransformer=D}(a("45")),c.exports}),a.registerDynamic("3a",["9","4d","1a","1f"],!0,function(a,b,c){"use strict";function d(a,b){return new y(a,v.Character,b,u.StringWrapper.fromCharCode(b))}function e(a,b){return new y(a,v.Identifier,0,b)}function f(a,b){return new y(a,v.Keyword,0,b)}function g(a,b){return new y(a,v.Operator,0,b)}function h(a,b){return new y(a,v.String,0,b)}function i(a,b){return new y(a,v.Number,b,"")}function j(a){return s.$a<=a&&a<=s.$z||s.$A<=a&&a<=s.$Z||a==s.$_||a==s.$$}function k(a){if(0==a.length)return!1;var b=new A(a);if(!j(b.peek))return!1;for(b.advance();b.peek!==s.$EOF;){if(!l(b.peek))return!1;b.advance()}return!0}function l(a){return s.isAsciiLetter(a)||s.isDigit(a)||a==s.$_||a==s.$$}function m(a){return a==s.$e||a==s.$E}function n(a){return a==s.$MINUS||a==s.$PLUS}function o(a){return a===s.$SQ||a===s.$DQ||a===s.$BT}function p(a){switch(a){case s.$n:return s.$LF;case s.$f:return s.$FF;case s.$r:return s.$CR;case s.$t:return s.$TAB;case s.$v:return s.$VTAB;default:return a}}var q=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},r=a("9"),s=a("4d"),t=a("1a"),u=a("1f");!function(a){a[a.Character=0]="Character",a[a.Identifier=1]="Identifier",a[a.Keyword=2]="Keyword",a[a.String=3]="String",a[a.Operator=4]="Operator",a[a.Number=5]="Number"}(b.TokenType||(b.TokenType={}));var v=b.TokenType,w=["var","let","null","undefined","true","false","if","else"],x=function(){function a(){}return a.prototype.tokenize=function(a){for(var b=new A(a),c=[],d=b.scanToken();null!=d;)c.push(d),d=b.scanToken();return c},a.decorators=[{type:r.Injectable}],a}();b.Lexer=x;var y=function(){function a(a,b,c,d){this.index=a,this.type=b,this.numValue=c,this.strValue=d}return a.prototype.isCharacter=function(a){return this.type==v.Character&&this.numValue==a},a.prototype.isNumber=function(){return this.type==v.Number},a.prototype.isString=function(){return this.type==v.String},a.prototype.isOperator=function(a){return this.type==v.Operator&&this.strValue==a},a.prototype.isIdentifier=function(){return this.type==v.Identifier},a.prototype.isKeyword=function(){return this.type==v.Keyword},a.prototype.isKeywordDeprecatedVar=function(){return this.type==v.Keyword&&"var"==this.strValue},a.prototype.isKeywordLet=function(){return this.type==v.Keyword&&"let"==this.strValue},a.prototype.isKeywordNull=function(){return this.type==v.Keyword&&"null"==this.strValue},a.prototype.isKeywordUndefined=function(){return this.type==v.Keyword&&"undefined"==this.strValue},a.prototype.isKeywordTrue=function(){return this.type==v.Keyword&&"true"==this.strValue},a.prototype.isKeywordFalse=function(){return this.type==v.Keyword&&"false"==this.strValue},a.prototype.toNumber=function(){return this.type==v.Number?this.numValue:-1},a.prototype.toString=function(){switch(this.type){case v.Character:case v.Identifier:case v.Keyword:case v.Operator:case v.String:return this.strValue;case v.Number:return this.numValue.toString();default:return null}},a}();b.Token=y,b.EOF=new y(-1,v.Character,0,"");var z=function(a){function b(b){a.call(this),this.message=b}return q(b,a),b.prototype.toString=function(){return this.message},b}(t.BaseException);b.ScannerError=z;var A=function(){function a(a){this.input=a,this.peek=0,this.index=-1,this.length=a.length,this.advance()}return a.prototype.advance=function(){this.peek=++this.index>=this.length?s.$EOF:u.StringWrapper.charCodeAt(this.input,this.index)},a.prototype.scanToken=function(){for(var a=this.input,b=this.length,c=this.peek,e=this.index;c<=s.$SPACE;){if(++e>=b){c=s.$EOF;break}c=u.StringWrapper.charCodeAt(a,e)}if(this.peek=c,this.index=e,e>=b)return null;if(j(c))return this.scanIdentifier();if(s.isDigit(c))return this.scanNumber(e);var f=e;switch(c){case s.$PERIOD:return this.advance(),s.isDigit(this.peek)?this.scanNumber(f):d(f,s.$PERIOD);case s.$LPAREN:case s.$RPAREN:case s.$LBRACE:case s.$RBRACE:case s.$LBRACKET:case s.$RBRACKET:case s.$COMMA:case s.$COLON:case s.$SEMICOLON:return this.scanCharacter(f,c);case s.$SQ:case s.$DQ:return this.scanString();case s.$HASH:case s.$PLUS:case s.$MINUS:case s.$STAR:case s.$SLASH:case s.$PERCENT:case s.$CARET:return this.scanOperator(f,u.StringWrapper.fromCharCode(c));case s.$QUESTION:return this.scanComplexOperator(f,"?",s.$PERIOD,".");case s.$LT:case s.$GT:return this.scanComplexOperator(f,u.StringWrapper.fromCharCode(c),s.$EQ,"=");case s.$BANG:case s.$EQ:return this.scanComplexOperator(f,u.StringWrapper.fromCharCode(c),s.$EQ,"=",s.$EQ,"=");case s.$AMPERSAND:return this.scanComplexOperator(f,"&",s.$AMPERSAND,"&");case s.$BAR:return this.scanComplexOperator(f,"|",s.$BAR,"|");case s.$NBSP:for(;s.isWhitespace(this.peek);)this.advance();return this.scanToken()}return this.error("Unexpected character ["+u.StringWrapper.fromCharCode(c)+"]",0),null},a.prototype.scanCharacter=function(a,b){return this.advance(),d(a,b)},a.prototype.scanOperator=function(a,b){return this.advance(),g(a,b)},a.prototype.scanComplexOperator=function(a,b,c,d,e,f){this.advance();var h=b;return this.peek==c&&(this.advance(),h+=d),u.isPresent(e)&&this.peek==e&&(this.advance(),h+=f),g(a,h)},a.prototype.scanIdentifier=function(){var a=this.index;for(this.advance();l(this.peek);)this.advance();var b=this.input.substring(a,this.index);return w.indexOf(b)>-1?f(a,b):e(a,b)},a.prototype.scanNumber=function(a){var b=this.index===a;for(this.advance();;){if(s.isDigit(this.peek));else if(this.peek==s.$PERIOD)b=!1;else{if(!m(this.peek))break;this.advance(),n(this.peek)&&this.advance(),s.isDigit(this.peek)||this.error("Invalid exponent",-1),b=!1}this.advance()}var c=this.input.substring(a,this.index),d=b?u.NumberWrapper.parseIntAutoRadix(c):u.NumberWrapper.parseFloat(c);return i(a,d)},a.prototype.scanString=function(){var a=this.index,b=this.peek;this.advance();for(var c,d=this.index,e=this.input;this.peek!=b;)if(this.peek==s.$BACKSLASH){null==c&&(c=new u.StringJoiner),c.add(e.substring(d,this.index)),this.advance();var f;if(this.peek==s.$u){var g=e.substring(this.index+1,this.index+5);try{f=u.NumberWrapper.parseInt(g,16)}catch(i){this.error("Invalid unicode escape [\\u"+g+"]",0)}for(var j=0;5>j;j++)this.advance()}else f=p(this.peek),this.advance();c.add(u.StringWrapper.fromCharCode(f)),d=this.index}else this.peek==s.$EOF?this.error("Unterminated quote",0):this.advance();var k=e.substring(d,this.index);this.advance();var l=k;return null!=c&&(c.add(k),l=c.toString()),h(a,l)},a.prototype.error=function(a,b){var c=this.index+b;throw new z("Lexer Error: "+a+" at column "+c+" in expression ["+this.input+"]")},a}();return b.isIdentifier=k,b.isQuote=o,c.exports}),a.registerDynamic("39",["9","4d","19","1a","1f","41","4c","3a"],!0,function(a,b,c){"use strict";function d(a){var b=j.escapeRegExp(a.start)+"([\\s\\S]*?)"+j.escapeRegExp(a.end);return j.RegExpWrapper.create(b,"g")}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("9"),g=a("4d"),h=a("19"),i=a("1a"),j=a("1f"),k=a("41"),l=a("4c"),m=a("3a"),n=new l.ImplicitReceiver,o=function(a){function b(b,c,d,e){a.call(this,"Parser Error: "+b+" "+d+" ["+c+"] in "+e)}return e(b,a),b}(i.BaseException),p=function(){function a(a,b){this.strings=a,this.expressions=b}return a}();b.SplitInterpolation=p;var q=function(){function a(a,b){this.templateBindings=a,this.warnings=b}return a}();b.TemplateBindingParseResult=q;var r=function(){function a(a){this._lexer=a}return a.prototype.parseAction=function(a,b,c){void 0===c&&(c=k.DEFAULT_INTERPOLATION_CONFIG),this._checkNoInterpolation(a,b,c);var d=this._lexer.tokenize(this._stripComments(a)),e=new s(a,b,d,!0).parseChain();return new l.ASTWithSource(e,a,b)},a.prototype.parseBinding=function(a,b,c){void 0===c&&(c=k.DEFAULT_INTERPOLATION_CONFIG);var d=this._parseBindingAst(a,b,c);return new l.ASTWithSource(d,a,b)},a.prototype.parseSimpleBinding=function(a,b,c){void 0===c&&(c=k.DEFAULT_INTERPOLATION_CONFIG);var d=this._parseBindingAst(a,b,c);if(!t.check(d))throw new o("Host binding expression can only contain field access and constants",a,b);return new l.ASTWithSource(d,a,b)},a.prototype._parseBindingAst=function(a,b,c){var d=this._parseQuote(a,b);if(j.isPresent(d))return d;this._checkNoInterpolation(a,b,c);var e=this._lexer.tokenize(this._stripComments(a));return new s(a,b,e,!1).parseChain()},a.prototype._parseQuote=function(a,b){if(j.isBlank(a))return null;var c=a.indexOf(":");if(-1==c)return null;var d=a.substring(0,c).trim();if(!m.isIdentifier(d))return null;var e=a.substring(c+1);return new l.Quote(d,e,b)},a.prototype.parseTemplateBindings=function(a,b){var c=this._lexer.tokenize(a);return new s(a,b,c,!1).parseTemplateBindings()},a.prototype.parseInterpolation=function(a,b,c){void 0===c&&(c=k.DEFAULT_INTERPOLATION_CONFIG);var d=this.splitInterpolation(a,b,c);if(null==d)return null;for(var e=[],f=0;f<d.expressions.length;++f){var g=this._lexer.tokenize(this._stripComments(d.expressions[f])),h=new s(a,b,g,!1).parseChain();e.push(h)}return new l.ASTWithSource(new l.Interpolation(d.strings,e),a,b)},a.prototype.splitInterpolation=function(a,b,c){void 0===c&&(c=k.DEFAULT_INTERPOLATION_CONFIG);var e=d(c),f=j.StringWrapper.split(a,e);if(f.length<=1)return null;for(var g=[],h=[],i=0;i<f.length;i++){var l=f[i];if(i%2===0)g.push(l);else{if(!(l.trim().length>0))throw new o("Blank expressions are not allowed in interpolated strings",a,"at column "+this._findInterpolationErrorColumn(f,i,c)+" in",b);h.push(l)}}return new p(g,h)},a.prototype.wrapLiteralPrimitive=function(a,b){return new l.ASTWithSource(new l.LiteralPrimitive(a),a,b)},a.prototype._stripComments=function(a){var b=this._commentStart(a);return j.isPresent(b)?a.substring(0,b).trim():a},a.prototype._commentStart=function(a){for(var b=null,c=0;c<a.length-1;c++){var d=j.StringWrapper.charCodeAt(a,c),e=j.StringWrapper.charCodeAt(a,c+1);if(d===g.$SLASH&&e==g.$SLASH&&j.isBlank(b))return c;b===d?b=null:j.isBlank(b)&&m.isQuote(d)&&(b=d)}return null},a.prototype._checkNoInterpolation=function(a,b,c){var e=d(c),f=j.StringWrapper.split(a,e);if(f.length>1)throw new o("Got interpolation ("+c.start+c.end+") where expression was expected",a,"at column "+this._findInterpolationErrorColumn(f,1,c)+" in",b)},a.prototype._findInterpolationErrorColumn=function(a,b,c){for(var d="",e=0;b>e;e++)d+=e%2===0?a[e]:""+c.start+a[e]+c.end;return d.length},a.decorators=[{type:f.Injectable}],a.ctorParameters=[{type:m.Lexer}],a}();b.Parser=r;var s=function(){function a(a,b,c,d){this.input=a,this.location=b,this.tokens=c,this.parseAction=d,this.index=0}return a.prototype.peek=function(a){var b=this.index+a;return b<this.tokens.length?this.tokens[b]:m.EOF},Object.defineProperty(a.prototype,"next",{get:function(){return this.peek(0)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"inputIndex",{get:function(){return this.index<this.tokens.length?this.next.index:this.input.length},enumerable:!0,configurable:!0}),a.prototype.advance=function(){this.index++},a.prototype.optionalCharacter=function(a){return this.next.isCharacter(a)?(this.advance(),!0):!1},a.prototype.peekKeywordLet=function(){return this.next.isKeywordLet()},a.prototype.peekDeprecatedKeywordVar=function(){return this.next.isKeywordDeprecatedVar()},a.prototype.peekDeprecatedOperatorHash=function(){return this.next.isOperator("#")},a.prototype.expectCharacter=function(a){this.optionalCharacter(a)||this.error("Missing expected "+j.StringWrapper.fromCharCode(a))},a.prototype.optionalOperator=function(a){return this.next.isOperator(a)?(this.advance(),!0):!1},a.prototype.expectOperator=function(a){this.optionalOperator(a)||this.error("Missing expected operator "+a)},a.prototype.expectIdentifierOrKeyword=function(){var a=this.next;return a.isIdentifier()||a.isKeyword()||this.error("Unexpected token "+a+", expected identifier or keyword"),this.advance(),a.toString()},a.prototype.expectIdentifierOrKeywordOrString=function(){var a=this.next;return a.isIdentifier()||a.isKeyword()||a.isString()||this.error("Unexpected token "+a+", expected identifier, keyword, or string"),this.advance(),a.toString()},a.prototype.parseChain=function(){for(var a=[];this.index<this.tokens.length;){var b=this.parsePipe();if(a.push(b),this.optionalCharacter(g.$SEMICOLON))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.optionalCharacter(g.$SEMICOLON););else this.index<this.tokens.length&&this.error("Unexpected token '"+this.next+"'")}return 0==a.length?new l.EmptyExpr:1==a.length?a[0]:new l.Chain(a)},a.prototype.parsePipe=function(){var a=this.parseExpression();if(this.optionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{for(var b=this.expectIdentifierOrKeyword(),c=[];this.optionalCharacter(g.$COLON);)c.push(this.parseExpression());a=new l.BindingPipe(a,b,c)}while(this.optionalOperator("|"))}return a},a.prototype.parseExpression=function(){return this.parseConditional()},a.prototype.parseConditional=function(){var a=this.inputIndex,b=this.parseLogicalOr();if(this.optionalOperator("?")){var c=this.parsePipe();if(!this.optionalCharacter(g.$COLON)){var d=this.inputIndex,e=this.input.substring(a,d);this.error("Conditional expression "+e+" requires all 3 expressions")}var f=this.parsePipe();return new l.Conditional(b,c,f)}return b},a.prototype.parseLogicalOr=function(){for(var a=this.parseLogicalAnd();this.optionalOperator("||");)a=new l.Binary("||",a,this.parseLogicalAnd());return a},a.prototype.parseLogicalAnd=function(){for(var a=this.parseEquality();this.optionalOperator("&&");)a=new l.Binary("&&",a,this.parseEquality());return a},a.prototype.parseEquality=function(){for(var a=this.parseRelational();;)if(this.optionalOperator("=="))a=new l.Binary("==",a,this.parseRelational());else if(this.optionalOperator("==="))a=new l.Binary("===",a,this.parseRelational());else if(this.optionalOperator("!="))a=new l.Binary("!=",a,this.parseRelational());else{if(!this.optionalOperator("!=="))return a;a=new l.Binary("!==",a,this.parseRelational())}},a.prototype.parseRelational=function(){for(var a=this.parseAdditive();;)if(this.optionalOperator("<"))a=new l.Binary("<",a,this.parseAdditive());else if(this.optionalOperator(">"))a=new l.Binary(">",a,this.parseAdditive());else if(this.optionalOperator("<="))a=new l.Binary("<=",a,this.parseAdditive());else{if(!this.optionalOperator(">="))return a;a=new l.Binary(">=",a,this.parseAdditive())}},a.prototype.parseAdditive=function(){for(var a=this.parseMultiplicative();;)if(this.optionalOperator("+"))a=new l.Binary("+",a,this.parseMultiplicative());else{if(!this.optionalOperator("-"))return a;a=new l.Binary("-",a,this.parseMultiplicative())}},a.prototype.parseMultiplicative=function(){for(var a=this.parsePrefix();;)if(this.optionalOperator("*"))a=new l.Binary("*",a,this.parsePrefix());else if(this.optionalOperator("%"))a=new l.Binary("%",a,this.parsePrefix());else{if(!this.optionalOperator("/"))return a;a=new l.Binary("/",a,this.parsePrefix())}},a.prototype.parsePrefix=function(){return this.optionalOperator("+")?this.parsePrefix():this.optionalOperator("-")?new l.Binary("-",new l.LiteralPrimitive(0),this.parsePrefix()):this.optionalOperator("!")?new l.PrefixNot(this.parsePrefix()):this.parseCallChain()},a.prototype.parseCallChain=function(){for(var a=this.parsePrimary();;)if(this.optionalCharacter(g.$PERIOD))a=this.parseAccessMemberOrMethodCall(a,!1);else if(this.optionalOperator("?."))a=this.parseAccessMemberOrMethodCall(a,!0);else if(this.optionalCharacter(g.$LBRACKET)){var b=this.parsePipe();if(this.expectCharacter(g.$RBRACKET),this.optionalOperator("=")){var c=this.parseConditional();a=new l.KeyedWrite(a,b,c)}else a=new l.KeyedRead(a,b)}else{if(!this.optionalCharacter(g.$LPAREN))return a;var d=this.parseCallArguments();this.expectCharacter(g.$RPAREN),a=new l.FunctionCall(a,d)}},a.prototype.parsePrimary=function(){if(this.optionalCharacter(g.$LPAREN)){var a=this.parsePipe();return this.expectCharacter(g.$RPAREN),a}if(this.next.isKeywordNull()||this.next.isKeywordUndefined())return this.advance(),new l.LiteralPrimitive(null);if(this.next.isKeywordTrue())return this.advance(),new l.LiteralPrimitive(!0);if(this.next.isKeywordFalse())return this.advance(),new l.LiteralPrimitive(!1);if(this.optionalCharacter(g.$LBRACKET)){var b=this.parseExpressionList(g.$RBRACKET);return this.expectCharacter(g.$RBRACKET),new l.LiteralArray(b)}if(this.next.isCharacter(g.$LBRACE))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(n,!1);if(this.next.isNumber()){var c=this.next.toNumber();return this.advance(),new l.LiteralPrimitive(c)}if(this.next.isString()){var d=this.next.toString();return this.advance(),new l.LiteralPrimitive(d)}throw this.index>=this.tokens.length?this.error("Unexpected end of expression: "+this.input):this.error("Unexpected token "+this.next),new i.BaseException("Fell through all cases in parsePrimary")},a.prototype.parseExpressionList=function(a){var b=[];if(!this.next.isCharacter(a))do b.push(this.parsePipe());while(this.optionalCharacter(g.$COMMA));return b},a.prototype.parseLiteralMap=function(){var a=[],b=[];if(this.expectCharacter(g.$LBRACE),!this.optionalCharacter(g.$RBRACE)){do{var c=this.expectIdentifierOrKeywordOrString();a.push(c),this.expectCharacter(g.$COLON),b.push(this.parsePipe())}while(this.optionalCharacter(g.$COMMA));this.expectCharacter(g.$RBRACE)}return new l.LiteralMap(a,b)},a.prototype.parseAccessMemberOrMethodCall=function(a,b){void 0===b&&(b=!1);var c=this.expectIdentifierOrKeyword();if(this.optionalCharacter(g.$LPAREN)){var d=this.parseCallArguments();return this.expectCharacter(g.$RPAREN),b?new l.SafeMethodCall(a,c,d):new l.MethodCall(a,c,d)}if(!b){if(this.optionalOperator("=")){this.parseAction||this.error("Bindings cannot contain assignments");var e=this.parseConditional();return new l.PropertyWrite(a,c,e)}return new l.PropertyRead(a,c)}return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),null):new l.SafePropertyRead(a,c)},a.prototype.parseCallArguments=function(){if(this.next.isCharacter(g.$RPAREN))return[];var a=[];do a.push(this.parsePipe());while(this.optionalCharacter(g.$COMMA));return a},a.prototype.expectTemplateBindingKey=function(){var a="",b=!1;do a+=this.expectIdentifierOrKeywordOrString(),b=this.optionalOperator("-"),b&&(a+="-");while(b);return a.toString()},a.prototype.parseTemplateBindings=function(){for(var a=[],b=null,c=[];this.index<this.tokens.length;){var d=this.peekKeywordLet();!d&&this.peekDeprecatedKeywordVar()&&(d=!0,c.push('"var" inside of expressions is deprecated. Use "let" instead!')),!d&&this.peekDeprecatedOperatorHash()&&(d=!0,c.push('"#" inside of expressions is deprecated. Use "let" instead!')),d&&this.advance();var e=this.expectTemplateBindingKey();d||(null==b?b=e:e=b+e[0].toUpperCase()+e.substring(1)),this.optionalCharacter(g.$COLON);var f=null,h=null;if(d)f=this.optionalOperator("=")?this.expectTemplateBindingKey():"$implicit";else if(this.next!==m.EOF&&!this.peekKeywordLet()&&!this.peekDeprecatedKeywordVar()&&!this.peekDeprecatedOperatorHash()){var i=this.inputIndex,j=this.parsePipe(),k=this.input.substring(i,this.inputIndex);h=new l.ASTWithSource(j,k,this.location)}a.push(new l.TemplateBinding(e,d,f,h)),this.optionalCharacter(g.$SEMICOLON)||this.optionalCharacter(g.$COMMA)}return new q(a,c)},a.prototype.error=function(a,b){void 0===b&&(b=null),j.isBlank(b)&&(b=this.index);var c=b<this.tokens.length?"at column "+(this.tokens[b].index+1)+" in":"at the end of the expression";throw new o(a,this.input,c,this.location)},a}();b._ParseAST=s;var t=function(){function a(){this.simple=!0}return a.check=function(b){var c=new a;return b.visit(c),c.simple},a.prototype.visitImplicitReceiver=function(a,b){},a.prototype.visitInterpolation=function(a,b){this.simple=!1},a.prototype.visitLiteralPrimitive=function(a,b){},a.prototype.visitPropertyRead=function(a,b){},a.prototype.visitPropertyWrite=function(a,b){this.simple=!1},a.prototype.visitSafePropertyRead=function(a,b){this.simple=!1},a.prototype.visitMethodCall=function(a,b){this.simple=!1},a.prototype.visitSafeMethodCall=function(a,b){this.simple=!1},a.prototype.visitFunctionCall=function(a,b){this.simple=!1},a.prototype.visitLiteralArray=function(a,b){this.visitAll(a.expressions)},a.prototype.visitLiteralMap=function(a,b){this.visitAll(a.values)},a.prototype.visitBinary=function(a,b){this.simple=!1},a.prototype.visitPrefixNot=function(a,b){this.simple=!1},a.prototype.visitConditional=function(a,b){this.simple=!1},a.prototype.visitPipe=function(a,b){this.simple=!1},a.prototype.visitKeyedRead=function(a,b){this.simple=!1},a.prototype.visitKeyedWrite=function(a,b){this.simple=!1},a.prototype.visitAll=function(a){for(var b=h.ListWrapper.createFixedSize(a.length),c=0;c<a.length;++c)b[c]=a[c].visit(this);return b},a.prototype.visitChain=function(a,b){this.simple=!1},a.prototype.visitQuote=function(a,b){this.simple=!1},a}();return c.exports}),a.registerDynamic("4d",[],!0,function(a,b,c){"use strict";function d(a){return a>=b.$TAB&&a<=b.$SPACE||a==b.$NBSP}function e(a){return b.$0<=a&&a<=b.$9}function f(a){return a>=b.$a&&a<=b.$z||a>=b.$A&&a<=b.$Z}function g(a){return a>=b.$a&&a<=b.$f||a>=b.$A&&a<=b.$F||e(a)}return b.$EOF=0,b.$TAB=9,b.$LF=10,b.$VTAB=11,b.$FF=12,b.$CR=13,b.$SPACE=32,b.$BANG=33,b.$DQ=34,b.$HASH=35,b.$$=36,b.$PERCENT=37,b.$AMPERSAND=38,b.$SQ=39,b.$LPAREN=40,b.$RPAREN=41,b.$STAR=42,b.$PLUS=43,b.$COMMA=44,b.$MINUS=45,b.$PERIOD=46,b.$SLASH=47,b.$COLON=58,b.$SEMICOLON=59,b.$LT=60,b.$EQ=61,b.$GT=62,b.$QUESTION=63,b.$0=48,b.$9=57,b.$A=65,b.$E=69,b.$F=70,b.$X=88,b.$Z=90,b.$LBRACKET=91,b.$BACKSLASH=92,b.$RBRACKET=93,b.$CARET=94,b.$_=95,b.$a=97,b.$e=101,b.$f=102,b.$n=110,b.$r=114,b.$t=116,b.$u=117,b.$v=118,b.$x=120,b.$z=122,b.$LBRACE=123,b.$BAR=124,b.$RBRACE=125,b.$NBSP=160,b.$PIPE=124,b.$TILDA=126,b.$AT=64,b.$BT=96,b.isWhitespace=d,b.isDigit=e,b.isAsciiLetter=f,b.isAsciiHexDigit=g,c.exports}),a.registerDynamic("41",[],!0,function(a,b,c){"use strict";return b.DEFAULT_INTERPOLATION_CONFIG={start:"{{",end:"}}"},c.exports}),a.registerDynamic("4e",["4d","1f","4f","41","43","45"],!0,function(a,b,c){return function(c){"use strict";function d(a,b,c,d){return void 0===c&&(c=!1),void 0===d&&(d=u.DEFAULT_INTERPOLATION_CONFIG),new C(new v.ParseSourceFile(a,b),c,d).tokenize()}function e(a){var b=a===r.$EOF?"EOF":s.StringWrapper.fromCharCode(a);return'Unexpected character "'+b+'"'}function f(a){return'Unknown entity "'+a+'" - use the "&#<decimal>;" or "&#x<hex>;" syntax'}function g(a){return!r.isWhitespace(a)||a===r.$EOF}function h(a){return r.isWhitespace(a)||a===r.$GT||a===r.$SLASH||a===r.$SQ||a===r.$DQ||a===r.$EQ}function i(a){return(a<r.$a||r.$z<a)&&(a<r.$A||r.$Z<a)&&(a<r.$0||a>r.$9)}function j(a){return a==r.$SEMICOLON||a==r.$EOF||!r.isAsciiHexDigit(a)}function k(a){return a==r.$SEMICOLON||a==r.$EOF||!r.isAsciiLetter(a)}function l(a,b,c){return a.charCodeAt(b)==r.$LBRACE&&a.indexOf(c,b)!=b}function m(a){return a===r.$EQ||r.isAsciiLetter(a)}function n(a,b){return o(a)==o(b)}function o(a){return a>=r.$a&&a<=r.$z?a-r.$a+r.$A:a}function p(a){for(var b,c=[],d=0;d<a.length;d++){var e=a[d];s.isPresent(b)&&b.type==w.TEXT&&e.type==w.TEXT?(b.parts[0]+=e.parts[0],b.sourceSpan.end=e.sourceSpan.end):(b=e,c.push(b))}return c}var q=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},r=a("4d"),s=a("1f"),t=a("4f"),u=a("41"),v=a("43");!function(a){a[a.TAG_OPEN_START=0]="TAG_OPEN_START",a[a.TAG_OPEN_END=1]="TAG_OPEN_END",a[a.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",a[a.TAG_CLOSE=3]="TAG_CLOSE",a[a.TEXT=4]="TEXT",a[a.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",a[a.RAW_TEXT=6]="RAW_TEXT",a[a.COMMENT_START=7]="COMMENT_START",a[a.COMMENT_END=8]="COMMENT_END",a[a.CDATA_START=9]="CDATA_START",a[a.CDATA_END=10]="CDATA_END",a[a.ATTR_NAME=11]="ATTR_NAME",a[a.ATTR_VALUE=12]="ATTR_VALUE",a[a.DOC_TYPE=13]="DOC_TYPE",a[a.EXPANSION_FORM_START=14]="EXPANSION_FORM_START",a[a.EXPANSION_CASE_VALUE=15]="EXPANSION_CASE_VALUE",a[a.EXPANSION_CASE_EXP_START=16]="EXPANSION_CASE_EXP_START",a[a.EXPANSION_CASE_EXP_END=17]="EXPANSION_CASE_EXP_END",a[a.EXPANSION_FORM_END=18]="EXPANSION_FORM_END",a[a.EOF=19]="EOF"}(b.HtmlTokenType||(b.HtmlTokenType={}));var w=b.HtmlTokenType,x=function(){function a(a,b,c){this.type=a,this.parts=b,this.sourceSpan=c}return a}();b.HtmlToken=x;var y=function(a){function b(b,c,d){a.call(this,d,b),this.tokenType=c}return q(b,a),b}(v.ParseError);b.HtmlTokenError=y;var z=function(){function a(a,b){this.tokens=a,this.errors=b}return a}();b.HtmlTokenizeResult=z,b.tokenizeHtml=d;var A=/\r\n?/g,B=function(){function a(a){this.error=a}return a}(),C=function(){function a(a,b,c){void 0===c&&(c=u.DEFAULT_INTERPOLATION_CONFIG),
|
||
this.file=a,this.tokenizeExpansionForms=b,this.interpolationConfig=c,this._peek=-1,this._nextPeek=-1,this._index=-1,this._line=0,this._column=-1,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._input=a.content,this._length=a.content.length,this._advance()}return a.prototype._processCarriageReturns=function(a){return s.StringWrapper.replaceAll(a,A,"\n")},a.prototype.tokenize=function(){for(;this._peek!==r.$EOF;){var a=this._getLocation();try{this._attemptCharCode(r.$LT)?this._attemptCharCode(r.$BANG)?this._attemptCharCode(r.$LBRACKET)?this._consumeCdata(a):this._attemptCharCode(r.$MINUS)?this._consumeComment(a):this._consumeDocType(a):this._attemptCharCode(r.$SLASH)?this._consumeTagClose(a):this._consumeTagOpen(a):l(this._input,this._index,this.interpolationConfig.start)&&this.tokenizeExpansionForms?this._consumeExpansionFormStart():m(this._peek)&&this._isInExpansionForm()&&this.tokenizeExpansionForms?this._consumeExpansionCaseStart():this._peek===r.$RBRACE&&this._isInExpansionCase()&&this.tokenizeExpansionForms?this._consumeExpansionCaseEnd():this._peek===r.$RBRACE&&this._isInExpansionForm()&&this.tokenizeExpansionForms?this._consumeExpansionFormEnd():this._consumeText()}catch(b){if(!(b instanceof B))throw b;this.errors.push(b.error)}}return this._beginToken(w.EOF),this._endToken([]),new z(p(this.tokens),this.errors)},a.prototype._getLocation=function(){return new v.ParseLocation(this.file,this._index,this._line,this._column)},a.prototype._getSpan=function(a,b){return s.isBlank(a)&&(a=this._getLocation()),s.isBlank(b)&&(b=this._getLocation()),new v.ParseSourceSpan(a,b)},a.prototype._beginToken=function(a,b){void 0===b&&(b=null),s.isBlank(b)&&(b=this._getLocation()),this._currentTokenStart=b,this._currentTokenType=a},a.prototype._endToken=function(a,b){void 0===b&&(b=null),s.isBlank(b)&&(b=this._getLocation());var c=new x(this._currentTokenType,a,new v.ParseSourceSpan(this._currentTokenStart,b));return this.tokens.push(c),this._currentTokenStart=null,this._currentTokenType=null,c},a.prototype._createError=function(a,b){var c=new y(a,this._currentTokenType,b);return this._currentTokenStart=null,this._currentTokenType=null,new B(c)},a.prototype._advance=function(){if(this._index>=this._length)throw this._createError(e(r.$EOF),this._getSpan());this._peek===r.$LF?(this._line++,this._column=0):this._peek!==r.$LF&&this._peek!==r.$CR&&this._column++,this._index++,this._peek=this._index>=this._length?r.$EOF:s.StringWrapper.charCodeAt(this._input,this._index),this._nextPeek=this._index+1>=this._length?r.$EOF:s.StringWrapper.charCodeAt(this._input,this._index+1)},a.prototype._attemptCharCode=function(a){return this._peek===a?(this._advance(),!0):!1},a.prototype._attemptCharCodeCaseInsensitive=function(a){return n(this._peek,a)?(this._advance(),!0):!1},a.prototype._requireCharCode=function(a){var b=this._getLocation();if(!this._attemptCharCode(a))throw this._createError(e(this._peek),this._getSpan(b,b))},a.prototype._attemptStr=function(a){var b=a.length;if(this._index+b>this._length)return!1;for(var c=this._savePosition(),d=0;b>d;d++)if(!this._attemptCharCode(s.StringWrapper.charCodeAt(a,d)))return this._restorePosition(c),!1;return!0},a.prototype._attemptStrCaseInsensitive=function(a){for(var b=0;b<a.length;b++)if(!this._attemptCharCodeCaseInsensitive(s.StringWrapper.charCodeAt(a,b)))return!1;return!0},a.prototype._requireStr=function(a){var b=this._getLocation();if(!this._attemptStr(a))throw this._createError(e(this._peek),this._getSpan(b))},a.prototype._attemptCharCodeUntilFn=function(a){for(;!a(this._peek);)this._advance()},a.prototype._requireCharCodeUntilFn=function(a,b){var c=this._getLocation();if(this._attemptCharCodeUntilFn(a),this._index-c.offset<b)throw this._createError(e(this._peek),this._getSpan(c,c))},a.prototype._attemptUntilChar=function(a){for(;this._peek!==a;)this._advance()},a.prototype._readChar=function(a){if(a&&this._peek===r.$AMPERSAND)return this._decodeEntity();var b=this._index;return this._advance(),this._input[b]},a.prototype._decodeEntity=function(){var a=this._getLocation();if(this._advance(),!this._attemptCharCode(r.$HASH)){var b=this._savePosition();if(this._attemptCharCodeUntilFn(k),this._peek!=r.$SEMICOLON)return this._restorePosition(b),"&";this._advance();var c=this._input.substring(a.offset+1,this._index-1),d=t.NAMED_ENTITIES[c];if(s.isBlank(d))throw this._createError(f(c),this._getSpan(a));return d}var g=this._attemptCharCode(r.$x)||this._attemptCharCode(r.$X),h=this._getLocation().offset;if(this._attemptCharCodeUntilFn(j),this._peek!=r.$SEMICOLON)throw this._createError(e(this._peek),this._getSpan());this._advance();var i=this._input.substring(h,this._index-1);try{var l=s.NumberWrapper.parseInt(i,g?16:10);return s.StringWrapper.fromCharCode(l)}catch(m){var n=this._input.substring(a.offset+1,this._index-1);throw this._createError(f(n),this._getSpan(a))}},a.prototype._consumeRawText=function(a,b,c){var d,e=this._getLocation();this._beginToken(a?w.ESCAPABLE_RAW_TEXT:w.RAW_TEXT,e);for(var f=[];;){if(d=this._getLocation(),this._attemptCharCode(b)&&c())break;for(this._index>d.offset&&f.push(this._input.substring(d.offset,this._index));this._peek!==b;)f.push(this._readChar(a))}return this._endToken([this._processCarriageReturns(f.join(""))],d)},a.prototype._consumeComment=function(a){var b=this;this._beginToken(w.COMMENT_START,a),this._requireCharCode(r.$MINUS),this._endToken([]);var c=this._consumeRawText(!1,r.$MINUS,function(){return b._attemptStr("->")});this._beginToken(w.COMMENT_END,c.sourceSpan.end),this._endToken([])},a.prototype._consumeCdata=function(a){var b=this;this._beginToken(w.CDATA_START,a),this._requireStr("CDATA["),this._endToken([]);var c=this._consumeRawText(!1,r.$RBRACKET,function(){return b._attemptStr("]>")});this._beginToken(w.CDATA_END,c.sourceSpan.end),this._endToken([])},a.prototype._consumeDocType=function(a){this._beginToken(w.DOC_TYPE,a),this._attemptUntilChar(r.$GT),this._advance(),this._endToken([this._input.substring(a.offset+2,this._index-1)])},a.prototype._consumePrefixAndName=function(){for(var a=this._index,b=null;this._peek!==r.$COLON&&!i(this._peek);)this._advance();var c;this._peek===r.$COLON?(this._advance(),b=this._input.substring(a,this._index-1),c=this._index):c=a,this._requireCharCodeUntilFn(h,this._index===c?1:0);var d=this._input.substring(c,this._index);return[b,d]},a.prototype._consumeTagOpen=function(a){var b,c=this._savePosition();try{if(!r.isAsciiLetter(this._peek))throw this._createError(e(this._peek),this._getSpan());var d=this._index;for(this._consumeTagOpenStart(a),b=this._input.substring(d,this._index).toLowerCase(),this._attemptCharCodeUntilFn(g);this._peek!==r.$SLASH&&this._peek!==r.$GT;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(g),this._attemptCharCode(r.$EQ)&&(this._attemptCharCodeUntilFn(g),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(g);this._consumeTagOpenEnd()}catch(f){if(f instanceof B)return this._restorePosition(c),this._beginToken(w.TEXT,a),void this._endToken(["<"]);throw f}var h=t.getHtmlTagDefinition(b).contentType;h===t.HtmlTagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(b,!1):h===t.HtmlTagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(b,!0)},a.prototype._consumeRawTextWithTagClose=function(a,b){var c=this,d=this._consumeRawText(b,r.$LT,function(){return c._attemptCharCode(r.$SLASH)?(c._attemptCharCodeUntilFn(g),c._attemptStrCaseInsensitive(a)?(c._attemptCharCodeUntilFn(g),!!c._attemptCharCode(r.$GT)):!1):!1});this._beginToken(w.TAG_CLOSE,d.sourceSpan.end),this._endToken([null,a])},a.prototype._consumeTagOpenStart=function(a){this._beginToken(w.TAG_OPEN_START,a);var b=this._consumePrefixAndName();this._endToken(b)},a.prototype._consumeAttributeName=function(){this._beginToken(w.ATTR_NAME);var a=this._consumePrefixAndName();this._endToken(a)},a.prototype._consumeAttributeValue=function(){this._beginToken(w.ATTR_VALUE);var a;if(this._peek===r.$SQ||this._peek===r.$DQ){var b=this._peek;this._advance();for(var c=[];this._peek!==b;)c.push(this._readChar(!0));a=c.join(""),this._advance()}else{var d=this._index;this._requireCharCodeUntilFn(h,1),a=this._input.substring(d,this._index)}this._endToken([this._processCarriageReturns(a)])},a.prototype._consumeTagOpenEnd=function(){var a=this._attemptCharCode(r.$SLASH)?w.TAG_OPEN_END_VOID:w.TAG_OPEN_END;this._beginToken(a),this._requireCharCode(r.$GT),this._endToken([])},a.prototype._consumeTagClose=function(a){this._beginToken(w.TAG_CLOSE,a),this._attemptCharCodeUntilFn(g);var b=this._consumePrefixAndName();this._attemptCharCodeUntilFn(g),this._requireCharCode(r.$GT),this._endToken(b)},a.prototype._consumeExpansionFormStart=function(){this._beginToken(w.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(r.$LBRACE),this._endToken([]),this._beginToken(w.RAW_TEXT,this._getLocation());var a=this._readUntil(r.$COMMA);this._endToken([a],this._getLocation()),this._requireCharCode(r.$COMMA),this._attemptCharCodeUntilFn(g),this._beginToken(w.RAW_TEXT,this._getLocation());var b=this._readUntil(r.$COMMA);this._endToken([b],this._getLocation()),this._requireCharCode(r.$COMMA),this._attemptCharCodeUntilFn(g),this._expansionCaseStack.push(w.EXPANSION_FORM_START)},a.prototype._consumeExpansionCaseStart=function(){this._beginToken(w.EXPANSION_CASE_VALUE,this._getLocation());var a=this._readUntil(r.$LBRACE).trim();this._endToken([a],this._getLocation()),this._attemptCharCodeUntilFn(g),this._beginToken(w.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(r.$LBRACE),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(g),this._expansionCaseStack.push(w.EXPANSION_CASE_EXP_START)},a.prototype._consumeExpansionCaseEnd=function(){this._beginToken(w.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(r.$RBRACE),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(g),this._expansionCaseStack.pop()},a.prototype._consumeExpansionFormEnd=function(){this._beginToken(w.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(r.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()},a.prototype._consumeText=function(){var a=this._getLocation();this._beginToken(w.TEXT,a);var b=[];do this._attemptStr(this.interpolationConfig.start)?(b.push(this.interpolationConfig.start),this._inInterpolation=!0):this._attemptStr(this.interpolationConfig.end)&&this._inInterpolation?(b.push(this.interpolationConfig.end),this._inInterpolation=!1):b.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(b.join(""))])},a.prototype._isTextEnd=function(){if(this._peek===r.$LT||this._peek===r.$EOF)return!0;if(this.tokenizeExpansionForms){if(l(this._input,this._index,this.interpolationConfig.start))return!0;if(this._peek===r.$RBRACE&&!this._inInterpolation&&this._isInExpansionCase())return!0}return!1},a.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},a.prototype._readUntil=function(a){var b=this._index;return this._attemptUntilChar(a),this._input.substring(b,this._index)},a.prototype._restorePosition=function(a){this._peek=a[0],this._index=a[1],this._column=a[2],this._line=a[3];var b=a[4];b<this.tokens.length&&(this.tokens=this.tokens.slice(0,b))},a.prototype._isInExpansionCase=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===w.EXPANSION_CASE_EXP_START},a.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===w.EXPANSION_FORM_START},a}()}(a("45")),c.exports}),a.registerDynamic("36",["9","1f","19","3b","4e","43","4f"],!0,function(a,b,c){"use strict";function d(a,b,c){return h.isBlank(a)&&(a=m.getHtmlTagDefinition(b).implicitNamespacePrefix,h.isBlank(a)&&h.isPresent(c)&&(a=m.getNsPrefix(c.name))),m.mergeNsAndName(a,b)}function e(a,b){return a.length>0&&a[a.length-1]===b}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("9"),h=a("1f"),i=a("19"),j=a("3b"),k=a("4e"),l=a("43"),m=a("4f"),n=function(a){function b(b,c,d){a.call(this,c,d),this.elementName=b}return f(b,a),b.create=function(a,c,d){return new b(a,c,d)},b}(l.ParseError);b.HtmlTreeError=n;var o=function(){function a(a,b){this.rootNodes=a,this.errors=b}return a}();b.HtmlParseTreeResult=o;var p=function(){function a(){}return a.prototype.parse=function(a,b,c){void 0===c&&(c=!1);var d=k.tokenizeHtml(a,b,c),e=new q(d.tokens).build();return new o(e.rootNodes,d.errors.concat(e.errors))},a.decorators=[{type:g.Injectable}],a}();b.HtmlParser=p;var q=function(){function a(a){this.tokens=a,this.index=-1,this.rootNodes=[],this.errors=[],this.elementStack=[],this._advance()}return a.prototype.build=function(){for(;this.peek.type!==k.HtmlTokenType.EOF;)this.peek.type===k.HtmlTokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this.peek.type===k.HtmlTokenType.TAG_CLOSE?this._consumeEndTag(this._advance()):this.peek.type===k.HtmlTokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this.peek.type===k.HtmlTokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this.peek.type===k.HtmlTokenType.TEXT||this.peek.type===k.HtmlTokenType.RAW_TEXT||this.peek.type===k.HtmlTokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this.peek.type===k.HtmlTokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new o(this.rootNodes,this.errors)},a.prototype._advance=function(){var a=this.peek;return this.index<this.tokens.length-1&&this.index++,this.peek=this.tokens[this.index],a},a.prototype._advanceIf=function(a){return this.peek.type===a?this._advance():null},a.prototype._consumeCdata=function(a){this._consumeText(this._advance()),this._advanceIf(k.HtmlTokenType.CDATA_END)},a.prototype._consumeComment=function(a){var b=this._advanceIf(k.HtmlTokenType.RAW_TEXT);this._advanceIf(k.HtmlTokenType.COMMENT_END);var c=h.isPresent(b)?b.parts[0].trim():null;this._addToParent(new j.HtmlCommentAst(c,a.sourceSpan))},a.prototype._consumeExpansion=function(a){for(var b=this._advance(),c=this._advance(),d=[];this.peek.type===k.HtmlTokenType.EXPANSION_CASE_VALUE;){var e=this._parseExpansionCase();if(h.isBlank(e))return;d.push(e)}if(this.peek.type!==k.HtmlTokenType.EXPANSION_FORM_END)return void this.errors.push(n.create(null,this.peek.sourceSpan,"Invalid expansion form. Missing '}'."));this._advance();var f=new l.ParseSourceSpan(a.sourceSpan.start,this.peek.sourceSpan.end);this._addToParent(new j.HtmlExpansionAst(b.parts[0],c.parts[0],d,f,b.sourceSpan))},a.prototype._parseExpansionCase=function(){var b=this._advance();if(this.peek.type!==k.HtmlTokenType.EXPANSION_CASE_EXP_START)return this.errors.push(n.create(null,this.peek.sourceSpan,"Invalid expansion form. Missing '{'.,")),null;var c=this._advance(),d=this._collectExpansionExpTokens(c);if(h.isBlank(d))return null;var e=this._advance();d.push(new k.HtmlToken(k.HtmlTokenType.EOF,[],e.sourceSpan));var f=new a(d).build();if(f.errors.length>0)return this.errors=this.errors.concat(f.errors),null;var g=new l.ParseSourceSpan(b.sourceSpan.start,e.sourceSpan.end),i=new l.ParseSourceSpan(c.sourceSpan.start,e.sourceSpan.end);return new j.HtmlExpansionCaseAst(b.parts[0],f.rootNodes,g,b.sourceSpan,i)},a.prototype._collectExpansionExpTokens=function(a){for(var b=[],c=[k.HtmlTokenType.EXPANSION_CASE_EXP_START];;){if(this.peek.type!==k.HtmlTokenType.EXPANSION_FORM_START&&this.peek.type!==k.HtmlTokenType.EXPANSION_CASE_EXP_START||c.push(this.peek.type),this.peek.type===k.HtmlTokenType.EXPANSION_CASE_EXP_END){if(!e(c,k.HtmlTokenType.EXPANSION_CASE_EXP_START))return this.errors.push(n.create(null,a.sourceSpan,"Invalid expansion form. Missing '}'.")),null;if(c.pop(),0==c.length)return b}if(this.peek.type===k.HtmlTokenType.EXPANSION_FORM_END){if(!e(c,k.HtmlTokenType.EXPANSION_FORM_START))return this.errors.push(n.create(null,a.sourceSpan,"Invalid expansion form. Missing '}'.")),null;c.pop()}if(this.peek.type===k.HtmlTokenType.EOF)return this.errors.push(n.create(null,a.sourceSpan,"Invalid expansion form. Missing '}'.")),null;b.push(this._advance())}},a.prototype._consumeText=function(a){var b=a.parts[0];if(b.length>0&&"\n"==b[0]){var c=this._getParentElement();h.isPresent(c)&&0==c.children.length&&m.getHtmlTagDefinition(c.name).ignoreFirstLf&&(b=b.substring(1))}b.length>0&&this._addToParent(new j.HtmlTextAst(b,a.sourceSpan))},a.prototype._closeVoidElement=function(){if(this.elementStack.length>0){var a=i.ListWrapper.last(this.elementStack);m.getHtmlTagDefinition(a.name).isVoid&&this.elementStack.pop()}},a.prototype._consumeStartTag=function(a){for(var b=a.parts[0],c=a.parts[1],e=[];this.peek.type===k.HtmlTokenType.ATTR_NAME;)e.push(this._consumeAttr(this._advance()));var f=d(b,c,this._getParentElement()),g=!1;this.peek.type===k.HtmlTokenType.TAG_OPEN_END_VOID?(this._advance(),g=!0,null!=m.getNsPrefix(f)||m.getHtmlTagDefinition(f).isVoid||this.errors.push(n.create(f,a.sourceSpan,'Only void and foreign elements can be self closed "'+a.parts[1]+'"'))):this.peek.type===k.HtmlTokenType.TAG_OPEN_END&&(this._advance(),g=!1);var h=this.peek.sourceSpan.start,i=new l.ParseSourceSpan(a.sourceSpan.start,h),o=new j.HtmlElementAst(f,e,[],i,i,null);this._pushElement(o),g&&(this._popElement(f),o.endSourceSpan=i)},a.prototype._pushElement=function(a){if(this.elementStack.length>0){var b=i.ListWrapper.last(this.elementStack);m.getHtmlTagDefinition(b.name).isClosedByChild(a.name)&&this.elementStack.pop()}var c=m.getHtmlTagDefinition(a.name),d=this._getParentElementSkippingContainers(),e=d.parent,f=d.container;if(h.isPresent(e)&&c.requireExtraParent(e.name)){var g=new j.HtmlElementAst(c.parentToAdd,[],[],a.sourceSpan,a.startSourceSpan,a.endSourceSpan);this._insertBeforeContainer(e,f,g)}this._addToParent(a),this.elementStack.push(a)},a.prototype._consumeEndTag=function(a){var b=d(a.parts[0],a.parts[1],this._getParentElement());this._getParentElement()&&(this._getParentElement().endSourceSpan=a.sourceSpan),m.getHtmlTagDefinition(b).isVoid?this.errors.push(n.create(b,a.sourceSpan,'Void elements do not have end tags "'+a.parts[1]+'"')):this._popElement(b)||this.errors.push(n.create(b,a.sourceSpan,'Unexpected closing tag "'+a.parts[1]+'"'))},a.prototype._popElement=function(a){for(var b=this.elementStack.length-1;b>=0;b--){var c=this.elementStack[b];if(c.name==a)return i.ListWrapper.splice(this.elementStack,b,this.elementStack.length-b),!0;if(!m.getHtmlTagDefinition(c.name).closedByParent)return!1}return!1},a.prototype._consumeAttr=function(a){var b=m.mergeNsAndName(a.parts[0],a.parts[1]),c=a.sourceSpan.end,d="";if(this.peek.type===k.HtmlTokenType.ATTR_VALUE){var e=this._advance();d=e.parts[0],c=e.sourceSpan.end}return new j.HtmlAttrAst(b,d,new l.ParseSourceSpan(a.sourceSpan.start,c))},a.prototype._getParentElement=function(){return this.elementStack.length>0?i.ListWrapper.last(this.elementStack):null},a.prototype._getParentElementSkippingContainers=function(){for(var a=null,b=this.elementStack.length-1;b>=0;b--){if("ng-container"!==this.elementStack[b].name)return{parent:this.elementStack[b],container:a};a=this.elementStack[b]}return{parent:i.ListWrapper.last(this.elementStack),container:a}},a.prototype._addToParent=function(a){var b=this._getParentElement();h.isPresent(b)?b.children.push(a):this.rootNodes.push(a)},a.prototype._insertBeforeContainer=function(a,b,c){if(b){if(a){var d=a.children.indexOf(b);a.children[d]=c}else this.rootNodes.push(c);c.children.push(b),this.elementStack.splice(this.elementStack.indexOf(b),0,c)}else this._addToParent(c),this.elementStack.push(c)},a}();return c.exports}),a.registerDynamic("37",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a}();return b.ElementSchemaRegistry=d,c.exports}),a.registerDynamic("4f",["1f"],!0,function(a,b,c){"use strict";function d(a){var b=k[a.toLowerCase()];return h.isPresent(b)?b:l}function e(a){if(":"!=a[0])return[null,a];var b=h.RegExpWrapper.firstMatch(m,a);return[b[1],b[2]]}function f(a){return e(a)[0]}function g(a,b){return h.isPresent(a)?":"+a+":"+b:b}var h=a("1f");b.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞","int":"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"",zwnj:""},function(a){a[a.RAW_TEXT=0]="RAW_TEXT",a[a.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",a[a.PARSABLE_DATA=2]="PARSABLE_DATA"}(b.HtmlTagContentType||(b.HtmlTagContentType={}));var i=b.HtmlTagContentType,j=function(){function a(a){var b=this,c=void 0===a?{}:a,d=c.closedByChildren,e=c.requiredParents,f=c.implicitNamespacePrefix,g=c.contentType,j=c.closedByParent,k=c.isVoid,l=c.ignoreFirstLf;this.closedByChildren={},this.closedByParent=!1,h.isPresent(d)&&d.length>0&&d.forEach(function(a){return b.closedByChildren[a]=!0}),this.isVoid=h.normalizeBool(k),this.closedByParent=h.normalizeBool(j)||this.isVoid,h.isPresent(e)&&e.length>0&&(this.requiredParents={},this.parentToAdd=e[0],e.forEach(function(a){return b.requiredParents[a]=!0})),this.implicitNamespacePrefix=f,this.contentType=h.isPresent(g)?g:i.PARSABLE_DATA,this.ignoreFirstLf=h.normalizeBool(l)}return a.prototype.requireExtraParent=function(a){if(h.isBlank(this.requiredParents))return!1;if(h.isBlank(a))return!0;var b=a.toLowerCase();return 1!=this.requiredParents[b]&&"template"!=b},a.prototype.isClosedByChild=function(a){return this.isVoid||h.normalizeBool(this.closedByChildren[a.toLowerCase()])},a}();b.HtmlTagDefinition=j;var k={base:new j({isVoid:!0}),meta:new j({isVoid:!0}),area:new j({isVoid:!0}),embed:new j({isVoid:!0}),link:new j({isVoid:!0}),img:new j({isVoid:!0}),input:new j({isVoid:!0}),param:new j({isVoid:!0}),hr:new j({isVoid:!0}),br:new j({isVoid:!0}),source:new j({isVoid:!0}),track:new j({isVoid:!0}),wbr:new j({isVoid:!0}),p:new j({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new j({closedByChildren:["tbody","tfoot"]}),tbody:new j({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new j({closedByChildren:["tbody"],closedByParent:!0}),tr:new j({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new j({closedByChildren:["td","th"],closedByParent:!0}),th:new j({closedByChildren:["td","th"],closedByParent:!0}),col:new j({requiredParents:["colgroup"],isVoid:!0}),svg:new j({implicitNamespacePrefix:"svg"}),math:new j({implicitNamespacePrefix:"math"}),li:new j({closedByChildren:["li"],closedByParent:!0}),dt:new j({closedByChildren:["dt","dd"]}),dd:new j({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new j({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new j({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new j({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new j({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new j({closedByChildren:["optgroup"],closedByParent:!0}),option:new j({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new j({ignoreFirstLf:!0}),listing:new j({ignoreFirstLf:!0}),style:new j({contentType:i.RAW_TEXT}),script:new j({contentType:i.RAW_TEXT}),title:new j({contentType:i.ESCAPABLE_RAW_TEXT}),textarea:new j({contentType:i.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},l=new j;b.getHtmlTagDefinition=d;var m=/^:([^:]+):(.+)/g;return b.splitNsName=e,b.getNsPrefix=f,b.mergeNsAndName=g,c.exports}),a.registerDynamic("3d",["1f","4f"],!0,function(a,b,c){"use strict";function d(a){var b=null,c=null,d=null,f=!1,t=null;a.attrs.forEach(function(a){var e=a.name.toLowerCase();e==h?b=a.value:e==l?c=a.value:e==k?d=a.value:a.name==p?f=!0:a.name==q&&a.value.length>0&&(t=a.value)}),b=e(b);var u=a.name.toLowerCase(),v=r.OTHER;return g.splitNsName(u)[1]==i?v=r.NG_CONTENT:u==n?v=r.STYLE:u==o?v=r.SCRIPT:u==j&&d==m&&(v=r.STYLESHEET),new s(v,b,c,f,t)}function e(a){return f.isBlank(a)||0===a.length?"*":a}var f=a("1f"),g=a("4f"),h="select",i="ng-content",j="link",k="rel",l="href",m="stylesheet",n="style",o="script",p="ngNonBindable",q="ngProjectAs";b.preparseElement=d,function(a){a[a.NG_CONTENT=0]="NG_CONTENT",a[a.STYLE=1]="STYLE",a[a.STYLESHEET=2]="STYLESHEET",a[a.SCRIPT=3]="SCRIPT",a[a.OTHER=4]="OTHER"}(b.PreparsedElementType||(b.PreparsedElementType={}));var r=b.PreparsedElementType,s=function(){function a(a,b,c,d,e){this.type=a,this.selectAttr=b,this.hrefAttr=c,this.nonBindable=d,this.projectAs=e}return a}();return b.PreparsedElement=s,c.exports}),a.registerDynamic("3c",["1f"],!0,function(a,b,c){"use strict";function d(a){if(f.isBlank(a)||0===a.length||"/"==a[0])return!1;var b=f.RegExpWrapper.firstMatch(i,a);return f.isBlank(b)||"package"==b[1]||"asset"==b[1]}function e(a,b,c){var e=[],i=f.StringWrapper.replaceAllMapped(c,h,function(c){var g=f.isPresent(c[1])?c[1]:c[2];return d(g)?(e.push(a.resolve(b,g)),""):c[0]});return new g(i,e)}var f=a("1f"),g=function(){function a(a,b){this.style=a,this.styleUrls=b}return a}();b.StyleWithImports=g,b.isStyleUrlResolvable=d,b.extractStyleUrls=e;var h=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,i=/^([a-zA-Z\-\+\.]+):/g;return c.exports}),a.registerDynamic("3b",["1f"],!0,function(a,b,c){"use strict";function d(a,b,c){void 0===c&&(c=null);var d=[];return b.forEach(function(b){var f=b.visit(a,c);e.isPresent(f)&&d.push(f)}),d}var e=a("1f"),f=function(){function a(a,b){this.value=a,this.sourceSpan=b}return a.prototype.visit=function(a,b){return a.visitText(this,b)},a}();b.HtmlTextAst=f;var g=function(){function a(a,b,c,d,e){this.switchValue=a,this.type=b,this.cases=c,this.sourceSpan=d,this.switchValueSourceSpan=e}return a.prototype.visit=function(a,b){return a.visitExpansion(this,b)},a}();b.HtmlExpansionAst=g;var h=function(){function a(a,b,c,d,e){this.value=a,this.expression=b,this.sourceSpan=c,this.valueSourceSpan=d,this.expSourceSpan=e}return a.prototype.visit=function(a,b){return a.visitExpansionCase(this,b)},a}();b.HtmlExpansionCaseAst=h;var i=function(){function a(a,b,c){this.name=a,this.value=b,this.sourceSpan=c}return a.prototype.visit=function(a,b){return a.visitAttr(this,b)},a}();b.HtmlAttrAst=i;var j=function(){function a(a,b,c,d,e,f){this.name=a,this.attrs=b,this.children=c,this.sourceSpan=d,this.startSourceSpan=e,this.endSourceSpan=f}return a.prototype.visit=function(a,b){return a.visitElement(this,b)},a}();b.HtmlElementAst=j;var k=function(){function a(a,b){this.value=a,this.sourceSpan=b}return a.prototype.visit=function(a,b){return a.visitComment(this,b)},a}();return b.HtmlCommentAst=k,b.htmlVisitAll=d,c.exports}),a.registerDynamic("50",["19","1f","18","51","43","30"],!0,function(a,b,c){"use strict";function d(a,b){var c=b.useExisting,d=b.useValue,e=b.deps;return new o.CompileProviderMetadata({token:a.token,useClass:a.useClass,useExisting:c,useFactory:a.useFactory,useValue:d,deps:e,multi:a.multi})}function e(a,b){var c=b.eager,d=b.providers;return new r.ProviderAst(a.token,a.multiProvider,a.eager||c,d,a.providerType,a.sourceSpan)}function f(a,b,c,d){return void 0===d&&(d=null),n.isBlank(d)&&(d=[]),n.isPresent(a)&&a.forEach(function(a){if(n.isArray(a))f(a,b,c,d);else{var e;a instanceof o.CompileProviderMetadata?e=a:a instanceof o.CompileTypeMetadata?e=new o.CompileProviderMetadata({token:new o.CompileTokenMetadata({identifier:a}),useClass:a}):c.push(new s("Unknown provider type "+a,b)),n.isPresent(e)&&d.push(e)}}),d}function g(a,b,c){var d=new o.CompileTokenMap;a.forEach(function(a){var e=new o.CompileProviderMetadata({token:new o.CompileTokenMetadata({identifier:a.type}),useClass:a.type});h([e],a.isComponent?r.ProviderAstType.Component:r.ProviderAstType.Directive,!0,b,c,d)});var e=a.filter(function(a){return a.isComponent}).concat(a.filter(function(a){return!a.isComponent}));return e.forEach(function(a){h(f(a.providers,b,c),r.ProviderAstType.PublicService,!1,b,c,d),h(f(a.viewProviders,b,c),r.ProviderAstType.PrivateService,!1,b,c,d)}),d}function h(a,b,c,d,e,f){a.forEach(function(a){var g=f.get(a.token);n.isPresent(g)&&g.multiProvider!==a.multi&&e.push(new s("Mixing multi and non multi provider is not possible for token "+g.token.name,d)),n.isBlank(g)?(g=new r.ProviderAst(a.token,a.multi,c,[a],b,d),f.add(a.token,g)):(a.multi||m.ListWrapper.clear(g.providers),g.providers.push(a))})}function i(a){var b=new o.CompileTokenMap;return n.isPresent(a.viewQueries)&&a.viewQueries.forEach(function(a){return k(b,a)}),a.type.diDeps.forEach(function(a){n.isPresent(a.viewQuery)&&k(b,a.viewQuery)}),b}function j(a){var b=new o.CompileTokenMap;return a.forEach(function(a){n.isPresent(a.queries)&&a.queries.forEach(function(a){return k(b,a)}),a.type.diDeps.forEach(function(a){n.isPresent(a.query)&&k(b,a.query)})}),b}function k(a,b){b.selectors.forEach(function(c){var d=a.get(c);n.isBlank(d)&&(d=[],a.add(c,d)),d.push(b)})}var l=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},m=a("19"),n=a("1f"),o=a("18"),p=a("51"),q=a("43"),r=a("30"),s=function(a){function b(b,c){a.call(this,c,b)}return l(b,a),b}(q.ParseError);b.ProviderError=s;var t=function(){function a(a,b){var c=this;this.component=a,this.sourceSpan=b,this.errors=[],this.viewQueries=i(a),this.viewProviders=new o.CompileTokenMap,f(a.viewProviders,b,this.errors).forEach(function(a){n.isBlank(c.viewProviders.get(a.token))&&c.viewProviders.add(a.token,!0);
|
||
})}return a}();b.ProviderViewContext=t;var u=function(){function a(a,b,c,d,e,f,h){var i=this;this._viewContext=a,this._parent=b,this._isViewRoot=c,this._directiveAsts=d,this._sourceSpan=h,this._transformedProviders=new o.CompileTokenMap,this._seenProviders=new o.CompileTokenMap,this._hasViewContainer=!1,this._attrs={},e.forEach(function(a){return i._attrs[a.name]=a.value});var k=d.map(function(a){return a.directive});this._allProviders=g(k,h,a.errors),this._contentQueries=j(k);var l=new o.CompileTokenMap;this._allProviders.values().forEach(function(a){i._addQueryReadsTo(a.token,l)}),f.forEach(function(a){i._addQueryReadsTo(new o.CompileTokenMetadata({value:a.name}),l)}),n.isPresent(l.get(p.identifierToken(p.Identifiers.ViewContainerRef)))&&(this._hasViewContainer=!0),this._allProviders.values().forEach(function(a){var b=a.eager||n.isPresent(l.get(a.token));b&&i._getOrCreateLocalProvider(a.providerType,a.token,!0)})}return a.prototype.afterElement=function(){var a=this;this._allProviders.values().forEach(function(b){a._getOrCreateLocalProvider(b.providerType,b.token,!1)})},Object.defineProperty(a.prototype,"transformProviders",{get:function(){return this._transformedProviders.values()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"transformedDirectiveAsts",{get:function(){var a=this._transformedProviders.values().map(function(a){return a.token.identifier}),b=m.ListWrapper.clone(this._directiveAsts);return m.ListWrapper.sort(b,function(b,c){return a.indexOf(b.directive.type)-a.indexOf(c.directive.type)}),b},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"transformedHasViewContainer",{get:function(){return this._hasViewContainer},enumerable:!0,configurable:!0}),a.prototype._addQueryReadsTo=function(a,b){this._getQueriesFor(a).forEach(function(c){var d=n.isPresent(c.read)?c.read:a;n.isBlank(b.get(d))&&b.add(d,!0)})},a.prototype._getQueriesFor=function(a){for(var b,c=[],d=this,e=0;null!==d;)b=d._contentQueries.get(a),n.isPresent(b)&&m.ListWrapper.addAll(c,b.filter(function(a){return a.descendants||1>=e})),d._directiveAsts.length>0&&e++,d=d._parent;return b=this._viewContext.viewQueries.get(a),n.isPresent(b)&&m.ListWrapper.addAll(c,b),c},a.prototype._getOrCreateLocalProvider=function(a,b,c){var f=this,g=this._allProviders.get(b);if(n.isBlank(g)||(a===r.ProviderAstType.Directive||a===r.ProviderAstType.PublicService)&&g.providerType===r.ProviderAstType.PrivateService||(a===r.ProviderAstType.PrivateService||a===r.ProviderAstType.PublicService)&&g.providerType===r.ProviderAstType.Builtin)return null;var h=this._transformedProviders.get(b);if(n.isPresent(h))return h;if(n.isPresent(this._seenProviders.get(b)))return this._viewContext.errors.push(new s("Cannot instantiate cyclic dependency! "+b.name,this._sourceSpan)),null;this._seenProviders.add(b,!0);var i=g.providers.map(function(a){var b,e=a.useValue,h=a.useExisting;if(n.isPresent(a.useExisting)){var i=f._getDependency(g.providerType,new o.CompileDiDependencyMetadata({token:a.useExisting}),c);n.isPresent(i.token)?h=i.token:(h=null,e=i.value)}else if(n.isPresent(a.useFactory)){var j=n.isPresent(a.deps)?a.deps:a.useFactory.diDeps;b=j.map(function(a){return f._getDependency(g.providerType,a,c)})}else if(n.isPresent(a.useClass)){var j=n.isPresent(a.deps)?a.deps:a.useClass.diDeps;b=j.map(function(a){return f._getDependency(g.providerType,a,c)})}return d(a,{useExisting:h,useValue:e,deps:b})});return h=e(g,{eager:c,providers:i}),this._transformedProviders.add(b,h),h},a.prototype._getLocalDependency=function(a,b,c){if(void 0===c&&(c=null),b.isAttribute){var d=this._attrs[b.token.value];return new o.CompileDiDependencyMetadata({isValue:!0,value:n.normalizeBlank(d)})}if(n.isPresent(b.query)||n.isPresent(b.viewQuery))return b;if(n.isPresent(b.token)){if(a===r.ProviderAstType.Directive||a===r.ProviderAstType.Component){if(b.token.equalsTo(p.identifierToken(p.Identifiers.Renderer))||b.token.equalsTo(p.identifierToken(p.Identifiers.ElementRef))||b.token.equalsTo(p.identifierToken(p.Identifiers.ChangeDetectorRef))||b.token.equalsTo(p.identifierToken(p.Identifiers.TemplateRef)))return b;b.token.equalsTo(p.identifierToken(p.Identifiers.ViewContainerRef))&&(this._hasViewContainer=!0)}if(b.token.equalsTo(p.identifierToken(p.Identifiers.Injector)))return b;if(n.isPresent(this._getOrCreateLocalProvider(a,b.token,c)))return b}return null},a.prototype._getDependency=function(a,b,c){void 0===c&&(c=null);var d=this,e=c,f=null;if(b.isSkipSelf||(f=this._getLocalDependency(a,b,c)),b.isSelf)n.isBlank(f)&&b.isOptional&&(f=new o.CompileDiDependencyMetadata({isValue:!0,value:null}));else{for(;n.isBlank(f)&&n.isPresent(d._parent);){var g=d;d=d._parent,g._isViewRoot&&(e=!1),f=d._getLocalDependency(r.ProviderAstType.PublicService,b,e)}n.isBlank(f)&&(f=!b.isHost||this._viewContext.component.type.isHost||p.identifierToken(this._viewContext.component.type).equalsTo(b.token)||n.isPresent(this._viewContext.viewProviders.get(b.token))?b:b.isOptional?f=new o.CompileDiDependencyMetadata({isValue:!0,value:null}):null)}return n.isBlank(f)&&this._viewContext.errors.push(new s("No provider for "+b.token.name,this._sourceSpan)),f},a}();return b.ProviderElementContext=u,c.exports}),a.registerDynamic("2b",["9","26","19","1f","1a","4c","39","36","4f","43","30","52","37","3d","3c","3b","1c","51","50","45"],!0,function(a,b,c){return function(c){"use strict";function d(a){return k.StringWrapper.split(a.trim(),/\s+/g)}function e(a,b){var c=new s.CssSelector,e=p.splitNsName(a)[1];c.setElement(e);for(var f=0;f<b.length;f++){var g=b[f][0],h=p.splitNsName(g)[1],i=b[f][1];if(c.addAttribute(h,i),g.toLowerCase()==E){var j=d(i);j.forEach(function(a){return c.addClassName(a)})}}return c}function f(a){var b=[];return a.forEach(function(a){var c=b.filter(function(b){return b.type.name==a.type.name&&b.type.moduleUrl==a.type.moduleUrl&&b.type.runtime==a.type.runtime}).length>0;c||b.push(a)}),b}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("9"),i=a("26"),j=a("19"),k=a("1f"),l=a("1a"),m=a("4c"),n=a("39"),o=a("36"),p=a("4f"),q=a("43"),r=a("30"),s=a("52"),t=a("37"),u=a("3d"),v=a("3c"),w=a("3b"),x=a("1c"),y=a("51"),z=a("50"),A=/^(?:(?:(?:(bind-)|(var-)|(let-)|(ref-|#)|(on-)|(bindon-)|(animate-|@))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/g,B="template",C="template",D="*",E="class",F=".",G="attr",H="class",I="style",J=s.CssSelector.parse("*")[0];b.TEMPLATE_TRANSFORMS=new h.OpaqueToken("TemplateTransforms");var K=function(a){function b(b,c,d){a.call(this,c,b,d)}return g(b,a),b}(q.ParseError);b.TemplateParseError=K;var L=function(){function a(a,b){this.templateAst=a,this.errors=b}return a}();b.TemplateParseResult=L;var M=function(){function a(a,b,c,d,e){this._exprParser=a,this._schemaRegistry=b,this._htmlParser=c,this._console=d,this.transforms=e}return a.prototype.parse=function(a,b,c,d,e){var f=this.tryParse(a,b,c,d,e),g=f.errors.filter(function(a){return a.level===q.ParseErrorLevel.WARNING}),h=f.errors.filter(function(a){return a.level===q.ParseErrorLevel.FATAL});if(g.length>0&&this._console.warn("Template parse warnings:\n"+g.join("\n")),h.length>0){var i=h.join("\n");throw new l.BaseException("Template parse errors:\n"+i)}return f.templateAst},a.prototype.tryParse=function(a,b,c,d,e){var g,h=this._htmlParser.parse(b,e),i=h.errors;if(h.rootNodes.length>0){var j=f(c),l=f(d),m=new z.ProviderViewContext(a,h.rootNodes[0].sourceSpan),n=new N(m,j,l,this._exprParser,this._schemaRegistry);g=w.htmlVisitAll(n,h.rootNodes,S),i=i.concat(n.errors).concat(m.errors)}else g=[];return this._assertNoReferenceDuplicationOnTemplate(g,i),i.length>0?new L(g,i):(k.isPresent(this.transforms)&&this.transforms.forEach(function(a){g=r.templateVisitAll(a,g)}),new L(g,i))},a.prototype._assertNoReferenceDuplicationOnTemplate=function(a,b){var c=[];a.filter(function(a){return!!a.references}).forEach(function(a){return a.references.forEach(function(a){var d=a.name;if(c.indexOf(d)<0)c.push(d);else{var e=new K('Reference "#'+d+'" is defined several times',a.sourceSpan,q.ParseErrorLevel.FATAL);b.push(e)}})})},a.decorators=[{type:h.Injectable}],a.ctorParameters=[{type:n.Parser},{type:t.ElementSchemaRegistry},{type:o.HtmlParser},{type:i.Console},{type:Array,decorators:[{type:h.Optional},{type:h.Inject,args:[b.TEMPLATE_TRANSFORMS]}]}],a}();b.TemplateParser=M;var N=function(){function a(a,b,c,d,e){var f=this;this.providerViewContext=a,this._exprParser=d,this._schemaRegistry=e,this.errors=[],this.directivesIndex=new Map,this.ngContentCount=0,this.selectorMatcher=new s.SelectorMatcher;var g=a.component.template;k.isPresent(g)&&k.isPresent(g.interpolation)&&(this._interpolationConfig={start:g.interpolation[0],end:g.interpolation[1]}),j.ListWrapper.forEachWithIndex(b,function(a,b){var c=s.CssSelector.parse(a.selector);f.selectorMatcher.addSelectables(c,a),f.directivesIndex.set(a,b)}),this.pipesByName=new Map,c.forEach(function(a){return f.pipesByName.set(a.name,a)})}return a.prototype._reportError=function(a,b,c){void 0===c&&(c=q.ParseErrorLevel.FATAL),this.errors.push(new K(a,b,c))},a.prototype._parseInterpolation=function(a,b){var c=b.start.toString();try{var d=this._exprParser.parseInterpolation(a,c,this._interpolationConfig);if(this._checkPipes(d,b),k.isPresent(d)&&d.ast.expressions.length>i.MAX_INTERPOLATION_VALUES)throw new l.BaseException("Only support at most "+i.MAX_INTERPOLATION_VALUES+" interpolation values!");return d}catch(e){return this._reportError(""+e,b),this._exprParser.wrapLiteralPrimitive("ERROR",c)}},a.prototype._parseAction=function(a,b){var c=b.start.toString();try{var d=this._exprParser.parseAction(a,c,this._interpolationConfig);return this._checkPipes(d,b),d}catch(e){return this._reportError(""+e,b),this._exprParser.wrapLiteralPrimitive("ERROR",c)}},a.prototype._parseBinding=function(a,b){var c=b.start.toString();try{var d=this._exprParser.parseBinding(a,c,this._interpolationConfig);return this._checkPipes(d,b),d}catch(e){return this._reportError(""+e,b),this._exprParser.wrapLiteralPrimitive("ERROR",c)}},a.prototype._parseTemplateBindings=function(a,b){var c=this,d=b.start.toString();try{var e=this._exprParser.parseTemplateBindings(a,d);return e.templateBindings.forEach(function(a){k.isPresent(a.expression)&&c._checkPipes(a.expression,b)}),e.warnings.forEach(function(a){c._reportError(a,b,q.ParseErrorLevel.WARNING)}),e.templateBindings}catch(f){return this._reportError(""+f,b),[]}},a.prototype._checkPipes=function(a,b){var c=this;if(k.isPresent(a)){var d=new U;a.visit(d),d.pipes.forEach(function(a){c.pipesByName.has(a)||c._reportError("The pipe '"+a+"' could not be found",b)})}},a.prototype.visitExpansion=function(a,b){return null},a.prototype.visitExpansionCase=function(a,b){return null},a.prototype.visitText=function(a,b){var c=b.findNgContentIndex(J),d=this._parseInterpolation(a.value,a.sourceSpan);return k.isPresent(d)?new r.BoundTextAst(d,c,a.sourceSpan):new r.TextAst(a.value,c,a.sourceSpan)},a.prototype.visitAttr=function(a,b){return new r.AttrAst(a.name,a.value,a.sourceSpan)},a.prototype.visitComment=function(a,b){return null},a.prototype.visitElement=function(a,b){var c=this,d=a.name,f=u.preparseElement(a);if(f.type===u.PreparsedElementType.SCRIPT||f.type===u.PreparsedElementType.STYLE)return null;if(f.type===u.PreparsedElementType.STYLESHEET&&v.isStyleUrlResolvable(f.hrefAttr))return null;var g=[],h=[],i=[],j=[],l=[],m=[],n=[],o=[],q=[],t=!1,x=[],y=p.splitNsName(d.toLowerCase())[1],A=y==B;a.attrs.forEach(function(a){var b=c._parseAttr(A,a,g,h,l,m,i,j),d=c._parseInlineTemplateBinding(a,o,n,q);d&&t&&c._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",a.sourceSpan),b||d||(x.push(c.visitAttr(a,null)),g.push([a.name,a.value])),d&&(t=!0)});var C=e(d,g),D=this._parseDirectives(this.selectorMatcher,C),E=[],F=this._createDirectiveAsts(A,a.name,D,h,i,a.sourceSpan,E),G=this._createElementPropertyAsts(a.name,h,F).concat(l),H=b.isTemplateElement||t,I=new z.ProviderElementContext(this.providerViewContext,b.providerContext,H,F,x,E,a.sourceSpan),J=w.htmlVisitAll(f.nonBindable?T:this,a.children,R.create(A,F,A?b.providerContext:I));I.afterElement();var K,L=k.isPresent(f.projectAs)?s.CssSelector.parse(f.projectAs)[0]:C,M=b.findNgContentIndex(L);if(f.type===u.PreparsedElementType.NG_CONTENT)k.isPresent(a.children)&&a.children.length>0&&this._reportError("<ng-content> element cannot have content. <ng-content> must be immediately followed by </ng-content>",a.sourceSpan),K=new r.NgContentAst(this.ngContentCount++,t?null:M,a.sourceSpan);else if(A)this._assertAllEventsPublishedByDirectives(F,m),this._assertNoComponentsNorElementBindingsOnTemplate(F,G,a.sourceSpan),K=new r.EmbeddedTemplateAst(x,m,E,j,I.transformedDirectiveAsts,I.transformProviders,I.transformedHasViewContainer,J,t?null:M,a.sourceSpan);else{this._assertOnlyOneComponent(F,a.sourceSpan);var N=t?null:b.findNgContentIndex(L);K=new r.ElementAst(d,x,G,m,E,I.transformedDirectiveAsts,I.transformProviders,I.transformedHasViewContainer,J,t?null:N,a.sourceSpan)}if(t){var O=e(B,o),P=this._parseDirectives(this.selectorMatcher,O),Q=this._createDirectiveAsts(!0,a.name,P,n,[],a.sourceSpan,[]),S=this._createElementPropertyAsts(a.name,n,Q);this._assertNoComponentsNorElementBindingsOnTemplate(Q,S,a.sourceSpan);var U=new z.ProviderElementContext(this.providerViewContext,b.providerContext,b.isTemplateElement,Q,[],[],a.sourceSpan);U.afterElement(),K=new r.EmbeddedTemplateAst([],[],[],q,U.transformedDirectiveAsts,U.transformProviders,U.transformedHasViewContainer,[K],M,a.sourceSpan)}return K},a.prototype._parseInlineTemplateBinding=function(a,b,c,d){var e=null;if(a.name==C)e=a.value;else if(a.name.startsWith(D)){var f=a.name.substring(D.length);e=0==a.value.length?f:f+" "+a.value}if(k.isPresent(e)){for(var g=this._parseTemplateBindings(e,a.sourceSpan),h=0;h<g.length;h++){var i=g[h];i.keyIsVar?d.push(new r.VariableAst(i.key,i.name,a.sourceSpan)):k.isPresent(i.expression)?this._parsePropertyAst(i.key,i.expression,a.sourceSpan,b,c):(b.push([i.key,""]),this._parseLiteralAttr(i.key,null,a.sourceSpan,c))}return!0}return!1},a.prototype._parseAttr=function(a,b,c,d,e,f,g,h){var i=this._normalizeAttributeName(b.name),j=b.value,l=k.RegExpWrapper.firstMatch(A,i),m=!1;if(k.isPresent(l))if(m=!0,k.isPresent(l[1]))this._parseProperty(l[8],j,b.sourceSpan,c,d);else if(k.isPresent(l[2])){var n=l[8];a?(this._reportError('"var-" on <template> elements is deprecated. Use "let-" instead!',b.sourceSpan,q.ParseErrorLevel.WARNING),this._parseVariable(n,j,b.sourceSpan,h)):(this._reportError('"var-" on non <template> elements is deprecated. Use "ref-" instead!',b.sourceSpan,q.ParseErrorLevel.WARNING),this._parseReference(n,j,b.sourceSpan,g))}else if(k.isPresent(l[3]))if(a){var n=l[8];this._parseVariable(n,j,b.sourceSpan,h)}else this._reportError('"let-" is only supported on template elements.',b.sourceSpan);else if(k.isPresent(l[4])){var n=l[8];this._parseReference(n,j,b.sourceSpan,g)}else k.isPresent(l[5])?this._parseEvent(l[8],j,b.sourceSpan,c,f):k.isPresent(l[6])?(this._parseProperty(l[8],j,b.sourceSpan,c,d),this._parseAssignmentEvent(l[8],j,b.sourceSpan,c,f)):k.isPresent(l[7])?this._parseAnimation(l[8],j,b.sourceSpan,c,e):k.isPresent(l[9])?(this._parseProperty(l[9],j,b.sourceSpan,c,d),this._parseAssignmentEvent(l[9],j,b.sourceSpan,c,f)):k.isPresent(l[10])?this._parseProperty(l[10],j,b.sourceSpan,c,d):k.isPresent(l[11])&&this._parseEvent(l[11],j,b.sourceSpan,c,f);else m=this._parsePropertyInterpolation(i,j,b.sourceSpan,c,d);return m||this._parseLiteralAttr(i,j,b.sourceSpan,d),m},a.prototype._normalizeAttributeName=function(a){return a.toLowerCase().startsWith("data-")?a.substring(5):a},a.prototype._parseVariable=function(a,b,c,d){a.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',c),d.push(new r.VariableAst(a,b,c))},a.prototype._parseReference=function(a,b,c,d){a.indexOf("-")>-1&&this._reportError('"-" is not allowed in reference names',c),d.push(new Q(a,b,c))},a.prototype._parseProperty=function(a,b,c,d,e){this._parsePropertyAst(a,this._parseBinding(b,c),c,d,e)},a.prototype._parseAnimation=function(a,b,c,d,e){k.isPresent(b)&&0!=b.length||(b="null");var f=this._parseBinding(b,c);d.push([a,f.source]),e.push(new r.BoundElementPropertyAst(a,r.PropertyBindingType.Animation,i.SecurityContext.NONE,f,null,c))},a.prototype._parsePropertyInterpolation=function(a,b,c,d,e){var f=this._parseInterpolation(b,c);return k.isPresent(f)?(this._parsePropertyAst(a,f,c,d,e),!0):!1},a.prototype._parsePropertyAst=function(a,b,c,d,e){d.push([a,b.source]),e.push(new P(a,b,!1,c))},a.prototype._parseAssignmentEvent=function(a,b,c,d,e){this._parseEvent(a+"Change",b+"=$event",c,d,e)},a.prototype._parseEvent=function(a,b,c,d,e){var f=x.splitAtColon(a,[null,a]),g=f[0],h=f[1],i=this._parseAction(b,c);d.push([a,i.source]),e.push(new r.BoundEventAst(h,g,i,c))},a.prototype._parseLiteralAttr=function(a,b,c,d){d.push(new P(a,this._exprParser.wrapLiteralPrimitive(b,""),!0,c))},a.prototype._parseDirectives=function(a,b){var c=this,d=j.ListWrapper.createFixedSize(this.directivesIndex.size);return a.match(b,function(a,b){d[c.directivesIndex.get(b)]=b}),d.filter(function(a){return k.isPresent(a)})},a.prototype._createDirectiveAsts=function(a,b,c,d,e,f,g){var h=this,i=new Set,l=null,m=c.map(function(a){a.isComponent&&(l=a);var c=[],j=[],k=[];return h._createDirectiveHostPropertyAsts(b,a.hostProperties,f,c),h._createDirectiveHostEventAsts(a.hostListeners,f,j),h._createDirectivePropertyAsts(a.inputs,d,k),e.forEach(function(b){(0===b.value.length&&a.isComponent||a.exportAs==b.value)&&(g.push(new r.ReferenceAst(b.name,y.identifierToken(a.type),b.sourceSpan)),i.add(b.name))}),new r.DirectiveAst(a,k,c,j,f)});return e.forEach(function(b){if(b.value.length>0)j.SetWrapper.has(i,b.name)||h._reportError('There is no directive with "exportAs" set to "'+b.value+'"',b.sourceSpan);else if(k.isBlank(l)){var c=null;a&&(c=y.identifierToken(y.Identifiers.TemplateRef)),g.push(new r.ReferenceAst(b.name,c,b.sourceSpan))}}),m},a.prototype._createDirectiveHostPropertyAsts=function(a,b,c,d){var e=this;k.isPresent(b)&&j.StringMapWrapper.forEach(b,function(b,f){var g=e._parseBinding(b,c);d.push(e._createElementPropertyAst(a,f,g,c))})},a.prototype._createDirectiveHostEventAsts=function(a,b,c){var d=this;k.isPresent(a)&&j.StringMapWrapper.forEach(a,function(a,e){d._parseEvent(e,a,b,[],c)})},a.prototype._createDirectivePropertyAsts=function(a,b,c){if(k.isPresent(a)){var d=new Map;b.forEach(function(a){var b=d.get(a.name);(k.isBlank(b)||b.isLiteral)&&d.set(a.name,a)}),j.StringMapWrapper.forEach(a,function(a,b){var e=d.get(a);k.isPresent(e)&&c.push(new r.BoundDirectivePropertyAst(b,e.name,e.expression,e.sourceSpan))})}},a.prototype._createElementPropertyAsts=function(a,b,c){var d=this,e=[],f=new Map;return c.forEach(function(a){a.inputs.forEach(function(a){f.set(a.templateName,a)})}),b.forEach(function(b){!b.isLiteral&&k.isBlank(f.get(b.name))&&e.push(d._createElementPropertyAst(a,b.name,b.expression,b.sourceSpan))}),e},a.prototype._createElementPropertyAst=function(a,b,c,d){var e,f,g,h=null,j=b.split(F);if(1===j.length)f=this._schemaRegistry.getMappedPropName(j[0]),g=this._schemaRegistry.securityContext(a,f),e=r.PropertyBindingType.Property,this._schemaRegistry.hasProperty(a,f)||this._reportError("Can't bind to '"+f+"' since it isn't a known native property",d);else if(j[0]==G){f=j[1],f.toLowerCase().startsWith("on")&&this._reportError("Binding to event attribute '"+f+"' is disallowed "+("for security reasons, please use ("+f.slice(2)+")=..."),d),g=this._schemaRegistry.securityContext(a,this._schemaRegistry.getMappedPropName(f));var k=f.indexOf(":");if(k>-1){var l=f.substring(0,k),m=f.substring(k+1);f=p.mergeNsAndName(l,m)}e=r.PropertyBindingType.Attribute}else j[0]==H?(f=j[1],e=r.PropertyBindingType.Class,g=i.SecurityContext.NONE):j[0]==I?(h=j.length>2?j[2]:null,f=j[1],e=r.PropertyBindingType.Style,g=i.SecurityContext.STYLE):(this._reportError("Invalid property name '"+b+"'",d),e=null,g=null);return new r.BoundElementPropertyAst(f,e,g,c,h,d)},a.prototype._findComponentDirectiveNames=function(a){var b=[];return a.forEach(function(a){var c=a.directive.type.name;a.directive.isComponent&&b.push(c)}),b},a.prototype._assertOnlyOneComponent=function(a,b){var c=this._findComponentDirectiveNames(a);c.length>1&&this._reportError("More than one component: "+c.join(","),b)},a.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(a,b,c){var d=this,e=this._findComponentDirectiveNames(a);e.length>0&&this._reportError("Components on an embedded template: "+e.join(","),c),b.forEach(function(a){d._reportError("Property binding "+a.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "directives" section.',c)})},a.prototype._assertAllEventsPublishedByDirectives=function(a,b){var c=this,d=new Set;a.forEach(function(a){j.StringMapWrapper.forEach(a.directive.outputs,function(a){d.add(a)})}),b.forEach(function(a){!k.isPresent(a.target)&&j.SetWrapper.has(d,a.name)||c._reportError("Event binding "+a.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "directives" section.',a.sourceSpan)})},a}(),O=function(){function a(){}return a.prototype.visitElement=function(a,b){var c=u.preparseElement(a);if(c.type===u.PreparsedElementType.SCRIPT||c.type===u.PreparsedElementType.STYLE||c.type===u.PreparsedElementType.STYLESHEET)return null;var d=a.attrs.map(function(a){return[a.name,a.value]}),f=e(a.name,d),g=b.findNgContentIndex(f),h=w.htmlVisitAll(this,a.children,S);return new r.ElementAst(a.name,w.htmlVisitAll(this,a.attrs),[],[],[],[],[],!1,h,g,a.sourceSpan)},a.prototype.visitComment=function(a,b){return null},a.prototype.visitAttr=function(a,b){return new r.AttrAst(a.name,a.value,a.sourceSpan)},a.prototype.visitText=function(a,b){var c=b.findNgContentIndex(J);return new r.TextAst(a.value,c,a.sourceSpan)},a.prototype.visitExpansion=function(a,b){return a},a.prototype.visitExpansionCase=function(a,b){return a},a}(),P=function(){function a(a,b,c,d){this.name=a,this.expression=b,this.isLiteral=c,this.sourceSpan=d}return a}(),Q=function(){function a(a,b,c){this.name=a,this.value=b,this.sourceSpan=c}return a}();b.splitClasses=d;var R=function(){function a(a,b,c,d){this.isTemplateElement=a,this._ngContentIndexMatcher=b,this._wildcardNgContentIndex=c,this.providerContext=d}return a.create=function(b,c,d){var e=new s.SelectorMatcher,f=null,g=c.find(function(a){return a.directive.isComponent});if(k.isPresent(g))for(var h=g.directive.template.ngContentSelectors,i=0;i<h.length;i++){var j=h[i];k.StringWrapper.equals(j,"*")?f=i:e.addSelectables(s.CssSelector.parse(h[i]),i)}return new a(b,e,f,d)},a.prototype.findNgContentIndex=function(a){var b=[];return this._ngContentIndexMatcher.match(a,function(a,c){b.push(c)}),j.ListWrapper.sort(b),k.isPresent(this._wildcardNgContentIndex)&&b.push(this._wildcardNgContentIndex),b.length>0?b[0]:null},a}(),S=new R(!0,new s.SelectorMatcher,null,null),T=new O,U=function(a){function b(){a.apply(this,arguments),this.pipes=new Set}return g(b,a),b.prototype.visitPipe=function(a,b){return this.pipes.add(a.name),a.exp.visit(this),this.visitAll(a.args,b),null},b}(m.RecursiveAstVisitor);b.PipeCollector=U}(a("45")),c.exports}),a.registerDynamic("2e",["9","1a","51"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("1a"),f=a("51"),g=function(){function a(a){var b=void 0===a?{}:a,c=b.renderTypes,e=void 0===c?new i:c,f=b.defaultEncapsulation,g=void 0===f?d.ViewEncapsulation.Emulated:f,h=b.genDebugInfo,j=b.logBindingUpdate,k=b.useJit,l=void 0===k?!0:k,m=b.platformDirectives,n=void 0===m?[]:m,o=b.platformPipes,p=void 0===o?[]:o;this.renderTypes=e,this.defaultEncapsulation=g,this._genDebugInfo=h,this._logBindingUpdate=j,this.useJit=l,this.platformDirectives=n,this.platformPipes=p}return Object.defineProperty(a.prototype,"genDebugInfo",{get:function(){return void 0===this._genDebugInfo?d.isDevMode():this._genDebugInfo},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"logBindingUpdate",{get:function(){return void 0===this._logBindingUpdate?d.isDevMode():this._logBindingUpdate},enumerable:!0,configurable:!0}),a}();b.CompilerConfig=g;var h=function(){function a(){}return Object.defineProperty(a.prototype,"renderer",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"renderText",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"renderElement",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"renderComment",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"renderNode",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"renderEvent",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),a}();b.RenderTypes=h;var i=function(){function a(){this.renderer=f.Identifiers.Renderer,this.renderText=null,this.renderElement=null,this.renderComment=null,this.renderNode=null,this.renderEvent=null}return a}();return b.DefaultRenderTypes=i,c.exports}),a.registerDynamic("53",["26","1f","51","1b","54","30","1c","55","56","9"],!0,function(a,b,c){"use strict";function d(a){return q.THIS_EXPR.prop("_expr_"+a)}function e(a){return q.variable("currVal_"+a)}function f(a,b,c,d,e,f,g){var h=u.convertCdExpressionToIr(a,e,d,r.DetectChangesVars.valUnwrapper);if(!o.isBlank(h.expression)){if(a.fields.push(new q.ClassField(c.name,null,[q.StmtModifier.Private])),a.createMethod.addStmt(q.THIS_EXPR.prop(c.name).set(q.importExpr(p.Identifiers.uninitialized)).toStmt()),h.needsValueUnwrapper){var i=r.DetectChangesVars.valUnwrapper.callMethod("reset",[]).toStmt();g.addStmt(i)}g.addStmt(b.set(h.expression).toDeclStmt(null,[q.StmtModifier.Final]));var j=q.importExpr(p.Identifiers.checkBinding).callFn([r.DetectChangesVars.throwOnChange,c,b]);h.needsValueUnwrapper&&(j=r.DetectChangesVars.valUnwrapper.prop("hasWrappedValue").or(j)),g.addStmt(new q.IfStmt(j,f.concat([q.THIS_EXPR.prop(c.name).set(b).toStmt()])))}}function g(a,b,c){var g=c.bindings.length;c.bindings.push(new v.CompileBinding(b,a));var h=e(g),i=d(g);c.detectChangesRenderPropertiesMethod.resetDebugInfo(b.nodeIndex,a),f(c,h,i,a.value,c.componentContext,[q.THIS_EXPR.prop("renderer").callMethod("setText",[b.renderNode,h]).toStmt()],c.detectChangesRenderPropertiesMethod)}function h(a,b,c){var g=c.view,h=c.renderNode;a.forEach(function(a){var j=g.bindings.length;g.bindings.push(new v.CompileBinding(c,a)),g.detectChangesRenderPropertiesMethod.resetDebugInfo(c.nodeIndex,a);var k=d(j),l=e(j),r=i(a,k),t=i(a,l),u=[];switch(a.type){case s.PropertyBindingType.Property:g.genConfig.logBindingUpdate&&u.push(m(h,a.name,t)),u.push(q.THIS_EXPR.prop("renderer").callMethod("setElementProperty",[h,q.literal(a.name),t]).toStmt());break;case s.PropertyBindingType.Attribute:t=t.isBlank().conditional(q.NULL_EXPR,t.callMethod("toString",[])),u.push(q.THIS_EXPR.prop("renderer").callMethod("setElementAttribute",[h,q.literal(a.name),t]).toStmt());break;case s.PropertyBindingType.Class:u.push(q.THIS_EXPR.prop("renderer").callMethod("setElementClass",[h,q.literal(a.name),t]).toStmt());break;case s.PropertyBindingType.Style:var x=t.callMethod("toString",[]);o.isPresent(a.unit)&&(x=x.plus(q.literal(a.unit))),t=t.isBlank().conditional(q.NULL_EXPR,x),u.push(q.THIS_EXPR.prop("renderer").callMethod("setElementStyle",[h,q.literal(a.name),t]).toStmt());break;case s.PropertyBindingType.Animation:var y=a.name,z=g.componentView.animations.get(y);if(!o.isPresent(z))throw new w.BaseException("Internal Error: couldn't find an animation entry for "+a.name);var A=q.literal(n.EMPTY_STATE),B=q.variable("oldRenderVar");u.push(B.set(r).toDeclStmt()),u.push(new q.IfStmt(B.equals(q.importExpr(p.Identifiers.uninitialized)),[B.set(A).toStmt()]));var C=q.variable("newRenderVar");u.push(C.set(t).toDeclStmt()),u.push(new q.IfStmt(C.equals(q.importExpr(p.Identifiers.uninitialized)),[C.set(A).toStmt()])),u.push(z.fnVariable.callFn([q.THIS_EXPR,h,B,C]).toStmt()),g.detachMethod.addStmt(z.fnVariable.callFn([q.THIS_EXPR,h,r,A]).toStmt())}f(g,l,k,a.value,b,u,g.detectChangesRenderPropertiesMethod)})}function i(a,b){var c;switch(a.securityContext){case n.SecurityContext.NONE:return b;case n.SecurityContext.HTML:c="HTML";break;case n.SecurityContext.STYLE:c="STYLE";break;case n.SecurityContext.SCRIPT:c="SCRIPT";break;case n.SecurityContext.URL:c="URL";break;case n.SecurityContext.RESOURCE_URL:c="RESOURCE_URL";break;default:throw new Error("internal error, unexpected SecurityContext "+a.securityContext+".")}var d=r.ViewProperties.viewUtils.prop("sanitizer"),e=[q.importExpr(p.Identifiers.SecurityContext).prop(c),b];return d.callMethod("sanitize",e)}function j(a,b){h(a,b.view.componentContext,b)}function k(a,b,c){h(a.hostProperties,b,c)}function l(a,b,c){if(0!==a.inputs.length){var g=c.view,h=g.detectChangesInInputsMethod;h.resetDebugInfo(c.nodeIndex,c.sourceAst);var i=a.directive.lifecycleHooks,j=-1!==i.indexOf(n.LifecycleHooks.OnChanges),k=a.directive.isComponent&&!n.isDefaultChangeDetectionStrategy(a.directive.changeDetection);j&&h.addStmt(r.DetectChangesVars.changes.set(q.NULL_EXPR).toStmt()),k&&h.addStmt(r.DetectChangesVars.changed.set(q.literal(!1)).toStmt()),a.inputs.forEach(function(a){var i=g.bindings.length;g.bindings.push(new v.CompileBinding(c,a)),h.resetDebugInfo(c.nodeIndex,a);var l=d(i),n=e(i),o=[b.prop(a.directiveName).set(n).toStmt()];j&&(o.push(new q.IfStmt(r.DetectChangesVars.changes.identical(q.NULL_EXPR),[r.DetectChangesVars.changes.set(q.literalMap([],new q.MapType(q.importType(p.Identifiers.SimpleChange)))).toStmt()])),o.push(r.DetectChangesVars.changes.key(q.literal(a.directiveName)).set(q.importExpr(p.Identifiers.SimpleChange).instantiate([l,n])).toStmt())),k&&o.push(r.DetectChangesVars.changed.set(q.literal(!0)).toStmt()),g.genConfig.logBindingUpdate&&o.push(m(c.renderNode,a.directiveName,n)),f(g,n,l,a.value,g.componentContext,o,h)}),k&&h.addStmt(new q.IfStmt(r.DetectChangesVars.changed,[c.appElement.prop("componentView").callMethod("markAsCheckOnce",[]).toStmt()]))}}function m(a,b,c){return q.THIS_EXPR.prop("renderer").callMethod("setBindingDebugInfo",[a,q.literal("ng-reflect-"+t.camelCaseToDashCase(b)),c.isBlank().conditional(q.NULL_EXPR,c.callMethod("toString",[]))]).toStmt()}var n=a("26"),o=a("1f"),p=a("51"),q=a("1b"),r=a("54"),s=a("30"),t=a("1c"),u=a("55"),v=a("56"),w=a("9");return b.bindRenderText=g,b.bindRenderInputs=j,b.bindDirectiveHostProps=k,b.bindDirectiveInputs=l,c.exports}),a.registerDynamic("56",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b){this.node=a,this.sourceAst=b}return a}();return b.CompileBinding=d,c.exports}),a.registerDynamic("55",["1a","1f","51","1b"],!0,function(a,b,c){"use strict";function d(a,b,c,d){var e=new q(a,b,d),f=c.visit(e,p.Expression);return new o(f,e.needsValueUnwrapper)}function e(a,b,c){var d=new q(a,b,null),e=[];return i(c.visit(d,p.Statement),e),e}function f(a,b){if(a!==p.Statement)throw new j.BaseException("Expected a statement, but saw "+b)}function g(a,b){if(a!==p.Expression)throw new j.BaseException("Expected an expression, but saw "+b)}function h(a,b){return a===p.Statement?b.toStmt():b}function i(a,b){k.isArray(a)?a.forEach(function(a){return i(a,b)}):b.push(a)}var j=a("1a"),k=a("1f"),l=a("51"),m=a("1b"),n=m.variable("#implicit"),o=function(){function a(a,b){this.expression=a,this.needsValueUnwrapper=b}return a}();b.ExpressionWithWrappedValueInfo=o,b.convertCdExpressionToIr=d,b.convertCdStatementToIr=e;var p;!function(a){a[a.Statement=0]="Statement",a[a.Expression=1]="Expression";
|
||
}(p||(p={}));var q=function(){function a(a,b,c){this._nameResolver=a,this._implicitReceiver=b,this._valueUnwrapper=c,this.needsValueUnwrapper=!1}return a.prototype.visitBinary=function(a,b){var c;switch(a.operation){case"+":c=m.BinaryOperator.Plus;break;case"-":c=m.BinaryOperator.Minus;break;case"*":c=m.BinaryOperator.Multiply;break;case"/":c=m.BinaryOperator.Divide;break;case"%":c=m.BinaryOperator.Modulo;break;case"&&":c=m.BinaryOperator.And;break;case"||":c=m.BinaryOperator.Or;break;case"==":c=m.BinaryOperator.Equals;break;case"!=":c=m.BinaryOperator.NotEquals;break;case"===":c=m.BinaryOperator.Identical;break;case"!==":c=m.BinaryOperator.NotIdentical;break;case"<":c=m.BinaryOperator.Lower;break;case">":c=m.BinaryOperator.Bigger;break;case"<=":c=m.BinaryOperator.LowerEquals;break;case">=":c=m.BinaryOperator.BiggerEquals;break;default:throw new j.BaseException("Unsupported operation "+a.operation)}return h(b,new m.BinaryOperatorExpr(c,a.left.visit(this,p.Expression),a.right.visit(this,p.Expression)))},a.prototype.visitChain=function(a,b){return f(b,a),this.visitAll(a.expressions,b)},a.prototype.visitConditional=function(a,b){var c=a.condition.visit(this,p.Expression);return h(b,c.conditional(a.trueExp.visit(this,p.Expression),a.falseExp.visit(this,p.Expression)))},a.prototype.visitPipe=function(a,b){var c=a.exp.visit(this,p.Expression),d=this.visitAll(a.args,p.Expression),e=this._nameResolver.callPipe(a.name,c,d);return this.needsValueUnwrapper=!0,h(b,this._valueUnwrapper.callMethod("unwrap",[e]))},a.prototype.visitFunctionCall=function(a,b){return h(b,a.target.visit(this,p.Expression).callFn(this.visitAll(a.args,p.Expression)))},a.prototype.visitImplicitReceiver=function(a,b){return g(b,a),n},a.prototype.visitInterpolation=function(a,b){g(b,a);for(var c=[m.literal(a.expressions.length)],d=0;d<a.strings.length-1;d++)c.push(m.literal(a.strings[d])),c.push(a.expressions[d].visit(this,p.Expression));return c.push(m.literal(a.strings[a.strings.length-1])),m.importExpr(l.Identifiers.interpolate).callFn(c)},a.prototype.visitKeyedRead=function(a,b){return h(b,a.obj.visit(this,p.Expression).key(a.key.visit(this,p.Expression)))},a.prototype.visitKeyedWrite=function(a,b){var c=a.obj.visit(this,p.Expression),d=a.key.visit(this,p.Expression),e=a.value.visit(this,p.Expression);return h(b,c.key(d).set(e))},a.prototype.visitLiteralArray=function(a,b){return h(b,this._nameResolver.createLiteralArray(this.visitAll(a.expressions,b)))},a.prototype.visitLiteralMap=function(a,b){for(var c=[],d=0;d<a.keys.length;d++)c.push([a.keys[d],a.values[d].visit(this,p.Expression)]);return h(b,this._nameResolver.createLiteralMap(c))},a.prototype.visitLiteralPrimitive=function(a,b){return h(b,m.literal(a.value))},a.prototype.visitMethodCall=function(a,b){var c=this.visitAll(a.args,p.Expression),d=null,e=a.receiver.visit(this,p.Expression);if(e===n){var f=this._nameResolver.getLocal(a.name);k.isPresent(f)?d=f.callFn(c):e=this._implicitReceiver}return k.isBlank(d)&&(d=e.callMethod(a.name,c)),h(b,d)},a.prototype.visitPrefixNot=function(a,b){return h(b,m.not(a.expression.visit(this,p.Expression)))},a.prototype.visitPropertyRead=function(a,b){var c=null,d=a.receiver.visit(this,p.Expression);return d===n&&(c=this._nameResolver.getLocal(a.name),k.isBlank(c)&&(d=this._implicitReceiver)),k.isBlank(c)&&(c=d.prop(a.name)),h(b,c)},a.prototype.visitPropertyWrite=function(a,b){var c=a.receiver.visit(this,p.Expression);if(c===n){var d=this._nameResolver.getLocal(a.name);if(k.isPresent(d))throw new j.BaseException("Cannot assign to a reference or variable!");c=this._implicitReceiver}return h(b,c.prop(a.name).set(a.value.visit(this,p.Expression)))},a.prototype.visitSafePropertyRead=function(a,b){var c=a.receiver.visit(this,p.Expression);return h(b,c.isBlank().conditional(m.NULL_EXPR,c.prop(a.name)))},a.prototype.visitSafeMethodCall=function(a,b){var c=a.receiver.visit(this,p.Expression),d=this.visitAll(a.args,p.Expression);return h(b,c.isBlank().conditional(m.NULL_EXPR,c.callMethod(a.name,d)))},a.prototype.visitAll=function(a,b){var c=this;return a.map(function(a){return a.visit(c,b)})},a.prototype.visitQuote=function(a,b){throw new j.BaseException("Quotes are not supported for evaluation!")},a}();return c.exports}),a.registerDynamic("57",["19","1f","1b","56","58","54","55"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=[];return a.forEach(function(a){c.view.bindings.push(new l.CompileBinding(c,a));var b=p.getOrCreate(c,a.target,a.name,d);b.addAction(a,null,null)}),i.ListWrapper.forEachWithIndex(b,function(a,b){var e=c.directiveInstances[b];a.hostEvents.forEach(function(b){c.view.bindings.push(new l.CompileBinding(c,b));var f=p.getOrCreate(c,b.target,b.name,d);f.addAction(b,a.directive,e)})}),d.forEach(function(a){return a.finishMethod()}),d}function e(a,b,c){i.StringMapWrapper.forEach(a.directive.outputs,function(a,d){c.filter(function(b){return b.eventName==a}).forEach(function(a){a.listenToDirective(b,d)})})}function f(a){a.forEach(function(a){return a.listenToRenderer()})}function g(a){return a instanceof k.ExpressionStatement?a.expr:a instanceof k.ReturnStatement?a.value:null}function h(a){return j.StringWrapper.replaceAll(a,/[^a-zA-Z_]/g,"_")}var i=a("19"),j=a("1f"),k=a("1b"),l=a("56"),m=a("58"),n=a("54"),o=a("55"),p=function(){function a(a,b,c,d){this.compileElement=a,this.eventTarget=b,this.eventName=c,this._hasComponentHostListener=!1,this._actionResultExprs=[],this._method=new m.CompileMethod(a.view),this._methodName="_handle_"+h(c)+"_"+a.nodeIndex+"_"+d,this._eventParam=new k.FnParam(n.EventHandlerVars.event.name,k.importType(this.compileElement.view.genConfig.renderTypes.renderEvent))}return a.getOrCreate=function(b,c,d,e){var f=e.find(function(a){return a.eventTarget==c&&a.eventName==d});return j.isBlank(f)&&(f=new a(b,c,d,e.length),e.push(f)),f},a.prototype.addAction=function(a,b,c){j.isPresent(b)&&b.isComponent&&(this._hasComponentHostListener=!0),this._method.resetDebugInfo(this.compileElement.nodeIndex,a);var d=j.isPresent(c)?c:this.compileElement.view.componentContext,e=o.convertCdStatementToIr(this.compileElement.view,d,a.handler),f=e.length-1;if(f>=0){var h=e[f],i=g(h),l=k.variable("pd_"+this._actionResultExprs.length);this._actionResultExprs.push(l),j.isPresent(i)&&(e[f]=l.set(i.cast(k.DYNAMIC_TYPE).notIdentical(k.literal(!1))).toDeclStmt(null,[k.StmtModifier.Final]))}this._method.addStmts(e)},a.prototype.finishMethod=function(){var a=this._hasComponentHostListener?this.compileElement.appElement.prop("componentView"):k.THIS_EXPR,b=k.literal(!0);this._actionResultExprs.forEach(function(a){b=b.and(a)});var c=[a.callMethod("markPathToRootAsCheckOnce",[]).toStmt()].concat(this._method.finish()).concat([new k.ReturnStatement(b)]);this.compileElement.view.eventHandlerMethods.push(new k.ClassMethod(this._methodName,[this._eventParam],c,k.BOOL_TYPE,[k.StmtModifier.Private]))},a.prototype.listenToRenderer=function(){var a,b=k.THIS_EXPR.callMethod("eventHandler",[k.THIS_EXPR.prop(this._methodName).callMethod(k.BuiltinMethod.bind,[k.THIS_EXPR])]);a=j.isPresent(this.eventTarget)?n.ViewProperties.renderer.callMethod("listenGlobal",[k.literal(this.eventTarget),k.literal(this.eventName),b]):n.ViewProperties.renderer.callMethod("listen",[this.compileElement.renderNode,k.literal(this.eventName),b]);var c=k.variable("disposable_"+this.compileElement.view.disposables.length);this.compileElement.view.disposables.push(c),this.compileElement.view.createMethod.addStmt(c.set(a).toDeclStmt(k.FUNCTION_TYPE,[k.StmtModifier.Private]))},a.prototype.listenToDirective=function(a,b){var c=k.variable("subscription_"+this.compileElement.view.subscriptions.length);this.compileElement.view.subscriptions.push(c);var d=k.THIS_EXPR.callMethod("eventHandler",[k.THIS_EXPR.prop(this._methodName).callMethod(k.BuiltinMethod.bind,[k.THIS_EXPR])]);this.compileElement.view.createMethod.addStmt(c.set(a.prop(b).callMethod(k.BuiltinMethod.SubscribeObservable,[d])).toDeclStmt(null,[k.StmtModifier.Final]))},a}();return b.CompileEventListener=p,b.collectEventListeners=d,b.bindDirectiveOutputs=e,b.bindRenderOutputs=f,c.exports}),a.registerDynamic("59",["26","1b","54"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=c.view,e=d.detectChangesInInputsMethod,f=a.directive.lifecycleHooks;-1!==f.indexOf(i.LifecycleHooks.OnChanges)&&a.inputs.length>0&&e.addStmt(new j.IfStmt(k.DetectChangesVars.changes.notIdentical(j.NULL_EXPR),[b.callMethod("ngOnChanges",[k.DetectChangesVars.changes]).toStmt()])),-1!==f.indexOf(i.LifecycleHooks.OnInit)&&e.addStmt(new j.IfStmt(l.and(m),[b.callMethod("ngOnInit",[]).toStmt()])),-1!==f.indexOf(i.LifecycleHooks.DoCheck)&&e.addStmt(new j.IfStmt(m,[b.callMethod("ngDoCheck",[]).toStmt()]))}function e(a,b,c){var d=c.view,e=a.lifecycleHooks,f=d.afterContentLifecycleCallbacksMethod;f.resetDebugInfo(c.nodeIndex,c.sourceAst),-1!==e.indexOf(i.LifecycleHooks.AfterContentInit)&&f.addStmt(new j.IfStmt(l,[b.callMethod("ngAfterContentInit",[]).toStmt()])),-1!==e.indexOf(i.LifecycleHooks.AfterContentChecked)&&f.addStmt(b.callMethod("ngAfterContentChecked",[]).toStmt())}function f(a,b,c){var d=c.view,e=a.lifecycleHooks,f=d.afterViewLifecycleCallbacksMethod;f.resetDebugInfo(c.nodeIndex,c.sourceAst),-1!==e.indexOf(i.LifecycleHooks.AfterViewInit)&&f.addStmt(new j.IfStmt(l,[b.callMethod("ngAfterViewInit",[]).toStmt()])),-1!==e.indexOf(i.LifecycleHooks.AfterViewChecked)&&f.addStmt(b.callMethod("ngAfterViewChecked",[]).toStmt())}function g(a,b,c){var d=c.view.destroyMethod;d.resetDebugInfo(c.nodeIndex,c.sourceAst),-1!==a.lifecycleHooks.indexOf(i.LifecycleHooks.OnDestroy)&&d.addStmt(b.callMethod("ngOnDestroy",[]).toStmt())}function h(a,b,c){var d=c.destroyMethod;-1!==a.lifecycleHooks.indexOf(i.LifecycleHooks.OnDestroy)&&d.addStmt(b.callMethod("ngOnDestroy",[]).toStmt())}var i=a("26"),j=a("1b"),k=a("54"),l=j.THIS_EXPR.prop("numberOfChecks").identical(new j.LiteralExpr(0)),m=j.not(k.DetectChangesVars.throwOnChange);return b.bindDirectiveDetectChangesLifecycleCallbacks=d,b.bindDirectiveAfterContentLifecycleCallbacks=e,b.bindDirectiveAfterViewLifecycleCallbacks=f,b.bindDirectiveDestroyLifecycleCallbacks=g,b.bindPipeDestroyLifecycleCallbacks=h,c.exports}),a.registerDynamic("5a",["19","30","53","57","59"],!0,function(a,b,c){"use strict";function d(a,b){var c=new j(a);f.templateVisitAll(c,b),a.pipes.forEach(function(a){i.bindPipeDestroyLifecycleCallbacks(a.meta,a.instance,a.view)})}var e=a("19"),f=a("30"),g=a("53"),h=a("57"),i=a("59");b.bindView=d;var j=function(){function a(a){this.view=a,this._nodeIndex=0}return a.prototype.visitBoundText=function(a,b){var c=this.view.nodes[this._nodeIndex++];return g.bindRenderText(a,c,this.view),null},a.prototype.visitText=function(a,b){return this._nodeIndex++,null},a.prototype.visitNgContent=function(a,b){return null},a.prototype.visitElement=function(a,b){var c=this.view.nodes[this._nodeIndex++],d=h.collectEventListeners(a.outputs,a.directives,c);return g.bindRenderInputs(a.inputs,c),h.bindRenderOutputs(d),e.ListWrapper.forEachWithIndex(a.directives,function(a,b){var e=c.directiveInstances[b];g.bindDirectiveInputs(a,e,c),i.bindDirectiveDetectChangesLifecycleCallbacks(a,e,c),g.bindDirectiveHostProps(a,e,c),h.bindDirectiveOutputs(a,e,d)}),f.templateVisitAll(this,a.children,c),e.ListWrapper.forEachWithIndex(a.directives,function(a,b){var d=c.directiveInstances[b];i.bindDirectiveAfterContentLifecycleCallbacks(a.directive,d,c),i.bindDirectiveAfterViewLifecycleCallbacks(a.directive,d,c),i.bindDirectiveDestroyLifecycleCallbacks(a.directive,d,c)}),null},a.prototype.visitEmbeddedTemplate=function(a,b){var c=this.view.nodes[this._nodeIndex++],f=h.collectEventListeners(a.outputs,a.directives,c);return e.ListWrapper.forEachWithIndex(a.directives,function(a,b){var d=c.directiveInstances[b];g.bindDirectiveInputs(a,d,c),i.bindDirectiveDetectChangesLifecycleCallbacks(a,d,c),h.bindDirectiveOutputs(a,d,f),i.bindDirectiveAfterContentLifecycleCallbacks(a.directive,d,c),i.bindDirectiveAfterViewLifecycleCallbacks(a.directive,d,c),i.bindDirectiveDestroyLifecycleCallbacks(a.directive,d,c)}),d(c.embeddedView,a.children),null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitDirective=function(a,b){return null},a.prototype.visitEvent=function(a,b){return null},a.prototype.visitReference=function(a,b){return null},a.prototype.visitVariable=function(a,b){return null},a.prototype.visitDirectiveProperty=function(a,b){return null},a.prototype.visitElementProperty=function(a,b){return null},a}();return c.exports}),a.registerDynamic("5b",["1f"],!0,function(a,b,c){"use strict";var d=a("1f");return b.Math=d.global.Math,b.NaN=typeof b.NaN,c.exports}),a.registerDynamic("43",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b,c,d){this.file=a,this.offset=b,this.line=c,this.col=d}return a.prototype.toString=function(){return this.file.url+"@"+this.line+":"+this.col},a}();b.ParseLocation=d;var e=function(){function a(a,b){this.content=a,this.url=b}return a}();b.ParseSourceFile=e;var f=function(){function a(a,b){this.start=a,this.end=b}return a.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},a}();b.ParseSourceSpan=f,function(a){a[a.WARNING=0]="WARNING",a[a.FATAL=1]="FATAL"}(b.ParseErrorLevel||(b.ParseErrorLevel={}));var g=b.ParseErrorLevel,h=function(){function a(a,b,c){void 0===c&&(c=g.FATAL),this.span=a,this.msg=b,this.level=c}return a.prototype.toString=function(){var a=this.span.start.file.content,b=this.span.start.offset;b>a.length-1&&(b=a.length-1);for(var c=b,d=0,e=0;100>d&&b>0&&(b--,d++,"\n"!=a[b]||3!=++e););for(d=0,e=0;100>d&&c<a.length-1&&(c++,d++,"\n"!=a[c]||3!=++e););var f=a.substring(b,this.span.start.offset)+"[ERROR ->]"+a.substring(this.span.start.offset,c+1);return this.msg+' ("'+f+'"): '+this.span.start},a}();return b.ParseError=h,c.exports}),a.registerDynamic("5c",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(){function a(){this.startTime=0,this.playTime=0}return a}();b.AnimationAst=e;var f=function(a){function b(){a.apply(this,arguments)}return d(b,a),b}(e);b.AnimationStateAst=f;var g=function(a){function b(b,c,d){a.call(this),this.name=b,this.stateDeclarations=c,this.stateTransitions=d}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationEntry(this,b)},b}(e);b.AnimationEntryAst=g;var h=function(a){function b(b,c){a.call(this),this.stateName=b,this.styles=c}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationStateDeclaration(this,b)},b}(f);b.AnimationStateDeclarationAst=h;var i=function(){function a(a,b){this.fromState=a,this.toState=b}return a}();b.AnimationStateTransitionExpression=i;var j=function(a){function b(b,c){a.call(this),this.stateChanges=b,this.animation=c}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationStateTransition(this,b)},b}(f);b.AnimationStateTransitionAst=j;var k=function(a){function b(b,c,d,e,f){a.call(this),this.startingStyles=b,this.keyframes=c,this.duration=d,this.delay=e,this.easing=f}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationStep(this,b)},b}(e);b.AnimationStepAst=k;var l=function(a){function b(b){a.call(this),this.styles=b}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationStyles(this,b)},b}(e);b.AnimationStylesAst=l;var m=function(a){function b(b,c){a.call(this),this.offset=b,this.styles=c}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationKeyframe(this,b)},b}(e);b.AnimationKeyframeAst=m;var n=function(a){function b(b){a.call(this),this.steps=b}return d(b,a),b}(e);b.AnimationWithStepsAst=n;var o=function(a){function b(b){a.call(this,b)}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationGroup(this,b)},b}(n);b.AnimationGroupAst=o;var p=function(a){function b(b){a.call(this,b)}return d(b,a),b.prototype.visit=function(a,b){return a.visitAnimationSequence(this,b)},b}(n);return b.AnimationSequenceAst=p,c.exports}),a.registerDynamic("5d",["19","1f"],!0,function(a,b,c){"use strict";var d=a("19"),e=a("1f"),f=function(){function a(a,b){this.time=a,this.value=b}return a.prototype.matches=function(a,b){return a==this.time&&b==this.value},a}();b.StylesCollectionEntry=f;var g=function(){function a(){this.styles={}}return a.prototype.insertAtTime=function(a,b,c){var g=new f(b,c),h=this.styles[a];e.isPresent(h)||(h=this.styles[a]=[]);for(var i=0,j=h.length-1;j>=0;j--)if(h[j].time<=b){i=j+1;break}d.ListWrapper.insert(h,i,g)},a.prototype.getByIndex=function(a,b){var c=this.styles[a];return e.isPresent(c)?b>=c.length?null:c[b]:null},a.prototype.indexOfAtOrBeforeTime=function(a,b){var c=this.styles[a];if(e.isPresent(c))for(var d=c.length-1;d>=0;d--)if(c[d].time<=b)return d;return null},a}();return b.StylesCollection=g,c.exports}),a.registerDynamic("5e",["26","18","19","1f","5b","43","5c","5d","45"],!0,function(a,b,c){return function(c){"use strict";function d(a){var b=[],c={},d=[],g=[];a.definitions.forEach(function(a){a instanceof u.CompileAnimationStateDeclarationMetadata?e(a,b).forEach(function(a){g.push(a),c[a.stateName]=a.styles}):d.push(a)});var h=d.map(function(a){return f(a,c,b)}),i=new z.AnimationEntryAst(a.name,g,h);return new F(i,b)}function e(a,b){var c=[];a.styles.styles.forEach(function(a){w.isStringMap(a)?c.push(a):b.push(new E("State based animations cannot contain references to other states"))});var d=new z.AnimationStylesAst(c),e=a.stateNameExpr.split(/\s*,\s*/);return e.map(function(a){return new z.AnimationStateDeclarationAst(a,d)})}function f(a,b,c){var d=new A.StylesCollection,e=[],f=a.stateChangeExpr.split(/\s*,\s*/);f.forEach(function(a){g(a,c).forEach(function(a){e.push(a)})});var i=h(a.steps),k=j(i,b,c),l=o(k,0,d,b,c);0==c.length&&p(l,d,c);var m=l instanceof z.AnimationSequenceAst?l:new z.AnimationSequenceAst([l]);return new z.AnimationStateTransitionAst(e,m)}function g(a,b){var c=[],d=a.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(!w.isPresent(d)||d.length<4)return b.push(new E("the provided "+a+" is not of a supported format")),c;var e=d[1],f=d[2],g=d[3];c.push(new z.AnimationStateTransitionExpression(e,g));var h=e==t.ANY_STATE&&g==t.ANY_STATE;return"<"!=f[0]||h||c.push(new z.AnimationStateTransitionExpression(g,e)),c}function h(a){return w.isArray(a)?new u.CompileAnimationSequenceMetadata(a):a}function i(a,b,c){var d=[];return a.styles.forEach(function(a){w.isString(a)?v.ListWrapper.addAll(d,m(a,b,c)):d.push(a)}),d}function j(a,b,c){var d=l(a,b,c);return new u.CompileAnimationSequenceMetadata(d)}function k(a,b){if(w.isStringMap(b)&&a.length>0){var c=a.length-1,d=a[c];if(w.isStringMap(d))return void(a[c]=v.StringMapWrapper.merge(d,b))}a.push(b)}function l(a,b,c){var d;if(!(a instanceof u.CompileAnimationWithStepsMetadata))return[a];d=a.steps;var e,f=[];return d.forEach(function(a){if(a instanceof u.CompileAnimationStyleMetadata)w.isPresent(e)||(e=[]),i(a,b,c).forEach(function(a){k(e,a)});else{if(w.isPresent(e)&&(f.push(new u.CompileAnimationStyleMetadata(0,e)),e=null),a instanceof u.CompileAnimationAnimateMetadata){var d=a.styles;d instanceof u.CompileAnimationStyleMetadata?d.styles=i(d,b,c):d instanceof u.CompileAnimationKeyframesSequenceMetadata&&d.steps.forEach(function(a){a.styles=i(a,b,c)})}else if(a instanceof u.CompileAnimationWithStepsMetadata){var g=l(a,b,c);a=a instanceof u.CompileAnimationGroupMetadata?new u.CompileAnimationGroupMetadata(g):new u.CompileAnimationSequenceMetadata(g)}f.push(a)}}),w.isPresent(e)&&f.push(new u.CompileAnimationStyleMetadata(0,e)),f}function m(a,b,c){var d=[];if(":"!=a[0])c.push(new E('Animation states via styles must be prefixed with a ":"'));else{var e=a.substring(1),f=b[e];w.isPresent(f)?f.styles.forEach(function(a){w.isStringMap(a)&&d.push(a)}):c.push(new E('Unable to apply styles due to missing a state: "'+e+'"'))}return d}function n(a,b,c,d,e){var f=a.steps.length,g=0;a.steps.forEach(function(a){return g+=w.isPresent(a.offset)?1:0}),g>0&&f>g&&(e.push(new E("Not all style() entries contain an offset for the provided keyframe()")),g=f);var h=f-1,i=0==g?1/h:0,j=[],k=0,l=!1,m=0;a.steps.forEach(function(a){var b=a.offset,c={};a.styles.forEach(function(a){v.StringMapWrapper.forEach(a,function(a,b){"offset"!=b&&(c[b]=a)})}),w.isPresent(b)?l=l||m>b:b=k==h?C:i*k,j.push([b,c]),m=b,k++}),l&&v.ListWrapper.sort(j,function(a,b){return a[0]<=b[0]?-1:1});var n,o=j[0];o[0]!=B&&v.ListWrapper.insert(j,0,o=[B,{}]);var p=o[1],h=j.length-1,q=j[h];q[0]!=C&&(j.push(q=[C,{}]),h++);var r=q[1];for(n=1;h>=n;n++){var s=j[n],u=s[1];v.StringMapWrapper.forEach(u,function(a,b){w.isPresent(p[b])||(p[b]=t.FILL_STYLE_FLAG)})}for(n=h-1;n>=0;n--){var s=j[n],u=s[1];v.StringMapWrapper.forEach(u,function(a,b){w.isPresent(r[b])||(r[b]=a)})}return j.map(function(a){return new z.AnimationKeyframeAst(a[0],new z.AnimationStylesAst([a[1]]))})}function o(a,b,c,d,e){var f,g=0,h=b;if(a instanceof u.CompileAnimationWithStepsMetadata){var i,j=0,k=[],l=a instanceof u.CompileAnimationGroupMetadata;if(a.steps.forEach(function(a){var f=l?h:b;if(a instanceof u.CompileAnimationStyleMetadata)return a.styles.forEach(function(a){var b=a;v.StringMapWrapper.forEach(b,function(a,b){c.insertAtTime(b,f,a)})}),void(i=a.styles);var m=o(a,f,c,d,e);if(w.isPresent(i)){if(a instanceof u.CompileAnimationWithStepsMetadata){var n=new z.AnimationStylesAst(i);k.push(new z.AnimationStepAst(n,[],0,0,""))}else{var p=m;v.ListWrapper.addAll(p.startingStyles.styles,i)}i=null}var q=m.playTime;b+=q,g+=q,j=x.Math.max(q,j),k.push(m)}),w.isPresent(i)){var m=new z.AnimationStylesAst(i);k.push(new z.AnimationStepAst(m,[],0,0,""))}l?(f=new z.AnimationGroupAst(k),g=j,b=h+g):f=new z.AnimationSequenceAst(k)}else if(a instanceof u.CompileAnimationAnimateMetadata){var p,r=q(a.timings,e),s=a.styles;if(s instanceof u.CompileAnimationKeyframesSequenceMetadata)p=n(s,b,c,d,e);else{var t=s,y=C,A=new z.AnimationStylesAst(t.styles),B=new z.AnimationKeyframeAst(y,A);p=[B]}f=new z.AnimationStepAst(new z.AnimationStylesAst([]),p,r.duration,r.delay,r.easing),g=r.duration+r.delay,b+=g,p.forEach(function(a){return a.styles.styles.forEach(function(a){return v.StringMapWrapper.forEach(a,function(a,d){return c.insertAtTime(d,b,a)})})})}else f=new z.AnimationStepAst(null,[],0,0,"");return f.playTime=g,f.startTime=h,f}function p(a,b,c){if(a instanceof z.AnimationStepAst&&a.keyframes.length>0){var d=a.keyframes;if(1==d.length){var e=d[0],f=r(e,a.startTime,a.playTime,b,c);a.keyframes=[f,e]}}else a instanceof z.AnimationWithStepsAst&&a.steps.forEach(function(a){return p(a,b,c)})}function q(a,b){var c,d=/^([\.\d]+)(m?s)(?:\s+([\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?/gi,e=0,f=null;if(w.isString(a)){var g=w.RegExpWrapper.firstMatch(d,a);if(!w.isPresent(g))return b.push(new E('The provided timing value "'+a+'" is invalid.')),new G(0,0,null);var h=w.NumberWrapper.parseFloat(g[1]),i=g[2];"s"==i&&(h*=D),c=x.Math.floor(h);var j=g[3],k=g[4];if(w.isPresent(j)){var l=w.NumberWrapper.parseFloat(j);w.isPresent(k)&&"s"==k&&(l*=D),e=x.Math.floor(l)}var m=g[5];w.isBlank(m)||(f=m)}else c=a;return new G(c,e,f)}function r(a,b,c,d,e){var f={},g=b+c;return a.styles.styles.forEach(function(a){v.StringMapWrapper.forEach(a,function(a,c){if("offset"!=c){var h,i,j,k=d.indexOfAtOrBeforeTime(c,b);w.isPresent(k)?(h=d.getByIndex(c,k),j=h.value,i=d.getByIndex(c,k+1)):j=t.FILL_STYLE_FLAG,w.isPresent(i)&&!i.matches(g,a)&&e.push(new E('The animated CSS property "'+c+'" unexpectedly changes between steps "'+h.time+'ms" and "'+g+'ms" at "'+i.time+'ms"')),f[c]=j}})}),new z.AnimationKeyframeAst(B,new z.AnimationStylesAst([f]))}var s=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},t=a("26"),u=a("18"),v=a("19"),w=a("1f"),x=a("5b"),y=a("43"),z=a("5c"),A=a("5d"),B=0,C=1,D=1e3,E=function(a){function b(b){a.call(this,null,b)}return s(b,a),b.prototype.toString=function(){return""+this.msg},b}(y.ParseError);b.AnimationParseError=E;var F=function(){function a(a,b){this.ast=a,this.errors=b}return a}();b.ParsedAnimationResult=F,b.parseAnimationEntry=d;var G=function(){function a(a,b,c){this.duration=a,this.delay=b,this.easing=c}return a}()}(a("45")),c.exports}),a.registerDynamic("5f",["26","19","1a","1f","51","1b","5c","5e"],!0,function(a,b,c){"use strict";function d(a,b){var c=l.literal(g.EMPTY_STATE);switch(b){case g.EMPTY_STATE:return a.equals(c);case g.ANY_STATE:return l.literal(!0);default:return a.equals(l.literal(b))}}function e(a){if(a instanceof m.AnimationStepAst&&a.duration>0&&2==a.keyframes.length){var b=f(a.keyframes[0])[0],c=f(a.keyframes[1])[0];return h.StringMapWrapper.isEmpty(b)&&h.StringMapWrapper.isEmpty(c)}return!1}function f(a){return a.styles.styles}var g=a("26"),h=a("19"),i=a("1a"),j=a("1f"),k=a("51"),l=a("1b"),m=a("5c"),n=a("5e"),o=function(){function a(a,b,c,d,e){this.name=a,this.statesMapStatement=b,this.statesVariableName=c,this.fnStatement=d,this.fnVariable=e}return a}();b.CompiledAnimation=o;var p=function(){function a(){}return a.prototype.compileComponent=function(a){var b=[],c=0;return a.template.animations.forEach(function(d){var e=n.parseAnimationEntry(d);if(e.errors.length>0){var f="";throw e.errors.forEach(function(a){f+="\n- "+a.msg}),new i.BaseException('Unable to parse the animation sequence for "'+d.name+'" due to the following errors: '+f)}var g=a.type.name+"_"+d.name+"_"+c;c++;var h=new B(d.name,g);b.push(h.build(e.ast))}),b},a}();b.AnimationCompiler=p;var q=l.variable("element"),r=l.variable("defaultStateStyles"),s=l.variable("view"),t=s.prop("renderer"),u=l.variable("currentState"),v=l.variable("nextState"),w=l.variable("player"),x=l.variable("startStateStyles"),y=l.variable("endStateStyles"),z=l.variable("collectedStyles"),A=l.literalMap([]),B=function(){function a(a,b){this.animationName=a,this._fnVarName=b+"_factory",this._statesMapVarName=b+"_states",this._statesMapVar=l.variable(this._statesMapVarName)}return a.prototype.visitAnimationStyles=function(a,b){var c=[];return b.isExpectingFirstStyleStep&&(c.push(x),b.isExpectingFirstStyleStep=!1),a.styles.forEach(function(a){c.push(l.literalMap(h.StringMapWrapper.keys(a).map(function(b){return[b,l.literal(a[b])]})))}),l.importExpr(k.Identifiers.AnimationStyles).instantiate([l.importExpr(k.Identifiers.collectAndResolveStyles).callFn([z,l.literalArr(c)])])},a.prototype.visitAnimationKeyframe=function(a,b){return l.importExpr(k.Identifiers.AnimationKeyframe).instantiate([l.literal(a.offset),a.styles.visit(this,b)])},a.prototype.visitAnimationStep=function(a,b){var c=this;if(b.endStateAnimateStep===a)return this._visitEndStateAnimation(a,b);var d=a.startingStyles.visit(this,b),e=a.keyframes.map(function(a){return a.visit(c,b)});return this._callAnimateMethod(a,d,l.literalArr(e))},a.prototype._visitEndStateAnimation=function(a,b){var c=this,d=a.startingStyles.visit(this,b),e=a.keyframes.map(function(a){return a.visit(c,b)}),f=l.importExpr(k.Identifiers.balanceAnimationKeyframes).callFn([z,y,l.literalArr(e)]);return this._callAnimateMethod(a,d,f)},a.prototype._callAnimateMethod=function(a,b,c){return t.callMethod("animate",[q,b,c,l.literal(a.duration),l.literal(a.delay),l.literal(a.easing)])},a.prototype.visitAnimationSequence=function(a,b){var c=this,d=a.steps.map(function(a){return a.visit(c,b)});return l.importExpr(k.Identifiers.AnimationSequencePlayer).instantiate([l.literalArr(d)])},a.prototype.visitAnimationGroup=function(a,b){var c=this,d=a.steps.map(function(a){return a.visit(c,b)});return l.importExpr(k.Identifiers.AnimationGroupPlayer).instantiate([l.literalArr(d)])},a.prototype.visitAnimationStateDeclaration=function(a,b){var c={};f(a).forEach(function(a){h.StringMapWrapper.forEach(a,function(a,b){c[b]=a})}),b.stateMap.registerState(a.stateName,c)},a.prototype.visitAnimationStateTransition=function(a,b){var c=a.animation.steps,f=c[c.length-1];e(f)&&(b.endStateAnimateStep=f),b.isExpectingFirstStyleStep=!0;var h=[];a.stateChanges.forEach(function(a){h.push(d(u,a.fromState).and(d(v,a.toState))),a.fromState!=g.ANY_STATE&&b.stateMap.registerState(a.fromState),a.toState!=g.ANY_STATE&&b.stateMap.registerState(a.toState)});var i=a.animation.visit(this,b),j=h.reduce(function(a,b){return a.or(b)}),k=w.equals(l.NULL_EXPR).and(j);return new l.IfStmt(k,[w.set(i).toStmt()])},a.prototype.visitAnimationEntry=function(a,b){var c=this;a.stateDeclarations.forEach(function(a){return a.visit(c,b)}),b.stateMap.registerState(g.DEFAULT_STATE,{});var d=[];d.push(s.callMethod("cancelActiveAnimation",[q,l.literal(this.animationName),v.equals(l.literal(g.EMPTY_STATE))]).toStmt()),d.push(z.set(A).toDeclStmt()),d.push(w.set(l.NULL_EXPR).toDeclStmt()),d.push(r.set(this._statesMapVar.key(l.literal(g.DEFAULT_STATE))).toDeclStmt()),d.push(x.set(this._statesMapVar.key(u)).toDeclStmt()),d.push(new l.IfStmt(x.equals(l.NULL_EXPR),[x.set(r).toStmt()])),d.push(y.set(this._statesMapVar.key(v)).toDeclStmt()),d.push(new l.IfStmt(y.equals(l.NULL_EXPR),[y.set(r).toStmt()]));var e=l.importExpr(k.Identifiers.renderStyles);return d.push(e.callFn([q,t,l.importExpr(k.Identifiers.clearStyles).callFn([x])]).toStmt()),a.stateTransitions.forEach(function(a){return d.push(a.visit(c,b))}),d.push(new l.IfStmt(w.equals(l.NULL_EXPR),[w.set(l.importExpr(k.Identifiers.NoOpAnimationPlayer).instantiate([])).toStmt()])),d.push(w.callMethod("onDone",[l.fn([],[e.callFn([q,t,l.importExpr(k.Identifiers.prepareFinalAnimationStyles).callFn([x,y])]).toStmt()])]).toStmt()),d.push(s.callMethod("registerAndStartAnimation",[q,l.literal(this.animationName),w]).toStmt()),l.fn([new l.FnParam(s.name,l.importType(k.Identifiers.AppView,[l.DYNAMIC_TYPE])),new l.FnParam(q.name,l.DYNAMIC_TYPE),new l.FnParam(u.name,l.DYNAMIC_TYPE),new l.FnParam(v.name,l.DYNAMIC_TYPE)],d)},a.prototype.build=function(a){var b=new C,c=a.visit(this,b).toDeclStmt(this._fnVarName),d=l.variable(this._fnVarName),e=[];h.StringMapWrapper.forEach(b.stateMap.states,function(a,b){var c=A;if(j.isPresent(a)){var d=[];h.StringMapWrapper.forEach(a,function(a,b){d.push([b,l.literal(a)])}),c=l.literalMap(d)}e.push([b,c])});var f=this._statesMapVar.set(l.literalMap(e)).toDeclStmt();return new o(this.animationName,f,this._statesMapVarName,c,d)},a}(),C=function(){function a(){this.stateMap=new D,this.endStateAnimateStep=null,this.isExpectingFirstStyleStep=!1}return a}(),D=function(){function a(){this._states={}}return Object.defineProperty(a.prototype,"states",{get:function(){return this._states},enumerable:!0,configurable:!0}),a.prototype.registerState=function(a,b){void 0===b&&(b=null);var c=this._states[a];j.isBlank(c)&&(this._states[a]=b)},a}();return c.exports}),a.registerDynamic("30",["1f"],!0,function(a,b,c){"use strict";function d(a,b,c){void 0===c&&(c=null);var d=[];return b.forEach(function(b){var f=b.visit(a,c);e.isPresent(f)&&d.push(f)}),d}var e=a("1f"),f=function(){function a(a,b,c){this.value=a,this.ngContentIndex=b,this.sourceSpan=c}return a.prototype.visit=function(a,b){return a.visitText(this,b)},a}();b.TextAst=f;var g=function(){function a(a,b,c){this.value=a,this.ngContentIndex=b,this.sourceSpan=c}return a.prototype.visit=function(a,b){return a.visitBoundText(this,b)},a}();b.BoundTextAst=g;var h=function(){function a(a,b,c){this.name=a,this.value=b,this.sourceSpan=c}return a.prototype.visit=function(a,b){return a.visitAttr(this,b)},a}();b.AttrAst=h;var i=function(){function a(a,b,c,d,e,f){this.name=a,this.type=b,this.securityContext=c,this.value=d,this.unit=e,this.sourceSpan=f}return a.prototype.visit=function(a,b){return a.visitElementProperty(this,b)},a}();b.BoundElementPropertyAst=i;var j=function(){function a(a,b,c,d){this.name=a,this.target=b,this.handler=c,this.sourceSpan=d}return a.prototype.visit=function(a,b){return a.visitEvent(this,b)},Object.defineProperty(a.prototype,"fullName",{get:function(){return e.isPresent(this.target)?this.target+":"+this.name:this.name;
|
||
},enumerable:!0,configurable:!0}),a}();b.BoundEventAst=j;var k=function(){function a(a,b,c){this.name=a,this.value=b,this.sourceSpan=c}return a.prototype.visit=function(a,b){return a.visitReference(this,b)},a}();b.ReferenceAst=k;var l=function(){function a(a,b,c){this.name=a,this.value=b,this.sourceSpan=c}return a.prototype.visit=function(a,b){return a.visitVariable(this,b)},a}();b.VariableAst=l;var m=function(){function a(a,b,c,d,e,f,g,h,i,j,k){this.name=a,this.attrs=b,this.inputs=c,this.outputs=d,this.references=e,this.directives=f,this.providers=g,this.hasViewContainer=h,this.children=i,this.ngContentIndex=j,this.sourceSpan=k}return a.prototype.visit=function(a,b){return a.visitElement(this,b)},a}();b.ElementAst=m;var n=function(){function a(a,b,c,d,e,f,g,h,i,j){this.attrs=a,this.outputs=b,this.references=c,this.variables=d,this.directives=e,this.providers=f,this.hasViewContainer=g,this.children=h,this.ngContentIndex=i,this.sourceSpan=j}return a.prototype.visit=function(a,b){return a.visitEmbeddedTemplate(this,b)},a}();b.EmbeddedTemplateAst=n;var o=function(){function a(a,b,c,d){this.directiveName=a,this.templateName=b,this.value=c,this.sourceSpan=d}return a.prototype.visit=function(a,b){return a.visitDirectiveProperty(this,b)},a}();b.BoundDirectivePropertyAst=o;var p=function(){function a(a,b,c,d,e){this.directive=a,this.inputs=b,this.hostProperties=c,this.hostEvents=d,this.sourceSpan=e}return a.prototype.visit=function(a,b){return a.visitDirective(this,b)},a}();b.DirectiveAst=p;var q=function(){function a(a,b,c,d,e,f){this.token=a,this.multiProvider=b,this.eager=c,this.providers=d,this.providerType=e,this.sourceSpan=f}return a.prototype.visit=function(a,b){return null},a}();b.ProviderAst=q,function(a){a[a.PublicService=0]="PublicService",a[a.PrivateService=1]="PrivateService",a[a.Component=2]="Component",a[a.Directive=3]="Directive",a[a.Builtin=4]="Builtin"}(b.ProviderAstType||(b.ProviderAstType={}));var r=(b.ProviderAstType,function(){function a(a,b,c){this.index=a,this.ngContentIndex=b,this.sourceSpan=c}return a.prototype.visit=function(a,b){return a.visitNgContent(this,b)},a}());b.NgContentAst=r,function(a){a[a.Property=0]="Property",a[a.Attribute=1]="Attribute",a[a.Class=2]="Class",a[a.Style=3]="Style",a[a.Animation=4]="Animation"}(b.PropertyBindingType||(b.PropertyBindingType={}));b.PropertyBindingType;return b.templateVisitAll=d,c.exports}),a.registerDynamic("60",["9","19","1f","51","1b","30","54","18","61","62","58","1c"],!0,function(a,b,c){"use strict";function d(a,b,c,d){var e;return e=b>0?l.literal(a).lowerEquals(n.InjectMethodVars.requestNodeIndex).and(n.InjectMethodVars.requestNodeIndex.lowerEquals(l.literal(a+b))):l.literal(a).identical(n.InjectMethodVars.requestNodeIndex),new l.IfStmt(n.InjectMethodVars.token.identical(p.createDiTokenExpression(c.token)).and(e),[new l.ReturnStatement(d)])}function e(a,b,c,d,e,f){var g,h,i=f.view;if(d?(g=l.literalArr(c),h=new l.ArrayType(l.DYNAMIC_TYPE)):(g=c[0],h=c[0].type),j.isBlank(h)&&(h=l.DYNAMIC_TYPE),e)i.fields.push(new l.ClassField(a,h)),i.createMethod.addStmt(l.THIS_EXPR.prop(a).set(g).toStmt());else{var k="_"+a;i.fields.push(new l.ClassField(k,h));var m=new r.CompileMethod(i);m.resetDebugInfo(f.nodeIndex,f.sourceAst),m.addStmt(new l.IfStmt(l.THIS_EXPR.prop(k).isBlank(),[l.THIS_EXPR.prop(k).set(g).toStmt()])),m.addStmt(new l.ReturnStatement(l.THIS_EXPR.prop(k))),i.getters.push(new l.ClassGetter(a,m.finish(),h))}return l.THIS_EXPR.prop(a)}function f(a){return s.visitValue(a,new w,null)}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("9"),i=a("19"),j=a("1f"),k=a("51"),l=a("1b"),m=a("30"),n=a("54"),o=a("18"),p=a("61"),q=a("62"),r=a("58"),s=a("1c"),t=function(){function a(a,b,c,d,e){this.parent=a,this.view=b,this.nodeIndex=c,this.renderNode=d,this.sourceAst=e}return a.prototype.isNull=function(){return j.isBlank(this.renderNode)},a.prototype.isRootElement=function(){return this.view!=this.parent.view},a}();b.CompileNode=t;var u=function(a){function b(b,c,d,e,f,g,h,i,m,n,p){var q=this;a.call(this,b,c,d,e,f),this.component=g,this._directives=h,this._resolvedProvidersArray=i,this.hasViewContainer=m,this.hasEmbeddedView=n,this._compViewExpr=null,this._instances=new o.CompileTokenMap,this._queryCount=0,this._queries=new o.CompileTokenMap,this._componentConstructorViewQueryLists=[],this.contentNodesByNgContentIndex=null,this.referenceTokens={},p.forEach(function(a){return q.referenceTokens[a.name]=a.value}),this.elementRef=l.importExpr(k.Identifiers.ElementRef).instantiate([this.renderNode]),this._instances.add(k.identifierToken(k.Identifiers.ElementRef),this.elementRef),this.injector=l.THIS_EXPR.callMethod("injector",[l.literal(this.nodeIndex)]),this._instances.add(k.identifierToken(k.Identifiers.Injector),this.injector),this._instances.add(k.identifierToken(k.Identifiers.Renderer),l.THIS_EXPR.prop("renderer")),(this.hasViewContainer||this.hasEmbeddedView||j.isPresent(this.component))&&this._createAppElement()}return g(b,a),b.createNull=function(){return new b(null,null,null,null,null,null,[],[],!1,!1,[])},b.prototype._createAppElement=function(){var a="_appEl_"+this.nodeIndex,b=this.isRootElement()?null:this.parent.nodeIndex;this.view.fields.push(new l.ClassField(a,l.importType(k.Identifiers.AppElement),[l.StmtModifier.Private]));var c=l.THIS_EXPR.prop(a).set(l.importExpr(k.Identifiers.AppElement).instantiate([l.literal(this.nodeIndex),l.literal(b),l.THIS_EXPR,this.renderNode])).toStmt();this.view.createMethod.addStmt(c),this.appElement=l.THIS_EXPR.prop(a),this._instances.add(k.identifierToken(k.Identifiers.AppElement),this.appElement)},b.prototype.createComponentFactoryResolver=function(a){if(a&&0!==a.length){var b=l.importExpr(k.Identifiers.CodegenComponentFactoryResolver).instantiate([l.literalArr(a.map(function(a){return l.importExpr(a)})),p.injectFromViewParentInjector(k.identifierToken(k.Identifiers.ComponentFactoryResolver),!1)]),c=new o.CompileProviderMetadata({token:k.identifierToken(k.Identifiers.ComponentFactoryResolver),useValue:b});this._resolvedProvidersArray.unshift(new m.ProviderAst(c.token,!1,!0,[c],m.ProviderAstType.PrivateService,this.sourceAst.sourceSpan))}},b.prototype.setComponentView=function(a){this._compViewExpr=a,this.contentNodesByNgContentIndex=i.ListWrapper.createFixedSize(this.component.template.ngContentSelectors.length);for(var b=0;b<this.contentNodesByNgContentIndex.length;b++)this.contentNodesByNgContentIndex[b]=[]},b.prototype.setEmbeddedView=function(a){if(this.embeddedView=a,j.isPresent(a)){var b=l.importExpr(k.Identifiers.TemplateRef_).instantiate([this.appElement,this.embeddedView.viewFactory]),c=new o.CompileProviderMetadata({token:k.identifierToken(k.Identifiers.TemplateRef),useValue:b});this._resolvedProvidersArray.unshift(new m.ProviderAst(c.token,!1,!0,[c],m.ProviderAstType.Builtin,this.sourceAst.sourceSpan))}},b.prototype.beforeChildren=function(){var a=this;this.hasViewContainer&&this._instances.add(k.identifierToken(k.Identifiers.ViewContainerRef),this.appElement.prop("vcRef")),this._resolvedProviders=new o.CompileTokenMap,this._resolvedProvidersArray.forEach(function(b){return a._resolvedProviders.add(b.token,b)}),this._resolvedProviders.values().forEach(function(b){var c=b.providers.map(function(c){if(j.isPresent(c.useExisting))return a._getDependency(b.providerType,new o.CompileDiDependencyMetadata({token:c.useExisting}));if(j.isPresent(c.useFactory)){var d=j.isPresent(c.deps)?c.deps:c.useFactory.diDeps,e=d.map(function(c){return a._getDependency(b.providerType,c)});return l.importExpr(c.useFactory).callFn(e)}if(j.isPresent(c.useClass)){var d=j.isPresent(c.deps)?c.deps:c.useClass.diDeps,e=d.map(function(c){return a._getDependency(b.providerType,c)});return l.importExpr(c.useClass).instantiate(e,l.importType(c.useClass))}return f(c.useValue)}),d="_"+b.token.name+"_"+a.nodeIndex+"_"+a._instances.size,g=e(d,b,c,b.multiProvider,b.eager,a);a._instances.add(b.token,g)}),this.directiveInstances=this._directives.map(function(b){return a._instances.get(k.identifierToken(b.type))});for(var b=0;b<this.directiveInstances.length;b++){var c=this.directiveInstances[b],d=this._directives[b];d.queries.forEach(function(b){a._addQuery(b,c)})}var g=[];if(this._resolvedProviders.values().forEach(function(b){var c=a._getQueriesFor(b.token);i.ListWrapper.addAll(g,c.map(function(a){return new v(a,b.token)}))}),i.StringMapWrapper.forEach(this.referenceTokens,function(b,c){var d,e=a.referenceTokens[c];d=j.isPresent(e)?a._instances.get(e):a.renderNode,a.view.locals.set(c,d);var f=new o.CompileTokenMetadata({value:c});i.ListWrapper.addAll(g,a._getQueriesFor(f).map(function(a){return new v(a,f)}))}),g.forEach(function(b){var c;if(j.isPresent(b.read.identifier))c=a._instances.get(b.read);else{var d=a.referenceTokens[b.read.value];c=j.isPresent(d)?a._instances.get(d):a.elementRef}j.isPresent(c)&&b.query.addValue(c,a.view)}),j.isPresent(this.component)){var h=j.isPresent(this.component)?l.literalArr(this._componentConstructorViewQueryLists):l.NULL_EXPR,m=j.isPresent(this.getComponent())?this.getComponent():l.NULL_EXPR;this.view.createMethod.addStmt(this.appElement.callMethod("initComponent",[m,h,this._compViewExpr]).toStmt())}},b.prototype.afterChildren=function(a){var b=this;this._resolvedProviders.values().forEach(function(c){var e=b._instances.get(c.token),f=c.providerType===m.ProviderAstType.PrivateService?0:a;b.view.injectorGetMethod.addStmt(d(b.nodeIndex,f,c,e))}),this._queries.values().forEach(function(a){return a.forEach(function(a){return a.afterChildren(b.view.createMethod,b.view.updateContentQueriesMethod)})})},b.prototype.addContentNode=function(a,b){this.contentNodesByNgContentIndex[a].push(b)},b.prototype.getComponent=function(){return j.isPresent(this.component)?this._instances.get(k.identifierToken(this.component.type)):null},b.prototype.getProviderTokens=function(){return this._resolvedProviders.values().map(function(a){return p.createDiTokenExpression(a.token)})},b.prototype._getQueriesFor=function(a){for(var b,c=[],d=this,e=0;!d.isNull();)b=d._queries.get(a),j.isPresent(b)&&i.ListWrapper.addAll(c,b.filter(function(a){return a.meta.descendants||1>=e})),d._directives.length>0&&e++,d=d.parent;return b=this.view.componentView.viewQueries.get(a),j.isPresent(b)&&i.ListWrapper.addAll(c,b),c},b.prototype._addQuery=function(a,b){var c="_query_"+a.selectors[0].name+"_"+this.nodeIndex+"_"+this._queryCount++,d=q.createQueryList(a,b,c,this.view),e=new q.CompileQuery(a,d,b,this.view);return q.addQueryToTokenMap(this._queries,e),e},b.prototype._getLocalDependency=function(a,b){var c=null;if(j.isBlank(c)&&j.isPresent(b.query)&&(c=this._addQuery(b.query,null).queryList),j.isBlank(c)&&j.isPresent(b.viewQuery)&&(c=q.createQueryList(b.viewQuery,null,"_viewQuery_"+b.viewQuery.selectors[0].name+"_"+this.nodeIndex+"_"+this._componentConstructorViewQueryLists.length,this.view),this._componentConstructorViewQueryLists.push(c)),j.isPresent(b.token)){if(j.isBlank(c)&&b.token.equalsTo(k.identifierToken(k.Identifiers.ChangeDetectorRef)))return a===m.ProviderAstType.Component?this._compViewExpr.prop("ref"):p.getPropertyInView(l.THIS_EXPR.prop("ref"),this.view,this.view.componentView);if(j.isBlank(c)){var d=this._resolvedProviders.get(b.token);if(d&&(a===m.ProviderAstType.Directive||a===m.ProviderAstType.PublicService)&&d.providerType===m.ProviderAstType.PrivateService)return null;c=this._instances.get(b.token)}}return c},b.prototype._getDependency=function(a,b){var c=this,d=null;for(b.isValue&&(d=l.literal(b.value)),j.isBlank(d)&&!b.isSkipSelf&&(d=this._getLocalDependency(a,b));j.isBlank(d)&&!c.parent.isNull();)c=c.parent,d=c._getLocalDependency(m.ProviderAstType.PublicService,new o.CompileDiDependencyMetadata({token:b.token}));return j.isBlank(d)&&(d=p.injectFromViewParentInjector(b.token,b.isOptional)),j.isBlank(d)&&(d=l.NULL_EXPR),p.getPropertyInView(d,this.view,c.view)},b}(t);b.CompileElement=u;var v=function(){function a(a,b){this.query=a,this.read=j.isPresent(a.meta.read)?a.meta.read:b}return a}(),w=function(a){function b(){a.apply(this,arguments)}return g(b,a),b.prototype.visitArray=function(a,b){var c=this;return l.literalArr(a.map(function(a){return s.visitValue(a,c,b)}))},b.prototype.visitStringMap=function(a,b){var c=this,d=[];return i.StringMapWrapper.forEach(a,function(a,e){d.push([e,s.visitValue(a,c,b)])}),l.literalMap(d)},b.prototype.visitPrimitive=function(a,b){return l.literal(a)},b.prototype.visitOther=function(a,b){if(a instanceof o.CompileIdentifierMetadata)return l.importExpr(a);if(a instanceof l.Expression)return a;throw new h.BaseException("Illegal state: Don't now how to compile value "+a)},b}(s.ValueTransformer);return c.exports}),a.registerDynamic("58",["19","1f","1b"],!0,function(a,b,c){"use strict";var d=a("19"),e=a("1f"),f=a("1b"),g=function(){function a(a,b){this.nodeIndex=a,this.sourceAst=b}return a}(),h=new g(null,null),i=function(){function a(a){this._view=a,this._newState=h,this._currState=h,this._bodyStatements=[],this._debugEnabled=this._view.genConfig.genDebugInfo}return a.prototype._updateDebugContextIfNeeded=function(){if(this._newState.nodeIndex!==this._currState.nodeIndex||this._newState.sourceAst!==this._currState.sourceAst){var a=this._updateDebugContext(this._newState);e.isPresent(a)&&this._bodyStatements.push(a.toStmt())}},a.prototype._updateDebugContext=function(a){if(this._currState=this._newState=a,this._debugEnabled){var b=e.isPresent(a.sourceAst)?a.sourceAst.sourceSpan.start:null;return f.THIS_EXPR.callMethod("debug",[f.literal(a.nodeIndex),e.isPresent(b)?f.literal(b.line):f.NULL_EXPR,e.isPresent(b)?f.literal(b.col):f.NULL_EXPR])}return null},a.prototype.resetDebugInfoExpr=function(a,b){var c=this._updateDebugContext(new g(a,b));return e.isPresent(c)?c:f.NULL_EXPR},a.prototype.resetDebugInfo=function(a,b){this._newState=new g(a,b)},a.prototype.addStmt=function(a){this._updateDebugContextIfNeeded(),this._bodyStatements.push(a)},a.prototype.addStmts=function(a){this._updateDebugContextIfNeeded(),d.ListWrapper.addAll(this._bodyStatements,a)},a.prototype.finish=function(){return this._bodyStatements},a.prototype.isEmpty=function(){return 0===this._bodyStatements.length},a}();return b.CompileMethod=i,c.exports}),a.registerDynamic("63",["1a","1f","51","1b","61"],!0,function(a,b,c){"use strict";function d(a,b){for(var c=null,d=a.pipeMetas.length-1;d>=0;d--){var g=a.pipeMetas[d];if(g.name==b){c=g;break}}if(f.isBlank(c))throw new e.BaseException("Illegal state: Could not find pipe "+b+" although the parser should have detected this error!");return c}var e=a("1a"),f=a("1f"),g=a("51"),h=a("1b"),i=a("61"),j=function(){function a(a,b,c){this.view=a,this.instance=b,this.argCount=c}return a}(),k=function(){function a(a,b){this.view=a,this.meta=b,this._purePipeProxies=[],this.instance=h.THIS_EXPR.prop("_pipe_"+b.name+"_"+a.pipeCount++)}return a.call=function(b,c,e){var g,h=b.componentView,i=d(h,c);return i.pure?(g=h.purePipes.get(c),f.isBlank(g)&&(g=new a(h,i),h.purePipes.set(c,g),h.pipes.push(g))):(g=new a(b,i),b.pipes.push(g)),g._call(b,e)},Object.defineProperty(a.prototype,"pure",{get:function(){return this.meta.pure},enumerable:!0,configurable:!0}),a.prototype.create=function(){var a=this,b=this.meta.type.diDeps.map(function(b){return b.token.equalsTo(g.identifierToken(g.Identifiers.ChangeDetectorRef))?i.getPropertyInView(h.THIS_EXPR.prop("ref"),a.view,a.view.componentView):i.injectFromViewParentInjector(b.token,!1)});this.view.fields.push(new h.ClassField(this.instance.name,h.importType(this.meta.type))),this.view.createMethod.resetDebugInfo(null,null),this.view.createMethod.addStmt(h.THIS_EXPR.prop(this.instance.name).set(h.importExpr(this.meta.type).instantiate(b)).toStmt()),this._purePipeProxies.forEach(function(b){var c=i.getPropertyInView(a.instance,b.view,a.view);i.createPureProxy(c.prop("transform").callMethod(h.BuiltinMethod.bind,[c]),b.argCount,b.instance,b.view)})},a.prototype._call=function(a,b){if(this.meta.pure){var c=new j(a,h.THIS_EXPR.prop(this.instance.name+"_"+this._purePipeProxies.length),b.length);return this._purePipeProxies.push(c),h.importExpr(g.Identifiers.castByValue).callFn([c.instance,i.getPropertyInView(this.instance.prop("transform"),a,this.view)]).callFn(b)}return i.getPropertyInView(this.instance,a,this.view).callMethod("transform",b)},a}();return b.CompilePipe=k,c.exports}),a.registerDynamic("62",["19","1f","51","1b","61"],!0,function(a,b,c){"use strict";function d(a){return h.ListWrapper.flatten(a.values.map(function(a){return a instanceof m?e(a.view.declarationElement.appElement,a.view,d(a)):a}))}function e(a,b,c){var d=c.map(function(a){return k.replaceVarInExpression(k.THIS_EXPR.name,k.variable("nestedView"),a)});return a.callMethod("mapNestedViews",[k.variable(b.className),k.fn([new k.FnParam("nestedView",b.classType)],[new k.ReturnStatement(k.literalArr(d))])])}function f(a,b,c,d){d.fields.push(new k.ClassField(c,k.importType(j.Identifiers.QueryList,[k.DYNAMIC_TYPE])));var e=k.THIS_EXPR.prop(c);return d.createMethod.addStmt(k.THIS_EXPR.prop(c).set(k.importExpr(j.Identifiers.QueryList,[k.DYNAMIC_TYPE]).instantiate([])).toStmt()),e}function g(a,b){b.meta.selectors.forEach(function(c){var d=a.get(c);i.isBlank(d)&&(d=[],a.add(c,d)),d.push(b)})}var h=a("19"),i=a("1f"),j=a("51"),k=a("1b"),l=a("61"),m=function(){function a(a,b){this.view=a,this.values=b}return a}(),n=function(){function a(a,b,c,d){this.meta=a,this.queryList=b,this.ownerDirectiveExpression=c,this.view=d,this._values=new m(d,[])}return a.prototype.addValue=function(a,b){for(var c=b,d=[];i.isPresent(c)&&c!==this.view;){var e=c.declarationElement;d.unshift(e),c=e.view}var f=l.getPropertyInView(this.queryList,b,this.view),g=this._values;d.forEach(function(a){var b=g.values.length>0?g.values[g.values.length-1]:null;if(b instanceof m&&b.view===a.embeddedView)g=b;else{var c=new m(a.embeddedView,[]);g.values.push(c),g=c}}),g.values.push(a),d.length>0&&b.dirtyParentQueriesMethod.addStmt(f.callMethod("setDirty",[]).toStmt())},a.prototype._isStatic=function(){return!this._values.values.some(function(a){return a instanceof m})},a.prototype.afterChildren=function(a,b){var c=d(this._values),e=[this.queryList.callMethod("reset",[k.literalArr(c)]).toStmt()];if(i.isPresent(this.ownerDirectiveExpression)){var f=this.meta.first?this.queryList.prop("first"):this.queryList;e.push(this.ownerDirectiveExpression.prop(this.meta.propertyName).set(f).toStmt())}this.meta.first||e.push(this.queryList.callMethod("notifyOnChanges",[]).toStmt()),this.meta.first&&this._isStatic()?a.addStmts(e):b.addStmt(new k.IfStmt(this.queryList.prop("dirty"),e))},a}();return b.CompileQuery=n,b.createQueryList=f,b.addQueryToTokenMap=g,c.exports}),a.registerDynamic("64",["26","18","19","1f","51","1b","58","63","62","54","61"],!0,function(a,b,c){"use strict";function d(a,b){return b>0?e.ViewType.EMBEDDED:a.type.isHost?e.ViewType.HOST:e.ViewType.COMPONENT}var e=a("26"),f=a("18"),g=a("19"),h=a("1f"),i=a("51"),j=a("1b"),k=a("58"),l=a("63"),m=a("62"),n=a("54"),o=a("61"),p=function(){function a(a,b,c,i,l,n,p,q){var r=this;this.component=a,this.genConfig=b,this.pipeMetas=c,this.styles=i,this.viewIndex=n,this.declarationElement=p,this.templateVariableBindings=q,this.nodes=[],this.rootNodesOrAppElements=[],this.bindings=[],this.classStatements=[],this.eventHandlerMethods=[],this.fields=[],this.getters=[],this.disposables=[],this.subscriptions=[],this.purePipes=new Map,this.pipes=[],this.locals=new Map,this.literalArrayCount=0,this.literalMapCount=0,this.pipeCount=0,this.animations=new Map,l.forEach(function(a){return r.animations.set(a.name,a)}),this.createMethod=new k.CompileMethod(this),this.injectorGetMethod=new k.CompileMethod(this),this.updateContentQueriesMethod=new k.CompileMethod(this),this.dirtyParentQueriesMethod=new k.CompileMethod(this),this.updateViewQueriesMethod=new k.CompileMethod(this),this.detectChangesInInputsMethod=new k.CompileMethod(this),this.detectChangesRenderPropertiesMethod=new k.CompileMethod(this),this.afterContentLifecycleCallbacksMethod=new k.CompileMethod(this),this.afterViewLifecycleCallbacksMethod=new k.CompileMethod(this),this.destroyMethod=new k.CompileMethod(this),this.detachMethod=new k.CompileMethod(this),this.viewType=d(a,n),this.className="_View_"+a.type.name+n,this.classType=j.importType(new f.CompileIdentifierMetadata({name:this.className})),this.viewFactory=j.variable(o.getViewFactoryName(a,n)),this.viewType===e.ViewType.COMPONENT||this.viewType===e.ViewType.HOST?this.componentView=this:this.componentView=this.declarationElement.view.componentView,this.componentContext=o.getPropertyInView(j.THIS_EXPR.prop("context"),this,this.componentView);var s=new f.CompileTokenMap;if(this.viewType===e.ViewType.COMPONENT){var t=j.THIS_EXPR.prop("context");g.ListWrapper.forEachWithIndex(this.component.viewQueries,function(a,b){var c="_viewQuery_"+a.selectors[0].name+"_"+b,d=m.createQueryList(a,t,c,r),e=new m.CompileQuery(a,d,t,r);m.addQueryToTokenMap(s,e)});var u=0;this.component.type.diDeps.forEach(function(a){if(h.isPresent(a.viewQuery)){var b=j.THIS_EXPR.prop("declarationAppElement").prop("componentConstructorViewQueries").key(j.literal(u++)),c=new m.CompileQuery(a.viewQuery,b,null,r);m.addQueryToTokenMap(s,c)}})}this.viewQueries=s,q.forEach(function(a){r.locals.set(a[1],j.THIS_EXPR.prop("context").prop(a[0]))}),this.declarationElement.isNull()||this.declarationElement.setEmbeddedView(this)}return a.prototype.callPipe=function(a,b,c){return l.CompilePipe.call(this,a,[b].concat(c))},a.prototype.getLocal=function(a){if(a==n.EventHandlerVars.event.name)return n.EventHandlerVars.event;for(var b=this,c=b.locals.get(a);h.isBlank(c)&&h.isPresent(b.declarationElement.view);)b=b.declarationElement.view,c=b.locals.get(a);return h.isPresent(c)?o.getPropertyInView(c,this,b):null},a.prototype.createLiteralArray=function(a){if(0===a.length)return j.importExpr(i.Identifiers.EMPTY_ARRAY);for(var b=j.THIS_EXPR.prop("_arr_"+this.literalArrayCount++),c=[],d=[],e=0;e<a.length;e++){var f="p"+e;c.push(new j.FnParam(f)),d.push(j.variable(f))}return o.createPureProxy(j.fn(c,[new j.ReturnStatement(j.literalArr(d))],new j.ArrayType(j.DYNAMIC_TYPE)),a.length,b,this),b.callFn(a)},a.prototype.createLiteralMap=function(a){if(0===a.length)return j.importExpr(i.Identifiers.EMPTY_MAP);for(var b=j.THIS_EXPR.prop("_map_"+this.literalMapCount++),c=[],d=[],e=[],f=0;f<a.length;f++){var g="p"+f;c.push(new j.FnParam(g)),d.push([a[f][0],j.variable(g)]),e.push(a[f][1])}return o.createPureProxy(j.fn(c,[new j.ReturnStatement(j.literalMap(d))],new j.MapType(j.DYNAMIC_TYPE)),a.length,b,this),b.callFn(e)},a.prototype.afterNodes=function(){var a=this;this.pipes.forEach(function(a){return a.create()}),this.viewQueries.values().forEach(function(b){return b.forEach(function(b){return b.afterChildren(a.createMethod,a.updateViewQueriesMethod)})})},a}();return b.CompileView=p,c.exports}),a.registerDynamic("54",["9","26","18","1f","51","1b"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isBlank(b))return j.NULL_EXPR;var c=h.resolveEnumToken(a.runtime,b);return j.importExpr(new g.CompileIdentifierMetadata({name:a.name+"."+c,moduleUrl:a.moduleUrl,runtime:b}))}var e=a("9"),f=a("26"),g=a("18"),h=a("1f"),i=a("51"),j=a("1b"),k=function(){function a(){}return a.fromValue=function(a){return d(i.Identifiers.ViewType,a)},a.HOST=a.fromValue(f.ViewType.HOST),a.COMPONENT=a.fromValue(f.ViewType.COMPONENT),a.EMBEDDED=a.fromValue(f.ViewType.EMBEDDED),a}();b.ViewTypeEnum=k;var l=function(){function a(){}return a.fromValue=function(a){return d(i.Identifiers.ViewEncapsulation,a)},a.Emulated=a.fromValue(e.ViewEncapsulation.Emulated),a.Native=a.fromValue(e.ViewEncapsulation.Native),a.None=a.fromValue(e.ViewEncapsulation.None),a}();b.ViewEncapsulationEnum=l;var m=function(){function a(){}return a.fromValue=function(a){return d(i.Identifiers.ChangeDetectionStrategy,a)},a.OnPush=a.fromValue(e.ChangeDetectionStrategy.OnPush),a.Default=a.fromValue(e.ChangeDetectionStrategy.Default),a}();b.ChangeDetectionStrategyEnum=m;var n=function(){function a(){}return a.fromValue=function(a){return d(i.Identifiers.ChangeDetectorStatus,a)},a.CheckOnce=a.fromValue(f.ChangeDetectorStatus.CheckOnce),a.Checked=a.fromValue(f.ChangeDetectorStatus.Checked),a.CheckAlways=a.fromValue(f.ChangeDetectorStatus.CheckAlways),a.Detached=a.fromValue(f.ChangeDetectorStatus.Detached),a.Errored=a.fromValue(f.ChangeDetectorStatus.Errored),a.Destroyed=a.fromValue(f.ChangeDetectorStatus.Destroyed),a}();b.ChangeDetectorStatusEnum=n;var o=function(){function a(){}return a.viewUtils=j.variable("viewUtils"),a.parentInjector=j.variable("parentInjector"),a.declarationEl=j.variable("declarationEl"),a}();b.ViewConstructorVars=o;var p=function(){function a(){}return a.renderer=j.THIS_EXPR.prop("renderer"),a.projectableNodes=j.THIS_EXPR.prop("projectableNodes"),a.viewUtils=j.THIS_EXPR.prop("viewUtils"),a}();b.ViewProperties=p;var q=function(){function a(){}return a.event=j.variable("$event"),a}();b.EventHandlerVars=q;var r=function(){function a(){}return a.token=j.variable("token"),a.requestNodeIndex=j.variable("requestNodeIndex"),a.notFoundResult=j.variable("notFoundResult"),a}();b.InjectMethodVars=r;var s=function(){function a(){}return a.throwOnChange=j.variable("throwOnChange"),a.changes=j.variable("changes"),a.changed=j.variable("changed"),a.valUnwrapper=j.variable("valUnwrapper"),a}();return b.DetectChangesVars=s,c.exports}),a.registerDynamic("1b",["1f"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=new fa(a,b);return c.visitExpression(d,null)}function e(a){var b=new ga;return b.visitAllStatements(a,null),b.varNames}function f(a,b){return void 0===b&&(b=null),new y(a,b)}function g(a,b){return void 0===b&&(b=null),new G(a,null,b)}function h(a,b,c){return void 0===b&&(b=null),void 0===c&&(c=null),o.isPresent(a)?new s(a,b,c):null}function i(a,b){return void 0===b&&(b=null),new F(a,b)}function j(a,b){return void 0===b&&(b=null),new P(a,b)}function k(a,b){return void 0===b&&(b=null),new Q(a,b)}function l(a){return new I(a)}function m(a,b,c){return void 0===c&&(c=null),new L(a,b,c)}var n=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},o=a("1f");!function(a){a[a.Const=0]="Const"}(b.TypeModifier||(b.TypeModifier={}));var p=(b.TypeModifier,function(){function a(a){void 0===a&&(a=null),this.modifiers=a,o.isBlank(a)&&(this.modifiers=[])}return a.prototype.hasModifier=function(a){return-1!==this.modifiers.indexOf(a)},a}());b.Type=p,function(a){a[a.Dynamic=0]="Dynamic",a[a.Bool=1]="Bool",a[a.String=2]="String",a[a.Int=3]="Int",a[a.Number=4]="Number",a[a.Function=5]="Function"}(b.BuiltinTypeName||(b.BuiltinTypeName={}));var q=b.BuiltinTypeName,r=function(a){function b(b,c){void 0===c&&(c=null),a.call(this,c),this.name=b}return n(b,a),b.prototype.visitType=function(a,b){return a.visitBuiltintType(this,b)},b}(p);b.BuiltinType=r;var s=function(a){function b(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null),a.call(this,d),this.value=b,this.typeParams=c}return n(b,a),b.prototype.visitType=function(a,b){return a.visitExternalType(this,b)},b}(p);b.ExternalType=s;var t=function(a){function b(b,c){void 0===c&&(c=null),a.call(this,c),this.of=b}return n(b,a),b.prototype.visitType=function(a,b){return a.visitArrayType(this,b)},b}(p);b.ArrayType=t;var u=function(a){function b(b,c){void 0===c&&(c=null),a.call(this,c),this.valueType=b}return n(b,a),b.prototype.visitType=function(a,b){return a.visitMapType(this,b)},b}(p);b.MapType=u,b.DYNAMIC_TYPE=new r(q.Dynamic),b.BOOL_TYPE=new r(q.Bool),b.INT_TYPE=new r(q.Int),b.NUMBER_TYPE=new r(q.Number),b.STRING_TYPE=new r(q.String),b.FUNCTION_TYPE=new r(q.Function),function(a){a[a.Equals=0]="Equals",a[a.NotEquals=1]="NotEquals",a[a.Identical=2]="Identical",a[a.NotIdentical=3]="NotIdentical",a[a.Minus=4]="Minus",a[a.Plus=5]="Plus",a[a.Divide=6]="Divide",a[a.Multiply=7]="Multiply",a[a.Modulo=8]="Modulo",a[a.And=9]="And",a[a.Or=10]="Or",a[a.Lower=11]="Lower",a[a.LowerEquals=12]="LowerEquals",a[a.Bigger=13]="Bigger",a[a.BiggerEquals=14]="BiggerEquals"}(b.BinaryOperator||(b.BinaryOperator={}));var v=b.BinaryOperator,w=function(){function a(a){this.type=a}return a.prototype.prop=function(a){return new N(this,a)},a.prototype.key=function(a,b){return void 0===b&&(b=null),new O(this,a,b)},a.prototype.callMethod=function(a,b){return new C(this,a,b)},a.prototype.callFn=function(a){return new D(this,a)},a.prototype.instantiate=function(a,b){return void 0===b&&(b=null),new E(this,a,b)},a.prototype.conditional=function(a,b){return void 0===b&&(b=null),new H(this,a,b)},a.prototype.equals=function(a){return new M(v.Equals,this,a)},a.prototype.notEquals=function(a){return new M(v.NotEquals,this,a)},a.prototype.identical=function(a){return new M(v.Identical,this,a)},a.prototype.notIdentical=function(a){return new M(v.NotIdentical,this,a)},a.prototype.minus=function(a){return new M(v.Minus,this,a)},a.prototype.plus=function(a){return new M(v.Plus,this,a)},a.prototype.divide=function(a){return new M(v.Divide,this,a)},a.prototype.multiply=function(a){return new M(v.Multiply,this,a)},a.prototype.modulo=function(a){return new M(v.Modulo,this,a)},a.prototype.and=function(a){return new M(v.And,this,a)},a.prototype.or=function(a){return new M(v.Or,this,a)},a.prototype.lower=function(a){return new M(v.Lower,this,a)},a.prototype.lowerEquals=function(a){return new M(v.LowerEquals,this,a)},a.prototype.bigger=function(a){return new M(v.Bigger,this,a)},a.prototype.biggerEquals=function(a){return new M(v.BiggerEquals,this,a)},a.prototype.isBlank=function(){return this.equals(b.NULL_EXPR)},a.prototype.cast=function(a){return new J(this,a)},a.prototype.toStmt=function(){return new U(this)},a}();b.Expression=w,function(a){a[a.This=0]="This",a[a.Super=1]="Super",a[a.CatchError=2]="CatchError",a[a.CatchStack=3]="CatchStack"}(b.BuiltinVar||(b.BuiltinVar={}));var x=b.BuiltinVar,y=function(a){function b(b,c){void 0===c&&(c=null),a.call(this,c),o.isString(b)?(this.name=b,this.builtin=null):(this.name=null,this.builtin=b)}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitReadVarExpr(this,b)},b.prototype.set=function(a){return new z(this.name,a)},b}(w);b.ReadVarExpr=y;var z=function(a){function b(b,c,d){void 0===d&&(d=null),a.call(this,o.isPresent(d)?d:c.type),this.name=b,this.value=c}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitWriteVarExpr(this,b)},b.prototype.toDeclStmt=function(a,b){return void 0===a&&(a=null),void 0===b&&(b=null),new S(this.name,this.value,a,b)},b}(w);b.WriteVarExpr=z;var A=function(a){function b(b,c,d,e){void 0===e&&(e=null),a.call(this,o.isPresent(e)?e:d.type),this.receiver=b,this.index=c,this.value=d}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitWriteKeyExpr(this,b)},b}(w);b.WriteKeyExpr=A;var B=function(a){function b(b,c,d,e){void 0===e&&(e=null),a.call(this,o.isPresent(e)?e:d.type),this.receiver=b,this.name=c,this.value=d}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitWritePropExpr(this,b)},b}(w);b.WritePropExpr=B,function(a){a[a.ConcatArray=0]="ConcatArray",a[a.SubscribeObservable=1]="SubscribeObservable",a[a.bind=2]="bind"}(b.BuiltinMethod||(b.BuiltinMethod={}));var C=(b.BuiltinMethod,function(a){function b(b,c,d,e){void 0===e&&(e=null),a.call(this,e),this.receiver=b,this.args=d,o.isString(c)?(this.name=c,this.builtin=null):(this.name=null,this.builtin=c)}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitInvokeMethodExpr(this,b)},b}(w));b.InvokeMethodExpr=C;var D=function(a){function b(b,c,d){void 0===d&&(d=null),a.call(this,d),this.fn=b,this.args=c}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitInvokeFunctionExpr(this,b)},b}(w);b.InvokeFunctionExpr=D;var E=function(a){function b(b,c,d){a.call(this,d),this.classExpr=b,
|
||
this.args=c}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitInstantiateExpr(this,b)},b}(w);b.InstantiateExpr=E;var F=function(a){function b(b,c){void 0===c&&(c=null),a.call(this,c),this.value=b}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitLiteralExpr(this,b)},b}(w);b.LiteralExpr=F;var G=function(a){function b(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null),a.call(this,c),this.value=b,this.typeParams=d}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitExternalExpr(this,b)},b}(w);b.ExternalExpr=G;var H=function(a){function b(b,c,d,e){void 0===d&&(d=null),void 0===e&&(e=null),a.call(this,o.isPresent(e)?e:c.type),this.condition=b,this.falseCase=d,this.trueCase=c}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitConditionalExpr(this,b)},b}(w);b.ConditionalExpr=H;var I=function(a){function c(c){a.call(this,b.BOOL_TYPE),this.condition=c}return n(c,a),c.prototype.visitExpression=function(a,b){return a.visitNotExpr(this,b)},c}(w);b.NotExpr=I;var J=function(a){function b(b,c){a.call(this,c),this.value=b}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitCastExpr(this,b)},b}(w);b.CastExpr=J;var K=function(){function a(a,b){void 0===b&&(b=null),this.name=a,this.type=b}return a}();b.FnParam=K;var L=function(a){function b(b,c,d){void 0===d&&(d=null),a.call(this,d),this.params=b,this.statements=c}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitFunctionExpr(this,b)},b.prototype.toDeclStmt=function(a,b){return void 0===b&&(b=null),new T(a,this.params,this.statements,this.type,b)},b}(w);b.FunctionExpr=L;var M=function(a){function b(b,c,d,e){void 0===e&&(e=null),a.call(this,o.isPresent(e)?e:c.type),this.operator=b,this.rhs=d,this.lhs=c}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitBinaryOperatorExpr(this,b)},b}(w);b.BinaryOperatorExpr=M;var N=function(a){function b(b,c,d){void 0===d&&(d=null),a.call(this,d),this.receiver=b,this.name=c}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitReadPropExpr(this,b)},b.prototype.set=function(a){return new B(this.receiver,this.name,a)},b}(w);b.ReadPropExpr=N;var O=function(a){function b(b,c,d){void 0===d&&(d=null),a.call(this,d),this.receiver=b,this.index=c}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitReadKeyExpr(this,b)},b.prototype.set=function(a){return new A(this.receiver,this.index,a)},b}(w);b.ReadKeyExpr=O;var P=function(a){function b(b,c){void 0===c&&(c=null),a.call(this,c),this.entries=b}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitLiteralArrayExpr(this,b)},b}(w);b.LiteralArrayExpr=P;var Q=function(a){function b(b,c){void 0===c&&(c=null),a.call(this,c),this.entries=b,this.valueType=null,o.isPresent(c)&&(this.valueType=c.valueType)}return n(b,a),b.prototype.visitExpression=function(a,b){return a.visitLiteralMapExpr(this,b)},b}(w);b.LiteralMapExpr=Q,b.THIS_EXPR=new y(x.This),b.SUPER_EXPR=new y(x.Super),b.CATCH_ERROR_VAR=new y(x.CatchError),b.CATCH_STACK_VAR=new y(x.CatchStack),b.NULL_EXPR=new F(null,null),function(a){a[a.Final=0]="Final",a[a.Private=1]="Private"}(b.StmtModifier||(b.StmtModifier={}));var R=(b.StmtModifier,function(){function a(a){void 0===a&&(a=null),this.modifiers=a,o.isBlank(a)&&(this.modifiers=[])}return a.prototype.hasModifier=function(a){return-1!==this.modifiers.indexOf(a)},a}());b.Statement=R;var S=function(a){function b(b,c,d,e){void 0===d&&(d=null),void 0===e&&(e=null),a.call(this,e),this.name=b,this.value=c,this.type=o.isPresent(d)?d:c.type}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitDeclareVarStmt(this,b)},b}(R);b.DeclareVarStmt=S;var T=function(a){function b(b,c,d,e,f){void 0===e&&(e=null),void 0===f&&(f=null),a.call(this,f),this.name=b,this.params=c,this.statements=d,this.type=e}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitDeclareFunctionStmt(this,b)},b}(R);b.DeclareFunctionStmt=T;var U=function(a){function b(b){a.call(this),this.expr=b}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitExpressionStmt(this,b)},b}(R);b.ExpressionStatement=U;var V=function(a){function b(b){a.call(this),this.value=b}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitReturnStmt(this,b)},b}(R);b.ReturnStatement=V;var W=function(){function a(a,b){void 0===a&&(a=null),this.type=a,this.modifiers=b,o.isBlank(b)&&(this.modifiers=[])}return a.prototype.hasModifier=function(a){return-1!==this.modifiers.indexOf(a)},a}();b.AbstractClassPart=W;var X=function(a){function b(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null),a.call(this,c,d),this.name=b}return n(b,a),b}(W);b.ClassField=X;var Y=function(a){function b(b,c,d,e,f){void 0===e&&(e=null),void 0===f&&(f=null),a.call(this,e,f),this.name=b,this.params=c,this.body=d}return n(b,a),b}(W);b.ClassMethod=Y;var Z=function(a){function b(b,c,d,e){void 0===d&&(d=null),void 0===e&&(e=null),a.call(this,d,e),this.name=b,this.body=c}return n(b,a),b}(W);b.ClassGetter=Z;var $=function(a){function b(b,c,d,e,f,g,h){void 0===h&&(h=null),a.call(this,h),this.name=b,this.parent=c,this.fields=d,this.getters=e,this.constructorMethod=f,this.methods=g}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitDeclareClassStmt(this,b)},b}(R);b.ClassStmt=$;var _=function(a){function b(b,c,d){void 0===d&&(d=[]),a.call(this),this.condition=b,this.trueCase=c,this.falseCase=d}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitIfStmt(this,b)},b}(R);b.IfStmt=_;var aa=function(a){function b(b){a.call(this),this.comment=b}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitCommentStmt(this,b)},b}(R);b.CommentStmt=aa;var ba=function(a){function b(b,c){a.call(this),this.bodyStmts=b,this.catchStmts=c}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitTryCatchStmt(this,b)},b}(R);b.TryCatchStmt=ba;var ca=function(a){function b(b){a.call(this),this.error=b}return n(b,a),b.prototype.visitStatement=function(a,b){return a.visitThrowStmt(this,b)},b}(R);b.ThrowStmt=ca;var da=function(){function a(){}return a.prototype.visitReadVarExpr=function(a,b){return a},a.prototype.visitWriteVarExpr=function(a,b){return new z(a.name,a.value.visitExpression(this,b))},a.prototype.visitWriteKeyExpr=function(a,b){return new A(a.receiver.visitExpression(this,b),a.index.visitExpression(this,b),a.value.visitExpression(this,b))},a.prototype.visitWritePropExpr=function(a,b){return new B(a.receiver.visitExpression(this,b),a.name,a.value.visitExpression(this,b))},a.prototype.visitInvokeMethodExpr=function(a,b){var c=o.isPresent(a.builtin)?a.builtin:a.name;return new C(a.receiver.visitExpression(this,b),c,this.visitAllExpressions(a.args,b),a.type)},a.prototype.visitInvokeFunctionExpr=function(a,b){return new D(a.fn.visitExpression(this,b),this.visitAllExpressions(a.args,b),a.type)},a.prototype.visitInstantiateExpr=function(a,b){return new E(a.classExpr.visitExpression(this,b),this.visitAllExpressions(a.args,b),a.type)},a.prototype.visitLiteralExpr=function(a,b){return a},a.prototype.visitExternalExpr=function(a,b){return a},a.prototype.visitConditionalExpr=function(a,b){return new H(a.condition.visitExpression(this,b),a.trueCase.visitExpression(this,b),a.falseCase.visitExpression(this,b))},a.prototype.visitNotExpr=function(a,b){return new I(a.condition.visitExpression(this,b))},a.prototype.visitCastExpr=function(a,b){return new J(a.value.visitExpression(this,b),b)},a.prototype.visitFunctionExpr=function(a,b){return a},a.prototype.visitBinaryOperatorExpr=function(a,b){return new M(a.operator,a.lhs.visitExpression(this,b),a.rhs.visitExpression(this,b),a.type)},a.prototype.visitReadPropExpr=function(a,b){return new N(a.receiver.visitExpression(this,b),a.name,a.type)},a.prototype.visitReadKeyExpr=function(a,b){return new O(a.receiver.visitExpression(this,b),a.index.visitExpression(this,b),a.type)},a.prototype.visitLiteralArrayExpr=function(a,b){return new P(this.visitAllExpressions(a.entries,b))},a.prototype.visitLiteralMapExpr=function(a,b){var c=this;return new Q(a.entries.map(function(a){return[a[0],a[1].visitExpression(c,b)]}))},a.prototype.visitAllExpressions=function(a,b){var c=this;return a.map(function(a){return a.visitExpression(c,b)})},a.prototype.visitDeclareVarStmt=function(a,b){return new S(a.name,a.value.visitExpression(this,b),a.type,a.modifiers)},a.prototype.visitDeclareFunctionStmt=function(a,b){return a},a.prototype.visitExpressionStmt=function(a,b){return new U(a.expr.visitExpression(this,b))},a.prototype.visitReturnStmt=function(a,b){return new V(a.value.visitExpression(this,b))},a.prototype.visitDeclareClassStmt=function(a,b){return a},a.prototype.visitIfStmt=function(a,b){return new _(a.condition.visitExpression(this,b),this.visitAllStatements(a.trueCase,b),this.visitAllStatements(a.falseCase,b))},a.prototype.visitTryCatchStmt=function(a,b){return new ba(this.visitAllStatements(a.bodyStmts,b),this.visitAllStatements(a.catchStmts,b))},a.prototype.visitThrowStmt=function(a,b){return new ca(a.error.visitExpression(this,b))},a.prototype.visitCommentStmt=function(a,b){return a},a.prototype.visitAllStatements=function(a,b){var c=this;return a.map(function(a){return a.visitStatement(c,b)})},a}();b.ExpressionTransformer=da;var ea=function(){function a(){}return a.prototype.visitReadVarExpr=function(a,b){return a},a.prototype.visitWriteVarExpr=function(a,b){return a.value.visitExpression(this,b),a},a.prototype.visitWriteKeyExpr=function(a,b){return a.receiver.visitExpression(this,b),a.index.visitExpression(this,b),a.value.visitExpression(this,b),a},a.prototype.visitWritePropExpr=function(a,b){return a.receiver.visitExpression(this,b),a.value.visitExpression(this,b),a},a.prototype.visitInvokeMethodExpr=function(a,b){return a.receiver.visitExpression(this,b),this.visitAllExpressions(a.args,b),a},a.prototype.visitInvokeFunctionExpr=function(a,b){return a.fn.visitExpression(this,b),this.visitAllExpressions(a.args,b),a},a.prototype.visitInstantiateExpr=function(a,b){return a.classExpr.visitExpression(this,b),this.visitAllExpressions(a.args,b),a},a.prototype.visitLiteralExpr=function(a,b){return a},a.prototype.visitExternalExpr=function(a,b){return a},a.prototype.visitConditionalExpr=function(a,b){return a.condition.visitExpression(this,b),a.trueCase.visitExpression(this,b),a.falseCase.visitExpression(this,b),a},a.prototype.visitNotExpr=function(a,b){return a.condition.visitExpression(this,b),a},a.prototype.visitCastExpr=function(a,b){return a.value.visitExpression(this,b),a},a.prototype.visitFunctionExpr=function(a,b){return a},a.prototype.visitBinaryOperatorExpr=function(a,b){return a.lhs.visitExpression(this,b),a.rhs.visitExpression(this,b),a},a.prototype.visitReadPropExpr=function(a,b){return a.receiver.visitExpression(this,b),a},a.prototype.visitReadKeyExpr=function(a,b){return a.receiver.visitExpression(this,b),a.index.visitExpression(this,b),a},a.prototype.visitLiteralArrayExpr=function(a,b){return this.visitAllExpressions(a.entries,b),a},a.prototype.visitLiteralMapExpr=function(a,b){var c=this;return a.entries.forEach(function(a){return a[1].visitExpression(c,b)}),a},a.prototype.visitAllExpressions=function(a,b){var c=this;a.forEach(function(a){return a.visitExpression(c,b)})},a.prototype.visitDeclareVarStmt=function(a,b){return a.value.visitExpression(this,b),a},a.prototype.visitDeclareFunctionStmt=function(a,b){return a},a.prototype.visitExpressionStmt=function(a,b){return a.expr.visitExpression(this,b),a},a.prototype.visitReturnStmt=function(a,b){return a.value.visitExpression(this,b),a},a.prototype.visitDeclareClassStmt=function(a,b){return a},a.prototype.visitIfStmt=function(a,b){return a.condition.visitExpression(this,b),this.visitAllStatements(a.trueCase,b),this.visitAllStatements(a.falseCase,b),a},a.prototype.visitTryCatchStmt=function(a,b){return this.visitAllStatements(a.bodyStmts,b),this.visitAllStatements(a.catchStmts,b),a},a.prototype.visitThrowStmt=function(a,b){return a.error.visitExpression(this,b),a},a.prototype.visitCommentStmt=function(a,b){return a},a.prototype.visitAllStatements=function(a,b){var c=this;a.forEach(function(a){return a.visitStatement(c,b)})},a}();b.RecursiveExpressionVisitor=ea,b.replaceVarInExpression=d;var fa=function(a){function b(b,c){a.call(this),this._varName=b,this._newValue=c}return n(b,a),b.prototype.visitReadVarExpr=function(a,b){return a.name==this._varName?this._newValue:a},b}(da);b.findReadVarNames=e;var ga=function(a){function b(){a.apply(this,arguments),this.varNames=new Set}return n(b,a),b.prototype.visitReadVarExpr=function(a,b){return this.varNames.add(a.name),null},b}(ea);return b.variable=f,b.importExpr=g,b.importType=h,b.literal=i,b.literalArr=j,b.literalMap=k,b.not=l,b.fn=m,c.exports}),a.registerDynamic("26",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.isDefaultChangeDetectionStrategy=d.__core_private__.isDefaultChangeDetectionStrategy,b.ChangeDetectorStatus=d.__core_private__.ChangeDetectorStatus,b.CHANGE_DETECTION_STRATEGY_VALUES=d.__core_private__.CHANGE_DETECTION_STRATEGY_VALUES,b.constructDependencies=d.__core_private__.constructDependencies,b.LifecycleHooks=d.__core_private__.LifecycleHooks,b.LIFECYCLE_HOOKS_VALUES=d.__core_private__.LIFECYCLE_HOOKS_VALUES,b.ReflectorReader=d.__core_private__.ReflectorReader,b.ReflectorComponentResolver=d.__core_private__.ReflectorComponentResolver,b.AppElement=d.__core_private__.AppElement,b.CodegenComponentFactoryResolver=d.__core_private__.CodegenComponentFactoryResolver,b.AppView=d.__core_private__.AppView,b.DebugAppView=d.__core_private__.DebugAppView,b.ViewType=d.__core_private__.ViewType,b.MAX_INTERPOLATION_VALUES=d.__core_private__.MAX_INTERPOLATION_VALUES,b.checkBinding=d.__core_private__.checkBinding,b.flattenNestedViewRenderNodes=d.__core_private__.flattenNestedViewRenderNodes,b.interpolate=d.__core_private__.interpolate,b.ViewUtils=d.__core_private__.ViewUtils,b.VIEW_ENCAPSULATION_VALUES=d.__core_private__.VIEW_ENCAPSULATION_VALUES,b.DebugContext=d.__core_private__.DebugContext,b.StaticNodeDebugInfo=d.__core_private__.StaticNodeDebugInfo,b.devModeEqual=d.__core_private__.devModeEqual,b.uninitialized=d.__core_private__.uninitialized,b.ValueUnwrapper=d.__core_private__.ValueUnwrapper,b.TemplateRef_=d.__core_private__.TemplateRef_,b.RenderDebugInfo=d.__core_private__.RenderDebugInfo,b.SecurityContext=d.__core_private__.SecurityContext,b.SanitizationService=d.__core_private__.SanitizationService,b.createProvider=d.__core_private__.createProvider,b.isProviderLiteral=d.__core_private__.isProviderLiteral,b.EMPTY_ARRAY=d.__core_private__.EMPTY_ARRAY,b.EMPTY_MAP=d.__core_private__.EMPTY_MAP,b.pureProxy1=d.__core_private__.pureProxy1,b.pureProxy2=d.__core_private__.pureProxy2,b.pureProxy3=d.__core_private__.pureProxy3,b.pureProxy4=d.__core_private__.pureProxy4,b.pureProxy5=d.__core_private__.pureProxy5,b.pureProxy6=d.__core_private__.pureProxy6,b.pureProxy7=d.__core_private__.pureProxy7,b.pureProxy8=d.__core_private__.pureProxy8,b.pureProxy9=d.__core_private__.pureProxy9,b.pureProxy10=d.__core_private__.pureProxy10,b.castByValue=d.__core_private__.castByValue,b.Console=d.__core_private__.Console,b.reflector=d.__core_private__.reflector,b.NoOpAnimationPlayer=d.__core_private__.NoOpAnimationPlayer,b.AnimationPlayer=d.__core_private__.AnimationPlayer,b.NoOpAnimationDriver=d.__core_private__.NoOpAnimationDriver,b.AnimationDriver=d.__core_private__.AnimationDriver,b.AnimationSequencePlayer=d.__core_private__.AnimationSequencePlayer,b.AnimationGroupPlayer=d.__core_private__.AnimationGroupPlayer,b.AnimationKeyframe=d.__core_private__.AnimationKeyframe,b.AnimationStyles=d.__core_private__.AnimationStyles,b.ANY_STATE=d.__core_private__.ANY_STATE,b.DEFAULT_STATE=d.__core_private__.DEFAULT_STATE,b.EMPTY_STATE=d.__core_private__.EMPTY_STATE,b.FILL_STYLE_FLAG=d.__core_private__.FILL_STYLE_FLAG,b.prepareFinalAnimationStyles=d.__core_private__.prepareFinalAnimationStyles,b.balanceAnimationKeyframes=d.__core_private__.balanceAnimationKeyframes,b.flattenStyles=d.__core_private__.flattenStyles,b.clearStyles=d.__core_private__.clearStyles,b.collectAndResolveStyles=d.__core_private__.collectAndResolveStyles,b.renderStyles=d.__core_private__.renderStyles,c.exports}),a.registerDynamic("65",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("66",["65","19","1f"],!0,function(a,b,c){"use strict";var d=a("65"),e=a("19"),f=a("1f"),g=function(){function a(){this.res=[]}return a.prototype.log=function(a){this.res.push(a)},a.prototype.logError=function(a){this.res.push(a)},a.prototype.logGroup=function(a){this.res.push(a)},a.prototype.logGroupEnd=function(){},a}(),h=function(){function a(a,b){void 0===b&&(b=!0),this._logger=a,this._rethrowException=b}return a.exceptionToString=function(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null);var e=new g,f=new a(e,!1);return f.call(b,c,d),e.res.join("\n")},a.prototype.call=function(a,b,c){void 0===b&&(b=null),void 0===c&&(c=null);var d=this._findOriginalException(a),e=this._findOriginalStack(a),g=this._findContext(a);if(this._logger.logGroup("EXCEPTION: "+this._extractMessage(a)),f.isPresent(b)&&f.isBlank(e)&&(this._logger.logError("STACKTRACE:"),this._logger.logError(this._longStackTrace(b))),f.isPresent(c)&&this._logger.logError("REASON: "+c),f.isPresent(d)&&this._logger.logError("ORIGINAL EXCEPTION: "+this._extractMessage(d)),f.isPresent(e)&&(this._logger.logError("ORIGINAL STACKTRACE:"),this._logger.logError(this._longStackTrace(e))),f.isPresent(g)&&(this._logger.logError("ERROR CONTEXT:"),this._logger.logError(g)),this._logger.logGroupEnd(),this._rethrowException)throw a},a.prototype._extractMessage=function(a){return a instanceof d.BaseWrappedException?a.wrapperMessage:a.toString()},a.prototype._longStackTrace=function(a){return e.isListLikeIterable(a)?a.join("\n\n-----async gap-----\n"):a.toString()},a.prototype._findContext=function(a){try{return a instanceof d.BaseWrappedException?f.isPresent(a.context)?a.context:this._findContext(a.originalException):null}catch(b){return null}},a.prototype._findOriginalException=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a.originalException;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException;return b},a.prototype._findOriginalStack=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a,c=a.originalStack;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException,b instanceof d.BaseWrappedException&&f.isPresent(b.originalException)&&(c=b.originalStack);return c},a}();return b.ExceptionHandler=h,c.exports}),a.registerDynamic("1a",["65","66"],!0,function(a,b,c){"use strict";function d(a){return new TypeError(a)}function e(){throw new j("unimplemented")}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("65"),h=a("66"),i=a("66");b.ExceptionHandler=i.ExceptionHandler;var j=function(a){function b(b){void 0===b&&(b="--"),a.call(this,b),this.message=b,this.stack=new Error(b).stack}return f(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.BaseException=j;var k=function(a){function b(b,c,d,e){a.call(this,b),this._wrapperMessage=b,this._originalException=c,this._originalStack=d,this._context=e,this._wrapperStack=new Error(b).stack}return f(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return h.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),b.prototype.toString=function(){return this.message},b}(g.BaseWrappedException);return b.WrappedException=k,b.makeTypeError=d,b.unimplemented=e,c.exports}),a.registerDynamic("52",["19","1a","1f","45"],!0,function(a,b,c){return function(c){"use strict";var d=a("19"),e=a("1a"),f=a("1f"),g="",h=f.RegExpWrapper.create("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-\\w*]+)(?:=([^\\]]*))?\\])|(\\))|(\\s*,\\s*)"),i=function(){function a(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return a.parse=function(b){for(var c,g=[],i=function(a,b){b.notSelectors.length>0&&f.isBlank(b.element)&&d.ListWrapper.isEmpty(b.classNames)&&d.ListWrapper.isEmpty(b.attrs)&&(b.element="*"),a.push(b)},j=new a,k=f.RegExpWrapper.matcher(h,b),l=j,m=!1;f.isPresent(c=f.RegExpMatcherWrapper.next(k));){if(f.isPresent(c[1])){if(m)throw new e.BaseException("Nesting :not is not allowed in a selector");m=!0,l=new a,j.notSelectors.push(l)}if(f.isPresent(c[2])&&l.setElement(c[2]),f.isPresent(c[3])&&l.addClassName(c[3]),f.isPresent(c[4])&&l.addAttribute(c[4],c[5]),f.isPresent(c[6])&&(m=!1,l=j),f.isPresent(c[7])){if(m)throw new e.BaseException("Multiple selectors in :not are not supported");i(g,j),j=l=new a}}return i(g,j),g},a.prototype.isElementSelector=function(){return f.isPresent(this.element)&&d.ListWrapper.isEmpty(this.classNames)&&d.ListWrapper.isEmpty(this.attrs)&&0===this.notSelectors.length},a.prototype.setElement=function(a){void 0===a&&(a=null),this.element=a},a.prototype.getMatchingElementTemplate=function(){for(var a=f.isPresent(this.element)?this.element:"div",b=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",c="",d=0;d<this.attrs.length;d+=2){var e=this.attrs[d],g=""!==this.attrs[d+1]?'="'+this.attrs[d+1]+'"':"";c+=" "+e+g}return"<"+a+b+c+"></"+a+">"},a.prototype.addAttribute=function(a,b){void 0===b&&(b=g),this.attrs.push(a),b=f.isPresent(b)?b.toLowerCase():g,this.attrs.push(b)},a.prototype.addClassName=function(a){this.classNames.push(a.toLowerCase())},a.prototype.toString=function(){var a="";if(f.isPresent(this.element)&&(a+=this.element),f.isPresent(this.classNames))for(var b=0;b<this.classNames.length;b++)a+="."+this.classNames[b];if(f.isPresent(this.attrs))for(var b=0;b<this.attrs.length;){var c=this.attrs[b++],d=this.attrs[b++];a+="["+c,d.length>0&&(a+="="+d),a+="]"}return this.notSelectors.forEach(function(b){return a+=":not("+b+")"}),a},a}();b.CssSelector=i;var j=function(){function a(){this._elementMap=new d.Map,this._elementPartialMap=new d.Map,this._classMap=new d.Map,this._classPartialMap=new d.Map,this._attrValueMap=new d.Map,this._attrValuePartialMap=new d.Map,this._listContexts=[]}return a.createNotMatcher=function(b){var c=new a;return c.addSelectables(b,null),c},a.prototype.addSelectables=function(a,b){var c=null;a.length>1&&(c=new k(a),this._listContexts.push(c));for(var d=0;d<a.length;d++)this._addSelectable(a[d],b,c)},a.prototype._addSelectable=function(a,b,c){var e=this,g=a.element,h=a.classNames,i=a.attrs,j=new l(a,b,c);if(f.isPresent(g)){var k=0===i.length&&0===h.length;k?this._addTerminal(e._elementMap,g,j):e=this._addPartial(e._elementPartialMap,g)}if(f.isPresent(h))for(var m=0;m<h.length;m++){var k=0===i.length&&m===h.length-1,n=h[m];k?this._addTerminal(e._classMap,n,j):e=this._addPartial(e._classPartialMap,n)}if(f.isPresent(i))for(var m=0;m<i.length;){var k=m===i.length-2,o=i[m++],p=i[m++];if(k){var q=e._attrValueMap,r=q.get(o);f.isBlank(r)&&(r=new d.Map,q.set(o,r)),this._addTerminal(r,p,j)}else{var s=e._attrValuePartialMap,t=s.get(o);f.isBlank(t)&&(t=new d.Map,s.set(o,t)),e=this._addPartial(t,p)}}},a.prototype._addTerminal=function(a,b,c){var d=a.get(b);f.isBlank(d)&&(d=[],a.set(b,d)),d.push(c)},a.prototype._addPartial=function(b,c){var d=b.get(c);return f.isBlank(d)&&(d=new a,b.set(c,d)),d},a.prototype.match=function(a,b){for(var c=!1,d=a.element,e=a.classNames,h=a.attrs,i=0;i<this._listContexts.length;i++)this._listContexts[i].alreadyMatched=!1;if(c=this._matchTerminal(this._elementMap,d,a,b)||c,c=this._matchPartial(this._elementPartialMap,d,a,b)||c,f.isPresent(e))for(var j=0;j<e.length;j++){var k=e[j];c=this._matchTerminal(this._classMap,k,a,b)||c,c=this._matchPartial(this._classPartialMap,k,a,b)||c}if(f.isPresent(h))for(var j=0;j<h.length;){var l=h[j++],m=h[j++],n=this._attrValueMap.get(l);f.StringWrapper.equals(m,g)||(c=this._matchTerminal(n,g,a,b)||c),c=this._matchTerminal(n,m,a,b)||c;var o=this._attrValuePartialMap.get(l);f.StringWrapper.equals(m,g)||(c=this._matchPartial(o,g,a,b)||c),c=this._matchPartial(o,m,a,b)||c}return c},a.prototype._matchTerminal=function(a,b,c,d){if(f.isBlank(a)||f.isBlank(b))return!1;var e=a.get(b),g=a.get("*");if(f.isPresent(g)&&(e=e.concat(g)),f.isBlank(e))return!1;for(var h,i=!1,j=0;j<e.length;j++)h=e[j],i=h.finalize(c,d)||i;return i},a.prototype._matchPartial=function(a,b,c,d){if(f.isBlank(a)||f.isBlank(b))return!1;var e=a.get(b);return f.isBlank(e)?!1:e.match(c,d)},a}();b.SelectorMatcher=j;var k=function(){function a(a){this.selectors=a,this.alreadyMatched=!1}return a}();b.SelectorListContext=k;var l=function(){function a(a,b,c){this.selector=a,this.cbContext=b,this.listContext=c,this.notSelectors=a.notSelectors}return a.prototype.finalize=function(a,b){var c=!0;if(this.notSelectors.length>0&&(f.isBlank(this.listContext)||!this.listContext.alreadyMatched)){var d=j.createNotMatcher(this.notSelectors);c=!d.match(a,null)}return c&&f.isPresent(b)&&(f.isBlank(this.listContext)||!this.listContext.alreadyMatched)&&(f.isPresent(this.listContext)&&(this.listContext.alreadyMatched=!0),b(this.selector,this.cbContext)),c},a}();b.SelectorContext=l}(a("45")),c.exports}),a.registerDynamic("31",["9","1f"],!0,function(a,b,c){"use strict";function d(){return new o}function e(){return new o(n)}function f(a){var b=h(a);return b&&b[p.Scheme]||""}function g(a,b,c,d,e,f,g){var h=[];return m.isPresent(a)&&h.push(a+":"),m.isPresent(c)&&(h.push("//"),m.isPresent(b)&&h.push(b+"@"),h.push(c),m.isPresent(d)&&h.push(":"+d)),m.isPresent(e)&&h.push(e),m.isPresent(f)&&h.push("?"+f),m.isPresent(g)&&h.push("#"+g),h.join("")}function h(a){return m.RegExpWrapper.firstMatch(q,a)}function i(a){if("/"==a)return"/";for(var b="/"==a[0]?"/":"",c="/"===a[a.length-1]?"/":"",d=a.split("/"),e=[],f=0,g=0;g<d.length;g++){var h=d[g];switch(h){case"":case".":break;case"..":e.length>0?e.pop():f++;break;default:e.push(h)}}if(""==b){for(;f-- >0;)e.unshift("..");0===e.length&&e.push(".")}return b+e.join("/")+c}function j(a){var b=a[p.Path];return b=m.isBlank(b)?"":i(b),a[p.Path]=b,g(a[p.Scheme],a[p.UserInfo],a[p.Domain],a[p.Port],b,a[p.QueryData],a[p.Fragment])}function k(a,b){var c=h(encodeURI(b)),d=h(a);if(m.isPresent(c[p.Scheme]))return j(c);c[p.Scheme]=d[p.Scheme];for(var e=p.Scheme;e<=p.Port;e++)m.isBlank(c[e])&&(c[e]=d[e]);if("/"==c[p.Path][0])return j(c);var f=d[p.Path];m.isBlank(f)&&(f="/");var g=f.lastIndexOf("/");return f=f.substring(0,g+1)+c[p.Path],c[p.Path]=f,j(c)}var l=a("9"),m=a("1f"),n="asset:";b.createUrlResolverWithoutPackagePrefix=d,b.createOfflineCompileUrlResolver=e,b.DEFAULT_PACKAGE_URL_PROVIDER={provide:l.PACKAGE_ROOT_URL,useValue:"/"};var o=function(){function a(a){void 0===a&&(a=null),this._packagePrefix=a}return a.prototype.resolve=function(a,b){var c=b;m.isPresent(a)&&a.length>0&&(c=k(a,c));var d=h(c),e=this._packagePrefix;if(m.isPresent(e)&&m.isPresent(d)&&"package"==d[p.Scheme]){var f=d[p.Path];if(this._packagePrefix!==n)return e=m.StringWrapper.stripRight(e,"/"),f=m.StringWrapper.stripLeft(f,"/"),e+"/"+f;var g=f.split(/\//);c="asset:"+g[0]+"/lib/"+g.slice(1).join("/")}return c},a.decorators=[{type:l.Injectable}],a.ctorParameters=[{type:void 0,decorators:[{type:l.Inject,args:[l.PACKAGE_ROOT_URL]}]}],a}();b.UrlResolver=o,b.getUrlScheme=f;var p,q=m.RegExpWrapper.create("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");return function(a){a[a.Scheme=1]="Scheme",a[a.UserInfo=2]="UserInfo",a[a.Domain=3]="Domain",a[a.Port=4]="Port",a[a.Path=5]="Path",a[a.QueryData=6]="QueryData",a[a.Fragment=7]="Fragment"}(p||(p={})),c.exports}),a.registerDynamic("18",["9","26","19","1a","1f","52","31","1c"],!0,function(a,b,c){"use strict";function d(a){return U[a["class"]](a)}function e(a,b){var c=q.CssSelector.parse(b)[0].getMatchingElementTemplate();return S.create({type:new O({runtime:Object,name:a.name+"_Host",moduleUrl:a.moduleUrl,isHost:!0}),template:new R({template:c,templateUrl:"",styles:[],styleUrls:[],ngContentSelectors:[],animations:[]}),changeDetection:l.ChangeDetectionStrategy.Default,inputs:[],outputs:[],host:{},lifecycleHooks:[],isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],viewQueries:[]})}function f(a,b){return p.isBlank(a)?null:a.map(function(a){return h(a,b)})}function g(a){return p.isBlank(a)?null:a.map(i)}function h(a,b){return p.isArray(a)?f(a,b):p.isString(a)||p.isBlank(a)||p.isBoolean(a)||p.isNumber(a)?a:b(a)}function i(a){return p.isArray(a)?g(a):p.isString(a)||p.isBlank(a)||p.isBoolean(a)||p.isNumber(a)?a:a.toJson()}function j(a){return p.isPresent(a)?a:[]}var k=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},l=a("9"),m=a("26"),n=a("19"),o=a("1a"),p=a("1f"),q=a("52"),r=a("31"),s=a("1c"),t=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))$/g,u=function(){function a(){}return Object.defineProperty(a.prototype,"identifier",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),a}();b.CompileMetadataWithIdentifier=u;var v=function(a){function b(){a.apply(this,arguments)}return k(b,a),Object.defineProperty(b.prototype,"type",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"identifier",{get:function(){return o.unimplemented()},enumerable:!0,configurable:!0}),b}(u);b.CompileMetadataWithType=v,b.metadataFromJson=d;var w=function(){function a(a,b){void 0===a&&(a=null),void 0===b&&(b=null),this.name=a,this.definitions=b}return a.fromJson=function(b){var c=b.value,e=f(c.definitions,d);return new a(c.name,e)},a.prototype.toJson=function(){return{"class":"AnimationEntryMetadata",value:{name:this.name,definitions:g(this.definitions)}}},a}();b.CompileAnimationEntryMetadata=w;var x=function(){function a(){}return a}();b.CompileAnimationStateMetadata=x;var y=function(a){function b(b,c){a.call(this),this.stateNameExpr=b,this.styles=c}return k(b,a),b.fromJson=function(a){var c=a.value,e=h(c.styles,d);return new b(c.stateNameExpr,e)},b.prototype.toJson=function(){return{"class":"AnimationStateDeclarationMetadata",value:{stateNameExpr:this.stateNameExpr,styles:this.styles.toJson()}}},b}(x);b.CompileAnimationStateDeclarationMetadata=y;var z=function(a){function b(b,c){a.call(this),
|
||
this.stateChangeExpr=b,this.steps=c}return k(b,a),b.fromJson=function(a){var c=a.value,e=h(c.steps,d);return new b(c.stateChangeExpr,e)},b.prototype.toJson=function(){return{"class":"AnimationStateTransitionMetadata",value:{stateChangeExpr:this.stateChangeExpr,steps:this.steps.toJson()}}},b}(x);b.CompileAnimationStateTransitionMetadata=z;var A=function(){function a(){}return a}();b.CompileAnimationMetadata=A;var B=function(a){function b(b){void 0===b&&(b=[]),a.call(this),this.steps=b}return k(b,a),b.fromJson=function(a){var c=f(a.value,d);return new b(c)},b.prototype.toJson=function(){return{"class":"AnimationKeyframesSequenceMetadata",value:g(this.steps)}},b}(A);b.CompileAnimationKeyframesSequenceMetadata=B;var C=function(a){function b(b,c){void 0===c&&(c=null),a.call(this),this.offset=b,this.styles=c}return k(b,a),b.fromJson=function(a){var c=a.value,d=c.offset,e=p.isPresent(d)?p.NumberWrapper.parseFloat(d):null,f=c.styles;return new b(e,f)},b.prototype.toJson=function(){return{"class":"AnimationStyleMetadata",value:{offset:this.offset,styles:this.styles}}},b}(A);b.CompileAnimationStyleMetadata=C;var D=function(a){function b(b,c){void 0===b&&(b=0),void 0===c&&(c=null),a.call(this),this.timings=b,this.styles=c}return k(b,a),b.fromJson=function(a){var c=a.value,e=c.timings,f=h(c.styles,d);return new b(e,f)},b.prototype.toJson=function(){return{"class":"AnimationAnimateMetadata",value:{timings:this.timings,styles:i(this.styles)}}},b}(A);b.CompileAnimationAnimateMetadata=D;var E=function(a){function b(b){void 0===b&&(b=null),a.call(this),this.steps=b}return k(b,a),b}(A);b.CompileAnimationWithStepsMetadata=E;var F=function(a){function b(b){void 0===b&&(b=null),a.call(this,b)}return k(b,a),b.fromJson=function(a){var c=f(a.value,d);return new b(c)},b.prototype.toJson=function(){return{"class":"AnimationSequenceMetadata",value:g(this.steps)}},b}(E);b.CompileAnimationSequenceMetadata=F;var G=function(a){function b(b){void 0===b&&(b=null),a.call(this,b)}return k(b,a),b.fromJson=function(a){var c=f(a.value,d);return new b(c)},b.prototype.toJson=function(){return{"class":"AnimationGroupMetadata",value:g(this.steps)}},b}(E);b.CompileAnimationGroupMetadata=G;var H=function(){function a(a){var b=void 0===a?{}:a,c=b.runtime,d=b.name,e=b.moduleUrl,f=b.prefix,g=b.value;this.runtime=c,this.name=d,this.prefix=f,this.moduleUrl=e,this.value=g}return a.fromJson=function(b){var c=p.isArray(b.value)?f(b.value,d):h(b.value,d);return new a({name:b.name,prefix:b.prefix,moduleUrl:b.moduleUrl,value:c})},a.prototype.toJson=function(){var a=p.isArray(this.value)?g(this.value):i(this.value);return{"class":"Identifier",name:this.name,moduleUrl:this.moduleUrl,prefix:this.prefix,value:a}},Object.defineProperty(a.prototype,"identifier",{get:function(){return this},enumerable:!0,configurable:!0}),a}();b.CompileIdentifierMetadata=H;var I=function(){function a(a){var b=void 0===a?{}:a,c=b.isAttribute,d=b.isSelf,e=b.isHost,f=b.isSkipSelf,g=b.isOptional,h=b.isValue,i=b.query,j=b.viewQuery,k=b.token,l=b.value;this.isAttribute=p.normalizeBool(c),this.isSelf=p.normalizeBool(d),this.isHost=p.normalizeBool(e),this.isSkipSelf=p.normalizeBool(f),this.isOptional=p.normalizeBool(g),this.isValue=p.normalizeBool(h),this.query=i,this.viewQuery=j,this.token=k,this.value=l}return a.fromJson=function(b){return new a({token:h(b.token,M.fromJson),query:h(b.query,P.fromJson),viewQuery:h(b.viewQuery,P.fromJson),value:b.value,isAttribute:b.isAttribute,isSelf:b.isSelf,isHost:b.isHost,isSkipSelf:b.isSkipSelf,isOptional:b.isOptional,isValue:b.isValue})},a.prototype.toJson=function(){return{token:i(this.token),query:i(this.query),viewQuery:i(this.viewQuery),value:this.value,isAttribute:this.isAttribute,isSelf:this.isSelf,isHost:this.isHost,isSkipSelf:this.isSkipSelf,isOptional:this.isOptional,isValue:this.isValue}},a}();b.CompileDiDependencyMetadata=I;var J=function(){function a(a){var b=a.token,c=a.useClass,d=a.useValue,e=a.useExisting,f=a.useFactory,g=a.deps,h=a.multi;this.token=b,this.useClass=c,this.useValue=d,this.useExisting=e,this.useFactory=f,this.deps=p.normalizeBlank(g),this.multi=p.normalizeBool(h)}return a.fromJson=function(b){return new a({token:h(b.token,M.fromJson),useClass:h(b.useClass,O.fromJson),useExisting:h(b.useExisting,M.fromJson),useValue:h(b.useValue,H.fromJson),useFactory:h(b.useFactory,K.fromJson),multi:b.multi,deps:f(b.deps,I.fromJson)})},a.prototype.toJson=function(){return{"class":"Provider",token:i(this.token),useClass:i(this.useClass),useExisting:i(this.useExisting),useValue:i(this.useValue),useFactory:i(this.useFactory),multi:this.multi,deps:g(this.deps)}},a}();b.CompileProviderMetadata=J;var K=function(){function a(a){var b=a.runtime,c=a.name,d=a.moduleUrl,e=a.prefix,f=a.diDeps,g=a.value;this.runtime=b,this.name=c,this.prefix=e,this.moduleUrl=d,this.diDeps=j(f),this.value=g}return Object.defineProperty(a.prototype,"identifier",{get:function(){return this},enumerable:!0,configurable:!0}),a.fromJson=function(b){return new a({name:b.name,prefix:b.prefix,moduleUrl:b.moduleUrl,value:b.value,diDeps:f(b.diDeps,I.fromJson)})},a.prototype.toJson=function(){return{"class":"Factory",name:this.name,prefix:this.prefix,moduleUrl:this.moduleUrl,value:this.value,diDeps:g(this.diDeps)}},a}();b.CompileFactoryMetadata=K;var L=new Object,M=function(){function a(a){var b=a.value,c=a.identifier,d=a.identifierIsInstance;this._assetCacheKey=L,this.value=b,this.identifier=c,this.identifierIsInstance=p.normalizeBool(d)}return a.fromJson=function(b){return new a({value:b.value,identifier:h(b.identifier,H.fromJson),identifierIsInstance:b.identifierIsInstance})},a.prototype.toJson=function(){return{value:this.value,identifier:i(this.identifier),identifierIsInstance:this.identifierIsInstance}},Object.defineProperty(a.prototype,"runtimeCacheKey",{get:function(){return p.isPresent(this.identifier)?this.identifier.runtime:this.value},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"assetCacheKey",{get:function(){if(this._assetCacheKey===L)if(p.isPresent(this.identifier))if(p.isPresent(this.identifier.moduleUrl)&&p.isPresent(r.getUrlScheme(this.identifier.moduleUrl))){var a=m.reflector.importUri({filePath:this.identifier.moduleUrl,name:this.identifier.name});this._assetCacheKey=this.identifier.name+"|"+a+"|"+this.identifierIsInstance}else this._assetCacheKey=null;else this._assetCacheKey=this.value;return this._assetCacheKey},enumerable:!0,configurable:!0}),a.prototype.equalsTo=function(a){var b=this.runtimeCacheKey,c=this.assetCacheKey;return p.isPresent(b)&&b==a.runtimeCacheKey||p.isPresent(c)&&c==a.assetCacheKey},Object.defineProperty(a.prototype,"name",{get:function(){return p.isPresent(this.value)?s.sanitizeIdentifier(this.value):this.identifier.name},enumerable:!0,configurable:!0}),a}();b.CompileTokenMetadata=M;var N=function(){function a(){this._valueMap=new Map,this._values=[]}return a.prototype.add=function(a,b){var c=this.get(a);if(p.isPresent(c))throw new o.BaseException("Can only add to a TokenMap! Token: "+a.name);this._values.push(b);var d=a.runtimeCacheKey;p.isPresent(d)&&this._valueMap.set(d,b);var e=a.assetCacheKey;p.isPresent(e)&&this._valueMap.set(e,b)},a.prototype.get=function(a){var b,c=a.runtimeCacheKey,d=a.assetCacheKey;return p.isPresent(c)&&(b=this._valueMap.get(c)),p.isBlank(b)&&p.isPresent(d)&&(b=this._valueMap.get(d)),b},a.prototype.values=function(){return this._values},Object.defineProperty(a.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),a}();b.CompileTokenMap=N;var O=function(){function a(a){var b=void 0===a?{}:a,c=b.runtime,d=b.name,e=b.moduleUrl,f=b.prefix,g=b.isHost,h=b.value,i=b.diDeps;this.runtime=c,this.name=d,this.moduleUrl=e,this.prefix=f,this.isHost=p.normalizeBool(g),this.value=h,this.diDeps=j(i)}return a.fromJson=function(b){return new a({name:b.name,moduleUrl:b.moduleUrl,prefix:b.prefix,isHost:b.isHost,value:b.value,diDeps:f(b.diDeps,I.fromJson)})},Object.defineProperty(a.prototype,"identifier",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"type",{get:function(){return this},enumerable:!0,configurable:!0}),a.prototype.toJson=function(){return{"class":"Type",name:this.name,moduleUrl:this.moduleUrl,prefix:this.prefix,isHost:this.isHost,value:this.value,diDeps:g(this.diDeps)}},a}();b.CompileTypeMetadata=O;var P=function(){function a(a){var b=void 0===a?{}:a,c=b.selectors,d=b.descendants,e=b.first,f=b.propertyName,g=b.read;this.selectors=c,this.descendants=p.normalizeBool(d),this.first=p.normalizeBool(e),this.propertyName=f,this.read=g}return a.fromJson=function(b){return new a({selectors:f(b.selectors,M.fromJson),descendants:b.descendants,first:b.first,propertyName:b.propertyName,read:h(b.read,M.fromJson)})},a.prototype.toJson=function(){return{selectors:g(this.selectors),descendants:this.descendants,first:this.first,propertyName:this.propertyName,read:i(this.read)}},a}();b.CompileQueryMetadata=P;var Q=function(){function a(a){var b=void 0===a?{}:a,c=b.moduleUrl,d=b.styles,e=b.styleUrls;this.moduleUrl=c,this.styles=j(d),this.styleUrls=j(e)}return a.fromJson=function(b){return new a({moduleUrl:b.moduleUrl,styles:b.styles,styleUrls:b.styleUrls})},a.prototype.toJson=function(){return{moduleUrl:this.moduleUrl,styles:this.styles,styleUrls:this.styleUrls}},a}();b.CompileStylesheetMetadata=Q;var R=function(){function a(a){var b=void 0===a?{}:a,c=b.encapsulation,d=b.template,e=b.templateUrl,f=b.styles,g=b.styleUrls,h=b.externalStylesheets,i=b.animations,k=b.ngContentSelectors,l=b.interpolation;if(this.encapsulation=c,this.template=d,this.templateUrl=e,this.styles=j(f),this.styleUrls=j(g),this.externalStylesheets=j(h),this.animations=p.isPresent(i)?n.ListWrapper.flatten(i):[],this.ngContentSelectors=p.isPresent(k)?k:[],p.isPresent(l)&&2!=l.length)throw new o.BaseException("'interpolation' should have a start and an end symbol.");this.interpolation=l}return a.fromJson=function(b){var c=f(b.animations,d);return new a({encapsulation:p.isPresent(b.encapsulation)?m.VIEW_ENCAPSULATION_VALUES[b.encapsulation]:b.encapsulation,template:b.template,templateUrl:b.templateUrl,styles:b.styles,styleUrls:b.styleUrls,externalStylesheets:f(b.externalStylesheets,Q.fromJson),animations:c,ngContentSelectors:b.ngContentSelectors,interpolation:b.interpolation})},a.prototype.toJson=function(){return{encapsulation:p.isPresent(this.encapsulation)?p.serializeEnum(this.encapsulation):this.encapsulation,template:this.template,templateUrl:this.templateUrl,styles:this.styles,styleUrls:this.styleUrls,externalStylesheets:i(this.externalStylesheets),animations:i(this.animations),ngContentSelectors:this.ngContentSelectors,interpolation:this.interpolation}},a}();b.CompileTemplateMetadata=R;var S=function(){function a(a){var b=void 0===a?{}:a,c=b.type,d=b.isComponent,e=b.selector,f=b.exportAs,g=b.changeDetection,h=b.inputs,i=b.outputs,k=b.hostListeners,l=b.hostProperties,m=b.hostAttributes,n=b.lifecycleHooks,o=b.providers,p=b.viewProviders,q=b.queries,r=b.viewQueries,s=b.precompile,t=b.template;this.type=c,this.isComponent=d,this.selector=e,this.exportAs=f,this.changeDetection=g,this.inputs=h,this.outputs=i,this.hostListeners=k,this.hostProperties=l,this.hostAttributes=m,this.lifecycleHooks=j(n),this.providers=j(o),this.viewProviders=j(p),this.queries=j(q),this.viewQueries=j(r),this.precompile=j(s),this.template=t}return a.create=function(b){var c=void 0===b?{}:b,d=c.type,e=c.isComponent,f=c.selector,g=c.exportAs,h=c.changeDetection,i=c.inputs,j=c.outputs,k=c.host,l=c.lifecycleHooks,m=c.providers,o=c.viewProviders,q=c.queries,r=c.viewQueries,u=c.precompile,v=c.template,w={},x={},y={};p.isPresent(k)&&n.StringMapWrapper.forEach(k,function(a,b){var c=p.RegExpWrapper.firstMatch(t,b);p.isBlank(c)?y[b]=a:p.isPresent(c[1])?x[c[1]]=a:p.isPresent(c[2])&&(w[c[2]]=a)});var z={};p.isPresent(i)&&i.forEach(function(a){var b=s.splitAtColon(a,[a,a]);z[b[0]]=b[1]});var A={};return p.isPresent(j)&&j.forEach(function(a){var b=s.splitAtColon(a,[a,a]);A[b[0]]=b[1]}),new a({type:d,isComponent:p.normalizeBool(e),selector:f,exportAs:g,changeDetection:h,inputs:z,outputs:A,hostListeners:w,hostProperties:x,hostAttributes:y,lifecycleHooks:p.isPresent(l)?l:[],providers:m,viewProviders:o,queries:q,viewQueries:r,precompile:u,template:v})},Object.defineProperty(a.prototype,"identifier",{get:function(){return this.type},enumerable:!0,configurable:!0}),a.fromJson=function(b){return new a({isComponent:b.isComponent,selector:b.selector,exportAs:b.exportAs,type:p.isPresent(b.type)?O.fromJson(b.type):b.type,changeDetection:p.isPresent(b.changeDetection)?m.CHANGE_DETECTION_STRATEGY_VALUES[b.changeDetection]:b.changeDetection,inputs:b.inputs,outputs:b.outputs,hostListeners:b.hostListeners,hostProperties:b.hostProperties,hostAttributes:b.hostAttributes,lifecycleHooks:b.lifecycleHooks.map(function(a){return m.LIFECYCLE_HOOKS_VALUES[a]}),template:p.isPresent(b.template)?R.fromJson(b.template):b.template,providers:f(b.providers,d),viewProviders:f(b.viewProviders,d),queries:f(b.queries,P.fromJson),viewQueries:f(b.viewQueries,P.fromJson),precompile:f(b.precompile,O.fromJson)})},a.prototype.toJson=function(){return{"class":"Directive",isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,type:p.isPresent(this.type)?this.type.toJson():this.type,changeDetection:p.isPresent(this.changeDetection)?p.serializeEnum(this.changeDetection):this.changeDetection,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,lifecycleHooks:this.lifecycleHooks.map(function(a){return p.serializeEnum(a)}),template:p.isPresent(this.template)?this.template.toJson():this.template,providers:g(this.providers),viewProviders:g(this.viewProviders),queries:g(this.queries),viewQueries:g(this.viewQueries),precompile:g(this.precompile)}},a}();b.CompileDirectiveMetadata=S,b.createHostComponentMeta=e;var T=function(){function a(a){var b=void 0===a?{}:a,c=b.type,d=b.name,e=b.pure,f=b.lifecycleHooks;this.type=c,this.name=d,this.pure=p.normalizeBool(e),this.lifecycleHooks=j(f)}return Object.defineProperty(a.prototype,"identifier",{get:function(){return this.type},enumerable:!0,configurable:!0}),a.fromJson=function(b){return new a({type:p.isPresent(b.type)?O.fromJson(b.type):b.type,name:b.name,pure:b.pure})},a.prototype.toJson=function(){return{"class":"Pipe",type:p.isPresent(this.type)?this.type.toJson():null,name:this.name,pure:this.pure}},a}();b.CompilePipeMetadata=T;var U={Directive:S.fromJson,Pipe:T.fromJson,Type:O.fromJson,Provider:J.fromJson,Identifier:H.fromJson,Factory:K.fromJson,AnimationEntryMetadata:w.fromJson,AnimationStateDeclarationMetadata:y.fromJson,AnimationStateTransitionMetadata:z.fromJson,AnimationSequenceMetadata:F.fromJson,AnimationGroupMetadata:G.fromJson,AnimationAnimateMetadata:D.fromJson,AnimationStyleMetadata:C.fromJson,AnimationKeyframesSequenceMetadata:B.fromJson};return c.exports}),a.registerDynamic("19",["1f"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c<a.length;c++){var e=a[c];h.isArray(e)?d(e,b):b.push(e)}return b}function e(a){return h.isJsObject(a)?h.isArray(a)||!(a instanceof b.Map)&&h.getSymbolIterator()in a:!1}function f(a,b,c){for(var d=a[h.getSymbolIterator()](),e=b[h.getSymbolIterator()]();;){var f=d.next(),g=e.next();if(f.done&&g.done)return!0;if(f.done||g.done)return!1;if(!c(f.value,g.value))return!1}}function g(a,b){if(h.isArray(a))for(var c=0;c<a.length;c++)b(a[c]);else for(var d,e=a[h.getSymbolIterator()]();!(d=e.next()).done;)b(d.value)}var h=a("1f");b.Map=h.global.Map,b.Set=h.global.Set;var i=function(){try{if(1===new b.Map([[1,2]]).size)return function(a){return new b.Map(a)}}catch(a){}return function(a){for(var c=new b.Map,d=0;d<a.length;d++){var e=a[d];c.set(e[0],e[1])}return c}}(),j=function(){try{if(new b.Map(new b.Map))return function(a){return new b.Map(a)}}catch(a){}return function(a){var c=new b.Map;return a.forEach(function(a,b){c.set(b,a)}),c}}(),k=function(){return(new b.Map).keys().next?function(a){for(var b,c=a.keys();!(b=c.next()).done;)a.set(b.value,null)}:function(a){a.forEach(function(b,c){a.set(c,null)})}}(),l=function(){try{if((new b.Map).values().next)return function(a,b){return b?Array.from(a.values()):Array.from(a.keys())}}catch(a){}return function(a,b){var c=o.createFixedSize(a.size),d=0;return a.forEach(function(a,e){c[d]=b?a:e,d++}),c}}(),m=function(){function a(){}return a.clone=function(a){return j(a)},a.createFromStringMap=function(a){var c=new b.Map;for(var d in a)c.set(d,a[d]);return c},a.toStringMap=function(a){var b={};return a.forEach(function(a,c){return b[c]=a}),b},a.createFromPairs=function(a){return i(a)},a.clearValues=function(a){k(a)},a.iterable=function(a){return a},a.keys=function(a){return l(a,!1)},a.values=function(a){return l(a,!0)},a}();b.MapWrapper=m;var n=function(){function a(){}return a.create=function(){return{}},a.contains=function(a,b){return a.hasOwnProperty(b)},a.get=function(a,b){return a.hasOwnProperty(b)?a[b]:void 0},a.set=function(a,b,c){a[b]=c},a.keys=function(a){return Object.keys(a)},a.values=function(a){return Object.keys(a).reduce(function(b,c){return b.push(a[c]),b},[])},a.isEmpty=function(a){for(var b in a)return!1;return!0},a["delete"]=function(a,b){delete a[b]},a.forEach=function(a,b){for(var c in a)a.hasOwnProperty(c)&&b(a[c],c)},a.merge=function(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);return c},a.equals=function(a,b){var c=Object.keys(a),d=Object.keys(b);if(c.length!=d.length)return!1;for(var e,f=0;f<c.length;f++)if(e=c[f],a[e]!==b[e])return!1;return!0},a}();b.StringMapWrapper=n;var o=function(){function a(){}return a.createFixedSize=function(a){return new Array(a)},a.createGrowableSize=function(a){return new Array(a)},a.clone=function(a){return a.slice(0)},a.forEachWithIndex=function(a,b){for(var c=0;c<a.length;c++)b(a[c],c)},a.first=function(a){return a?a[0]:null},a.last=function(a){return a&&0!=a.length?a[a.length-1]:null},a.indexOf=function(a,b,c){return void 0===c&&(c=0),a.indexOf(b,c)},a.contains=function(a,b){return-1!==a.indexOf(b)},a.reversed=function(b){var c=a.clone(b);return c.reverse()},a.concat=function(a,b){return a.concat(b)},a.insert=function(a,b,c){a.splice(b,0,c)},a.removeAt=function(a,b){var c=a[b];return a.splice(b,1),c},a.removeAll=function(a,b){for(var c=0;c<b.length;++c){var d=a.indexOf(b[c]);a.splice(d,1)}},a.remove=function(a,b){var c=a.indexOf(b);return c>-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;c<a.length;++c)if(a[c]!==b[c])return!1;return!0},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.splice=function(a,b,c){return a.splice(b,c)},a.sort=function(a,b){h.isPresent(b)?a.sort(b):a.sort()},a.toString=function(a){return a.toString()},a.toJSON=function(a){return JSON.stringify(a)},a.maximum=function(a,b){if(0==a.length)return null;for(var c=null,d=-(1/0),e=0;e<a.length;e++){var f=a[e];if(!h.isBlank(f)){var g=b(f);g>d&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c<b.length;c++)a.push(b[c])},a}();b.ListWrapper=o,b.isListLikeIterable=e,b.areIterablesEqual=f,b.iterateListLike=g;var p=function(){var a=new b.Set([1,2,3]);return 3===a.size?function(a){return new b.Set(a)}:function(a){var c=new b.Set(a);if(c.size!==a.length)for(var d=0;d<a.length;d++)c.add(a[d]);return c}}(),q=function(){function a(){}return a.createFromList=function(a){return p(a)},a.has=function(a,b){return a.has(b)},a["delete"]=function(a,b){a["delete"](b)},a}();return b.SetWrapper=q,c.exports}),a.registerDynamic("1f",[],!0,function(a,b,c){"use strict";function d(a){Zone.current.scheduleMicroTask("scheduleMicrotask",a)}function e(a){return a.name?a.name:typeof a}function f(a){return void 0!==a&&null!==a}function g(a){return void 0===a||null===a}function h(a){return"boolean"==typeof a}function i(a){return"number"==typeof a}function j(a){return"string"==typeof a}function k(a){return"function"==typeof a}function l(a){return k(a)}function m(a){return"object"==typeof a&&null!==a}function n(a){return m(a)&&Object.getPrototypeOf(a)===O}function o(a){return a instanceof N.Promise}function p(a){return Array.isArray(a)}function q(a){return a instanceof b.Date&&!isNaN(a.valueOf())}function r(){}function s(a){if("string"==typeof a)return a;if(void 0===a||null===a)return""+a;if(a.name)return a.name;if(a.overriddenName)return a.overriddenName;var b=a.toString(),c=b.indexOf("\n");return-1===c?b:b.substring(0,c)}function t(a){return a}function u(a,b){return a}function v(a,b){return a[b]}function w(a,b){return a===b||"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b)}function x(a){return a}function y(a){return g(a)?null:a}function z(a){return g(a)?!1:a}function A(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function B(a){console.log(a)}function C(a){console.warn(a)}function D(a,b,c){for(var d=b.split("."),e=a;d.length>1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b<a.length;++b){var c=a[b];"entries"!==c&&"size"!==c&&Map.prototype[c]===Map.prototype.entries&&(Y=c)}return Y}function F(a,b,c,d){var e=c+"\nreturn "+b+"\n//# sourceURL="+a,f=[],g=[];for(var h in d)f.push(h),g.push(d[h]);return(new(Function.bind.apply(Function,[void 0].concat(f.concat(e))))).apply(void 0,g)}function G(a){return!A(a)}function H(a,b){return a.constructor===b}function I(a){return N.encodeURI(a)}function J(a){return a.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var K,L=this,M=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)};K="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:L:window,b.scheduleMicroTask=d,b.IS_DART=!1;var N=K;b.global=N,b.Type=Function,b.getTypeNameForDebugging=e,b.Math=N.Math,b.Date=N.Date,N.assert=function(a){},b.isPresent=f,b.isBlank=g,b.isBoolean=h,b.isNumber=i,b.isString=j,b.isFunction=k,b.isType=l,b.isStringMap=m;var O=Object.getPrototypeOf({});b.isStrictStringMap=n,b.isPromise=o,b.isArray=p,b.isDate=q,b.noop=r,b.stringify=s,b.serializeEnum=t,b.deserializeEnum=u,b.resolveEnumToken=v;var P=function(){function a(){}return a.fromCharCode=function(a){return String.fromCharCode(a)},a.charCodeAt=function(a,b){return a.charCodeAt(b)},a.split=function(a,b){return a.split(b)},a.equals=function(a,b){return a===b},a.stripLeft=function(a,b){if(a&&a.length){for(var c=0,d=0;d<a.length&&a[d]==b;d++)c++;a=a.substring(c)}return a},a.stripRight=function(a,b){if(a&&a.length){for(var c=a.length,d=a.length-1;d>=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return a.splice(-2,2),c(a)})},a.contains=function(a,b){return-1!=a.indexOf(b)},a.compare=function(a,b){return b>a?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("1c",["19","1f"],!0,function(a,b,c){"use strict";function d(a){return j.StringWrapper.replaceAllMapped(a,k,function(a){return"-"+a[1].toLowerCase()})}function e(a,b){var c=j.StringWrapper.split(a.trim(),/\s*:\s*/g);return c.length>1?c:b}function f(a){return j.StringWrapper.replaceAll(a,/\W/g,"_")}function g(a,b,c){return j.isArray(a)?b.visitArray(a,c):j.isStrictStringMap(a)?b.visitStringMap(a,c):j.isBlank(a)||j.isPrimitive(a)?b.visitPrimitive(a,c):b.visitOther(a,c)}function h(a,b,c){return void 0===b&&(b=null),void 0===c&&(c="src"),j.IS_DART?null==b?"asset:angular2/"+a+"/"+a+".dart":"asset:angular2/lib/"+a+"/src/"+b+".dart":null==b?"asset:@angular/lib/"+a+"/index":"asset:@angular/lib/"+a+"/src/"+b}var i=a("19"),j=a("1f");b.MODULE_SUFFIX=j.IS_DART?".dart":"";var k=/([A-Z])/g;b.camelCaseToDashCase=d,b.splitAtColon=e,b.sanitizeIdentifier=f,b.visitValue=g;var l=function(){function a(){}return a.prototype.visitArray=function(a,b){var c=this;return a.map(function(a){return g(a,c,b)})},a.prototype.visitStringMap=function(a,b){var c=this,d={};return i.StringMapWrapper.forEach(a,function(a,e){d[e]=g(a,c,b)}),d},a.prototype.visitPrimitive=function(a,b){return a},a.prototype.visitOther=function(a,b){return a},a}();return b.ValueTransformer=l,b.assetUrl=h,c.exports}),a.registerDynamic("51",["9","26","18","1c"],!0,function(a,b,c){"use strict";function d(a){return new g.CompileTokenMetadata({identifier:a})}var e=a("9"),f=a("26"),g=a("18"),h=a("1c"),i=h.assetUrl("core","linker/view"),j=h.assetUrl("core","linker/view_utils"),k=h.assetUrl("core","change_detection/change_detection"),l=f.ViewUtils,m=f.AppView,n=f.DebugAppView,o=f.DebugContext,p=f.AppElement,q=e.ElementRef,r=e.ViewContainerRef,s=e.ChangeDetectorRef,t=e.RenderComponentType,u=e.QueryList,v=e.TemplateRef,w=f.TemplateRef_,x=f.ValueUnwrapper,y=e.Injector,z=e.ViewEncapsulation,A=f.ViewType,B=e.ChangeDetectionStrategy,C=f.StaticNodeDebugInfo,D=e.Renderer,E=e.SimpleChange,F=f.uninitialized,G=f.ChangeDetectorStatus,H=f.flattenNestedViewRenderNodes,I=f.devModeEqual,J=f.interpolate,K=f.checkBinding,L=f.castByValue,M=f.EMPTY_ARRAY,N=f.EMPTY_MAP,O=f.AnimationGroupPlayer,P=f.AnimationSequencePlayer,Q=f.AnimationKeyframe,R=f.AnimationStyles,S=f.NoOpAnimationPlayer,T=h.assetUrl("core","animation/animation_style_util"),U=function(){function a(){}return a.ViewUtils=new g.CompileIdentifierMetadata({name:"ViewUtils",moduleUrl:h.assetUrl("core","linker/view_utils"),runtime:l}),a.AppView=new g.CompileIdentifierMetadata({name:"AppView",moduleUrl:i,runtime:m}),a.DebugAppView=new g.CompileIdentifierMetadata({name:"DebugAppView",moduleUrl:i,runtime:n}),a.AppElement=new g.CompileIdentifierMetadata({name:"AppElement",moduleUrl:h.assetUrl("core","linker/element"),runtime:p}),a.ElementRef=new g.CompileIdentifierMetadata({name:"ElementRef",moduleUrl:h.assetUrl("core","linker/element_ref"),runtime:q}),a.ViewContainerRef=new g.CompileIdentifierMetadata({name:"ViewContainerRef",moduleUrl:h.assetUrl("core","linker/view_container_ref"),runtime:r}),a.ChangeDetectorRef=new g.CompileIdentifierMetadata({name:"ChangeDetectorRef",moduleUrl:h.assetUrl("core","change_detection/change_detector_ref"),runtime:s}),a.RenderComponentType=new g.CompileIdentifierMetadata({name:"RenderComponentType",moduleUrl:h.assetUrl("core","render/api"),runtime:t}),a.QueryList=new g.CompileIdentifierMetadata({name:"QueryList",moduleUrl:h.assetUrl("core","linker/query_list"),runtime:u}),a.TemplateRef=new g.CompileIdentifierMetadata({name:"TemplateRef",moduleUrl:h.assetUrl("core","linker/template_ref"),runtime:v}),a.TemplateRef_=new g.CompileIdentifierMetadata({name:"TemplateRef_",moduleUrl:h.assetUrl("core","linker/template_ref"),runtime:w}),a.CodegenComponentFactoryResolver=new g.CompileIdentifierMetadata({name:"CodegenComponentFactoryResolver",moduleUrl:h.assetUrl("core","linker/component_factory_resolver"),runtime:f.CodegenComponentFactoryResolver}),a.ComponentFactoryResolver=new g.CompileIdentifierMetadata({name:"ComponentFactoryResolver",moduleUrl:h.assetUrl("core","linker/component_factory_resolver"),runtime:e.ComponentFactoryResolver}),a.ValueUnwrapper=new g.CompileIdentifierMetadata({name:"ValueUnwrapper",moduleUrl:k,runtime:x}),a.Injector=new g.CompileIdentifierMetadata({name:"Injector",moduleUrl:h.assetUrl("core","di/injector"),runtime:y}),a.ViewEncapsulation=new g.CompileIdentifierMetadata({name:"ViewEncapsulation",moduleUrl:h.assetUrl("core","metadata/view"),runtime:z}),a.ViewType=new g.CompileIdentifierMetadata({name:"ViewType",moduleUrl:h.assetUrl("core","linker/view_type"),runtime:A}),a.ChangeDetectionStrategy=new g.CompileIdentifierMetadata({name:"ChangeDetectionStrategy",moduleUrl:k,runtime:B}),a.StaticNodeDebugInfo=new g.CompileIdentifierMetadata({name:"StaticNodeDebugInfo",moduleUrl:h.assetUrl("core","linker/debug_context"),runtime:C}),a.DebugContext=new g.CompileIdentifierMetadata({name:"DebugContext",moduleUrl:h.assetUrl("core","linker/debug_context"),runtime:o}),a.Renderer=new g.CompileIdentifierMetadata({name:"Renderer",moduleUrl:h.assetUrl("core","render/api"),runtime:D}),a.SimpleChange=new g.CompileIdentifierMetadata({name:"SimpleChange",moduleUrl:k,runtime:E}),a.uninitialized=new g.CompileIdentifierMetadata({name:"uninitialized",moduleUrl:k,runtime:F}),a.ChangeDetectorStatus=new g.CompileIdentifierMetadata({name:"ChangeDetectorStatus",moduleUrl:k,runtime:G}),a.checkBinding=new g.CompileIdentifierMetadata({name:"checkBinding",moduleUrl:j,runtime:K}),a.flattenNestedViewRenderNodes=new g.CompileIdentifierMetadata({
|
||
name:"flattenNestedViewRenderNodes",moduleUrl:j,runtime:H}),a.devModeEqual=new g.CompileIdentifierMetadata({name:"devModeEqual",moduleUrl:k,runtime:I}),a.interpolate=new g.CompileIdentifierMetadata({name:"interpolate",moduleUrl:j,runtime:J}),a.castByValue=new g.CompileIdentifierMetadata({name:"castByValue",moduleUrl:j,runtime:L}),a.EMPTY_ARRAY=new g.CompileIdentifierMetadata({name:"EMPTY_ARRAY",moduleUrl:j,runtime:M}),a.EMPTY_MAP=new g.CompileIdentifierMetadata({name:"EMPTY_MAP",moduleUrl:j,runtime:N}),a.pureProxies=[null,new g.CompileIdentifierMetadata({name:"pureProxy1",moduleUrl:j,runtime:f.pureProxy1}),new g.CompileIdentifierMetadata({name:"pureProxy2",moduleUrl:j,runtime:f.pureProxy2}),new g.CompileIdentifierMetadata({name:"pureProxy3",moduleUrl:j,runtime:f.pureProxy3}),new g.CompileIdentifierMetadata({name:"pureProxy4",moduleUrl:j,runtime:f.pureProxy4}),new g.CompileIdentifierMetadata({name:"pureProxy5",moduleUrl:j,runtime:f.pureProxy5}),new g.CompileIdentifierMetadata({name:"pureProxy6",moduleUrl:j,runtime:f.pureProxy6}),new g.CompileIdentifierMetadata({name:"pureProxy7",moduleUrl:j,runtime:f.pureProxy7}),new g.CompileIdentifierMetadata({name:"pureProxy8",moduleUrl:j,runtime:f.pureProxy8}),new g.CompileIdentifierMetadata({name:"pureProxy9",moduleUrl:j,runtime:f.pureProxy9}),new g.CompileIdentifierMetadata({name:"pureProxy10",moduleUrl:j,runtime:f.pureProxy10})],a.SecurityContext=new g.CompileIdentifierMetadata({name:"SecurityContext",moduleUrl:h.assetUrl("core","security"),runtime:f.SecurityContext}),a.AnimationKeyframe=new g.CompileIdentifierMetadata({name:"AnimationKeyframe",moduleUrl:h.assetUrl("core","animation/animation_keyframe"),runtime:Q}),a.AnimationStyles=new g.CompileIdentifierMetadata({name:"AnimationStyles",moduleUrl:h.assetUrl("core","animation/animation_styles"),runtime:R}),a.NoOpAnimationPlayer=new g.CompileIdentifierMetadata({name:"NoOpAnimationPlayer",moduleUrl:h.assetUrl("core","animation/animation_player"),runtime:S}),a.AnimationGroupPlayer=new g.CompileIdentifierMetadata({name:"AnimationGroupPlayer",moduleUrl:h.assetUrl("core","animation/animation_group_player"),runtime:O}),a.AnimationSequencePlayer=new g.CompileIdentifierMetadata({name:"AnimationSequencePlayer",moduleUrl:h.assetUrl("core","animation/animation_sequence_player"),runtime:P}),a.prepareFinalAnimationStyles=new g.CompileIdentifierMetadata({name:"prepareFinalAnimationStyles",moduleUrl:T,runtime:f.prepareFinalAnimationStyles}),a.balanceAnimationKeyframes=new g.CompileIdentifierMetadata({name:"balanceAnimationKeyframes",moduleUrl:T,runtime:f.balanceAnimationKeyframes}),a.clearStyles=new g.CompileIdentifierMetadata({name:"clearStyles",moduleUrl:T,runtime:f.clearStyles}),a.renderStyles=new g.CompileIdentifierMetadata({name:"renderStyles",moduleUrl:T,runtime:f.renderStyles}),a.collectAndResolveStyles=new g.CompileIdentifierMetadata({name:"collectAndResolveStyles",moduleUrl:T,runtime:f.collectAndResolveStyles}),a}();return b.Identifiers=U,b.identifierToken=d,c.exports}),a.registerDynamic("61",["1a","1f","1b","51"],!0,function(a,b,c){"use strict";function d(a,b,c){if(b===c)return a;for(var d=l.THIS_EXPR,e=b;e!==c&&k.isPresent(e.declarationElement.view);)e=e.declarationElement.view,d=d.prop("parent");if(e!==c)throw new j.BaseException("Internal error: Could not calculate a property in a parent view: "+a);if(a instanceof l.ReadPropExpr){var f=a;(c.fields.some(function(a){return a.name==f.name})||c.getters.some(function(a){return a.name==f.name}))&&(d=d.cast(c.classType))}return l.replaceVarInExpression(l.THIS_EXPR.name,d,a)}function e(a,b){var c=[g(a)];return b&&c.push(l.NULL_EXPR),l.THIS_EXPR.prop("parentInjector").callMethod("get",c)}function f(a,b){return"viewFactory_"+a.type.name+b}function g(a){return k.isPresent(a.value)?l.literal(a.value):a.identifierIsInstance?l.importExpr(a.identifier).instantiate([],l.importType(a.identifier,[],[l.TypeModifier.Const])):l.importExpr(a.identifier)}function h(a){for(var b=[],c=l.literalArr([]),d=0;d<a.length;d++){var e=a[d];e.type instanceof l.ArrayType?(b.length>0&&(c=c.callMethod(l.BuiltinMethod.ConcatArray,[l.literalArr(b)]),b=[]),c=c.callMethod(l.BuiltinMethod.ConcatArray,[e])):b.push(e)}return b.length>0&&(c=c.callMethod(l.BuiltinMethod.ConcatArray,[l.literalArr(b)])),c}function i(a,b,c,d){d.fields.push(new l.ClassField(c.name,null));var e=b<m.Identifiers.pureProxies.length?m.Identifiers.pureProxies[b]:null;if(k.isBlank(e))throw new j.BaseException("Unsupported number of argument for pure functions: "+b);d.createMethod.addStmt(l.THIS_EXPR.prop(c.name).set(l.importExpr(e).callFn([a])).toStmt())}var j=a("1a"),k=a("1f"),l=a("1b"),m=a("51");return b.getPropertyInView=d,b.injectFromViewParentInjector=e,b.getViewFactoryName=f,b.createDiTokenExpression=g,b.createFlatArray=h,b.createPureProxy=i,c.exports}),a.registerDynamic("67",["9","26","5f","18","19","1f","51","1b","30","60","64","54","61"],!0,function(a,b,c){"use strict";function d(a,b,c){var d=new Q(a,c);return D.templateVisitAll(d,b,a.declarationElement.isNull()?a.declarationElement:a.declarationElement.parent),d.nestedViewCount}function e(a,b){a.afterNodes(),m(a,b),a.nodes.forEach(function(a){a instanceof E.CompileElement&&a.hasEmbeddedView&&e(a.embeddedView,b)})}function f(a){for(var b=a.view;h(a.parent,b);)a=a.parent;return a}function g(a){for(var b=a.view;h(a,b);)a=a.parent;return a}function h(a,b){return!a.isNull()&&a.sourceAst.name===L&&a.view===b}function i(a,b){var c={};return z.StringMapWrapper.forEach(a,function(a,b){c[b]=a}),b.forEach(function(a){z.StringMapWrapper.forEach(a.hostAttributes,function(a,b){var d=c[b];c[b]=A.isPresent(d)?k(b,d,a):a})}),l(c)}function j(a){var b={};return a.forEach(function(a){b[a.name]=a.value}),b}function k(a,b,c){return a==J||a==K?b+" "+c:c}function l(a){var b=[];return z.StringMapWrapper.forEach(a,function(a,c){b.push([c,a])}),z.ListWrapper.sort(b,function(a,b){return A.StringWrapper.compare(a[0],b[0])}),b}function m(a,b){var c=C.NULL_EXPR;a.genConfig.genDebugInfo&&(c=C.variable("nodeDebugInfos_"+a.component.type.name+a.viewIndex),b.push(c.set(C.literalArr(a.nodes.map(n),new C.ArrayType(new C.ExternalType(B.Identifiers.StaticNodeDebugInfo),[C.TypeModifier.Const]))).toDeclStmt(null,[C.StmtModifier.Final])));var d=C.variable("renderType_"+a.component.type.name);0===a.viewIndex&&b.push(d.set(C.NULL_EXPR).toDeclStmt(C.importType(B.Identifiers.RenderComponentType)));var e=o(a,d,c);b.push(e),b.push(p(a,e,d))}function n(a){var b=a instanceof E.CompileElement?a:null,c=[],d=C.NULL_EXPR,e=[];return A.isPresent(b)&&(c=b.getProviderTokens(),A.isPresent(b.component)&&(d=H.createDiTokenExpression(B.identifierToken(b.component.type))),z.StringMapWrapper.forEach(b.referenceTokens,function(a,b){e.push([b,A.isPresent(a)?H.createDiTokenExpression(a):C.NULL_EXPR])})),C.importExpr(B.Identifiers.StaticNodeDebugInfo).instantiate([C.literalArr(c,new C.ArrayType(C.DYNAMIC_TYPE,[C.TypeModifier.Const])),d,C.literalMap(e,new C.MapType(C.DYNAMIC_TYPE,[C.TypeModifier.Const]))],C.importType(B.Identifiers.StaticNodeDebugInfo,null,[C.TypeModifier.Const]))}function o(a,b,c){var d=[new C.FnParam(G.ViewConstructorVars.viewUtils.name,C.importType(B.Identifiers.ViewUtils)),new C.FnParam(G.ViewConstructorVars.parentInjector.name,C.importType(B.Identifiers.Injector)),new C.FnParam(G.ViewConstructorVars.declarationEl.name,C.importType(B.Identifiers.AppElement))],e=[C.variable(a.className),b,G.ViewTypeEnum.fromValue(a.viewType),G.ViewConstructorVars.viewUtils,G.ViewConstructorVars.parentInjector,G.ViewConstructorVars.declarationEl,G.ChangeDetectorStatusEnum.fromValue(u(a))];a.genConfig.genDebugInfo&&e.push(c);var f=new C.ClassMethod(null,d,[C.SUPER_EXPR.callFn(e).toStmt()]),g=[new C.ClassMethod("createInternal",[new C.FnParam(N.name,C.STRING_TYPE)],q(a),C.importType(B.Identifiers.AppElement)),new C.ClassMethod("injectorGetInternal",[new C.FnParam(G.InjectMethodVars.token.name,C.DYNAMIC_TYPE),new C.FnParam(G.InjectMethodVars.requestNodeIndex.name,C.NUMBER_TYPE),new C.FnParam(G.InjectMethodVars.notFoundResult.name,C.DYNAMIC_TYPE)],s(a.injectorGetMethod.finish(),G.InjectMethodVars.notFoundResult),C.DYNAMIC_TYPE),new C.ClassMethod("detectChangesInternal",[new C.FnParam(G.DetectChangesVars.throwOnChange.name,C.BOOL_TYPE)],r(a)),new C.ClassMethod("dirtyParentQueriesInternal",[],a.dirtyParentQueriesMethod.finish()),new C.ClassMethod("destroyInternal",[],a.destroyMethod.finish()),new C.ClassMethod("detachInternal",[],a.detachMethod.finish())].concat(a.eventHandlerMethods),h=a.genConfig.genDebugInfo?B.Identifiers.DebugAppView:B.Identifiers.AppView,i=new C.ClassStmt(a.className,C.importExpr(h,[t(a)]),a.fields,a.getters,f,g.filter(function(a){return a.body.length>0}));return i}function p(a,b,c){var d,e=[new C.FnParam(G.ViewConstructorVars.viewUtils.name,C.importType(B.Identifiers.ViewUtils)),new C.FnParam(G.ViewConstructorVars.parentInjector.name,C.importType(B.Identifiers.Injector)),new C.FnParam(G.ViewConstructorVars.declarationEl.name,C.importType(B.Identifiers.AppElement))],f=[];return d=a.component.template.templateUrl==a.component.type.moduleUrl?a.component.type.moduleUrl+" class "+a.component.type.name+" - inline template":a.component.template.templateUrl,0===a.viewIndex&&(f=[new C.IfStmt(c.identical(C.NULL_EXPR),[c.set(G.ViewConstructorVars.viewUtils.callMethod("createRenderComponentType",[C.literal(d),C.literal(a.component.template.ngContentSelectors.length),G.ViewEncapsulationEnum.fromValue(a.component.template.encapsulation),a.styles])).toStmt()])]),C.fn(e,f.concat([new C.ReturnStatement(C.variable(b.name).instantiate(b.constructorMethod.params.map(function(a){return C.variable(a.name)})))]),C.importType(B.Identifiers.AppView,[t(a)])).toDeclStmt(a.viewFactory.name,[C.StmtModifier.Final])}function q(a){var b=C.NULL_EXPR,c=[];a.viewType===w.ViewType.COMPONENT&&(b=G.ViewProperties.renderer.callMethod("createViewRoot",[C.THIS_EXPR.prop("declarationAppElement").prop("nativeElement")]),c=[M.set(b).toDeclStmt(C.importType(a.genConfig.renderTypes.renderNode),[C.StmtModifier.Final])]);var d;return d=a.viewType===w.ViewType.HOST?a.nodes[0].appElement:C.NULL_EXPR,c.concat(a.createMethod.finish(),[C.THIS_EXPR.callMethod("init",[H.createFlatArray(a.rootNodesOrAppElements),C.literalArr(a.nodes.map(function(a){return a.renderNode})),C.literalArr(a.disposables),C.literalArr(a.subscriptions)]).toStmt(),new C.ReturnStatement(d)])}function r(a){var b=[];if(a.detectChangesInInputsMethod.isEmpty()&&a.updateContentQueriesMethod.isEmpty()&&a.afterContentLifecycleCallbacksMethod.isEmpty()&&a.detectChangesRenderPropertiesMethod.isEmpty()&&a.updateViewQueriesMethod.isEmpty()&&a.afterViewLifecycleCallbacksMethod.isEmpty())return b;z.ListWrapper.addAll(b,a.detectChangesInInputsMethod.finish()),b.push(C.THIS_EXPR.callMethod("detectContentChildrenChanges",[G.DetectChangesVars.throwOnChange]).toStmt());var c=a.updateContentQueriesMethod.finish().concat(a.afterContentLifecycleCallbacksMethod.finish());c.length>0&&b.push(new C.IfStmt(C.not(G.DetectChangesVars.throwOnChange),c)),z.ListWrapper.addAll(b,a.detectChangesRenderPropertiesMethod.finish()),b.push(C.THIS_EXPR.callMethod("detectViewChildrenChanges",[G.DetectChangesVars.throwOnChange]).toStmt());var d=a.updateViewQueriesMethod.finish().concat(a.afterViewLifecycleCallbacksMethod.finish());d.length>0&&b.push(new C.IfStmt(C.not(G.DetectChangesVars.throwOnChange),d));var e=[],f=C.findReadVarNames(b);return z.SetWrapper.has(f,G.DetectChangesVars.changed.name)&&e.push(G.DetectChangesVars.changed.set(C.literal(!0)).toDeclStmt(C.BOOL_TYPE)),z.SetWrapper.has(f,G.DetectChangesVars.changes.name)&&e.push(G.DetectChangesVars.changes.set(C.NULL_EXPR).toDeclStmt(new C.MapType(C.importType(B.Identifiers.SimpleChange)))),z.SetWrapper.has(f,G.DetectChangesVars.valUnwrapper.name)&&e.push(G.DetectChangesVars.valUnwrapper.set(C.importExpr(B.Identifiers.ValueUnwrapper).instantiate([])).toDeclStmt(null,[C.StmtModifier.Final])),e.concat(b)}function s(a,b){return a.length>0?a.concat([new C.ReturnStatement(b)]):a}function t(a){return a.viewType===w.ViewType.COMPONENT?C.importType(a.component.type):C.DYNAMIC_TYPE}function u(a){var b;return b=a.viewType===w.ViewType.COMPONENT?w.isDefaultChangeDetectionStrategy(a.component.changeDetection)?w.ChangeDetectorStatus.CheckAlways:w.ChangeDetectorStatus.CheckOnce:w.ChangeDetectorStatus.CheckAlways}var v=a("9"),w=a("26"),x=a("5f"),y=a("18"),z=a("19"),A=a("1f"),B=a("51"),C=a("1b"),D=a("30"),E=a("60"),F=a("64"),G=a("54"),H=a("61"),I="$implicit",J="class",K="style",L="ng-container",M=C.variable("parentRenderNode"),N=C.variable("rootSelector"),O=function(){function a(a,b){this.comp=a,this.placeholder=b}return a}();b.ViewFactoryDependency=O;var P=function(){function a(a,b){this.comp=a,this.placeholder=b}return a}();b.ComponentFactoryDependency=P,b.buildView=d,b.finishView=e;var Q=function(){function a(a,b){this.view=a,this.targetDependencies=b,this.nestedViewCount=0,this._animationCompiler=new x.AnimationCompiler}return a.prototype._isRootNode=function(a){return a.view!==this.view},a.prototype._addRootNodeAndProject=function(a){var b=f(a),c=b.parent,d=b.sourceAst.ngContentIndex,e=a instanceof E.CompileElement&&a.hasViewContainer?a.appElement:null;this._isRootNode(c)?this.view.viewType!==w.ViewType.COMPONENT&&this.view.rootNodesOrAppElements.push(A.isPresent(e)?e:a.renderNode):A.isPresent(c.component)&&A.isPresent(d)&&c.addContentNode(d,A.isPresent(e)?e:a.renderNode)},a.prototype._getParentRenderNode=function(a){return a=g(a),this._isRootNode(a)?this.view.viewType===w.ViewType.COMPONENT?M:C.NULL_EXPR:A.isPresent(a.component)&&a.component.template.encapsulation!==v.ViewEncapsulation.Native?C.NULL_EXPR:a.renderNode},a.prototype.visitBoundText=function(a,b){return this._visitText(a,"",b)},a.prototype.visitText=function(a,b){return this._visitText(a,a.value,b)},a.prototype._visitText=function(a,b,c){var d="_text_"+this.view.nodes.length;this.view.fields.push(new C.ClassField(d,C.importType(this.view.genConfig.renderTypes.renderText)));var e=C.THIS_EXPR.prop(d),f=new E.CompileNode(c,this.view,this.view.nodes.length,e,a),g=C.THIS_EXPR.prop(d).set(G.ViewProperties.renderer.callMethod("createText",[this._getParentRenderNode(c),C.literal(b),this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length,a)])).toStmt();return this.view.nodes.push(f),this.view.createMethod.addStmt(g),this._addRootNodeAndProject(f),e},a.prototype.visitNgContent=function(a,b){this.view.createMethod.resetDebugInfo(null,a);var c=this._getParentRenderNode(b),d=G.ViewProperties.projectableNodes.key(C.literal(a.index),new C.ArrayType(C.importType(this.view.genConfig.renderTypes.renderNode)));return c!==C.NULL_EXPR?this.view.createMethod.addStmt(G.ViewProperties.renderer.callMethod("projectNodes",[c,C.importExpr(B.Identifiers.flattenNestedViewRenderNodes).callFn([d])]).toStmt()):this._isRootNode(b)?this.view.viewType!==w.ViewType.COMPONENT&&this.view.rootNodesOrAppElements.push(d):A.isPresent(b.component)&&A.isPresent(a.ngContentIndex)&&b.addContentNode(a.ngContentIndex,d),null},a.prototype.visitElement=function(a,b){var c,d=this,e=this.view.nodes.length,f=this.view.createMethod.resetDebugInfoExpr(e,a);c=0===e&&this.view.viewType===w.ViewType.HOST?C.THIS_EXPR.callMethod("selectOrCreateHostElement",[C.literal(a.name),N,f]):a.name===L?G.ViewProperties.renderer.callMethod("createTemplateAnchor",[this._getParentRenderNode(b),f]):G.ViewProperties.renderer.callMethod("createElement",[this._getParentRenderNode(b),C.literal(a.name),f]);var g="_el_"+e;this.view.fields.push(new C.ClassField(g,C.importType(this.view.genConfig.renderTypes.renderElement))),this.view.createMethod.addStmt(C.THIS_EXPR.prop(g).set(c).toStmt());for(var h=C.THIS_EXPR.prop(g),k=a.directives.map(function(a){return a.directive}),l=k.find(function(a){return a.isComponent}),m=j(a.attrs),n=i(m,k),o=0;o<n.length;o++){var p=n[o][0],q=n[o][1];this.view.createMethod.addStmt(G.ViewProperties.renderer.callMethod("setElementAttribute",[h,C.literal(p),C.literal(q)]).toStmt())}var r=new E.CompileElement(b,this.view,e,h,a,l,k,a.providers,a.hasViewContainer,!1,a.references);this.view.nodes.push(r);var s=null;if(A.isPresent(l)){var t=new y.CompileIdentifierMetadata({name:H.getViewFactoryName(l,0)});this.targetDependencies.push(new O(l.type,t));var u=l.precompile.map(function(a){var b=new y.CompileIdentifierMetadata({name:a.name});return d.targetDependencies.push(new P(a,b)),b});r.createComponentFactoryResolver(u),s=C.variable("compView_"+e),r.setComponentView(s),this.view.createMethod.addStmt(s.set(C.importExpr(t).callFn([G.ViewProperties.viewUtils,r.injector,r.appElement])).toDeclStmt())}if(r.beforeChildren(),this._addRootNodeAndProject(r),D.templateVisitAll(this,a.children,r),r.afterChildren(this.view.nodes.length-e-1),A.isPresent(s)){var v;v=this.view.component.type.isHost?G.ViewProperties.projectableNodes:C.literalArr(r.contentNodesByNgContentIndex.map(function(a){return H.createFlatArray(a)})),this.view.createMethod.addStmt(s.callMethod("create",[r.getComponent(),v,C.NULL_EXPR]).toStmt())}return null},a.prototype.visitEmbeddedTemplate=function(a,b){var c=this.view.nodes.length,e="_anchor_"+c;this.view.fields.push(new C.ClassField(e,C.importType(this.view.genConfig.renderTypes.renderComment))),this.view.createMethod.addStmt(C.THIS_EXPR.prop(e).set(G.ViewProperties.renderer.callMethod("createTemplateAnchor",[this._getParentRenderNode(b),this.view.createMethod.resetDebugInfoExpr(c,a)])).toStmt());var f=C.THIS_EXPR.prop(e),g=a.variables.map(function(a){return[a.value.length>0?a.value:I,a.name]}),h=a.directives.map(function(a){return a.directive}),i=new E.CompileElement(b,this.view,c,f,a,null,h,a.providers,a.hasViewContainer,!0,a.references);this.view.nodes.push(i);var j=this._animationCompiler.compileComponent(this.view.component);this.nestedViewCount++;var k=new F.CompileView(this.view.component,this.view.genConfig,this.view.pipeMetas,C.NULL_EXPR,j,this.view.viewIndex+this.nestedViewCount,i,g);return this.nestedViewCount+=d(k,a.children,this.targetDependencies),i.beforeChildren(),this._addRootNodeAndProject(i),i.afterChildren(0),null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitDirective=function(a,b){return null},a.prototype.visitEvent=function(a,b){return null},a.prototype.visitReference=function(a,b){return null},a.prototype.visitVariable=function(a,b){return null},a.prototype.visitDirectiveProperty=function(a,b){return null},a.prototype.visitElementProperty=function(a,b){return null},a}();return c.exports}),a.registerDynamic("1d",["9","5f","2e","60","64","5a","67"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("5f"),f=a("2e"),g=a("60"),h=a("64"),i=a("5a"),j=a("67"),k=a("67");b.ComponentFactoryDependency=k.ComponentFactoryDependency,b.ViewFactoryDependency=k.ViewFactoryDependency;var l=function(){function a(a,b,c){this.statements=a,this.viewFactoryVar=b,this.dependencies=c}return a}();b.ViewCompileResult=l;var m=function(){function a(a){this._genConfig=a,this._animationCompiler=new e.AnimationCompiler}return a.prototype.compileComponent=function(a,b,c,d){var e=[],f=this._animationCompiler.compileComponent(a),k=[];f.map(function(a){k.push(a.statesMapStatement),k.push(a.fnStatement)});var m=new h.CompileView(a,this._genConfig,d,c,f,0,g.CompileElement.createNull(),[]);return j.buildView(m,b,e),i.bindView(m,b),j.finishView(m,k),new l(k,m.viewFactory.name,e)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:f.CompilerConfig}],a}();return b.ViewCompiler=m,c.exports}),a.registerDynamic("68",["2c","3a","39","36","40","42","44","46","2d","49","27","43","38","52","2a","2b","1d"],!0,function(a,b,c){"use strict";var d,e=a("2c"),f=a("3a"),g=a("39"),h=a("36"),i=a("40"),j=a("42"),k=a("44"),l=a("46"),m=a("2d"),n=a("49"),o=a("27"),p=a("43"),q=a("38"),r=a("52"),s=a("2a"),t=a("2b"),u=a("1d");return function(a){a.SelectorMatcher=r.SelectorMatcher,a.CssSelector=r.CssSelector,a.AssetUrl=n.AssetUrl,a.ImportGenerator=n.ImportGenerator,a.CompileMetadataResolver=m.CompileMetadataResolver,a.HtmlParser=h.HtmlParser,a.I18nHtmlParser=i.I18nHtmlParser,a.ExtractionResult=k.ExtractionResult,a.Message=j.Message,a.MessageExtractor=k.MessageExtractor,a.removeDuplicates=k.removeDuplicates,a.serializeXmb=l.serializeXmb,a.deserializeXmb=l.deserializeXmb,a.DirectiveNormalizer=e.DirectiveNormalizer,a.Lexer=f.Lexer,a.Parser=g.Parser,a.ParseLocation=p.ParseLocation,a.ParseError=p.ParseError,a.ParseErrorLevel=p.ParseErrorLevel,a.ParseSourceFile=p.ParseSourceFile,a.ParseSourceSpan=p.ParseSourceSpan,a.TemplateParser=t.TemplateParser,a.DomElementSchemaRegistry=q.DomElementSchemaRegistry,a.StyleCompiler=s.StyleCompiler,a.ViewCompiler=u.ViewCompiler,a.TypeScriptEmitter=o.TypeScriptEmitter}(d=b.__compiler_private__||(b.__compiler_private__={})),c.exports}),a.registerDynamic("69",["2f","37","30","68"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}var e=a("2f");b.COMPILER_PROVIDERS=e.COMPILER_PROVIDERS,b.CompileDiDependencyMetadata=e.CompileDiDependencyMetadata,b.CompileDirectiveMetadata=e.CompileDirectiveMetadata,b.CompileFactoryMetadata=e.CompileFactoryMetadata,b.CompileIdentifierMetadata=e.CompileIdentifierMetadata,b.CompileMetadataWithIdentifier=e.CompileMetadataWithIdentifier,b.CompileMetadataWithType=e.CompileMetadataWithType,b.CompilePipeMetadata=e.CompilePipeMetadata,b.CompileProviderMetadata=e.CompileProviderMetadata,b.CompileQueryMetadata=e.CompileQueryMetadata,b.CompileTemplateMetadata=e.CompileTemplateMetadata,b.CompileTokenMetadata=e.CompileTokenMetadata,b.CompileTypeMetadata=e.CompileTypeMetadata,b.CompilerConfig=e.CompilerConfig,b.DEFAULT_PACKAGE_URL_PROVIDER=e.DEFAULT_PACKAGE_URL_PROVIDER,b.DirectiveResolver=e.DirectiveResolver,b.NormalizedComponentWithViewDirectives=e.NormalizedComponentWithViewDirectives,b.OfflineCompiler=e.OfflineCompiler,b.PipeResolver=e.PipeResolver,b.RenderTypes=e.RenderTypes,b.RuntimeCompiler=e.RuntimeCompiler,b.SourceModule=e.SourceModule,b.TEMPLATE_TRANSFORMS=e.TEMPLATE_TRANSFORMS,b.UrlResolver=e.UrlResolver,b.ViewResolver=e.ViewResolver,b.XHR=e.XHR,b.createOfflineCompileUrlResolver=e.createOfflineCompileUrlResolver;var f=a("37");return b.ElementSchemaRegistry=f.ElementSchemaRegistry,d(a("30")),d(a("68")),c.exports}),a.registerDynamic("6a",["69"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}return d(a("69")),c.exports}),a.registerDynamic("16",["6a"],!0,function(a,b,c){return c.exports=a("6a"),c.exports}),a.registerDynamic("e",[],!0,function(a,b,c){"use strict";function d(a){Zone.current.scheduleMicroTask("scheduleMicrotask",a)}function e(a){return a.name?a.name:typeof a}function f(a){return void 0!==a&&null!==a}function g(a){return void 0===a||null===a}function h(a){return"boolean"==typeof a}function i(a){return"number"==typeof a}function j(a){return"string"==typeof a}function k(a){return"function"==typeof a}function l(a){return k(a)}function m(a){return"object"==typeof a&&null!==a}function n(a){return m(a)&&Object.getPrototypeOf(a)===O}function o(a){return a instanceof N.Promise}function p(a){return Array.isArray(a)}function q(a){return a instanceof b.Date&&!isNaN(a.valueOf())}function r(){}function s(a){if("string"==typeof a)return a;if(void 0===a||null===a)return""+a;if(a.name)return a.name;if(a.overriddenName)return a.overriddenName;var b=a.toString(),c=b.indexOf("\n");return-1===c?b:b.substring(0,c)}function t(a){return a}function u(a,b){return a}function v(a,b){return a[b]}function w(a,b){return a===b||"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b)}function x(a){return a}function y(a){return g(a)?null:a}function z(a){return g(a)?!1:a}function A(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function B(a){console.log(a)}function C(a){console.warn(a)}function D(a,b,c){for(var d=b.split("."),e=a;d.length>1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b<a.length;++b){var c=a[b];"entries"!==c&&"size"!==c&&Map.prototype[c]===Map.prototype.entries&&(Y=c)}return Y}function F(a,b,c,d){var e=c+"\nreturn "+b+"\n//# sourceURL="+a,f=[],g=[];for(var h in d)f.push(h),g.push(d[h]);return(new(Function.bind.apply(Function,[void 0].concat(f.concat(e))))).apply(void 0,g)}function G(a){return!A(a)}function H(a,b){return a.constructor===b}function I(a){return N.encodeURI(a)}function J(a){return a.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var K,L=this,M=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)};K="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:L:window,b.scheduleMicroTask=d,b.IS_DART=!1;var N=K;b.global=N,b.Type=Function,b.getTypeNameForDebugging=e,b.Math=N.Math,b.Date=N.Date,N.assert=function(a){},b.isPresent=f,b.isBlank=g,b.isBoolean=h,b.isNumber=i,b.isString=j,b.isFunction=k,b.isType=l,b.isStringMap=m;var O=Object.getPrototypeOf({});b.isStrictStringMap=n,b.isPromise=o,b.isArray=p,b.isDate=q,b.noop=r,b.stringify=s,b.serializeEnum=t,b.deserializeEnum=u,b.resolveEnumToken=v;var P=function(){function a(){}return a.fromCharCode=function(a){return String.fromCharCode(a)},a.charCodeAt=function(a,b){return a.charCodeAt(b)},a.split=function(a,b){return a.split(b)},a.equals=function(a,b){return a===b},a.stripLeft=function(a,b){if(a&&a.length){for(var c=0,d=0;d<a.length&&a[d]==b;d++)c++;a=a.substring(c)}return a},a.stripRight=function(a,b){if(a&&a.length){for(var c=a.length,d=a.length-1;d>=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return a.splice(-2,2),c(a)})},a.contains=function(a,b){return-1!=a.indexOf(b)},a.compare=function(a,b){return b>a?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("10",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("6b",["16","e","10"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("16"),f=a("e"),g=a("10"),h=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.get=function(a){var b=g.PromiseWrapper.completer(),c=new XMLHttpRequest;return c.open("GET",a,!0),c.responseType="text",c.onload=function(){var d=f.isPresent(c.response)?c.response:c.responseText,e=1223===c.status?204:c.status;0===e&&(e=d?200:0),e>=200&&300>=e?b.resolve(d):b.reject("Failed to load "+a,null)},c.onerror=function(){b.reject("Failed to load "+a,null)},c.send(),b.promise},b}(e.XHR);return b.XHRImpl=h,c.exports}),a.registerDynamic("6c",["6d","16","9","6e","8","a","e","15","6b","45"],!0,function(a,b,c){return function(c){"use strict";function d(a,c){k.reflector.reflectionCapabilities=new k.ReflectionCapabilities;var d=[j.BROWSER_APP_PROVIDERS,b.BROWSER_APP_COMPILER_PROVIDERS,m.isPresent(c)?c:[]],e=i.ReflectiveInjector.resolveAndCreate(d,j.browserPlatform().injector);return i.coreLoadAndBootstrap(a,e)}function e(a,c){var d=i.ReflectiveInjector.resolveAndCreate([j.WORKER_UI_APPLICATION_PROVIDERS,b.BROWSER_APP_COMPILER_PROVIDERS,{provide:j.WORKER_SCRIPT,useValue:a},m.isPresent(c)?c:[]],j.workerUiPlatform().injector);return l.PromiseWrapper.resolve(d.get(i.ApplicationRef))}function f(a,b){var c=i.ReflectiveInjector.resolveAndCreate([j.WORKER_APP_APPLICATION_PROVIDERS,p,m.isPresent(b)?b:[]],j.workerAppPlatform().injector);return i.coreLoadAndBootstrap(a,c)}var g=a("6d"),h=a("16"),i=a("9"),j=a("6e"),k=a("8"),l=a("a"),m=a("e"),n=a("15"),o=a("6b");b.BROWSER_APP_COMPILER_PROVIDERS=[h.COMPILER_PROVIDERS,{provide:h.CompilerConfig,useFactory:function(a,b){return new h.CompilerConfig({platformDirectives:a,platformPipes:b})},deps:[i.PLATFORM_DIRECTIVES,i.PLATFORM_PIPES]},{provide:h.XHR,useClass:o.XHRImpl},{provide:i.PLATFORM_DIRECTIVES,useValue:g.COMMON_DIRECTIVES,multi:!0},{provide:i.PLATFORM_PIPES,useValue:g.COMMON_PIPES,multi:!0}],b.CACHED_TEMPLATE_PROVIDER=[{provide:h.XHR,
|
||
useClass:n.CachedXHR}],b.bootstrap=d,b.bootstrapWorkerUi=e;var p=[h.COMPILER_PROVIDERS,{provide:h.CompilerConfig,useFactory:function(a,b){return new h.CompilerConfig({platformDirectives:a,platformPipes:b})},deps:[i.PLATFORM_DIRECTIVES,i.PLATFORM_PIPES]},{provide:h.XHR,useClass:o.XHRImpl},{provide:i.PLATFORM_DIRECTIVES,useValue:g.COMMON_DIRECTIVES,multi:!0},{provide:i.PLATFORM_PIPES,useValue:g.COMMON_PIPES,multi:!0}];b.bootstrapWorkerApp=f}(a("45")),c.exports}),a.registerDynamic("6f",["6c"],!0,function(a,b,c){return c.exports=a("6c"),c.exports}),a.registerDynamic("70",[],!0,function(a,b,c){return function(){var a=function(b,c){return null===b.parentNode?c:a(b.parentNode,c.concat([b]))},b=function(a,b){return getComputedStyle(a,null).getPropertyValue(b)},d=function(a){return b(a,"overflow")+b(a,"overflow-y")+b(a,"overflow-x")},e=function(a){return/(auto|scroll)/.test(d(a))},f=function(b){if(b instanceof HTMLElement){for(var c=a(b.parentNode,[]),d=0;d<c.length;d+=1)if(e(c[d]))return c[d];return window}};"object"==typeof c&&null!==c?c.exports=f:window.Scrollparent=f}(),c.exports}),a.registerDynamic("71",["70"],!0,function(a,b,c){return c.exports=a("70"),c.exports}),a.register("72",["73","74","75","76","77","78","79","7a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;return{setters:[function(a){b=a.SpecManager,c=a.RedocComponent,d=a.BaseComponent},function(a){e=a.OptionsService,f=a.MenuService},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]}],execute:function(){"use strict";m=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&l(b,c,g),g},n=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},o=function(a){function b(a,c,d){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.optionsService=c,this.menuServ=d}return h(b,a),i(b,[{key:"init",value:function(){this.info=this.componentSchema.info,this.specUrl=this.optionsService.options.specUrl,NaN!==parseInt(this.info.version.substring(0,1))&&(this.info.version="v"+this.info.version)}}]),b}(d),a("ApiInfo",o),a("ApiInfo",o=m([c({selector:"api-info",styles:["\n .api-info-header {\n font-weight: normal; }\n\n :host > div {\n width: 60%;\n padding: 40px;\n box-sizing: border-box; }\n\n a.openapi-button {\n padding: 3px 8px 4px 8px;\n color: #0033a0;\n border: 1px solid #0033a0;\n margin-left: 0.5em;\n font-weight: normal; }\n\n :host [section] {\n padding-top: 60px;\n margin-top: 20px; }\n "],template:'\n <div>\n <h1 class="api-info-header">{{info.title}} ({{info.version}})</h1>\n <p>\n Download OpenAPI (fka Swagger) specification:\n <a class="openapi-button" target="_blank" attr.href=\'{{specUrl}}\'> Download </a>\n </p>\n <p *ngIf="info.description" [innerHtml]="info[\'x-redoc-html-description\'] | safe"> </p>\n <p>\n <!-- TODO: create separate components for contact and license ? -->\n <span *ngIf="info.contact"> Contact:\n <a *ngIf="info.contact.url" href="{{info.contact.url}}">\n {{info.contact.name || info.contact.url}}</a>\n <a *ngIf="info.contact.email" href="mailto:{{info.contact.email}}">\n {{info.contact.email}}</a>\n </span>\n <span *ngIf="info.license"> License:\n <a *ngIf="info.license.url" href="{{info.license.url}}"> {{info.license.name}} </a>\n <span *ngIf="!info.license.url"> {{info.license.name}} </span>\n </span>\n </p>\n </div>\n '}),n("design:paramtypes",[b,e,f])],o))}}}),a.register("7b",["73","75","76","77","78","79","7a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m;return{setters:[function(a){b=a.RedocComponent,c=a.BaseComponent,d=a.SpecManager},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]}],execute:function(){"use strict";k=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=i(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&j(b,c,g),g},l=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},m=function(a){function b(a){h(this,b),e(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.logo={}}return f(b,a),g(b,[{key:"init",value:function(){var a=this.componentSchema.info["x-logo"];a&&(this.logo.imgUrl=a.url,this.logo.bgColor=a.backgroundColor||"transparent")}}]),b}(c),a("ApiLogo",m),a("ApiLogo",m=k([b({selector:"api-logo",styles:["\n img {\n max-height: 150px;\n width: auto;\n display: inline-block;\n max-width: 100%;\n box-sizing: border-box; }\n "],template:'\n <img *ngIf="logo.imgUrl" [attr.src]="logo.imgUrl" [ngStyle]="{\'background-color\': logo.bgColor}">\n '}),l("design:paramtypes",[d])],m))}}}),a.register("7c",["9","77","78","79","7a","7d"],function(a){var b,c,d,e,f,g,h,i,j,k,l;return{setters:[function(a){b=a.Directive,c=a.HostListener,d=a.ElementRef},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a.Clipboard}],execute:function(){"use strict";j=function(a,b,c,d){var e,f=arguments.length,i=3>f?b:null===d?d=g(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(e=a[j])&&(i=(3>f?e(i):f>3?e(b,c,i):e(b,c))||i);return f>3&&i&&h(b,c,i),i},k=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},l=function(){function a(b){f(this,a),this.element=b}return e(a,[{key:"onClick",value:function(){i.selectElement(this.element.nativeElement)}}]),a}(),a("SelectOnClick",l),j([c("click"),k("design:type",Function),k("design:paramtypes",[]),k("design:returntype",void 0)],l.prototype,"onClick",null),a("SelectOnClick",l=j([b({selector:"[select-on-click]"}),k("design:paramtypes",[d])],l))}}}),a.register("7e",["73","75","76","77","78","79","80","81","82","7a","7f"],function(a){function b(a,b,c){a[b]||(a[b]=[]),a[b].push(c)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.JsonSchemaLazy},function(a){l=a.SchemaHelper},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a.JsonSchema}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&n(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=function(a){function c(a){i(this,c),f(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,a)}return g(c,a),h(c,[{key:"init",value:function(){var a=this;this.params=[];var b=this.specMgr.getMethodParams(this.pointer,!0);b=b.map(function(b){var c=b._pointer;return"body"===b["in"]?b:(b._name=b.name,l.preprocess(b,c,a.pointer))});var c=this.orderParams(b);if(c.body&&c.body.length){var d=c.body[0];d.pointer=d._pointer,this.bodyParam=d,c.body=void 0}this.empty=!(m(c).length||this.bodyParam);var e=["path","query","formData","header","body"],f={path:"Used together with Path Templating, where the parameter value is actually part\n of the operation's URL. This does not include the host or base path of the API.\n For example, in /items/{itemId}, the path parameter is itemId",query:"Parameters that are appended to the URL.\n For example, in /items?id=###, the query parameter is id",formData:"Parameters that are submitted through a form.\n application/x-www-form-urlencoded, multipart/form-data or both are usually\n used as the content type of the request",header:"Custom headers that are expected as part of the request"},g=[];e.forEach(function(a){c[a]&&c[a].length&&g.push({place:a,placeHint:f[a],params:c[a]})}),this.params=g}},{key:"orderParams",value:function(a){var c={};return a.forEach(function(a){return b(c,a["in"],a)}),c}}]),c}(d),a("ParamsList",r),a("ParamsList",r=p([c({selector:"params-list",template:'\n <h5 class="param-list-header" *ngIf="params.length"> Parameters </h5>\n <template ngFor [ngForOf]="params" let-paramType="$implicit">\n <header class="paramType">\n {{paramType.place}} Parameters\n <span class="hint--top-right hint--large" [attr.data-hint]="paramType.placeHint">?</span>\n </header>\n <br>\n <div class="params-wrap">\n <div *ngFor="let param of paramType.params" class="param">\n <div class="param-name">\n <span class="param-name-wrap"> {{param.name}} </span>\n </div>\n <div class="param-info">\n <div>\n <span class="param-type {{param.type}}" [ngClass]="{\'with-hint\': param._displayTypeHint}"\n title="{{param._displayTypeHint}}"> {{param._displayType}} {{param._displayFormat}}</span>\n <span class="param-range" *ngIf="param._range"> {{param._range}} </span>\n <span *ngIf="param.required" class="param-required">Required</span>\n <div class="default" *ngIf="param.default">Default: {{param.default | json}}</div>\n <div *ngIf="param.enum" class="param-enum">\n <span *ngFor="let enumItem of param.enum" class="enum-value {{enumItem.type}}"> {{enumItem.val | json}} </span>\n </div>\n </div>\n <div class="param-description" [innerHtml]="param.description | marked"></div>\n </div>\n </div>\n </div>\n </template>\n\n <div *ngIf="bodyParam">\n <h5 class="param-list-header" *ngIf="bodyParam"> Request Body </h5>\n\n <div class="body-param-description" [innerHtml]="bodyParam.description | marked"></div>\n <div>\n <br>\n <json-schema-lazy [isRequestSchema]="true" [auto]="true" pointer="{{bodyParam.pointer}}/schema">\n </json-schema-lazy>\n </div>\n </div>\n ',styles:['\n .param-list-header {\n border-bottom: 1px solid rgba(38, 50, 56, 0.3);\n padding: 0.2em 0;\n margin: 3.5em 0 .8em 0;\n color: rgba(38, 50, 56, 0.5);\n font-weight: normal;\n text-transform: uppercase; }\n\n .param-name {\n position: relative;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n padding: 10px 0;\n vertical-align: top;\n line-height: 20px;\n white-space: nowrap;\n font-size: 0.929em;\n font-weight: 400;\n box-sizing: border-box; }\n\n .param-name-wrap {\n display: inline-block;\n padding-right: 25px;\n font-family: Montserrat, sans-serif; }\n\n .param-info {\n border-bottom: 1px solid #ccc;\n padding: 10px 0;\n width: 75%;\n line-height: 1em;\n box-sizing: border-box; }\n\n .param-range {\n position: relative;\n top: 1px;\n margin-right: 6px;\n margin-left: 6px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n padding: 0 4px;\n color: rgba(0, 51, 160, 0.7); }\n\n .param-description {\n font-size: 13px; }\n\n .param-required {\n vertical-align: middle;\n line-height: 20px;\n color: #f00;\n font-size: 12px;\n font-weight: bold; }\n\n .param-type {\n vertical-align: middle;\n line-height: 20px;\n color: rgba(38, 50, 56, 0.4);\n font-size: 0.929em;\n font-weight: normal; }\n\n .param-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n\n .param-type.with-hint {\n display: inline-block;\n margin-bottom: 0.4em;\n border-bottom: 1px dotted rgba(38, 50, 56, 0.4);\n padding: 0;\n cursor: help; }\n\n .param-type-trivial {\n margin: 10px 10px 0;\n display: inline-block; }\n\n .param-type-file {\n font-weight: bold;\n text-transform: capitalize; }\n\n /* tree */\n .param-name > span:before {\n content: "";\n display: inline-block;\n width: 1px;\n height: 7px;\n background-color: #0033a0;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid rgba(0, 51, 160, 0.5);\n width: 10px;\n left: 0;\n top: 21px; }\n\n .param:first-of-type > .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid #fff;\n height: 21px; }\n\n .param:last-of-type > .param-name, .param.last > .param-name {\n position: relative; }\n .param:last-of-type > .param-name:after, .param.last > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -2px;\n border-left: 2px solid #fff;\n top: 22px;\n background-color: white;\n bottom: 0; }\n\n .param-wrap:last-of-type > .param-schema {\n border-left-color: transparent; }\n\n .param-schema .param-wrap:first-of-type .param-name:before {\n display: none !important; }\n\n .param-schema.last > td {\n border-left: 0; }\n\n .param-enum {\n color: #263238;\n font-size: 13px; }\n .param-enum:before {\n content: \'Values: {\'; }\n .param-enum:after {\n content: \'}\'; }\n .param-enum > .enum-value:after {\n content: ", "; }\n .param-enum > .enum-value:last-of-type:after {\n content: none; }\n\n header.paramType {\n margin: 10px 0;\n text-transform: capitalize; }\n\n .params-wrap {\n display: table;\n width: 100%; }\n\n .param-name {\n display: table-cell;\n vertical-align: top; }\n\n .param-info {\n display: table-cell;\n width: 100%; }\n\n .param {\n display: table-row; }\n\n .param:last-of-type > .param-name {\n border-left: 0; }\n .param:last-of-type > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n height: 21px;\n background-color: white;\n top: 0; }\n\n .param:first-of-type .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n border-left: 2px solid #fff;\n height: 20px;\n background-color: white;\n top: 0; }\n\n [data-hint] {\n width: 1.2em;\n text-align: center;\n border-radius: 50%;\n vertical-align: middle;\n color: #999999;\n line-height: 1.2;\n text-transform: none;\n cursor: help;\n border: 1px solid #999999;\n margin-left: 0.5em; }\n\n @media (max-width: 520px) {\n [data-hint] {\n float: right; }\n [data-hint]:after {\n margin-left: 12px;\n transform: translateX(-100%) translateY(-8px);\n -moz-transform: translateX(-100%) translateY(-8px);\n -webkit-transform: translateX(-100%) translateY(-8px); } }\n '],directives:[o,k]}),q("design:paramtypes",[e])],r))}}}),a.register("7f",["9","73","74","75","76","77","78","79","80","83","84","7a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;return{setters:[function(a){b=a.Input,c=a.Renderer,d=a.ElementRef,e=a.forwardRef},function(a){f=a.RedocComponent,g=a.BaseComponent,h=a.SpecManager},function(a){i=a.SchemaNormalizer,j=a.SchemaHelper},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.JsonSchemaLazy},function(a){q=a.DropDown},function(a){r=a.Zippy},function(a){s=a["default"]}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=o(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&s(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=void 0,w=v=function(a){function b(a,c,d){n(this,b),k(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this._renderer=c,this._elementRef=d,this.schema={},this.activeDescendant={},this.hasDescendants=!1,this._hasSubSchemas=!1,this["final"]=!1,this.autoExpand=!1,this.normalizer=new i(a)}return l(b,a),m(b,[{key:"selectDescendant",value:function(a){var b=this.schema._descendants[a];b&&!b.active&&(this.schema._descendants.forEach(function(a){a.active=!1}),b.active=!0,this.activeDescendant=b)}},{key:"initDescendants",value:function(){var a=this;if(this.schema._descendants&&this.schema._descendants.length){this.hasDescendants=!0;var b=this.schema._properties[this.schema._properties.length-1]["enum"];b&&!function(){var c={};b.forEach(function(a,b){c[a.val]=b}),a.schema._descendants.sort(function(a,b){return c[a.name]>c[b.name]?1:-1})}(),this.selectDescendant(0)}}},{key:"init",value:function(){if(this.pointer){if(this.nestOdd&&this._renderer.setElementAttribute(this._elementRef.nativeElement,"nestodd","true"),this.schema=this.componentSchema,!this.schema)throw new Error("Can't load component schema at "+this.pointer);this.schema=this.normalizer.normalize(this.schema,this.normPointer),this.schema=j.unwrapArray(this.schema,this.normPointer),j.preprocess(this.schema,this.normPointer,this.pointer),this.schema.isTrivial||j.preprocessProperties(this.schema,this.normPointer,{childFor:this.childFor}),this.properties=this.schema._properties,this._isArray=this.isArray||this.schema._isArray,this.isRequestSchema&&(this.properties=this.properties&&this.properties.filter(function(a){return!a.readOnly})),this.initDescendants(),this._hasSubSchemas=this.properties&&this.properties.some(function(a){return"array"===a.type&&(a=a.items),a&&"object"===a.type&&a._pointer}),this.autoExpand=this.properties&&1===this.properties.length}}},{key:"trackByIdx",value:function(a,b){return a}},{key:"normPointer",get:function(){return this.schema._pointer||this.pointer}}]),b}(g),a("JsonSchema",w),t([b(),u("design:type",Boolean)],w.prototype,"isArray",void 0),t([b(),u("design:type",Boolean)],w.prototype,"final",void 0),t([b(),u("design:type",Boolean)],w.prototype,"nestOdd",void 0),t([b(),u("design:type",String)],w.prototype,"childFor",void 0),t([b(),u("design:type",Boolean)],w.prototype,"isRequestSchema",void 0),a("JsonSchema",w=v=t([f({selector:"json-schema",template:'\n <span *ngIf="schema.isFile" class="param-wrap">\n <span class="param-type-file">file</span>\n <div *ngIf="schema._produces && !isRequestSchema" class="file produces">\n <ul>\n <li *ngFor="let type of schema._produces">{{type}}</li>\n </ul>\n </div>\n <div *ngIf="schema._consumes && isRequestSchema" class="file consume">\n <ul>\n <li *ngFor="let type of schema._consumes">{{type}}</li>\n </ul>\n </div>\n </span>\n <span *ngIf="schema.isTrivial && !schema.isFile" class="param-wrap">\n <span class="param-type param-type-trivial {{schema.type}}"\n [ngClass]="{\'with-hint\': schema._displayTypeHint}"\n title="{{schema._displayTypeHint}}">{{schema._displayType}} {{schema._displayFormat}}\n <span class="param-range" *ngIf="schema._range"> {{schema._range}} </span>\n </span>\n <div *ngIf="schema.enum" class="param-enum">\n <span *ngFor="let enumItem of schema.enum" class="enum-value {{enumItem.type}}"> {{enumItem.val | json}} </span>\n </div>\n </span>\n <table *ngIf="!schema.isTrivial" class="params-wrap" [ngClass]="{\'params-array\': _isArray}">\n <!-- <caption> {{_displayType}} </caption> -->\n <template ngFor [ngForOf]="properties" let-prop="$implicit" let-last="last" [ngForTrackBy]="trackByIdx">\n <tr class="param" [ngClass]="{\'last\': last,\n \'discriminator\': prop.isDiscriminator && !activeDescendant.empty,\n \'complex\': prop._pointer,\n \'additional\': prop._additional,\n \'expanded\': subSchema.visible\n }">\n <td class="param-name">\n <span class="param-name-wrap" (click)="subSchema.toggle()">\n <span class="param-name-content" >{{prop._name}}</span>\n <svg *ngIf="prop._pointer" xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve">\n <polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "/>\n </svg>\n </span>\n </td>\n <td class="param-info">\n <div>\n <span class="param-type {{prop.type}}" [ngClass]="{\'with-hint\': prop._displayTypeHint}"\n title="{{prop._displayTypeHint}}"> {{prop._displayType}} {{prop._displayFormat}}\n <span class="param-range" *ngIf="prop._range"> {{prop._range}} </span>\n </span>\n <span *ngIf="prop._required" class="param-required">Required</span>\n <div *ngIf="prop.default">Default: {{prop.default | json}}</div>\n <div *ngIf="prop.enum && !prop.isDiscriminator" class="param-enum">\n <span *ngFor="let enumItem of prop.enum" class="enum-value {{enumItem.type}}"> {{enumItem.val | json}} </span>\n </div>\n </div>\n <div class="param-description" [innerHtml]="prop.description | marked"></div>\n <div class="discriminator-info" *ngIf="prop.isDiscriminator">\n <span>This field value determines the exact schema:</span>\n <drop-down (change)="selectDescendant($event)">\n <option *ngFor="let descendant of schema._descendants; let i=index"\n [value]="i">{{descendant.name}}</option>\n </drop-down>\n </div>\n </td>\n </tr>\n <tr class="param-schema" [ngClass]="{\'param-array\': prop._isArray, \'last\': last}" [hidden]="!prop._pointer">\n <td colspan="2">\n <zippy #subSchema title="Expand" [headless]="true" (open)="lazySchema.load()" [visible]="autoExpand">\n <json-schema-lazy #lazySchema [auto]="autoExpand" class="nested-schema" [pointer]="prop._pointer" [isArray]=\'prop._isArray\'\n [nestOdd]="!nestOdd" [isRequestSchema]="isRequestSchema">\n </json-schema-lazy>\n </zippy>\n </td>\n </tr>\n </template>\n <tr *ngIf="hasDescendants" class="param-wrap discriminator-wrap" [ngClass]="{empty:activeDescendant.empty}">\n <td colspan="2">\n <div class="derived-schema" *ngFor="let descendant of schema._descendants" [ngClass]="{active: descendant.active, empty: descendant.empty}">\n <json-schema class="discriminator-part" *ngIf="!descendant.empty" [childFor]="pointer"\n pointer="{{descendant.$ref}}" [final]="descendant.final" [isRequestSchema]="isRequestSchema">\n </json-schema>\n </div>\n </td>\n </tr>\n </table>\n ',styles:['\n .param-name {\n position: relative;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n padding: 10px 0;\n vertical-align: top;\n line-height: 20px;\n white-space: nowrap;\n font-size: 0.929em;\n font-weight: 400;\n box-sizing: border-box; }\n\n .param-name-wrap {\n display: inline-block;\n padding-right: 25px;\n font-family: Montserrat, sans-serif; }\n\n .param-info {\n border-bottom: 1px solid #ccc;\n padding: 10px 0;\n width: 75%;\n line-height: 1em;\n box-sizing: border-box; }\n\n .param-range {\n position: relative;\n top: 1px;\n margin-right: 6px;\n margin-left: 6px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n padding: 0 4px;\n color: rgba(0, 51, 160, 0.7); }\n\n .param-description {\n font-size: 13px; }\n\n .param-required {\n vertical-align: middle;\n line-height: 20px;\n color: #f00;\n font-size: 12px;\n font-weight: bold; }\n\n .param-type {\n vertical-align: middle;\n line-height: 20px;\n color: rgba(38, 50, 56, 0.4);\n font-size: 0.929em;\n font-weight: normal; }\n\n .param-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n\n .param-type.with-hint {\n display: inline-block;\n margin-bottom: 0.4em;\n border-bottom: 1px dotted rgba(38, 50, 56, 0.4);\n padding: 0;\n cursor: help; }\n\n .param-type-trivial {\n margin: 10px 10px 0;\n display: inline-block; }\n\n .param-type-file {\n font-weight: bold;\n text-transform: capitalize; }\n\n /* tree */\n .param-name > span:before {\n content: "";\n display: inline-block;\n width: 1px;\n height: 7px;\n background-color: #0033a0;\n margin: 0 10px;\n vertical-align: middle; }\n\n .param-name > span:after {\n content: "";\n position: absolute;\n border-top: 1px solid rgba(0, 51, 160, 0.5);\n width: 10px;\n left: 0;\n top: 21px; }\n\n .param:first-of-type > .param-name:before {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid #fff;\n height: 21px; }\n\n .param:last-of-type > .param-name, .param.last > .param-name {\n position: relative; }\n .param:last-of-type > .param-name:after, .param.last > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -2px;\n border-left: 2px solid #fff;\n top: 22px;\n background-color: white;\n bottom: 0; }\n\n .param-wrap:last-of-type > .param-schema {\n border-left-color: transparent; }\n\n .param-schema .param-wrap:first-of-type .param-name:before {\n display: none !important; }\n\n .param-schema.last > td {\n border-left: 0; }\n\n .param-enum {\n color: #263238;\n font-size: 13px; }\n .param-enum:before {\n content: \'Values: {\'; }\n .param-enum:after {\n content: \'}\'; }\n .param-enum > .enum-value:after {\n content: ", "; }\n .param-enum > .enum-value:last-of-type:after {\n content: none; }\n\n /* styles for array-schema for array */\n :host {\n display: block; }\n\n .param-schema > td {\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n padding: 0 10px; }\n\n .derived-schema {\n display: none; }\n\n .derived-schema.active {\n display: block; }\n\n :host.nested-schema {\n background-color: white;\n padding: 10px 20px;\n position: relative;\n border-radius: 2px; }\n :host.nested-schema:before, :host.nested-schema:after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n top: 0;\n border-style: solid;\n border-color: transparent;\n border-width: 10px 15px 0;\n margin-left: -7.5px;\n border-top-color: #f0f0f0; }\n :host.nested-schema:before {\n left: 10%; }\n :host.nested-schema:after {\n right: 10%; }\n :host.nested-schema .param:first-of-type > .param-name:before, :host.nested-schema .param:last-of-type > .param-name:after {\n border-color: white; }\n\n :host[nestodd="true"] {\n background-color: #f0f0f0;\n border-radius: 2px; }\n :host[nestodd="true"]:before, :host[nestodd="true"]:after {\n border-top-color: white; }\n :host[nestodd="true"] > .params-wrap > .param:first-of-type > .param-name:before, :host[nestodd="true"] > .params-wrap > .param:last-of-type > .param-name:after {\n border-color: #f0f0f0; }\n :host[nestodd="true"] > .params-wrap > .param:last-of-type > .param-name:after, :host[nestodd="true"] > .params-wrap > .param.last > .param-name:after {\n border-color: #f0f0f0; }\n\n zippy {\n overflow: visible; }\n\n .zippy-content-wrap {\n padding: 0; }\n\n .param.complex.expanded > .param-info {\n border-bottom: 0; }\n\n .param.complex > .param-name .param-name-wrap {\n font-weight: bold;\n cursor: pointer;\n color: #263238; }\n\n .param.complex > .param-name svg {\n height: 1.2em;\n vertical-align: middle;\n transition: all 0.3s ease; }\n\n .param.complex.expanded > .param-name svg {\n transform: rotateZ(-180deg); }\n\n .param.additional > .param-name {\n color: rgba(38, 50, 56, 0.4); }\n\n .params-wrap {\n width: 100%; }\n\n table {\n border-spacing: 0; }\n\n .params-wrap.params-array:before, .params-wrap.params-array:after {\n display: block;\n font-weight: 300;\n color: #263238;\n font-size: 13px;\n line-height: 1.5; }\n\n .params-wrap.params-array:after {\n content: "]"; }\n\n .params-wrap.params-array:before {\n content: "Array [";\n padding-top: 1em; }\n\n .params-wrap.params-array {\n padding-left: 10px; }\n\n .param-schema.param-array:before {\n bottom: 9.75px;\n width: 10px;\n border-left-style: dashed;\n border-bottom: 1px dashed rgba(0, 51, 160, 0.5); }\n\n .params-wrap.params-array > .param-wrap:first-of-type > .param > .param-name:after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n top: 0;\n border-left: 2px solid #fff;\n height: 20px; }\n\n .params-wrap > .param > .param-schema.param-array {\n border-left-color: transparent; }\n\n .param.discriminator > .param-info {\n padding-bottom: 0; }\n\n .param.discriminator > .param-name:after {\n display: none; }\n\n .discriminator-info {\n font-weight: 400;\n margin-bottom: 10px; }\n .discriminator-info > span {\n font-size: 0.9em;\n font-weight: 300; }\n\n .discriminator-wrap:not(.empty) > td {\n padding: 0;\n position: relative; }\n .discriminator-wrap:not(.empty) > td:before {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n border-left: 1px solid rgba(0, 51, 160, 0.5);\n height: 21px;\n z-index: 1; }\n\n ul, li {\n margin: 0; }\n\n ul {\n list-style: none;\n padding-left: 1em; }\n\n li:before {\n content: "- ";\n font-weight: bold; }\n '],
|
||
directives:[w,q,e(function(){return p}),r],detect:!0}),u("design:paramtypes",[h,c,d])],w))}}}),a.register("80",["9","77","78","79","85","86","87","7a","6d","7f"],function(a){function b(a,b){b.parentNode.insertBefore(a,b.nextSibling)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;return{setters:[function(a){c=a.Component,d=a.ElementRef,e=a.ViewContainerRef,f=a.Input,g=a.ComponentResolver,h=a.Renderer},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.OptionsService},function(a){m=a.SpecManager},function(a){n=a["default"]},function(a){o=a["default"]},function(a){p=a.CORE_DIRECTIVES},function(a){q=a.JsonSchema}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&o(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t={},u=function(){function a(b,c,d,e,f,g){j(this,a),this.specMgr=b,this.location=c,this.elementRef=d,this.resolver=e,this.optionsService=f,this._renderer=g,this["final"]=!1,this.disableLazy=!1,this.loaded=!1,this.disableLazy=this.optionsService.options.disableLazySchemas}return i(a,[{key:"normalizePointer",value:function(){var a=this.specMgr.byPointer(this.pointer);return a&&a.$ref||this.pointer}},{key:"_loadAfterSelf",value:function(){var a=this;return this.loaded=!0,this.resolver.resolveComponent(q).then(function(b){var c=a.location.parentInjector,d=a.location.createComponent(b,null,c,null);return a.initComponent(d.instance),a._renderer.setElementAttribute(d.location.nativeElement,"class",a.location.element.nativeElement.className),d.changeDetectorRef.detectChanges(),d})["catch"](function(a){throw console.log(a),a})}},{key:"load",value:function(){this.optionsService.options.disableLazySchemas||this.loaded||this.pointer&&this._loadAfterSelf()}},{key:"loadCached",value:function(){var a=this;this.pointer=this.normalizePointer(),t[this.pointer]?t[this.pointer].then(function(c){setTimeout(function(){var d=c.location.nativeElement;return a.disableLazy||!c.instance.hasDescendants&&!c.instance._hasSubSchemas?(b(d.cloneNode(!0),a.elementRef.nativeElement),void(a.loaded=!0)):void a._loadAfterSelf()})}):t[this.pointer]=this._loadAfterSelf()}},{key:"initComponent",value:function(a){n(a,this)}},{key:"ngAfterViewInit",value:function(){(this.auto||this.disableLazy)&&this.loadCached()}},{key:"ngOnDestroy",value:function(){t={}}}]),a}(),a("JsonSchemaLazy",u),r([f(),s("design:type",String)],u.prototype,"pointer",void 0),r([f(),s("design:type",Boolean)],u.prototype,"auto",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isRequestSchema",void 0),r([f(),s("design:type",Boolean)],u.prototype,"final",void 0),r([f(),s("design:type",Boolean)],u.prototype,"nestOdd",void 0),r([f(),s("design:type",String)],u.prototype,"childFor",void 0),r([f(),s("design:type",Boolean)],u.prototype,"isArray",void 0),a("JsonSchemaLazy",u=r([c({selector:"json-schema-lazy",template:"",directives:[p]}),s("design:paramtypes",[m,e,d,g,l,h])],u))}}}),a.register("88",["73","74","75","76","77","78","79","80","81","82","83","89","7a","7f","8a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a.OptionsService},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.JsonSchemaLazy},function(a){m=a.SchemaHelper},function(a){n=a["default"]},function(a){o=a.Zippy},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.JsonSchema},function(a){s=a.statusCodeType}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function c(a,b){j(this,c),g(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,a),this.options=b.options}return h(c,a),i(c,[{key:"init",value:function(){var a=this;this.responses=[];var c=this.componentSchema;c&&(c=n(c).filter(function(a){return b(a)||"default"===a}).map(function(b){var d=c[b];if(d.pointer=p.join(a.pointer,b),d.$ref){var e=d.$ref;d=a.specMgr.byPointer(d.$ref),d.pointer=e}return d.empty=!d.schema,d.code=b,d.type=s(d.code),!d.headers||d.headers instanceof Array||(d.headers=n(d.headers).map(function(b){var c=d.headers[b];return c.name=b,m.preprocess(c,a.pointer,a.pointer)}),d.empty=!1),d.extendable=d.headers||d.length,d}),this.responses=c)}},{key:"trackByCode",value:function(a,b){return b.code}}]),c}(d),a("ResponsesList",v),a("ResponsesList",v=t([c({selector:"responses-list",template:'\n <h2 class="responses-list-header" *ngIf="responses.length"> Responses </h2>\n <zippy *ngFor="let response of responses;trackBy:trackByCode" title="{{response.code}} {{response.description}}"\n [type]="response.type" [empty]="response.empty" (open)="lazySchema.load()">\n <div *ngIf="response.headers" class="response-headers">\n <header>\n Headers\n </header>\n <div class="header" *ngFor="let header of response.headers">\n <div class="header-name"> {{header.name}} </div>\n <div class="header-type {{header.type}}"> {{header._displayType}} {{header._displayFormat}}\n <span class="header-range" *ngIf="header._range"> {{header._range}} </span>\n </div>\n <div *ngIf="header.default" class="header-default"> Default: {{header.default}} </div>\n <div *ngIf="header.enum" class="header-enum">\n <span *ngFor="let enumItem of header.enum" class="enum-value {{enumItem.type}}"> {{enumItem.val | json}} </span>\n </div>\n <div class="header-description" [innerHtml]="header.description | marked"> </div>\n </div>\n </div>\n <header *ngIf="response.schema">\n Response Schema\n </header>\n <json-schema-lazy #lazySchema pointer="{{response.schema ? response.pointer + \'/schema\' : null}}">\n </json-schema-lazy>\n </zippy>\n ',styles:['\n .responses-list-header {\n font-size: 18px;\n padding: 0.2em 0;\n margin: 3em 0 1.1em 0;\n color: #253137;\n font-weight: normal; }\n\n :host .zippy-title {\n font-family: Montserrat, sans-serif; }\n\n .header-name {\n font-weight: bold;\n display: inline-block; }\n\n .header-type {\n display: inline-block;\n font-weight: bold;\n color: #999; }\n\n header {\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n margin-bottom: 15px; }\n header:not(:first-child) {\n margin-top: 15px;\n margin-bottom: 0; }\n\n .header {\n margin-bottom: 10px; }\n\n .header-range {\n position: relative;\n top: 1px;\n margin-right: 6px;\n margin-left: 6px;\n border-radius: 2px;\n background-color: rgba(0, 51, 160, 0.1);\n padding: 0 4px;\n color: rgba(0, 51, 160, 0.7); }\n\n .header-type.array:before {\n content: "Array of ";\n color: #263238;\n font-weight: 300; }\n '],directives:[r,o,l],detect:!0}),u("design:paramtypes",[e,f])],v))}}}),a.register("8b",["9","73","75","76","77","78","79","82","83","89","7a","8c","8a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}function c(a){return a.examples&&a.examples["application/json"]||a.schema}var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){d=a.forwardRef},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.SchemaSample},function(a){s=a.statusCodeType}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=l(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function d(a){k(this,d),h(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,a)}return i(d,a),j(d,[{key:"init",value:function(){var a=this;this.data={},this.data.responses=[];var d=this.componentSchema;d&&(d=m(d).filter(function(a){return b(a)||"default"===a}).map(function(b){var c=d[b];if(c.pointer=p.join(a.pointer,b),c.$ref){var e=c.$ref;c=a.specMgr.byPointer(c.$ref),c.pointer=e}return c.code=b,c.type=s(c.code),c}).filter(function(a){return c(a)}),this.data.responses=d)}}]),d}(f),a("ResponsesSamples",v),a("ResponsesSamples",v=t([e({selector:"responses-samples",template:'\n <header *ngIf="data.responses.length"> Response samples </header>\n <tabs *ngIf="data.responses.length">\n <tab *ngFor="let response of data.responses" tabTitle="{{response.code}} {{response.description}}"\n [tabStatus]="response.type">\n <schema-sample [pointer]="response.pointer"></schema-sample>\n </tab>\n </tabs>\n ',styles:["\n :host {\n overflow: hidden; }\n\n tab, tabs {\n display: block; }\n\n schema-sample {\n display: block; }\n\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: 0.929em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 2px 8px 3px 8px;\n color: #9fb4be;\n line-height: 1.25; }\n :host > tabs > ul li:hover {\n color: #ffffff;\n background-color: rgba(255, 255, 255, 0.1); }\n :host > tabs > ul li.active {\n background-color: white;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n "],directives:[d(function(){return r}),n,o]}),u("design:paramtypes",[g])],v))}}}),a.register("8d",["8e"],function(a){"use strict";function b(a){var b=a.minItems||1;Array.isArray(a.items)&&(b=Math.max(b,a.items.length));var d=function(b){return Array.isArray(a.items)?a.items[b]||{}:a.items||{}},e=[];if(!a.items)return e;for(var f=0;b>f;f++){var g=d(f),h=c(g);e.push(h)}return e}var c;return a("sampleArray",b),{setters:[function(a){c=a.traverse}],execute:function(){}}}),a.register("8f",[],function(a){"use strict";function b(a){return!0}return a("sampleBoolean",b),{setters:[],execute:function(){}}}),a.register("90",[],function(a){"use strict";function b(a){var b=void 0;return a.maximum&&a.minimum?(b=a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum,(a.exclusiveMaximum&&b>=a.maximum||!a.exclusiveMaximum&&b>a.maximum)&&(b=(a.maximum+a.minimum)/2),b):a.minimum?a.exclusiveMinimum?Math.floor(a.minimum)+1:a.minimum:a.maximum?a.exclusiveMaximum?a.maximum>0?0:Math.floor(a.maximum)-1:a.maximum>0?0:a.maximum:0}return a("sampleNumber",b),{setters:[],execute:function(){}}}),a.register("8e",["91","92"],function(a){"use strict";function b(a,b){if(a.allOf&&d(a),a.example)return a.example;if(a["default"])return a["default"];if(a["enum"]&&a["enum"].length)return a["enum"][0];var e=a.type,f=c[e];return f?f(a,b):{}}var c,d;return a("traverse",b),{setters:[function(a){c=a._samplers},function(a){d=a.mergeAllOf}],execute:function(){}}}),a.register("93",["82","8e"],function(a){function b(a){var b=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],e={};return a&&"object"==typeof a.properties&&c(a.properties).forEach(function(c){b.skipReadOnly&&a.properties[c].readOnly||(e[c]=d(a.properties[c]))}),a&&"object"==typeof a.additionalProperties&&(e.property1=d(a.additionalProperties),e.property2=d(a.additionalProperties)),e}var c,d;return{setters:[function(a){c=a["default"]},function(a){d=a.traverse}],execute:function(){"use strict";a("sampleObject",b)}}}),a.register("94",["95"],function(a){"use strict";function b(){return"user@example.com"}function c(a,b){var c="pa$$word";return a>c.length&&(c+="_",c+=m(o,a-c.length).substring(0,a-c.length)),c}function d(a,b,c){var d=n(new Date,c);if(d.length<a)throw Erorr("Using minLength = "+a+' is incorrect with format "date-time"');if(b&&d.length>b)throw Erorr("Using maxLength = "+b+' is incorrect with format "date-time"');return d}function e(a,b){return d(a,b)}function f(a,b){return d(a,b,!0)}function g(a,b){var c=m("string",a);return b&&c.length>b&&(c=c.substring(b)),c}function h(){return"192.168.0.1"}function i(){return"2001:0db8:85a3:0000:0000:8a2e:0370:7334"}function j(){return"example.com"}function k(){return"http://example.com"}function l(a){var b=a.format||"default",c=p[b]||g;return c(0|a.minLength,a.maxLength)}var m,n,o,p;return a("sampleString",l),{setters:[function(a){m=a.ensureMinLength,n=a.toRFCDateTime}],execute:function(){o="qwerty!@#$%^123456",p={email:b,password:c,"date-time":e,date:f,ipv4:h,ipv6:i,hostname:j,uri:k,"default":g}}}}),a.register("96",["90","93","94","8d","8f"],function(a){"use strict";return{setters:[function(b){var c={};c.sampleNumber=b.sampleNumber,a(c)},function(b){var c={};c.sampleObject=b.sampleObject,a(c)},function(b){var c={};c.sampleString=b.sampleString,a(c)},function(b){var c={};c.sampleArray=b.sampleArray,a(c)},function(b){var c={};c.sampleBoolean=b.sampleBoolean,a(c)}],execute:function(){}}}),a.registerDynamic("97",["98"],!0,function(a,b,c){var d=a("98");return d(d.S,"Math",{trunc:function(a){return(a>0?Math.floor:Math.ceil)(a)}}),c.exports}),a.registerDynamic("99",["97","9a"],!0,function(a,b,c){return a("97"),c.exports=a("9a").Math.trunc,c.exports}),a.registerDynamic("9b",["99"],!0,function(a,b,c){return c.exports={"default":a("99"),__esModule:!0},c.exports}),a.register("95",["82","9b"],function(a){function b(a){return 10>a?"0"+a:a}function c(a,c){var d=a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate());return c||(d+="T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())+"."+(a.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"),d}function d(a,b){return b>a.length?a.repeat(g(b/a.length)+1).substring(0,b):a}function e(a,b){for(var c=f(b),d=-1,e=c.length;++d<e;){var g=c[d];void 0===a[g]&&(a[g]=b[g])}return a}var f,g;return{setters:[function(a){f=a["default"]},function(a){g=a["default"]}],execute:function(){"use strict";a("toRFCDateTime",c),a("ensureMinLength",d),a("defaults",e)}}}),a.register("92",["87","95","9c"],function(a){function b(a){c(a,a.allOf),a.allOf=null}function c(a,b){var c=!0,g=!1,h=void 0;try{for(var i,j=f(b);!(c=(i=j.next()).done);c=!0){var k=i.value;if(a.type&&k.type&&a.type!==k.type){var l="allOf merging: schemas with different types can't be merged";throw new Error(l)}if("array"===a.type)throw new Error("allOf merging: subschemas with type array are not supported yet");a.type=a.type||k.type,"object"===a.type&&k.properties&&(a.properties||(a.properties={}),d(a.properties,k.properties)),e(a,k)}}catch(m){g=!0,h=m}finally{try{!c&&j["return"]&&j["return"]()}finally{if(g)throw h}}}var d,e,f;return{setters:[function(a){d=a["default"]},function(a){e=a.defaults},function(a){f=a["default"]}],execute:function(){"use strict";a("mergeAllOf",b)}}}),a.register("91",["87","92","96","8e"],function(a){function b(a,b){var c=d(m,b);return k(a,c)}function c(a,b){l[a]=b}var d,e,f,g,h,i,j,k,l,m;return{setters:[function(a){d=a["default"]},function(a){e=a.normalize},function(a){f=a.sampleArray,g=a.sampleBoolean,h=a.sampleNumber,i=a.sampleObject,j=a.sampleString},function(a){k=a.traverse}],execute:function(){"use strict";a("sample",b),a("_registerSampler",c),l={},a("_samplers",l),m={skipReadOnly:!1},c("array",f),c("boolean",g),c("integer",h),c("number",h),c("object",i),c("string",j)}}}),a.register("9d",["91"],function(a){"use strict";return{setters:[function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);c["default"]=b["default"],a(c)}],execute:function(){}}}),a.register("9e",["9","77","78","79","82","7a","9f","6e"],function(a){function b(a){return void 0!=a?a.toString().replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">"):""}function c(a,c){return'<span class="'+c+'">'+b(a)+"</span>"}function d(a){var d=typeof a,g="";return void 0==a?g+=c("null","type-null"):a&&a.constructor===Array?(r++,g+=e(a),r--):"object"===d?(r++,g+=f(a),r--):"number"===d?g+=c(a,"type-number"):"string"===d?g+=/^(http|https):\/\/[^\\s]+$/.test(a)?c('"',"type-string")+'<a href="'+a+'">'+b(a)+"</a>"+c('"',"type-string"):c('"'+a+'"',"type-string"):"boolean"===d&&(g+=c(a,"type-boolean")),g}function e(a){var b,c,e=r>s?"collapsed":"",f='<div class="collapser"></div>[<span class="ellipsis"></span><ul class="array collapsible">',g=!1;for(b=0,c=a.length;c>b;b++)g=!0,f+='<li><div class="hoverable '+e+'">',f+=d(a[b]),c-1>b&&(f+=","),f+="</div></li>";return f+="</ul>]",g||(f="[ ]"),f}function f(a){var c,e,f,g=r>s?"collapsed":"",h=l(a),i='<div class="collapser"></div>{<span class="ellipsis"></span><ul class="obj collapsible">',j=!1;for(c=0,f=h.length;f>c;c++)e=h[c],j=!0,i+='<li><div class="hoverable '+g+'">',i+='<span class="property">'+b(e)+"</span>: ",i+=d(a[e]),f-1>c&&(i+=","),i+="</div></li>";return i+="</ul>}",j||(i="{ }"),i}function g(a){r=1;var b="";return b+='<div class="redoc-json">',b+=d(a),b+="</div>"}var h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){h=a.Pipe},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.isBlank},function(a){o=a.DomSanitizationService}],execute:function(){"use strict";p=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},q=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},r=1,s=2,t=function(){function a(b){j(this,a),this.sanitizer=b}return i(a,[{key:"transform",value:function(a){return n(a)?a:this.sanitizer.bypassSecurityTrustHtml(g(a))}}]),a}(),a("JsonFormatter",t),a("JsonFormatter",t=p([h({name:"jsonFormatter"}),q("design:paramtypes",[o])],t))}}}),a.register("a0",["9","73","75","76","77","78","79","87","7a","9d","9e","a1","a2"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){b=a.ElementRef,c=a.Input},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a},function(a){o=a.JsonFormatter},function(a){p=a.SchemaNormalizer},function(a){q=a.CopyButton}],execute:function(){"use strict";r=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},s=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},t=function(a){function b(a,c){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.enableButtons=!1,this.element=c.nativeElement,this._normalizer=new p(a)}return h(b,a),i(b,[{key:"init",value:function(){this.bindEvents();var a={},b=void 0;if(this.componentSchema.schema&&(a=this.componentSchema,this.componentSchema=this.componentSchema.schema),a.examples&&a.examples["application/json"])b=a.examples["application/json"];else{var c=void 0;this.componentSchema=this._normalizer.normalize(this.componentSchema,this.pointer);var d=this.componentSchema.discriminator;if(d){var e=this.specMgr.findDerivedDefinitions(this.componentSchema._pointer||this.pointer);if(e.length){c=e[0];var f=this.specMgr.byPointer(c.$ref);this.componentSchema=this._normalizer.normalize(l({},f),c.$ref,{omitParent:!1})}}if(this.fromCache())return void this.initButtons();try{b=n.sample(this.componentSchema,{skipReadOnly:this.skipReadOnly})}catch(g){}c&&(b[d]=c.name)}this.cache(b),this.sample=b,this.initButtons()}},{key:"initButtons",value:function(){"object"==typeof this.sample&&(this.enableButtons=!0)}},{key:"cache",value:function(a){this.skipReadOnly?this.componentSchema["x-redoc-ro-sample"]=a:this.componentSchema["x-redoc-rw-sample"]=a}},{key:"fromCache",value:function(){return this.skipReadOnly&&this.componentSchema["x-redoc-ro-sample"]?(this.sample=this.componentSchema["x-redoc-ro-sample"],!0):this.componentSchema["x-redoc-rw-sample"]?(this.sample=this.componentSchema["x-redoc-rw-sample"],!0):!1}},{key:"bindEvents",value:function(){this.element.addEventListener("click",function(a){var b,c=a.target;"collapser"===a.target.className&&(b=c.parentNode.getElementsByClassName("collapsible")[0],b.parentNode.classList.contains("collapsed")?b.parentNode.classList.remove("collapsed"):b.parentNode.classList.add("collapsed"))})}},{key:"expandAll",value:function(){for(var a=this.element.getElementsByClassName("collapsible"),b=0;b<a.length;b++){var c=a[b];c.parentNode.classList.remove("collapsed")}}},{key:"collapseAll",value:function(){for(var a=this.element.getElementsByClassName("collapsible"),b=0;b<a.length;b++){var c=a[b];c.parentNode.classList.contains("redoc-json")||c.parentNode.classList.add("collapsed")}}}]),b}(e),a("SchemaSample",t),r([c(),s("design:type",Boolean)],t.prototype,"skipReadOnly",void 0),a("SchemaSample",t=r([d({selector:"schema-sample",template:'\n <div class="snippet">\n <!-- in case sample is not available for some reason -->\n <pre *ngIf="sample == undefined"> Sample unavailable </pre>\n <div class="action-buttons">\n <span> <a *ngIf="enableButtons" (click)="collapseAll()">Collapse all</a> </span>\n <span> <a *ngIf="enableButtons" (click)="expandAll()">Expand all</a> </span>\n <span copy-button [copyText]="sample | json" class="hint--top hint--inversed"> <a>Copy</a> </span>\n </div>\n <pre [innerHtml]="sample | jsonFormatter"></pre>\n </div>\n ',pipes:[o],directives:[q],styles:['\n @charset "UTF-8";\n pre {\n background-color: transparent;\n padding: 0;\n margin: 0;\n clear: both;\n position: relative; }\n\n .redoc-json > .collapser {\n display: none; }\n\n .action-buttons {\n display: block;\n opacity: 0;\n transition: opacity 0.3s ease;\n transform: translateY(100%);\n z-index: 1;\n position: relative; }\n .action-buttons > span {\n float: right; }\n .action-buttons > span:last-child > a:before {\n display: none; }\n .action-buttons > span > a {\n padding: 2px 10px;\n color: #ffffff;\n cursor: pointer; }\n .action-buttons > span > a:before {\n content: \'|\';\n display: inline-block;\n transform: translateX(-10px); }\n .action-buttons > span > a:first-child {\n margin-right: 0; }\n .action-buttons > span > a:hover {\n background-color: #263238; }\n .action-buttons:after {\n display: block;\n content: \'\';\n clear: both; }\n\n .snippet:hover .action-buttons {\n opacity: 1; }\n\n :host .type-null {\n color: gray; }\n\n :host .type-boolean {\n color: firebrick; }\n\n :host .type-number {\n color: #4A8BB3; }\n\n :host .type-string {\n color: #66B16E; }\n\n :host .callback-function {\n color: gray; }\n\n :host .collapser:after {\n content: "-";\n cursor: pointer; }\n\n :host .collapsed > .collapser:after {\n content: "+";\n cursor: pointer; }\n\n :host .ellipsis:after {\n content: " … "; }\n\n :host .collapsible {\n margin-left: 2em; }\n\n :host .hoverable {\n padding-top: 1px;\n padding-bottom: 1px;\n padding-left: 2px;\n padding-right: 2px;\n border-radius: 2px; }\n\n :host .hovered {\n background-color: #ebeef9; }\n\n :host .collapser {\n padding-right: 6px;\n padding-left: 6px; }\n\n :host .redoc-json {\n overflow-x: auto;\n padding: 20px;\n border-radius: 4px;\n background-color: #222d32;\n margin-bottom: 36px; }\n\n :host ul, :host .redoc-json ul {\n list-style-type: none;\n padding: 0px;\n margin: 0px 0px 0px 26px; }\n\n :host li {\n position: relative; }\n\n :host .hoverable {\n transition: background-color .2s ease-out 0s;\n -webkit-transition: background-color .2s ease-out 0s;\n display: inline-block; }\n\n :host .hovered {\n transition-delay: .2s;\n -webkit-transition-delay: .2s; }\n\n :host .selected {\n outline-style: solid;\n outline-width: 1px;\n outline-style: dotted; }\n\n :host .collapsed > .collapsible {\n display: none; }\n\n :host .ellipsis {\n display: none; }\n\n :host .collapsed > .ellipsis {\n display: inherit; }\n\n :host .collapser {\n position: absolute;\n top: 1px;\n left: -1.5em;\n cursor: default;\n user-select: none;\n -webkit-user-select: none; }\n ']}),s("design:paramtypes",[f,b])],t))}}}),a.register("7d",["77","78"],function(a){var b,c,d;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]}],execute:function(){"use strict";d=function(){function a(){c(this,a)}return b(a,null,[{key:"isSupported",value:function(){return document.queryCommandSupported&&document.queryCommandSupported("copy")}},{key:"selectElement",value:function(a){var b=void 0,c=void 0;document.body.createTextRange?(b=document.body.createTextRange(),b.moveToElementText(a),b.select()):document.createRange&&window.getSelection&&(c=window.getSelection(),b=document.createRange(),b.selectNodeContents(a),c.removeAllRanges(),c.addRange(b))}},{key:"deselect",value:function(){document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()}},{key:"copySelected",value:function(){var a=void 0;try{a=document.execCommand("copy")}catch(b){a=!1}return a}},{key:"copyElement",value:function(b){a.selectElement(b);var c=a.copySelected();return c&&a.deselect(),c}},{key:"copyCustom",value:function(b){var c=document.createElement("textarea");c.style.position="fixed",c.style.top="0",c.style.left="0",c.style.width="2em",c.style.height="2em",c.style.padding="0",c.style.border="none",c.style.outline="none",c.style.boxShadow="none",c.style.background="transparent",c.value=b,document.body.appendChild(c),c.select();var d=a.copySelected();return document.body.removeChild(c),d}}]),a}(),a("Clipboard",d)}}}),a.register("a2",["9","77","78","79","7a","7d"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a.Directive,c=a.Input,d=a.HostListener,e=a.Renderer,f=a.ElementRef},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.Clipboard}],execute:function(){"use strict";l=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=i(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&j(b,c,g),g},m=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},n=function(){function a(b,c){h(this,a),this.renderer=b,this.element=c}return g(a,[{key:"ngOnInit",value:function(){k.isSupported()||this.element.nativeElement.parentNode.removeChild(this.element.nativeElement),this.renderer.setElementAttribute(this.element.nativeElement,"data-hint","Copy to Clipboard!")}},{key:"onClick",value:function(){var a=void 0;if(a=this.copyText?k.copyCustom(this.copyText):k.copyElement(this.copyElement))this.renderer.setElementAttribute(this.element.nativeElement,"data-hint","Copied!");else{var b=this.hintElement||this.copyElement;if(!b)return;this.renderer.setElementAttribute(b,"data-hint",'Press "ctrl + c" to copy'),this.renderer.setElementClass(b,"hint--top",!0),this.renderer.setElementClass(b,"hint--always",!0)}}},{key:"onLeave",value:function(){var a=this;setTimeout(function(){a.renderer.setElementAttribute(a.element.nativeElement,"data-hint","Copy to Clipboard")},500)}}]),a}(),a("CopyButton",n),l([c(),m("design:type",String)],n.prototype,"copyText",void 0),l([c(),m("design:type",Object)],n.prototype,"copyElement",void 0),l([c(),m("design:type",Object)],n.prototype,"hintElement",void 0),l([d("click"),m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],n.prototype,"onClick",null),l([d("mouseleave"),m("design:type",Function),m("design:paramtypes",[]),m("design:returntype",void 0)],n.prototype,"onLeave",null),a("CopyButton",n=l([b({selector:"[copy-button]"}),m("design:paramtypes",[e,f])],n))}}}),a.register("a3",["9","73","74","75","76","77","78","79","83","89","7a","a0","a4","a2"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w;return{setters:[function(a){b=a.ViewChildren,c=a.QueryList,d=a.Input},function(a){e=a.RedocComponent,f=a.BaseComponent,g=a.SpecManager},function(a){h=a.RedocEventsService},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.Tabs,o=a.Tab},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a.SchemaSample},function(a){s=a.PrismPipe},function(a){t=a.CopyButton}],execute:function(){"use strict";u=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=m(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&q(b,c,g),g},v=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0;
|
||
},w=function(a){function b(a,c){l(this,b),i(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.events=c,this.selectedLang=this.events.samplesLanguageChanged}return j(b,a),k(b,[{key:"changeLangNotify",value:function(a){this.events.samplesLanguageChanged.next(a)}},{key:"init",value:function(){this.schemaPointer=p.join(this.schemaPointer,"schema"),this.samples=this.componentSchema["x-code-samples"]||[]}}]),b}(f),a("RequestSamples",w),u([d(),v("design:type",String)],w.prototype,"schemaPointer",void 0),u([b(n),v("design:type",c)],w.prototype,"childQuery",void 0),a("RequestSamples",w=u([e({selector:"request-samples",template:'\n <header *ngIf="schemaPointer || samples.length"> Request samples </header>\n <schema-sample *ngIf="!samples.length" [skipReadOnly]="true" [pointer]="schemaPointer"> </schema-sample>\n <tabs *ngIf="samples.length" [selected] = "selectedLang" (change)=changeLangNotify($event)>\n <tab tabTitle="JSON">\n <schema-sample [pointer]="schemaPointer" [skipReadOnly]="true"> </schema-sample>\n </tab>\n <tab *ngFor="let sample of samples" [tabTitle]="sample.lang">\n <div class="code-sample">\n <div class="action-buttons">\n <span copy-button [copyText]="sample.source" class="hint--top-left hint--inversed"><a>Copy</a></span>\n </div>\n <pre [innerHtml]="sample.source | prism:sample.lang"></pre>\n </div>\n </tab>\n </tabs>\n ',styles:["\n :host {\n overflow: hidden; }\n\n .action-buttons {\n display: block;\n opacity: 0;\n transition: opacity 0.3s ease;\n transform: translateY(100%); }\n .action-buttons > span {\n float: right; }\n .action-buttons > span > a {\n padding: 2px 10px;\n color: #ffffff;\n cursor: pointer;\n background-color: #1e272c; }\n .action-buttons > span > a:hover {\n background-color: #263238; }\n .action-buttons:after {\n display: block;\n content: '';\n clear: both; }\n\n .code-sample:hover > .action-buttons {\n opacity: 1; }\n\n header {\n font-family: Montserrat;\n font-size: 0.929em;\n text-transform: uppercase;\n margin: 0;\n color: #9fb4be;\n text-transform: uppercase;\n font-weight: normal; }\n\n :host > tabs > ul li {\n font-family: Montserrat;\n font-size: .9em;\n border-radius: 2px;\n margin: 2px 0;\n padding: 3px 10px 2px 10px;\n line-height: 1.25;\n color: #9fb4be; }\n :host > tabs > ul li:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #ffffff; }\n :host > tabs > ul li.active {\n background-color: #ffffff;\n color: #263238; }\n\n :host tabs ul {\n padding-top: 10px; }\n\n pre {\n overflow-x: auto;\n word-break: break-all;\n word-wrap: break-word;\n white-space: pre-wrap;\n margin-top: 0;\n overflow-x: auto;\n padding: 20px;\n border-radius: 4px;\n background-color: #222d32;\n margin-bottom: 36px; }\n "],directives:[r,n,o,t],inputs:["schemaPointer"],pipes:[s],detect:!0,onPushOnly:!1}),v("design:paramtypes",[g,h])],w))}}}),a.register("2",["9","73","75","76","77","78","79","81","88","89","7a","7c","7e","8b","a0","a3"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v;return{setters:[function(a){b=a.Input},function(a){c=a.RedocComponent,d=a.BaseComponent,e=a.SpecManager},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.SchemaHelper},function(a){l=a.ResponsesList},function(a){m=a["default"]},function(a){n=a["default"]},function(a){o=a.SelectOnClick},function(a){p=a.ParamsList},function(a){q=a.ResponsesSamples},function(a){r=a.SchemaSample},function(a){s=a.RequestSamples}],execute:function(){"use strict";t=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&n(b,c,g),g},u=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},v=function(a){function b(a){i(this,b),f(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a)}return g(b,a),h(b,[{key:"init",value:function(){this.method={},this.method.apiUrl=this.specMgr.apiUrl,this.method.httpMethod=m.baseName(this.pointer),this.method.path=m.baseName(this.pointer,2),this.method.info=this.componentSchema,this.method.info.tags=this.filterMainTags(this.method.info.tags),this.method.bodyParam=this.findBodyParam(),this.method.summary=k.methodSummary(this.componentSchema),this.componentSchema.operationId?this.method.anchor="operation/"+encodeURIComponent(this.componentSchema.operationId):this.method.anchor=this.tag+encodeURIComponent(this.pointer)}},{key:"filterMainTags",value:function(a){var b=this.specMgr.getTagsMap();return a?a.filter(function(a){return b[a]&&b[a]["x-traitTag"]}):[]}},{key:"findBodyParam",value:function(){var a=this.specMgr.getMethodParams(this.pointer,!0),b=a.find(function(a){return"body"===a["in"]});return b}}]),b}(d),a("Method",v),t([b(),u("design:type",String)],v.prototype,"tag",void 0),a("Method",v=t([c({selector:"method",template:'\n <div class="method">\n <div class="method-content">\n <h2 class="method-header sharable-header">\n <a class="share-link" href="#{{method.anchor}}"></a>{{method.summary}}\n </h2>\n <div class="method-tags" *ngIf="method.info.tags.length">\n <a *ngFor="let tag of method.info.tags" attr.href="#tag/{{tag}}"> {{tag}} </a>\n </div>\n <p *ngIf="method.info.description" class="method-description"\n [innerHtml]="method.info.description | marked">\n </p>\n <params-list pointer="{{pointer}}/parameters"> </params-list>\n <responses-list pointer="{{pointer}}/responses"> </responses-list>\n </div>\n <div class="method-samples">\n <h5>Definition</h5>\n\n <div class="method-endpoint">\n <h5 class="http-method" [ngClass]="method.httpMethod">{{method.httpMethod}}</h5>\n <span select-on-click><!--\n --><span class="api-url">{{method.apiUrl}}</span><span class="path">{{method.path}}</span><!--\n --></span>\n </div>\n\n <div *ngIf="method.bodyParam">\n <br>\n <request-samples [pointer]="pointer" [schemaPointer]="method.bodyParam._pointer">\n </request-samples>\n </div>\n <div>\n <br>\n <responses-samples pointer="{{pointer}}/responses"> </responses-samples>\n </div>\n </div>\n <div>\n ',styles:["\n :host {\n padding-bottom: 100px;\n display: block;\n border-bottom: 1px solid rgba(127, 127, 127, 0.25); }\n\n :host:last-of-type {\n border-bottom: 0; }\n\n h2 {\n color: #263238; }\n\n responses-list, params-list {\n display: block; }\n\n .method-header {\n margin-bottom: .9em; }\n\n .method-endpoint {\n margin: 0 0 2em 0;\n padding: 10px 20px;\n border-radius: 4px;\n background-color: #222d32;\n display: block;\n font-weight: 300;\n white-space: nowrap;\n overflow-x: auto; }\n\n .method-endpoint > h5 {\n padding-top: 1px;\n padding-bottom: 0;\n margin: 0;\n font-size: .8em;\n color: #263238;\n vertical-align: middle;\n display: inline-block;\n border-radius: 2px; }\n\n .api-url {\n color: rgba(255, 255, 255, 0.6);\n margin-left: 10px;\n margin-top: 2px;\n position: relative;\n top: 1px;\n font-family: Montserrat, sans-serif;\n font-size: 0.929em !important; }\n\n .path {\n font-family: Montserrat, sans-serif;\n position: relative;\n top: 1px;\n color: #ffffff;\n font-size: 0.929em !important; }\n\n .method-tags {\n margin-top: 20px; }\n\n .method-tags a {\n font-size: 16px;\n color: #999;\n display: inline-block;\n padding: 0 0.5em;\n text-decoration: none; }\n\n .method-tags a:before {\n content: '#';\n margin-right: -0.4em; }\n\n .method-tags a:first-of-type {\n padding: 0; }\n\n .method-content, .method-samples {\n display: block;\n box-sizing: border-box;\n float: left; }\n\n .method-content {\n width: 60%;\n padding: 40px; }\n\n .method-samples {\n color: #fafbfc;\n width: 40%;\n padding: 40px;\n background: #263238; }\n\n responses-samples {\n display: block; }\n\n .method-samples header,\n .method-samples > h5 {\n color: #9fb4be;\n text-transform: uppercase; }\n\n .method-samples > h5 {\n margin-bottom: 8px; }\n\n .method-samples schema-sample {\n display: block; }\n\n .method:after {\n content: \"\";\n display: table;\n clear: both; }\n\n .method-description {\n padding: 6px 0 10px 0;\n margin: 0; }\n\n .http-method {\n color: #263238;\n background: #ffffff;\n padding: 3px 10px;\n text-transform: uppercase; }\n\n [select-on-click] {\n cursor: pointer; }\n\n @media (max-width: 1100px) {\n .methods:before {\n display: none; }\n .method-samples, .method-content {\n width: 100%; }\n .method-samples {\n margin-top: 2em; }\n :host {\n padding-bottom: 0; } }\n "],directives:[p,l,q,r,s,o],detect:!0}),u("design:paramtypes",[e])],v))}}}),a.register("a5",["2","9","73","74","75","76","77","78","79","7a","a4"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;return{setters:[function(a){b=a.Method},function(a){c=a.forwardRef},function(a){d=a.RedocComponent,e=a.BaseComponent,f=a.SpecManager},function(a){g=a.SchemaHelper},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]},function(a){n=a.EncodeURIComponentPipe}],execute:function(){"use strict";o=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=l(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&m(b,c,g),g},p=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},q=function(a){function b(a){k(this,b),h(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.tags=[]}return i(b,a),j(b,[{key:"init",value:function(){var a=g.buildMenuTree(this.specMgr.schema);this.tags=a.filter(function(a){return!a.virtual}),this.tags.forEach(function(a){a.methods=a.methods||[],a.methods.forEach(function(b){b.tag=a.id})})}},{key:"trackByPointer",value:function(a,b){return b.pointer}},{key:"trackByTagName",value:function(a,b){return b.name}}]),b}(e),a("MethodsList",q),a("MethodsList",q=o([d({selector:"methods-list",template:'\n <div class="methods">\n <div class="tag" *ngFor="let tag of tags;trackBy:trackByTagName">\n <div class="tag-info" [attr.section]="tag.id" *ngIf="!tag.virtual">\n <h1 class="sharable-header"> <a class="share-link" href="#tag/{{tag.name | encodeURIComponent}}"></a>{{tag.name}} </h1>\n <p *ngIf="tag.description" [innerHtml]="tag.description | marked"> </p>\n </div>\n <method *ngFor="let method of tag.methods;trackBy:trackByPointer" [pointer]="method.pointer" [attr.pointer]="method.pointer"\n [attr.section]="method.tag" [tag]="method.tag" [attr.operation-id]="method.operationId"></method>\n </div>\n </div>\n ',styles:['\n .tag-info {\n padding: 40px;\n box-sizing: border-box;\n background-color: white;\n width: 60%; }\n @media (max-width: 1100px) {\n .tag-info {\n width: 100%; } }\n\n .tag-info:after, .tag-info:before {\n content: "";\n display: table; }\n\n .tag-info h1 {\n color: #0033a0;\n text-transform: capitalize;\n font-weight: normal;\n margin-top: 0; }\n\n .methods {\n display: block;\n position: relative; }\n '],directives:[c(function(){return b})],pipes:[n],detect:!0}),p("design:paramtypes",[f])],q))}}}),a.register("a6",["9","73","74","75","76","77","78","79","7a","a7","9f"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;return{setters:[function(a){b=a.ElementRef,c=a.ChangeDetectorRef,d=a.trigger,e=a.state,f=a.animate,g=a.transition,h=a.style},function(a){i=a.RedocComponent,j=a.BaseComponent,k=a.SpecManager},function(a){l=a.ScrollService,m=a.Hash,n=a.MenuService,o=a.OptionsService},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a["default"]},function(a){s=a["default"]},function(a){t=a["default"]},function(a){u=a["default"]},function(a){v=a.BrowserDomAdapter},function(a){w=a.global}],execute:function(){"use strict";x=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=t(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&u(b,c,g),g},y=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},z=function(a){function b(a,c,d,e,f,g,h,i){var j=this;s(this,b),p(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.dom=d,this.scrollService=e,this.menuService=f,this.hash=g,this.detectorRef=i,this.$element=c.nativeElement,this.activeCatCaption="",this.activeItemCaption="",this.options=h.options,this.menuService.changed.subscribe(function(a){return j.changed(a)})}return q(b,a),r(b,[{key:"changed",value:function(a){var b=a.cat,c=a.item;this.activeCatCaption=b.name||"",this.activeItemCaption=c&&c.summary||"",this.detectorRef.detectChanges()}},{key:"activateAndScroll",value:function(a,b){this.mobileMode()&&this.toggleMobileNav(),this.menuService.activate(a,b),this.menuService.scrollToActive()}},{key:"init",value:function(){var a=this;this.categories=this.menuService.categories,this.$mobileNav=this.dom.querySelector(this.$element,".mobile-nav"),this.$resourcesNav=this.dom.querySelector(this.$element,"#resources-nav"),this.scrollService.scrollYOffset=function(){var b=a.$mobileNav.clientHeight;return a.options.scrollYOffset()+b}}},{key:"mobileMode",value:function(){return this.$mobileNav.clientHeight>0}},{key:"toggleMobileNav",value:function(){var a=this.dom,b=this.options.$scrollParent===w?a.defaultDoc().body:this.$scrollParent;if(a.hasStyle(this.$resourcesNav,"height"))a.removeStyle(this.$resourcesNav,"height"),a.removeStyle(b,"overflow-y");else{var c=this.options.$scrollParent.innerHeight||this.options.$scrollParent.clientHeight,d=c-this.$mobileNav.getBoundingClientRect().bottom;a.setStyle(b,"overflow-y","hidden"),a.setStyle(this.$resourcesNav,"height",d+"px")}}},{key:"destroy",value:function(){this.scrollService.unbind(),this.hash.unbind()}}]),b}(j),a("SideMenu",z),a("SideMenu",z=x([i({selector:"side-menu",template:'\n <div #mobile class="mobile-nav" (click)="toggleMobileNav()">\n <span class="menu-header"> API Reference: </span>\n <span class="selected-item-info">\n <span class="selected-tag"> {{activeCatCaption}} </span>\n <span class="selected-endpoint">{{activeItemCaption}}</span>\n </span>\n </div>\n <div #desktop id="resources-nav">\n <h5 class="menu-header"> API reference </h5>\n <div *ngFor="let cat of categories; let idx = index" class="menu-cat">\n\n <label class="menu-cat-header" (click)="activateAndScroll(idx, -1)" [hidden]="cat.headless"\n [ngClass]="{active: cat.active}"> {{cat.name}}</label>\n <ul class="menu-subitems" @itemAnimation="cat.active ? \'expanded\' : \'collapsed\'">\n <li *ngFor="let method of cat.methods; trackBy:summary; let methIdx = index"\n [ngClass]="{active: method.active}"\n (click)="activateAndScroll(idx, methIdx)">\n {{method.summary}}\n </li>\n </ul>\n\n </div>\n </div>\n ',styles:['\n .menu-header {\n text-transform: uppercase;\n color: #0033a0;\n padding: 0 20px;\n margin: 10px 0; }\n\n .menu-cat-header {\n font-size: 0.929em;\n font-family: Montserrat, sans-serif;\n font-weight: 300;\n cursor: pointer;\n color: rgba(38, 50, 56, 0.6);\n text-transform: uppercase;\n background-color: #FAFAFA;\n -webkit-transition: all .15s ease-in-out;\n -moz-transition: all .15s ease-in-out;\n -ms-transition: all .15s ease-in-out;\n -o-transition: all .15s ease-in-out;\n transition: all .15s ease-in-out;\n display: block;\n padding: 12.5px 20px; }\n .menu-cat-header:hover, .menu-cat-header.active {\n color: #0033a0;\n background-color: #f0f0f0; }\n .menu-cat-header[hidden] {\n display: none; }\n\n .menu-subitems {\n margin: 0;\n font-size: 0.929em;\n line-height: 1.2em;\n font-weight: 300;\n color: rgba(38, 50, 56, 0.9);\n padding: 0;\n overflow: hidden; }\n .menu-subitems.active {\n height: auto; }\n .menu-subitems li {\n -webkit-transition: all .15s ease-in-out;\n -moz-transition: all .15s ease-in-out;\n -ms-transition: all .15s ease-in-out;\n -o-transition: all .15s ease-in-out;\n transition: all .15s ease-in-out;\n list-style: none inside none;\n cursor: pointer;\n background-color: #f0f0f0;\n padding: 10px 40px;\n padding-left: 40px;\n overflow: hidden;\n text-overflow: ellipsis; }\n .menu-subitems li:hover,\n .menu-subitems li.active {\n background: #e1e1e1; }\n\n .mobile-nav {\n display: none;\n height: 3em;\n line-height: 3em;\n box-sizing: border-box;\n border-bottom: 1px solid #ccc;\n cursor: pointer; }\n .mobile-nav:after {\n content: "";\n display: inline-block;\n width: 3em;\n height: 3em;\n background: url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 100 100" version="1.1" viewBox="0 0 100 100" xml:space="preserve"><polygon fill="#010101" points="23.1 34.1 51.5 61.7 80 34.1 81.5 35 51.5 64.1 21.5 35 23.1 34.1 "/></svg>\');\n background-size: 70%;\n background-repeat: no-repeat;\n background-position: center;\n float: right;\n vertical-align: middle; }\n .mobile-nav .menu-header {\n padding: 0 10px 0 20px;\n font-size: 0.95em; }\n @media (max-width: 550px) {\n .mobile-nav .menu-header {\n display: none; } }\n\n @media (max-width: 1000px) {\n .mobile-nav {\n display: block; }\n #resources-nav {\n height: 0;\n overflow-y: auto;\n transition: all 0.3s ease; }\n #resources-nav .menu-header {\n display: none; }\n .menu-subitems {\n height: auto; } }\n\n .selected-tag {\n text-transform: capitalize; }\n\n .selected-endpoint:before {\n content: "/";\n padding: 0 2px;\n color: #ccc; }\n\n .selected-endpoint:empty:before {\n display: none; }\n\n .selected-item-info {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n box-sizing: border-box;\n max-width: 350px; }\n @media (max-width: 550px) {\n .selected-item-info {\n display: inline-block;\n padding: 0 20px;\n max-width: 80%;\n max-width: calc(100% - 4em); } }\n '],detect:!0,onPushOnly:!1,animations:[d("itemAnimation",[e("collapsed, void",h({height:"0px"})),e("expanded",h({height:"*"})),g("collapsed <=> expanded",[f("200ms ease")])])]}),y("design:paramtypes",[k,b,v,l,n,m,o,c])],z))}}}),a.registerDynamic("75",["79"],!0,function(a,b,c){"use strict";var d=a("79")["default"];return b["default"]=function(a,b,c){for(var e=!0;e;){var f=a,g=b,h=c;e=!1,null===f&&(f=Function.prototype);var i=d(f,g);if(void 0!==i){if("value"in i)return i.value;var j=i.get;if(void 0===j)return;return j.call(h)}var k=Object.getPrototypeOf(f);if(null===k)return;a=k,b=g,c=h,e=!0,i=k=void 0}},b.__esModule=!0,c.exports}),a.registerDynamic("a8",["a9"],!0,function(a,b,c){var d=a("a9");return c.exports=function(a,b){return d.create(a,b)},c.exports}),a.registerDynamic("aa",["a8"],!0,function(a,b,c){return c.exports={"default":a("a8"),__esModule:!0},c.exports}),a.registerDynamic("ab",["98","ac"],!0,function(a,b,c){var d=a("98");return d(d.S,"Object",{setPrototypeOf:a("ac").set}),c.exports}),a.registerDynamic("ad",["ab","9a"],!0,function(a,b,c){return a("ab"),c.exports=a("9a").Object.setPrototypeOf,c.exports}),a.registerDynamic("ae",["ad"],!0,function(a,b,c){return c.exports={"default":a("ad"),__esModule:!0},c.exports}),a.registerDynamic("76",["aa","ae"],!0,function(a,b,c){"use strict";var d=a("aa")["default"],e=a("ae")["default"];return b["default"]=function(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=d(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(e?e(a,b):a.__proto__=b)},b.__esModule=!0,c.exports}),a.registerDynamic("af",["b0"],!0,function(a,b,c){"use strict";var d=a("b0"),e=function(){function a(){}return a.prototype.getTitle=function(){return d.getDOM().getTitle()},a.prototype.setTitle=function(a){d.getDOM().setTitle(a)},a}();return b.Title=e,c.exports}),a.registerDynamic("b1",[],!0,function(a,b,c){"use strict";var d="undefined"!=typeof window&&window||{};return b.window=d,b.document=d.document,b.location=d.location,b.gc=d.gc?function(){return d.gc()}:function(){return null},b.performance=d.performance?d.performance:null,b.Event=d.Event,b.MouseEvent=d.MouseEvent,b.KeyboardEvent=d.KeyboardEvent,b.EventTarget=d.EventTarget,b.History=d.History,b.Location=d.Location,b.EventListener=d.EventListener,c.exports}),a.registerDynamic("b2",["9","b0","b1","b3"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("b0"),f=a("b1"),g=a("b3"),h=function(){function a(a,b){this.msPerTick=a,this.numTicks=b}return a}();b.ChangeDetectionPerfRecord=h;var i=function(){function a(a){this.profiler=new j(a)}return a}();b.AngularTools=i;var j=function(){function a(a){this.appRef=a.injector.get(d.ApplicationRef)}return a.prototype.timeChangeDetection=function(a){var b=g.isPresent(a)&&a.record,c="Change Detection",d=g.isPresent(f.window.console.profile);b&&d&&f.window.console.profile(c);for(var i=e.getDOM().performanceNow(),j=0;5>j||e.getDOM().performanceNow()-i<500;)this.appRef.tick(),j++;var k=e.getDOM().performanceNow();b&&d&&f.window.console.profileEnd(c);var l=(k-i)/j;return f.window.console.log("ran "+j+" change detection cycles"),f.window.console.log(g.NumberWrapper.toFixed(l,2)+" ms per check"),new h(l,j)},a}();return b.AngularProfiler=j,c.exports}),a.registerDynamic("b4",["b3","b2"],!0,function(a,b,c){"use strict";function d(a){return h.ng=new g.AngularTools(a),a}function e(){delete h.ng}var f=a("b3"),g=a("b2"),h=f.global;return b.enableDebugTools=d,b.disableDebugTools=e,c.exports}),a.registerDynamic("b5",["b0","b3"],!0,function(a,b,c){"use strict";var d=a("b0"),e=a("b3"),f=function(){function a(){}return a.all=function(){return function(a){return!0}},a.css=function(a){return function(b){return e.isPresent(b.nativeElement)?d.getDOM().elementMatches(b.nativeElement,a):!1}},a.directive=function(a){return function(b){return-1!==b.providerTokens.indexOf(a)}},a}();return b.By=f,c.exports}),a.registerDynamic("b6",["6d","9","b7","b8","b9","b3","ba","bb","bc","bd","be","bf"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("6d"),f=a("9"),g=a("b7"),h=a("b8"),i=a("b9"),j=a("b3"),k=a("ba"),l=a("bb"),m=a("bc"),n=a("bd"),o=a("be"),p=a("bf"),q=function(a){function b(b,c,d){var e=this;a.call(this),this._serializer=d,this._popStateListeners=[],this._hashChangeListeners=[],this._location=null,this._broker=b.createMessageBroker(m.ROUTER_CHANNEL),this._channelSource=c.from(m.ROUTER_CHANNEL),g.ObservableWrapper.subscribe(this._channelSource,function(a){var b=null;if(h.StringMapWrapper.contains(a,"event")){var c=a.event.type;if(j.StringWrapper.equals(c,"popstate")?b=e._popStateListeners:j.StringWrapper.equals(c,"hashchange")&&(b=e._hashChangeListeners),null!==b){var d=p.deserializeGenericEvent(a.event);e._location=e._serializer.deserialize(a.location,n.LocationType),b.forEach(function(a){return a(d)})}}})}return d(b,a),b.prototype.init=function(){var a=this,b=new k.UiArguments("getLocation"),c=this._broker.runOnService(b,n.LocationType);return g.PromiseWrapper.then(c,function(b){return a._location=b,!0},function(a){throw new i.BaseException(a)})},b.prototype.getBaseHrefFromDOM=function(){throw new i.BaseException("Attempt to get base href from DOM from WebWorker. You must either provide a value for the APP_BASE_HREF token through DI or use the hash location strategy.")},b.prototype.onPopState=function(a){this._popStateListeners.push(a)},b.prototype.onHashChange=function(a){this._hashChangeListeners.push(a)},Object.defineProperty(b.prototype,"pathname",{get:function(){return null===this._location?null:this._location.pathname},set:function(a){if(null===this._location)throw new i.BaseException("Attempt to set pathname before value is obtained from UI");this._location.pathname=a;var b=[new k.FnArg(a,o.PRIMITIVE)],c=new k.UiArguments("setPathname",b);this._broker.runOnService(c,null)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"search",{get:function(){return null===this._location?null:this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hash",{get:function(){return null===this._location?null:this._location.hash},enumerable:!0,configurable:!0}),b.prototype.pushState=function(a,b,c){var d=[new k.FnArg(a,o.PRIMITIVE),new k.FnArg(b,o.PRIMITIVE),new k.FnArg(c,o.PRIMITIVE)],e=new k.UiArguments("pushState",d);this._broker.runOnService(e,null)},b.prototype.replaceState=function(a,b,c){var d=[new k.FnArg(a,o.PRIMITIVE),new k.FnArg(b,o.PRIMITIVE),new k.FnArg(c,o.PRIMITIVE)],e=new k.UiArguments("replaceState",d);this._broker.runOnService(e,null)},b.prototype.forward=function(){var a=new k.UiArguments("forward");this._broker.runOnService(a,null)},b.prototype.back=function(){var a=new k.UiArguments("back");this._broker.runOnService(a,null)},b.decorators=[{type:f.Injectable}],b.ctorParameters=[{type:k.ClientMessageBrokerFactory},{type:l.MessageBus},{type:o.Serializer}],b}(e.PlatformLocation);return b.WebWorkerPlatformLocation=q,c.exports}),a.registerDynamic("c0",["6d","9","b6"],!0,function(a,b,c){"use strict";function d(a,b){return function(){return b.runGuarded(function(){return a.init()})}}var e=a("6d"),f=a("9"),g=a("b6");return b.WORKER_APP_LOCATION_PROVIDERS=[{provide:e.PlatformLocation,useClass:g.WebWorkerPlatformLocation},{provide:f.APP_INITIALIZER,useFactory:d,multi:!0,deps:[e.PlatformLocation,f.NgZone]}],c.exports}),a.registerDynamic("c1",["9","c2","b7","b3","bb","bc","bd","be","c3"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("c2"),f=a("b7"),g=a("b3"),h=a("bb"),i=a("bc"),j=a("bd"),k=a("be"),l=a("c3"),m=function(){function a(a,b,c,d){this._brokerFactory=a,this._platformLocation=b,this._serializer=d,this._platformLocation.onPopState(g.FunctionWrapper.bind(this._sendUrlChangeEvent,this)),this._platformLocation.onHashChange(g.FunctionWrapper.bind(this._sendUrlChangeEvent,this)),this._broker=this._brokerFactory.createMessageBroker(i.ROUTER_CHANNEL),this._channelSink=c.to(i.ROUTER_CHANNEL)}return a.prototype.start=function(){this._broker.registerMethod("getLocation",null,g.FunctionWrapper.bind(this._getLocation,this),j.LocationType),this._broker.registerMethod("setPathname",[k.PRIMITIVE],g.FunctionWrapper.bind(this._setPathname,this)),this._broker.registerMethod("pushState",[k.PRIMITIVE,k.PRIMITIVE,k.PRIMITIVE],g.FunctionWrapper.bind(this._platformLocation.pushState,this._platformLocation)),this._broker.registerMethod("replaceState",[k.PRIMITIVE,k.PRIMITIVE,k.PRIMITIVE],g.FunctionWrapper.bind(this._platformLocation.replaceState,this._platformLocation)),this._broker.registerMethod("forward",null,g.FunctionWrapper.bind(this._platformLocation.forward,this._platformLocation)),this._broker.registerMethod("back",null,g.FunctionWrapper.bind(this._platformLocation.back,this._platformLocation))},a.prototype._getLocation=function(){return f.PromiseWrapper.resolve(this._platformLocation.location)},a.prototype._sendUrlChangeEvent=function(a){var b=this._serializer.serialize(this._platformLocation.location,j.LocationType),c={type:a.type};f.ObservableWrapper.callEmit(this._channelSink,{event:c,location:b})},a.prototype._setPathname=function(a){this._platformLocation.pathname=a},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:l.ServiceMessageBrokerFactory},{type:e.BrowserPlatformLocation},{type:h.MessageBus},{type:k.Serializer}],a}();return b.MessageBasedPlatformLocation=m,c.exports}),a.registerDynamic("c4",["9","c2","c1"],!0,function(a,b,c){"use strict";function d(a){return function(){var b=a.get(e.NgZone);b.runGuarded(function(){return a.get(g.MessageBasedPlatformLocation).start()})}}var e=a("9"),f=a("c2"),g=a("c1");
|
||
return b.WORKER_UI_LOCATION_PROVIDERS=[g.MessageBasedPlatformLocation,f.BrowserPlatformLocation,{provide:e.APP_INITIALIZER,useFactory:d,multi:!0,deps:[e.Injector]}],c.exports}),a.registerDynamic("c5",["b8","b3"],!0,function(a,b,c){"use strict";function d(a){return j(a,p)}function e(a){var b=j(a,p);return i(a,b)}function f(a){return j(a,m)}function g(a){var b=j(a,n);return i(a,b)}function h(a){var b=j(a,o);return i(a,b)}function i(a,b){if(q.has(a.target.tagName.toLowerCase())){var c=a.target;b.target={value:c.value},l.isPresent(c.files)&&(b.target.files=c.files)}return b}function j(a,b){for(var c={},d=0;d<b.length;d++){var e=b[d];c[e]=a[e]}return c}var k=a("b8"),l=a("b3"),m=["altKey","button","clientX","clientY","metaKey","movementX","movementY","offsetX","offsetY","region","screenX","screenY","shiftKey"],n=["altkey","charCode","code","ctrlKey","isComposing","key","keyCode","location","metaKey","repeat","shiftKey","which"],o=["propertyName","elapsedTime","pseudoElement"],p=["type","bubbles","cancelable"],q=new k.Set(["input","select","option","button","li","meter","progress","param","textarea"]);return b.serializeGenericEvent=d,b.serializeEventWithTarget=e,b.serializeMouseEvent=f,b.serializeKeyboardEvent=g,b.serializeTransitionEvent=h,c.exports}),a.registerDynamic("c6",["b7","b9","be","c5"],!0,function(a,b,c){"use strict";var d=a("b7"),e=a("b9"),f=a("be"),g=a("c5"),h=function(){function a(a,b){this._sink=a,this._serializer=b}return a.prototype.dispatchRenderEvent=function(a,b,c,h){var i;switch(h.type){case"click":case"mouseup":case"mousedown":case"dblclick":case"contextmenu":case"mouseenter":case"mouseleave":case"mousemove":case"mouseout":case"mouseover":case"show":i=g.serializeMouseEvent(h);break;case"keydown":case"keypress":case"keyup":i=g.serializeKeyboardEvent(h);break;case"input":case"change":case"blur":i=g.serializeEventWithTarget(h);break;case"abort":case"afterprint":case"beforeprint":case"cached":case"canplay":case"canplaythrough":case"chargingchange":case"chargingtimechange":case"close":case"dischargingtimechange":case"DOMContentLoaded":case"downloading":case"durationchange":case"emptied":case"ended":case"error":case"fullscreenchange":case"fullscreenerror":case"invalid":case"languagechange":case"levelfchange":case"loadeddata":case"loadedmetadata":case"obsolete":case"offline":case"online":case"open":case"orientatoinchange":case"pause":case"pointerlockchange":case"pointerlockerror":case"play":case"playing":case"ratechange":case"readystatechange":case"reset":case"scroll":case"seeked":case"seeking":case"stalled":case"submit":case"success":case"suspend":case"timeupdate":case"updateready":case"visibilitychange":case"volumechange":case"waiting":i=g.serializeGenericEvent(h);break;case"transitionend":i=g.serializeTransitionEvent(h);break;default:throw new e.BaseException(c+" not supported on WebWorkers")}return d.ObservableWrapper.callEmit(this._sink,{element:this._serializer.serialize(a,f.RenderStoreObject),eventName:c,eventTarget:b,event:i}),!1},a}();return b.EventDispatcher=h,c.exports}),a.registerDynamic("c7",["9","b3","bb","bc","c8","be","c3","c6"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("b3"),f=a("bb"),g=a("bc"),h=a("c8"),i=a("be"),j=a("c3"),k=a("c6"),l=function(){function a(a,b,c,d,e){this._brokerFactory=a,this._bus=b,this._serializer=c,this._renderStore=d,this._rootRenderer=e}return a.prototype.start=function(){var a=this._brokerFactory.createMessageBroker(g.RENDERER_CHANNEL);this._bus.initChannel(g.EVENT_CHANNEL),this._eventDispatcher=new k.EventDispatcher(this._bus.to(g.EVENT_CHANNEL),this._serializer),a.registerMethod("renderComponent",[d.RenderComponentType,i.PRIMITIVE],e.FunctionWrapper.bind(this._renderComponent,this)),a.registerMethod("selectRootElement",[i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._selectRootElement,this)),a.registerMethod("createElement",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._createElement,this)),a.registerMethod("createViewRoot",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE],e.FunctionWrapper.bind(this._createViewRoot,this)),a.registerMethod("createTemplateAnchor",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE],e.FunctionWrapper.bind(this._createTemplateAnchor,this)),a.registerMethod("createText",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._createText,this)),a.registerMethod("projectNodes",[i.RenderStoreObject,i.RenderStoreObject,i.RenderStoreObject],e.FunctionWrapper.bind(this._projectNodes,this)),a.registerMethod("attachViewAfter",[i.RenderStoreObject,i.RenderStoreObject,i.RenderStoreObject],e.FunctionWrapper.bind(this._attachViewAfter,this)),a.registerMethod("detachView",[i.RenderStoreObject,i.RenderStoreObject],e.FunctionWrapper.bind(this._detachView,this)),a.registerMethod("destroyView",[i.RenderStoreObject,i.RenderStoreObject,i.RenderStoreObject],e.FunctionWrapper.bind(this._destroyView,this)),a.registerMethod("setElementProperty",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._setElementProperty,this)),a.registerMethod("setElementAttribute",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._setElementAttribute,this)),a.registerMethod("setBindingDebugInfo",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._setBindingDebugInfo,this)),a.registerMethod("setElementClass",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._setElementClass,this)),a.registerMethod("setElementStyle",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._setElementStyle,this)),a.registerMethod("invokeElementMethod",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._invokeElementMethod,this)),a.registerMethod("setText",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE],e.FunctionWrapper.bind(this._setText,this)),a.registerMethod("listen",[i.RenderStoreObject,i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._listen,this)),a.registerMethod("listenGlobal",[i.RenderStoreObject,i.PRIMITIVE,i.PRIMITIVE,i.PRIMITIVE],e.FunctionWrapper.bind(this._listenGlobal,this)),a.registerMethod("listenDone",[i.RenderStoreObject,i.RenderStoreObject],e.FunctionWrapper.bind(this._listenDone,this))},a.prototype._renderComponent=function(a,b){var c=this._rootRenderer.renderComponent(a);this._renderStore.store(c,b)},a.prototype._selectRootElement=function(a,b,c){this._renderStore.store(a.selectRootElement(b,null),c)},a.prototype._createElement=function(a,b,c,d){this._renderStore.store(a.createElement(b,c,null),d)},a.prototype._createViewRoot=function(a,b,c){var d=a.createViewRoot(b);this._renderStore.serialize(b)!==c&&this._renderStore.store(d,c)},a.prototype._createTemplateAnchor=function(a,b,c){this._renderStore.store(a.createTemplateAnchor(b,null),c)},a.prototype._createText=function(a,b,c,d){this._renderStore.store(a.createText(b,c,null),d)},a.prototype._projectNodes=function(a,b,c){a.projectNodes(b,c)},a.prototype._attachViewAfter=function(a,b,c){a.attachViewAfter(b,c)},a.prototype._detachView=function(a,b){a.detachView(b)},a.prototype._destroyView=function(a,b,c){a.destroyView(b,c);for(var d=0;d<c.length;d++)this._renderStore.remove(c[d])},a.prototype._setElementProperty=function(a,b,c,d){a.setElementProperty(b,c,d)},a.prototype._setElementAttribute=function(a,b,c,d){a.setElementAttribute(b,c,d)},a.prototype._setBindingDebugInfo=function(a,b,c,d){a.setBindingDebugInfo(b,c,d)},a.prototype._setElementClass=function(a,b,c,d){a.setElementClass(b,c,d)},a.prototype._setElementStyle=function(a,b,c,d){a.setElementStyle(b,c,d)},a.prototype._invokeElementMethod=function(a,b,c,d){a.invokeElementMethod(b,c,d)},a.prototype._setText=function(a,b,c){a.setText(b,c)},a.prototype._listen=function(a,b,c,d){var e=this,f=a.listen(b,c,function(a){return e._eventDispatcher.dispatchRenderEvent(b,null,c,a)});this._renderStore.store(f,d)},a.prototype._listenGlobal=function(a,b,c,d){var e=this,f=a.listenGlobal(b,c,function(a){return e._eventDispatcher.dispatchRenderEvent(null,b,c,a)});this._renderStore.store(f,d)},a.prototype._listenDone=function(a,b){b()},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:j.ServiceMessageBrokerFactory},{type:f.MessageBus},{type:i.Serializer},{type:h.RenderStore},{type:d.RootRenderer}],a}();return b.MessageBasedRenderer=l,c.exports}),a.registerDynamic("c9",["9","ca","cb","a7","cc","b0","cd","ce","cf","d0","d1","d2","d3","b9","b3","d4","ba","bb","d5","c8","be","c3","c7"],!0,function(a,b,c){"use strict";function d(a){var c=a.get(D.MessageBus),d=a.get(m.NgZone);c.attachToZone(d);var e=a.get(b.WORKER_UI_STARTABLE_MESSAGING_SERVICE);d.runGuarded(function(){e.forEach(function(a){a.start()})})}function e(a){return a.bus}function f(){p.BrowserDomAdapter.makeCurrent(),n.wtfInit(),q.BrowserGetTestability.init()}function g(){return A.isBlank(m.getPlatform())&&m.createPlatform(m.ReflectiveInjector.resolveAndCreate(b.WORKER_UI_PLATFORM_PROVIDERS)),m.assertPlatform(J)}function h(){return new m.ExceptionHandler(r.getDOM())}function i(){return r.getDOM().defaultDoc()}function j(a){return function(){var c;try{c=a.get(b.WORKER_SCRIPT)}catch(e){throw new z.BaseException("You must provide your WebWorker's initialization script with the WORKER_SCRIPT token")}var f=a.get(K);k(c,f),d(a)}}function k(a,b){var c=new Worker(a),d=new E.PostMessageBusSink(c),e=new E.PostMessageBusSource(c),f=new E.PostMessageBus(d,e);b.init(c,f)}function l(){return new n.NoOpAnimationDriver}var m=a("9"),n=a("ca"),o=a("cb"),p=a("a7"),q=a("cc"),r=a("b0"),s=a("cd"),t=a("ce"),u=a("cf"),v=a("d0"),w=a("d1"),x=a("d2"),y=a("d3"),z=a("b9"),A=a("b3"),B=a("d4"),C=a("ba"),D=a("bb"),E=a("d5"),F=a("c8"),G=a("be"),H=a("c3"),I=a("c7"),J=new m.OpaqueToken("WorkerRenderPlatformMarker"),K=function(){function a(){}return a.prototype.init=function(a,b){this.worker=a,this.bus=b},a.decorators=[{type:m.Injectable}],a}();return b.WebWorkerInstance=K,b.WORKER_SCRIPT=new m.OpaqueToken("WebWorkerScript"),b.WORKER_UI_STARTABLE_MESSAGING_SERVICE=new m.OpaqueToken("WorkerRenderStartableMsgService"),b.WORKER_UI_PLATFORM_PROVIDERS=[m.PLATFORM_COMMON_PROVIDERS,{provide:J,useValue:!0},{provide:m.PLATFORM_INITIALIZER,useValue:f,multi:!0}],b.WORKER_UI_APPLICATION_PROVIDERS=[m.APPLICATION_COMMON_PROVIDERS,I.MessageBasedRenderer,{provide:b.WORKER_UI_STARTABLE_MESSAGING_SERVICE,useExisting:I.MessageBasedRenderer,multi:!0},o.BROWSER_SANITIZATION_PROVIDERS,{provide:m.ExceptionHandler,useFactory:h,deps:[]},{provide:t.DOCUMENT,useFactory:i,deps:[]},{provide:v.EVENT_MANAGER_PLUGINS,useClass:u.DomEventsPlugin,multi:!0},{provide:v.EVENT_MANAGER_PLUGINS,useClass:x.KeyEventsPlugin,multi:!0},{provide:v.EVENT_MANAGER_PLUGINS,useClass:w.HammerGesturesPlugin,multi:!0},{provide:w.HAMMER_GESTURE_CONFIG,useClass:w.HammerGestureConfig},{provide:s.DomRootRenderer,useClass:s.DomRootRenderer_},{provide:m.RootRenderer,useExisting:s.DomRootRenderer},{provide:y.SharedStylesHost,useExisting:y.DomSharedStylesHost},{provide:H.ServiceMessageBrokerFactory,useClass:H.ServiceMessageBrokerFactory_},{provide:C.ClientMessageBrokerFactory,useClass:C.ClientMessageBrokerFactory_},{provide:n.AnimationDriver,useFactory:l},G.Serializer,{provide:B.ON_WEB_WORKER,useValue:!1},F.RenderStore,y.DomSharedStylesHost,m.Testability,v.EventManager,K,{provide:m.APP_INITIALIZER,useFactory:j,multi:!0,deps:[m.Injector]},{provide:D.MessageBus,useFactory:e,deps:[K]}],b.workerUiPlatform=g,c.exports}),a.registerDynamic("d6",["b3"],!0,function(a,b,c){"use strict";var d=a("b3"),e=function(){function a(a,b){var c=this;this._player=a,this.totalTime=b,this._subscriptions=[],this._finished=!1,this.parentPlayer=null,this.reset(),this._player.onfinish=function(){return c._onFinish()}}return a.prototype._onFinish=function(){this._finished||(this._finished=!0,d.isPresent(this.parentPlayer)||this.destroy(),this._subscriptions.forEach(function(a){return a()}),this._subscriptions=[])},a.prototype.onDone=function(a){this._subscriptions.push(a)},a.prototype.play=function(){this._player.play()},a.prototype.pause=function(){this._player.pause()},a.prototype.finish=function(){this._onFinish(),this._player.finish()},a.prototype.reset=function(){this._player.cancel()},a.prototype.restart=function(){this.reset(),this.play()},a.prototype.destroy=function(){this.reset(),this._onFinish()},a.prototype.setPosition=function(a){this._player.currentTime=a*this.totalTime},a.prototype.getPosition=function(){return this._player.currentTime/this.totalTime},a}();return b.WebAnimationsPlayer=e,c.exports}),a.registerDynamic("d7",["9","b8","b3","b0","d8","d6"],!0,function(a,b,c){"use strict";function d(a,b,c){var d={};return b.styles.forEach(function(b){j.StringMapWrapper.forEach(b,function(b,c){var f=m.dashCaseToCamelCase(c);d[f]=b==i.AUTO_STYLE?h(a,f):b.toString()+e(b,c,f)})}),j.StringMapWrapper.forEach(c,function(a,b){k.isPresent(d[b])||(d[b]=a)}),d}function e(a,b,c){var d="";if(g(c)&&0!=a&&"0"!=a)if(k.isNumber(a))d="px";else if(0==f(a.toString()).length)throw new i.BaseException("Please provide a CSS unit value for "+b+":"+a);return d}function f(a){for(var b=0;b<a.length;b++){var c=k.StringWrapper.charCodeAt(a,b);if(!(c>=p&&q>=c||c==r))return a.substring(b,a.length)}return""}function g(a){switch(a){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}function h(a,b){return l.getDOM().getComputedStyle(a)[b]}var i=a("9"),j=a("b8"),k=a("b3"),l=a("b0"),m=a("d8"),n=a("d6"),o=function(){function a(){}return a.prototype.animate=function(a,b,c,e,f,g){var h=a,i=[],j={};if(k.isPresent(b)&&b.styles.length>0&&(j=d(h,b,{}),j.offset=0,i.push(j)),c.forEach(function(a){var b=d(h,a.styles,j);b.offset=a.offset,i.push(b)}),1==i.length){var l=i[0];l.offset=null,i=[l,l]}var m={duration:e,delay:f,easing:g,fill:"both"},o=this._triggerWebAnimation(h,i,m);return new n.WebAnimationsPlayer(o,e)},a.prototype._triggerWebAnimation=function(a,b,c){return a.animate(b,c)},a}();b.WebAnimationsDriver=o;var p=48,q=57,r=46;return c.exports}),a.registerDynamic("d9",[],!0,function(a,b,c){"use strict";function d(){return!!window.history.pushState}return b.supportsState=d,c.exports}),a.registerDynamic("c2",["6d","9","b0","d9"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("6d"),f=a("9"),g=a("b0"),h=a("d9"),i=function(a){function b(){a.call(this),this._init()}return d(b,a),b.prototype._init=function(){this._location=g.getDOM().getLocation(),this._history=g.getDOM().getHistory()},Object.defineProperty(b.prototype,"location",{get:function(){return this._location},enumerable:!0,configurable:!0}),b.prototype.getBaseHrefFromDOM=function(){return g.getDOM().getBaseHref()},b.prototype.onPopState=function(a){g.getDOM().getGlobalEventTarget("window").addEventListener("popstate",a,!1)},b.prototype.onHashChange=function(a){g.getDOM().getGlobalEventTarget("window").addEventListener("hashchange",a,!1)},Object.defineProperty(b.prototype,"pathname",{get:function(){return this._location.pathname},set:function(a){this._location.pathname=a},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"search",{get:function(){return this._location.search},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hash",{get:function(){return this._location.hash},enumerable:!0,configurable:!0}),b.prototype.pushState=function(a,b,c){h.supportsState()?this._history.pushState(a,b,c):this._location.hash=c},b.prototype.replaceState=function(a,b,c){h.supportsState()?this._history.replaceState(a,b,c):this._location.hash=c},b.prototype.forward=function(){this._history.forward()},b.prototype.back=function(){this._history.back()},b.decorators=[{type:f.Injectable}],b.ctorParameters=[],b}(e.PlatformLocation);return b.BrowserPlatformLocation=i,c.exports}),a.registerDynamic("cc",["9","b0","b8","b3"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("b0"),f=a("b8"),g=a("b3"),h=function(){function a(a){this._testability=a}return a.prototype.isStable=function(){return this._testability.isStable()},a.prototype.whenStable=function(a){this._testability.whenStable(a)},a.prototype.findBindings=function(a,b,c){return this.findProviders(a,b,c)},a.prototype.findProviders=function(a,b,c){return this._testability.findBindings(a,b,c)},a}(),i=function(){function a(){}return a.init=function(){d.setTestabilityGetter(new a)},a.prototype.addToWindow=function(a){g.global.getAngularTestability=function(b,c){void 0===c&&(c=!0);var d=a.findTestabilityInTree(b,c);if(null==d)throw new Error("Could not find testability for element.");return new h(d)},g.global.getAllAngularTestabilities=function(){var b=a.getAllTestabilities();return b.map(function(a){return new h(a)})},g.global.getAllAngularRootElements=function(){return a.getAllRootElements()};var b=function(a){var b=g.global.getAllAngularTestabilities(),c=b.length,d=!1,e=function(b){d=d||b,c--,0==c&&a(d)};b.forEach(function(a){a.whenStable(e)})};g.global.frameworkStabilizers||(g.global.frameworkStabilizers=f.ListWrapper.createGrowableSize(0)),g.global.frameworkStabilizers.push(b)},a.prototype.findTestabilityInTree=function(a,b,c){if(null==b)return null;var d=a.getTestability(b);return g.isPresent(d)?d:c?e.getDOM().isShadowRoot(b)?this.findTestabilityInTree(a,e.getDOM().getHost(b),!0):this.findTestabilityInTree(a,e.getDOM().parentElement(b),!0):null},a}();return b.BrowserGetTestability=i,c.exports}),a.registerDynamic("da",["b8","d0"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b8"),f=a("d0"),g={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},h=function(a){function b(){a.call(this)}return d(b,a),b.prototype.supports=function(a){return a=a.toLowerCase(),e.StringMapWrapper.contains(g,a)},b}(f.EventManagerPlugin);return b.HammerGesturesPluginCommon=h,c.exports}),a.registerDynamic("d1",["9","b9","b3","da"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b9"),g=a("b3"),h=a("da");b.HAMMER_GESTURE_CONFIG=new e.OpaqueToken("HammerGestureConfig");var i=function(){function a(){this.events=[],this.overrides={}}return a.prototype.buildHammer=function(a){var b=new Hammer(a);b.get("pinch").set({enable:!0}),b.get("rotate").set({enable:!0});for(var c in this.overrides)b.get(c).set(this.overrides[c]);return b},a.decorators=[{type:e.Injectable}],a}();b.HammerGestureConfig=i;var j=function(a){function c(b){a.call(this),this._config=b}return d(c,a),c.prototype.supports=function(b){if(!a.prototype.supports.call(this,b)&&!this.isCustomEvent(b))return!1;if(!g.isPresent(window.Hammer))throw new f.BaseException("Hammer.js is not loaded, can not bind "+b+" event");return!0},c.prototype.addEventListener=function(a,b,c){var d=this,e=this.manager.getZone();return b=b.toLowerCase(),e.runOutsideAngular(function(){var f=d._config.buildHammer(a),g=function(a){e.runGuarded(function(){c(a)})};return f.on(b,g),function(){f.off(b,g)}})},c.prototype.isCustomEvent=function(a){return this._config.events.indexOf(a)>-1},c.decorators=[{type:e.Injectable}],c.ctorParameters=[{type:i,decorators:[{type:e.Inject,args:[b.HAMMER_GESTURE_CONFIG]}]}],c}(h.HammerGesturesPluginCommon);return b.HammerGesturesPlugin=j,c.exports}),a.registerDynamic("d2",["9","b3","b8","b0","d0","45"],!0,function(a,b,c){return function(c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b3"),g=a("b8"),h=a("b0"),i=a("d0"),j=["alt","control","meta","shift"],k={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},l=function(a){function b(){a.call(this)}return d(b,a),b.prototype.supports=function(a){return f.isPresent(b.parseEventName(a))},b.prototype.addEventListener=function(a,c,d){var e=b.parseEventName(c),f=b.eventCallback(a,g.StringMapWrapper.get(e,"fullKey"),d,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return h.getDOM().onAndCancel(a,g.StringMapWrapper.get(e,"domEventName"),f)})},b.parseEventName=function(a){var c=a.toLowerCase().split("."),d=c.shift();if(0===c.length||!f.StringWrapper.equals(d,"keydown")&&!f.StringWrapper.equals(d,"keyup"))return null;var e=b._normalizeKey(c.pop()),h="";if(j.forEach(function(a){g.ListWrapper.contains(c,a)&&(g.ListWrapper.remove(c,a),h+=a+".")}),h+=e,0!=c.length||0===e.length)return null;var i=g.StringMapWrapper.create();return g.StringMapWrapper.set(i,"domEventName",d),g.StringMapWrapper.set(i,"fullKey",h),i},b.getEventFullKey=function(a){var b="",c=h.getDOM().getEventKey(a);return c=c.toLowerCase(),f.StringWrapper.equals(c," ")?c="space":f.StringWrapper.equals(c,".")&&(c="dot"),j.forEach(function(d){if(d!=c){var e=g.StringMapWrapper.get(k,d);e(a)&&(b+=d+".")}}),b+=c},b.eventCallback=function(a,c,d,e){return function(a){f.StringWrapper.equals(b.getEventFullKey(a),c)&&e.runGuarded(function(){return d(a)})}},b._normalizeKey=function(a){switch(a){case"esc":return"escape";default:return a}},b.decorators=[{type:e.Injectable}],b.ctorParameters=[],b}(i.EventManagerPlugin);b.KeyEventsPlugin=l}(a("45")),c.exports}),a.registerDynamic("db",["9","b0","dc"],!0,function(a,b,c){"use strict";function d(){if(m)return m;n=k.getDOM();var a=n.createElement("template");if("content"in a)return a;var b=n.createHtmlDocument();if(m=n.querySelector(b,"body"),null==m){var c=n.createElement("html",b);m=n.createElement("body",b),n.appendChild(c,m),n.appendChild(b,c)}return m}function e(a){for(var b={},c=0,d=a.split(",");c<d.length;c++){var e=d[c];b[e.toLowerCase()]=!0}return b}function f(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];for(var c={},d=0,e=a;d<e.length;d++){var f=e[d];for(var g in f)f.hasOwnProperty(g)&&(c[g]=!0)}return c}function g(a){return a.replace(/&/g,"&").replace(A,function(a){var b=a.charCodeAt(0),c=a.charCodeAt(1);return"&#"+(1024*(b-55296)+(c-56320)+65536)+";"}).replace(B,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function h(a){n.attributeMap(a).forEach(function(b,c){"xmlns:ns1"!==c&&0!==c.indexOf("ns1:")||n.removeAttribute(a,c)});for(var b=0,c=n.childNodesAsList(a);b<c.length;b++){var d=c[b];n.isElementNode(d)&&h(d)}}function i(a){try{var b=d(),c=a?String(a):"",e=5,f=c;do{if(0===e)throw new Error("Failed to sanitize html because the input is unstable");e--,c=f,n.setInnerHTML(b,c),n.defaultDoc().documentMode&&h(b),f=n.getInnerHTML(b)}while(c!==f);for(var g=new z,i=g.sanitizeChildren(n.getTemplateContent(b)||b),k=n.getTemplateContent(b)||b,l=0,o=n.childNodesAsList(k);l<o.length;l++){var p=o[l];n.removeChild(k,p)}return j.isDevMode()&&i!==a&&n.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),i}catch(q){throw m=null,q}}var j=a("9"),k=a("b0"),l=a("dc"),m=null,n=null,o=e("area,br,col,hr,img,wbr"),p=e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),q=e("rp,rt"),r=f(q,p),s=f(p,e("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),t=f(q,e("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),u=f(o,s,t,r),v=e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),w=e("srcset"),x=e("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),y=f(v,w,x),z=function(){function a(){this.buf=[]}return a.prototype.sanitizeChildren=function(a){for(var b=a.firstChild;b;)if(n.isElementNode(b)?this.startElement(b):n.isTextNode(b)&&this.chars(n.nodeValue(b)),n.firstChild(b))b=n.firstChild(b);else for(;b;){if(n.isElementNode(b)&&this.endElement(n.nodeName(b).toLowerCase()),n.nextSibling(b)){b=n.nextSibling(b);break}b=n.parentElement(b)}return this.buf.join("")},a.prototype.startElement=function(a){var b=this,c=n.nodeName(a).toLowerCase();c=c.toLowerCase(),u.hasOwnProperty(c)&&(this.buf.push("<"),this.buf.push(c),n.attributeMap(a).forEach(function(a,c){var d=c.toLowerCase();y.hasOwnProperty(d)&&(v[d]&&(a=l.sanitizeUrl(a)),w[d]&&(a=l.sanitizeSrcset(a)),b.buf.push(" "),b.buf.push(c),b.buf.push('="'),b.buf.push(g(a)),b.buf.push('"'))}),this.buf.push(">"))},a.prototype.endElement=function(a){a=a.toLowerCase(),u.hasOwnProperty(a)&&!o.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))},a.prototype.chars=function(a){this.buf.push(g(a))},a}(),A=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,B=/([^\#-~ |!])/g;return b.sanitizeHtml=i,c.exports}),a.registerDynamic("dd",["9","b0","dc"],!0,function(a,b,c){"use strict";function d(a){for(var b=!0,c=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"===e&&c?b=!b:'"'===e&&b&&(c=!c)}return b&&c}function e(a){if(a=String(a).trim(),!a)return"";var b=n.exec(a);return b&&h.sanitizeUrl(b[1])===b[1]||a.match(m)&&d(a)?a:(f.isDevMode()&&g.getDOM().log("WARNING: sanitizing unsafe style value "+a+" (see http://g.co/ng/security#xss)."),"unsafe")}var f=a("9"),g=a("b0"),h=a("dc"),i="[-,.\"'%_!# a-zA-Z0-9]+",j="(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?",k="(?:rgb|hsl)a?",l="\\([-0-9.%, a-zA-Z]+\\)",m=new RegExp("^("+i+"|(?:"+j+"|"+k+")"+l+")$","g"),n=/^url\(([^)]+)\)$/;return b.sanitizeStyle=e,c.exports}),a.registerDynamic("dc",["9","b0"],!0,function(a,b,c){"use strict";function d(a){return a=String(a),a.match(h)||a.match(i)?a:(f.isDevMode()&&g.getDOM().log("WARNING: sanitizing unsafe URL value "+a+" (see http://g.co/ng/security#xss)"),"unsafe:"+a)}function e(a){return a=String(a),a.split(",").map(function(a){return d(a.trim())}).join(", ")}var f=a("9"),g=a("b0"),h=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,i=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;return b.sanitizeUrl=d,b.sanitizeSrcset=e,c.exports}),a.registerDynamic("de",["9","ca","db","dd","dc"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("ca");b.SecurityContext=f.SecurityContext;var g=a("db"),h=a("dd"),i=a("dc"),j=function(){function a(){}return a}();b.DomSanitizationService=j;var k=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case f.SecurityContext.NONE:return b;case f.SecurityContext.HTML:return b instanceof m?b.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(b,"HTML"),g.sanitizeHtml(String(b)));case f.SecurityContext.STYLE:return b instanceof n?b.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(b,"Style"),h.sanitizeStyle(b));case f.SecurityContext.SCRIPT:if(b instanceof o)return b.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(b,"Script"),new Error("unsafe value used in a script context");case f.SecurityContext.URL:return b instanceof p?b.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(b,"URL"),i.sanitizeUrl(String(b)));case f.SecurityContext.RESOURCE_URL:if(b instanceof q)return b.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(b,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+a+" (see http://g.co/ng/security#xss)")}},b.prototype.checkNotSafeValue=function(a,b){if(a instanceof l)throw new Error("Required a safe "+b+", got a "+a.getTypeName()+" (see http://g.co/ng/security#xss)")},b.prototype.bypassSecurityTrustHtml=function(a){return new m(a)},b.prototype.bypassSecurityTrustStyle=function(a){return new n(a)},b.prototype.bypassSecurityTrustScript=function(a){return new o(a)},b.prototype.bypassSecurityTrustUrl=function(a){return new p(a)},b.prototype.bypassSecurityTrustResourceUrl=function(a){return new q(a)},b.decorators=[{type:e.Injectable}],b}(j);b.DomSanitizationServiceImpl=k;var l=function(){function a(a){this.changingThisBreaksApplicationSecurity=a}return a.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},a}(),m=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.getTypeName=function(){return"HTML"},b}(l),n=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.getTypeName=function(){return"Style"},b}(l),o=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.getTypeName=function(){return"Script"},b}(l),p=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.getTypeName=function(){return"URL"},b}(l),q=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.getTypeName=function(){return"ResourceURL"},b}(l);return c.exports}),a.registerDynamic("cb",["6d","9","ca","d7","a7","c2","cc","df","b0","cd","ce","cf","d0","d1","d2","d3","b3","de"],!0,function(a,b,c){"use strict";function d(){return y.isBlank(j.getPlatform())&&j.createPlatform(j.ReflectiveInjector.resolveAndCreate(b.BROWSER_PLATFORM_PROVIDERS)),j.assertPlatform(A)}function e(){m.BrowserDomAdapter.makeCurrent(),k.wtfInit(),o.BrowserGetTestability.init()}function f(){return new j.ExceptionHandler(q.getDOM())}function g(){return q.getDOM().defaultDoc()}function h(){return q.getDOM().supportsWebAnimation()?new l.WebAnimationsDriver:new k.NoOpAnimationDriver}var i=a("6d"),j=a("9"),k=a("ca"),l=a("d7"),m=a("a7"),n=a("c2"),o=a("cc"),p=a("df"),q=a("b0"),r=a("cd"),s=a("ce"),t=a("cf"),u=a("d0"),v=a("d1"),w=a("d2"),x=a("d3"),y=a("b3"),z=a("de"),A=new j.OpaqueToken("BrowserPlatformMarker");return b.BROWSER_PLATFORM_PROVIDERS=[{provide:A,useValue:!0},j.PLATFORM_COMMON_PROVIDERS,{provide:j.PLATFORM_INITIALIZER,useValue:e,multi:!0},{provide:i.PlatformLocation,useClass:n.BrowserPlatformLocation}],b.BROWSER_SANITIZATION_PROVIDERS=[{provide:k.SanitizationService,useExisting:z.DomSanitizationService},{provide:z.DomSanitizationService,useClass:z.DomSanitizationServiceImpl}],b.BROWSER_APP_PROVIDERS=[j.APPLICATION_COMMON_PROVIDERS,i.FORM_PROVIDERS,b.BROWSER_SANITIZATION_PROVIDERS,{
|
||
provide:j.ExceptionHandler,useFactory:f,deps:[]},{provide:s.DOCUMENT,useFactory:g,deps:[]},{provide:u.EVENT_MANAGER_PLUGINS,useClass:t.DomEventsPlugin,multi:!0},{provide:u.EVENT_MANAGER_PLUGINS,useClass:w.KeyEventsPlugin,multi:!0},{provide:u.EVENT_MANAGER_PLUGINS,useClass:v.HammerGesturesPlugin,multi:!0},{provide:v.HAMMER_GESTURE_CONFIG,useClass:v.HammerGestureConfig},{provide:r.DomRootRenderer,useClass:r.DomRootRenderer_},{provide:j.RootRenderer,useExisting:r.DomRootRenderer},{provide:x.SharedStylesHost,useExisting:x.DomSharedStylesHost},{provide:k.AnimationDriver,useFactory:h},x.DomSharedStylesHost,j.Testability,u.EventManager,p.ELEMENT_PROBE_PROVIDERS],b.browserPlatform=d,c.exports}),a.registerDynamic("d4",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.ON_WEB_WORKER=new d.OpaqueToken("WebWorker.onWebWorker"),c.exports}),a.registerDynamic("d5",["9","b7","b8","b9"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("b7"),f=a("b8"),g=a("b9"),h=function(){function a(a){this._postMessageTarget=a,this._channels=f.StringMapWrapper.create(),this._messageBuffer=[]}return a.prototype.attachToZone=function(a){var b=this;this._zone=a,this._zone.runOutsideAngular(function(){e.ObservableWrapper.subscribe(b._zone.onStable,function(a){b._handleOnEventDone()})})},a.prototype.initChannel=function(a,b){var c=this;if(void 0===b&&(b=!0),f.StringMapWrapper.contains(this._channels,a))throw new g.BaseException(a+" has already been initialized");var d=new e.EventEmitter(!1),h=new k(d,b);this._channels[a]=h,d.subscribe(function(d){var e={channel:a,message:d};b?c._messageBuffer.push(e):c._sendMessages([e])})},a.prototype.to=function(a){if(f.StringMapWrapper.contains(this._channels,a))return this._channels[a].emitter;throw new g.BaseException(a+" is not set up. Did you forget to call initChannel?")},a.prototype._handleOnEventDone=function(){this._messageBuffer.length>0&&(this._sendMessages(this._messageBuffer),this._messageBuffer=[])},a.prototype._sendMessages=function(a){this._postMessageTarget.postMessage(a)},a}();b.PostMessageBusSink=h;var i=function(){function a(a){var b=this;if(this._channels=f.StringMapWrapper.create(),a)a.addEventListener("message",function(a){return b._handleMessages(a)});else{var c=self;c.addEventListener("message",function(a){return b._handleMessages(a)})}}return a.prototype.attachToZone=function(a){this._zone=a},a.prototype.initChannel=function(a,b){if(void 0===b&&(b=!0),f.StringMapWrapper.contains(this._channels,a))throw new g.BaseException(a+" has already been initialized");var c=new e.EventEmitter(!1),d=new k(c,b);this._channels[a]=d},a.prototype.from=function(a){if(f.StringMapWrapper.contains(this._channels,a))return this._channels[a].emitter;throw new g.BaseException(a+" is not set up. Did you forget to call initChannel?")},a.prototype._handleMessages=function(a){for(var b=a.data,c=0;c<b.length;c++)this._handleMessage(b[c])},a.prototype._handleMessage=function(a){var b=a.channel;if(f.StringMapWrapper.contains(this._channels,b)){var c=this._channels[b];c.runInZone?this._zone.run(function(){c.emitter.emit(a.message)}):c.emitter.emit(a.message)}},a}();b.PostMessageBusSource=i;var j=function(){function a(a,b){this.sink=a,this.source=b}return a.prototype.attachToZone=function(a){this.source.attachToZone(a),this.sink.attachToZone(a)},a.prototype.initChannel=function(a,b){void 0===b&&(b=!0),this.source.initChannel(a,b),this.sink.initChannel(a,b)},a.prototype.from=function(a){return this.source.from(a)},a.prototype.to=function(a){return this.sink.to(a)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:h},{type:i}],a}();b.PostMessageBus=j;var k=function(){function a(a,b){this.emitter=a,this.runInZone=b}return a}();return c.exports}),a.registerDynamic("c3",["9","b7","b8","b3","bb","be"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b7"),g=a("b8"),h=a("b3"),i=a("bb"),j=a("be"),k=function(){function a(){}return a}();b.ServiceMessageBrokerFactory=k;var l=function(a){function b(b,c){a.call(this),this._messageBus=b,this._serializer=c}return d(b,a),b.prototype.createMessageBroker=function(a,b){return void 0===b&&(b=!0),this._messageBus.initChannel(a,b),new n(this._messageBus,this._serializer,a)},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:i.MessageBus},{type:j.Serializer}],b}(k);b.ServiceMessageBrokerFactory_=l;var m=function(){function a(){}return a}();b.ServiceMessageBroker=m;var n=function(a){function b(b,c,d){var e=this;a.call(this),this._serializer=c,this.channel=d,this._methods=new g.Map,this._sink=b.to(d);var h=b.from(d);f.ObservableWrapper.subscribe(h,function(a){return e._handleMessage(a)})}return d(b,a),b.prototype.registerMethod=function(a,b,c,d){var e=this;this._methods.set(a,function(a){for(var f=a.args,i=null===b?0:b.length,j=g.ListWrapper.createFixedSize(i),k=0;i>k;k++){var l=f[k];j[k]=e._serializer.deserialize(l,b[k])}var m=h.FunctionWrapper.apply(c,j);h.isPresent(d)&&h.isPresent(m)&&e._wrapWebWorkerPromise(a.id,m,d)})},b.prototype._handleMessage=function(a){var b=new o(a);this._methods.has(b.method)&&this._methods.get(b.method)(b)},b.prototype._wrapWebWorkerPromise=function(a,b,c){var d=this;f.PromiseWrapper.then(b,function(b){f.ObservableWrapper.callEmit(d._sink,{type:"result",value:d._serializer.serialize(b,c),id:a})})},b}(m);b.ServiceMessageBroker_=n;var o=function(){function a(a){this.method=a.method,this.args=a.args,this.id=a.id,this.type=a.type}return a}();return b.ReceivedMessage=o,c.exports}),a.registerDynamic("e0",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("b7",["b","c","d","b3","f","e0"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("b3"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("e0");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("ba",["9","b7","b8","b3","bb","be"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b7"),g=a("b8"),h=a("b3"),i=a("bb"),j=a("be"),k=function(){function a(){}return a}();b.ClientMessageBrokerFactory=k;var l=function(a){function b(b,c){a.call(this),this._messageBus=b,this._serializer=c}return d(b,a),b.prototype.createMessageBroker=function(a,b){return void 0===b&&(b=!0),this._messageBus.initChannel(a,b),new n(this._messageBus,this._serializer,a)},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:i.MessageBus},{type:j.Serializer}],b}(k);b.ClientMessageBrokerFactory_=l;var m=function(){function a(){}return a}();b.ClientMessageBroker=m;var n=function(a){function b(b,c,d){var e=this;a.call(this),this.channel=d,this._pending=new Map,this._sink=b.to(d),this._serializer=c;var g=b.from(d);f.ObservableWrapper.subscribe(g,function(a){return e._handleMessage(a)})}return d(b,a),b.prototype._generateMessageId=function(a){for(var b=h.stringify(h.DateWrapper.toMillis(h.DateWrapper.now())),c=0,d=a+b+h.stringify(c);h.isPresent(this._pending[d]);)d=""+a+b+c,c++;return d},b.prototype.runOnService=function(a,b){var c=this,d=[];h.isPresent(a.args)&&a.args.forEach(function(a){null!=a.type?d.push(c._serializer.serialize(a.value,a.type)):d.push(a.value)});var e,g=null;if(null!=b){var i=f.PromiseWrapper.completer();g=this._generateMessageId(a.method),this._pending.set(g,i),f.PromiseWrapper.catchError(i.promise,function(a,b){h.print(a),i.reject(a,b)}),e=f.PromiseWrapper.then(i.promise,function(a){return null==c._serializer?a:c._serializer.deserialize(a,b)})}else e=null;var j={method:a.method,args:d};return null!=g&&(j.id=g),f.ObservableWrapper.callEmit(this._sink,j),e},b.prototype._handleMessage=function(a){var b=new o(a);if(h.StringWrapper.equals(b.type,"result")||h.StringWrapper.equals(b.type,"error")){var c=b.id;this._pending.has(c)&&(h.StringWrapper.equals(b.type,"result")?this._pending.get(c).resolve(b.value):this._pending.get(c).reject(b.value,null),this._pending["delete"](c))}},b}(m);b.ClientMessageBroker_=n;var o=function(){function a(a){this.type=g.StringMapWrapper.get(a,"type"),this.id=this._getValueIfPresent(a,"id"),this.value=this._getValueIfPresent(a,"value")}return a.prototype._getValueIfPresent=function(a,b){return g.StringMapWrapper.contains(a,b)?g.StringMapWrapper.get(a,b):null},a}(),p=function(){function a(a,b){this.value=a,this.type=b}return a}();b.FnArg=p;var q=function(){function a(a,b){this.method=a,this.args=b}return a}();return b.UiArguments=q,c.exports}),a.registerDynamic("bb",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a}();return b.MessageBus=d,c.exports}),a.registerDynamic("bc",[],!0,function(a,b,c){"use strict";return b.RENDERER_CHANNEL="ng-Renderer",b.EVENT_CHANNEL="ng-Events",b.ROUTER_CHANNEL="ng-Router",c.exports}),a.registerDynamic("c8",["9"],!0,function(a,b,c){"use strict";var d=a("9"),e=function(){function a(){this._nextIndex=0,this._lookupById=new Map,this._lookupByObject=new Map}return a.prototype.allocateId=function(){return this._nextIndex++},a.prototype.store=function(a,b){this._lookupById.set(b,a),this._lookupByObject.set(a,b)},a.prototype.remove=function(a){var b=this._lookupByObject.get(a);this._lookupByObject["delete"](a),this._lookupById["delete"](b)},a.prototype.deserialize=function(a){return null==a?null:this._lookupById.has(a)?this._lookupById.get(a):null},a.prototype.serialize=function(a){return null==a?null:this._lookupByObject.get(a)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[],a}();return b.RenderStore=e,c.exports}),a.registerDynamic("bd",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b,c,d,e,f,g,h,i){this.href=a,this.protocol=b,this.host=c,this.hostname=d,this.port=e,this.pathname=f,this.search=g,this.hash=h,this.origin=i}return a}();return b.LocationType=d,c.exports}),a.registerDynamic("be",["9","ca","b9","b3","c8","bd"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("ca"),f=a("b9"),g=a("b3"),h=a("c8"),i=a("bd");b.PRIMITIVE=String;var j=function(){function a(a){this._renderStore=a}return a.prototype.serialize=function(a,c){var e=this;if(!g.isPresent(a))return null;if(g.isArray(a))return a.map(function(a){return e.serialize(a,c)});if(c==b.PRIMITIVE)return a;if(c==k)return this._renderStore.serialize(a);if(c===d.RenderComponentType)return this._serializeRenderComponentType(a);if(c===d.ViewEncapsulation)return g.serializeEnum(a);if(c===i.LocationType)return this._serializeLocation(a);throw new f.BaseException("No serializer for "+c.toString())},a.prototype.deserialize=function(a,c,h){var j=this;if(!g.isPresent(a))return null;if(g.isArray(a)){var l=[];return a.forEach(function(a){return l.push(j.deserialize(a,c,h))}),l}if(c==b.PRIMITIVE)return a;if(c==k)return this._renderStore.deserialize(a);if(c===d.RenderComponentType)return this._deserializeRenderComponentType(a);if(c===d.ViewEncapsulation)return e.VIEW_ENCAPSULATION_VALUES[a];if(c===i.LocationType)return this._deserializeLocation(a);throw new f.BaseException("No deserializer for "+c.toString())},a.prototype._serializeLocation=function(a){return{href:a.href,protocol:a.protocol,host:a.host,hostname:a.hostname,port:a.port,pathname:a.pathname,search:a.search,hash:a.hash,origin:a.origin}},a.prototype._deserializeLocation=function(a){return new i.LocationType(a.href,a.protocol,a.host,a.hostname,a.port,a.pathname,a.search,a.hash,a.origin)},a.prototype._serializeRenderComponentType=function(a){return{id:a.id,templateUrl:a.templateUrl,slotCount:a.slotCount,encapsulation:this.serialize(a.encapsulation,d.ViewEncapsulation),styles:this.serialize(a.styles,b.PRIMITIVE)}},a.prototype._deserializeRenderComponentType=function(a){return new d.RenderComponentType(a.id,a.templateUrl,a.slotCount,this.deserialize(a.encapsulation,d.ViewEncapsulation),this.deserialize(a.styles,b.PRIMITIVE))},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:h.RenderStore}],a}();b.Serializer=j;var k=function(){function a(){}return a}();return b.RenderStoreObject=k,c.exports}),a.registerDynamic("bf",[],!0,function(a,b,c){"use strict";function d(a){return a}return b.deserializeGenericEvent=d,c.exports}),a.registerDynamic("e1",["9","b7","b8","b3","ba","bb","bc","c8","be","bf"],!0,function(a,b,c){"use strict";function d(a,b){return a+":"+b}var e=a("9"),f=a("b7"),g=a("b8"),h=a("b3"),i=a("ba"),j=a("bb"),k=a("bc"),l=a("c8"),m=a("be"),n=a("bf"),o=function(){function a(a,b,c,d){var e=this;this._serializer=c,this._renderStore=d,this.globalEvents=new q,this._componentRenderers=new Map,this._messageBroker=a.createMessageBroker(k.RENDERER_CHANNEL),b.initChannel(k.EVENT_CHANNEL);var g=b.from(k.EVENT_CHANNEL);f.ObservableWrapper.subscribe(g,function(a){return e._dispatchEvent(a)})}return a.prototype._dispatchEvent=function(a){var b=a.eventName,c=a.eventTarget,e=n.deserializeGenericEvent(a.event);if(h.isPresent(c))this.globalEvents.dispatchEvent(d(c,b),e);else{var f=this._serializer.deserialize(a.element,m.RenderStoreObject);f.events.dispatchEvent(b,e)}},a.prototype.renderComponent=function(a){var b=this._componentRenderers.get(a.id);if(h.isBlank(b)){b=new p(this,a),this._componentRenderers.set(a.id,b);var c=this._renderStore.allocateId();this._renderStore.store(b,c),this.runOnService("renderComponent",[new i.FnArg(a,e.RenderComponentType),new i.FnArg(b,m.RenderStoreObject)])}return b},a.prototype.runOnService=function(a,b){var c=new i.UiArguments(a,b);this._messageBroker.runOnService(c,null)},a.prototype.allocateNode=function(){var a=new r,b=this._renderStore.allocateId();return this._renderStore.store(a,b),a},a.prototype.allocateId=function(){return this._renderStore.allocateId()},a.prototype.destroyNodes=function(a){for(var b=0;b<a.length;b++)this._renderStore.remove(a[b])},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:i.ClientMessageBrokerFactory},{type:j.MessageBus},{type:m.Serializer},{type:l.RenderStore}],a}();b.WebWorkerRootRenderer=o;var p=function(){function a(a,b){this._rootRenderer=a,this._componentType=b}return a.prototype._runOnService=function(a,b){var c=[new i.FnArg(this,m.RenderStoreObject)].concat(b);this._rootRenderer.runOnService(a,c)},a.prototype.selectRootElement=function(a,b){var c=this._rootRenderer.allocateNode();return this._runOnService("selectRootElement",[new i.FnArg(a,null),new i.FnArg(c,m.RenderStoreObject)]),c},a.prototype.createElement=function(a,b,c){var d=this._rootRenderer.allocateNode();return this._runOnService("createElement",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(d,m.RenderStoreObject)]),d},a.prototype.createViewRoot=function(a){var b=this._componentType.encapsulation===e.ViewEncapsulation.Native?this._rootRenderer.allocateNode():a;return this._runOnService("createViewRoot",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,m.RenderStoreObject)]),b},a.prototype.createTemplateAnchor=function(a,b){var c=this._rootRenderer.allocateNode();return this._runOnService("createTemplateAnchor",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(c,m.RenderStoreObject)]),c},a.prototype.createText=function(a,b,c){var d=this._rootRenderer.allocateNode();return this._runOnService("createText",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(d,m.RenderStoreObject)]),d},a.prototype.projectNodes=function(a,b){this._runOnService("projectNodes",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,m.RenderStoreObject)])},a.prototype.attachViewAfter=function(a,b){this._runOnService("attachViewAfter",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,m.RenderStoreObject)])},a.prototype.detachView=function(a){this._runOnService("detachView",[new i.FnArg(a,m.RenderStoreObject)])},a.prototype.destroyView=function(a,b){this._runOnService("destroyView",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,m.RenderStoreObject)]),this._rootRenderer.destroyNodes(b)},a.prototype.setElementProperty=function(a,b,c){this._runOnService("setElementProperty",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(c,null)])},a.prototype.setElementAttribute=function(a,b,c){this._runOnService("setElementAttribute",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(c,null)])},a.prototype.setBindingDebugInfo=function(a,b,c){this._runOnService("setBindingDebugInfo",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(c,null)])},a.prototype.setElementClass=function(a,b,c){this._runOnService("setElementClass",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(c,null)])},a.prototype.setElementStyle=function(a,b,c){this._runOnService("setElementStyle",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(c,null)])},a.prototype.invokeElementMethod=function(a,b,c){this._runOnService("invokeElementMethod",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(c,null)])},a.prototype.setText=function(a,b){this._runOnService("setText",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null)])},a.prototype.listen=function(a,b,c){var d=this;a.events.listen(b,c);var e=this._rootRenderer.allocateId();return this._runOnService("listen",[new i.FnArg(a,m.RenderStoreObject),new i.FnArg(b,null),new i.FnArg(e,null)]),function(){a.events.unlisten(b,c),d._runOnService("listenDone",[new i.FnArg(e,null)])}},a.prototype.listenGlobal=function(a,b,c){var e=this;this._rootRenderer.globalEvents.listen(d(a,b),c);var f=this._rootRenderer.allocateId();return this._runOnService("listenGlobal",[new i.FnArg(a,null),new i.FnArg(b,null),new i.FnArg(f,null)]),function(){e._rootRenderer.globalEvents.unlisten(d(a,b),c),e._runOnService("listenDone",[new i.FnArg(f,null)])}},a.prototype.animate=function(a,b,c,d,e,f){return null},a}();b.WebWorkerRenderer=p;var q=function(){function a(){}return a.prototype._getListeners=function(a){h.isBlank(this._listeners)&&(this._listeners=new Map);var b=this._listeners.get(a);return h.isBlank(b)&&(b=[],this._listeners.set(a,b)),b},a.prototype.listen=function(a,b){this._getListeners(a).push(b)},a.prototype.unlisten=function(a,b){g.ListWrapper.remove(this._getListeners(a),b)},a.prototype.dispatchEvent=function(a,b){for(var c=this._getListeners(a),d=0;d<c.length;d++)c[d](b)},a}();b.NamedEventEmitter=q;var r=function(){function a(){this.events=new q}return a}();return b.WebWorkerRenderNode=r,c.exports}),a.registerDynamic("e2",["b0"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b0"),f=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.makeCurrent=function(){e.setRootDomAdapter(new b)},b.prototype.logError=function(a){console.error?console.error(a):console.log(a)},b.prototype.log=function(a){console.log(a)},b.prototype.logGroup=function(a){console.group?(console.group(a),this.logError(a)):console.log(a)},b.prototype.logGroupEnd=function(){console.groupEnd&&console.groupEnd()},b.prototype.hasProperty=function(a,b){throw"not implemented"},b.prototype.setProperty=function(a,b,c){throw"not implemented"},b.prototype.getProperty=function(a,b){throw"not implemented"},b.prototype.invoke=function(a,b,c){throw"not implemented"},b.prototype.getXHR=function(){throw"not implemented"},Object.defineProperty(b.prototype,"attrToPropMap",{get:function(){throw"not implemented"},set:function(a){throw"not implemented"},enumerable:!0,configurable:!0}),b.prototype.parse=function(a){throw"not implemented"},b.prototype.query=function(a){throw"not implemented"},b.prototype.querySelector=function(a,b){throw"not implemented"},b.prototype.querySelectorAll=function(a,b){throw"not implemented"},b.prototype.on=function(a,b,c){throw"not implemented"},b.prototype.onAndCancel=function(a,b,c){throw"not implemented"},b.prototype.dispatchEvent=function(a,b){throw"not implemented"},b.prototype.createMouseEvent=function(a){throw"not implemented"},b.prototype.createEvent=function(a){throw"not implemented"},b.prototype.preventDefault=function(a){throw"not implemented"},b.prototype.isPrevented=function(a){throw"not implemented"},b.prototype.getInnerHTML=function(a){throw"not implemented"},b.prototype.getTemplateContent=function(a){throw"not implemented"},b.prototype.getOuterHTML=function(a){throw"not implemented"},b.prototype.nodeName=function(a){throw"not implemented"},b.prototype.nodeValue=function(a){throw"not implemented"},b.prototype.type=function(a){throw"not implemented"},b.prototype.content=function(a){throw"not implemented"},b.prototype.firstChild=function(a){throw"not implemented"},b.prototype.nextSibling=function(a){throw"not implemented"},b.prototype.parentElement=function(a){throw"not implemented"},b.prototype.childNodes=function(a){throw"not implemented"},b.prototype.childNodesAsList=function(a){throw"not implemented"},b.prototype.clearNodes=function(a){throw"not implemented"},b.prototype.appendChild=function(a,b){throw"not implemented"},b.prototype.removeChild=function(a,b){throw"not implemented"},b.prototype.replaceChild=function(a,b,c){throw"not implemented"},b.prototype.remove=function(a){throw"not implemented"},b.prototype.insertBefore=function(a,b){throw"not implemented"},b.prototype.insertAllBefore=function(a,b){throw"not implemented"},b.prototype.insertAfter=function(a,b){throw"not implemented"},b.prototype.setInnerHTML=function(a,b){throw"not implemented"},b.prototype.getText=function(a){throw"not implemented"},b.prototype.setText=function(a,b){throw"not implemented"},b.prototype.getValue=function(a){throw"not implemented"},b.prototype.setValue=function(a,b){throw"not implemented"},b.prototype.getChecked=function(a){throw"not implemented"},b.prototype.setChecked=function(a,b){throw"not implemented"},b.prototype.createComment=function(a){throw"not implemented"},b.prototype.createTemplate=function(a){throw"not implemented"},b.prototype.createElement=function(a,b){throw"not implemented"},b.prototype.createElementNS=function(a,b,c){throw"not implemented"},b.prototype.createTextNode=function(a,b){throw"not implemented"},b.prototype.createScriptTag=function(a,b,c){throw"not implemented"},b.prototype.createStyleElement=function(a,b){throw"not implemented"},b.prototype.createShadowRoot=function(a){throw"not implemented"},b.prototype.getShadowRoot=function(a){throw"not implemented"},b.prototype.getHost=function(a){throw"not implemented"},b.prototype.getDistributedNodes=function(a){throw"not implemented"},b.prototype.clone=function(a){throw"not implemented"},b.prototype.getElementsByClassName=function(a,b){throw"not implemented"},b.prototype.getElementsByTagName=function(a,b){throw"not implemented"},b.prototype.classList=function(a){throw"not implemented"},b.prototype.addClass=function(a,b){throw"not implemented"},b.prototype.removeClass=function(a,b){throw"not implemented"},b.prototype.hasClass=function(a,b){throw"not implemented"},b.prototype.setStyle=function(a,b,c){throw"not implemented"},b.prototype.removeStyle=function(a,b){throw"not implemented"},b.prototype.getStyle=function(a,b){throw"not implemented"},b.prototype.hasStyle=function(a,b,c){throw"not implemented"},b.prototype.tagName=function(a){throw"not implemented"},b.prototype.attributeMap=function(a){throw"not implemented"},b.prototype.hasAttribute=function(a,b){throw"not implemented"},b.prototype.hasAttributeNS=function(a,b,c){throw"not implemented"},b.prototype.getAttribute=function(a,b){throw"not implemented"},b.prototype.getAttributeNS=function(a,b,c){throw"not implemented"},b.prototype.setAttribute=function(a,b,c){throw"not implemented"},b.prototype.setAttributeNS=function(a,b,c,d){throw"not implemented"},b.prototype.removeAttribute=function(a,b){throw"not implemented"},b.prototype.removeAttributeNS=function(a,b,c){throw"not implemented"},b.prototype.templateAwareRoot=function(a){throw"not implemented"},b.prototype.createHtmlDocument=function(){throw"not implemented"},b.prototype.defaultDoc=function(){throw"not implemented"},b.prototype.getBoundingClientRect=function(a){throw"not implemented"},b.prototype.getTitle=function(){throw"not implemented"},b.prototype.setTitle=function(a){throw"not implemented"},b.prototype.elementMatches=function(a,b){throw"not implemented"},b.prototype.isTemplateElement=function(a){throw"not implemented"},b.prototype.isTextNode=function(a){throw"not implemented"},b.prototype.isCommentNode=function(a){throw"not implemented"},b.prototype.isElementNode=function(a){throw"not implemented"},b.prototype.hasShadowRoot=function(a){throw"not implemented"},b.prototype.isShadowRoot=function(a){throw"not implemented"},b.prototype.importIntoDoc=function(a){throw"not implemented"},b.prototype.adoptNode=function(a){throw"not implemented"},b.prototype.getHref=function(a){throw"not implemented"},b.prototype.getEventKey=function(a){throw"not implemented"},b.prototype.resolveAndSetHref=function(a,b,c){throw"not implemented"},b.prototype.supportsDOMEvents=function(){throw"not implemented"},b.prototype.supportsNativeShadowDOM=function(){throw"not implemented"},b.prototype.getGlobalEventTarget=function(a){throw"not implemented"},b.prototype.getHistory=function(){throw"not implemented"},b.prototype.getLocation=function(){throw"not implemented"},b.prototype.getBaseHref=function(){throw"not implemented"},b.prototype.resetBaseElement=function(){throw"not implemented"},b.prototype.getUserAgent=function(){throw"not implemented"},b.prototype.setData=function(a,b,c){throw"not implemented"},b.prototype.getComputedStyle=function(a){throw"not implemented"},b.prototype.getData=function(a,b){throw"not implemented"},b.prototype.setGlobalVar=function(a,b){throw"not implemented"},b.prototype.requestAnimationFrame=function(a){throw"not implemented"},b.prototype.cancelAnimationFrame=function(a){throw"not implemented"},b.prototype.performanceNow=function(){throw"not implemented"},b.prototype.getAnimationPrefix=function(){throw"not implemented"},b.prototype.getTransitionEnd=function(){throw"not implemented"},b.prototype.supportsAnimation=function(){throw"not implemented"},b.prototype.supportsWebAnimation=function(){throw"not implemented"},b.prototype.supportsCookies=function(){return!1},b.prototype.getCookie=function(a){throw"not implemented"},b.prototype.setCookie=function(a,b){throw"not implemented"},b}(e.DomAdapter);return b.WorkerDomAdapter=f,c.exports}),a.registerDynamic("e3",["6d","9","cb","b3","d4","ba","bb","d5","c8","be","c3","e1","e2"],!0,function(a,b,c){"use strict";function d(){return k.isBlank(i.getPlatform())&&i.createPlatform(i.ReflectiveInjector.resolveAndCreate(b.WORKER_APP_PLATFORM_PROVIDERS)),i.assertPlatform(v)}function e(){return new i.ExceptionHandler(new u)}function f(a){var b=new o.PostMessageBusSink(w),c=new o.PostMessageBusSource,d=new o.PostMessageBus(b,c);return d.attachToZone(a),d}function g(){t.WorkerDomAdapter.makeCurrent()}var h=a("6d"),i=a("9"),j=a("cb"),k=a("b3"),l=a("d4"),m=a("ba"),n=a("bb"),o=a("d5"),p=a("c8"),q=a("be"),r=a("c3"),s=a("e1"),t=a("e2"),u=function(){function a(){this.log=k.print,this.logError=k.print,this.logGroup=k.print}return a.prototype.logGroupEnd=function(){},a}(),v=new i.OpaqueToken("WorkerAppPlatformMarker");b.WORKER_APP_PLATFORM_PROVIDERS=[i.PLATFORM_COMMON_PROVIDERS,{provide:v,useValue:!0}],b.WORKER_APP_APPLICATION_PROVIDERS=[i.APPLICATION_COMMON_PROVIDERS,h.FORM_PROVIDERS,j.BROWSER_SANITIZATION_PROVIDERS,q.Serializer,{provide:m.ClientMessageBrokerFactory,useClass:m.ClientMessageBrokerFactory_},{provide:r.ServiceMessageBrokerFactory,useClass:r.ServiceMessageBrokerFactory_},s.WebWorkerRootRenderer,{provide:i.RootRenderer,useExisting:s.WebWorkerRootRenderer},{provide:l.ON_WEB_WORKER,useValue:!0},p.RenderStore,{provide:i.ExceptionHandler,useFactory:e,deps:[]},{provide:n.MessageBus,useFactory:f,deps:[i.NgZone]},{provide:i.APP_INITIALIZER,useValue:g,multi:!0}],b.workerAppPlatform=d;var w={postMessage:function(a,b){postMessage(a,b)}};return c.exports}),a.registerDynamic("df",["9","ca","b0","cd"],!0,function(a,b,c){"use strict";function d(a){return g.getDebugNode(a)}function e(a){return g.isDevMode()?f(a):a}function f(a){return i.getDOM().setGlobalVar(l,d),i.getDOM().setGlobalVar(m,k),new h.DebugDomRootRenderer(a)}var g=a("9"),h=a("ca"),i=a("b0"),j=a("cd"),k={ApplicationRef:g.ApplicationRef,NgZone:g.NgZone},l="ng.probe",m="ng.coreTokens";return b.inspectNativeElement=d,b.ELEMENT_PROBE_PROVIDERS=[{provide:g.RootRenderer,useFactory:e,deps:[j.DomRootRenderer]}],b.ELEMENT_PROBE_PROVIDERS_PROD_MODE=[{provide:g.RootRenderer,useFactory:f,deps:[j.DomRootRenderer]}],c.exports}),a.registerDynamic("ca",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.RenderDebugInfo=d.__core_private__.RenderDebugInfo,b.wtfInit=d.__core_private__.wtfInit,b.ReflectionCapabilities=d.__core_private__.ReflectionCapabilities,b.VIEW_ENCAPSULATION_VALUES=d.__core_private__.VIEW_ENCAPSULATION_VALUES,b.DebugDomRootRenderer=d.__core_private__.DebugDomRootRenderer,b.SecurityContext=d.__core_private__.SecurityContext,b.SanitizationService=d.__core_private__.SanitizationService,b.reflector=d.__core_private__.reflector,
|
||
b.NoOpAnimationPlayer=d.__core_private__.NoOpAnimationPlayer,b.AnimationPlayer=d.__core_private__.AnimationPlayer,b.NoOpAnimationDriver=d.__core_private__.NoOpAnimationDriver,b.AnimationDriver=d.__core_private__.AnimationDriver,b.AnimationSequencePlayer=d.__core_private__.AnimationSequencePlayer,b.AnimationGroupPlayer=d.__core_private__.AnimationGroupPlayer,b.AnimationKeyframe=d.__core_private__.AnimationKeyframe,b.AnimationStyles=d.__core_private__.AnimationStyles,b.prepareFinalAnimationStyles=d.__core_private__.prepareFinalAnimationStyles,b.balanceAnimationKeyframes=d.__core_private__.balanceAnimationKeyframes,b.flattenStyles=d.__core_private__.flattenStyles,b.clearStyles=d.__core_private__.clearStyles,b.collectAndResolveStyles=d.__core_private__.collectAndResolveStyles,c.exports}),a.registerDynamic("d8",["b3"],!0,function(a,b,c){"use strict";function d(a){return f.StringWrapper.replaceAllMapped(a,g,function(a){return"-"+a[1].toLowerCase()})}function e(a){return f.StringWrapper.replaceAllMapped(a,h,function(a){return a[1].toUpperCase()})}var f=a("b3"),g=/([A-Z])/g,h=/-([a-z])/g;return b.camelCaseToDashCase=d,b.dashCaseToCamelCase=e,c.exports}),a.registerDynamic("cd",["9","b9","b3","d3","ca","d0","ce","b0","d8"],!0,function(a,b,c){"use strict";function d(a,b){var c=s.getDOM().parentElement(a);if(b.length>0&&n.isPresent(c)){var d=s.getDOM().nextSibling(a);if(n.isPresent(d))for(var e=0;e<b.length;e++)s.getDOM().insertBefore(d,b[e]);else for(var e=0;e<b.length;e++)s.getDOM().appendChild(c,b[e])}}function e(a,b){for(var c=0;c<b.length;c++)s.getDOM().appendChild(a,b[c])}function f(a){return function(b){var c=a(b);c===!1&&s.getDOM().preventDefault(b)}}function g(a){return n.StringWrapper.replaceAll(b.CONTENT_ATTR,A,a)}function h(a){return n.StringWrapper.replaceAll(b.HOST_ATTR,A,a)}function i(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];n.isArray(e)?i(a,e,c):(e=n.StringWrapper.replaceAll(e,A,a),c.push(e))}return c}function j(a){if(":"!=a[0])return[null,a];var b=n.RegExpWrapper.firstMatch(B,a);return[b[1],b[2]]}var k=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},l=a("9"),m=a("b9"),n=a("b3"),o=a("d3"),p=a("ca"),q=a("d0"),r=a("ce"),s=a("b0"),t=a("d8"),u={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml"},v="template bindings={}",w=/^template bindings=(.*)$/g,x=function(){function a(a,b,c,d){this.document=a,this.eventManager=b,this.sharedStylesHost=c,this.animationDriver=d,this.registeredComponents=new Map}return a.prototype.renderComponent=function(a){var b=this.registeredComponents.get(a.id);return n.isBlank(b)&&(b=new z(this,a,this.animationDriver),this.registeredComponents.set(a.id,b)),b},a}();b.DomRootRenderer=x;var y=function(a){function b(b,c,d,e){a.call(this,b,c,d,e)}return k(b,a),b.decorators=[{type:l.Injectable}],b.ctorParameters=[{type:void 0,decorators:[{type:l.Inject,args:[r.DOCUMENT]}]},{type:q.EventManager},{type:o.DomSharedStylesHost},{type:p.AnimationDriver}],b}(x);b.DomRootRenderer_=y;var z=function(){function a(a,b,c){this._rootRenderer=a,this.componentProto=b,this._animationDriver=c,this._styles=i(b.id,b.styles,[]),b.encapsulation!==l.ViewEncapsulation.Native&&this._rootRenderer.sharedStylesHost.addStyles(this._styles),this.componentProto.encapsulation===l.ViewEncapsulation.Emulated?(this._contentAttr=g(b.id),this._hostAttr=h(b.id)):(this._contentAttr=null,this._hostAttr=null)}return a.prototype.selectRootElement=function(a,b){var c;if(n.isString(a)){if(c=s.getDOM().querySelector(this._rootRenderer.document,a),n.isBlank(c))throw new m.BaseException('The selector "'+a+'" did not match any elements')}else c=a;return s.getDOM().clearNodes(c),c},a.prototype.createElement=function(a,b,c){var d=j(b),e=n.isPresent(d[0])?s.getDOM().createElementNS(u[d[0]],d[1]):s.getDOM().createElement(d[1]);return n.isPresent(this._contentAttr)&&s.getDOM().setAttribute(e,this._contentAttr,""),n.isPresent(a)&&s.getDOM().appendChild(a,e),e},a.prototype.createViewRoot=function(a){var b;if(this.componentProto.encapsulation===l.ViewEncapsulation.Native){b=s.getDOM().createShadowRoot(a),this._rootRenderer.sharedStylesHost.addHost(b);for(var c=0;c<this._styles.length;c++)s.getDOM().appendChild(b,s.getDOM().createStyleElement(this._styles[c]))}else n.isPresent(this._hostAttr)&&s.getDOM().setAttribute(a,this._hostAttr,""),b=a;return b},a.prototype.createTemplateAnchor=function(a,b){var c=s.getDOM().createComment(v);return n.isPresent(a)&&s.getDOM().appendChild(a,c),c},a.prototype.createText=function(a,b,c){var d=s.getDOM().createTextNode(b);return n.isPresent(a)&&s.getDOM().appendChild(a,d),d},a.prototype.projectNodes=function(a,b){n.isBlank(a)||e(a,b)},a.prototype.attachViewAfter=function(a,b){d(a,b)},a.prototype.detachView=function(a){for(var b=0;b<a.length;b++)s.getDOM().remove(a[b])},a.prototype.destroyView=function(a,b){this.componentProto.encapsulation===l.ViewEncapsulation.Native&&n.isPresent(a)&&this._rootRenderer.sharedStylesHost.removeHost(s.getDOM().getShadowRoot(a))},a.prototype.listen=function(a,b,c){return this._rootRenderer.eventManager.addEventListener(a,b,f(c))},a.prototype.listenGlobal=function(a,b,c){return this._rootRenderer.eventManager.addGlobalEventListener(a,b,f(c))},a.prototype.setElementProperty=function(a,b,c){s.getDOM().setProperty(a,b,c)},a.prototype.setElementAttribute=function(a,b,c){var d,e=j(b);n.isPresent(e[0])&&(b=e[0]+":"+e[1],d=u[e[0]]),n.isPresent(c)?n.isPresent(d)?s.getDOM().setAttributeNS(a,d,b,c):s.getDOM().setAttribute(a,b,c):n.isPresent(d)?s.getDOM().removeAttributeNS(a,d,e[1]):s.getDOM().removeAttribute(a,b)},a.prototype.setBindingDebugInfo=function(a,b,c){var d=t.camelCaseToDashCase(b);if(s.getDOM().isCommentNode(a)){var e=n.RegExpWrapper.firstMatch(w,n.StringWrapper.replaceAll(s.getDOM().getText(a),/\n/g,"")),f=n.Json.parse(e[1]);f[d]=c,s.getDOM().setText(a,n.StringWrapper.replace(v,"{}",n.Json.stringify(f)))}else this.setElementAttribute(a,b,c)},a.prototype.setElementClass=function(a,b,c){c?s.getDOM().addClass(a,b):s.getDOM().removeClass(a,b)},a.prototype.setElementStyle=function(a,b,c){n.isPresent(c)?s.getDOM().setStyle(a,b,n.stringify(c)):s.getDOM().removeStyle(a,b)},a.prototype.invokeElementMethod=function(a,b,c){s.getDOM().invoke(a,b,c)},a.prototype.setText=function(a,b){s.getDOM().setText(a,b)},a.prototype.animate=function(a,b,c,d,e,f){return this._animationDriver.animate(a,b,c,d,e,f)},a}();b.DomRenderer=z;var A=/%COMP%/g;b.COMPONENT_VARIABLE="%COMP%",b.HOST_ATTR="_nghost-"+b.COMPONENT_VARIABLE,b.CONTENT_ATTR="_ngcontent-"+b.COMPONENT_VARIABLE;var B=/^:([^:]+):(.+)/g;return c.exports}),a.registerDynamic("e4",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("e5",["e4","b8","b3"],!0,function(a,b,c){"use strict";var d=a("e4"),e=a("b8"),f=a("b3"),g=function(){function a(){this.res=[]}return a.prototype.log=function(a){this.res.push(a)},a.prototype.logError=function(a){this.res.push(a)},a.prototype.logGroup=function(a){this.res.push(a)},a.prototype.logGroupEnd=function(){},a}(),h=function(){function a(a,b){void 0===b&&(b=!0),this._logger=a,this._rethrowException=b}return a.exceptionToString=function(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null);var e=new g,f=new a(e,!1);return f.call(b,c,d),e.res.join("\n")},a.prototype.call=function(a,b,c){void 0===b&&(b=null),void 0===c&&(c=null);var d=this._findOriginalException(a),e=this._findOriginalStack(a),g=this._findContext(a);if(this._logger.logGroup("EXCEPTION: "+this._extractMessage(a)),f.isPresent(b)&&f.isBlank(e)&&(this._logger.logError("STACKTRACE:"),this._logger.logError(this._longStackTrace(b))),f.isPresent(c)&&this._logger.logError("REASON: "+c),f.isPresent(d)&&this._logger.logError("ORIGINAL EXCEPTION: "+this._extractMessage(d)),f.isPresent(e)&&(this._logger.logError("ORIGINAL STACKTRACE:"),this._logger.logError(this._longStackTrace(e))),f.isPresent(g)&&(this._logger.logError("ERROR CONTEXT:"),this._logger.logError(g)),this._logger.logGroupEnd(),this._rethrowException)throw a},a.prototype._extractMessage=function(a){return a instanceof d.BaseWrappedException?a.wrapperMessage:a.toString()},a.prototype._longStackTrace=function(a){return e.isListLikeIterable(a)?a.join("\n\n-----async gap-----\n"):a.toString()},a.prototype._findContext=function(a){try{return a instanceof d.BaseWrappedException?f.isPresent(a.context)?a.context:this._findContext(a.originalException):null}catch(b){return null}},a.prototype._findOriginalException=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a.originalException;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException;return b},a.prototype._findOriginalStack=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a,c=a.originalStack;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException,b instanceof d.BaseWrappedException&&f.isPresent(b.originalException)&&(c=b.originalStack);return c},a}();return b.ExceptionHandler=h,c.exports}),a.registerDynamic("b9",["e4","e5"],!0,function(a,b,c){"use strict";function d(a){return new TypeError(a)}function e(){throw new j("unimplemented")}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("e4"),h=a("e5"),i=a("e5");b.ExceptionHandler=i.ExceptionHandler;var j=function(a){function b(b){void 0===b&&(b="--"),a.call(this,b),this.message=b,this.stack=new Error(b).stack}return f(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.BaseException=j;var k=function(a){function b(b,c,d,e){a.call(this,b),this._wrapperMessage=b,this._originalException=c,this._originalStack=d,this._context=e,this._wrapperStack=new Error(b).stack}return f(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return h.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),b.prototype.toString=function(){return this.message},b}(g.BaseWrappedException);return b.WrappedException=k,b.makeTypeError=d,b.unimplemented=e,c.exports}),a.registerDynamic("d0",["9","b8","b9"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("b8"),f=a("b9");b.EVENT_MANAGER_PLUGINS=new d.OpaqueToken("EventManagerPlugins");var g=function(){function a(a,b){var c=this;this._zone=b,a.forEach(function(a){return a.manager=c}),this._plugins=e.ListWrapper.reversed(a)}return a.prototype.addEventListener=function(a,b,c){var d=this._findPluginFor(b);return d.addEventListener(a,b,c)},a.prototype.addGlobalEventListener=function(a,b,c){var d=this._findPluginFor(b);return d.addGlobalEventListener(a,b,c)},a.prototype.getZone=function(){return this._zone},a.prototype._findPluginFor=function(a){for(var b=this._plugins,c=0;c<b.length;c++){var d=b[c];if(d.supports(a))return d}throw new f.BaseException("No event manager plugin found for event "+a)},a.decorators=[{type:d.Injectable}],a.ctorParameters=[{type:Array,decorators:[{type:d.Inject,args:[b.EVENT_MANAGER_PLUGINS]}]},{type:d.NgZone}],a}();b.EventManager=g;var h=function(){function a(){}return a.prototype.supports=function(a){return!1},a.prototype.addEventListener=function(a,b,c){throw"not implemented"},a.prototype.addGlobalEventListener=function(a,b,c){throw"not implemented"},a}();return b.EventManagerPlugin=h,c.exports}),a.registerDynamic("cf",["9","b0","d0"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b0"),g=a("d0"),h=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.supports=function(a){return!0},b.prototype.addEventListener=function(a,b,c){var d=this.manager.getZone(),e=function(a){return d.runGuarded(function(){return c(a)})};return this.manager.getZone().runOutsideAngular(function(){return f.getDOM().onAndCancel(a,b,e)})},b.prototype.addGlobalEventListener=function(a,b,c){var d=f.getDOM().getGlobalEventTarget(a),e=this.manager.getZone(),g=function(a){return e.runGuarded(function(){return c(a)})};return this.manager.getZone().runOutsideAngular(function(){return f.getDOM().onAndCancel(d,b,g)})},b.decorators=[{type:e.Injectable}],b}(g.EventManagerPlugin);return b.DomEventsPlugin=h,c.exports}),a.registerDynamic("ce",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.DOCUMENT=new d.OpaqueToken("DocumentToken"),c.exports}),a.registerDynamic("d3",["9","b8","b0","ce"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("b8"),g=a("b0"),h=a("ce"),i=function(){function a(){this._styles=[],this._stylesSet=new Set}return a.prototype.addStyles=function(a){var b=this,c=[];a.forEach(function(a){f.SetWrapper.has(b._stylesSet,a)||(b._stylesSet.add(a),b._styles.push(a),c.push(a))}),this.onStylesAdded(c)},a.prototype.onStylesAdded=function(a){},a.prototype.getAllStyles=function(){return this._styles},a.decorators=[{type:e.Injectable}],a.ctorParameters=[],a}();b.SharedStylesHost=i;var j=function(a){function b(b){a.call(this),this._hostNodes=new Set,this._hostNodes.add(b.head)}return d(b,a),b.prototype._addStylesToHost=function(a,b){for(var c=0;c<a.length;c++){var d=a[c];g.getDOM().appendChild(b,g.getDOM().createStyleElement(d))}},b.prototype.addHost=function(a){this._addStylesToHost(this._styles,a),this._hostNodes.add(a)},b.prototype.removeHost=function(a){f.SetWrapper["delete"](this._hostNodes,a)},b.prototype.onStylesAdded=function(a){var b=this;this._hostNodes.forEach(function(c){b._addStylesToHost(a,c)})},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:void 0,decorators:[{type:e.Inject,args:[h.DOCUMENT]}]}],b}(i);return b.DomSharedStylesHost=j,c.exports}),a.registerDynamic("e6",["df","b0","cd","cf","d3"],!0,function(a,b,c){"use strict";var d=a("df"),e=a("b0"),f=a("cd"),g=a("cf"),h=a("d3");return b.__platform_browser_private__={DomAdapter:e.DomAdapter,getDOM:e.getDOM,setRootDomAdapter:e.setRootDomAdapter,DomRootRenderer:f.DomRootRenderer,DomRootRenderer_:f.DomRootRenderer_,DomSharedStylesHost:h.DomSharedStylesHost,SharedStylesHost:h.SharedStylesHost,ELEMENT_PROBE_PROVIDERS:d.ELEMENT_PROBE_PROVIDERS,DomEventsPlugin:g.DomEventsPlugin},c.exports}),a.registerDynamic("e7",["c2","af","b4","b5","ce","d0","d1","de","cb","ba","c3","be","bb","c0","c4","c9","e3","e6"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}var e=a("c2");b.BrowserPlatformLocation=e.BrowserPlatformLocation;var f=a("af");b.Title=f.Title;var g=a("b4");b.disableDebugTools=g.disableDebugTools,b.enableDebugTools=g.enableDebugTools;var h=a("b5");b.By=h.By;var i=a("ce");b.DOCUMENT=i.DOCUMENT;var j=a("d0");b.EVENT_MANAGER_PLUGINS=j.EVENT_MANAGER_PLUGINS,b.EventManager=j.EventManager;var k=a("d1");b.HAMMER_GESTURE_CONFIG=k.HAMMER_GESTURE_CONFIG,b.HammerGestureConfig=k.HammerGestureConfig;var l=a("de");b.DomSanitizationService=l.DomSanitizationService,b.SecurityContext=l.SecurityContext,d(a("cb"));var m=a("ba");b.ClientMessageBroker=m.ClientMessageBroker,b.ClientMessageBrokerFactory=m.ClientMessageBrokerFactory,b.FnArg=m.FnArg,b.UiArguments=m.UiArguments;var n=a("c3");b.ReceivedMessage=n.ReceivedMessage,b.ServiceMessageBroker=n.ServiceMessageBroker,b.ServiceMessageBrokerFactory=n.ServiceMessageBrokerFactory;var o=a("be");b.PRIMITIVE=o.PRIMITIVE,d(a("bb"));var p=a("c0");b.WORKER_APP_LOCATION_PROVIDERS=p.WORKER_APP_LOCATION_PROVIDERS;var q=a("c4");return b.WORKER_UI_LOCATION_PROVIDERS=q.WORKER_UI_LOCATION_PROVIDERS,d(a("c9")),d(a("e3")),d(a("e6")),c.exports}),a.registerDynamic("6e",["e7"],!0,function(a,b,c){return c.exports=a("e7"),c.exports}),a.register("a4",["9","75","76","77","78","79","82","89","7a","6e","9f","e8","8a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D;return{setters:[function(a){b=a.Pipe},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a.DomSanitizationService},function(a){l=a.isString,m=a.stringify,n=a.isBlank},function(a){o=a.BaseException},function(a){p=a.renderMd}],execute:function(){"use strict";q=function(a,b,c,d){var e,f=arguments.length,h=3>f?b:null===d?d=g(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(a,b,c,d);else for(var i=a.length-1;i>=0;i--)(e=a[i])&&(h=(3>f?e(h):f>3?e(b,c,h):e(b,c))||h);return f>3&&h&&j(b,c,h),h},r=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},s=function(a){function b(a,d){f(this,b),c(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,"Invalid argument '"+d+"' for pipe '"+m(a)+"'")}return d(b,a),b}(o),t=function(){function a(){f(this,a)}return e(a,[{key:"transform",value:function(a){if(n(a))return a;if("object"!=typeof a)throw new s(v,a);return h(a)}}]),a}(),a("KeysPipe",t),a("KeysPipe",t=q([b({name:"keys"}),r("design:paramtypes",[])],t)),u=void 0,v=u=function(){function a(){f(this,a)}return e(a,[{key:"transform",value:function(a){if(n(a))return a;if("object"!=typeof a)throw new s(u,a);return h(a).map(function(b){return a[b]})}}]),a}(),a("ValuesPipe",v),a("ValuesPipe",v=u=q([b({name:"values"}),r("design:paramtypes",[])],v)),w=void 0,x=w=function(){function a(){f(this,a)}return e(a,[{key:"transform",value:function(a){if(n(a))return a;if(!l(a))throw new s(w,a);return i.escape(a)}}]),a}(),a("JsonPointerEscapePipe",x),a("JsonPointerEscapePipe",x=w=q([b({name:"jsonPointerEscape"}),r("design:paramtypes",[])],x)),y=function(){function a(b){f(this,a),this.sanitizer=b}return e(a,[{key:"transform",value:function(a){if(n(a))return a;if(!l(a))throw new s(x,a);return this.sanitizer.bypassSecurityTrustHtml('<span class="redoc-markdown-block">'+p(a)+"</span>")}}]),a}(),a("MarkedPipe",y),a("MarkedPipe",y=q([b({name:"marked"}),r("design:paramtypes",[k])],y)),z=function(){function a(b){f(this,a),this.sanitizer=b}return e(a,[{key:"transform",value:function(a){if(n(a))return a;if(!l(a))throw new s(x,a);return this.sanitizer.bypassSecurityTrustHtml(a)}}]),a}(),a("SafePipe",z),a("SafePipe",z=q([b({name:"safe"}),r("design:paramtypes",[k])],z)),A={"c++":"cpp","c#":"csharp","objective-c":"objectivec",shell:"bash",viml:"vim"},B=function(){function a(b){f(this,a),this.sanitizer=b}return e(a,[{key:"transform",value:function(a,b){if(n(b)||0===b.length)throw new o("Prism pipe requires one argument");if(n(a))return a;if(!l(a))throw new s(x,a);var c=b[0].toString().trim().toLowerCase();A[c]&&(c=A[c]);var d=Prism.languages[c];return d||(d=Prism.languages.clike),this.sanitizer.bypassSecurityTrustHtml(Prism.highlight(a,d))}}]),a}(),a("PrismPipe",B),a("PrismPipe",B=q([b({name:"prism"}),r("design:paramtypes",[k])],B)),C=void 0,D=C=function(){function a(){f(this,a)}return e(a,[{key:"transform",value:function(a){if(n(a))return a;if(!l(a))throw new s(C,a);return encodeURIComponent(a)}}]),a}(),a("EncodeURIComponentPipe",D),a("EncodeURIComponentPipe",D=C=q([b({name:"encodeURIComponent"}),r("design:paramtypes",[])],D))}}}),a.register("73",["9","77","78","86","6d","a4"],function(a){function b(a,b){var c=a&&a.slice()||[];return b=void 0==b?[]:b,c.concat(b)}function c(a){var c=b(a.inputs,o),f=b(a.directives,i),g=b(a.pipes,[m,l,j,k,n]);return void 0===a.onPushOnly&&(a.onPushOnly=!0),function(b){var h=d({selector:a.selector,inputs:c,outputs:a.outputs,providers:a.providers,changeDetection:a.onPushOnly?e.OnPush:e.Default,animations:a.animations,templateUrl:a.templateUrl,template:a.template,styles:a.styles,directives:f,pipes:g});return h(b)||b}}var d,e,f,g,h,i,j,k,l,m,n,o,p;return{setters:[function(a){d=a.Component,e=a.ChangeDetectionStrategy},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a.SpecManager},function(a){i=a.CORE_DIRECTIVES,j=a.JsonPipe,k=a.AsyncPipe},function(a){l=a.MarkedPipe,m=a.JsonPointerEscapePipe,n=a.SafePipe}],execute:function(){"use strict";a("RedocComponent",c),a("SpecManager",h),o=["pointer"],p=function(){function a(b){g(this,a),this.specMgr=b,this.componentSchema=null,this.dereferencedCache={}}return f(a,[{key:"ngOnInit",value:function(){this.componentSchema=this.specMgr.byPointer(this.pointer||""),this.init()}},{key:"ngOnDestroy",value:function(){this.destroy()}},{key:"init",value:function(){}},{key:"destroy",value:function(){}}]),a}(),a("BaseComponent",p)}}}),a.register("e9",["73","74","75","76","77","78","79","7a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;return{setters:[function(a){b=a.SpecManager,c=a.RedocComponent,d=a.BaseComponent},function(a){e=a.WarningsService,f=a.OptionsService},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a["default"]}],execute:function(){"use strict";m=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=k(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&l(b,c,g),g},n=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},o=function(a){function b(a,c){j(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,a),this.warnings=[],this.shown=!1,this.suppressWarnings=c.options.suppressWarnings}return h(b,a),i(b,[{key:"init",value:function(){var a=this;this.shown=!this.suppressWarnings&&!!this.warnings.length,e.warnings.subscribe(function(b){a.warnings=b,a.shown=!a.suppressWarnings&&!!b.length})}},{key:"close",value:function(){this.shown=!1}}]),b}(d),a("Warnings",o),a("Warnings",o=m([c({selector:"warnings",styles:['\n :host {\n width: 60%;\n display: block; }\n\n .message {\n padding: 5px 40px;\n background-color: #fcf8e3;\n color: #8a6d3b; }\n .message:before {\n content: "Warning: ";\n font-weight: bold; }\n\n .warnings-close {\n font-size: 150%;\n color: black;\n opacity: 0.4;\n float: right;\n margin: 5px 20px 0 0;\n font-weight: bold;\n cursor: pointer; }\n .warnings-close:hover {\n opacity: 0.8; }\n\n p {\n display: inline; }\n '],template:'\n <div *ngIf="shown">\n <a class="warnings-close" (click)="close()">×</a>\n <div class="message" *ngFor="let message of warnings">{{message}}</div>\n </div>\n ',detect:!0,onPushOnly:!1}),n("design:paramtypes",[b,f])],o))}}}),a.registerDynamic("ea",[],!1,function(e,f,g){var h=a.get("@@global-helpers").prepareGlobal(g.id,null,null);return function(){"format global";!function(){if(!window.CustomEvent&&document.createEventObject)return void(window.CustomEvent=function(a,b){if(!arguments.length)throw new Error("Not enough arguments");var c={type:a,bubbles:!1,cancelable:!1,detail:null},d=document.createEventObject();for(var e in c)d[e]=c[e];for(var e in b)d[e]=b[e];return d});try{new CustomEvent("test")}catch(a){var b=function(a,b){if(!arguments.length)throw new Error("Not enough arguments");var c={bubbles:!1,cancelable:!1,detail:null};for(var d in b)c[d]=b[d];var e=document.createEvent("CustomEvent");return e.initCustomEvent(a,c.bubbles,c.cancelable,c.detail),e};b.prototype=(window.CustomEvent||window.Event).prototype,window.CustomEvent=b}}(),function(){if(!document.addEventListener&&window.Element&&window.Event){var a="__events",b="__immediateStopped";Event.prototype.NONE=Event.NONE=0,Event.prototype.CAPTURING_PHASE=Event.CAPTURING_PHASE=1,Event.prototype.AT_TARGET=Event.AT_TARGET=2,Event.prototype.BUBBLING_PHASE=Event.BUBBLING_PHASE=3,Event.prototype.preventDefault=function(){this.cancelable!==!1&&(this.returnValue=!1)},Event.prototype.stopPropagation=function(){this.cancelBubble=!0},Event.prototype.stopImmediatePropagation=function(){this[b]=this.cancelBubble=!0};for(var c=function(a,b){return a.timeStamp=+new Date,a.target||(a.target=a.srcElement||b),a.pageX=a.clientX+document.documentElement.scrollLeft,a.pageY=a.clientY+document.documentElement.scrollTop,"mouseover"==a.type?a.relatedTarget=a.fromElement:"mouseout"==a.type?a.relatedTarget=a.toElement:a.relatedTarget=null,a},d=function(a,b,c){for(var d=0;d<a.length;d++){var e=a[d];if(e.useCapture==c&&e.listener==b)return d}return-1},e=function(a,b,c){a.currentTarget=c,"function"==typeof b?b.call(c,a):b.handleEvent(a)},f=function(a){for(var b=[];a.parentNode;)b.unshift(a.parentNode),a=a.parentNode;return b},g=function(c,d,f){c.eventPhase=f;for(var g=0;g<d.length;g++){for(var h=d[g],i=[],j=(h[a]||{})[c.type]||[],k=0;k<j.length;k++){var l=j[k];l.useCapture&&f==Event.BUBBLING_PHASE||(l.useCapture||f!=Event.CAPTURING_PHASE)&&i.push(l.listener)}for(k=0;k<i.length;)try{for(;k<i.length;){var m=i[k++];if(e(c,m,h),c[b])return!0}}catch(n){setTimeout(function(){throw n},0)}if(c.cancelBubble)return!0}return!1},h=function(a){c(a,this);var b=f(a.target);return b.length&&g(a,b,Event.CAPTURING_PHASE)?a.returnValue:g(a,[a.target],Event.AT_TARGET)?a.returnValue:b.length&&a.bubbles!==!1&&(b.reverse(),g(a,b,Event.BUBBLING_PHASE))?a.returnValue:(a.stopPropagation(),a.returnValue)},i=({addEventListener:function(b,c,e){var f=this,g=(this[a]||{})[b]||[],i=g.length;if(!(d(g,c,e)>-1)){if(a in this)var j=this[a];else{var j={_handler:function(){h.apply(f,arguments)}};this[a]=j}b in j||(j[b]=[]),j[b].push({listener:c,useCapture:e}),i||this.attachEvent("on"+b,j._handler)}},removeEventListener:function(b,c,e){var f=(this[a]||{})[b]||[],g=d(f,c,e);-1!=g&&(f.splice(g,1),f.length||this.detachEvent("on"+b,this[a]._handler))},dispatchEvent:function(a){return a.returnValue=!0,h.call(this,a)}}),j=[Element,window.constructor,document.constructor];j.length;){var k=j.pop();for(var l in i)k.prototype[l]=i[l]}}}(),Array.prototype.forEach||(Array.prototype.forEach=function(a,b){var c,d;if(null==this)throw new TypeError(" this is null or not defined");var e=Object(this),f=e.length>>>0;if("function"!=typeof a)throw new TypeError(a+" is not a function");for(arguments.length>1&&(c=b),d=0;f>d;){var g;d in e&&(g=e[d],a.call(c,g,d,e)),d++}}),Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){var c;if(null==this)throw new TypeError('"this" is null or not defined');var d=Object(this),e=d.length>>>0;if(0===e)return-1;var f=+b||0;if(Math.abs(f)===1/0&&(f=0),f>=e)return-1;for(c=Math.max(f>=0?f:e-Math.abs(f),0);e>c;){if(c in d&&d[c]===a)return c;c++}return-1}),function(a){var e;if("object"==typeof c){try{e=b("jquery")}catch(f){}d.exports=a(window,document,e)}else"function"==typeof define&&define.amd?define([],function(){return a(window,document,window.jQuery)}):window.Dropkick=a(window,document,window.jQuery)}(function(a,b,c,d){var e,f=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),g=a.parent!==a.self,h=-1!==navigator.appVersion.indexOf("MSIE"),i=function(c,d){var e,f;if(this===a)return new i(c,d);for("string"==typeof c&&"#"===c[0]&&(c=b.getElementById(c.substr(1))),e=0;e<i.uid;e++)if(f=i.cache[e],f instanceof i&&f.data.select===c)return l.extend(f.data.settings,d),f;return c?c.length<1?(console.error("You must have options inside your <select>: ",c),!1):"SELECT"===c.nodeName?this.init(c,d):void 0:(console.error("You must pass a select to DropKick"),!1)},j=function(){},k={initialize:j,mobile:!1,change:j,open:j,close:j,search:"strict",bubble:!0},l={hasClass:function(a,b){var c=new RegExp("(^|\\s+)"+b+"(\\s+|$)");return a&&c.test(a.className)},addClass:function(a,b){a&&!l.hasClass(a,b)&&(a.className+=" "+b)},removeClass:function(a,b){var c=new RegExp("(^|\\s+)"+b+"(\\s+|$)");a&&(a.className=a.className.replace(c," "))},toggleClass:function(a,b){var c=l.hasClass(a,b)?"remove":"add";l[c+"Class"](a,b)},extend:function(a){return Array.prototype.slice.call(arguments,1).forEach(function(b){if(b)for(var c in b)a[c]=b[c]}),a},offset:function(c){var d=c.getBoundingClientRect()||{top:0,left:0},e=b.documentElement,f=h?e.scrollTop:a.pageYOffset,g=h?e.scrollLeft:a.pageXOffset;return{top:d.top+f-e.clientTop,left:d.left+g-e.clientLeft}},position:function(a,b){for(var c={top:0,left:0};a&&a!==b;)c.top+=a.offsetTop,c.left+=a.offsetLeft,a=a.parentNode;return c},closest:function(a,b){for(;a;){if(a===b)return a;a=a.parentNode}return!1},create:function(a,c){var d,e=b.createElement(a);c||(c={});for(d in c)c.hasOwnProperty(d)&&("innerHTML"===d?e.innerHTML=c[d]:e.setAttribute(d,c[d]));return e},deferred:function(b){return function(){var c=arguments,d=this;a.setTimeout(function(){b.apply(d,c)},1)}}};return i.cache={},i.uid=0,i.prototype={add:function(a,c){var d,e,f;"string"==typeof a&&(d=a,a=b.createElement("option"),a.text=d),"OPTION"===a.nodeName&&(e=l.create("li",{"class":"dk-option","data-value":a.value,innerHTML:a.text,role:"option","aria-selected":"false",id:"dk"+this.data.cacheID+"-"+(a.id||a.value.replace(" ","-"))}),l.addClass(e,a.className),this.length+=1,a.disabled&&(l.addClass(e,"dk-option-disabled"),e.setAttribute("aria-disabled","true")),this.data.select.add(a,c),"number"==typeof c&&(c=this.item(c)),f=this.options.indexOf(c),f>-1?(c.parentNode.insertBefore(e,c),this.options.splice(f,0,e)):(this.data.elem.lastChild.appendChild(e),this.options.push(e)),e.addEventListener("mouseover",this),a.selected&&this.select(f))},item:function(a){return a=0>a?this.options.length+a:a,this.options[a]||null},remove:function(a){var b=this.item(a);b.parentNode.removeChild(b),this.options.splice(a,1),this.data.select.remove(a),this.select(this.data.select.selectedIndex),this.length-=1},init:function(a,c){var d,h=i.build(a,"dk"+i.uid);if(this.data={},this.data.select=a,this.data.elem=h.elem,this.data.settings=l.extend({},k,c),this.disabled=a.disabled,this.form=a.form,this.length=a.length,this.multiple=a.multiple,this.options=h.options.slice(0),this.selectedIndex=a.selectedIndex,this.selectedOptions=h.selected.slice(0),this.value=a.value,
|
||
this.data.cacheID=i.uid,i.cache[this.data.cacheID]=this,this.data.settings.initialize.call(this),i.uid+=1,this._changeListener||(a.addEventListener("change",this),this._changeListener=!0),!f||this.data.settings.mobile){if(a.parentNode.insertBefore(this.data.elem,a),a.setAttribute("data-dkCacheId",this.data.cacheID),this.data.elem.addEventListener("click",this),this.data.elem.addEventListener("keydown",this),this.data.elem.addEventListener("keypress",this),this.form&&this.form.addEventListener("reset",this),!this.multiple)for(d=0;d<this.options.length;d++)this.options[d].addEventListener("mouseover",this);e||(b.addEventListener("click",i.onDocClick),g&&parent.document.addEventListener("click",i.onDocClick),e=!0)}return this},close:function(){var a,b=this.data.elem;if(!this.isOpen||this.multiple)return!1;for(a=0;a<this.options.length;a++)l.removeClass(this.options[a],"dk-option-highlight");b.lastChild.setAttribute("aria-expanded","false"),l.removeClass(b.lastChild,"dk-select-options-highlight"),l.removeClass(b,"dk-select-open-(up|down)"),this.isOpen=!1,this.data.settings.close.call(this)},open:l.deferred(function(){var c,e,f,g,h,i,j=this.data.elem,k=j.lastChild,m=a.pageXOffset!==d,n="CSS1Compat"===(b.compatMode||""),o=m?a.pageYOffset:n?b.documentElement.scrollTop:b.body.scrollTop;return h=l.offset(j).top-o,i=a.innerHeight-(h+j.offsetHeight),this.isOpen||this.multiple?!1:(k.style.display="block",c=k.offsetHeight,k.style.display="",e=h>c,f=i>c,g=e&&!f?"-up":"-down",this.isOpen=!0,l.addClass(j,"dk-select-open"+g),k.setAttribute("aria-expanded","true"),this._scrollTo(this.options.length-1),this._scrollTo(this.selectedIndex),void this.data.settings.open.call(this))}),disable:function(a,b){var c="dk-option-disabled";0!==arguments.length&&"boolean"!=typeof a||(b=a===d,a=this.data.elem,c="dk-select-disabled",this.disabled=b),b===d&&(b=!0),"number"==typeof a&&(a=this.item(a)),b?(a.setAttribute("aria-disabled",!0),l.addClass(a,c)):(a.setAttribute("aria-disabled",!1),l.removeClass(a,c))},select:function(a,b){var c,d,e,f,g=this.data.select;if("number"==typeof a&&(a=this.item(a)),"string"==typeof a)for(c=0;c<this.length;c++)this.options[c].getAttribute("data-value")===a&&(a=this.options[c]);return!a||"string"==typeof a||!b&&l.hasClass(a,"dk-option-disabled")?!1:l.hasClass(a,"dk-option")?(d=this.options.indexOf(a),e=g.options[d],this.multiple?(l.toggleClass(a,"dk-option-selected"),e.selected=!e.selected,l.hasClass(a,"dk-option-selected")?(a.setAttribute("aria-selected","true"),this.selectedOptions.push(a)):(a.setAttribute("aria-selected","false"),d=this.selectedOptions.indexOf(a),this.selectedOptions.splice(d,1))):(f=this.data.elem.firstChild,this.selectedOptions.length&&(l.removeClass(this.selectedOptions[0],"dk-option-selected"),this.selectedOptions[0].setAttribute("aria-selected","false")),l.addClass(a,"dk-option-selected"),a.setAttribute("aria-selected","true"),f.setAttribute("aria-activedescendant",a.id),f.className="dk-selected "+e.className,f.innerHTML=e.text,this.selectedOptions[0]=a,e.selected=!0),this.selectedIndex=g.selectedIndex,this.value=g.value,b||this.data.select.dispatchEvent(new CustomEvent("change",{bubbles:this.data.settings.bubble})),a):void 0},selectOne:function(a,b){return this.reset(!0),this._scrollTo(a),this.select(a,b)},search:function(a,b){var c,d,e,f,g,h,i,j,k=this.data.select.options,l=[];if(!a)return this.options;for(b=b?b.toLowerCase():"strict",b="fuzzy"===b?2:"partial"===b?1:0,j=new RegExp((b?"":"^")+a,"i"),c=0;c<k.length;c++)if(e=k[c].text.toLowerCase(),2==b){for(d=a.toLowerCase().split(""),f=g=h=i=0;g<e.length;)e[g]===d[f]?(h+=1+h,f++):h=0,i+=h,g++;f===d.length&&l.push({e:this.options[c],s:i,i:c})}else j.test(e)&&l.push(this.options[c]);return 2===b&&(l=l.sort(function(a,b){return b.s-a.s||a.i-b.i}).reduce(function(a,b){return a[a.length]=b.e,a},[])),l},focus:function(){this.disabled||(this.multiple?this.data.elem:this.data.elem.children[0]).focus()},reset:function(a){var b,c=this.data.select;for(this.selectedOptions.length=0,b=0;b<c.options.length;b++)c.options[b].selected=!1,l.removeClass(this.options[b],"dk-option-selected"),this.options[b].setAttribute("aria-selected","false"),!a&&c.options[b].defaultSelected&&this.select(b,!0);this.selectedOptions.length||this.multiple||this.select(0,!0)},refresh:function(){Object.keys(this).length>0&&(!f||this.data.settings.mobile)&&this.dispose().init(this.data.select,this.data.settings)},dispose:function(){return Object.keys(this).length>0&&(!f||this.data.settings.mobile)&&(delete i.cache[this.data.cacheID],this.data.elem.parentNode.removeChild(this.data.elem),this.data.select.removeAttribute("data-dkCacheId")),this},handleEvent:function(a){if(!this.disabled)switch(a.type){case"click":this._delegate(a);break;case"keydown":this._keyHandler(a);break;case"keypress":this._searchOptions(a);break;case"mouseover":this._highlight(a);break;case"reset":this.reset();break;case"change":this.data.settings.change.call(this)}},_delegate:function(b){var c,d,e,f,g=b.target;if(l.hasClass(g,"dk-option-disabled"))return!1;if(this.multiple){if(l.hasClass(g,"dk-option"))if(c=a.getSelection(),"Range"===c.type&&c.collapseToStart(),b.shiftKey)if(e=this.options.indexOf(this.selectedOptions[0]),f=this.options.indexOf(this.selectedOptions[this.selectedOptions.length-1]),d=this.options.indexOf(g),d>e&&f>d&&(d=e),d>f&&f>e&&(f=e),this.reset(!0),f>d)for(;f+1>d;)this.select(d++);else for(;d>f-1;)this.select(d--);else b.ctrlKey||b.metaKey?this.select(g):(this.reset(!0),this.select(g))}else this[this.isOpen?"close":"open"](),l.hasClass(g,"dk-option")&&this.select(g)},_highlight:function(a){var b,c=a.target;if(!this.multiple){for(b=0;b<this.options.length;b++)l.removeClass(this.options[b],"dk-option-highlight");l.addClass(this.data.elem.lastChild,"dk-select-options-highlight"),l.addClass(c,"dk-option-highlight")}},_keyHandler:function(a){var b,c,d=this.selectedOptions,e=this.options,f=1,g={tab:9,enter:13,esc:27,space:32,up:38,down:40};switch(a.keyCode){case g.up:f=-1;case g.down:if(a.preventDefault(),b=d[d.length-1],l.hasClass(this.data.elem.lastChild,"dk-select-options-highlight"))for(l.removeClass(this.data.elem.lastChild,"dk-select-options-highlight"),c=0;c<e.length;c++)l.hasClass(e[c],"dk-option-highlight")&&(l.removeClass(e[c],"dk-option-highlight"),b=e[c]);f=e.indexOf(b)+f,f>e.length-1?f=e.length-1:0>f&&(f=0),this.data.select.options[f].disabled||(this.reset(!0),this.select(f),this._scrollTo(f));break;case g.space:if(!this.isOpen){a.preventDefault(),this.open();break}case g.tab:case g.enter:for(f=0;f<e.length;f++)l.hasClass(e[f],"dk-option-highlight")&&this.select(f);case g.esc:this.isOpen&&(a.preventDefault(),this.close())}},_searchOptions:function(a){var b,c=this,e=String.fromCharCode(a.keyCode||a.which),f=function(){c.data.searchTimeout&&clearTimeout(c.data.searchTimeout),c.data.searchTimeout=setTimeout(function(){c.data.searchString=""},1e3)};this.data.searchString===d&&(this.data.searchString=""),f(),this.data.searchString+=e,b=this.search(this.data.searchString,this.data.settings.search),b.length&&(l.hasClass(b[0],"dk-option-disabled")||this.selectOne(b[0]))},_scrollTo:function(a){var b,c,d,e=this.data.elem.lastChild;return-1===a||"number"!=typeof a&&!a||!this.isOpen&&!this.multiple?!1:("number"==typeof a&&(a=this.item(a)),b=l.position(a,e).top,c=b-e.scrollTop,d=c+a.offsetHeight,void(d>e.offsetHeight?(b+=a.offsetHeight,e.scrollTop=b-e.offsetHeight):0>c&&(e.scrollTop=b)))}},i.build=function(a,b){var c,d,e,f=[],g={elem:null,options:[],selected:[]},h=function(a){var c,d,e,f,i=[];switch(a.nodeName){case"OPTION":c=l.create("li",{"class":"dk-option ","data-value":a.value,innerHTML:a.text,role:"option","aria-selected":"false",id:b+"-"+(a.id||a.value.replace(" ","-"))}),l.addClass(c,a.className),a.disabled&&(l.addClass(c,"dk-option-disabled"),c.setAttribute("aria-disabled","true")),a.selected&&(l.addClass(c,"dk-option-selected"),c.setAttribute("aria-selected","true"),g.selected.push(c)),g.options.push(this.appendChild(c));break;case"OPTGROUP":for(d=l.create("li",{"class":"dk-optgroup"}),a.label&&d.appendChild(l.create("div",{"class":"dk-optgroup-label",innerHTML:a.label})),e=l.create("ul",{"class":"dk-optgroup-options"}),f=a.children.length;f--;i.unshift(a.children[f]));i.forEach(h,e),this.appendChild(d).appendChild(e)}};for(g.elem=l.create("div",{"class":"dk-select"+(a.multiple?"-multi":"")}),d=l.create("ul",{"class":"dk-select-options",id:b+"-listbox",role:"listbox"}),a.disabled&&(l.addClass(g.elem,"dk-select-disabled"),g.elem.setAttribute("aria-disabled",!0)),g.elem.id=b+(a.id?"-"+a.id:""),l.addClass(g.elem,a.className),a.multiple?(g.elem.setAttribute("tabindex",a.getAttribute("tabindex")||"0"),d.setAttribute("aria-multiselectable","true")):(c=a.options[a.selectedIndex],g.elem.appendChild(l.create("div",{"class":"dk-selected "+c.className,tabindex:a.tabindex||0,innerHTML:c?c.text:" ",id:b+"-combobox","aria-live":"assertive","aria-owns":d.id,role:"combobox"})),d.setAttribute("aria-expanded","false")),e=a.children.length;e--;f.unshift(a.children[e]));return f.forEach(h,g.elem.appendChild(d)),g},i.onDocClick=function(a){var b,c;if(1!==a.target.nodeType)return!1;null!==(b=a.target.getAttribute("data-dkcacheid"))&&i.cache[b].focus();for(c in i.cache)l.closest(a.target,i.cache[c].data.elem)||c===b||i.cache[c].disabled||i.cache[c].close()},c!==d&&(c.fn.dropkick=function(){var a=Array.prototype.slice.call(arguments);return c(this).each(function(){a[0]&&"object"!=typeof a[0]?"string"==typeof a[0]&&i.prototype[a[0]].apply(new i(this),a.slice(1)):new i(this,a[0]||{})})}),i})}(),h()}),a.registerDynamic("eb",["ea"],!0,function(a,b,c){return c.exports=a("ea"),c.exports}),a.register("ec",["9","77","78","79","7a","6d","eb"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a.Component,c=a.EventEmitter,d=a.ElementRef,e=a.Output},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a.CORE_DIRECTIVES},function(a){k=a["default"]}],execute:function(){"use strict";l=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=h(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(e=a[j])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&i(b,c,g),g},m=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},n=function(){function a(b){g(this,a),this.change=new c,this.elem=b.nativeElement}return f(a,[{key:"ngAfterContentInit",value:function(){this.inst=new k(this.elem.firstElementChild,{autoWidth:!0})}},{key:"onChange",value:function(a){this.change.next(a)}},{key:"destroy",value:function(){this.inst.dispose()}}]),a}(),a("DropDown",n),l([e(),m("design:type",Object)],n.prototype,"change",void 0),a("DropDown",n=l([b({selector:"drop-down",template:"\n <select (change)=onChange($event.target.value)>\n <ng-content></ng-content>\n </select>\n ",directives:[j],styles:["\n :host .dk-select {\n max-width: 100%;\n font-family: Montserrat, sans-serif;\n font-size: .929em;\n min-width: 100px;\n width: auto; }\n\n :host .dk-selected:after {\n display: none; }\n\n :host .dk-selected {\n color: #263238;\n border-color: rgba(38, 50, 56, 0.5);\n padding: 0.15em 1.5em 0.2em 0.5em;\n border-radius: 2px; }\n\n :host .dk-select-open-down .dk-selected, :host .dk-selected:focus, :host .dk-selected:hover {\n border-color: #0033a0;\n color: #0033a0; }\n\n :host .dk-selected:before {\n border-top-color: #263238;\n border-width: .35em .35em 0; }\n\n :host .dk-select-open-down .dk-selected:before,\n :host .dk-select-open-up .dk-selected:before {\n border-bottom-color: #0033a0; }\n\n :host .dk-select-multi:focus .dk-select-options,\n :host .dk-select-open-down .dk-select-options,\n :host .dk-select-open-up .dk-select-options {\n border-color: rgba(38, 50, 56, 0.2); }\n\n :host .dk-select-options .dk-option-highlight {\n background: #ffffff; }\n\n :host .dk-select-options {\n margin-top: 0.2em;\n padding: 0;\n border-radius: 2px;\n box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.08) !important;\n right: auto;\n min-width: 100%; }\n\n :host .dk-option {\n color: #263238;\n padding: 0.16em 0.6em 0.2em 0.5em; }\n :host .dk-option:hover {\n background-color: rgba(38, 50, 56, 0.12); }\n :host .dk-option:focus {\n background-color: rgba(38, 50, 56, 0.12); }\n\n :host .dk-option-selected {\n background-color: rgba(0, 0, 0, 0.05) !important; }\n "]}),m("design:paramtypes",[d])],n))}}}),a.register("ed",["9","77","78","79","7a","a7"],function(a){var b,c,d,e,f,g,h,i,j,k,l;return{setters:[function(a){b=a.Directive,c=a.ElementRef,d=a.Input},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a.BrowserDomAdapter}],execute:function(){"use strict";j=function(a,b,c,d){var e,f=arguments.length,i=3>f?b:null===d?d=g(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(e=a[j])&&(i=(3>f?e(i):f>3?e(b,c,i):e(b,c))||i);return f>3&&i&&h(b,c,i),i},k=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},l=function(){function a(b,c){f(this,a),this.dom=c,this.$element=b.nativeElement,this.dom.setStyle(this.$element,"position","absolute"),this.dom.setStyle(this.$element,"top","0"),this.dom.setStyle(this.$element,"bottom","0"),this.dom.setStyle(this.$element,"max-height","100%")}return e(a,[{key:"bind",value:function(){var a=this;this.cancelScrollBinding=this.dom.onAndCancel(this.scrollParent,"scroll",function(){a.updatePosition()}),this.updatePosition()}},{key:"unbind",value:function(){this.cancelScrollBinding&&this.cancelScrollBinding()}},{key:"updatePosition",value:function(){this.scrollY+this.scrollYOffset()>=this.$redocEl.offsetTop?this.stick():this.unstick()}},{key:"stick",value:function(){this.dom.setStyle(this.$element,"position","fixed"),this.dom.setStyle(this.$element,"top",this.scrollYOffset()+"px")}},{key:"unstick",value:function(){this.dom.setStyle(this.$element,"position","absolute"),this.dom.setStyle(this.$element,"top","0")}},{key:"ngOnInit",value:function(){this.$redocEl=this.$element.offsetParent||this.dom.defaultDoc().body,this.bind()}},{key:"ngOnDestroy",value:function(){this.unbind()}},{key:"scrollY",get:function(){return void 0!=this.scrollParent.pageYOffset?this.scrollParent.pageYOffset:this.scrollParent.scrollTop}}]),a}(),a("StickySidebar",l),j([d(),k("design:type",Object)],l.prototype,"scrollParent",void 0),j([d(),k("design:type",Object)],l.prototype,"scrollYOffset",void 0),a("StickySidebar",l=j([b({selector:"[sticky-sidebar]"}),k("design:paramtypes",[c,i])],l))}}}),a.register("ee",["9","77","78","79","7a","6d"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;return{setters:[function(a){b=a.Component,c=a.EventEmitter,d=a.Input,e=a.Output,f=a.ChangeDetectorRef,g=a.ChangeDetectionStrategy},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a["default"]},function(a){k=a["default"]},function(a){l=a.CORE_DIRECTIVES}],execute:function(){"use strict";m=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=j(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&k(b,c,g),g},n=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},o=function(){function a(b){i(this,a),this.changeDetector=b,this.change=new c,this.tabs=[]}return h(a,[{key:"selectTab",value:function(a){var b=arguments.length<=1||void 0===arguments[1]?!0:arguments[1];a.active||(this.tabs.forEach(function(a){a.active=!1}),a.active=!0,b&&this.change.next(a.tabTitle))}},{key:"selectyByTitle",value:function(a){var b=arguments.length<=1||void 0===arguments[1]?!1:arguments[1],c=void 0,d=void 0;this.tabs.forEach(function(b){b.active&&(c=b),b.active=!1,b.tabTitle===a&&(d=b)}),d?d.active=!0:c.active=!0,b&&this.change.next(a),this.changeDetector.markForCheck()}},{key:"addTab",value:function(a){0===this.tabs.length&&(a.active=!0),this.tabs.push(a)}},{key:"ngOnInit",value:function(){var a=this;this.selected&&this.selected.subscribe(function(b){return a.selectyByTitle(b)})}}]),a}(),a("Tabs",o),m([d(),n("design:type",Object)],o.prototype,"selected",void 0),m([e(),n("design:type",Object)],o.prototype,"change",void 0),a("Tabs",o=m([b({selector:"tabs",template:'\n <ul>\n <li *ngFor="let tab of tabs" [ngClass]="{active: tab.active}" (click)="selectTab(tab)"\n class="tab-{{tab.tabStatus}}">{{tab.tabTitle}}</li>\n </ul>\n <ng-content></ng-content>\n ',directives:[l],styles:['\n ul {\n display: block;\n margin: 0;\n padding: 0; }\n\n li {\n list-style: none;\n display: inline-block;\n cursor: pointer; }\n\n .tab-success:before, .tab-error:before, .tab-redirect:before, .tab-info:before {\n content: "";\n display: inline-block;\n position: relative;\n top: -2px;\n height: 4px;\n width: 4px;\n border-radius: 50%;\n margin-right: 0.5em; }\n\n .tab-success:before {\n box-shadow: 0 0 3px 0 #00aa13;\n background-color: #00aa13; }\n\n .tab-error:before {\n box-shadow: 0 0 3px 0 #e53935;\n background-color: #e53935; }\n\n .tab-redirect:before {\n box-shadow: 0 0 3px 0 #f1c400;\n background-color: #f1c400; }\n\n .tab-info:before {\n box-shadow: 0 0 3px 0 #0033a0;\n background-color: #0033a0; }\n '],changeDetection:g.OnPush}),n("design:paramtypes",[f])],o)),p=function q(a){i(this,q),this.active=!1,a.addTab(this)},a("Tab",p),m([d(),n("design:type",Boolean)],p.prototype,"active",void 0),m([d(),n("design:type",String)],p.prototype,"tabTitle",void 0),m([d(),n("design:type",String)],p.prototype,"tabStatus",void 0),a("Tab",p=m([b({selector:"tab",template:'\n <div class="tab-wrap" [ngClass]="{\'active\': active}">\n <ng-content></ng-content>\n </div>\n ',directives:[l],styles:["\n .tab-wrap {\n display: none;\n }\n\n .tab-wrap.active {\n display: block;\n }"]}),n("design:paramtypes",[o])],p))}}}),a.registerDynamic("ef",["9","f0","f1","f2"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f0"),f=a("f1"),g=a("f2"),h=function(){function a(){}return a.prototype.createSubscription=function(a,b){return e.ObservableWrapper.subscribe(a,b,function(a){throw a})},a.prototype.dispose=function(a){e.ObservableWrapper.dispose(a)},a.prototype.onDestroy=function(a){e.ObservableWrapper.dispose(a)},a}(),i=function(){function a(){}return a.prototype.createSubscription=function(a,b){return a.then(b,function(a){throw a})},a.prototype.dispose=function(a){},a.prototype.onDestroy=function(a){},a}(),j=new i,k=new h,l=function(){function a(a){this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=a}return a.prototype.ngOnDestroy=function(){f.isPresent(this._subscription)&&this._dispose()},a.prototype.transform=function(a){return f.isBlank(this._obj)?(f.isPresent(a)&&this._subscribe(a),this._latestReturnedValue=this._latestValue,this._latestValue):a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,d.WrappedValue.wrap(this._latestValue))},a.prototype._subscribe=function(a){var b=this;this._obj=a,this._strategy=this._selectStrategy(a),this._subscription=this._strategy.createSubscription(a,function(c){return b._updateLatestValue(a,c)})},a.prototype._selectStrategy=function(b){if(f.isPromise(b))return j;if(e.ObservableWrapper.isObservable(b))return k;throw new g.InvalidPipeArgumentException(a,b)},a.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},a.prototype._updateLatestValue=function(a,b){a===this._obj&&(this._latestValue=b,this._ref.markForCheck())},a.decorators=[{type:d.Pipe,args:[{name:"async",pure:!1}]}],a.ctorParameters=[{type:d.ChangeDetectorRef}],a}();return b.AsyncPipe=l,c.exports}),a.registerDynamic("f3",["ef","f4","f5","f6","f7","f8","f9","fa","fb","fc"],!0,function(a,b,c){"use strict";var d=a("ef"),e=a("f4"),f=a("f5"),g=a("f6"),h=a("f7"),i=a("f8"),j=a("f9"),k=a("fa"),l=a("fb"),m=a("fc");return b.COMMON_PIPES=[d.AsyncPipe,m.UpperCasePipe,i.LowerCasePipe,h.JsonPipe,l.SlicePipe,j.DecimalPipe,j.PercentPipe,j.CurrencyPipe,e.DatePipe,k.ReplacePipe,f.I18nPluralPipe,g.I18nSelectPipe],c.exports}),a.registerDynamic("f4",["9","fd","fe","f1","f2"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("fd"),f=a("fe"),g=a("f1"),h=a("f2"),i="en-US",j=function(){function a(){}return a.prototype.transform=function(b,c){if(void 0===c&&(c="mediumDate"),g.isBlank(b))return null;if(!this.supports(b))throw new h.InvalidPipeArgumentException(a,b);return g.NumberWrapper.isNumeric(b)?b=g.DateWrapper.fromMillis(g.NumberWrapper.parseInt(b,10)):g.isString(b)&&(b=g.DateWrapper.fromISOString(b)),e.StringMapWrapper.contains(a._ALIASES,c)&&(c=e.StringMapWrapper.get(a._ALIASES,c)),f.DateFormatter.format(b,i,c)},a.prototype.supports=function(a){return g.isDate(a)||g.NumberWrapper.isNumeric(a)?!0:!(!g.isString(a)||!g.isDate(g.DateWrapper.fromISOString(a)))},a._ALIASES={medium:"yMMMdjms","short":"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},a.decorators=[{type:d.Pipe,args:[{name:"date",pure:!0}]}],a}();return b.DatePipe=j,c.exports}),a.registerDynamic("f5",["9","f1","ff","f2"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("ff"),g=a("f2"),h=/#/g,i=function(){function a(a){this._localization=a}return a.prototype.transform=function(b,c){if(e.isBlank(b))return"";if(!e.isStringMap(c))throw new g.InvalidPipeArgumentException(a,c);var d=f.getPluralCategory(b,Object.getOwnPropertyNames(c),this._localization);return e.StringWrapper.replaceAll(c[d],h,b.toString())},a.decorators=[{type:d.Pipe,args:[{name:"i18nPlural",pure:!0}]}],a.ctorParameters=[{type:f.NgLocalization}],a}();return b.I18nPluralPipe=i,c.exports}),a.registerDynamic("f6",["9","f1","f2"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("f2"),g=function(){function a(){}return a.prototype.transform=function(b,c){if(e.isBlank(b))return"";if(!e.isStringMap(c))throw new f.InvalidPipeArgumentException(a,c);return c.hasOwnProperty(b)?c[b]:""},a.decorators=[{type:d.Pipe,args:[{name:"i18nSelect",pure:!0}]}],a}();return b.I18nSelectPipe=g,c.exports}),a.registerDynamic("f7",["9","f1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=function(){function a(){}return a.prototype.transform=function(a){return e.Json.stringify(a)},a.decorators=[{type:d.Pipe,args:[{name:"json",pure:!1}]}],a}();return b.JsonPipe=f,c.exports}),a.registerDynamic("f8",["9","f1","f2"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("f2"),g=function(){function a(){}return a.prototype.transform=function(b){if(e.isBlank(b))return b;if(!e.isString(b))throw new f.InvalidPipeArgumentException(a,b);return b.toLowerCase()},a.decorators=[{type:d.Pipe,args:[{name:"lowercase"}]}],a}();return b.LowerCasePipe=g,c.exports}),a.registerDynamic("fe",[],!0,function(a,b,c){"use strict";function d(a){return function(b,c){var d=a(b,c);return 1==d.length?"0"+d:d}}function e(a){return function(b,c){var d=a(b,c);return d.split(" ")[1]}}function f(a){return function(b,c){var d=a(b,c);return d.split(" ")[0]}}function g(a,b){return a.hour12=b,a}function h(a,b){var c={};return c[a]=2==b?"2-digit":"numeric",c}function i(a,b){var c={};return c[a]=4>b?"short":"long",c}function j(a){var b={};return a.forEach(function(a){Object.assign(b,a)}),b}function k(a){return function(b,c){return new Intl.DateTimeFormat(c,a).format(b)}}function l(a,b,c){var d,e,f="",g=[];if(q[a])return q[a](b,c);if(s.has(a))g=s.get(a);else{for(p.exec(a);a;)d=p.exec(a),d?(g=m(g,d,1),a=g.pop()):(g.push(a),a=null);s.set(a,g)}return g.forEach(function(a){e=r[a],f+=e?e(b,c):"''"===a?"'":a.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),f}function m(a,b,c){return a.concat(t.call(b,c))}!function(a){a[a.Decimal=0]="Decimal",a[a.Percent=1]="Percent",a[a.Currency=2]="Currency"}(b.NumberFormatStyle||(b.NumberFormatStyle={}));var n=b.NumberFormatStyle,o=function(){function a(){}return a.format=function(a,b,c,d){var e=void 0===d?{}:d,f=e.minimumIntegerDigits,g=void 0===f?1:f,h=e.minimumFractionDigits,i=void 0===h?0:h,j=e.maximumFractionDigits,k=void 0===j?3:j,l=e.currency,m=e.currencyAsSymbol,o=void 0===m?!1:m,p={minimumIntegerDigits:g,minimumFractionDigits:i,maximumFractionDigits:k};return p.style=n[c].toLowerCase(),c==n.Currency&&(p.currency=l,p.currencyDisplay=o?"symbol":"code"),new Intl.NumberFormat(b,p).format(a)},a}();b.NumberFormatter=o;var p=/((?:[^yMLdHhmsaZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|Z|G+|w+))(.*)/,q={yMMMdjms:k(j([h("year",1),i("month",3),h("day",1),h("hour",1),h("minute",1),h("second",1)])),yMdjm:k(j([h("year",1),h("month",1),h("day",1),h("hour",1),h("minute",1)])),yMMMMEEEEd:k(j([h("year",1),i("month",4),i("weekday",4),h("day",1)])),yMMMMd:k(j([h("year",1),i("month",4),h("day",1)])),yMMMd:k(j([h("year",1),i("month",3),h("day",1)])),yMd:k(j([h("year",1),h("month",1),h("day",1)])),jms:k(j([h("hour",1),h("second",1),h("minute",1)])),jm:k(j([h("hour",1),h("minute",1)]))},r={yyyy:k(h("year",4)),yy:k(h("year",2)),y:k(h("year",1)),MMMM:k(i("month",4)),MMM:k(i("month",3)),MM:k(h("month",2)),M:k(h("month",1)),LLLL:k(i("month",4)),dd:k(h("day",2)),d:k(h("day",1)),HH:f(k(g(h("hour",2),!1))),H:f(k(g(h("hour",1),!1))),hh:f(k(g(h("hour",2),!0))),h:f(k(g(h("hour",1),!0))),jj:k(h("hour",2)),j:k(h("hour",1)),mm:d(k(h("minute",2))),m:k(h("minute",1)),ss:d(k(h("second",2))),s:k(h("second",1)),sss:k(h("second",3)),EEEE:k(i("weekday",4)),EEE:k(i("weekday",3)),EE:k(i("weekday",2)),E:k(i("weekday",1)),a:e(k(g(h("hour",1),!0))),Z:k({timeZoneName:"long"}),z:k({timeZoneName:"short"}),ww:k({}),w:k({}),G:k(i("era",1)),GG:k(i("era",2)),GGG:k(i("era",3)),GGGG:k(i("era",4))},s=new Map,t=[].slice,u=function(){function a(){}return a.format=function(a,b,c){return l(c,a,b)},a}();return b.DateFormatter=u,c.exports}),a.registerDynamic("f9",["9","100","fe","f1","f2"],!0,function(a,b,c){"use strict";function d(a,b,c,d,e,l){if(void 0===e&&(e=null),void 0===l&&(l=!1),h.isBlank(b))return null;if(!h.isNumber(b))throw new i.InvalidPipeArgumentException(a,b);var m=1,n=0,o=3;if(h.isPresent(d)){var p=h.RegExpWrapper.firstMatch(k,d);if(h.isBlank(p))throw new f.BaseException(d+" is not a valid digit info for number pipes");h.isPresent(p[1])&&(m=h.NumberWrapper.parseIntAutoRadix(p[1])),h.isPresent(p[3])&&(n=h.NumberWrapper.parseIntAutoRadix(p[3])),h.isPresent(p[5])&&(o=h.NumberWrapper.parseIntAutoRadix(p[5]))}return g.NumberFormatter.format(b,j,c,{minimumIntegerDigits:m,minimumFractionDigits:n,maximumFractionDigits:o,currency:e,currencyAsSymbol:l})}var e=a("9"),f=a("100"),g=a("fe"),h=a("f1"),i=a("f2"),j="en-US",k=/^(\d+)?\.((\d+)(\-(\d+))?)?$/g,l=function(){function a(){}return a.prototype.transform=function(b,c){return void 0===c&&(c=null),d(a,b,g.NumberFormatStyle.Decimal,c)},a.decorators=[{type:e.Pipe,args:[{name:"number"}]}],a}();b.DecimalPipe=l;var m=function(){function a(){}return a.prototype.transform=function(b,c){return void 0===c&&(c=null),d(a,b,g.NumberFormatStyle.Percent,c)},a.decorators=[{type:e.Pipe,args:[{name:"percent"}]}],a}();b.PercentPipe=m;var n=function(){function a(){}return a.prototype.transform=function(b,c,e,f){return void 0===c&&(c="USD"),void 0===e&&(e=!1),void 0===f&&(f=null),d(a,b,g.NumberFormatStyle.Currency,f,c,e)},a.decorators=[{type:e.Pipe,args:[{name:"currency"}]}],a}();return b.CurrencyPipe=n,c.exports}),a.registerDynamic("fa",["9","f1","f2"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("f2"),g=function(){function a(){}return a.prototype.transform=function(b,c,d){if(e.isBlank(b))return b;if(!this._supportedInput(b))throw new f.InvalidPipeArgumentException(a,b);var g=b.toString();if(!this._supportedPattern(c))throw new f.InvalidPipeArgumentException(a,c);if(!this._supportedReplacement(d))throw new f.InvalidPipeArgumentException(a,d);if(e.isFunction(d)){var h=e.isString(c)?e.RegExpWrapper.create(c):c;return e.StringWrapper.replaceAllMapped(g,h,d)}return c instanceof RegExp?e.StringWrapper.replaceAll(g,c,d):e.StringWrapper.replace(g,c,d)},a.prototype._supportedInput=function(a){return e.isString(a)||e.isNumber(a)},a.prototype._supportedPattern=function(a){return e.isString(a)||a instanceof RegExp},a.prototype._supportedReplacement=function(a){return e.isString(a)||e.isFunction(a)},a.decorators=[{type:d.Pipe,args:[{name:"replace"}]}],a}();return b.ReplacePipe=g,c.exports}),a.registerDynamic("fb",["9","fd","f1","f2"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("fd"),f=a("f1"),g=a("f2"),h=function(){function a(){}return a.prototype.transform=function(b,c,d){if(void 0===d&&(d=null),f.isBlank(b))return b;if(!this.supports(b))throw new g.InvalidPipeArgumentException(a,b);return f.isString(b)?f.StringWrapper.slice(b,c,d):e.ListWrapper.slice(b,c,d)},a.prototype.supports=function(a){return f.isString(a)||f.isArray(a)},a.decorators=[{type:d.Pipe,args:[{name:"slice",pure:!1}]}],a}();return b.SlicePipe=h,c.exports}),a.registerDynamic("f2",["100","f1"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("100"),f=a("f1"),g=function(a){function b(b,c){a.call(this,"Invalid argument '"+c+"' for pipe '"+f.stringify(b)+"'")}return d(b,a),b}(e.BaseException);return b.InvalidPipeArgumentException=g,c.exports}),a.registerDynamic("fc",["9","f1","f2"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("f2"),g=function(){function a(){}return a.prototype.transform=function(b){if(e.isBlank(b))return b;if(!e.isString(b))throw new f.InvalidPipeArgumentException(a,b);return b.toUpperCase()},a.decorators=[{type:d.Pipe,args:[{name:"uppercase"}]}],a}();return b.UpperCasePipe=g,c.exports}),a.registerDynamic("101",["ef","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc"],!0,function(a,b,c){"use strict";var d=a("ef");b.AsyncPipe=d.AsyncPipe;var e=a("f3");b.COMMON_PIPES=e.COMMON_PIPES;var f=a("f4");b.DatePipe=f.DatePipe;var g=a("f5");b.I18nPluralPipe=g.I18nPluralPipe;var h=a("f6");b.I18nSelectPipe=h.I18nSelectPipe;var i=a("f7");b.JsonPipe=i.JsonPipe;var j=a("f8");b.LowerCasePipe=j.LowerCasePipe;var k=a("f9");b.CurrencyPipe=k.CurrencyPipe,b.DecimalPipe=k.DecimalPipe,b.PercentPipe=k.PercentPipe;var l=a("fa");b.ReplacePipe=l.ReplacePipe;var m=a("fb");b.SlicePipe=m.SlicePipe;var n=a("fc");return b.UpperCasePipe=n.UpperCasePipe,c.exports}),a.registerDynamic("102",["103","104","105","106","107","108","109"],!0,function(a,b,c){"use strict";var d=a("103"),e=a("104"),f=a("105"),g=a("106"),h=a("107"),i=a("108"),j=a("109");return b.CORE_DIRECTIVES=[d.NgClass,e.NgFor,f.NgIf,j.NgTemplateOutlet,h.NgStyle,i.NgSwitch,i.NgSwitchCase,i.NgSwitchDefault,g.NgPlural,g.NgPluralCase],c.exports}),a.registerDynamic("103",["9","fd","f1"],!0,function(a,b,c){
|
||
"use strict";var d=a("9"),e=a("fd"),f=a("f1"),g=function(){function a(a,b,c,d){this._iterableDiffers=a,this._keyValueDiffers=b,this._ngEl=c,this._renderer=d,this._initialClasses=[]}return Object.defineProperty(a.prototype,"initialClasses",{set:function(a){this._applyInitialClasses(!0),this._initialClasses=f.isPresent(a)&&f.isString(a)?a.split(" "):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"rawClass",{set:function(a){this._cleanupClasses(this._rawClass),f.isString(a)&&(a=a.split(" ")),this._rawClass=a,this._iterableDiffer=null,this._keyValueDiffer=null,f.isPresent(a)&&(e.isListLikeIterable(a)?this._iterableDiffer=this._iterableDiffers.find(a).create(null):this._keyValueDiffer=this._keyValueDiffers.find(a).create(null))},enumerable:!0,configurable:!0}),a.prototype.ngDoCheck=function(){if(f.isPresent(this._iterableDiffer)){var a=this._iterableDiffer.diff(this._rawClass);f.isPresent(a)&&this._applyIterableChanges(a)}if(f.isPresent(this._keyValueDiffer)){var a=this._keyValueDiffer.diff(this._rawClass);f.isPresent(a)&&this._applyKeyValueChanges(a)}},a.prototype.ngOnDestroy=function(){this._cleanupClasses(this._rawClass)},a.prototype._cleanupClasses=function(a){this._applyClasses(a,!0),this._applyInitialClasses(!1)},a.prototype._applyKeyValueChanges=function(a){var b=this;a.forEachAddedItem(function(a){b._toggleClass(a.key,a.currentValue)}),a.forEachChangedItem(function(a){b._toggleClass(a.key,a.currentValue)}),a.forEachRemovedItem(function(a){a.previousValue&&b._toggleClass(a.key,!1)})},a.prototype._applyIterableChanges=function(a){var b=this;a.forEachAddedItem(function(a){b._toggleClass(a.item,!0)}),a.forEachRemovedItem(function(a){b._toggleClass(a.item,!1)})},a.prototype._applyInitialClasses=function(a){var b=this;this._initialClasses.forEach(function(c){return b._toggleClass(c,!a)})},a.prototype._applyClasses=function(a,b){var c=this;f.isPresent(a)&&(f.isArray(a)?a.forEach(function(a){return c._toggleClass(a,!b)}):a instanceof Set?a.forEach(function(a){return c._toggleClass(a,!b)}):e.StringMapWrapper.forEach(a,function(a,d){f.isPresent(a)&&c._toggleClass(d,!b)}))},a.prototype._toggleClass=function(a,b){if(a=a.trim(),a.length>0)if(a.indexOf(" ")>-1)for(var c=a.split(/\s+/g),d=0,e=c.length;e>d;d++)this._renderer.setElementClass(this._ngEl.nativeElement,c[d],b);else this._renderer.setElementClass(this._ngEl.nativeElement,a,b)},a.decorators=[{type:d.Directive,args:[{selector:"[ngClass]",inputs:["rawClass: ngClass","initialClasses: class"]}]}],a.ctorParameters=[{type:d.IterableDiffers},{type:d.KeyValueDiffers},{type:d.ElementRef},{type:d.Renderer}],a}();return b.NgClass=g,c.exports}),a.registerDynamic("104",["9","100","f1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("100"),f=a("f1"),g=function(){function a(a,b,c){this.$implicit=a,this.index=b,this.count=c}return Object.defineProperty(a.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"even",{get:function(){return this.index%2===0},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),a}();b.NgForRow=g;var h=function(){function a(a,b,c,d){this._viewContainer=a,this._templateRef=b,this._iterableDiffers=c,this._cdr=d}return Object.defineProperty(a.prototype,"ngForOf",{set:function(a){if(this._ngForOf=a,f.isBlank(this._differ)&&f.isPresent(a))try{this._differ=this._iterableDiffers.find(a).create(this._cdr,this._ngForTrackBy)}catch(b){throw new e.BaseException("Cannot find a differ supporting object '"+a+"' of type '"+f.getTypeNameForDebugging(a)+"'. NgFor only supports binding to Iterables such as Arrays.")}},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngForTemplate",{set:function(a){f.isPresent(a)&&(this._templateRef=a)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngForTrackBy",{set:function(a){this._ngForTrackBy=a},enumerable:!0,configurable:!0}),a.prototype.ngDoCheck=function(){if(f.isPresent(this._differ)){var a=this._differ.diff(this._ngForOf);f.isPresent(a)&&this._applyChanges(a)}},a.prototype._applyChanges=function(a){var b=this,c=[];a.forEachRemovedItem(function(a){return c.push(new i(a,null))}),a.forEachMovedItem(function(a){return c.push(new i(a,null))});var d=this._bulkRemove(c);a.forEachAddedItem(function(a){return d.push(new i(a,null))}),this._bulkInsert(d);for(var e=0;e<d.length;e++)this._perViewChange(d[e].view,d[e].record);for(var e=0,f=this._viewContainer.length;f>e;e++){var g=this._viewContainer.get(e);g.context.index=e,g.context.count=f}a.forEachIdentityChange(function(a){var c=b._viewContainer.get(a.currentIndex);c.context.$implicit=a.item})},a.prototype._perViewChange=function(a,b){a.context.$implicit=b.item},a.prototype._bulkRemove=function(a){a.sort(function(a,b){return a.record.previousIndex-b.record.previousIndex});for(var b=[],c=a.length-1;c>=0;c--){var d=a[c];f.isPresent(d.record.currentIndex)?(d.view=this._viewContainer.detach(d.record.previousIndex),b.push(d)):this._viewContainer.remove(d.record.previousIndex)}return b},a.prototype._bulkInsert=function(a){a.sort(function(a,b){return a.record.currentIndex-b.record.currentIndex});for(var b=0;b<a.length;b++){var c=a[b];f.isPresent(c.view)?this._viewContainer.insert(c.view,c.record.currentIndex):c.view=this._viewContainer.createEmbeddedView(this._templateRef,new g(null,null,null),c.record.currentIndex)}return a},a.decorators=[{type:d.Directive,args:[{selector:"[ngFor][ngForOf]",inputs:["ngForTrackBy","ngForOf","ngForTemplate"]}]}],a.ctorParameters=[{type:d.ViewContainerRef},{type:d.TemplateRef},{type:d.IterableDiffers},{type:d.ChangeDetectorRef}],a}();b.NgFor=h;var i=function(){function a(a,b){this.record=a,this.view=b}return a}();return c.exports}),a.registerDynamic("105",["9","f1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=function(){function a(a,b){this._viewContainer=a,this._templateRef=b,this._prevCondition=null}return Object.defineProperty(a.prototype,"ngIf",{set:function(a){!a||!e.isBlank(this._prevCondition)&&this._prevCondition?a||!e.isBlank(this._prevCondition)&&!this._prevCondition||(this._prevCondition=!1,this._viewContainer.clear()):(this._prevCondition=!0,this._viewContainer.createEmbeddedView(this._templateRef))},enumerable:!0,configurable:!0}),a.decorators=[{type:d.Directive,args:[{selector:"[ngIf]",inputs:["ngIf"]}]}],a.ctorParameters=[{type:d.ViewContainerRef},{type:d.TemplateRef}],a}();return b.NgIf=f,c.exports}),a.registerDynamic("106",["9","f1","ff","108"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("ff"),g=a("108"),h=function(){function a(a,b,c){this.value=a,this._view=new g.SwitchView(c,b)}return a.decorators=[{type:d.Directive,args:[{selector:"[ngPluralCase]"}]}],a.ctorParameters=[{type:void 0,decorators:[{type:d.Attribute,args:["ngPluralCase"]}]},{type:d.TemplateRef},{type:d.ViewContainerRef}],a}();b.NgPluralCase=h;var i=function(){function a(a){this._localization=a,this._caseViews={},this.cases=null}return Object.defineProperty(a.prototype,"ngPlural",{set:function(a){this._switchValue=a,this._updateView()},enumerable:!0,configurable:!0}),a.prototype.ngAfterContentInit=function(){var a=this;this.cases.forEach(function(b){a._caseViews[b.value]=b._view}),this._updateView()},a.prototype._updateView=function(){this._clearViews();var a=f.getPluralCategory(this._switchValue,Object.getOwnPropertyNames(this._caseViews),this._localization);this._activateView(this._caseViews[a])},a.prototype._clearViews=function(){e.isPresent(this._activeView)&&this._activeView.destroy()},a.prototype._activateView=function(a){e.isPresent(a)&&(this._activeView=a,this._activeView.create())},a.decorators=[{type:d.Directive,args:[{selector:"[ngPlural]"}]}],a.ctorParameters=[{type:f.NgLocalization}],a.propDecorators={cases:[{type:d.ContentChildren,args:[h]}],ngPlural:[{type:d.Input}]},a}();return b.NgPlural=i,c.exports}),a.registerDynamic("107",["9","f1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=function(){function a(a,b,c){this._differs=a,this._ngEl=b,this._renderer=c}return Object.defineProperty(a.prototype,"rawStyle",{set:function(a){this._rawStyle=a,e.isBlank(this._differ)&&e.isPresent(a)&&(this._differ=this._differs.find(this._rawStyle).create(null))},enumerable:!0,configurable:!0}),a.prototype.ngDoCheck=function(){if(e.isPresent(this._differ)){var a=this._differ.diff(this._rawStyle);e.isPresent(a)&&this._applyChanges(a)}},a.prototype._applyChanges=function(a){var b=this;a.forEachAddedItem(function(a){b._setStyle(a.key,a.currentValue)}),a.forEachChangedItem(function(a){b._setStyle(a.key,a.currentValue)}),a.forEachRemovedItem(function(a){b._setStyle(a.key,null)})},a.prototype._setStyle=function(a,b){this._renderer.setElementStyle(this._ngEl.nativeElement,a,b)},a.decorators=[{type:d.Directive,args:[{selector:"[ngStyle]",inputs:["rawStyle: ngStyle"]}]}],a.ctorParameters=[{type:d.KeyValueDiffers},{type:d.ElementRef},{type:d.Renderer}],a}();return b.NgStyle=f,c.exports}),a.registerDynamic("108",["9","fd","f1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("fd"),f=a("f1"),g=new Object,h=!1,i=function(){function a(a,b){this._viewContainerRef=a,this._templateRef=b}return a.prototype.create=function(){this._viewContainerRef.createEmbeddedView(this._templateRef)},a.prototype.destroy=function(){this._viewContainerRef.clear()},a}();b.SwitchView=i;var j=function(){function a(){this._useDefault=!1,this._valueViews=new e.Map,this._activeViews=[]}return Object.defineProperty(a.prototype,"ngSwitch",{set:function(a){this._emptyAllActiveViews(),this._useDefault=!1;var b=this._valueViews.get(a);f.isBlank(b)&&(this._useDefault=!0,b=f.normalizeBlank(this._valueViews.get(g))),this._activateViews(b),this._switchValue=a},enumerable:!0,configurable:!0}),a.prototype._onCaseValueChanged=function(a,b,c){this._deregisterView(a,c),this._registerView(b,c),a===this._switchValue?(c.destroy(),e.ListWrapper.remove(this._activeViews,c)):b===this._switchValue&&(this._useDefault&&(this._useDefault=!1,this._emptyAllActiveViews()),c.create(),this._activeViews.push(c)),0!==this._activeViews.length||this._useDefault||(this._useDefault=!0,this._activateViews(this._valueViews.get(g)))},a.prototype._emptyAllActiveViews=function(){for(var a=this._activeViews,b=0;b<a.length;b++)a[b].destroy();this._activeViews=[]},a.prototype._activateViews=function(a){if(f.isPresent(a)){for(var b=0;b<a.length;b++)a[b].create();this._activeViews=a}},a.prototype._registerView=function(a,b){var c=this._valueViews.get(a);f.isBlank(c)&&(c=[],this._valueViews.set(a,c)),c.push(b)},a.prototype._deregisterView=function(a,b){if(a!==g){var c=this._valueViews.get(a);1==c.length?this._valueViews["delete"](a):e.ListWrapper.remove(c,b)}},a.decorators=[{type:d.Directive,args:[{selector:"[ngSwitch]",inputs:["ngSwitch"]}]}],a}();b.NgSwitch=j;var k=function(){function a(a,b,c){this._value=g,this._switch=c,this._view=new i(a,b)}return Object.defineProperty(a.prototype,"ngSwitchCase",{set:function(a){this._switch._onCaseValueChanged(this._value,a,this._view),this._value=a},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngSwitchWhen",{set:function(a){h||(h=!0,console.warn("*ngSwitchWhen is deprecated and will be removed. Use *ngSwitchCase instead")),this._switch._onCaseValueChanged(this._value,a,this._view),this._value=a},enumerable:!0,configurable:!0}),a.decorators=[{type:d.Directive,args:[{selector:"[ngSwitchCase],[ngSwitchWhen]",inputs:["ngSwitchCase","ngSwitchWhen"]}]}],a.ctorParameters=[{type:d.ViewContainerRef},{type:d.TemplateRef},{type:j,decorators:[{type:d.Host}]}],a}();b.NgSwitchCase=k;var l=function(){function a(a,b,c){c._registerView(g,new i(a,b))}return a.decorators=[{type:d.Directive,args:[{selector:"[ngSwitchDefault]"}]}],a.ctorParameters=[{type:d.ViewContainerRef},{type:d.TemplateRef},{type:j,decorators:[{type:d.Host}]}],a}();return b.NgSwitchDefault=l,c.exports}),a.registerDynamic("109",["9","f1"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=function(){function a(a){this._viewContainerRef=a}return Object.defineProperty(a.prototype,"ngOutletContext",{set:function(a){this._context!==a&&(this._context=a,e.isPresent(this._viewRef)&&this.createView())},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngTemplateOutlet",{set:function(a){this._templateRef!==a&&(this._templateRef=a,this.createView())},enumerable:!0,configurable:!0}),a.prototype.createView=function(){e.isPresent(this._viewRef)&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),e.isPresent(this._templateRef)&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this._templateRef,this._context))},a.decorators=[{type:d.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],a.ctorParameters=[{type:d.ViewContainerRef}],a.propDecorators={ngOutletContext:[{type:d.Input}],ngTemplateOutlet:[{type:d.Input}]},a}();return b.NgTemplateOutlet=f,c.exports}),a.registerDynamic("10a",["102","103","104","105","106","107","108","109"],!0,function(a,b,c){"use strict";var d=a("102");b.CORE_DIRECTIVES=d.CORE_DIRECTIVES;var e=a("103");b.NgClass=e.NgClass;var f=a("104");b.NgFor=f.NgFor;var g=a("105");b.NgIf=g.NgIf;var h=a("106");b.NgPlural=h.NgPlural,b.NgPluralCase=h.NgPluralCase;var i=a("107");b.NgStyle=i.NgStyle;var j=a("108");b.NgSwitch=j.NgSwitch,b.NgSwitchCase=j.NgSwitchCase,b.NgSwitchDefault=j.NgSwitchDefault;var k=a("109");return b.NgTemplateOutlet=k.NgTemplateOutlet,c.exports}),a.registerDynamic("10b",["9","fd","f1","10c"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("fd"),f=a("f1"),g=a("10c"),h=function(){function a(){}return a.prototype.group=function(a,b){void 0===b&&(b=null);var c=this._reduceControls(a),d=f.isPresent(b)?e.StringMapWrapper.get(b,"optionals"):null,h=f.isPresent(b)?e.StringMapWrapper.get(b,"validator"):null,i=f.isPresent(b)?e.StringMapWrapper.get(b,"asyncValidator"):null;return new g.ControlGroup(c,d,h,i)},a.prototype.control=function(a,b,c){return void 0===b&&(b=null),void 0===c&&(c=null),new g.Control(a,b,c)},a.prototype.array=function(a,b,c){var d=this;void 0===b&&(b=null),void 0===c&&(c=null);var e=a.map(function(a){return d._createControl(a)});return new g.ControlArray(e,b,c)},a.prototype._reduceControls=function(a){var b=this,c={};return e.StringMapWrapper.forEach(a,function(a,d){c[d]=b._createControl(a)}),c},a.prototype._createControl=function(a){if(a instanceof g.Control||a instanceof g.ControlGroup||a instanceof g.ControlArray)return a;if(f.isArray(a)){var b=a[0],c=a.length>1?a[1]:null,d=a.length>2?a[2]:null;return this.control(b,c,d)}return this.control(a)},a.decorators=[{type:d.Injectable}],a}();return b.FormBuilder=h,c.exports}),a.registerDynamic("10d",["10e","10f","110","111","112","113","114","115","116","117","118","119","11a","11b","11c"],!0,function(a,b,c){"use strict";var d=a("10e"),e=a("10f"),f=a("110"),g=a("111"),h=a("112"),i=a("113"),j=a("114"),k=a("115"),l=a("116"),m=a("117"),n=a("118"),o=a("119"),p=a("11a"),q=a("11b"),r=a("10e");b.CheckboxControlValueAccessor=r.CheckboxControlValueAccessor;var s=a("10f");b.DefaultValueAccessor=s.DefaultValueAccessor;var t=a("11c");b.NgControl=t.NgControl;var u=a("110");b.NgControlGroup=u.NgControlGroup;var v=a("111");b.NgControlName=v.NgControlName;var w=a("112");b.NgControlStatus=w.NgControlStatus;var x=a("113");b.NgForm=x.NgForm;var y=a("114");b.NgFormControl=y.NgFormControl;var z=a("115");b.NgFormModel=z.NgFormModel;var A=a("116");b.NgModel=A.NgModel;var B=a("117");b.NumberValueAccessor=B.NumberValueAccessor;var C=a("118");b.RadioButtonState=C.RadioButtonState,b.RadioControlValueAccessor=C.RadioControlValueAccessor;var D=a("119");b.NgSelectOption=D.NgSelectOption,b.SelectControlValueAccessor=D.SelectControlValueAccessor;var E=a("11a");b.NgSelectMultipleOption=E.NgSelectMultipleOption,b.SelectMultipleControlValueAccessor=E.SelectMultipleControlValueAccessor;var F=a("11b");return b.MaxLengthValidator=F.MaxLengthValidator,b.MinLengthValidator=F.MinLengthValidator,b.PatternValidator=F.PatternValidator,b.RequiredValidator=F.RequiredValidator,b.FORM_DIRECTIVES=[g.NgControlName,f.NgControlGroup,j.NgFormControl,l.NgModel,k.NgFormModel,i.NgForm,o.NgSelectOption,p.NgSelectMultipleOption,e.DefaultValueAccessor,m.NumberValueAccessor,d.CheckboxControlValueAccessor,o.SelectControlValueAccessor,p.SelectMultipleControlValueAccessor,n.RadioControlValueAccessor,h.NgControlStatus,q.RequiredValidator,q.MinLengthValidator,q.MaxLengthValidator,q.PatternValidator],c.exports}),a.registerDynamic("110",["9","11d","11e","11f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("11d"),g=a("11e"),h=a("11f");b.controlGroupProvider={provide:g.ControlContainer,useExisting:e.forwardRef(function(){return i})};var i=function(a){function c(b,c,d){a.call(this),this._validators=c,this._asyncValidators=d,this._parent=b}return d(c,a),c.prototype.ngOnInit=function(){this.formDirective.addControlGroup(this)},c.prototype.ngOnDestroy=function(){this.formDirective.removeControlGroup(this)},Object.defineProperty(c.prototype,"control",{get:function(){return this.formDirective.getControlGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"path",{get:function(){return h.controlPath(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"formDirective",{get:function(){return this._parent.formDirective},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"validator",{get:function(){return h.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"asyncValidator",{get:function(){return h.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),c.decorators=[{type:e.Directive,args:[{selector:"[ngControlGroup]",providers:[b.controlGroupProvider],inputs:["name: ngControlGroup"],exportAs:"ngForm"}]}],c.ctorParameters=[{type:g.ControlContainer,decorators:[{type:e.Host},{type:e.SkipSelf}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[f.NG_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[f.NG_ASYNC_VALIDATORS]}]}],c}(g.ControlContainer);return b.NgControlGroup=i,c.exports}),a.registerDynamic("111",["9","f0","11d","11e","120","11c","11f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("f0"),g=a("11d"),h=a("11e"),i=a("120"),j=a("11c"),k=a("11f");b.controlNameBinding={provide:j.NgControl,useExisting:e.forwardRef(function(){return l})};var l=function(a){function c(b,c,d,e){a.call(this),this._parent=b,this._validators=c,this._asyncValidators=d,this.update=new f.EventEmitter,this._added=!1,this.valueAccessor=k.selectValueAccessor(this,e)}return d(c,a),c.prototype.ngOnChanges=function(a){this._added||(this.formDirective.addControl(this),this._added=!0),k.isPropertyUpdated(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},c.prototype.ngOnDestroy=function(){this.formDirective.removeControl(this)},c.prototype.viewToModelUpdate=function(a){this.viewModel=a,f.ObservableWrapper.callEmit(this.update,a)},Object.defineProperty(c.prototype,"path",{get:function(){return k.controlPath(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"formDirective",{get:function(){return this._parent.formDirective},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"validator",{get:function(){return k.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"asyncValidator",{get:function(){return k.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"control",{get:function(){return this.formDirective.getControl(this)},enumerable:!0,configurable:!0}),c.decorators=[{type:e.Directive,args:[{selector:"[ngControl]",providers:[b.controlNameBinding],inputs:["name: ngControl","model: ngModel"],outputs:["update: ngModelChange"],exportAs:"ngForm"}]}],c.ctorParameters=[{type:h.ControlContainer,decorators:[{type:e.Host},{type:e.SkipSelf}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[g.NG_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[g.NG_ASYNC_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[i.NG_VALUE_ACCESSOR]}]}],c}(j.NgControl);return b.NgControlName=l,c.exports}),a.registerDynamic("112",["9","f1","11c"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("11c"),g=function(){function a(a){this._cd=a}return Object.defineProperty(a.prototype,"ngClassUntouched",{get:function(){return e.isPresent(this._cd.control)?this._cd.control.untouched:!1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngClassTouched",{get:function(){return e.isPresent(this._cd.control)?this._cd.control.touched:!1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngClassPristine",{get:function(){return e.isPresent(this._cd.control)?this._cd.control.pristine:!1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngClassDirty",{get:function(){return e.isPresent(this._cd.control)?this._cd.control.dirty:!1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngClassValid",{get:function(){return e.isPresent(this._cd.control)?this._cd.control.valid:!1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"ngClassInvalid",{get:function(){return e.isPresent(this._cd.control)?!this._cd.control.valid:!1},enumerable:!0,configurable:!0}),a.decorators=[{type:d.Directive,args:[{selector:"[ngControl],[ngModel],[ngFormControl]",host:{"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid"}}]}],a.ctorParameters=[{type:f.NgControl,decorators:[{type:d.Self}]}],a}();return b.NgControlStatus=g,c.exports}),a.registerDynamic("113",["9","f0","fd","f1","10c","11d","11e","11f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("f0"),g=a("fd"),h=a("f1"),i=a("10c"),j=a("11d"),k=a("11e"),l=a("11f");b.formDirectiveProvider={provide:k.ControlContainer,useExisting:e.forwardRef(function(){return n})};var m=!1,n=function(a){function c(b,c){a.call(this),this._submitted=!1,this.ngSubmit=new f.EventEmitter,this._displayWarning(),this.form=new i.ControlGroup({},null,l.composeValidators(b),l.composeAsyncValidators(c))}return d(c,a),c.prototype._displayWarning=function(){m||(m=!0,console.warn("\n *It looks like you're using the old forms module. This will be opt-in in the next RC, and\n will eventually be removed in favor of the new forms module. For more information, see:\n https://docs.google.com/document/u/1/d/1RIezQqE4aEhBRmArIAS1mRIZtWFf6JxN_7B4meyWK0Y/pub\n "))},Object.defineProperty(c.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),c.prototype.addControl=function(a){var b=this;f.PromiseWrapper.scheduleMicrotask(function(){var c=b._findContainer(a.path),d=new i.Control;l.setUpControl(d,a),c.registerControl(a.name,d),d.updateValueAndValidity({emitEvent:!1})})},c.prototype.getControl=function(a){return this.form.find(a.path)},c.prototype.removeControl=function(a){var b=this;f.PromiseWrapper.scheduleMicrotask(function(){var c=b._findContainer(a.path);h.isPresent(c)&&c.removeControl(a.name)})},c.prototype.addControlGroup=function(a){var b=this;f.PromiseWrapper.scheduleMicrotask(function(){var c=b._findContainer(a.path),d=new i.ControlGroup({});l.setUpControlGroup(d,a),c.registerControl(a.name,d),d.updateValueAndValidity({emitEvent:!1})})},c.prototype.removeControlGroup=function(a){var b=this;f.PromiseWrapper.scheduleMicrotask(function(){var c=b._findContainer(a.path);h.isPresent(c)&&c.removeControl(a.name)})},c.prototype.getControlGroup=function(a){return this.form.find(a.path)},c.prototype.updateModel=function(a,b){var c=this;f.PromiseWrapper.scheduleMicrotask(function(){var d=c.form.find(a.path);d.updateValue(b)})},c.prototype.onSubmit=function(){return this._submitted=!0,f.ObservableWrapper.callEmit(this.ngSubmit,null),!1},c.prototype._findContainer=function(a){return a.pop(),g.ListWrapper.isEmpty(a)?this.form:this.form.find(a)},c.decorators=[{type:e.Directive,args:[{selector:"form:not([ngNoForm]):not([ngFormModel]),ngForm,[ngForm]",providers:[b.formDirectiveProvider],host:{"(submit)":"onSubmit()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],c.ctorParameters=[{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[j.NG_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[j.NG_ASYNC_VALIDATORS]}]}],c}(k.ControlContainer);return b.NgForm=n,c.exports}),a.registerDynamic("114",["9","f0","fd","11d","120","11c","11f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("f0"),g=a("fd"),h=a("11d"),i=a("120"),j=a("11c"),k=a("11f");b.formControlBinding={provide:j.NgControl,useExisting:e.forwardRef(function(){return l})};var l=function(a){function c(b,c,d){a.call(this),this._validators=b,this._asyncValidators=c,this.update=new f.EventEmitter,this.valueAccessor=k.selectValueAccessor(this,d)}return d(c,a),c.prototype.ngOnChanges=function(a){this._isControlChanged(a)&&(k.setUpControl(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})),k.isPropertyUpdated(a,this.viewModel)&&(this.form.updateValue(this.model),this.viewModel=this.model)},Object.defineProperty(c.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"validator",{get:function(){return k.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"asyncValidator",{get:function(){return k.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),c.prototype.viewToModelUpdate=function(a){this.viewModel=a,f.ObservableWrapper.callEmit(this.update,a)},c.prototype._isControlChanged=function(a){return g.StringMapWrapper.contains(a,"form")},c.decorators=[{type:e.Directive,args:[{selector:"[ngFormControl]",providers:[b.formControlBinding],inputs:["form: ngFormControl","model: ngModel"],outputs:["update: ngModelChange"],exportAs:"ngForm"}]}],c.ctorParameters=[{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[h.NG_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[h.NG_ASYNC_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[i.NG_VALUE_ACCESSOR]}]}],c}(j.NgControl);return b.NgFormControl=l,c.exports}),a.registerDynamic("11e",["121"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("121"),f=function(a){function b(){a.apply(this,arguments)}return d(b,a),Object.defineProperty(b.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),b}(e.AbstractControlDirective);return b.ControlContainer=f,c.exports}),a.registerDynamic("115",["9","f0","fd","100","f1","11d","11e","11f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("f0"),g=a("fd"),h=a("100"),i=a("f1"),j=a("11d"),k=a("11e"),l=a("11f");b.formDirectiveProvider={provide:k.ControlContainer,useExisting:e.forwardRef(function(){return n})};var m=!1,n=function(a){function c(b,c){a.call(this),this._validators=b,this._asyncValidators=c,this._submitted=!1,this.form=null,this.directives=[],this.ngSubmit=new f.EventEmitter,this._displayWarning()}return d(c,a),c.prototype._displayWarning=function(){m||(m=!0,console.warn("\n *It looks like you're using the old forms module. This will be opt-in in the next RC, and\n will eventually be removed in favor of the new forms module. For more information, see:\n https://docs.google.com/document/u/1/d/1RIezQqE4aEhBRmArIAS1mRIZtWFf6JxN_7B4meyWK0Y/pub\n "))},c.prototype.ngOnChanges=function(a){if(this._checkFormPresent(),g.StringMapWrapper.contains(a,"form")){var b=l.composeValidators(this._validators);this.form.validator=j.Validators.compose([this.form.validator,b]);var c=l.composeAsyncValidators(this._asyncValidators);this.form.asyncValidator=j.Validators.composeAsync([this.form.asyncValidator,c]),this.form.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}this._updateDomValue()},Object.defineProperty(c.prototype,"submitted",{get:function(){return this._submitted},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),c.prototype.addControl=function(a){var b=this.form.find(a.path);l.setUpControl(b,a),b.updateValueAndValidity({emitEvent:!1}),this.directives.push(a)},c.prototype.getControl=function(a){return this.form.find(a.path)},c.prototype.removeControl=function(a){g.ListWrapper.remove(this.directives,a)},c.prototype.addControlGroup=function(a){var b=this.form.find(a.path);l.setUpControlGroup(b,a),b.updateValueAndValidity({emitEvent:!1})},c.prototype.removeControlGroup=function(a){},c.prototype.getControlGroup=function(a){return this.form.find(a.path)},c.prototype.updateModel=function(a,b){var c=this.form.find(a.path);c.updateValue(b)},c.prototype.onSubmit=function(){return this._submitted=!0,f.ObservableWrapper.callEmit(this.ngSubmit,null),!1},c.prototype._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=a.form.find(b.path);b.valueAccessor.writeValue(c.value)})},c.prototype._checkFormPresent=function(){if(i.isBlank(this.form))throw new h.BaseException('ngFormModel expects a form. Please pass one in. Example: <form [ngFormModel]="myCoolForm">')},c.decorators=[{type:e.Directive,args:[{selector:"[ngFormModel]",providers:[b.formDirectiveProvider],inputs:["form: ngFormModel"],host:{"(submit)":"onSubmit()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],c.ctorParameters=[{
|
||
type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[j.NG_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[j.NG_ASYNC_VALIDATORS]}]}],c}(k.ControlContainer);return b.NgFormModel=n,c.exports}),a.registerDynamic("10e",["9","120"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("120");b.CHECKBOX_VALUE_ACCESSOR={provide:e.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return f}),multi:!0};var f=function(){function a(a,b){this._renderer=a,this._elementRef=b,this.onChange=function(a){},this.onTouched=function(){}}return a.prototype.writeValue=function(a){this._renderer.setElementProperty(this._elementRef.nativeElement,"checked",a)},a.prototype.registerOnChange=function(a){this.onChange=a},a.prototype.registerOnTouched=function(a){this.onTouched=a},a.decorators=[{type:d.Directive,args:[{selector:"input[type=checkbox][ngControl],input[type=checkbox][ngFormControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[b.CHECKBOX_VALUE_ACCESSOR]}]}],a.ctorParameters=[{type:d.Renderer},{type:d.ElementRef}],a}();return b.CheckboxControlValueAccessor=f,c.exports}),a.registerDynamic("10f",["9","f1","120"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("120");b.DEFAULT_VALUE_ACCESSOR={provide:f.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return g}),multi:!0};var g=function(){function a(a,b){this._renderer=a,this._elementRef=b,this.onChange=function(a){},this.onTouched=function(){}}return a.prototype.writeValue=function(a){var b=e.isBlank(a)?"":a;this._renderer.setElementProperty(this._elementRef.nativeElement,"value",b)},a.prototype.registerOnChange=function(a){this.onChange=a},a.prototype.registerOnTouched=function(a){this.onTouched=a},a.decorators=[{type:d.Directive,args:[{selector:"input:not([type=checkbox])[ngControl],textarea[ngControl],input:not([type=checkbox])[ngFormControl],textarea[ngFormControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[b.DEFAULT_VALUE_ACCESSOR]}]}],a.ctorParameters=[{type:d.Renderer},{type:d.ElementRef}],a}();return b.DefaultValueAccessor=g,c.exports}),a.registerDynamic("122",[],!0,function(a,b,c){"use strict";function d(a){return void 0!==a.validate?function(b){return a.validate(b)}:a}function e(a){return void 0!==a.validate?function(b){return a.validate(b)}:a}return b.normalizeValidator=d,b.normalizeAsyncValidator=e,c.exports}),a.registerDynamic("117",["9","f1","120"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("120");b.NUMBER_VALUE_ACCESSOR={provide:f.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return g}),multi:!0};var g=function(){function a(a,b){this._renderer=a,this._elementRef=b,this.onChange=function(a){},this.onTouched=function(){}}return a.prototype.writeValue=function(a){this._renderer.setElementProperty(this._elementRef.nativeElement,"value",a)},a.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:e.NumberWrapper.parseFloat(b))}},a.prototype.registerOnTouched=function(a){this.onTouched=a},a.decorators=[{type:d.Directive,args:[{selector:"input[type=number][ngControl],input[type=number][ngFormControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[b.NUMBER_VALUE_ACCESSOR]}]}],a.ctorParameters=[{type:d.Renderer},{type:d.ElementRef}],a}();return b.NumberValueAccessor=g,c.exports}),a.registerDynamic("121",["100","f1"],!0,function(a,b,c){"use strict";var d=a("100"),e=a("f1"),f=function(){function a(){}return Object.defineProperty(a.prototype,"control",{get:function(){return d.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"value",{get:function(){return e.isPresent(this.control)?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"valid",{get:function(){return e.isPresent(this.control)?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"errors",{get:function(){return e.isPresent(this.control)?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"pristine",{get:function(){return e.isPresent(this.control)?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"dirty",{get:function(){return e.isPresent(this.control)?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"touched",{get:function(){return e.isPresent(this.control)?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"untouched",{get:function(){return e.isPresent(this.control)?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),a}();return b.AbstractControlDirective=f,c.exports}),a.registerDynamic("11c",["100","121"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("100"),f=a("121"),g=function(a){function b(){a.apply(this,arguments),this.name=null,this.valueAccessor=null}return d(b,a),Object.defineProperty(b.prototype,"validator",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"asyncValidator",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),b}(f.AbstractControlDirective);return b.NgControl=g,c.exports}),a.registerDynamic("118",["9","fd","f1","120","11c"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("fd"),f=a("f1"),g=a("120"),h=a("11c");b.RADIO_VALUE_ACCESSOR={provide:g.NG_VALUE_ACCESSOR,useExisting:d.forwardRef(function(){return k}),multi:!0};var i=function(){function a(){this._accessors=[]}return a.prototype.add=function(a,b){this._accessors.push([a,b])},a.prototype.remove=function(a){for(var b=-1,c=0;c<this._accessors.length;++c)this._accessors[c][1]===a&&(b=c);e.ListWrapper.removeAt(this._accessors,b)},a.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].fireUncheck()})},a.prototype._isSameGroup=function(a,b){return a[0].control.root===b._control.control.root&&a[1].name===b.name},a.decorators=[{type:d.Injectable}],a}();b.RadioControlRegistry=i;var j=function(){function a(a,b){this.checked=a,this.value=b}return a}();b.RadioButtonState=j;var k=function(){function a(a,b,c,d){this._renderer=a,this._elementRef=b,this._registry=c,this._injector=d,this.onChange=function(){},this.onTouched=function(){}}return a.prototype.ngOnInit=function(){this._control=this._injector.get(h.NgControl),this._registry.add(this._control,this)},a.prototype.ngOnDestroy=function(){this._registry.remove(this)},a.prototype.writeValue=function(a){this._state=a,f.isPresent(a)&&a.checked&&this._renderer.setElementProperty(this._elementRef.nativeElement,"checked",!0)},a.prototype.registerOnChange=function(a){var b=this;this._fn=a,this.onChange=function(){a(new j(!0,b._state.value)),b._registry.select(b)}},a.prototype.fireUncheck=function(){this._fn(new j(!1,this._state.value))},a.prototype.registerOnTouched=function(a){this.onTouched=a},a.decorators=[{type:d.Directive,args:[{selector:"input[type=radio][ngControl],input[type=radio][ngFormControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[b.RADIO_VALUE_ACCESSOR]}]}],a.ctorParameters=[{type:d.Renderer},{type:d.ElementRef},{type:i},{type:d.Injector}],a.propDecorators={name:[{type:d.Input}]},a}();return b.RadioControlValueAccessor=k,c.exports}),a.registerDynamic("11a",["9","fd","f1","120"],!0,function(a,b,c){"use strict";function d(a,b){return h.isBlank(a)?""+b:(h.isString(b)&&(b="'"+b+"'"),h.isPrimitive(b)||(b="Object"),h.StringWrapper.slice(a+": "+b,0,50))}function e(a){return a.split(":")[0]}var f=a("9"),g=a("fd"),h=a("f1"),i=a("120"),j={provide:i.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return k}),multi:!0},k=(function(){function a(){}return a}(),function(){function a(){this._optionMap=new Map,this._idCounter=0,this.onChange=function(a){},this.onTouched=function(){}}return a.prototype.writeValue=function(a){var b=this;if(this.value=a,null!=a){var c=a,d=c.map(function(a){return b._getOptionId(a)});this._optionMap.forEach(function(a,b){a._setSelected(d.indexOf(b.toString())>-1)})}},a.prototype.registerOnChange=function(a){var b=this;this.onChange=function(c){var d=[];if(c.hasOwnProperty("selectedOptions"))for(var e=c.selectedOptions,f=0;f<e.length;f++){var g=e.item(f),h=b._getOptionValue(g.value);d.push(h)}else for(var e=c.options,f=0;f<e.length;f++){var g=e.item(f);if(g.selected){var h=b._getOptionValue(g.value);d.push(h)}}a(d)}},a.prototype.registerOnTouched=function(a){this.onTouched=a},a.prototype._registerOption=function(a){var b=(this._idCounter++).toString();return this._optionMap.set(b,a),b},a.prototype._getOptionId=function(a){for(var b=0,c=g.MapWrapper.keys(this._optionMap);b<c.length;b++){var d=c[b];if(h.looseIdentical(this._optionMap.get(d)._value,a))return d}return null},a.prototype._getOptionValue=function(a){var b=this._optionMap.get(e(a));return h.isPresent(b)?b._value:a},a.decorators=[{type:f.Directive,args:[{selector:"select[multiple][ngControl],select[multiple][ngFormControl],select[multiple][ngModel]",host:{"(input)":"onChange($event.target)","(blur)":"onTouched()"},providers:[j]}]}],a.ctorParameters=[],a}());b.SelectMultipleControlValueAccessor=k;var l=function(){function a(a,b,c){this._element=a,this._renderer=b,this._select=c,h.isPresent(this._select)&&(this.id=this._select._registerOption(this))}return Object.defineProperty(a.prototype,"ngValue",{set:function(a){null!=this._select&&(this._value=a,this._setElementValue(d(this.id,a)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"value",{set:function(a){h.isPresent(this._select)?(this._value=a,this._setElementValue(d(this.id,a)),this._select.writeValue(this._select.value)):this._setElementValue(a)},enumerable:!0,configurable:!0}),a.prototype._setElementValue=function(a){this._renderer.setElementProperty(this._element.nativeElement,"value",a)},a.prototype._setSelected=function(a){this._renderer.setElementProperty(this._element.nativeElement,"selected",a)},a.prototype.ngOnDestroy=function(){h.isPresent(this._select)&&(this._select._optionMap["delete"](this.id),this._select.writeValue(this._select.value))},a.decorators=[{type:f.Directive,args:[{selector:"option"}]}],a.ctorParameters=[{type:f.ElementRef},{type:f.Renderer},{type:k,decorators:[{type:f.Optional},{type:f.Host}]}],a.propDecorators={ngValue:[{type:f.Input,args:["ngValue"]}],value:[{type:f.Input,args:["value"]}]},a}();return b.NgSelectMultipleOption=l,b.SELECT_DIRECTIVES=[k,l],c.exports}),a.registerDynamic("11f",["fd","100","f1","11d","10e","10f","122","117","118","119","11a"],!0,function(a,b,c){"use strict";function d(a,b){var c=l.ListWrapper.clone(b.path);return c.push(a),c}function e(a,b){n.isBlank(a)&&g(b,"Cannot find control"),n.isBlank(b.valueAccessor)&&g(b,"No value accessor for"),a.validator=o.Validators.compose([a.validator,b.validator]),a.asyncValidator=o.Validators.composeAsync([a.asyncValidator,b.asyncValidator]),b.valueAccessor.writeValue(a.value),b.valueAccessor.registerOnChange(function(c){b.viewToModelUpdate(c),a.updateValue(c,{emitModelToViewChange:!1}),a.markAsDirty()}),a.registerOnChange(function(a){return b.valueAccessor.writeValue(a)}),b.valueAccessor.registerOnTouched(function(){return a.markAsTouched()})}function f(a,b){n.isBlank(a)&&g(b,"Cannot find control"),a.validator=o.Validators.compose([a.validator,b.validator]),a.asyncValidator=o.Validators.composeAsync([a.asyncValidator,b.asyncValidator])}function g(a,b){var c=a.path.join(" -> ");throw new m.BaseException(b+" '"+c+"'")}function h(a){return n.isPresent(a)?o.Validators.compose(a.map(r.normalizeValidator)):null}function i(a){return n.isPresent(a)?o.Validators.composeAsync(a.map(r.normalizeAsyncValidator)):null}function j(a,b){if(!l.StringMapWrapper.contains(a,"model"))return!1;var c=a.model;return c.isFirstChange()?!0:!n.looseIdentical(b,c.currentValue)}function k(a,b){if(n.isBlank(b))return null;var c,d,e;return b.forEach(function(b){n.hasConstructor(b,q.DefaultValueAccessor)?c=b:n.hasConstructor(b,p.CheckboxControlValueAccessor)||n.hasConstructor(b,s.NumberValueAccessor)||n.hasConstructor(b,u.SelectControlValueAccessor)||n.hasConstructor(b,v.SelectMultipleControlValueAccessor)||n.hasConstructor(b,t.RadioControlValueAccessor)?(n.isPresent(d)&&g(a,"More than one built-in value accessor matches"),d=b):(n.isPresent(e)&&g(a,"More than one custom value accessor matches"),e=b)}),n.isPresent(e)?e:n.isPresent(d)?d:n.isPresent(c)?c:(g(a,"No valid value accessor for"),null)}var l=a("fd"),m=a("100"),n=a("f1"),o=a("11d"),p=a("10e"),q=a("10f"),r=a("122"),s=a("117"),t=a("118"),u=a("119"),v=a("11a");return b.controlPath=d,b.setUpControl=e,b.setUpControlGroup=f,b.composeValidators=h,b.composeAsyncValidators=i,b.isPropertyUpdated=j,b.selectValueAccessor=k,c.exports}),a.registerDynamic("116",["9","f0","10c","11d","120","11c","11f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("f0"),g=a("10c"),h=a("11d"),i=a("120"),j=a("11c"),k=a("11f");b.formControlBinding={provide:j.NgControl,useExisting:e.forwardRef(function(){return l})};var l=function(a){function c(b,c,d){a.call(this),this._validators=b,this._asyncValidators=c,this._control=new g.Control,this._added=!1,this.update=new f.EventEmitter,this.valueAccessor=k.selectValueAccessor(this,d)}return d(c,a),c.prototype.ngOnChanges=function(a){this._added||(k.setUpControl(this._control,this),this._control.updateValueAndValidity({emitEvent:!1}),this._added=!0),k.isPropertyUpdated(a,this.viewModel)&&(this._control.updateValue(this.model),this.viewModel=this.model)},Object.defineProperty(c.prototype,"control",{get:function(){return this._control},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"validator",{get:function(){return k.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"asyncValidator",{get:function(){return k.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),c.prototype.viewToModelUpdate=function(a){this.viewModel=a,f.ObservableWrapper.callEmit(this.update,a)},c.decorators=[{type:e.Directive,args:[{selector:"[ngModel]:not([ngControl]):not([ngFormControl])",providers:[b.formControlBinding],inputs:["model: ngModel"],outputs:["update: ngModelChange"],exportAs:"ngForm"}]}],c.ctorParameters=[{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[h.NG_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[h.NG_ASYNC_VALIDATORS]}]},{type:Array,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[i.NG_VALUE_ACCESSOR]}]}],c}(j.NgControl);return b.NgModel=l,c.exports}),a.registerDynamic("120",["9"],!0,function(a,b,c){"use strict";var d=a("9");return b.NG_VALUE_ACCESSOR=new d.OpaqueToken("NgValueAccessor"),c.exports}),a.registerDynamic("119",["9","fd","f1","120"],!0,function(a,b,c){"use strict";function d(a,b){return h.isBlank(a)?""+b:(h.isPrimitive(b)||(b="Object"),h.StringWrapper.slice(a+": "+b,0,50))}function e(a){return a.split(":")[0]}var f=a("9"),g=a("fd"),h=a("f1"),i=a("120");b.SELECT_VALUE_ACCESSOR={provide:i.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return j}),multi:!0};var j=function(){function a(a,b){this._renderer=a,this._elementRef=b,this._optionMap=new Map,this._idCounter=0,this.onChange=function(a){},this.onTouched=function(){}}return a.prototype.writeValue=function(a){this.value=a;var b=d(this._getOptionId(a),a);this._renderer.setElementProperty(this._elementRef.nativeElement,"value",b)},a.prototype.registerOnChange=function(a){var b=this;this.onChange=function(c){b.value=c,a(b._getOptionValue(c))}},a.prototype.registerOnTouched=function(a){this.onTouched=a},a.prototype._registerOption=function(){return(this._idCounter++).toString()},a.prototype._getOptionId=function(a){for(var b=0,c=g.MapWrapper.keys(this._optionMap);b<c.length;b++){var d=c[b];if(h.looseIdentical(this._optionMap.get(d),a))return d}return null},a.prototype._getOptionValue=function(a){var b=this._optionMap.get(e(a));return h.isPresent(b)?b:a},a.decorators=[{type:f.Directive,args:[{selector:"select:not([multiple])[ngControl],select:not([multiple])[ngFormControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[b.SELECT_VALUE_ACCESSOR]}]}],a.ctorParameters=[{type:f.Renderer},{type:f.ElementRef}],a}();b.SelectControlValueAccessor=j;var k=function(){function a(a,b,c){this._element=a,this._renderer=b,this._select=c,h.isPresent(this._select)&&(this.id=this._select._registerOption())}return Object.defineProperty(a.prototype,"ngValue",{set:function(a){null!=this._select&&(this._select._optionMap.set(this.id,a),this._setElementValue(d(this.id,a)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"value",{set:function(a){this._setElementValue(a),h.isPresent(this._select)&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),a.prototype._setElementValue=function(a){this._renderer.setElementProperty(this._element.nativeElement,"value",a)},a.prototype.ngOnDestroy=function(){h.isPresent(this._select)&&(this._select._optionMap["delete"](this.id),this._select.writeValue(this._select.value))},a.decorators=[{type:f.Directive,args:[{selector:"option"}]}],a.ctorParameters=[{type:f.ElementRef},{type:f.Renderer},{type:j,decorators:[{type:f.Optional},{type:f.Host}]}],a.propDecorators={ngValue:[{type:f.Input,args:["ngValue"]}],value:[{type:f.Input,args:["value"]}]},a}();return b.NgSelectOption=k,c.exports}),a.registerDynamic("11b",["9","f1","11d"],!0,function(a,b,c){"use strict";var d=a("9"),e=a("f1"),f=a("11d"),g=f.Validators.required;b.REQUIRED_VALIDATOR={provide:f.NG_VALIDATORS,useValue:g,multi:!0};var h=function(){function a(){}return a.decorators=[{type:d.Directive,args:[{selector:"[required][ngControl],[required][ngFormControl],[required][ngModel]",providers:[b.REQUIRED_VALIDATOR]}]}],a}();b.RequiredValidator=h,b.MIN_LENGTH_VALIDATOR={provide:f.NG_VALIDATORS,useExisting:d.forwardRef(function(){return i}),multi:!0};var i=function(){function a(a){this._validator=f.Validators.minLength(e.NumberWrapper.parseInt(a,10))}return a.prototype.validate=function(a){return this._validator(a)},a.decorators=[{type:d.Directive,args:[{selector:"[minlength][ngControl],[minlength][ngFormControl],[minlength][ngModel]",providers:[b.MIN_LENGTH_VALIDATOR]}]}],a.ctorParameters=[{type:void 0,decorators:[{type:d.Attribute,args:["minlength"]}]}],a}();b.MinLengthValidator=i,b.MAX_LENGTH_VALIDATOR={provide:f.NG_VALIDATORS,useExisting:d.forwardRef(function(){return j}),multi:!0};var j=function(){function a(a){this._validator=f.Validators.maxLength(e.NumberWrapper.parseInt(a,10))}return a.prototype.validate=function(a){return this._validator(a)},a.decorators=[{type:d.Directive,args:[{selector:"[maxlength][ngControl],[maxlength][ngFormControl],[maxlength][ngModel]",providers:[b.MAX_LENGTH_VALIDATOR]}]}],a.ctorParameters=[{type:void 0,decorators:[{type:d.Attribute,args:["maxlength"]}]}],a}();b.MaxLengthValidator=j,b.PATTERN_VALIDATOR={provide:f.NG_VALIDATORS,useExisting:d.forwardRef(function(){return k}),multi:!0};var k=function(){function a(a){this._validator=f.Validators.pattern(a)}return a.prototype.validate=function(a){return this._validator(a)},a.decorators=[{type:d.Directive,args:[{selector:"[pattern][ngControl],[pattern][ngFormControl],[pattern][ngModel]",providers:[b.PATTERN_VALIDATOR]}]}],a.ctorParameters=[{type:void 0,decorators:[{type:d.Attribute,args:["pattern"]}]}],a}();return b.PatternValidator=k,c.exports}),a.registerDynamic("10c",["f0","fd","f1"],!0,function(a,b,c){"use strict";function d(a){return a instanceof k}function e(a,b){return j.isBlank(b)?null:(b instanceof Array||(b=b.split("/")),b instanceof Array&&i.ListWrapper.isEmpty(b)?null:b.reduce(function(a,b){if(a instanceof m)return j.isPresent(a.controls[b])?a.controls[b]:null;if(a instanceof n){var c=b;return j.isPresent(a.at(c))?a.at(c):null}return null},a))}function f(a){return j.isPromise(a)?h.ObservableWrapper.fromPromise(a):a}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("f0"),i=a("fd"),j=a("f1");b.VALID="VALID",b.INVALID="INVALID",b.PENDING="PENDING",b.isControl=d;var k=function(){function a(a,b){this.validator=a,this.asyncValidator=b,this._pristine=!0,this._touched=!1}return Object.defineProperty(a.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"status",{get:function(){return this._status},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"valid",{get:function(){return this._status===b.VALID},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"errors",{get:function(){return this._errors},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"pristine",{get:function(){return this._pristine},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"touched",{get:function(){return this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"untouched",{get:function(){return!this._touched},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"valueChanges",{get:function(){return this._valueChanges},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"statusChanges",{get:function(){return this._statusChanges},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"pending",{get:function(){return this._status==b.PENDING},enumerable:!0,configurable:!0}),a.prototype.markAsTouched=function(){this._touched=!0},a.prototype.markAsDirty=function(a){var b=(void 0===a?{}:a).onlySelf;b=j.normalizeBool(b),this._pristine=!1,j.isPresent(this._parent)&&!b&&this._parent.markAsDirty({onlySelf:b})},a.prototype.markAsPending=function(a){var c=(void 0===a?{}:a).onlySelf;c=j.normalizeBool(c),this._status=b.PENDING,j.isPresent(this._parent)&&!c&&this._parent.markAsPending({onlySelf:c})},a.prototype.setParent=function(a){this._parent=a},a.prototype.updateValueAndValidity=function(a){var c=void 0===a?{}:a,d=c.onlySelf,e=c.emitEvent;d=j.normalizeBool(d),e=j.isPresent(e)?e:!0,this._updateValue(),this._errors=this._runValidator(),this._status=this._calculateStatus(),this._status!=b.VALID&&this._status!=b.PENDING||this._runAsyncValidator(e),e&&(h.ObservableWrapper.callEmit(this._valueChanges,this._value),h.ObservableWrapper.callEmit(this._statusChanges,this._status)),j.isPresent(this._parent)&&!d&&this._parent.updateValueAndValidity({onlySelf:d,emitEvent:e})},a.prototype._runValidator=function(){return j.isPresent(this.validator)?this.validator(this):null},a.prototype._runAsyncValidator=function(a){var c=this;if(j.isPresent(this.asyncValidator)){this._status=b.PENDING,this._cancelExistingSubscription();var d=f(this.asyncValidator(this));this._asyncValidationSubscription=h.ObservableWrapper.subscribe(d,function(b){return c.setErrors(b,{emitEvent:a})})}},a.prototype._cancelExistingSubscription=function(){j.isPresent(this._asyncValidationSubscription)&&h.ObservableWrapper.dispose(this._asyncValidationSubscription)},a.prototype.setErrors=function(a,b){var c=(void 0===b?{}:b).emitEvent;c=j.isPresent(c)?c:!0,this._errors=a,this._status=this._calculateStatus(),c&&h.ObservableWrapper.callEmit(this._statusChanges,this._status),j.isPresent(this._parent)&&this._parent._updateControlsErrors()},a.prototype.find=function(a){return e(this,a)},a.prototype.getError=function(a,b){void 0===b&&(b=null);var c=j.isPresent(b)&&!i.ListWrapper.isEmpty(b)?this.find(b):this;return j.isPresent(c)&&j.isPresent(c._errors)?i.StringMapWrapper.get(c._errors,a):null},a.prototype.hasError=function(a,b){return void 0===b&&(b=null),j.isPresent(this.getError(a,b))},Object.defineProperty(a.prototype,"root",{get:function(){for(var a=this;j.isPresent(a._parent);)a=a._parent;return a},enumerable:!0,configurable:!0}),a.prototype._updateControlsErrors=function(){this._status=this._calculateStatus(),j.isPresent(this._parent)&&this._parent._updateControlsErrors()},a.prototype._initObservables=function(){this._valueChanges=new h.EventEmitter,this._statusChanges=new h.EventEmitter},a.prototype._calculateStatus=function(){return j.isPresent(this._errors)?b.INVALID:this._anyControlsHaveStatus(b.PENDING)?b.PENDING:this._anyControlsHaveStatus(b.INVALID)?b.INVALID:b.VALID},a}();b.AbstractControl=k;var l=function(a){function b(b,c,d){void 0===b&&(b=null),void 0===c&&(c=null),void 0===d&&(d=null),a.call(this,c,d),this._value=b,this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return g(b,a),b.prototype.updateValue=function(a,b){var c=void 0===b?{}:b,d=c.onlySelf,e=c.emitEvent,f=c.emitModelToViewChange;f=j.isPresent(f)?f:!0,this._value=a,j.isPresent(this._onChange)&&f&&this._onChange(this._value),this.updateValueAndValidity({onlySelf:d,emitEvent:e})},b.prototype._updateValue=function(){},b.prototype._anyControlsHaveStatus=function(a){return!1},b.prototype.registerOnChange=function(a){this._onChange=a},b}(k);b.Control=l;var m=function(a){function b(b,c,d,e){void 0===c&&(c=null),void 0===d&&(d=null),void 0===e&&(e=null),a.call(this,d,e),this.controls=b,this._optionals=j.isPresent(c)?c:{},this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return g(b,a),b.prototype.registerControl=function(a,b){this.controls[a]=b,b.setParent(this)},b.prototype.addControl=function(a,b){this.registerControl(a,b),this.updateValueAndValidity()},b.prototype.removeControl=function(a){i.StringMapWrapper["delete"](this.controls,a),this.updateValueAndValidity()},b.prototype.include=function(a){i.StringMapWrapper.set(this._optionals,a,!0),this.updateValueAndValidity()},b.prototype.exclude=function(a){i.StringMapWrapper.set(this._optionals,a,!1),this.updateValueAndValidity()},b.prototype.contains=function(a){var b=i.StringMapWrapper.contains(this.controls,a);return b&&this._included(a)},b.prototype._setParentForControls=function(){var a=this;i.StringMapWrapper.forEach(this.controls,function(b,c){b.setParent(a)})},b.prototype._updateValue=function(){this._value=this._reduceValue()},b.prototype._anyControlsHaveStatus=function(a){var b=this,c=!1;return i.StringMapWrapper.forEach(this.controls,function(d,e){c=c||b.contains(e)&&d.status==a}),c},b.prototype._reduceValue=function(){return this._reduceChildren({},function(a,b,c){return a[c]=b.value,a})},b.prototype._reduceChildren=function(a,b){var c=this,d=a;return i.StringMapWrapper.forEach(this.controls,function(a,e){c._included(e)&&(d=b(d,a,e))}),d},b.prototype._included=function(a){var b=i.StringMapWrapper.contains(this._optionals,a);return!b||i.StringMapWrapper.get(this._optionals,a)},b}(k);b.ControlGroup=m;var n=function(a){function b(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null),a.call(this,c,d),this.controls=b,this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return g(b,a),b.prototype.at=function(a){return this.controls[a]},b.prototype.push=function(a){this.controls.push(a),a.setParent(this),this.updateValueAndValidity()},b.prototype.insert=function(a,b){i.ListWrapper.insert(this.controls,a,b),b.setParent(this),this.updateValueAndValidity()},b.prototype.removeAt=function(a){i.ListWrapper.removeAt(this.controls,a),this.updateValueAndValidity()},Object.defineProperty(b.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),b.prototype._updateValue=function(){this._value=this.controls.map(function(a){return a.value})},b.prototype._anyControlsHaveStatus=function(a){return this.controls.some(function(b){return b.status==a})},b.prototype._setParentForControls=function(){var a=this;this.controls.forEach(function(b){b.setParent(a)})},b}(k);return b.ControlArray=n,c.exports}),a.registerDynamic("11d",["9","f0","fd","f1","123","45"],!0,function(a,b,c){return function(c){"use strict";function d(a){return k.isPromise(a)?a:i.ObservableWrapper.toPromise(a)}function e(a,b){return b.map(function(b){return b(a)})}function f(a,b){return b.map(function(b){return b(a)})}function g(a){var b=a.reduce(function(a,b){return k.isPresent(b)?j.StringMapWrapper.merge(a,b):a},{});return j.StringMapWrapper.isEmpty(b)?null:b}var h=a("9"),i=a("f0"),j=a("fd"),k=a("f1"),l=a("123");b.NG_VALIDATORS=new h.OpaqueToken("NgValidators"),b.NG_ASYNC_VALIDATORS=new h.OpaqueToken("NgAsyncValidators");var m=function(){function a(){}return a.required=function(a){return k.isBlank(a.value)||k.isString(a.value)&&""==a.value?{required:!0}:null},a.minLength=function(b){return function(c){if(k.isPresent(a.required(c)))return null;var d=c.value;return d.length<b?{minlength:{requiredLength:b,actualLength:d.length}}:null}},a.maxLength=function(b){return function(c){if(k.isPresent(a.required(c)))return null;var d=c.value;return d.length>b?{maxlength:{requiredLength:b,actualLength:d.length}}:null}},a.pattern=function(b){return function(c){if(k.isPresent(a.required(c)))return null;var d=new RegExp("^"+b+"$"),e=c.value;return d.test(e)?null:{pattern:{requiredPattern:"^"+b+"$",actualValue:e}}}},a.nullValidator=function(a){return null},a.compose=function(a){if(k.isBlank(a))return null;var b=a.filter(k.isPresent);return 0==b.length?null:function(a){return g(e(a,b))}},a.composeAsync=function(a){if(k.isBlank(a))return null;var b=a.filter(k.isPresent);return 0==b.length?null:function(a){var c=f(a,b).map(d);return l.PromiseWrapper.all(c).then(g)}},a}();b.Validators=m}(a("45")),c.exports}),a.registerDynamic("124",["118","10b","10d","121","10e","11e","120","10f","11c","110","111","112","113","114","115","116","119","11b","10c","11d"],!0,function(a,b,c){"use strict";var d=a("118"),e=a("10b"),f=a("10d");b.FORM_DIRECTIVES=f.FORM_DIRECTIVES,b.RadioButtonState=f.RadioButtonState;var g=a("121");b.AbstractControlDirective=g.AbstractControlDirective;var h=a("10e");b.CheckboxControlValueAccessor=h.CheckboxControlValueAccessor;var i=a("11e");b.ControlContainer=i.ControlContainer;var j=a("120");b.NG_VALUE_ACCESSOR=j.NG_VALUE_ACCESSOR;var k=a("10f");b.DefaultValueAccessor=k.DefaultValueAccessor;var l=a("11c");b.NgControl=l.NgControl;var m=a("110");b.NgControlGroup=m.NgControlGroup;var n=a("111");b.NgControlName=n.NgControlName;var o=a("112");b.NgControlStatus=o.NgControlStatus;var p=a("113");b.NgForm=p.NgForm;var q=a("114");b.NgFormControl=q.NgFormControl;var r=a("115");b.NgFormModel=r.NgFormModel;var s=a("116");b.NgModel=s.NgModel;var t=a("119");b.NgSelectOption=t.NgSelectOption,b.SelectControlValueAccessor=t.SelectControlValueAccessor;var u=a("11b");b.MaxLengthValidator=u.MaxLengthValidator,b.MinLengthValidator=u.MinLengthValidator,b.PatternValidator=u.PatternValidator,b.RequiredValidator=u.RequiredValidator;var v=a("10b");b.FormBuilder=v.FormBuilder;var w=a("10c");b.AbstractControl=w.AbstractControl,b.Control=w.Control,b.ControlArray=w.ControlArray,b.ControlGroup=w.ControlGroup;var x=a("11d");return b.NG_ASYNC_VALIDATORS=x.NG_ASYNC_VALIDATORS,
|
||
b.NG_VALIDATORS=x.NG_VALIDATORS,b.Validators=x.Validators,b.FORM_PROVIDERS=[e.FormBuilder,d.RadioControlRegistry],c.exports}),a.registerDynamic("125",["10a","124"],!0,function(a,b,c){"use strict";var d=a("10a"),e=a("124");return b.COMMON_DIRECTIVES=[d.CORE_DIRECTIVES,e.FORM_DIRECTIVES],c.exports}),a.registerDynamic("126",["9","f1","127","128","129"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("f1"),g=a("127"),h=a("128"),i=a("129"),j=function(a){function b(b,c){a.call(this),this._platformLocation=b,this._baseHref="",f.isPresent(c)&&(this._baseHref=c)}return d(b,a),b.prototype.onPopState=function(a){this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a)},b.prototype.getBaseHref=function(){return this._baseHref},b.prototype.path=function(a){void 0===a&&(a=!1);var b=this._platformLocation.hash;return f.isPresent(b)||(b="#"),b.length>0?b.substring(1):b},b.prototype.prepareExternalUrl=function(a){var b=g.Location.joinWithSlash(this._baseHref,a);return b.length>0?"#"+b:b},b.prototype.pushState=function(a,b,c,d){var e=this.prepareExternalUrl(c+g.Location.normalizeQueryParams(d));0==e.length&&(e=this._platformLocation.pathname),this._platformLocation.pushState(a,b,e)},b.prototype.replaceState=function(a,b,c,d){var e=this.prepareExternalUrl(c+g.Location.normalizeQueryParams(d));0==e.length&&(e=this._platformLocation.pathname),this._platformLocation.replaceState(a,b,e)},b.prototype.forward=function(){this._platformLocation.forward()},b.prototype.back=function(){this._platformLocation.back()},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:i.PlatformLocation},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[h.APP_BASE_HREF]}]}],b}(h.LocationStrategy);return b.HashLocationStrategy=j,c.exports}),a.registerDynamic("12a",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("fd",["f1"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c<a.length;c++){var e=a[c];h.isArray(e)?d(e,b):b.push(e)}return b}function e(a){return h.isJsObject(a)?h.isArray(a)||!(a instanceof b.Map)&&h.getSymbolIterator()in a:!1}function f(a,b,c){for(var d=a[h.getSymbolIterator()](),e=b[h.getSymbolIterator()]();;){var f=d.next(),g=e.next();if(f.done&&g.done)return!0;if(f.done||g.done)return!1;if(!c(f.value,g.value))return!1}}function g(a,b){if(h.isArray(a))for(var c=0;c<a.length;c++)b(a[c]);else for(var d,e=a[h.getSymbolIterator()]();!(d=e.next()).done;)b(d.value)}var h=a("f1");b.Map=h.global.Map,b.Set=h.global.Set;var i=function(){try{if(1===new b.Map([[1,2]]).size)return function(a){return new b.Map(a)}}catch(a){}return function(a){for(var c=new b.Map,d=0;d<a.length;d++){var e=a[d];c.set(e[0],e[1])}return c}}(),j=function(){try{if(new b.Map(new b.Map))return function(a){return new b.Map(a)}}catch(a){}return function(a){var c=new b.Map;return a.forEach(function(a,b){c.set(b,a)}),c}}(),k=function(){return(new b.Map).keys().next?function(a){for(var b,c=a.keys();!(b=c.next()).done;)a.set(b.value,null)}:function(a){a.forEach(function(b,c){a.set(c,null)})}}(),l=function(){try{if((new b.Map).values().next)return function(a,b){return b?Array.from(a.values()):Array.from(a.keys())}}catch(a){}return function(a,b){var c=o.createFixedSize(a.size),d=0;return a.forEach(function(a,e){c[d]=b?a:e,d++}),c}}(),m=function(){function a(){}return a.clone=function(a){return j(a)},a.createFromStringMap=function(a){var c=new b.Map;for(var d in a)c.set(d,a[d]);return c},a.toStringMap=function(a){var b={};return a.forEach(function(a,c){return b[c]=a}),b},a.createFromPairs=function(a){return i(a)},a.clearValues=function(a){k(a)},a.iterable=function(a){return a},a.keys=function(a){return l(a,!1)},a.values=function(a){return l(a,!0)},a}();b.MapWrapper=m;var n=function(){function a(){}return a.create=function(){return{}},a.contains=function(a,b){return a.hasOwnProperty(b)},a.get=function(a,b){return a.hasOwnProperty(b)?a[b]:void 0},a.set=function(a,b,c){a[b]=c},a.keys=function(a){return Object.keys(a)},a.values=function(a){return Object.keys(a).reduce(function(b,c){return b.push(a[c]),b},[])},a.isEmpty=function(a){for(var b in a)return!1;return!0},a["delete"]=function(a,b){delete a[b]},a.forEach=function(a,b){for(var c in a)a.hasOwnProperty(c)&&b(a[c],c)},a.merge=function(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);return c},a.equals=function(a,b){var c=Object.keys(a),d=Object.keys(b);if(c.length!=d.length)return!1;for(var e,f=0;f<c.length;f++)if(e=c[f],a[e]!==b[e])return!1;return!0},a}();b.StringMapWrapper=n;var o=function(){function a(){}return a.createFixedSize=function(a){return new Array(a)},a.createGrowableSize=function(a){return new Array(a)},a.clone=function(a){return a.slice(0)},a.forEachWithIndex=function(a,b){for(var c=0;c<a.length;c++)b(a[c],c)},a.first=function(a){return a?a[0]:null},a.last=function(a){return a&&0!=a.length?a[a.length-1]:null},a.indexOf=function(a,b,c){return void 0===c&&(c=0),a.indexOf(b,c)},a.contains=function(a,b){return-1!==a.indexOf(b)},a.reversed=function(b){var c=a.clone(b);return c.reverse()},a.concat=function(a,b){return a.concat(b)},a.insert=function(a,b,c){a.splice(b,0,c)},a.removeAt=function(a,b){var c=a[b];return a.splice(b,1),c},a.removeAll=function(a,b){for(var c=0;c<b.length;++c){var d=a.indexOf(b[c]);a.splice(d,1)}},a.remove=function(a,b){var c=a.indexOf(b);return c>-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;c<a.length;++c)if(a[c]!==b[c])return!1;return!0},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.splice=function(a,b,c){return a.splice(b,c)},a.sort=function(a,b){h.isPresent(b)?a.sort(b):a.sort()},a.toString=function(a){return a.toString()},a.toJSON=function(a){return JSON.stringify(a)},a.maximum=function(a,b){if(0==a.length)return null;for(var c=null,d=-(1/0),e=0;e<a.length;e++){var f=a[e];if(!h.isBlank(f)){var g=b(f);g>d&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c<b.length;c++)a.push(b[c])},a}();b.ListWrapper=o,b.isListLikeIterable=e,b.areIterablesEqual=f,b.iterateListLike=g;var p=function(){var a=new b.Set([1,2,3]);return 3===a.size?function(a){return new b.Set(a)}:function(a){var c=new b.Set(a);if(c.size!==a.length)for(var d=0;d<a.length;d++)c.add(a[d]);return c}}(),q=function(){function a(){}return a.createFromList=function(a){return p(a)},a.has=function(a,b){return a.has(b)},a["delete"]=function(a,b){a["delete"](b)},a}();return b.SetWrapper=q,c.exports}),a.registerDynamic("12b",["12a","fd","f1"],!0,function(a,b,c){"use strict";var d=a("12a"),e=a("fd"),f=a("f1"),g=function(){function a(){this.res=[]}return a.prototype.log=function(a){this.res.push(a)},a.prototype.logError=function(a){this.res.push(a)},a.prototype.logGroup=function(a){this.res.push(a)},a.prototype.logGroupEnd=function(){},a}(),h=function(){function a(a,b){void 0===b&&(b=!0),this._logger=a,this._rethrowException=b}return a.exceptionToString=function(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null);var e=new g,f=new a(e,!1);return f.call(b,c,d),e.res.join("\n")},a.prototype.call=function(a,b,c){void 0===b&&(b=null),void 0===c&&(c=null);var d=this._findOriginalException(a),e=this._findOriginalStack(a),g=this._findContext(a);if(this._logger.logGroup("EXCEPTION: "+this._extractMessage(a)),f.isPresent(b)&&f.isBlank(e)&&(this._logger.logError("STACKTRACE:"),this._logger.logError(this._longStackTrace(b))),f.isPresent(c)&&this._logger.logError("REASON: "+c),f.isPresent(d)&&this._logger.logError("ORIGINAL EXCEPTION: "+this._extractMessage(d)),f.isPresent(e)&&(this._logger.logError("ORIGINAL STACKTRACE:"),this._logger.logError(this._longStackTrace(e))),f.isPresent(g)&&(this._logger.logError("ERROR CONTEXT:"),this._logger.logError(g)),this._logger.logGroupEnd(),this._rethrowException)throw a},a.prototype._extractMessage=function(a){return a instanceof d.BaseWrappedException?a.wrapperMessage:a.toString()},a.prototype._longStackTrace=function(a){return e.isListLikeIterable(a)?a.join("\n\n-----async gap-----\n"):a.toString()},a.prototype._findContext=function(a){try{return a instanceof d.BaseWrappedException?f.isPresent(a.context)?a.context:this._findContext(a.originalException):null}catch(b){return null}},a.prototype._findOriginalException=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a.originalException;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException;return b},a.prototype._findOriginalStack=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a,c=a.originalStack;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException,b instanceof d.BaseWrappedException&&f.isPresent(b.originalException)&&(c=b.originalStack);return c},a}();return b.ExceptionHandler=h,c.exports}),a.registerDynamic("100",["12a","12b"],!0,function(a,b,c){"use strict";function d(a){return new TypeError(a)}function e(){throw new j("unimplemented")}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("12a"),h=a("12b"),i=a("12b");b.ExceptionHandler=i.ExceptionHandler;var j=function(a){function b(b){void 0===b&&(b="--"),a.call(this,b),this.message=b,this.stack=new Error(b).stack}return f(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.BaseException=j;var k=function(a){function b(b,c,d,e){a.call(this,b),this._wrapperMessage=b,this._originalException=c,this._originalStack=d,this._context=e,this._wrapperStack=new Error(b).stack}return f(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return h.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),b.prototype.toString=function(){return this.message},b}(g.BaseWrappedException);return b.WrappedException=k,b.makeTypeError=d,b.unimplemented=e,c.exports}),a.registerDynamic("129",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return Object.defineProperty(a.prototype,"pathname",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"search",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hash",{get:function(){return null},enumerable:!0,configurable:!0}),a}();return b.PlatformLocation=d,c.exports}),a.registerDynamic("12c",["9","100","f1","127","128","129"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9"),f=a("100"),g=a("f1"),h=a("127"),i=a("128"),j=a("129"),k=function(a){function b(b,c){if(a.call(this),this._platformLocation=b,g.isBlank(c)&&(c=this._platformLocation.getBaseHrefFromDOM()),g.isBlank(c))throw new f.BaseException("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=c}return d(b,a),b.prototype.onPopState=function(a){this._platformLocation.onPopState(a),this._platformLocation.onHashChange(a)},b.prototype.getBaseHref=function(){return this._baseHref},b.prototype.prepareExternalUrl=function(a){return h.Location.joinWithSlash(this._baseHref,a)},b.prototype.path=function(a){void 0===a&&(a=!1);var b=this._platformLocation.pathname+h.Location.normalizeQueryParams(this._platformLocation.search),c=this._platformLocation.hash;return c&&a?""+b+c:b},b.prototype.pushState=function(a,b,c,d){var e=this.prepareExternalUrl(c+h.Location.normalizeQueryParams(d));this._platformLocation.pushState(a,b,e)},b.prototype.replaceState=function(a,b,c,d){var e=this.prepareExternalUrl(c+h.Location.normalizeQueryParams(d));this._platformLocation.replaceState(a,b,e)},b.prototype.forward=function(){this._platformLocation.forward()},b.prototype.back=function(){this._platformLocation.back()},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:j.PlatformLocation},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[i.APP_BASE_HREF]}]}],b}(i.LocationStrategy);return b.PathLocationStrategy=k,c.exports}),a.registerDynamic("f1",[],!0,function(a,b,c){"use strict";function d(a){Zone.current.scheduleMicroTask("scheduleMicrotask",a)}function e(a){return a.name?a.name:typeof a}function f(a){return void 0!==a&&null!==a}function g(a){return void 0===a||null===a}function h(a){return"boolean"==typeof a}function i(a){return"number"==typeof a}function j(a){return"string"==typeof a}function k(a){return"function"==typeof a}function l(a){return k(a)}function m(a){return"object"==typeof a&&null!==a}function n(a){return m(a)&&Object.getPrototypeOf(a)===O}function o(a){return a instanceof N.Promise}function p(a){return Array.isArray(a)}function q(a){return a instanceof b.Date&&!isNaN(a.valueOf())}function r(){}function s(a){if("string"==typeof a)return a;if(void 0===a||null===a)return""+a;if(a.name)return a.name;if(a.overriddenName)return a.overriddenName;var b=a.toString(),c=b.indexOf("\n");return-1===c?b:b.substring(0,c)}function t(a){return a}function u(a,b){return a}function v(a,b){return a[b]}function w(a,b){return a===b||"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b)}function x(a){return a}function y(a){return g(a)?null:a}function z(a){return g(a)?!1:a}function A(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function B(a){console.log(a)}function C(a){console.warn(a)}function D(a,b,c){for(var d=b.split("."),e=a;d.length>1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b<a.length;++b){var c=a[b];"entries"!==c&&"size"!==c&&Map.prototype[c]===Map.prototype.entries&&(Y=c)}return Y}function F(a,b,c,d){var e=c+"\nreturn "+b+"\n//# sourceURL="+a,f=[],g=[];for(var h in d)f.push(h),g.push(d[h]);return(new(Function.bind.apply(Function,[void 0].concat(f.concat(e))))).apply(void 0,g)}function G(a){return!A(a)}function H(a,b){return a.constructor===b}function I(a){return N.encodeURI(a)}function J(a){return a.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var K,L=this,M=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)};K="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:L:window,b.scheduleMicroTask=d,b.IS_DART=!1;var N=K;b.global=N,b.Type=Function,b.getTypeNameForDebugging=e,b.Math=N.Math,b.Date=N.Date,N.assert=function(a){},b.isPresent=f,b.isBlank=g,b.isBoolean=h,b.isNumber=i,b.isString=j,b.isFunction=k,b.isType=l,b.isStringMap=m;var O=Object.getPrototypeOf({});b.isStrictStringMap=n,b.isPromise=o,b.isArray=p,b.isDate=q,b.noop=r,b.stringify=s,b.serializeEnum=t,b.deserializeEnum=u,b.resolveEnumToken=v;var P=function(){function a(){}return a.fromCharCode=function(a){return String.fromCharCode(a)},a.charCodeAt=function(a,b){return a.charCodeAt(b)},a.split=function(a,b){return a.split(b)},a.equals=function(a,b){return a===b},a.stripLeft=function(a,b){if(a&&a.length){for(var c=0,d=0;d<a.length&&a[d]==b;d++)c++;a=a.substring(c)}return a},a.stripRight=function(a,b){if(a&&a.length){for(var c=a.length,d=a.length-1;d>=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return a.splice(-2,2),c(a)})},a.contains=function(a,b){return-1!=a.indexOf(b)},a.compare=function(a,b){return b>a?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("123",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("f0",["b","c","d","f1","f","123"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("f1"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("123");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("128",["9"],!0,function(a,b,c){"use strict";var d=a("9"),e=function(){function a(){}return a}();return b.LocationStrategy=e,b.APP_BASE_HREF=new d.OpaqueToken("appBaseHref"),c.exports}),a.registerDynamic("127",["9","f0","128"],!0,function(a,b,c){"use strict";function d(a,b){return a.length>0&&b.startsWith(a)?b.substring(a.length):b}function e(a){return/\/index.html$/g.test(a)?a.substring(0,a.length-11):a}var f=a("9"),g=a("f0"),h=a("128"),i=function(){function a(b){var c=this;this._subject=new f.EventEmitter,this._platformStrategy=b;var d=this._platformStrategy.getBaseHref();this._baseHref=a.stripTrailingSlash(e(d)),this._platformStrategy.onPopState(function(a){g.ObservableWrapper.callEmit(c._subject,{url:c.path(!0),pop:!0,type:a.type})})}return a.prototype.path=function(a){return void 0===a&&(a=!1),this.normalize(this._platformStrategy.path(a))},a.prototype.isCurrentPathEqualTo=function(b,c){return void 0===c&&(c=""),this.path()==this.normalize(b+a.normalizeQueryParams(c))},a.prototype.normalize=function(b){return a.stripTrailingSlash(d(this._baseHref,e(b)))},a.prototype.prepareExternalUrl=function(a){return a.length>0&&!a.startsWith("/")&&(a="/"+a),this._platformStrategy.prepareExternalUrl(a)},a.prototype.go=function(a,b){void 0===b&&(b=""),this._platformStrategy.pushState(null,"",a,b)},a.prototype.replaceState=function(a,b){void 0===b&&(b=""),this._platformStrategy.replaceState(null,"",a,b)},a.prototype.forward=function(){this._platformStrategy.forward()},a.prototype.back=function(){this._platformStrategy.back()},a.prototype.subscribe=function(a,b,c){return void 0===b&&(b=null),void 0===c&&(c=null),g.ObservableWrapper.subscribe(this._subject,a,b,c)},a.normalizeQueryParams=function(a){return a.length>0&&"?"!=a.substring(0,1)?"?"+a:a},a.joinWithSlash=function(a,b){if(0==a.length)return b;if(0==b.length)return a;var c=0;return a.endsWith("/")&&c++,b.startsWith("/")&&c++,2==c?a+b.substring(1):1==c?a+b:a+"/"+b},a.stripTrailingSlash=function(a){return/\/$/g.test(a)&&(a=a.substring(0,a.length-1)),a},a.decorators=[{type:f.Injectable}],a.ctorParameters=[{type:h.LocationStrategy}],a}();return b.Location=i,c.exports}),a.registerDynamic("12d",["129","128","126","12c","127"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}return d(a("129")),d(a("128")),d(a("126")),d(a("12c")),d(a("127")),c.exports}),a.registerDynamic("ff",[],!0,function(a,b,c){"use strict";function d(a,b,c){var d="="+a;return b.indexOf(d)>-1?d:c.getPluralCategory(a)}var e=function(){function a(){}return a}();return b.NgLocalization=e,b.getPluralCategory=d,c.exports}),a.registerDynamic("12e",["101","10a","124","125","12d","ff"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}d(a("101")),d(a("10a")),d(a("124")),d(a("125")),d(a("12d"));var e=a("ff");return b.NgLocalization=e.NgLocalization,c.exports}),a.registerDynamic("6d",["12e"],!0,function(a,b,c){return c.exports=a("12e"),c.exports}),a.register("84",["9","77","78","79","7a","6d"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m;return{setters:[function(a){b=a.Component,c=a.EventEmitter,d=a.Output,e=a.Input},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a.CORE_DIRECTIVES}],execute:function(){"use strict";k=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=h(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(e=a[j])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&i(b,c,g),g},l=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},m=function(){function a(){g(this,a),this.type="general",this.visible=!1,this.empty=!1,this.headless=!1,this.open=new c,this.close=new c}return f(a,[{key:"toggle",value:function(){this.visible=!this.visible,this.empty||(this.visible?this.open.next({}):this.close.next({}))}}]),a}(),a("Zippy",m),k([e(),l("design:type",Object)],m.prototype,"type",void 0),k([e(),l("design:type",Object)],m.prototype,"visible",void 0),k([e(),l("design:type",Object)],m.prototype,"empty",void 0),k([e(),l("design:type",Object)],m.prototype,"title",void 0),k([e(),l("design:type",Boolean)],m.prototype,"headless",void 0),k([d(),l("design:type",Object)],m.prototype,"open",void 0),k([d(),l("design:type",Object)],m.prototype,"close",void 0),a("Zippy",m=k([b({selector:"zippy",template:'\n <div class="zippy zippy-{{type}}" [ngClass]="{\'zippy-empty\': empty, \'zippy-hidden\': !visible}">\n <div *ngIf=\'!headless\' class="zippy-title" (click)="toggle()">\n <span class="zippy-indicator">\n <svg xmlns="http://www.w3.org/2000/svg" version="1.1" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve">\n <polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "/>\n </svg>\n </span>\n {{title}}\n </div>\n <div class="zippy-content">\n <ng-content></ng-content>\n </div>\n </div>\n ',styles:['\n @charset "UTF-8";\n :host {\n transform: translate3d(0, 0, 0);\n backface-visibility: hidden;\n overflow: hidden;\n display: block; }\n\n .zippy-title {\n padding: 10px;\n border-radius: 2px;\n margin: 2px 0;\n line-height: 1.5em;\n background-color: #f2f2f2;\n cursor: pointer; }\n .zippy-success > .zippy-title {\n color: #00aa13;\n background-color: rgba(0, 170, 19, 0.08); }\n .zippy-error > .zippy-title {\n color: #e53935;\n background-color: rgba(229, 57, 53, 0.06); }\n .zippy-redirect > .zippy-title {\n color: #263238;\n background-color: rgba(38, 50, 56, 0.08); }\n .zippy-info > .zippy-title {\n color: #0033a0;\n background-color: rgba(0, 51, 160, 0.08); }\n\n .zippy-indicator svg {\n height: 1.2em;\n vertical-align: middle;\n transition: all 0.3s ease;\n transform: rotateZ(-180deg); }\n\n .zippy-hidden > .zippy-title svg {\n transform: rotateZ(0); }\n\n .zippy-success > .zippy-title polygon {\n fill: #00aa13; }\n\n .zippy-error > .zippy-title polygon {\n fill: #e53935; }\n\n .zippy-redirect > .zippy-title polygon {\n fill: #263238; }\n\n .zippy-info > .zippy-title polygon {\n fill: #0033a0; }\n\n span.zippy-indicator {\n width: 1em;\n font-size: 1.2em;\n text-align: center;\n display: inline-block; }\n\n .zippy-content {\n padding: 15px 0; }\n\n .zippy-empty .zippy-title {\n cursor: default; }\n\n .zippy-empty .zippy-indicator svg {\n display: none; }\n\n .zippy-empty .zippy-indicator:before {\n content: "—";\n font-weight: bold; }\n\n .zippy-empty .zippy-content {\n display: none; }\n\n .zippy-hidden > .zippy-content {\n display: none; }\n '],directives:[j]}),l("design:paramtypes",[])],m))}}}),a.register("83",["84","ec","ed","ee"],function(a){"use strict";return{setters:[function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)}],execute:function(){}}}),a.registerDynamic("12f",["130","131","132","9a"],!0,function(a,b,c){var d=a("130"),e=a("131")("iterator"),f=a("132");return c.exports=a("9a").isIterable=function(a){var b=Object(a);return void 0!==b[e]||"@@iterator"in b||f.hasOwnProperty(d(b));
|
||
},c.exports}),a.registerDynamic("133",["134","135","12f"],!0,function(a,b,c){return a("134"),a("135"),c.exports=a("12f"),c.exports}),a.registerDynamic("136",["133"],!0,function(a,b,c){return c.exports={"default":a("133"),__esModule:!0},c.exports}),a.registerDynamic("137",["9c","136"],!0,function(a,b,c){"use strict";var d=a("9c")["default"],e=a("136")["default"];return b["default"]=function(){function a(a,b){var c=[],e=!0,f=!1,g=void 0;try{for(var h,i=d(a);!(e=(h=i.next()).done)&&(c.push(h.value),!b||c.length!==b);e=!0);}catch(j){f=!0,g=j}finally{try{!e&&i["return"]&&i["return"]()}finally{if(f)throw g}}return c}return function(b,c){if(Array.isArray(b))return b;if(e(Object(b)))return a(b,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),b.__esModule=!0,c.exports}),a.register("138",["9","77","78","79","81","86","137","139","7a","13a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;return{setters:[function(a){b=a.Injectable,c=a.EventEmitter},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a.SchemaHelper},function(a){h=a.SpecManager},function(a){i=a["default"]},function(a){j=a.ScrollService,k=a.INVIEW_POSITION},function(a){l=a["default"]},function(a){m=a.Hash}],execute:function(){"use strict";n=function(a,b,c,d){var e,g=arguments.length,h=3>g?b:null===d?d=f(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(a,b,c,d);else for(var i=a.length-1;i>=0;i--)(e=a[i])&&(h=(3>g?e(h):g>3?e(b,c,h):e(b,c))||h);return g>3&&h&&l(b,c,h),h},o=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},p={NEXT:1,BACK:-1,INITIAL:0},q=function(){function a(b,d,f){var h=this;e(this,a),this.hash=b,this.scrollService=d,this.changed=new c,this.activeCatIdx=0,this.activeMethodIdx=-1,this.hash=b,this.categories=g.buildMenuTree(f.schema),d.scroll.subscribe(function(a){h.scrollUpdate(a.isScrolledDown)}),this.changeActive(p.INITIAL),this.hash.changed.subscribe(function(a){h.hashScroll(a)})}return d(a,[{key:"scrollUpdate",value:function(a){for(var b=!1;!b;){var c=this.getCurrentMethodEl();if(!c)return;var d=this.scrollService.getElementPos(c);b=a&&d===k.BELLOW?this.changeActive(p.NEXT):a||d!==k.ABOVE?!0:this.changeActive(p.BACK)}}},{key:"getCurrentMethodEl",value:function(){return this.getMethodElByPtr(this.activeMethodPtr,this.categories[this.activeCatIdx].id)}},{key:"getMethodElByPtr",value:function(a,b){var c=a?'[pointer="'+a+'"][section="'+b+'"]':'[section="'+b+'"]';return document.querySelector(c)}},{key:"getMethodElByOperId",value:function(a){var b='[operation-id="'+a+'"]';return document.querySelector(b)}},{key:"activate",value:function(a,b){var c=this.categories;c[this.activeCatIdx].active=!1,c[this.activeCatIdx].methods.length&&this.activeMethodIdx>=0&&(c[this.activeCatIdx].methods[this.activeMethodIdx].active=!1),this.activeCatIdx=a,this.activeMethodIdx=b,c[a].active=!0,this.activeMethodPtr=null;var d=void 0;c[a].methods.length&&b>-1&&(d=c[a].methods[b],d.active=!0,this.activeMethodPtr=d.pointer),this.changed.next({cat:c[a],item:d})}},{key:"_calcActiveIndexes",value:function(a){var b=this.categories,c=b.length;if(!c)return[0,-1];var d=b[this.activeCatIdx].methods.length,e=this.activeMethodIdx+a,f=this.activeCatIdx;if(e>d-1&&(f++,e=-1),-1>e){var g=--f;d=b[Math.max(g,0)].methods.length,e=d-1}return f>c-1&&(f=c-1,e=d-1),0>f&&(f=0,e=0),[f,e]}},{key:"changeActive",value:function(){var a=arguments.length<=0||void 0===arguments[0]?1:arguments[0],b=this._calcActiveIndexes(a),c=i(b,2),d=c[0],e=c[1];return this.activate(d,e),0===e&&0===d}},{key:"scrollToActive",value:function(){this.scrollService.scrollTo(this.getCurrentMethodEl())}},{key:"hashScroll",value:function(a){if(a){var b=void 0;a=a.substr(1);var c=a.split("/")[0],d=decodeURIComponent(a.substr(c.length+1));if("operation"===c)b=this.getMethodElByOperId(d);else{var e=d.split("/")[0];d=d.substr(e.length)||null,e=c+(e?"/"+e:""),b=this.getMethodElByPtr(d,e)}b&&this.scrollService.scrollTo(b)}}}]),a}(),a("MenuService",q),a("MenuService",q=n([b(),o("design:paramtypes",[m,j,h])],q))}}}),a.register("85",["9","77","78","79","87","7a","13b","13c","9f","a7"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q;return{setters:[function(a){b=a.Injectable},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a.isFunction,k=a.isString},function(a){l=a.BrowserDomAdapter}],execute:function(){"use strict";m=function(a,b,c,d){var f,h=arguments.length,i=3>h?b:null===d?d=e(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(f=a[j])&&(i=(3>h?f(i):h>3?f(b,c,i):f(b,c))||i);return h>3&&i&&g(b,c,i),i},n=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},o={scrollYOffset:0,disableLazySchemas:!1,debugMode:!1},p=new h(["scrollYOffset","disableLazySchemas","specUrl","suppressWarnings"]),q=function(){function a(b){d(this,a),this.dom=b,this._options=o,this.dom=b}return c(a,[{key:"parseOptions",value:function(a){var b=void 0,c=this.dom.attributeMap(a);b={},i(c.keys()).map(function(a){return{attrName:a,name:a.replace(/-(.)/g,function(a,b){return b.toUpperCase()})}}).filter(function(a){return p.has(a.name)}).forEach(function(a){b[a.name]=c.get(a.attrName)}),this.options=b,this._normalizeOptions()}},{key:"_normalizeOptions",value:function(){var a=this;j(this._options.scrollYOffset)||(isFinite(this._options.scrollYOffset)?!function(){var b=parseFloat(a._options.scrollYOffset);a.options.scrollYOffset=function(){return b}}():!function(){var b=a._options.scrollYOffset;b instanceof Node||(b=a.dom.query(b)),b?a._options.scrollYOffset=function(){return b.offsetTop+b.offsetHeight}:a._options.scrollYOffset=function(){return 0}}()),k(this._options.disableLazySchemas)&&(this._options.disableLazySchemas=!0),k(this._options.suppressWarnings)&&(this._options.suppressWarnings=!0)}},{key:"options",get:function(){return this._options},set:function(a){this._options=f(this._options,a)}}]),a}(),a("OptionsService",q),a("OptionsService",q=m([b(),n("design:paramtypes",[l])],q))}}}),a.register("139",["9","77","78","79","85","7a","a7"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a.Injectable,c=a.EventEmitter,d=a.Output},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a.OptionsService},function(a){i=a["default"]},function(a){j=a.BrowserDomAdapter}],execute:function(){"use strict";k=function(a,b,c,d){var e,f=arguments.length,h=3>f?b:null===d?d=g(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(e=a[j])&&(h=(3>f?e(h):f>3?e(b,c,h):e(b,c))||h);return f>3&&h&&i(b,c,h),h},l=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},m={ABOVE:1,BELLOW:-1,INVIEW:0},a("INVIEW_POSITION",m),n=function(){function a(b,d){f(this,a),this.dom=b,this.scroll=new c,this.scrollYOffset=function(){return d.options.scrollYOffset()},this.$scrollParent=d.options.$scrollParent,this.scroll=new c,this.dom=b,this.bind()}return e(a,[{key:"scrollY",value:function(){return void 0!=this.$scrollParent.pageYOffset?this.$scrollParent.pageYOffset:this.$scrollParent.scrollTop}},{key:"getElementPos",value:function(a){return Math.floor(a.getBoundingClientRect().top)>this.scrollYOffset()?m.ABOVE:a.getBoundingClientRect().bottom<=this.scrollYOffset()?m.BELLOW:m.INVIEW}},{key:"scrollTo",value:function(a){var b=a.getBoundingClientRect(),c=this.scrollY()+b.top-this.scrollYOffset()+1;this.$scrollParent.scrollTo?this.$scrollParent.scrollTo(0,c):this.$scrollParent.scrollTop=c}},{key:"scrollHandler",value:function(a){var b=this.scrollY()-this.prevOffsetY>0;this.prevOffsetY=this.scrollY(),this.scroll.next({isScrolledDown:b,evt:a})}},{key:"bind",value:function(){var a=this;this.prevOffsetY=this.scrollY(),this._cancel=this.dom.onAndCancel(this.$scrollParent,"scroll",function(b){a.scrollHandler(b)})}},{key:"unbind",value:function(){this._cancel()}}]),a}(),a("ScrollService",n),k([d(),l("design:type",Object)],n.prototype,"scroll",void 0),a("ScrollService",n=k([b(),l("design:paramtypes",[j,h])],n))}}}),a.registerDynamic("b0",["b3"],!0,function(a,b,c){"use strict";function d(){return h}function e(a){h=a}function f(a){g.isBlank(h)&&(h=a)}var g=a("b3"),h=null;b.getDOM=d,b.setDOM=e,b.setRootDomAdapter=f;var i=function(){function a(){this.xhrType=null}return a.prototype.getXHR=function(){return this.xhrType},Object.defineProperty(a.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(a){this._attrToPropMap=a},enumerable:!0,configurable:!0}),a}();return b.DomAdapter=i,c.exports}),a.registerDynamic("b8",["b3"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c<a.length;c++){var e=a[c];h.isArray(e)?d(e,b):b.push(e)}return b}function e(a){return h.isJsObject(a)?h.isArray(a)||!(a instanceof b.Map)&&h.getSymbolIterator()in a:!1}function f(a,b,c){for(var d=a[h.getSymbolIterator()](),e=b[h.getSymbolIterator()]();;){var f=d.next(),g=e.next();if(f.done&&g.done)return!0;if(f.done||g.done)return!1;if(!c(f.value,g.value))return!1}}function g(a,b){if(h.isArray(a))for(var c=0;c<a.length;c++)b(a[c]);else for(var d,e=a[h.getSymbolIterator()]();!(d=e.next()).done;)b(d.value)}var h=a("b3");b.Map=h.global.Map,b.Set=h.global.Set;var i=function(){try{if(1===new b.Map([[1,2]]).size)return function(a){return new b.Map(a)}}catch(a){}return function(a){for(var c=new b.Map,d=0;d<a.length;d++){var e=a[d];c.set(e[0],e[1])}return c}}(),j=function(){try{if(new b.Map(new b.Map))return function(a){return new b.Map(a)}}catch(a){}return function(a){var c=new b.Map;return a.forEach(function(a,b){c.set(b,a)}),c}}(),k=function(){return(new b.Map).keys().next?function(a){for(var b,c=a.keys();!(b=c.next()).done;)a.set(b.value,null)}:function(a){a.forEach(function(b,c){a.set(c,null)})}}(),l=function(){try{if((new b.Map).values().next)return function(a,b){return b?Array.from(a.values()):Array.from(a.keys())}}catch(a){}return function(a,b){var c=o.createFixedSize(a.size),d=0;return a.forEach(function(a,e){c[d]=b?a:e,d++}),c}}(),m=function(){function a(){}return a.clone=function(a){return j(a)},a.createFromStringMap=function(a){var c=new b.Map;for(var d in a)c.set(d,a[d]);return c},a.toStringMap=function(a){var b={};return a.forEach(function(a,c){return b[c]=a}),b},a.createFromPairs=function(a){return i(a)},a.clearValues=function(a){k(a)},a.iterable=function(a){return a},a.keys=function(a){return l(a,!1)},a.values=function(a){return l(a,!0)},a}();b.MapWrapper=m;var n=function(){function a(){}return a.create=function(){return{}},a.contains=function(a,b){return a.hasOwnProperty(b)},a.get=function(a,b){return a.hasOwnProperty(b)?a[b]:void 0},a.set=function(a,b,c){a[b]=c},a.keys=function(a){return Object.keys(a)},a.values=function(a){return Object.keys(a).reduce(function(b,c){return b.push(a[c]),b},[])},a.isEmpty=function(a){for(var b in a)return!1;return!0},a["delete"]=function(a,b){delete a[b]},a.forEach=function(a,b){for(var c in a)a.hasOwnProperty(c)&&b(a[c],c)},a.merge=function(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);return c},a.equals=function(a,b){var c=Object.keys(a),d=Object.keys(b);if(c.length!=d.length)return!1;for(var e,f=0;f<c.length;f++)if(e=c[f],a[e]!==b[e])return!1;return!0},a}();b.StringMapWrapper=n;var o=function(){function a(){}return a.createFixedSize=function(a){return new Array(a)},a.createGrowableSize=function(a){return new Array(a)},a.clone=function(a){return a.slice(0)},a.forEachWithIndex=function(a,b){for(var c=0;c<a.length;c++)b(a[c],c)},a.first=function(a){return a?a[0]:null},a.last=function(a){return a&&0!=a.length?a[a.length-1]:null},a.indexOf=function(a,b,c){return void 0===c&&(c=0),a.indexOf(b,c)},a.contains=function(a,b){return-1!==a.indexOf(b)},a.reversed=function(b){var c=a.clone(b);return c.reverse()},a.concat=function(a,b){return a.concat(b)},a.insert=function(a,b,c){a.splice(b,0,c)},a.removeAt=function(a,b){var c=a[b];return a.splice(b,1),c},a.removeAll=function(a,b){for(var c=0;c<b.length;++c){var d=a.indexOf(b[c]);a.splice(d,1)}},a.remove=function(a,b){var c=a.indexOf(b);return c>-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;c<a.length;++c)if(a[c]!==b[c])return!1;return!0},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.splice=function(a,b,c){return a.splice(b,c)},a.sort=function(a,b){h.isPresent(b)?a.sort(b):a.sort()},a.toString=function(a){return a.toString()},a.toJSON=function(a){return JSON.stringify(a)},a.maximum=function(a,b){if(0==a.length)return null;for(var c=null,d=-(1/0),e=0;e<a.length;e++){var f=a[e];if(!h.isBlank(f)){var g=b(f);g>d&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c<b.length;c++)a.push(b[c])},a}();b.ListWrapper=o,b.isListLikeIterable=e,b.areIterablesEqual=f,b.iterateListLike=g;var p=function(){var a=new b.Set([1,2,3]);return 3===a.size?function(a){return new b.Set(a)}:function(a){var c=new b.Set(a);if(c.size!==a.length)for(var d=0;d<a.length;d++)c.add(a[d]);return c}}(),q=function(){function a(){}return a.createFromList=function(a){return p(a)},a.has=function(a,b){return a.has(b)},a["delete"]=function(a,b){a["delete"](b)},a}();return b.SetWrapper=q,c.exports}),a.registerDynamic("b3",[],!0,function(a,b,c){"use strict";function d(a){Zone.current.scheduleMicroTask("scheduleMicrotask",a)}function e(a){return a.name?a.name:typeof a}function f(a){return void 0!==a&&null!==a}function g(a){return void 0===a||null===a}function h(a){return"boolean"==typeof a}function i(a){return"number"==typeof a}function j(a){return"string"==typeof a}function k(a){return"function"==typeof a}function l(a){return k(a)}function m(a){return"object"==typeof a&&null!==a}function n(a){return m(a)&&Object.getPrototypeOf(a)===O}function o(a){return a instanceof N.Promise}function p(a){return Array.isArray(a)}function q(a){return a instanceof b.Date&&!isNaN(a.valueOf())}function r(){}function s(a){if("string"==typeof a)return a;if(void 0===a||null===a)return""+a;if(a.name)return a.name;if(a.overriddenName)return a.overriddenName;var b=a.toString(),c=b.indexOf("\n");return-1===c?b:b.substring(0,c)}function t(a){return a}function u(a,b){return a}function v(a,b){return a[b]}function w(a,b){return a===b||"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b)}function x(a){return a}function y(a){return g(a)?null:a}function z(a){return g(a)?!1:a}function A(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function B(a){console.log(a)}function C(a){console.warn(a)}function D(a,b,c){for(var d=b.split("."),e=a;d.length>1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b<a.length;++b){var c=a[b];"entries"!==c&&"size"!==c&&Map.prototype[c]===Map.prototype.entries&&(Y=c)}return Y}function F(a,b,c,d){var e=c+"\nreturn "+b+"\n//# sourceURL="+a,f=[],g=[];for(var h in d)f.push(h),g.push(d[h]);return(new(Function.bind.apply(Function,[void 0].concat(f.concat(e))))).apply(void 0,g)}function G(a){return!A(a)}function H(a,b){return a.constructor===b}function I(a){return N.encodeURI(a)}function J(a){return a.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var K,L=this,M=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)};K="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:L:window,b.scheduleMicroTask=d,b.IS_DART=!1;var N=K;b.global=N,b.Type=Function,b.getTypeNameForDebugging=e,b.Math=N.Math,b.Date=N.Date,N.assert=function(a){},b.isPresent=f,b.isBlank=g,b.isBoolean=h,b.isNumber=i,b.isString=j,b.isFunction=k,b.isType=l,b.isStringMap=m;var O=Object.getPrototypeOf({});b.isStrictStringMap=n,b.isPromise=o,b.isArray=p,b.isDate=q,b.noop=r,b.stringify=s,b.serializeEnum=t,b.deserializeEnum=u,b.resolveEnumToken=v;var P=function(){function a(){}return a.fromCharCode=function(a){return String.fromCharCode(a)},a.charCodeAt=function(a,b){return a.charCodeAt(b)},a.split=function(a,b){return a.split(b)},a.equals=function(a,b){return a===b},a.stripLeft=function(a,b){if(a&&a.length){for(var c=0,d=0;d<a.length&&a[d]==b;d++)c++;a=a.substring(c)}return a},a.stripRight=function(a,b){if(a&&a.length){for(var c=a.length,d=a.length-1;d>=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return a.splice(-2,2),c(a)})},a.contains=function(a,b){return-1!=a.indexOf(b)},a.compare=function(a,b){return b>a?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("13d",["b0","b8","b3"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b0"),f=a("b8"),g=a("b3"),h=function(a){function b(){var b=this;a.call(this),this._animationPrefix=null,this._transitionEnd=null;try{var c=this.createElement("div",this.defaultDoc());if(g.isPresent(this.getStyle(c,"animationName")))this._animationPrefix="";else for(var d=["Webkit","Moz","O","ms"],e=0;e<d.length;e++)if(g.isPresent(this.getStyle(c,d[e]+"AnimationName"))){this._animationPrefix="-"+d[e].toLowerCase()+"-";break}var h={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};f.StringMapWrapper.forEach(h,function(a,d){g.isPresent(b.getStyle(c,d))&&(b._transitionEnd=a)})}catch(i){this._animationPrefix=null,this._transitionEnd=null}}return d(b,a),b.prototype.getDistributedNodes=function(a){return a.getDistributedNodes()},b.prototype.resolveAndSetHref=function(a,b,c){a.href=null==c?b:b+"/../"+c},b.prototype.supportsDOMEvents=function(){return!0},b.prototype.supportsNativeShadowDOM=function(){return g.isFunction(this.defaultDoc().body.createShadowRoot)},b.prototype.getAnimationPrefix=function(){return g.isPresent(this._animationPrefix)?this._animationPrefix:""},b.prototype.getTransitionEnd=function(){return g.isPresent(this._transitionEnd)?this._transitionEnd:""},b.prototype.supportsAnimation=function(){return g.isPresent(this._animationPrefix)&&g.isPresent(this._transitionEnd)},b}(e.DomAdapter);return b.GenericBrowserDomAdapter=h,c.exports}),a.registerDynamic("a7",["b0","b8","b3","13d"],!0,function(a,b,c){"use strict";function d(){return j.isBlank(q)&&(q=document.querySelector("base"),j.isBlank(q))?null:q.getAttribute("href")}function e(a){return j.isBlank(r)&&(r=document.createElement("a")),r.setAttribute("href",a),"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}function f(a,b){b=encodeURIComponent(b);for(var c=a.split(";"),d=0,e=c;d<e.length;d++){var f=e[d],g=f.split("=",2),h=g[0],i=g[1];if(h.trim()===b)return decodeURIComponent(i)}return null}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("b0"),i=a("b8"),j=a("b3"),k=a("13d"),l={"class":"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},m=3,n={"\b":"Backspace"," ":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},o={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","":"NumLock"},p=function(a){function b(){a.apply(this,arguments)}return g(b,a),b.prototype.parse=function(a){throw new Error("parse not implemented")},b.makeCurrent=function(){h.setRootDomAdapter(new b)},b.prototype.hasProperty=function(a,b){return b in a},b.prototype.setProperty=function(a,b,c){a[b]=c},b.prototype.getProperty=function(a,b){return a[b]},b.prototype.invoke=function(a,b,c){a[b].apply(a,c)},b.prototype.logError=function(a){window.console.error?window.console.error(a):window.console.log(a)},b.prototype.log=function(a){window.console.log(a)},b.prototype.logGroup=function(a){window.console.group?(window.console.group(a),this.logError(a)):window.console.log(a)},b.prototype.logGroupEnd=function(){window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(b.prototype,"attrToPropMap",{get:function(){return l},enumerable:!0,configurable:!0}),b.prototype.query=function(a){return document.querySelector(a)},b.prototype.querySelector=function(a,b){return a.querySelector(b)},b.prototype.querySelectorAll=function(a,b){return a.querySelectorAll(b)},b.prototype.on=function(a,b,c){a.addEventListener(b,c,!1)},b.prototype.onAndCancel=function(a,b,c){return a.addEventListener(b,c,!1),function(){a.removeEventListener(b,c,!1)}},b.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)},b.prototype.createMouseEvent=function(a){var b=document.createEvent("MouseEvent");return b.initEvent(a,!0,!0),b},b.prototype.createEvent=function(a){var b=document.createEvent("Event");return b.initEvent(a,!0,!0),b},b.prototype.preventDefault=function(a){a.preventDefault(),a.returnValue=!1},b.prototype.isPrevented=function(a){return a.defaultPrevented||j.isPresent(a.returnValue)&&!a.returnValue},b.prototype.getInnerHTML=function(a){return a.innerHTML},b.prototype.getTemplateContent=function(a){return"content"in a&&a instanceof HTMLTemplateElement?a.content:null},b.prototype.getOuterHTML=function(a){return a.outerHTML},b.prototype.nodeName=function(a){return a.nodeName},b.prototype.nodeValue=function(a){return a.nodeValue},b.prototype.type=function(a){return a.type},b.prototype.content=function(a){return this.hasProperty(a,"content")?a.content:a},b.prototype.firstChild=function(a){return a.firstChild},b.prototype.nextSibling=function(a){return a.nextSibling},b.prototype.parentElement=function(a){return a.parentNode},b.prototype.childNodes=function(a){return a.childNodes},b.prototype.childNodesAsList=function(a){for(var b=a.childNodes,c=i.ListWrapper.createFixedSize(b.length),d=0;d<b.length;d++)c[d]=b[d];return c},b.prototype.clearNodes=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},b.prototype.appendChild=function(a,b){a.appendChild(b)},b.prototype.removeChild=function(a,b){a.removeChild(b)},b.prototype.replaceChild=function(a,b,c){a.replaceChild(b,c)},b.prototype.remove=function(a){return a.parentNode&&a.parentNode.removeChild(a),a},b.prototype.insertBefore=function(a,b){a.parentNode.insertBefore(b,a)},b.prototype.insertAllBefore=function(a,b){b.forEach(function(b){return a.parentNode.insertBefore(b,a)})},b.prototype.insertAfter=function(a,b){a.parentNode.insertBefore(b,a.nextSibling)},b.prototype.setInnerHTML=function(a,b){a.innerHTML=b},b.prototype.getText=function(a){return a.textContent},b.prototype.setText=function(a,b){a.textContent=b},b.prototype.getValue=function(a){return a.value},b.prototype.setValue=function(a,b){a.value=b},b.prototype.getChecked=function(a){return a.checked},b.prototype.setChecked=function(a,b){a.checked=b},b.prototype.createComment=function(a){return document.createComment(a)},b.prototype.createTemplate=function(a){var b=document.createElement("template");return b.innerHTML=a,b},b.prototype.createElement=function(a,b){return void 0===b&&(b=document),b.createElement(a)},b.prototype.createElementNS=function(a,b,c){return void 0===c&&(c=document),c.createElementNS(a,b)},b.prototype.createTextNode=function(a,b){return void 0===b&&(b=document),b.createTextNode(a)},b.prototype.createScriptTag=function(a,b,c){void 0===c&&(c=document);var d=c.createElement("SCRIPT");return d.setAttribute(a,b),d},b.prototype.createStyleElement=function(a,b){void 0===b&&(b=document);var c=b.createElement("style");return this.appendChild(c,this.createTextNode(a)),c},b.prototype.createShadowRoot=function(a){return a.createShadowRoot()},b.prototype.getShadowRoot=function(a){return a.shadowRoot},b.prototype.getHost=function(a){return a.host},b.prototype.clone=function(a){return a.cloneNode(!0)},b.prototype.getElementsByClassName=function(a,b){return a.getElementsByClassName(b)},b.prototype.getElementsByTagName=function(a,b){return a.getElementsByTagName(b)},b.prototype.classList=function(a){return Array.prototype.slice.call(a.classList,0)},b.prototype.addClass=function(a,b){a.classList.add(b)},b.prototype.removeClass=function(a,b){a.classList.remove(b)},b.prototype.hasClass=function(a,b){return a.classList.contains(b)},b.prototype.setStyle=function(a,b,c){a.style[b]=c},b.prototype.removeStyle=function(a,b){a.style[b]=null},b.prototype.getStyle=function(a,b){return a.style[b]},b.prototype.hasStyle=function(a,b,c){void 0===c&&(c=null);var d=this.getStyle(a,b)||"";return c?d==c:d.length>0},b.prototype.tagName=function(a){return a.tagName},b.prototype.attributeMap=function(a){for(var b=new Map,c=a.attributes,d=0;d<c.length;d++){var e=c[d];b.set(e.name,e.value)}return b},b.prototype.hasAttribute=function(a,b){return a.hasAttribute(b)},b.prototype.hasAttributeNS=function(a,b,c){return a.hasAttributeNS(b,c)},b.prototype.getAttribute=function(a,b){return a.getAttribute(b)},b.prototype.getAttributeNS=function(a,b,c){return a.getAttributeNS(b,c)},b.prototype.setAttribute=function(a,b,c){a.setAttribute(b,c)},b.prototype.setAttributeNS=function(a,b,c,d){a.setAttributeNS(b,c,d)},b.prototype.removeAttribute=function(a,b){a.removeAttribute(b)},b.prototype.removeAttributeNS=function(a,b,c){a.removeAttributeNS(b,c)},b.prototype.templateAwareRoot=function(a){return this.isTemplateElement(a)?this.content(a):a},b.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},b.prototype.defaultDoc=function(){return document},b.prototype.getBoundingClientRect=function(a){try{return a.getBoundingClientRect()}catch(b){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},b.prototype.getTitle=function(){return document.title},b.prototype.setTitle=function(a){document.title=a||""},b.prototype.elementMatches=function(a,b){var c=!1;return a instanceof HTMLElement&&(a.matches?c=a.matches(b):a.msMatchesSelector?c=a.msMatchesSelector(b):a.webkitMatchesSelector&&(c=a.webkitMatchesSelector(b))),c},b.prototype.isTemplateElement=function(a){return a instanceof HTMLElement&&"TEMPLATE"==a.nodeName},b.prototype.isTextNode=function(a){return a.nodeType===Node.TEXT_NODE},b.prototype.isCommentNode=function(a){return a.nodeType===Node.COMMENT_NODE},b.prototype.isElementNode=function(a){return a.nodeType===Node.ELEMENT_NODE},b.prototype.hasShadowRoot=function(a){return a instanceof HTMLElement&&j.isPresent(a.shadowRoot)},b.prototype.isShadowRoot=function(a){return a instanceof DocumentFragment},b.prototype.importIntoDoc=function(a){var b=a;return this.isTemplateElement(a)&&(b=this.content(a)),document.importNode(b,!0)},b.prototype.adoptNode=function(a){return document.adoptNode(a)},b.prototype.getHref=function(a){return a.href},b.prototype.getEventKey=function(a){var b=a.key;if(j.isBlank(b)){if(b=a.keyIdentifier,j.isBlank(b))return"Unidentified";b.startsWith("U+")&&(b=String.fromCharCode(parseInt(b.substring(2),16)),a.location===m&&o.hasOwnProperty(b)&&(b=o[b]))}return n.hasOwnProperty(b)&&(b=n[b]),b},b.prototype.getGlobalEventTarget=function(a){return"window"==a?window:"document"==a?document:"body"==a?document.body:void 0},b.prototype.getHistory=function(){return window.history},b.prototype.getLocation=function(){return window.location},b.prototype.getBaseHref=function(){var a=d();return j.isBlank(a)?null:e(a)},b.prototype.resetBaseElement=function(){q=null},b.prototype.getUserAgent=function(){return window.navigator.userAgent},b.prototype.setData=function(a,b,c){this.setAttribute(a,"data-"+b,c)},b.prototype.getData=function(a,b){return this.getAttribute(a,"data-"+b)},b.prototype.getComputedStyle=function(a){return getComputedStyle(a)},b.prototype.setGlobalVar=function(a,b){j.setValueOnPath(j.global,a,b)},b.prototype.requestAnimationFrame=function(a){return window.requestAnimationFrame(a)},b.prototype.cancelAnimationFrame=function(a){window.cancelAnimationFrame(a)},b.prototype.supportsWebAnimation=function(){return j.isFunction(document.body.animate)},b.prototype.performanceNow=function(){
|
||
return j.isPresent(window.performance)&&j.isPresent(window.performance.now)?window.performance.now():j.DateWrapper.toMillis(j.DateWrapper.now())},b.prototype.supportsCookies=function(){return!0},b.prototype.getCookie=function(a){return f(document.cookie,a)},b.prototype.setCookie=function(a,b){document.cookie=encodeURIComponent(a)+"="+encodeURIComponent(b)},b}(k.GenericBrowserDomAdapter);b.BrowserDomAdapter=p;var q=null,r=null;return b.parseCookieValue=f,c.exports}),a.register("13e",["9","78","79","7a"],function(a){var b,c,d,e,f,g,h,i;return{setters:[function(a){b=a.EventEmitter,c=a.Output},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]}],execute:function(){"use strict";g=function(a,b,c,d){var g,h=arguments.length,i=3>h?b:null===d?d=e(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(g=a[j])&&(i=(3>h?g(i):h>3?g(b,c,i):g(b,c))||i);return h>3&&i&&f(b,c,i),i},h=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},i=function j(){d(this,j),this.bootstrapped=new b,this.samplesLanguageChanged=new b},a("RedocEventsService",i),g([c(),h("design:type",Object)],i.prototype,"bootstrapped",void 0),g([c(),h("design:type",Object)],i.prototype,"samplesLanguageChanged",void 0)}}}),a.register("13a",["9","77","78","79","7a","a7","9f","13e"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a.Injectable,c=a.EventEmitter,d=a.Output},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a.BrowserDomAdapter},function(a){j=a.global},function(a){k=a.RedocEventsService}],execute:function(){"use strict";l=function(a,b,c,d){var e,f=arguments.length,i=3>f?b:null===d?d=g(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(e=a[j])&&(i=(3>f?e(i):f>3?e(b,c,i):e(b,c))||i);return f>3&&i&&h(b,c,i),i},m=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},n=function(){function a(b,d){var e=this;f(this,a),this.dom=b,this.events=d,this.changed=new c,this.bind(),d.bootstrapped.subscribe(function(){return e.changed.next(e.hash)})}return e(a,[{key:"bind",value:function(){var a=this;this._cancel=this.dom.onAndCancel(j,"hashchange",function(b){a.changed.next(a.hash),b.preventDefault()})}},{key:"unbind",value:function(){this._cancel()}},{key:"hash",get:function(){return this.dom.getLocation().hash}}]),a}(),a("Hash",n),l([d(),m("design:type",Object)],n.prototype,"changed",void 0),a("Hash",n=l([b(),m("design:paramtypes",[i,k])],n))}}}),a.registerDynamic("13f",["140","98","141","142","143","144","145","146"],!0,function(a,b,c){"use strict";var d=a("140"),e=a("98"),f=a("141"),g=a("142"),h=a("143"),i=a("144"),j=a("145");return e(e.S+e.F*!a("146")(function(a){Array.from(a)}),"Array",{from:function(a){var b,c,e,k,l=f(a),m="function"==typeof this?this:Array,n=arguments,o=n.length,p=o>1?n[1]:void 0,q=void 0!==p,r=0,s=j(l);if(q&&(p=d(p,o>2?n[2]:void 0,2)),void 0==s||m==Array&&h(s))for(b=i(l.length),c=new m(b);b>r;r++)c[r]=q?p(l[r],r):l[r];else for(k=s.call(l),c=new m;!(e=k.next()).done;r++)c[r]=q?g(k,p,[e.value,r],!0):e.value;return c.length=r,c}}),c.exports}),a.registerDynamic("147",["135","13f","9a"],!0,function(a,b,c){return a("135"),a("13f"),c.exports=a("9a").Array.from,c.exports}),a.registerDynamic("13c",["147"],!0,function(a,b,c){return c.exports={"default":a("147"),__esModule:!0},c.exports}),a.registerDynamic("148",["13c"],!0,function(a,b,c){"use strict";var d=a("13c")["default"];return b["default"]=function(a){if(Array.isArray(a)){for(var b=0,c=Array(a.length);b<a.length;b++)c[b]=a[b];return c}return d(a)},b.__esModule=!0,c.exports}),a.register("a1",["9","77","78","79","82","87","89","148","149","7a","9c","8a"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;return{setters:[function(a){b=a.Injectable},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a.JsonPointer},function(a){i=a["default"]},function(a){j=a.WarningsService},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a.defaults}],execute:function(){"use strict";n=function(a,b,c,d){var f,g=arguments.length,h=3>g?b:null===d?d=e(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(a,b,c,d);else for(var i=a.length-1;i>=0;i--)(f=a[i])&&(h=(3>g?f(h):g>3?f(b,c,h):f(b,c))||h);return g>3&&h&&k(b,c,h),h},o=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},p=function(){function a(b){d(this,a),this._schema=b,this._dereferencer=new t(b,this)}return c(a,[{key:"normalize",value:function(a,b){var c=this,d=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(d.omitParent=d.omitParent!==!1,a["x-redoc-normalized"])return a;var e=q.walk(a,b,function(a,b){var e=c._dereferencer.dereference(a,b);return e.allOf&&(e._pointer=e._pointer||b,e=g({},e),r.merge(e,e.allOf,{omitParent:d.omitParent})),e});return e["x-redoc-normalized"]=!0,e}}]),a}(),a("SchemaNormalizer",p),a("SchemaNormalizer",p=n([b(),o("design:paramtypes",[Object])],p)),q=function(){function a(){d(this,a)}return c(a,null,[{key:"walk",value:function(b,c,d){if(void 0!=b&&"object"==typeof b){if(b.properties){var e=h.join(c,["properties"]);a.walkEach(b.properties,e,d)}if(b.additionalProperties){var e=h.join(c,["additionalProperties"]);if(Array.isArray(b.additionalProperties))a.walkEach(b.additionalProperties,e,d);else{var f=a.walk(b.additionalProperties,e,d);f&&(b.additionalProperties=f)}}if(b.allOf){var e=h.join(c,["allOf"]);a.walkEach(b.allOf,e,d)}if(b.items){var e=h.join(c,["items"]);if(Array.isArray(b.items))a.walkEach(b.items,e,d);else{var f=a.walk(b.items,e,d);f&&(b.items=f)}}return d(b,c)}}},{key:"walkEach",value:function(b,c,d){var e=!0,g=!1,i=void 0;try{for(var j,k=l(f(b));!(e=(j=k.next()).done);e=!0){var m=j.value,n=h.join(c,[m]),o=a.walk(b[m],n,d);o&&(b[m]=o)}}catch(p){g=!0,i=p}finally{try{!e&&k["return"]&&k["return"]()}finally{if(g)throw i}}}}]),a}(),r=function(){function a(){d(this,a)}return c(a,null,[{key:"merge",value:function(b,c,d){b["x-derived-from"]=[];for(var e=0;e<c.length;e++){var f=c[e];b["x-derived-from"].push(f._pointer),d&&d.omitParent&&f.discriminator||(a.checkCanMerge(f,b),b.type=b.type||f.type,"object"===b.type&&a.mergeObject(b,f,e),f._pointer=null,m(b,f))}b.allOf=null}},{key:"mergeObject",value:function(a,b,c){if(b.properties&&(a.properties||(a.properties={}),g(a.properties,b.properties),f(b.properties).forEach(function(d){var e=b.properties[d];if(!e._pointer){var f=b._pointer||h.join(a._pointer,["allOf",c]);e._pointer=e._pointer||h.join(f,["properties",d])}})),b.required){var d;a.required||(a.required=[]),(d=a.required).push.apply(d,i(b.required))}}},{key:"checkCanMerge",value:function(a,b){if("object"!=typeof a){var c="Items of allOf should be Object: "+typeof a+" found "+(a+' at "#'+b._pointer+'"');throw new Error(c)}if(b.type&&a.type&&b.type!==a.type){var c="allOf merging error: schemas with different types can't be merged: "+('"'+b.type+'" and "'+a.type+'" at "#'+b._pointer+'"');throw new Error(c)}"array"===b.type&&j.warn('allOf: subschemas with type "array" are not supported yet')}}]),a}(),s=function(){function a(){d(this,a),this._counter={}}return c(a,[{key:"reset",value:function(){this._counter={}}},{key:"visit",value:function(a){this._counter[a]=this._counter[a]?this._counter[a]+1:1}},{key:"exit",value:function(a){this._counter[a]=this._counter[a]&&this._counter[a]-1}},{key:"visited",value:function(a){return!!this._counter[a]}}]),a}(),t=function(){function a(b,c){d(this,a),this._spec=b,this.normalizator=c,this._refCouner=new s}return c(a,[{key:"dereference",value:function(a,b){if(!a||!a.$ref)return a;window.derefCount=window.derefCount?window.derefCount+1:1;var c=a.$ref,d=this._spec.byPointer(c);this._refCouner.visited(c)?d={title:d.title,type:d.type}:d._pointer=c,this._refCouner.visit(c),d.title=d.title||h.baseName(c);var e=f(a).length;return(e>2||2===e&&!a.description)&&(j.warn('Other properties are defined at the same level as $ref at "#'+b+'". They are IGNORRED according to the JsonSchema spec'),d.description=d.description||a.description),d=this.normalizator.normalize(d,c),this._refCouner.exit(c),d}}]),a}()}}}),a.registerDynamic("ac",["a9","14a","14b","140"],!0,function(a,b,c){var d=a("a9").getDesc,e=a("14a"),f=a("14b"),g=function(a,b){if(f(a),!e(b)&&null!==b)throw TypeError(b+": can't set as prototype!")};return c.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(b,c,e){try{e=a("140")(Function.call,d(Object.prototype,"__proto__").set,2),e(b,[]),c=!(b instanceof Array)}catch(f){c=!0}return function(a,b){return g(a,b),c?a.__proto__=b:e(a,b),a}}({},!1):void 0),check:g},c.exports}),a.registerDynamic("14c",[],!0,function(a,b,c){return c.exports=Object.is||function(a,b){return a===b?0!==a||1/a===1/b:a!=a&&b!=b},c.exports}),a.registerDynamic("14d",["14b","14e","131"],!0,function(a,b,c){var d=a("14b"),e=a("14e"),f=a("131")("species");return c.exports=function(a,b){var c,g=d(a).constructor;return void 0===g||void 0==(c=d(g)[f])?b:e(c)},c.exports}),a.registerDynamic("14f",[],!0,function(a,b,c){return c.exports=function(a,b,c){var d=void 0===c;switch(b.length){case 0:return d?a():a.call(c);case 1:return d?a(b[0]):a.call(c,b[0]);case 2:return d?a(b[0],b[1]):a.call(c,b[0],b[1]);case 3:return d?a(b[0],b[1],b[2]):a.call(c,b[0],b[1],b[2]);case 4:return d?a(b[0],b[1],b[2],b[3]):a.call(c,b[0],b[1],b[2],b[3])}return a.apply(c,b)},c.exports}),a.registerDynamic("150",["151"],!0,function(a,b,c){return c.exports=a("151").document&&document.documentElement,c.exports}),a.registerDynamic("152",["14a","151"],!0,function(a,b,c){var d=a("14a"),e=a("151").document,f=d(e)&&d(e.createElement);return c.exports=function(a){return f?e.createElement(a):{}},c.exports}),a.registerDynamic("153",["140","14f","150","152","151","154","45"],!0,function(a,b,c){return function(b){var d,e,f,g=a("140"),h=a("14f"),i=a("150"),j=a("152"),k=a("151"),b=k.process,l=k.setImmediate,m=k.clearImmediate,n=k.MessageChannel,o=0,p={},q="onreadystatechange",r=function(){var a=+this;if(p.hasOwnProperty(a)){var b=p[a];delete p[a],b()}},s=function(a){r.call(a.data)};l&&m||(l=function(a){for(var b=[],c=1;arguments.length>c;)b.push(arguments[c++]);return p[++o]=function(){h("function"==typeof a?a:Function(a),b)},d(o),o},m=function(a){delete p[a]},"process"==a("154")(b)?d=function(a){b.nextTick(g(r,a,1))}:n?(e=new n,f=e.port2,e.port1.onmessage=s,d=g(f.postMessage,f,1)):k.addEventListener&&"function"==typeof postMessage&&!k.importScripts?(d=function(a){k.postMessage(a+"","*")},k.addEventListener("message",s,!1)):d=q in j("script")?function(a){i.appendChild(j("script"))[q]=function(){i.removeChild(this),r.call(a)}}:function(a){setTimeout(g(r,a,1),0)}),c.exports={set:l,clear:m}}(a("45")),c.exports}),a.registerDynamic("155",["151","153","154","45"],!0,function(a,b,c){return function(b){var d,e,f,g=a("151"),h=a("153").set,i=g.MutationObserver||g.WebKitMutationObserver,b=g.process,j=g.Promise,k="process"==a("154")(b),l=function(){var a,c,f;for(k&&(a=b.domain)&&(b.domain=null,a.exit());d;)c=d.domain,f=d.fn,c&&c.enter(),f(),c&&c.exit(),d=d.next;e=void 0,a&&a.enter()};if(k)f=function(){b.nextTick(l)};else if(i){var m=1,n=document.createTextNode("");new i(l).observe(n,{characterData:!0}),f=function(){n.data=m=-m}}else f=j&&j.resolve?function(){j.resolve().then(l)}:function(){h.call(g,l)};c.exports=function(a){var c={fn:a,next:void 0,domain:k&&b.domain};e&&(e.next=c),d||(d=c,f()),e=c}}(a("45")),c.exports}),a.registerDynamic("146",["131"],!0,function(a,b,c){var d=a("131")("iterator"),e=!1;try{var f=[7][d]();f["return"]=function(){e=!0},Array.from(f,function(){throw 2})}catch(g){}return c.exports=function(a,b){if(!b&&!e)return!1;var c=!1;try{var f=[7],g=f[d]();g.next=function(){c=!0},f[d]=function(){return g},a(f)}catch(h){}return c},c.exports}),a.registerDynamic("156",["a9","157","151","140","130","98","14a","14b","14e","158","159","ac","14c","131","14d","155","15a","15b","15c","15d","9a","146","45"],!0,function(a,b,c){return function(b){"use strict";var c,d=a("a9"),e=a("157"),f=a("151"),g=a("140"),h=a("130"),i=a("98"),j=a("14a"),k=a("14b"),l=a("14e"),m=a("158"),n=a("159"),o=a("ac").set,p=a("14c"),q=a("131")("species"),r=a("14d"),s=a("155"),t="Promise",b=f.process,u="process"==h(b),v=f[t],w=function(a){var b=new v(function(){});return a&&(b.constructor=Object),v.resolve(b)===b},x=function(){function b(a){var c=new v(a);return o(c,b.prototype),c}var c=!1;try{if(c=v&&v.resolve&&w(),o(b,v),b.prototype=d.create(v.prototype,{constructor:{value:b}}),b.resolve(5).then(function(){})instanceof b||(c=!1),c&&a("15a")){var e=!1;v.resolve(d.setDesc({},"then",{get:function(){e=!0}})),c=e}}catch(f){c=!1}return c}(),y=function(a,b){return e&&a===v&&b===c?!0:p(a,b)},z=function(a){var b=k(a)[q];return void 0!=b?b:a},A=function(a){var b;return j(a)&&"function"==typeof(b=a.then)?b:!1},B=function(a){var b,c;this.promise=new a(function(a,d){if(void 0!==b||void 0!==c)throw TypeError("Bad Promise constructor");b=a,c=d}),this.resolve=l(b),this.reject=l(c)},C=function(a){try{a()}catch(b){return{error:b}}},D=function(a,c){if(!a.n){a.n=!0;var d=a.c;s(function(){for(var e=a.v,g=1==a.s,h=0,i=function(b){var c,d,f=g?b.ok:b.fail,h=b.resolve,i=b.reject;try{f?(g||(a.h=!0),c=f===!0?e:f(e),c===b.promise?i(TypeError("Promise-chain cycle")):(d=A(c))?d.call(c,h,i):h(c)):i(e)}catch(j){i(j)}};d.length>h;)i(d[h++]);d.length=0,a.n=!1,c&&setTimeout(function(){var c,d,g=a.p;E(g)&&(u?b.emit("unhandledRejection",e,g):(c=f.onunhandledrejection)?c({promise:g,reason:e}):(d=f.console)&&d.error&&d.error("Unhandled promise rejection",e)),a.a=void 0},1)})}},E=function(a){var b,c=a._d,d=c.a||c.c,e=0;if(c.h)return!1;for(;d.length>e;)if(b=d[e++],b.fail||!E(b.promise))return!1;return!0},F=function(a){var b=this;b.d||(b.d=!0,b=b.r||b,b.v=a,b.s=2,b.a=b.c.slice(),D(b,!0))},G=function(a){var b,c=this;if(!c.d){c.d=!0,c=c.r||c;try{if(c.p===a)throw TypeError("Promise can't be resolved itself");(b=A(a))?s(function(){var d={r:c,d:!1};try{b.call(a,g(G,d,1),g(F,d,1))}catch(e){F.call(d,e)}}):(c.v=a,c.s=1,D(c,!1))}catch(d){F.call({r:c,d:!1},d)}}};x||(v=function(a){l(a);var b=this._d={p:m(this,v,t),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};try{a(g(G,b,1),g(F,b,1))}catch(c){F.call(b,c)}},a("15b")(v.prototype,{then:function(a,b){var c=new B(r(this,v)),d=c.promise,e=this._d;return c.ok="function"==typeof a?a:!0,c.fail="function"==typeof b&&b,e.c.push(c),e.a&&e.a.push(c),e.s&&D(e,!1),d},"catch":function(a){return this.then(void 0,a)}})),i(i.G+i.W+i.F*!x,{Promise:v}),a("15c")(v,t),a("15d")(t),c=a("9a")[t],i(i.S+i.F*!x,t,{reject:function(a){var b=new B(this),c=b.reject;return c(a),b.promise}}),i(i.S+i.F*(!x||w(!0)),t,{resolve:function(a){if(a instanceof v&&y(a.constructor,this))return a;var b=new B(this),c=b.resolve;return c(a),b.promise}}),i(i.S+i.F*!(x&&a("146")(function(a){v.all(a)["catch"](function(){})})),t,{all:function(a){var b=z(this),c=new B(b),e=c.resolve,f=c.reject,g=[],h=C(function(){n(a,!1,g.push,g);var c=g.length,h=Array(c);c?d.each.call(g,function(a,d){var g=!1;b.resolve(a).then(function(a){g||(g=!0,h[d]=a,--c||e(h))},f)}):e(h)});return h&&f(h.error),c.promise},race:function(a){var b=z(this),c=new B(b),d=c.reject,e=C(function(){n(a,!1,function(a){b.resolve(a).then(c.resolve,d)})});return e&&d(e.error),c.promise}})}(a("45")),c.exports}),a.registerDynamic("15e",["15f","135","134","156","9a"],!0,function(a,b,c){return a("15f"),a("135"),a("134"),a("156"),c.exports=a("9a").Promise,c.exports}),a.registerDynamic("160",["15e"],!0,function(a,b,c){return c.exports={"default":a("15e"),__esModule:!0},c.exports}),a.registerDynamic("161",["14b","145","9a"],!0,function(a,b,c){var d=a("14b"),e=a("145");return c.exports=a("9a").getIterator=function(a){var b=e(a);if("function"!=typeof b)throw TypeError(a+" is not iterable!");return d(b.call(a))},c.exports}),a.registerDynamic("162",["134","135","161"],!0,function(a,b,c){return a("134"),a("135"),c.exports=a("161"),c.exports}),a.registerDynamic("9c",["162"],!0,function(a,b,c){return c.exports={"default":a("162"),__esModule:!0},c.exports}),a.registerDynamic("163",["164","165"],!0,function(a,b,c){return function(b){"use strict";var d=a("164");c.exports={order:100,allowEmpty:!0,canParse:".json",parse:function(a){return new d(function(c,d){var e=a.data;b.isBuffer(e)&&(e=e.toString()),c("string"==typeof e?0===e.trim().length?void 0:JSON.parse(e):e)})}}}(a("165").Buffer),c.exports}),a.registerDynamic("166",["164","167","165"],!0,function(a,b,c){return function(b){"use strict";var d=a("164"),e=a("167");c.exports={order:200,allowEmpty:!0,canParse:[".yaml",".yml",".json"],parse:function(a){return new d(function(c,d){var f=a.data;b.isBuffer(f)&&(f=f.toString()),c("string"==typeof f?e.parse(f):f)})}}}(a("165").Buffer),c.exports}),a.registerDynamic("168",["165"],!0,function(a,b,c){return function(a){"use strict";var b=/\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;c.exports={order:300,allowEmpty:!0,encoding:"utf8",canParse:function(c){return("string"==typeof c.data||a.isBuffer(c.data))&&b.test(c.url)},parse:function(b){if("string"==typeof b.data)return b.data;if(a.isBuffer(b.data))return b.data.toString(this.encoding);throw new Error("data is not text")}}}(a("165").Buffer),c.exports}),a.registerDynamic("169",["165"],!0,function(a,b,c){return function(a){"use strict";var b=/\.(jpeg|jpg|gif|png|bmp|ico)$/i;c.exports={order:400,allowEmpty:!0,canParse:function(c){return a.isBuffer(c.data)&&b.test(c.url)},parse:function(b){return a.isBuffer(b.data)?b.data:new a(b.data)}}}(a("165").Buffer),c.exports}),a.registerDynamic("16a",[],!0,function(b,c,d){return a._nodeRequire?d.exports=a._nodeRequire("fs"):c.readFileSync=function(a){var b,c=new XMLHttpRequest;return c.open("GET",a,!1),c.onreadystatechange=function(d){if(4==c.readyState){var e=c.status;if(e>399&&600>e||400==e)throw"File read error on "+a;b=c.responseText}},c.send(null),b},d.exports}),a.registerDynamic("16b",["16a"],!0,function(a,b,c){return c.exports=a("16a"),c.exports}),a.registerDynamic("16c",["16b","16f","164","16d","16e","165"],!0,function(a,b,c){return function(b){"use strict";var d=a("16b"),e=a("16f"),f=a("164"),g=a("16d"),h=a("16e");c.exports={order:100,canRead:function(a){return g.isFileSystemPath(a.url)},read:function(a){return new f(function(b,c){var f;try{f=g.toFileSystemPath(a.url)}catch(i){c(e.uri(i,"Malformed URI: %s",a.url))}h("Opening file: %s",f);try{d.readFile(f,function(a,d){a?c(e(a,'Error opening file "%s"',f)):b(d)})}catch(i){c(e(i,'Error opening file "%s"',f))}})}}}(a("165").Buffer),c.exports}),a.registerDynamic("170",[],!0,function(a,b,c){function d(a){try{return h.responseType=a,h.responseType===a}catch(b){}return!1}function e(a){return"function"==typeof a}var f=this;b.fetch=e(f.fetch)&&e(f.ReadableByteStream),b.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),b.blobConstructor=!0}catch(g){}var h=new f.XMLHttpRequest;h.open("GET",f.location.host?"/":"https://example.com");var i="undefined"!=typeof f.ArrayBuffer,j=i&&e(f.ArrayBuffer.prototype.slice);return b.arraybuffer=i&&d("arraybuffer"),b.msstream=!b.fetch&&j&&d("ms-stream"),b.mozchunkedarraybuffer=!b.fetch&&i&&d("moz-chunked-arraybuffer"),b.overrideMimeType=e(h.overrideMimeType),b.vbArray=e(f.VBArray),h=null,c.exports}),a.registerDynamic("171",["170","172","173","165","45"],!0,function(a,b,c){var d=this;return function(c,e){var f=a("170"),g=a("172"),h=a("173"),i=b.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},j=b.IncomingMessage=function(a,b,d){function g(){m.read().then(function(a){if(!i._destroyed){if(a.done)return void i.push(null);i.push(new c(a.value)),g()}})}var i=this;if(h.Readable.call(i),i._mode=d,i.headers={},i.rawHeaders=[],i.trailers={},i.rawTrailers=[],i.on("end",function(){e.nextTick(function(){i.emit("close")})}),"fetch"===d){i._fetchResponse=b,i.url=b.url,i.statusCode=b.status,i.statusMessage=b.statusText;for(var j,k,l=b.headers[Symbol.iterator]();j=(k=l.next()).value,!k.done;)i.headers[j[0].toLowerCase()]=j[1],i.rawHeaders.push(j[0],j[1]);var m=b.body.getReader();g()}else{i._xhr=a,i._pos=0,i.url=a.responseURL,i.statusCode=a.status,i.statusMessage=a.statusText;var n=a.getAllResponseHeaders().split(/\r?\n/);if(n.forEach(function(a){var b=a.match(/^([^:]+):\s*(.*)/);if(b){var c=b[1].toLowerCase();"set-cookie"===c?(void 0===i.headers[c]&&(i.headers[c]=[]),i.headers[c].push(b[2])):void 0!==i.headers[c]?i.headers[c]+=", "+b[2]:i.headers[c]=b[2],i.rawHeaders.push(b[1],b[2])}}),i._charset="x-user-defined",!f.overrideMimeType){var o=i.rawHeaders["mime-type"];if(o){var p=o.match(/;\s*charset=([^;])(;|$)/);p&&(i._charset=p[1].toLowerCase())}i._charset||(i._charset="utf-8")}}};g(j,h.Readable),j.prototype._read=function(){},j.prototype._onXHRProgress=function(){var a=this,b=a._xhr,e=null;switch(a._mode){case"text:vbarray":if(b.readyState!==i.DONE)break;try{e=new d.VBArray(b.responseBody).toArray()}catch(f){}if(null!==e){a.push(new c(e));break}case"text":try{e=b.responseText}catch(f){a._mode="text:vbarray";break}if(e.length>a._pos){var g=e.substr(a._pos);if("x-user-defined"===a._charset){for(var h=new c(g.length),j=0;j<g.length;j++)h[j]=255&g.charCodeAt(j);a.push(h)}else a.push(g,a._charset);a._pos=e.length}break;case"arraybuffer":if(b.readyState!==i.DONE)break;e=b.response,a.push(new c(new Uint8Array(e)));break;case"moz-chunked-arraybuffer":if(e=b.response,b.readyState!==i.LOADING||!e)break;a.push(new c(new Uint8Array(e)));break;case"ms-stream":if(e=b.response,b.readyState!==i.LOADING)break;var k=new d.MSStreamReader;k.onprogress=function(){k.result.byteLength>a._pos&&(a.push(new c(new Uint8Array(k.result.slice(a._pos)))),a._pos=k.result.byteLength)},k.onload=function(){a.push(null)},k.readAsArrayBuffer(e)}a._xhr.readyState===i.DONE&&"ms-stream"!==a._mode&&a.push(null)}}(a("165").Buffer,a("45")),c.exports}),a.registerDynamic("174",["165"],!0,function(a,b,c){return function(c){function d(a){if(a&&!h(a))throw new Error("Unknown encoding: "+a)}function e(a){return a.toString(this.encoding)}function f(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function g(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}var c=a("165").Buffer,h=c.isEncoding||function(a){switch(a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},i=b.StringDecoder=function(a){switch(this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),d(a),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=g;break;default:return void(this.write=e)}this.charBuffer=new c(6),this.charReceived=0,this.charLength=0};i.prototype.write=function(a){for(var b="";this.charLength;){var c=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived<this.charLength)return"";a=a.slice(c,a.length),b=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=b.charCodeAt(b.length-1);if(!(d>=55296&&56319>=d)){if(this.charReceived=this.charLength=0,0===a.length)return b;break}this.charLength+=this.surrogateSize,b=""}this.detectIncompleteChar(a);var e=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,e),e-=this.charReceived),b+=a.toString(this.encoding,0,e);var e=b.length-1,d=b.charCodeAt(e);if(d>=55296&&56319>=d){var f=this.surrogateSize;return this.charLength+=f,this.charReceived+=f,this.charBuffer.copy(this.charBuffer,f,0,f),a.copy(this.charBuffer,0,0,f),b.substring(0,e)}return b},i.prototype.detectIncompleteChar=function(a){for(var b=a.length>=3?3:a.length;b>0;b--){var c=a[a.length-b];if(1==b&&c>>5==6){this.charLength=2;break}if(2>=b&&c>>4==14){this.charLength=3;break}if(3>=b&&c>>3==30){this.charLength=4;break}}this.charReceived=b},i.prototype.end=function(a){var b="";if(a&&a.length&&(b=this.write(a)),this.charReceived){var c=this.charReceived,d=this.charBuffer,e=this.encoding;b+=d.slice(0,c).toString(e)}return b}}(a("165").Buffer),c.exports}),a.registerDynamic("175",["174"],!0,function(a,b,c){return c.exports=a("174"),c.exports}),a.registerDynamic("176",["178","179","165","17a","17b","172","@empty","177","175","45"],!0,function(a,b,c){return function(b,d){"use strict";function e(b,c){I=I||a("177"),b=b||{},this.objectMode=!!b.objectMode,c instanceof I&&(this.objectMode=this.objectMode||!!b.readableObjectMode);var d=b.highWaterMark,e=this.objectMode?16:16384;this.highWaterMark=d||0===d?d:e,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=b.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,b.encoding&&(H||(H=a("175").StringDecoder),this.decoder=new H(b.encoding),this.encoding=b.encoding)}function f(b){return I=I||a("177"),this instanceof f?(this._readableState=new e(b,this),this.readable=!0,b&&"function"==typeof b.read&&(this._read=b.read),void C.call(this)):new f(b)}function g(a,b,c,d,e){var f=k(b,c);if(f)a.emit("error",f);else if(null===c)b.reading=!1,l(a,b);else if(b.objectMode||c&&c.length>0)if(b.ended&&!e){var g=new Error("stream.push() after EOF");a.emit("error",g)}else if(b.endEmitted&&e){var g=new Error("stream.unshift() after end event");a.emit("error",g)}else{var i;!b.decoder||e||d||(c=b.decoder.write(c),i=!b.objectMode&&0===c.length),e||(b.reading=!1),i||(b.flowing&&0===b.length&&!b.sync?(a.emit("data",c),a.read(0)):(b.length+=b.objectMode?1:c.length,e?b.buffer.unshift(c):b.buffer.push(c),b.needReadable&&m(a))),o(a,b)}else e||(b.reading=!1);return h(b)}function h(a){return!a.ended&&(a.needReadable||a.length<a.highWaterMark||0===a.length)}function i(a){return a>=J?a=J:(a--,a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a++),a}function j(a,b){return 0===b.length&&b.ended?0:b.objectMode?0===a?0:1:null===a||isNaN(a)?b.flowing&&b.buffer.length?b.buffer[0].length:b.length:0>=a?0:(a>b.highWaterMark&&(b.highWaterMark=i(a)),a>b.length?b.ended?b.length:(b.needReadable=!0,0):a)}function k(a,c){var d=null;return b.isBuffer(c)||"string"==typeof c||null===c||void 0===c||a.objectMode||(d=new TypeError("Invalid non-string/buffer chunk")),d}function l(a,b){if(!b.ended){if(b.decoder){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,m(a)}}function m(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(G("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?A(n,a):n(a))}function n(a){G("emit readable"),a.emit("readable"),u(a)}function o(a,b){b.readingMore||(b.readingMore=!0,A(p,a,b))}function p(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length<b.highWaterMark&&(G("maybeReadMore read 0"),a.read(0),c!==b.length);)c=b.length;b.readingMore=!1}function q(a){return function(){var b=a._readableState;G("pipeOnDrain",b.awaitDrain),b.awaitDrain&&b.awaitDrain--,0===b.awaitDrain&&D(a,"data")&&(b.flowing=!0,u(a))}}function r(a){G("readable nexttick read 0"),a.read(0)}function s(a,b){b.resumeScheduled||(b.resumeScheduled=!0,A(t,a,b))}function t(a,b){b.reading||(G("resume read 0"),a.read(0)),b.resumeScheduled=!1,a.emit("resume"),u(a),b.flowing&&!b.reading&&a.read(0)}function u(a){var b=a._readableState;if(G("flow",b.flowing),b.flowing)do var c=a.read();while(null!==c&&b.flowing)}function v(a,c){var d,e=c.buffer,f=c.length,g=!!c.decoder,h=!!c.objectMode;if(0===e.length)return null;if(0===f)d=null;else if(h)d=e.shift();else if(!a||a>=f)d=g?e.join(""):1===e.length?e[0]:b.concat(e,f),e.length=0;else if(a<e[0].length){var i=e[0];d=i.slice(0,a),e[0]=i.slice(a)}else if(a===e[0].length)d=e.shift();else{d=g?"":new b(a);for(var j=0,k=0,l=e.length;l>k&&a>j;k++){var i=e[0],m=Math.min(a-j,i.length);g?d+=i.slice(0,m):i.copy(d,j,0,m),m<i.length?e[0]=i.slice(m):e.shift(),j+=m}}return d}function w(a){var b=a._readableState;if(b.length>0)throw new Error("endReadable called on non-empty stream");b.endEmitted||(b.ended=!0,A(x,b,a))}function x(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function y(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}function z(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1}c.exports=f;var A=a("178"),B=a("179"),b=a("165").Buffer;f.ReadableState=e;var C,D=(a("17a"),function(a,b){return a.listeners(b).length});!function(){try{C=a("stream")}catch(b){}finally{C||(C=a("17a").EventEmitter)}}();var b=a("165").Buffer,E=a("17b");E.inherits=a("172");var F=a("@empty"),G=void 0;G=F&&F.debuglog?F.debuglog("stream"):function(){};var H;E.inherits(f,C);var I,I;f.prototype.push=function(a,c){var d=this._readableState;return d.objectMode||"string"!=typeof a||(c=c||d.defaultEncoding,c!==d.encoding&&(a=new b(a,c),c="")),g(this,d,a,c,!1)},f.prototype.unshift=function(a){var b=this._readableState;return g(this,b,a,"",!0)},f.prototype.isPaused=function(){return this._readableState.flowing===!1},f.prototype.setEncoding=function(b){return H||(H=a("175").StringDecoder),this._readableState.decoder=new H(b),this._readableState.encoding=b,this};var J=8388608;f.prototype.read=function(a){G("read",a);var b=this._readableState,c=a;if(("number"!=typeof a||a>0)&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return G("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?w(this):m(this),null;if(a=j(a,b),0===a&&b.ended)return 0===b.length&&w(this),null;var d=b.needReadable;G("need readable",d),(0===b.length||b.length-a<b.highWaterMark)&&(d=!0,G("length less than watermark",d)),(b.ended||b.reading)&&(d=!1,G("reading or ended",d)),d&&(G("do read"),b.reading=!0,b.sync=!0,0===b.length&&(b.needReadable=!0),this._read(b.highWaterMark),b.sync=!1),d&&!b.reading&&(a=j(c,b));var e;return e=a>0?v(a,b):null,null===e&&(b.needReadable=!0,a=0),b.length-=a,0!==b.length||b.ended||(b.needReadable=!0),c!==a&&b.ended&&0===b.length&&w(this),null!==e&&this.emit("data",e),e},f.prototype._read=function(a){this.emit("error",new Error("not implemented"))},f.prototype.pipe=function(a,b){function c(a){G("onunpipe"),a===l&&f()}function e(){G("onend"),a.end()}function f(){G("cleanup"),a.removeListener("close",i),a.removeListener("finish",j),a.removeListener("drain",p),a.removeListener("error",h),a.removeListener("unpipe",c),l.removeListener("end",e),l.removeListener("end",f),l.removeListener("data",g),r=!0,!m.awaitDrain||a._writableState&&!a._writableState.needDrain||p()}function g(b){G("ondata");var c=a.write(b);!1===c&&(1!==m.pipesCount||m.pipes[0]!==a||1!==l.listenerCount("data")||r||(G("false write response, pause",l._readableState.awaitDrain),l._readableState.awaitDrain++),l.pause())}function h(b){G("onerror",b),k(),a.removeListener("error",h),0===D(a,"error")&&a.emit("error",b)}function i(){a.removeListener("finish",j),k()}function j(){G("onfinish"),a.removeListener("close",i),k()}function k(){G("unpipe"),l.unpipe(a)}var l=this,m=this._readableState;switch(m.pipesCount){case 0:m.pipes=a;break;case 1:m.pipes=[m.pipes,a];break;default:m.pipes.push(a)}m.pipesCount+=1,G("pipe count=%d opts=%j",m.pipesCount,b);var n=(!b||b.end!==!1)&&a!==d.stdout&&a!==d.stderr,o=n?e:f;m.endEmitted?A(o):l.once("end",o),a.on("unpipe",c);var p=q(l);a.on("drain",p);var r=!1;return l.on("data",g),a._events&&a._events.error?B(a._events.error)?a._events.error.unshift(h):a._events.error=[h,a._events.error]:a.on("error",h),a.once("close",i),
|
||
a.once("finish",j),a.emit("pipe",l),m.flowing||(G("pipe resume"),l.resume()),a},f.prototype.unpipe=function(a){var b=this._readableState;if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes?this:(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this),this);if(!a){var c=b.pipes,d=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var e=0;d>e;e++)c[e].emit("unpipe",this);return this}var f=z(b.pipes,a);return-1===f?this:(b.pipes.splice(f,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this),this)},f.prototype.on=function(a,b){var c=C.prototype.on.call(this,a,b);if("data"===a&&!1!==this._readableState.flowing&&this.resume(),"readable"===a&&!this._readableState.endEmitted){var d=this._readableState;d.readableListening||(d.readableListening=!0,d.emittedReadable=!1,d.needReadable=!0,d.reading?d.length&&m(this,d):A(r,this))}return c},f.prototype.addListener=f.prototype.on,f.prototype.resume=function(){var a=this._readableState;return a.flowing||(G("resume"),a.flowing=!0,s(this,a)),this},f.prototype.pause=function(){return G("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(G("pause"),this._readableState.flowing=!1,this.emit("pause")),this},f.prototype.wrap=function(a){var b=this._readableState,c=!1,d=this;a.on("end",function(){if(G("wrapped end"),b.decoder&&!b.ended){var a=b.decoder.end();a&&a.length&&d.push(a)}d.push(null)}),a.on("data",function(e){if(G("wrapped data"),b.decoder&&(e=b.decoder.write(e)),(!b.objectMode||null!==e&&void 0!==e)&&(b.objectMode||e&&e.length)){var f=d.push(e);f||(c=!0,a.pause())}});for(var e in a)void 0===this[e]&&"function"==typeof a[e]&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));var f=["error","close","destroy","pause","resume"];return y(f,function(b){a.on(b,d.emit.bind(d,b))}),d._read=function(b){G("wrapped _read",b),c&&(c=!1,a.resume())},d},f._fromList=v}(a("165").Buffer,a("45")),c.exports}),a.registerDynamic("17c",["45"],!0,function(a,b,c){return function(a){"use strict";function b(b){for(var c=new Array(arguments.length-1),d=0;d<c.length;)c[d++]=arguments[d];a.nextTick(function(){b.apply(null,c)})}!a.version||0===a.version.indexOf("v0.")||0===a.version.indexOf("v1.")&&0!==a.version.indexOf("v1.8.")?c.exports=b:c.exports=a.nextTick}(a("45")),c.exports}),a.registerDynamic("178",["17c"],!0,function(a,b,c){return c.exports=a("17c"),c.exports}),a.registerDynamic("17d",[],!0,function(a,b,c){function d(a,b){function c(){if(!d){if(e("throwDeprecation"))throw new Error(b);e("traceDeprecation")?console.trace(b):console.warn(b),d=!0}return a.apply(this,arguments)}if(e("noDeprecation"))return a;var d=!1;return c}function e(a){try{if(!f.localStorage)return!1}catch(b){return!1}var c=f.localStorage[a];return null==c?!1:"true"===String(c).toLowerCase()}var f=this;return c.exports=d,c.exports}),a.registerDynamic("17e",["17d"],!0,function(a,b,c){return c.exports=a("17d"),c.exports}),a.registerDynamic("17f",[],!0,function(a,b,c){function d(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function e(a){return"function"==typeof a}function f(a){return"number"==typeof a}function g(a){return"object"==typeof a&&null!==a}function h(a){return void 0===a}return c.exports=d,d.EventEmitter=d,d.prototype._events=void 0,d.prototype._maxListeners=void 0,d.defaultMaxListeners=10,d.prototype.setMaxListeners=function(a){if(!f(a)||0>a||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},d.prototype.emit=function(a){var b,c,d,f,i,j;if(this._events||(this._events={}),"error"===a&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){if(b=arguments[1],b instanceof Error)throw b;throw TypeError('Uncaught, unspecified "error" event.')}if(c=this._events[a],h(c))return!1;if(e(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:for(d=arguments.length,f=new Array(d-1),i=1;d>i;i++)f[i-1]=arguments[i];c.apply(this,f)}else if(g(c)){for(d=arguments.length,f=new Array(d-1),i=1;d>i;i++)f[i-1]=arguments[i];for(j=c.slice(),d=j.length,i=0;d>i;i++)j[i].apply(this,f)}return!0},d.prototype.addListener=function(a,b){var c;if(!e(b))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",a,e(b.listener)?b.listener:b),this._events[a]?g(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,g(this._events[a])&&!this._events[a].warned){var c;c=h(this._maxListeners)?d.defaultMaxListeners:this._maxListeners,c&&c>0&&this._events[a].length>c&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"==typeof console.trace&&console.trace())}return this},d.prototype.on=d.prototype.addListener,d.prototype.once=function(a,b){function c(){this.removeListener(a,c),d||(d=!0,b.apply(this,arguments))}if(!e(b))throw TypeError("listener must be a function");var d=!1;return c.listener=b,this.on(a,c),this},d.prototype.removeListener=function(a,b){var c,d,f,h;if(!e(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(c=this._events[a],f=c.length,d=-1,c===b||e(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(g(c)){for(h=f;h-- >0;)if(c[h]===b||c[h].listener&&c[h].listener===b){d=h;break}if(0>d)return this;1===c.length?(c.length=0,delete this._events[a]):c.splice(d,1),this._events.removeListener&&this.emit("removeListener",a,b)}return this},d.prototype.removeAllListeners=function(a){var b,c;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[a],e(c))this.removeListener(a,c);else for(;c.length;)this.removeListener(a,c[c.length-1]);return delete this._events[a],this},d.prototype.listeners=function(a){var b;return b=this._events&&this._events[a]?e(this._events[a])?[this._events[a]]:this._events[a].slice():[]},d.listenerCount=function(a,b){var c;return c=a._events&&a._events[b]?e(a._events[b])?1:a._events[b].length:0},c.exports}),a.registerDynamic("180",["17f"],!0,function(a,b,c){return c.exports=a("17f"),c.exports}),a.registerDynamic("181",["180"],!0,function(b,c,d){return d.exports=a._nodeRequire?a._nodeRequire("events"):b("180"),d.exports}),a.registerDynamic("17a",["181"],!0,function(a,b,c){return c.exports=a("181"),c.exports}),a.registerDynamic("182",["178","165","17b","172","17e","17a","177","45"],!0,function(a,b,c){return function(b,d){"use strict";function e(){}function f(a,b,c){this.chunk=a,this.encoding=b,this.callback=c,this.next=null}function g(b,c){D=D||a("177"),b=b||{},this.objectMode=!!b.objectMode,c instanceof D&&(this.objectMode=this.objectMode||!!b.writableObjectMode);var d=b.highWaterMark,e=this.objectMode?16:16384;this.highWaterMark=d||0===d?d:e,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var f=b.decodeStrings===!1;this.decodeStrings=!f,this.defaultEncoding=b.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){p(c,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new x(this),this.corkedRequestsFree.next=new x(this)}function h(b){return D=D||a("177"),this instanceof h||this instanceof D?(this._writableState=new g(b,this),this.writable=!0,b&&("function"==typeof b.write&&(this._write=b.write),"function"==typeof b.writev&&(this._writev=b.writev)),void B.call(this)):new h(b)}function i(a,b){var c=new Error("write after end");a.emit("error",c),y(b,c)}function j(a,c,d,e){var f=!0;if(!b.isBuffer(d)&&"string"!=typeof d&&null!==d&&void 0!==d&&!c.objectMode){var g=new TypeError("Invalid non-string/buffer chunk");a.emit("error",g),y(e,g),f=!1}return f}function k(a,c,d){return a.objectMode||a.decodeStrings===!1||"string"!=typeof c||(c=new b(c,d)),c}function l(a,c,d,e,g){d=k(c,d,e),b.isBuffer(d)&&(e="buffer");var h=c.objectMode?1:d.length;c.length+=h;var i=c.length<c.highWaterMark;if(i||(c.needDrain=!0),c.writing||c.corked){var j=c.lastBufferedRequest;c.lastBufferedRequest=new f(d,e,g),j?j.next=c.lastBufferedRequest:c.bufferedRequest=c.lastBufferedRequest,c.bufferedRequestCount+=1}else m(a,c,!1,h,d,e,g);return i}function m(a,b,c,d,e,f,g){b.writelen=d,b.writecb=g,b.writing=!0,b.sync=!0,c?a._writev(e,b.onwrite):a._write(e,f,b.onwrite),b.sync=!1}function n(a,b,c,d,e){--b.pendingcb,c?y(e,d):e(d),a._writableState.errorEmitted=!0,a.emit("error",d)}function o(a){a.writing=!1,a.writecb=null,a.length-=a.writelen,a.writelen=0}function p(a,b){var c=a._writableState,d=c.sync,e=c.writecb;if(o(c),b)n(a,c,d,b,e);else{var f=t(c);f||c.corked||c.bufferProcessing||!c.bufferedRequest||s(a,c),d?z(q,a,c,f,e):q(a,c,f,e)}}function q(a,b,c,d){c||r(a,b),b.pendingcb--,d(),v(a,b)}function r(a,b){0===b.length&&b.needDrain&&(b.needDrain=!1,a.emit("drain"))}function s(a,b){b.bufferProcessing=!0;var c=b.bufferedRequest;if(a._writev&&c&&c.next){var d=b.bufferedRequestCount,e=new Array(d),f=b.corkedRequestsFree;f.entry=c;for(var g=0;c;)e[g]=c,c=c.next,g+=1;m(a,b,!0,b.length,e,"",f.finish),b.pendingcb++,b.lastBufferedRequest=null,b.corkedRequestsFree=f.next,f.next=null}else{for(;c;){var h=c.chunk,i=c.encoding,j=c.callback,k=b.objectMode?1:h.length;if(m(a,b,!1,k,h,i,j),c=c.next,b.writing)break}null===c&&(b.lastBufferedRequest=null)}b.bufferedRequestCount=0,b.bufferedRequest=c,b.bufferProcessing=!1}function t(a){return a.ending&&0===a.length&&null===a.bufferedRequest&&!a.finished&&!a.writing}function u(a,b){b.prefinished||(b.prefinished=!0,a.emit("prefinish"))}function v(a,b){var c=t(b);return c&&(0===b.pendingcb?(u(a,b),b.finished=!0,a.emit("finish")):u(a,b)),c}function w(a,b,c){b.ending=!0,v(a,b),c&&(b.finished?y(c):a.once("finish",c)),b.ended=!0,a.writable=!1}function x(a){var b=this;this.next=null,this.entry=null,this.finish=function(c){var d=b.entry;for(b.entry=null;d;){var e=d.callback;a.pendingcb--,e(c),d=d.next}a.corkedRequestsFree?a.corkedRequestsFree.next=b:a.corkedRequestsFree=b}}c.exports=h;var y=a("178"),z=!d.browser&&["v0.10","v0.9."].indexOf(d.version.slice(0,5))>-1?setImmediate:y,b=a("165").Buffer;h.WritableState=g;var A=a("17b");A.inherits=a("172");var B,C={deprecate:a("17e")};!function(){try{B=a("stream")}catch(b){}finally{B||(B=a("17a").EventEmitter)}}();var b=a("165").Buffer;A.inherits(h,B);var D;g.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b},function(){try{Object.defineProperty(g.prototype,"buffer",{get:C.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(a){}}();var D;h.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},h.prototype.write=function(a,c,d){var f=this._writableState,g=!1;return"function"==typeof c&&(d=c,c=null),b.isBuffer(a)?c="buffer":c||(c=f.defaultEncoding),"function"!=typeof d&&(d=e),f.ended?i(this,d):j(this,f,a,d)&&(f.pendingcb++,g=l(this,f,a,c,d)),g},h.prototype.cork=function(){var a=this._writableState;a.corked++},h.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.bufferedRequest||s(this,a))},h.prototype.setDefaultEncoding=function(a){if("string"==typeof a&&(a=a.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((a+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+a);this._writableState.defaultEncoding=a},h.prototype._write=function(a,b,c){c(new Error("not implemented"))},h.prototype._writev=null,h.prototype.end=function(a,b,c){var d=this._writableState;"function"==typeof a?(c=a,a=null,b=null):"function"==typeof b&&(c=b,b=null),null!==a&&void 0!==a&&this.write(a,b),d.corked&&(d.corked=1,this.uncork()),d.ending||d.finished||w(this,d,c)}}(a("165").Buffer,a("45")),c.exports}),a.registerDynamic("177",["178","17b","172","176","182","45"],!0,function(a,b,c){return function(b){"use strict";function d(a){return this instanceof d?(j.call(this,a),k.call(this,a),a&&a.readable===!1&&(this.readable=!1),a&&a.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,a&&a.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",e)):new d(a)}function e(){this.allowHalfOpen||this._writableState.ended||h(f,this)}function f(a){a.end()}var g=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b};c.exports=d;var h=a("178"),i=a("17b");i.inherits=a("172");var j=a("176"),k=a("182");i.inherits(d,j);for(var l=g(k.prototype),m=0;m<l.length;m++){var n=l[m];d.prototype[n]||(d.prototype[n]=k.prototype[n])}}(a("45")),c.exports}),a.registerDynamic("183",["177","17b","172","45"],!0,function(a,b,c){return function(b){"use strict";function d(a){this.afterTransform=function(b,c){return e(a,b,c)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function e(a,b,c){var d=a._transformState;d.transforming=!1;var e=d.writecb;if(!e)return a.emit("error",new Error("no writecb in Transform class"));d.writechunk=null,d.writecb=null,null!==c&&void 0!==c&&a.push(c),e(b);var f=a._readableState;f.reading=!1,(f.needReadable||f.length<f.highWaterMark)&&a._read(f.highWaterMark)}function f(a){if(!(this instanceof f))return new f(a);h.call(this,a),this._transformState=new d(this);var b=this;this._readableState.needReadable=!0,this._readableState.sync=!1,a&&("function"==typeof a.transform&&(this._transform=a.transform),"function"==typeof a.flush&&(this._flush=a.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(a){g(b,a)}):g(b)})}function g(a,b){if(b)return a.emit("error",b);var c=a._writableState,d=a._transformState;if(c.length)throw new Error("calling transform done when ws.length != 0");if(d.transforming)throw new Error("calling transform done when still transforming");return a.push(null)}c.exports=f;var h=a("177"),i=a("17b");i.inherits=a("172"),i.inherits(f,h),f.prototype.push=function(a,b){return this._transformState.needTransform=!1,h.prototype.push.call(this,a,b)},f.prototype._transform=function(a,b,c){throw new Error("not implemented")},f.prototype._write=function(a,b,c){var d=this._transformState;if(d.writecb=c,d.writechunk=a,d.writeencoding=b,!d.transforming){var e=this._readableState;(d.needTransform||e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}},f.prototype._read=function(a){var b=this._transformState;null!==b.writechunk&&b.writecb&&!b.transforming?(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform)):b.needTransform=!0}}(a("45")),c.exports}),a.registerDynamic("184",["165"],!0,function(a,b,c){return function(a){function c(a){return Array.isArray?Array.isArray(a):"[object Array]"===q(a)}function d(a){return"boolean"==typeof a}function e(a){return null===a}function f(a){return null==a}function g(a){return"number"==typeof a}function h(a){return"string"==typeof a}function i(a){return"symbol"==typeof a}function j(a){return void 0===a}function k(a){return"[object RegExp]"===q(a)}function l(a){return"object"==typeof a&&null!==a}function m(a){return"[object Date]"===q(a)}function n(a){return"[object Error]"===q(a)||a instanceof Error}function o(a){return"function"==typeof a}function p(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||"undefined"==typeof a}function q(a){return Object.prototype.toString.call(a)}b.isArray=c,b.isBoolean=d,b.isNull=e,b.isNullOrUndefined=f,b.isNumber=g,b.isString=h,b.isSymbol=i,b.isUndefined=j,b.isRegExp=k,b.isObject=l,b.isDate=m,b.isError=n,b.isFunction=o,b.isPrimitive=p,b.isBuffer=a.isBuffer}(a("165").Buffer),c.exports}),a.registerDynamic("17b",["184"],!0,function(a,b,c){return c.exports=a("184"),c.exports}),a.registerDynamic("185",["183","17b","172"],!0,function(a,b,c){"use strict";function d(a){return this instanceof d?void e.call(this,a):new d(a)}c.exports=d;var e=a("183"),f=a("17b");return f.inherits=a("172"),f.inherits(d,e),d.prototype._transform=function(a,b,c){c(null,a)},c.exports}),a.registerDynamic("186",["176","182","177","183","185","45"],!0,function(a,b,c){return function(d){var e=function(){try{return a("stream")}catch(b){}}();b=c.exports=a("176"),b.Stream=e||b,b.Readable=b,b.Writable=a("182"),b.Duplex=a("177"),b.Transform=a("183"),b.PassThrough=a("185"),!d.browser&&"disable"===d.env.READABLE_STREAM&&e&&(c.exports=e)}(a("45")),c.exports}),a.registerDynamic("173",["186"],!0,function(a,b,c){return c.exports=a("186"),c.exports}),a.registerDynamic("187",["165"],!0,function(a,b,c){return function(b){var b=a("165").Buffer;c.exports=function(a){if(a instanceof Uint8Array){if(0===a.byteOffset&&a.byteLength===a.buffer.byteLength)return a.buffer;if("function"==typeof a.buffer.slice)return a.buffer.slice(a.byteOffset,a.byteOffset+a.byteLength)}if(b.isBuffer(a)){for(var c=new Uint8Array(a.length),d=a.length,e=0;d>e;e++)c[e]=a[e];return c.buffer}throw new Error("Argument must be a Buffer")}}(a("165").Buffer),c.exports}),a.registerDynamic("188",["187"],!0,function(a,b,c){return c.exports=a("187"),c.exports}),a.registerDynamic("189",["170","172","171","173","188","165","45"],!0,function(a,b,c){var d=this;return function(b,e){function f(a){return h.fetch?"fetch":h.mozchunkedarraybuffer?"moz-chunked-arraybuffer":h.msstream?"ms-stream":h.arraybuffer&&a?"arraybuffer":h.vbArray&&a?"text:vbarray":"text"}function g(a){try{var b=a.status;return null!==b&&0!==b}catch(c){return!1}}var h=a("170"),i=a("172"),j=a("171"),k=a("173"),l=a("188"),m=j.IncomingMessage,n=j.readyStates,o=c.exports=function(a){var c=this;k.Writable.call(c),c._opts=a,c._body=[],c._headers={},a.auth&&c.setHeader("Authorization","Basic "+new b(a.auth).toString("base64")),Object.keys(a.headers).forEach(function(b){c.setHeader(b,a.headers[b])});var d;if("prefer-streaming"===a.mode)d=!1;else if("allow-wrong-content-type"===a.mode)d=!h.overrideMimeType;else{if(a.mode&&"default"!==a.mode&&"prefer-fast"!==a.mode)throw new Error("Invalid value for opts.mode");d=!0}c._mode=f(d),c.on("finish",function(){c._onFinish()})};i(o,k.Writable),o.prototype.setHeader=function(a,b){var c=this,d=a.toLowerCase();-1===p.indexOf(d)&&(c._headers[d]={name:a,value:b})},o.prototype.getHeader=function(a){var b=this;return b._headers[a.toLowerCase()].value},o.prototype.removeHeader=function(a){var b=this;delete b._headers[a.toLowerCase()]},o.prototype._onFinish=function(){var a=this;if(!a._destroyed){var c,f=a._opts,g=a._headers;if("POST"!==f.method&&"PUT"!==f.method&&"PATCH"!==f.method||(c=h.blobConstructor?new d.Blob(a._body.map(function(a){return l(a)}),{type:(g["content-type"]||{}).value||""}):b.concat(a._body).toString()),"fetch"===a._mode){var i=Object.keys(g).map(function(a){return[g[a].name,g[a].value]});d.fetch(a._opts.url,{method:a._opts.method,headers:i,body:c,mode:"cors",credentials:f.withCredentials?"include":"same-origin"}).then(function(b){a._fetchResponse=b,a._connect()},function(b){a.emit("error",b)})}else{var j=a._xhr=new d.XMLHttpRequest;try{j.open(a._opts.method,a._opts.url,!0)}catch(k){return void e.nextTick(function(){a.emit("error",k)})}"responseType"in j&&(j.responseType=a._mode.split(":")[0]),"withCredentials"in j&&(j.withCredentials=!!f.withCredentials),"text"===a._mode&&"overrideMimeType"in j&&j.overrideMimeType("text/plain; charset=x-user-defined"),Object.keys(g).forEach(function(a){j.setRequestHeader(g[a].name,g[a].value)}),a._response=null,j.onreadystatechange=function(){switch(j.readyState){case n.LOADING:case n.DONE:a._onXHRProgress()}},"moz-chunked-arraybuffer"===a._mode&&(j.onprogress=function(){a._onXHRProgress()}),j.onerror=function(){a._destroyed||a.emit("error",new Error("XHR error"))};try{j.send(c)}catch(k){return void e.nextTick(function(){a.emit("error",k)})}}}},o.prototype._onXHRProgress=function(){var a=this;g(a._xhr)&&!a._destroyed&&(a._response||a._connect(),a._response._onXHRProgress())},o.prototype._connect=function(){var a=this;a._destroyed||(a._response=new m(a._xhr,a._fetchResponse,a._mode),a.emit("response",a._response))},o.prototype._write=function(a,b,c){var d=this;d._body.push(a),c()},o.prototype.abort=o.prototype.destroy=function(){var a=this;a._destroyed=!0,a._response&&(a._response._destroyed=!0),a._xhr&&a._xhr.abort()},o.prototype.end=function(a,b,c){var d=this;"function"==typeof a&&(c=a,a=void 0),k.Writable.prototype.end.call(d,a,b,c)},o.prototype.flushHeaders=function(){},o.prototype.setTimeout=function(){},o.prototype.setNoDelay=function(){},o.prototype.setSocketKeepAlive=function(){};var p=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}(a("165").Buffer,a("45")),c.exports}),a.registerDynamic("18a",[],!0,function(a,b,c){function d(){for(var a={},b=0;b<arguments.length;b++){var c=arguments[b];for(var d in c)e.call(c,d)&&(a[d]=c[d])}return a}c.exports=d;var e=Object.prototype.hasOwnProperty;return c.exports}),a.registerDynamic("18b",["18a"],!0,function(a,b,c){return c.exports=a("18a"),c.exports}),a.registerDynamic("18c",[],!0,function(a,b,c){return c.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},c.exports}),a.registerDynamic("18d",["18c"],!0,function(a,b,c){return c.exports=a("18c"),c.exports}),a.registerDynamic("18e",["189","18b","18d","18f"],!0,function(a,b,c){var d=this,e=a("189"),f=a("18b"),g=a("18d"),h=a("18f"),i=b;return i.request=function(a,b){a="string"==typeof a?h.parse(a):f(a);var c=-1===d.location.protocol.search(/^https?:$/)?"http:":"",g=a.protocol||c,i=a.hostname||a.host,j=a.port,k=a.path||"/";i&&-1!==i.indexOf(":")&&(i="["+i+"]"),a.url=(i?g+"//"+i:"")+(j?":"+j:"")+k,a.method=(a.method||"GET").toUpperCase(),a.headers=a.headers||{};var l=new e(a);return b&&l.on("response",b),l},i.get=function(a,b){var c=i.request(a,b);return c.end(),c},i.Agent=function(){},i.Agent.defaultMaxSockets=4,i.STATUS_CODES=g,i.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"],c.exports}),a.registerDynamic("190",["18e"],!0,function(a,b,c){return c.exports=a("18e"),c.exports}),a.registerDynamic("191",["190","16f","16d","16e","164","165","45"],!0,function(a,b,c){return function(b,d){"use strict";function e(a,c,d){return new l(function(g,h){a=j.parse(a),d=d||[],d.push(a.href),f(a,c).then(function(f){if(f.statusCode>=400)throw i({status:f.statusCode},"HTTP ERROR %d",f.statusCode);if(f.statusCode>=300)if(d.length>c.redirects)h(i({status:f.statusCode},"Error downloading %s. \nToo many redirects: \n %s",d[0],d.join(" \n ")));else{if(!f.headers.location)throw i({status:f.statusCode},"HTTP %d redirect with no location header",f.statusCode);k("HTTP %d redirect %s -> %s",f.statusCode,a.href,f.headers.location);var l=j.resolve(a,f.headers.location);e(l,c,d).then(g,h)}else g(f.body||new b(0))})["catch"](function(b){h(i(b,"Error downloading",a.href))})})}function f(a,c){return new l(function(d,e){k("GET",a.href);var f="https:"===a.protocol?h:g,i=f.get({hostname:a.hostname,port:a.port,path:a.path,auth:a.auth,headers:c.headers||{},withCredentials:c.withCredentials});"function"==typeof i.setTimeout&&i.setTimeout(c.timeout),i.on("timeout",function(){i.abort()}),i.on("error",e),i.once("response",function(a){a.body=new b(0),a.on("data",function(c){a.body=b.concat([a.body,new b(c)])}),a.on("error",e),a.on("end",function(){d(a)})})})}var g=a("190"),h=a("190"),i=a("16f"),j=a("16d"),k=a("16e"),l=a("164");c.exports={order:200,headers:null,timeout:5e3,redirects:5,withCredentials:!1,canRead:function(a){return j.isHttp(a.url)},read:function(a){var b=j.parse(a.url);return d.browser&&!b.protocol&&(b.protocol=j.parse(location.href).protocol),e(b,this)}}}(a("165").Buffer,a("45")),c.exports}),a.registerDynamic("192",["165","45"],!0,function(a,b,c){return function(a,b){"use strict";c.exports={order:100,canValidate:function(a){return!!a.resolved},validate:function(a){}}}(a("165").Buffer,a("45")),c.exports}),a.registerDynamic("193",["163","166","168","169","16c","191","192"],!0,function(a,b,c){"use strict";function d(a){e(this,d.defaults),e(this,a)}function e(a,b){if(f(b))for(var c=Object.keys(b),d=0;d<c.length;d++){var g=c[d],h=b[g],i=a[g];f(h)?a[g]=e(i||{},h):void 0!==h&&(a[g]=h)}return a}function f(a){return a&&"object"==typeof a&&!Array.isArray(a)&&!(a instanceof RegExp)&&!(a instanceof Date)}var g=a("163"),h=a("166"),i=a("168"),j=a("169"),k=a("16c"),l=a("191"),m=a("192");return c.exports=d,d.defaults={parse:{json:g,yaml:h,text:i,binary:j},resolve:{file:k,http:l,external:!0},dereference:{circular:!0},validate:{zschema:m}},c.exports}),a.registerDynamic("194",["16f","195","16d"],!0,function(a,b,c){"use strict";function d(){this.circular=!1,this._$refs={},this._root$Ref=null}function e(a,b){var c=Object.keys(a);return b=Array.isArray(b[0])?b[0]:Array.prototype.slice.call(b),b.length>0&&b[0]&&(c=c.filter(function(c){return-1!==b.indexOf(a[c].pathType)})),c.map(function(b){return{encoded:b,decoded:"file"===a[b].pathType?h.toFileSystemPath(b,!0):b}})}var f=a("16f"),g=a("195"),h=a("16d");return c.exports=d,d.prototype.paths=function(a){var b=e(this._$refs,arguments);return b.map(function(a){return a.decoded})},d.prototype.values=function(a){var b=this._$refs,c=e(b,arguments);return c.reduce(function(a,c){return a[c.decoded]=b[c.encoded].value,a},{})},d.prototype.toJSON=d.prototype.values,d.prototype.exists=function(a,b){try{return this._resolve(a,b),!0}catch(c){return!1}},d.prototype.get=function(a,b){return this._resolve(a,b).value},d.prototype.set=function(a,b){a=h.resolve(this._root$Ref.path,a);var c=h.stripHash(a),d=this._$refs[c];if(!d)throw f('Error resolving $ref pointer "%s". \n"%s" not found.',a,c);d.set(a,b)},d.prototype._add=function(a,b){var c=h.stripHash(a),d=new g;return d.path=c,d.value=b,d.$refs=this,this._$refs[c]=d,this._root$Ref=this._root$Ref||d,d},d.prototype._resolve=function(a,b){a=h.resolve(this._root$Ref.path,a);var c=h.stripHash(a),d=this._$refs[c];if(!d)throw f('Error resolving $ref pointer "%s". \n"%s" not found.',a,c);return d.resolve(a,b)},d.prototype._get$Ref=function(a){a=h.resolve(this._root$Ref.path,a);var b=h.stripHash(a);return this._$refs[b]},c.exports}),a.registerDynamic("196",["164","16e"],!0,function(a,b,c){"use strict";function d(a,b,c,d){var e=a[b];if("function"==typeof e)return e.apply(a,[c,d]);if(!d){if(e instanceof RegExp)return e.test(c.url);if("string"==typeof e)return e===c.extension;if(Array.isArray(e))return-1!==e.indexOf(c.extension)}return e}var e=a("164"),f=a("16e");return b.all=function(a){return Object.keys(a).filter(function(b){return"object"==typeof a[b]}).map(function(b){return a[b].name=b,a[b]})},b.filter=function(a,b,c){return a.filter(function(a){return!!d(a,b,c)})},b.sort=function(a){return a.forEach(function(a){a.order=a.order||Number.MAX_SAFE_INTEGER}),a.sort(function(a,b){return a.order-b.order})},b.run=function(a,b,c){var g,h,i=0;return new e(function(e,j){function k(){if(g=a[i++],!g)return j(h);try{f(" %s",g.name);var e=d(g,b,c,l);e&&"function"==typeof e.then?e.then(m,n):void 0!==e&&m(e)}catch(k){n(k)}}function l(a,b){a?n(a):m(b)}function m(a){f(" success"),e({plugin:g,result:a})}function n(a){f(" %s",a.message||a),h=a,k()}k()})},c.exports}),a.registerDynamic("197",["45"],!0,function(a,b,c){var d,e=this;return function(b){(function(){"use strict";function f(a){return"function"==typeof a||"object"==typeof a&&null!==a}function g(a){return"function"==typeof a}function h(a){X=a}function i(a){_=a}function j(){return function(){b.nextTick(o)}}function k(){return function(){W(o)}}function l(){var a=0,b=new ca(o),c=document.createTextNode("");return b.observe(c,{characterData:!0}),function(){c.data=a=++a%2}}function m(){var a=new MessageChannel;return a.port1.onmessage=o,function(){a.port2.postMessage(0)}}function n(){return function(){setTimeout(o,1)}}function o(){for(var a=0;$>a;a+=2){var b=fa[a],c=fa[a+1];b(c),fa[a]=void 0,fa[a+1]=void 0}$=0}function p(){try{var b=a,c=b("vertx");return W=c.runOnLoop||c.runOnContext,k()}catch(d){return n()}}function q(a,b){var c=this,d=new this.constructor(s);void 0===d[ia]&&L(d);var e=c._state;if(e){var f=arguments[e-1];_(function(){I(e,d,f,c._result)})}else E(c,d,a,b);return d}function r(a){var b=this;if(a&&"object"==typeof a&&a.constructor===b)return a;var c=new b(s);return A(c,a),c}function s(){}function t(){return new TypeError("You cannot resolve a promise with itself")}function u(){return new TypeError("A promises callback cannot return that same promise.")}function v(a){try{return a.then}catch(b){return ma.error=b,ma}}function w(a,b,c,d){try{a.call(b,c,d)}catch(e){return e}}function x(a,b,c){_(function(a){var d=!1,e=w(c,b,function(c){d||(d=!0,b!==c?A(a,c):C(a,c))},function(b){d||(d=!0,D(a,b))},"Settle: "+(a._label||" unknown promise"));!d&&e&&(d=!0,D(a,e))},a)}function y(a,b){b._state===ka?C(a,b._result):b._state===la?D(a,b._result):E(b,void 0,function(b){A(a,b)},function(b){D(a,b)})}function z(a,b,c){b.constructor===a.constructor&&c===ga&&constructor.resolve===ha?y(a,b):c===ma?D(a,ma.error):void 0===c?C(a,b):g(c)?x(a,b,c):C(a,b)}function A(a,b){a===b?D(a,t()):f(b)?z(a,b,v(b)):C(a,b)}function B(a){a._onerror&&a._onerror(a._result),F(a)}function C(a,b){a._state===ja&&(a._result=b,a._state=ka,0!==a._subscribers.length&&_(F,a))}function D(a,b){a._state===ja&&(a._state=la,a._result=b,_(B,a))}function E(a,b,c,d){var e=a._subscribers,f=e.length;a._onerror=null,e[f]=b,e[f+ka]=c,e[f+la]=d,0===f&&a._state&&_(F,a)}function F(a){var b=a._subscribers,c=a._state;if(0!==b.length){for(var d,e,f=a._result,g=0;g<b.length;g+=3)d=b[g],e=b[g+c],d?I(c,d,e,f):e(f);a._subscribers.length=0}}function G(){this.error=null}function H(a,b){try{return a(b)}catch(c){return na.error=c,na}}function I(a,b,c,d){
|
||
var e,f,h,i,j=g(c);if(j){if(e=H(c,d),e===na?(i=!0,f=e.error,e=null):h=!0,b===e)return void D(b,u())}else e=d,h=!0;b._state!==ja||(j&&h?A(b,e):i?D(b,f):a===ka?C(b,e):a===la&&D(b,e))}function J(a,b){try{b(function(b){A(a,b)},function(b){D(a,b)})}catch(c){D(a,c)}}function K(){return oa++}function L(a){a[ia]=oa++,a._state=void 0,a._result=void 0,a._subscribers=[]}function M(a){return new ta(this,a).promise}function N(a){var b=this;return new b(Z(a)?function(c,d){for(var e=a.length,f=0;e>f;f++)b.resolve(a[f]).then(c,d)}:function(a,b){b(new TypeError("You must pass an array to race."))})}function O(a){var b=this,c=new b(s);return D(c,a),c}function P(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Q(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function R(a){this[ia]=K(),this._result=this._state=void 0,this._subscribers=[],s!==a&&("function"!=typeof a&&P(),this instanceof R?J(this,a):Q())}function S(a,b){this._instanceConstructor=a,this.promise=new a(s),this.promise[ia]||L(this.promise),Z(b)?(this._input=b,this.length=b.length,this._remaining=b.length,this._result=new Array(this.length),0===this.length?C(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&C(this.promise,this._result))):D(this.promise,T())}function T(){return new Error("Array Methods must be provided an Array")}function U(){var a;if("undefined"!=typeof e)a=e;else if("undefined"!=typeof self)a=self;else try{a=Function("return this")()}catch(b){throw new Error("polyfill failed because global object is unavailable in this environment")}var c=a.Promise;c&&"[object Promise]"===Object.prototype.toString.call(c.resolve())&&!c.cast||(a.Promise=sa)}var V;V=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)};var W,X,Y,Z=V,$=0,_=function(a,b){fa[$]=a,fa[$+1]=b,$+=2,2===$&&(X?X(o):Y())},aa="undefined"!=typeof window?window:void 0,ba=aa||{},ca=ba.MutationObserver||ba.WebKitMutationObserver,da="undefined"==typeof self&&"undefined"!=typeof b&&"[object process]"==={}.toString.call(b),ea="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,fa=new Array(1e3);Y=da?j():ca?l():ea?m():void 0===aa&&"function"==typeof a?p():n();var ga=q,ha=r,ia=Math.random().toString(36).substring(16),ja=void 0,ka=1,la=2,ma=new G,na=new G,oa=0,pa=M,qa=N,ra=O,sa=R;R.all=pa,R.race=qa,R.resolve=ha,R.reject=ra,R._setScheduler=h,R._setAsap=i,R._asap=_,R.prototype={constructor:R,then:ga,"catch":function(a){return this.then(null,a)}};var ta=S;S.prototype._enumerate=function(){for(var a=this.length,b=this._input,c=0;this._state===ja&&a>c;c++)this._eachEntry(b[c],c)},S.prototype._eachEntry=function(a,b){var c=this._instanceConstructor,d=c.resolve;if(d===ha){var e=v(a);if(e===ga&&a._state!==ja)this._settledAt(a._state,b,a._result);else if("function"!=typeof e)this._remaining--,this._result[b]=a;else if(c===sa){var f=new c(s);z(f,a,e),this._willSettleAt(f,b)}else this._willSettleAt(new c(function(b){b(a)}),b)}else this._willSettleAt(d(a),b)},S.prototype._settledAt=function(a,b,c){var d=this.promise;d._state===ja&&(this._remaining--,a===la?D(d,c):this._result[b]=c),0===this._remaining&&C(d,this._result)},S.prototype._willSettleAt=function(a,b){var c=this;E(a,void 0,function(a){c._settledAt(ka,b,a)},function(a){c._settledAt(la,b,a)})};var ua=U,va={Promise:sa,polyfill:ua};"function"==typeof d&&d.amd?d(function(){return va}):"undefined"!=typeof c&&c.exports?c.exports=va:"undefined"!=typeof this&&(this.ES6Promise=va),ua()}).call(this)}(a("45")),c.exports}),a.registerDynamic("198",["197"],!0,function(a,b,c){return c.exports=a("197"),c.exports}),a.registerDynamic("164",["198"],!0,function(a,b,c){"use strict";return c.exports="function"==typeof Promise?Promise:a("198").Promise,c.exports}),a.registerDynamic("199",["16f","16e","16d","196","164","165"],!0,function(a,b,c){return function(b){"use strict";function d(a,b,c){try{a=j.stripHash(a);var d=b._add(a),g={url:a,extension:j.getExtension(a)};return e(g,c).then(function(a){return d.pathType=a.plugin.name,g.data=a.result,f(g,c)}).then(function(a){return d.value=a.result,a.result})}catch(h){return l.reject(h)}}function e(a,b){return new l(function(c,d){function e(b){d(!b||b instanceof SyntaxError?h.syntax('Unable to resolve $ref pointer "%s"',a.url):b)}i("Reading %s",a.url);var f=k.all(b.resolve);f=k.filter(f,"canRead",a),k.sort(f),k.run(f,"read",a).then(c,e)})}function f(a,b){return new l(function(c,d){function e(b){!b.plugin.allowEmpty&&g(b.result)?d(h.syntax('Error parsing "%s" as %s. \nParsed value is empty',a.url,b.plugin.name)):c(b)}function f(b){b?(b=b instanceof Error?b:new Error(b),d(h.syntax(b,"Error parsing %s",a.url))):d(h.syntax("Unable to parse %s",a.url))}i("Parsing %s",a.url);var j=k.all(b.parse),l=k.filter(j,"canParse",a),m=l.length>0?l:j;k.sort(m),k.run(m,"parse",a).then(e,f)})}function g(a){return void 0===a||"object"==typeof a&&0===Object.keys(a).length||"string"==typeof a&&0===a.trim().length||b.isBuffer(a)&&0===a.length}var h=a("16f"),i=a("16e"),j=a("16d"),k=a("196"),l=a("164");c.exports=d}(a("165").Buffer),c.exports}),a.registerDynamic("19a",["164","195","19b","199","16e","16d"],!0,function(a,b,c){"use strict";function d(a,b){if(!b.resolve.external)return g.resolve();try{k("Resolving $ref pointers in %s",a.$refs._root$Ref.path);var c=e(a.schema,a.$refs._root$Ref.path+"#",a.$refs,b);return g.all(c)}catch(d){return g.reject(d)}}function e(a,b,c,d){var g=[];return a&&"object"==typeof a&&(h.isExternal$Ref(a)?g.push(f(a,b,c,d)):Object.keys(a).forEach(function(j){var k=i.join(b,j),l=a[j];h.isExternal$Ref(l)?g.push(f(l,k,c,d)):g=g.concat(e(l,k,c,d))})),g}function f(a,b,c,d){k('Resolving $ref pointer "%s" at %s',a.$ref,b);var f=l.resolve(b,a.$ref),h=l.stripHash(f);return a=c._$refs[h],a?g.resolve(a.value):j(f,c,d).then(function(a){k("Resolving $ref pointers in %s",h);var b=e(a,h+"#",c,d);return g.all(b)})}var g=a("164"),h=a("195"),i=a("19b"),j=a("199"),k=a("16e"),l=a("16d");return c.exports=d,c.exports}),a.registerDynamic("19c",["195","19b","16e","16d","45"],!0,function(a,b,c){return function(b){"use strict";function d(a,b){j("Bundling $ref pointers in %s",a.$refs._root$Ref.path);var c=[];e(a,"schema",a.$refs._root$Ref.path+"#","#",c,a.$refs,b),g(c)}function e(a,b,c,d,g,j,k){var l=null===b?a:a[b];if(l&&"object"==typeof l)if(h.is$Ref(l))f(a,b,c,d,g,j,k);else{var m=Object.keys(l),n=m.indexOf("definitions");n>0&&m.splice(0,0,m.splice(n,1)[0]),m.forEach(function(a){var b=i.join(c,a),m=i.join(d,a),n=l[a];h.is$Ref(n)?f(l,a,c,m,g,j,k):e(l,a,b,m,g,j,k)})}}function f(a,b,c,d,f,g,j){if(!f.some(function(c){return c.parent===a&&c.key===b})){var l=null===b?a:a[b],m=k.resolve(c,l.$ref),n=g._resolve(m,j),o=i.parse(d).length,p=k.stripHash(n.path),q=k.getHash(n.path),r=p!==g._root$Ref.path,s=h.isExtended$Ref(l);f.push({$ref:l,parent:a,key:b,pathFromRoot:d,depth:o,file:p,hash:q,value:n.value,circular:n.circular,extended:s,external:r}),e(n.value,null,n.path,d,f,g,j)}}function g(a){a.sort(function(a,b){return a.file!==b.file?a.file<b.file?-1:1:a.hash!==b.hash?a.hash<b.hash?-1:1:a.circular!==b.circular?a.circular?-1:1:a.extended!==b.extended?a.extended?1:-1:a.depth!==b.depth?a.depth-b.depth:b.pathFromRoot.lastIndexOf("/definitions")-a.pathFromRoot.lastIndexOf("/definitions")});var b,c,d;a.forEach(function(a){j('Re-mapping $ref pointer "%s" at %s',a.$ref.$ref,a.pathFromRoot),a.external?a.file===b&&a.hash===c?a.$ref.$ref=d:a.file===b&&0===a.hash.indexOf(c+"/")?a.$ref.$ref=i.join(d,i.parse(a.hash)):(b=a.file,c=a.hash,d=a.pathFromRoot,a.$ref=a.parent[a.key]=h.dereference(a.$ref,a.value),a.circular&&(a.$ref.$ref=a.pathFromRoot)):a.$ref.$ref=a.hash,j(" new value: %s",a.$ref&&a.$ref.$ref?a.$ref.$ref:"[object Object]")})}var h=a("195"),i=a("19b"),j=a("16e"),k=a("16d");c.exports=d}(a("45")),c.exports}),a.registerDynamic("195",["19b","165"],!0,function(a,b,c){return function(b){"use strict";function d(){this.path=void 0,this.value=void 0,this.$refs=void 0,this.pathType=void 0}c.exports=d;var e=a("19b");d.prototype.exists=function(a,b){try{return this.resolve(a,b),!0}catch(c){return!1}},d.prototype.get=function(a,b){return this.resolve(a,b).value},d.prototype.resolve=function(a,b){var c=new e(this,a);return c.resolve(this.value,b)},d.prototype.set=function(a,b){var c=new e(this,a);this.value=c.set(this.value,b)},d.is$Ref=function(a){return a&&"object"==typeof a&&"string"==typeof a.$ref&&a.$ref.length>0},d.isExternal$Ref=function(a){return d.is$Ref(a)&&"#"!==a.$ref[0]},d.isAllowed$Ref=function(a,b){return!d.is$Ref(a)||"#"!==a.$ref[0]&&b&&!b.resolve.external?void 0:!0},d.isExtended$Ref=function(a){return d.is$Ref(a)&&Object.keys(a).length>1},d.dereference=function(a,b){if(b&&"object"==typeof b&&d.isExtended$Ref(a)){var c={};return Object.keys(a).forEach(function(b){"$ref"!==b&&(c[b]=a[b])}),Object.keys(b).forEach(function(a){a in c||(c[a]=b[a])}),c}return b}}(a("165").Buffer),c.exports}),a.registerDynamic("19b",["195","16d","16f","165"],!0,function(a,b,c){return function(b){"use strict";function d(a,b){this.$ref=a,this.path=b,this.value=void 0,this.circular=!1}function e(a,b){if(g.isAllowed$Ref(a.value,b)){var c=h.resolve(a.path,a.value.$ref);if(c!==a.path){var d=a.$ref.$refs._resolve(c,b);return g.isExtended$Ref(a.value)?a.value=g.dereference(a.value,d.value):(a.$ref=d.$ref,a.path=d.path,a.value=d.value),!0}a.circular=!0}}function f(a,b,c){if(!a.value||"object"!=typeof a.value)throw i.syntax('Error assigning $ref pointer "%s". \nCannot set "%s" of a non-object.',a.path,b);return"-"===b&&Array.isArray(a.value)?a.value.push(c):a.value[b]=c,c}c.exports=d;var g=a("195"),h=a("16d"),i=a("16f"),j=/\//g,k=/~/g,l=/~1/g,m=/~0/g;d.prototype.resolve=function(a,b){var c=d.parse(this.path);this.value=a;for(var f=0;f<c.length;f++){e(this,b)&&(this.path=d.join(this.path,c.slice(f)));var g=c[f];if(void 0===this.value[g])throw i.syntax('Error resolving $ref pointer "%s". \nToken "%s" does not exist.',this.path,g);this.value=this.value[g]}return e(this,b),this},d.prototype.set=function(a,b,c){var g,h=d.parse(this.path);if(0===h.length)return this.value=b,b;this.value=a;for(var i=0;i<h.length-1;i++)e(this,c),g=h[i],this.value&&void 0!==this.value[g]?this.value=this.value[g]:this.value=f(this,g,{});return e(this,c),g=h[h.length-1],f(this,g,b),a},d.parse=function(a){var b=h.getHash(a).substr(1);if(!b)return[];b=b.split("/");for(var c=0;c<b.length;c++)b[c]=decodeURI(b[c].replace(l,"/").replace(m,"~"));if(""!==b[0])throw i.syntax('Invalid $ref pointer "%s". Pointers must begin with "#/"',b);return b.slice(1)},d.join=function(a,b){-1===a.indexOf("#")&&(a+="#"),b=Array.isArray(b)?b:[b];for(var c=0;c<b.length;c++){var d=b[c];a+="/"+encodeURI(d.replace(k,"~0").replace(j,"~1"))}return a}}(a("165").Buffer),c.exports}),a.registerDynamic("19d",[],!0,function(a,b,c){function d(a){if(a=""+a,!(a.length>1e4)){var b=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(a);if(b){var c=parseFloat(b[1]),d=(b[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"yrs":case"yr":case"y":return c*l;case"days":case"day":case"d":return c*k;case"hours":case"hour":case"hrs":case"hr":case"h":return c*j;case"minutes":case"minute":case"mins":case"min":case"m":return c*i;case"seconds":case"second":case"secs":case"sec":case"s":return c*h;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c}}}}function e(a){return a>=k?Math.round(a/k)+"d":a>=j?Math.round(a/j)+"h":a>=i?Math.round(a/i)+"m":a>=h?Math.round(a/h)+"s":a+"ms"}function f(a){return g(a,k,"day")||g(a,j,"hour")||g(a,i,"minute")||g(a,h,"second")||a+" ms"}function g(a,b,c){return b>a?void 0:1.5*b>a?Math.floor(a/b)+" "+c:Math.ceil(a/b)+" "+c+"s"}var h=1e3,i=60*h,j=60*i,k=24*j,l=365.25*k;return c.exports=function(a,b){return b=b||{},"string"==typeof a?d(a):b["long"]?f(a):e(a)},c.exports}),a.registerDynamic("19e",["19d"],!0,function(a,b,c){return c.exports=a("19d"),c.exports}),a.registerDynamic("19f",["19e"],!0,function(a,b,c){function d(){return b.colors[k++%b.colors.length]}function e(a){function c(){}function e(){var a=e,c=+new Date,f=c-(j||c);a.diff=f,a.prev=j,a.curr=c,j=c,null==a.useColors&&(a.useColors=b.useColors()),null==a.color&&a.useColors&&(a.color=d());var g=Array.prototype.slice.call(arguments);g[0]=b.coerce(g[0]),"string"!=typeof g[0]&&(g=["%o"].concat(g));var h=0;g[0]=g[0].replace(/%([a-z%])/g,function(c,d){if("%%"===c)return c;h++;var e=b.formatters[d];if("function"==typeof e){var f=g[h];c=e.call(a,f),g.splice(h,1),h--}return c}),"function"==typeof b.formatArgs&&(g=b.formatArgs.apply(a,g));var i=e.log||b.log||console.log.bind(console);i.apply(a,g)}c.enabled=!1,e.enabled=!0;var f=b.enabled(a)?e:c;return f.namespace=a,f}function f(a){b.save(a);for(var c=(a||"").split(/[\s,]+/),d=c.length,e=0;d>e;e++)c[e]&&(a=c[e].replace(/\*/g,".*?"),"-"===a[0]?b.skips.push(new RegExp("^"+a.substr(1)+"$")):b.names.push(new RegExp("^"+a+"$")))}function g(){b.enable("")}function h(a){var c,d;for(c=0,d=b.skips.length;d>c;c++)if(b.skips[c].test(a))return!1;for(c=0,d=b.names.length;d>c;c++)if(b.names[c].test(a))return!0;return!1}function i(a){return a instanceof Error?a.stack||a.message:a}b=c.exports=e,b.coerce=i,b.disable=g,b.enable=f,b.enabled=h,b.humanize=a("19e"),b.names=[],b.skips=[],b.formatters={};var j,k=0;return c.exports}),a.registerDynamic("1a0",["19f"],!0,function(a,b,c){function d(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function e(){var a=arguments,c=this.useColors;if(a[0]=(c?"%c":"")+this.namespace+(c?" %c":" ")+a[0]+(c?"%c ":" ")+"+"+b.humanize(this.diff),!c)return a;var d="color: "+this.color;a=[a[0],d,"color: inherit"].concat(Array.prototype.slice.call(a,1));var e=0,f=0;return a[0].replace(/%[a-z%]/g,function(a){"%%"!==a&&(e++,"%c"===a&&(f=e))}),a.splice(f,0,d),a}function f(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function g(a){try{null==a?b.storage.removeItem("debug"):b.storage.debug=a}catch(c){}}function h(){var a;try{a=b.storage.debug}catch(c){}return a}function i(){try{return window.localStorage}catch(a){}}return b=c.exports=a("19f"),b.log=f,b.formatArgs=e,b.save=g,b.load=h,b.useColors=d,b.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:i(),b.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],b.formatters.j=function(a){return JSON.stringify(a)},b.enable(h()),c.exports}),a.registerDynamic("1a1",["1a0"],!0,function(a,b,c){return c.exports=a("1a0"),c.exports}),a.registerDynamic("16e",["1a1"],!0,function(a,b,c){"use strict";var d=a("1a1");return c.exports=d("json-schema-ref-parser"),c.exports}),a.registerDynamic("1a2",["195","19b","16f","16e","16d"],!0,function(a,b,c){"use strict";function d(a,b){k("Dereferencing $ref pointers in %s",a.$refs._root$Ref.path);var c=e(a.schema,a.$refs._root$Ref.path,"#",[],a.$refs,b);a.$refs.circular=c.circular,a.schema=c.value}function e(a,b,c,d,j,k){var l,m={value:a,circular:!1};return a&&"object"==typeof a&&(d.push(a),h.isAllowed$Ref(a,k)?(l=f(a,b,c,d,j,k),m.circular=l.circular,m.value=l.value):Object.keys(a).forEach(function(n){var o=i.join(b,n),p=i.join(c,n),q=a[n],r=!1;h.isAllowed$Ref(q,k)?(l=f(q,o,p,d,j,k),r=l.circular,a[n]=l.value):-1===d.indexOf(q)?(l=e(q,o,p,d,j,k),r=l.circular,a[n]=l.value):r=g(o,j,k),m.circular=m.circular||r}),d.pop()),m}function f(a,b,c,d,f,i){k('Dereferencing $ref pointer "%s" at %s',a.$ref,b);var j=l.resolve(b,a.$ref),m=f._resolve(j,i),n=m.circular,o=n||-1!==d.indexOf(m.value);o&&g(b,f,i);var p=h.dereference(a,m.value);if(!o){var q=e(p,m.path,c,d,f,i);o=q.circular,p=q.value}return o&&!n&&"ignore"===i.dereference.circular&&(p=a),n&&(p.$ref=c),{circular:o,value:p}}function g(a,b,c){if(b.circular=!0,!c.dereference.circular)throw j.reference("Circular $ref pointer found at %s",a);return!0}var h=a("195"),i=a("19b"),j=a("16f"),k=a("16e"),l=a("16d");return c.exports=d,c.exports}),a.registerDynamic("16d",["18f","45"],!0,function(a,b,c){return function(d){"use strict";var e=/^win/.test(d.platform),f=/\//g,g=/^([a-z0-9.+-]+):\/\//i,h=c.exports,i=[/\?/g,"%3F",/\#/g,"%23",e?/\\/g:/\//,"/"],j=[/\%23/g,"#",/\%24/g,"$",/\%26/g,"&",/\%2C/g,",",/\%40/g,"@"];b.parse=a("18f").parse,b.resolve=a("18f").resolve,b.cwd=function(){return d.browser?location.href:d.cwd()+"/"},b.getProtocol=function(a){var b=g.exec(a);return b?b[1].toLowerCase():void 0},b.getExtension=function(a){var b=a.lastIndexOf(".");return b>=0?a.substr(b).toLowerCase():""},b.getHash=function(a){var b=a.indexOf("#");return b>=0?a.substr(b):"#"},b.stripHash=function(a){var b=a.indexOf("#");return b>=0&&(a=a.substr(0,b)),a},b.isHttp=function(a){var b=h.getProtocol(a);return"http"===b||"https"===b?!0:void 0===b?d.browser:!1},b.isFileSystemPath=function(a){if(d.browser)return!1;var b=h.getProtocol(a);return void 0===b||"file"===b},b.fromFileSystemPath=function(a){for(var b=0;b<i.length;b+=2)a=a.replace(i[b],i[b+1]);return encodeURI(a)},b.toFileSystemPath=function(a,b){a=decodeURI(a);for(var c=0;c<j.length;c+=2)a=a.replace(j[c],j[c+1]);var d="file://"===a.substr(0,7).toLowerCase();return d&&(a="/"===a[7]?a.substr(8):a.substr(7),e&&"/"===a[1]&&(a=a[0]+":"+a.substr(1)),b?a="file:///"+a:(d=!1,a=e?a:"/"+a)),e&&!d&&(a=a.replace(f,"\\")),a}}(a("45")),c.exports}),a.registerDynamic("1a3",["45"],!0,function(a,b,c){var d=this;return function(a){"use strict";var b=d.process&&a.nextTick||d.setImmediate||function(a){setTimeout(a,0)};c.exports=function(a,c){return a?void c.then(function(c){b(function(){a(null,c)})},function(c){b(function(){a(c)})}):c}}(a("45")),c.exports}),a.registerDynamic("1a4",["1a3"],!0,function(a,b,c){return c.exports=a("1a3"),c.exports}),a.registerDynamic("1a5",["1a6"],!0,function(a,b,c){"use strict";function d(a,b,c,d,e){this.name=a,this.buffer=b,this.position=c,this.line=d,this.column=e}var e=a("1a6");return d.prototype.getSnippet=function(a,b){var c,d,f,g,h;if(!this.buffer)return null;for(a=a||4,b=b||75,c="",d=this.position;d>0&&-1==="\x00\r\n
\u2028\u2029".indexOf(this.buffer.charAt(d-1));)if(d-=1,this.position-d>b/2-1){c=" ... ",d+=5;break}for(f="",g=this.position;g<this.buffer.length&&-1==="\x00\r\n
\u2028\u2029".indexOf(this.buffer.charAt(g));)if(g+=1,g-this.position>b/2-1){f=" ... ",g-=5;break}return h=this.buffer.slice(d,g),e.repeat(" ",a)+c+h+f+"\n"+e.repeat(" ",a+this.position-d+c.length)+"^"},d.prototype.toString=function(a){var b,c="";return this.name&&(c+='in "'+this.name+'" '),c+="at line "+(this.line+1)+", column "+(this.column+1),a||(b=this.getSnippet(),b&&(c+=":\n"+b)),c},c.exports=d,c.exports}),a.registerDynamic("1a7",["1a6","1a8","1a5","1a9","1aa"],!0,function(a,b,c){"use strict";function d(a){return 10===a||13===a}function e(a){return 9===a||32===a}function f(a){return 9===a||32===a||10===a||13===a}function g(a){return 44===a||91===a||93===a||123===a||125===a}function h(a){var b;return a>=48&&57>=a?a-48:(b=32|a,b>=97&&102>=b?b-97+10:-1)}function i(a){return 120===a?2:117===a?4:85===a?8:0}function j(a){return a>=48&&57>=a?a-48:-1}function k(a){return 48===a?"\x00":97===a?"":98===a?"\b":116===a?" ":9===a?" ":110===a?"\n":118===a?"\x0B":102===a?"\f":114===a?"\r":101===a?"":32===a?" ":34===a?'"':47===a?"/":92===a?"\\":78===a?"
":95===a?" ":76===a?"\u2028":80===a?"\u2029":""}function l(a){return 65535>=a?String.fromCharCode(a):String.fromCharCode((a-65536>>10)+55296,(a-65536&1023)+56320)}function m(a,b){this.input=a,this.filename=b.filename||null,this.schema=b.schema||S,this.onWarning=b.onWarning||null,this.legacy=b.legacy||!1,this.json=b.json||!1,this.listener=b.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=a.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function n(a,b){return new P(b,new Q(a.filename,a.input,a.position,a.line,a.position-a.lineStart))}function o(a,b){throw n(a,b)}function p(a,b){a.onWarning&&a.onWarning.call(null,n(a,b))}function q(a,b,c,d){var e,f,g,h;if(c>b){if(h=a.input.slice(b,c),d)for(e=0,f=h.length;f>e;e+=1)g=h.charCodeAt(e),9===g||g>=32&&1114111>=g||o(a,"expected valid JSON character");else _.test(h)&&o(a,"the stream contains non-printable characters");a.result+=h}}function r(a,b,c,d){var e,f,g,h;for(O.isObject(c)||o(a,"cannot merge mappings; the provided source object is unacceptable"),e=Object.keys(c),g=0,h=e.length;h>g;g+=1)f=e[g],T.call(b,f)||(b[f]=c[f],d[f]=!0)}function s(a,b,c,d,e,f){var g,h;if(e=String(e),null===b&&(b={}),"tag:yaml.org,2002:merge"===d)if(Array.isArray(f))for(g=0,h=f.length;h>g;g+=1)r(a,b,f[g],c);else r(a,b,f,c);else a.json||T.call(c,e)||!T.call(b,e)||o(a,"duplicated mapping key"),b[e]=f,delete c[e];return b}function t(a){var b;b=a.input.charCodeAt(a.position),10===b?a.position++:13===b?(a.position++,10===a.input.charCodeAt(a.position)&&a.position++):o(a,"a line break is expected"),a.line+=1,a.lineStart=a.position}function u(a,b,c){for(var f=0,g=a.input.charCodeAt(a.position);0!==g;){for(;e(g);)g=a.input.charCodeAt(++a.position);if(b&&35===g)do g=a.input.charCodeAt(++a.position);while(10!==g&&13!==g&&0!==g);if(!d(g))break;for(t(a),g=a.input.charCodeAt(a.position),f++,a.lineIndent=0;32===g;)a.lineIndent++,g=a.input.charCodeAt(++a.position)}return-1!==c&&0!==f&&a.lineIndent<c&&p(a,"deficient indentation"),f}function v(a){var b,c=a.position;return b=a.input.charCodeAt(c),(45===b||46===b)&&b===a.input.charCodeAt(c+1)&&b===a.input.charCodeAt(c+2)&&(c+=3,b=a.input.charCodeAt(c),0===b||f(b))}function w(a,b){1===b?a.result+=" ":b>1&&(a.result+=O.repeat("\n",b-1))}function x(a,b,c){var h,i,j,k,l,m,n,o,p,r=a.kind,s=a.result;if(p=a.input.charCodeAt(a.position),f(p)||g(p)||35===p||38===p||42===p||33===p||124===p||62===p||39===p||34===p||37===p||64===p||96===p)return!1;if((63===p||45===p)&&(i=a.input.charCodeAt(a.position+1),f(i)||c&&g(i)))return!1;for(a.kind="scalar",a.result="",j=k=a.position,l=!1;0!==p;){if(58===p){if(i=a.input.charCodeAt(a.position+1),f(i)||c&&g(i))break}else if(35===p){if(h=a.input.charCodeAt(a.position-1),f(h))break}else{if(a.position===a.lineStart&&v(a)||c&&g(p))break;if(d(p)){if(m=a.line,n=a.lineStart,o=a.lineIndent,u(a,!1,-1),a.lineIndent>=b){l=!0,p=a.input.charCodeAt(a.position);continue}a.position=k,a.line=m,a.lineStart=n,a.lineIndent=o;break}}l&&(q(a,j,k,!1),w(a,a.line-m),j=k=a.position,l=!1),e(p)||(k=a.position+1),p=a.input.charCodeAt(++a.position)}return q(a,j,k,!1),a.result?!0:(a.kind=r,a.result=s,!1)}function y(a,b){var c,e,f;if(c=a.input.charCodeAt(a.position),39!==c)return!1;for(a.kind="scalar",a.result="",a.position++,e=f=a.position;0!==(c=a.input.charCodeAt(a.position));)if(39===c){if(q(a,e,a.position,!0),c=a.input.charCodeAt(++a.position),39!==c)return!0;e=f=a.position,a.position++}else d(c)?(q(a,e,f,!0),w(a,u(a,!1,b)),e=f=a.position):a.position===a.lineStart&&v(a)?o(a,"unexpected end of the document within a single quoted scalar"):(a.position++,f=a.position);o(a,"unexpected end of the stream within a single quoted scalar")}function z(a,b){var c,e,f,g,j,k;if(k=a.input.charCodeAt(a.position),34!==k)return!1;for(a.kind="scalar",a.result="",a.position++,c=e=a.position;0!==(k=a.input.charCodeAt(a.position));){if(34===k)return q(a,c,a.position,!0),a.position++,!0;if(92===k){if(q(a,c,a.position,!0),k=a.input.charCodeAt(++a.position),d(k))u(a,!1,b);else if(256>k&&ea[k])a.result+=fa[k],a.position++;else if((j=i(k))>0){for(f=j,g=0;f>0;f--)k=a.input.charCodeAt(++a.position),(j=h(k))>=0?g=(g<<4)+j:o(a,"expected hexadecimal character");a.result+=l(g),a.position++}else o(a,"unknown escape sequence");c=e=a.position}else d(k)?(q(a,c,e,!0),w(a,u(a,!1,b)),c=e=a.position):a.position===a.lineStart&&v(a)?o(a,"unexpected end of the document within a double quoted scalar"):(a.position++,e=a.position)}o(a,"unexpected end of the stream within a double quoted scalar")}function A(a,b){var c,d,e,g,h,i,j,k,l,m,n,p=!0,q=a.tag,r=a.anchor,t={};if(n=a.input.charCodeAt(a.position),91===n)g=93,j=!1,d=[];else{if(123!==n)return!1;g=125,j=!0,d={}}for(null!==a.anchor&&(a.anchorMap[a.anchor]=d),n=a.input.charCodeAt(++a.position);0!==n;){if(u(a,!0,b),n=a.input.charCodeAt(a.position),n===g)return a.position++,a.tag=q,a.anchor=r,a.kind=j?"mapping":"sequence",a.result=d,!0;p||o(a,"missed comma between flow collection entries"),l=k=m=null,h=i=!1,63===n&&(e=a.input.charCodeAt(a.position+1),f(e)&&(h=i=!0,a.position++,u(a,!0,b))),c=a.line,H(a,b,U,!1,!0),l=a.tag,k=a.result,u(a,!0,b),n=a.input.charCodeAt(a.position),!i&&a.line!==c||58!==n||(h=!0,n=a.input.charCodeAt(++a.position),u(a,!0,b),H(a,b,U,!1,!0),m=a.result),j?s(a,d,t,l,k,m):h?d.push(s(a,null,t,l,k,m)):d.push(k),u(a,!0,b),n=a.input.charCodeAt(a.position),44===n?(p=!0,n=a.input.charCodeAt(++a.position)):p=!1}o(a,"unexpected end of the stream within a flow collection")}function B(a,b){var c,f,g,h,i=Y,k=!1,l=!1,m=b,n=0,p=!1;if(h=a.input.charCodeAt(a.position),124===h)f=!1;else{if(62!==h)return!1;f=!0}for(a.kind="scalar",a.result="";0!==h;)if(h=a.input.charCodeAt(++a.position),43===h||45===h)Y===i?i=43===h?$:Z:o(a,"repeat of a chomping mode identifier");else{if(!((g=j(h))>=0))break;0===g?o(a,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?o(a,"repeat of an indentation width identifier"):(m=b+g-1,l=!0)}if(e(h)){do h=a.input.charCodeAt(++a.position);while(e(h));if(35===h)do h=a.input.charCodeAt(++a.position);while(!d(h)&&0!==h)}for(;0!==h;){for(t(a),a.lineIndent=0,h=a.input.charCodeAt(a.position);(!l||a.lineIndent<m)&&32===h;)a.lineIndent++,h=a.input.charCodeAt(++a.position);if(!l&&a.lineIndent>m&&(m=a.lineIndent),d(h))n++;else{if(a.lineIndent<m){i===$?a.result+=O.repeat("\n",k?1+n:n):i===Y&&k&&(a.result+="\n");break}for(f?e(h)?(p=!0,a.result+=O.repeat("\n",k?1+n:n)):p?(p=!1,a.result+=O.repeat("\n",n+1)):0===n?k&&(a.result+=" "):a.result+=O.repeat("\n",n):a.result+=O.repeat("\n",k?1+n:n),k=!0,l=!0,n=0,c=a.position;!d(h)&&0!==h;)h=a.input.charCodeAt(++a.position);q(a,c,a.position,!1)}}return!0}function C(a,b){var c,d,e,g=a.tag,h=a.anchor,i=[],j=!1;for(null!==a.anchor&&(a.anchorMap[a.anchor]=i),e=a.input.charCodeAt(a.position);0!==e&&45===e&&(d=a.input.charCodeAt(a.position+1),f(d));)if(j=!0,a.position++,u(a,!0,-1)&&a.lineIndent<=b)i.push(null),e=a.input.charCodeAt(a.position);else if(c=a.line,H(a,b,W,!1,!0),i.push(a.result),u(a,!0,-1),e=a.input.charCodeAt(a.position),(a.line===c||a.lineIndent>b)&&0!==e)o(a,"bad indentation of a sequence entry");else if(a.lineIndent<b)break;return j?(a.tag=g,a.anchor=h,a.kind="sequence",a.result=i,!0):!1}function D(a,b,c){var d,g,h,i,j=a.tag,k=a.anchor,l={},m={},n=null,p=null,q=null,r=!1,t=!1;for(null!==a.anchor&&(a.anchorMap[a.anchor]=l),i=a.input.charCodeAt(a.position);0!==i;){if(d=a.input.charCodeAt(a.position+1),h=a.line,63!==i&&58!==i||!f(d)){if(!H(a,c,V,!1,!0))break;if(a.line===h){for(i=a.input.charCodeAt(a.position);e(i);)i=a.input.charCodeAt(++a.position);if(58===i)i=a.input.charCodeAt(++a.position),f(i)||o(a,"a whitespace character is expected after the key-value separator within a block mapping"),r&&(s(a,l,m,n,p,null),n=p=q=null),t=!0,r=!1,g=!1,n=a.tag,p=a.result;else{if(!t)return a.tag=j,a.anchor=k,!0;o(a,"can not read an implicit mapping pair; a colon is missed")}}else{if(!t)return a.tag=j,a.anchor=k,!0;o(a,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===i?(r&&(s(a,l,m,n,p,null),n=p=q=null),t=!0,r=!0,g=!0):r?(r=!1,g=!0):o(a,"incomplete explicit mapping pair; a key node is missed"),a.position+=1,i=d;if((a.line===h||a.lineIndent>b)&&(H(a,b,X,!0,g)&&(r?p=a.result:q=a.result),r||(s(a,l,m,n,p,q),n=p=q=null),u(a,!0,-1),i=a.input.charCodeAt(a.position)),a.lineIndent>b&&0!==i)o(a,"bad indentation of a mapping entry");else if(a.lineIndent<b)break}return r&&s(a,l,m,n,p,null),t&&(a.tag=j,a.anchor=k,a.kind="mapping",a.result=l),t}function E(a){var b,c,d,e,g=!1,h=!1;if(e=a.input.charCodeAt(a.position),33!==e)return!1;if(null!==a.tag&&o(a,"duplication of a tag property"),e=a.input.charCodeAt(++a.position),60===e?(g=!0,e=a.input.charCodeAt(++a.position)):33===e?(h=!0,c="!!",e=a.input.charCodeAt(++a.position)):c="!",b=a.position,g){do e=a.input.charCodeAt(++a.position);while(0!==e&&62!==e);a.position<a.length?(d=a.input.slice(b,a.position),e=a.input.charCodeAt(++a.position)):o(a,"unexpected end of the stream within a verbatim tag")}else{for(;0!==e&&!f(e);)33===e&&(h?o(a,"tag suffix cannot contain exclamation marks"):(c=a.input.slice(b-1,a.position+1),ca.test(c)||o(a,"named tag handle cannot contain such characters"),h=!0,b=a.position+1)),e=a.input.charCodeAt(++a.position);d=a.input.slice(b,a.position),ba.test(d)&&o(a,"tag suffix cannot contain flow indicator characters")}return d&&!da.test(d)&&o(a,"tag name cannot contain such characters: "+d),g?a.tag=d:T.call(a.tagMap,c)?a.tag=a.tagMap[c]+d:"!"===c?a.tag="!"+d:"!!"===c?a.tag="tag:yaml.org,2002:"+d:o(a,'undeclared tag handle "'+c+'"'),!0}function F(a){var b,c;if(c=a.input.charCodeAt(a.position),38!==c)return!1;for(null!==a.anchor&&o(a,"duplication of an anchor property"),c=a.input.charCodeAt(++a.position),b=a.position;0!==c&&!f(c)&&!g(c);)c=a.input.charCodeAt(++a.position);return a.position===b&&o(a,"name of an anchor node must contain at least one character"),a.anchor=a.input.slice(b,a.position),!0}function G(a){var b,c,d;if(d=a.input.charCodeAt(a.position),42!==d)return!1;for(d=a.input.charCodeAt(++a.position),b=a.position;0!==d&&!f(d)&&!g(d);)d=a.input.charCodeAt(++a.position);return a.position===b&&o(a,"name of an alias node must contain at least one character"),c=a.input.slice(b,a.position),a.anchorMap.hasOwnProperty(c)||o(a,'unidentified alias "'+c+'"'),a.result=a.anchorMap[c],u(a,!0,-1),!0}function H(a,b,c,d,e){var f,g,h,i,j,k,l,m,n=1,p=!1,q=!1;if(null!==a.listener&&a.listener("open",a),a.tag=null,a.anchor=null,a.kind=null,a.result=null,f=g=h=X===c||W===c,d&&u(a,!0,-1)&&(p=!0,a.lineIndent>b?n=1:a.lineIndent===b?n=0:a.lineIndent<b&&(n=-1)),1===n)for(;E(a)||F(a);)u(a,!0,-1)?(p=!0,h=f,a.lineIndent>b?n=1:a.lineIndent===b?n=0:a.lineIndent<b&&(n=-1)):h=!1;if(h&&(h=p||e),1!==n&&X!==c||(l=U===c||V===c?b:b+1,m=a.position-a.lineStart,1===n?h&&(C(a,m)||D(a,m,l))||A(a,l)?q=!0:(g&&B(a,l)||y(a,l)||z(a,l)?q=!0:G(a)?(q=!0,null===a.tag&&null===a.anchor||o(a,"alias node should not have any properties")):x(a,l,U===c)&&(q=!0,null===a.tag&&(a.tag="?")),null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)):0===n&&(q=h&&C(a,m))),null!==a.tag&&"!"!==a.tag)if("?"===a.tag){for(i=0,j=a.implicitTypes.length;j>i;i+=1)if(k=a.implicitTypes[i],k.resolve(a.result)){a.result=k.construct(a.result),a.tag=k.tag,null!==a.anchor&&(a.anchorMap[a.anchor]=a.result);break}}else T.call(a.typeMap,a.tag)?(k=a.typeMap[a.tag],null!==a.result&&k.kind!==a.kind&&o(a,"unacceptable node kind for !<"+a.tag+'> tag; it should be "'+k.kind+'", not "'+a.kind+'"'),k.resolve(a.result)?(a.result=k.construct(a.result),null!==a.anchor&&(a.anchorMap[a.anchor]=a.result)):o(a,"cannot resolve a node with !<"+a.tag+"> explicit tag")):o(a,"unknown tag !<"+a.tag+">");return null!==a.listener&&a.listener("close",a),null!==a.tag||null!==a.anchor||q}function I(a){var b,c,g,h,i=a.position,j=!1;for(a.version=null,a.checkLineBreaks=a.legacy,a.tagMap={},a.anchorMap={};0!==(h=a.input.charCodeAt(a.position))&&(u(a,!0,-1),h=a.input.charCodeAt(a.position),!(a.lineIndent>0||37!==h));){for(j=!0,h=a.input.charCodeAt(++a.position),b=a.position;0!==h&&!f(h);)h=a.input.charCodeAt(++a.position);for(c=a.input.slice(b,a.position),g=[],c.length<1&&o(a,"directive name must not be less than one character in length");0!==h;){for(;e(h);)h=a.input.charCodeAt(++a.position);if(35===h){do h=a.input.charCodeAt(++a.position);while(0!==h&&!d(h));
|
||
break}if(d(h))break;for(b=a.position;0!==h&&!f(h);)h=a.input.charCodeAt(++a.position);g.push(a.input.slice(b,a.position))}0!==h&&t(a),T.call(ha,c)?ha[c](a,c,g):p(a,'unknown document directive "'+c+'"')}return u(a,!0,-1),0===a.lineIndent&&45===a.input.charCodeAt(a.position)&&45===a.input.charCodeAt(a.position+1)&&45===a.input.charCodeAt(a.position+2)?(a.position+=3,u(a,!0,-1)):j&&o(a,"directives end mark is expected"),H(a,a.lineIndent-1,X,!1,!0),u(a,!0,-1),a.checkLineBreaks&&aa.test(a.input.slice(i,a.position))&&p(a,"non-ASCII line breaks are interpreted as content"),a.documents.push(a.result),a.position===a.lineStart&&v(a)?void(46===a.input.charCodeAt(a.position)&&(a.position+=3,u(a,!0,-1))):void(a.position<a.length-1&&o(a,"end of the stream or a document separator is expected"))}function J(a,b){a=String(a),b=b||{},0!==a.length&&(10!==a.charCodeAt(a.length-1)&&13!==a.charCodeAt(a.length-1)&&(a+="\n"),65279===a.charCodeAt(0)&&(a=a.slice(1)));var c=new m(a,b);for(c.input+="\x00";32===c.input.charCodeAt(c.position);)c.lineIndent+=1,c.position+=1;for(;c.position<c.length-1;)I(c);return c.documents}function K(a,b,c){var d,e,f=J(a,c);for(d=0,e=f.length;e>d;d+=1)b(f[d])}function L(a,b){var c=J(a,b);if(0!==c.length){if(1===c.length)return c[0];throw new P("expected a single document in the stream, but found more")}}function M(a,b,c){K(a,b,O.extend({schema:R},c))}function N(a,b){return L(a,O.extend({schema:R},b))}for(var O=a("1a6"),P=a("1a8"),Q=a("1a5"),R=a("1a9"),S=a("1aa"),T=Object.prototype.hasOwnProperty,U=1,V=2,W=3,X=4,Y=1,Z=2,$=3,_=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,aa=/[\x85\u2028\u2029]/,ba=/[,\[\]\{\}]/,ca=/^(?:!|!!|![a-z\-]+!)$/i,da=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,ea=new Array(256),fa=new Array(256),ga=0;256>ga;ga++)ea[ga]=k(ga)?1:0,fa[ga]=k(ga);var ha={YAML:function(a,b,c){var d,e,f;null!==a.version&&o(a,"duplication of %YAML directive"),1!==c.length&&o(a,"YAML directive accepts exactly one argument"),d=/^([0-9]+)\.([0-9]+)$/.exec(c[0]),null===d&&o(a,"ill-formed argument of the YAML directive"),e=parseInt(d[1],10),f=parseInt(d[2],10),1!==e&&o(a,"unacceptable YAML version of the document"),a.version=c[0],a.checkLineBreaks=2>f,1!==f&&2!==f&&p(a,"unsupported YAML version of the document")},TAG:function(a,b,c){var d,e;2!==c.length&&o(a,"TAG directive accepts exactly two arguments"),d=c[0],e=c[1],ca.test(d)||o(a,"ill-formed tag handle (first argument) of the TAG directive"),T.call(a.tagMap,d)&&o(a,'there is a previously declared suffix for "'+d+'" tag handle'),da.test(e)||o(a,"ill-formed tag prefix (second argument) of the TAG directive"),a.tagMap[d]=e}};return c.exports.loadAll=K,c.exports.load=L,c.exports.safeLoadAll=M,c.exports.safeLoad=N,c.exports}),a.registerDynamic("1ab",["1a6","1a8","1aa","1a9"],!0,function(a,b,c){"use strict";function d(a,b){var c,d,e,f,g,h,i;if(null===b)return{};for(c={},d=Object.keys(b),e=0,f=d.length;f>e;e+=1)g=d[e],h=String(b[g]),"!!"===g.slice(0,2)&&(g="tag:yaml.org,2002:"+g.slice(2)),i=a.compiledTypeMap[g],i&&J.call(i.styleAliases,h)&&(h=i.styleAliases[h]),c[g]=h;return c}function e(a){var b,c,d;if(b=a.toString(16).toUpperCase(),255>=a)c="x",d=2;else if(65535>=a)c="u",d=4;else{if(!(4294967295>=a))throw new F("code point within a string may not be greater than 0xFFFFFFFF");c="U",d=8}return"\\"+c+E.repeat("0",d-b.length)+b}function f(a){this.schema=a.schema||G,this.indent=Math.max(1,a.indent||2),this.skipInvalid=a.skipInvalid||!1,this.flowLevel=E.isNothing(a.flowLevel)?-1:a.flowLevel,this.styleMap=d(this.schema,a.styles||null),this.sortKeys=a.sortKeys||!1,this.lineWidth=a.lineWidth||80,this.noRefs=a.noRefs||!1,this.noCompatMode=a.noCompatMode||!1,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function g(a,b){for(var c,d=E.repeat(" ",b),e=0,f=-1,g="",h=a.length;h>e;)f=a.indexOf("\n",e),-1===f?(c=a.slice(e),e=h):(c=a.slice(e,f+1),e=f+1),c.length&&"\n"!==c&&(g+=d),g+=c;return g}function h(a,b){return"\n"+E.repeat(" ",a.indent*b)}function i(a,b){var c,d,e;for(c=0,d=a.implicitTypes.length;d>c;c+=1)if(e=a.implicitTypes[c],e.resolve(b))return!0;return!1}function j(a){return a===M||a===K}function k(a){return a>=32&&126>=a||a>=161&&55295>=a&&8232!==a&&8233!==a||a>=57344&&65533>=a&&65279!==a||a>=65536&&1114111>=a}function l(a){return k(a)&&65279!==a&&a!==U&&a!==$&&a!==_&&a!==ba&&a!==da&&a!==W&&a!==P}function m(a){return k(a)&&65279!==a&&!j(a)&&a!==V&&a!==Y&&a!==W&&a!==U&&a!==$&&a!==_&&a!==ba&&a!==da&&a!==P&&a!==R&&a!==T&&a!==N&&a!==ca&&a!==X&&a!==S&&a!==O&&a!==Q&&a!==Z&&a!==aa}function n(a,b,c,d,e){var f,g,h=!1,i=!1,n=-1!==d,o=-1,p=m(a.charCodeAt(0))&&!j(a.charCodeAt(a.length-1));if(b)for(f=0;f<a.length;f++){if(g=a.charCodeAt(f),!k(g))return ka;p=p&&l(g)}else{for(f=0;f<a.length;f++){if(g=a.charCodeAt(f),g===L)h=!0,n&&(i=i||f-o-1>d&&" "!==a[o+1],o=f);else if(!k(g))return ka;p=p&&l(g)}i=i||n&&f-o-1>d&&" "!==a[o+1]}return h||i?" "===a[0]&&c>9?ka:i?ja:ia:p&&!e(a)?ga:ha}function o(a,b,c,d){a.dump=function(){function e(b){return i(a,b)}if(0===b.length)return"''";if(!a.noCompatMode&&-1!==fa.indexOf(b))return"'"+b+"'";var f=a.indent*Math.max(1,c),h=-1===a.lineWidth?-1:Math.max(Math.min(a.lineWidth,40),a.lineWidth-f),j=d||a.flowLevel>-1&&c>=a.flowLevel;switch(n(b,j,a.indent,h,e)){case ga:return b;case ha:return"'"+b.replace(/'/g,"''")+"'";case ia:return"|"+p(b,a.indent)+q(g(b,f));case ja:return">"+p(b,a.indent)+q(g(r(b,h),f));case ka:return'"'+t(b,h)+'"';default:throw new F("impossible error: invalid scalar style")}}()}function p(a,b){var c=" "===a[0]?String(b):"",d="\n"===a[a.length-1],e=d&&("\n"===a[a.length-2]||"\n"===a),f=e?"+":d?"":"-";return c+f+"\n"}function q(a){return"\n"===a[a.length-1]?a.slice(0,-1):a}function r(a,b){for(var c,d,e=/(\n+)([^\n]*)/g,f=function(){var c=a.indexOf("\n");return c=-1!==c?c:a.length,e.lastIndex=c,s(a.slice(0,c),b)}(),g="\n"===a[0]||" "===a[0];d=e.exec(a);){var h=d[1],i=d[2];c=" "===i[0],f+=h+(g||c||""===i?"":"\n")+s(i,b),g=c}return f}function s(a,b){if(""===a||" "===a[0])return a;for(var c,d,e=/ [^ ]/g,f=0,g=0,h=0,i="";c=e.exec(a);)h=c.index,h-f>b&&(d=g>f?g:h,i+="\n"+a.slice(f,d),f=d+1),g=h;return i+="\n",i+=a.length-f>b&&g>f?a.slice(f,g)+"\n"+a.slice(g+1):a.slice(f),i.slice(1)}function t(a){for(var b,c,d="",f=0;f<a.length;f++)b=a.charCodeAt(f),c=ea[b],d+=!c&&k(b)?a[f]:c||e(b);return d}function u(a,b,c){var d,e,f="",g=a.tag;for(d=0,e=c.length;e>d;d+=1)z(a,b,c[d],!1,!1)&&(0!==d&&(f+=", "),f+=a.dump);a.tag=g,a.dump="["+f+"]"}function v(a,b,c,d){var e,f,g="",i=a.tag;for(e=0,f=c.length;f>e;e+=1)z(a,b+1,c[e],!0,!0)&&(d&&0===e||(g+=h(a,b)),g+="- "+a.dump);a.tag=i,a.dump=g||"[]"}function w(a,b,c){var d,e,f,g,h,i="",j=a.tag,k=Object.keys(c);for(d=0,e=k.length;e>d;d+=1)h="",0!==d&&(h+=", "),f=k[d],g=c[f],z(a,b,f,!1,!1)&&(a.dump.length>1024&&(h+="? "),h+=a.dump+": ",z(a,b,g,!1,!1)&&(h+=a.dump,i+=h));a.tag=j,a.dump="{"+i+"}"}function x(a,b,c,d){var e,f,g,i,j,k,l="",m=a.tag,n=Object.keys(c);if(a.sortKeys===!0)n.sort();else if("function"==typeof a.sortKeys)n.sort(a.sortKeys);else if(a.sortKeys)throw new F("sortKeys must be a boolean or a function");for(e=0,f=n.length;f>e;e+=1)k="",d&&0===e||(k+=h(a,b)),g=n[e],i=c[g],z(a,b+1,g,!0,!0,!0)&&(j=null!==a.tag&&"?"!==a.tag||a.dump&&a.dump.length>1024,j&&(k+=a.dump&&L===a.dump.charCodeAt(0)?"?":"? "),k+=a.dump,j&&(k+=h(a,b)),z(a,b+1,i,!0,j)&&(k+=a.dump&&L===a.dump.charCodeAt(0)?":":": ",k+=a.dump,l+=k));a.tag=m,a.dump=l||"{}"}function y(a,b,c){var d,e,f,g,h,i;for(e=c?a.explicitTypes:a.implicitTypes,f=0,g=e.length;g>f;f+=1)if(h=e[f],(h.instanceOf||h.predicate)&&(!h.instanceOf||"object"==typeof b&&b instanceof h.instanceOf)&&(!h.predicate||h.predicate(b))){if(a.tag=c?h.tag:"?",h.represent){if(i=a.styleMap[h.tag]||h.defaultStyle,"[object Function]"===I.call(h.represent))d=h.represent(b,i);else{if(!J.call(h.represent,i))throw new F("!<"+h.tag+'> tag resolver accepts not "'+i+'" style');d=h.represent[i](b,i)}a.dump=d}return!0}return!1}function z(a,b,c,d,e,f){a.tag=null,a.dump=c,y(a,c,!1)||y(a,c,!0);var g=I.call(a.dump);d&&(d=a.flowLevel<0||a.flowLevel>b);var h,i,j="[object Object]"===g||"[object Array]"===g;if(j&&(h=a.duplicates.indexOf(c),i=-1!==h),(null!==a.tag&&"?"!==a.tag||i||2!==a.indent&&b>0)&&(e=!1),i&&a.usedDuplicates[h])a.dump="*ref_"+h;else{if(j&&i&&!a.usedDuplicates[h]&&(a.usedDuplicates[h]=!0),"[object Object]"===g)d&&0!==Object.keys(a.dump).length?(x(a,b,a.dump,e),i&&(a.dump="&ref_"+h+a.dump)):(w(a,b,a.dump),i&&(a.dump="&ref_"+h+" "+a.dump));else if("[object Array]"===g)d&&0!==a.dump.length?(v(a,b,a.dump,e),i&&(a.dump="&ref_"+h+a.dump)):(u(a,b,a.dump),i&&(a.dump="&ref_"+h+" "+a.dump));else{if("[object String]"!==g){if(a.skipInvalid)return!1;throw new F("unacceptable kind of an object to dump "+g)}"?"!==a.tag&&o(a,a.dump,b,f)}null!==a.tag&&"?"!==a.tag&&(a.dump="!<"+a.tag+"> "+a.dump)}return!0}function A(a,b){var c,d,e=[],f=[];for(B(a,e,f),c=0,d=f.length;d>c;c+=1)b.duplicates.push(e[f[c]]);b.usedDuplicates=new Array(d)}function B(a,b,c){var d,e,f;if(null!==a&&"object"==typeof a)if(e=b.indexOf(a),-1!==e)-1===c.indexOf(e)&&c.push(e);else if(b.push(a),Array.isArray(a))for(e=0,f=a.length;f>e;e+=1)B(a[e],b,c);else for(d=Object.keys(a),e=0,f=d.length;f>e;e+=1)B(a[d[e]],b,c)}function C(a,b){b=b||{};var c=new f(b);return c.noRefs||A(a,c),z(c,0,a,!0,!0)?c.dump+"\n":""}function D(a,b){return C(a,E.extend({schema:H},b))}var E=a("1a6"),F=a("1a8"),G=a("1aa"),H=a("1a9"),I=Object.prototype.toString,J=Object.prototype.hasOwnProperty,K=9,L=10,M=32,N=33,O=34,P=35,Q=37,R=38,S=39,T=42,U=44,V=45,W=58,X=62,Y=63,Z=64,$=91,_=93,aa=96,ba=123,ca=124,da=125,ea={};ea[0]="\\0",ea[7]="\\a",ea[8]="\\b",ea[9]="\\t",ea[10]="\\n",ea[11]="\\v",ea[12]="\\f",ea[13]="\\r",ea[27]="\\e",ea[34]='\\"',ea[92]="\\\\",ea[133]="\\N",ea[160]="\\_",ea[8232]="\\L",ea[8233]="\\P";var fa=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],ga=1,ha=2,ia=3,ja=4,ka=5;return c.exports.dump=C,c.exports.safeDump=D,c.exports}),a.registerDynamic("1ac",["1a6","1a8","1ad"],!0,function(a,b,c){"use strict";function d(a,b,c){var e=[];return a.include.forEach(function(a){c=d(a,b,c)}),a[b].forEach(function(a){c.forEach(function(b,c){b.tag===a.tag&&e.push(c)}),c.push(a)}),c.filter(function(a,b){return-1===e.indexOf(b)})}function e(){function a(a){d[a.tag]=a}var b,c,d={};for(b=0,c=arguments.length;c>b;b+=1)arguments[b].forEach(a);return d}function f(a){this.include=a.include||[],this.implicit=a.implicit||[],this.explicit=a.explicit||[],this.implicit.forEach(function(a){if(a.loadKind&&"scalar"!==a.loadKind)throw new h("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}),this.compiledImplicit=d(this,"implicit",[]),this.compiledExplicit=d(this,"explicit",[]),this.compiledTypeMap=e(this.compiledImplicit,this.compiledExplicit)}var g=a("1a6"),h=a("1a8"),i=a("1ad");return f.DEFAULT=null,f.create=function(){var a,b;switch(arguments.length){case 1:a=f.DEFAULT,b=arguments[0];break;case 2:a=arguments[0],b=arguments[1];break;default:throw new h("Wrong number of arguments for Schema.create function")}if(a=g.toArray(a),b=g.toArray(b),!a.every(function(a){return a instanceof f}))throw new h("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");if(!b.every(function(a){return a instanceof i}))throw new h("Specified list of YAML types (or a single Type object) contains a non-Type object.");return new f({include:a,explicit:b})},c.exports=f,c.exports}),a.registerDynamic("1ae",["1ad"],!0,function(a,b,c){"use strict";var d=a("1ad");return c.exports=new d("tag:yaml.org,2002:str",{kind:"scalar",construct:function(a){return null!==a?a:""}}),c.exports}),a.registerDynamic("1af",["1ad"],!0,function(a,b,c){"use strict";var d=a("1ad");return c.exports=new d("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(a){return null!==a?a:[]}}),c.exports}),a.registerDynamic("1b0",["1ad"],!0,function(a,b,c){"use strict";var d=a("1ad");return c.exports=new d("tag:yaml.org,2002:map",{kind:"mapping",construct:function(a){return null!==a?a:{}}}),c.exports}),a.registerDynamic("1b1",["1ac","1ae","1af","1b0"],!0,function(a,b,c){"use strict";var d=a("1ac");return c.exports=new d({explicit:[a("1ae"),a("1af"),a("1b0")]}),c.exports}),a.registerDynamic("1b2",["1ad"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!0;var b=a.length;return 1===b&&"~"===a||4===b&&("null"===a||"Null"===a||"NULL"===a)}function e(){return null}function f(a){return null===a}var g=a("1ad");return c.exports=new g("tag:yaml.org,2002:null",{kind:"scalar",resolve:d,construct:e,predicate:f,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"}},defaultStyle:"lowercase"}),c.exports}),a.registerDynamic("1b3",["1ad"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!1;var b=a.length;return 4===b&&("true"===a||"True"===a||"TRUE"===a)||5===b&&("false"===a||"False"===a||"FALSE"===a)}function e(a){return"true"===a||"True"===a||"TRUE"===a}function f(a){return"[object Boolean]"===Object.prototype.toString.call(a)}var g=a("1ad");return c.exports=new g("tag:yaml.org,2002:bool",{kind:"scalar",resolve:d,construct:e,predicate:f,represent:{lowercase:function(a){return a?"true":"false"},uppercase:function(a){return a?"TRUE":"FALSE"},camelcase:function(a){return a?"True":"False"}},defaultStyle:"lowercase"}),c.exports}),a.registerDynamic("1b4",["1a6","1ad"],!0,function(a,b,c){"use strict";function d(a){return a>=48&&57>=a||a>=65&&70>=a||a>=97&&102>=a}function e(a){return a>=48&&55>=a}function f(a){return a>=48&&57>=a}function g(a){if(null===a)return!1;var b,c=a.length,g=0,h=!1;if(!c)return!1;if(b=a[g],"-"!==b&&"+"!==b||(b=a[++g]),"0"===b){if(g+1===c)return!0;if(b=a[++g],"b"===b){for(g++;c>g;g++)if(b=a[g],"_"!==b){if("0"!==b&&"1"!==b)return!1;h=!0}return h}if("x"===b){for(g++;c>g;g++)if(b=a[g],"_"!==b){if(!d(a.charCodeAt(g)))return!1;h=!0}return h}for(;c>g;g++)if(b=a[g],"_"!==b){if(!e(a.charCodeAt(g)))return!1;h=!0}return h}for(;c>g;g++)if(b=a[g],"_"!==b){if(":"===b)break;if(!f(a.charCodeAt(g)))return!1;h=!0}return h?":"!==b?!0:/^(:[0-5]?[0-9])+$/.test(a.slice(g)):!1}function h(a){var b,c,d=a,e=1,f=[];return-1!==d.indexOf("_")&&(d=d.replace(/_/g,"")),b=d[0],"-"!==b&&"+"!==b||("-"===b&&(e=-1),d=d.slice(1),b=d[0]),"0"===d?0:"0"===b?"b"===d[1]?e*parseInt(d.slice(2),2):"x"===d[1]?e*parseInt(d,16):e*parseInt(d,8):-1!==d.indexOf(":")?(d.split(":").forEach(function(a){f.unshift(parseInt(a,10))}),d=0,c=1,f.forEach(function(a){d+=a*c,c*=60}),e*d):e*parseInt(d,10)}function i(a){return"[object Number]"===Object.prototype.toString.call(a)&&a%1===0&&!j.isNegativeZero(a)}var j=a("1a6"),k=a("1ad");return c.exports=new k("tag:yaml.org,2002:int",{kind:"scalar",resolve:g,construct:h,predicate:i,represent:{binary:function(a){return"0b"+a.toString(2)},octal:function(a){return"0"+a.toString(8)},decimal:function(a){return a.toString(10)},hexadecimal:function(a){return"0x"+a.toString(16).toUpperCase()}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),c.exports}),a.registerDynamic("1a6",[],!0,function(a,b,c){"use strict";function d(a){return"undefined"==typeof a||null===a}function e(a){return"object"==typeof a&&null!==a}function f(a){return Array.isArray(a)?a:d(a)?[]:[a]}function g(a,b){var c,d,e,f;if(b)for(f=Object.keys(b),c=0,d=f.length;d>c;c+=1)e=f[c],a[e]=b[e];return a}function h(a,b){var c,d="";for(c=0;b>c;c+=1)d+=a;return d}function i(a){return 0===a&&Number.NEGATIVE_INFINITY===1/a}return c.exports.isNothing=d,c.exports.isObject=e,c.exports.toArray=f,c.exports.repeat=h,c.exports.isNegativeZero=i,c.exports.extend=g,c.exports}),a.registerDynamic("1b5",["1a6","1ad"],!0,function(a,b,c){"use strict";function d(a){return null===a?!1:!!j.test(a)}function e(a){var b,c,d,e;return b=a.replace(/_/g,"").toLowerCase(),c="-"===b[0]?-1:1,e=[],"+-".indexOf(b[0])>=0&&(b=b.slice(1)),".inf"===b?1===c?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===b?NaN:b.indexOf(":")>=0?(b.split(":").forEach(function(a){e.unshift(parseFloat(a,10))}),b=0,d=1,e.forEach(function(a){b+=a*d,d*=60}),c*b):c*parseFloat(b,10)}function f(a,b){var c;if(isNaN(a))switch(b){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===a)switch(b){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===a)switch(b){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(h.isNegativeZero(a))return"-0.0";return c=a.toString(10),k.test(c)?c.replace("e",".e"):c}function g(a){return"[object Number]"===Object.prototype.toString.call(a)&&(a%1!==0||h.isNegativeZero(a))}var h=a("1a6"),i=a("1ad"),j=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+][0-9]+)?|\\.[0-9_]+(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),k=/^[-+]?[0-9]+e/;return c.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:d,construct:e,predicate:g,represent:f,defaultStyle:"lowercase"}),c.exports}),a.registerDynamic("1b6",["1ac","1b1","1b2","1b3","1b4","1b5"],!0,function(a,b,c){"use strict";var d=a("1ac");return c.exports=new d({include:[a("1b1")],implicit:[a("1b2"),a("1b3"),a("1b4"),a("1b5")]}),c.exports}),a.registerDynamic("1b7",["1ac","1b6"],!0,function(a,b,c){"use strict";var d=a("1ac");return c.exports=new d({include:[a("1b6")]}),c.exports}),a.registerDynamic("1b8",["1ad"],!0,function(a,b,c){"use strict";function d(a){return null===a?!1:null!==h.exec(a)?!0:null!==i.exec(a)}function e(a){var b,c,d,e,f,g,j,k,l,m,n=0,o=null;if(b=h.exec(a),null===b&&(b=i.exec(a)),null===b)throw new Error("Date resolve error");if(c=+b[1],d=+b[2]-1,e=+b[3],!b[4])return new Date(Date.UTC(c,d,e));if(f=+b[4],g=+b[5],j=+b[6],b[7]){for(n=b[7].slice(0,3);n.length<3;)n+="0";n=+n}return b[9]&&(k=+b[10],l=+(b[11]||0),o=6e4*(60*k+l),"-"===b[9]&&(o=-o)),m=new Date(Date.UTC(c,d,e,f,g,j,n)),o&&m.setTime(m.getTime()-o),m}function f(a){return a.toISOString()}var g=a("1ad"),h=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),i=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");return c.exports=new g("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:d,construct:e,instanceOf:Date,represent:f}),c.exports}),a.registerDynamic("1b9",["1ad"],!0,function(a,b,c){"use strict";function d(a){return"<<"===a||null===a}var e=a("1ad");return c.exports=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:d}),c.exports}),a.registerDynamic("1ba",["1ad","165"],!0,function(a,b,c){return function(b){"use strict";function d(a){if(null===a)return!1;var b,c,d=0,e=a.length,f=l;for(c=0;e>c;c++)if(b=f.indexOf(a.charAt(c)),!(b>64)){if(0>b)return!1;d+=6}return d%8===0}function e(a){var b,c,d=a.replace(/[\r\n=]/g,""),e=d.length,f=l,g=0,i=[];for(b=0;e>b;b++)b%4===0&&b&&(i.push(g>>16&255),i.push(g>>8&255),i.push(255&g)),g=g<<6|f.indexOf(d.charAt(b));return c=e%4*6,0===c?(i.push(g>>16&255),i.push(g>>8&255),i.push(255&g)):18===c?(i.push(g>>10&255),i.push(g>>2&255)):12===c&&i.push(g>>4&255),h?new h(i):i}function f(a){var b,c,d="",e=0,f=a.length,g=l;for(b=0;f>b;b++)b%3===0&&b&&(d+=g[e>>18&63],d+=g[e>>12&63],d+=g[e>>6&63],d+=g[63&e]),e=(e<<8)+a[b];return c=f%3,0===c?(d+=g[e>>18&63],d+=g[e>>12&63],d+=g[e>>6&63],d+=g[63&e]):2===c?(d+=g[e>>10&63],d+=g[e>>4&63],d+=g[e<<2&63],d+=g[64]):1===c&&(d+=g[e>>2&63],d+=g[e<<4&63],d+=g[64],d+=g[64]),d}function g(a){return h&&h.isBuffer(a)}var h;try{var i=a;h=i("buffer").Buffer}catch(j){}var k=a("1ad"),l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";c.exports=new k("tag:yaml.org,2002:binary",{kind:"scalar",resolve:d,construct:e,predicate:g,represent:f})}(a("165").Buffer),c.exports}),a.registerDynamic("1bb",["1ad"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!0;var b,c,d,e,f,i=[],j=a;for(b=0,c=j.length;c>b;b+=1){if(d=j[b],f=!1,"[object Object]"!==h.call(d))return!1;for(e in d)if(g.call(d,e)){if(f)return!1;f=!0}if(!f)return!1;if(-1!==i.indexOf(e))return!1;i.push(e)}return!0}function e(a){return null!==a?a:[]}var f=a("1ad"),g=Object.prototype.hasOwnProperty,h=Object.prototype.toString;return c.exports=new f("tag:yaml.org,2002:omap",{kind:"sequence",resolve:d,construct:e}),c.exports}),a.registerDynamic("1bc",["1ad"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!0;var b,c,d,e,f,h=a;for(f=new Array(h.length),b=0,c=h.length;c>b;b+=1){if(d=h[b],"[object Object]"!==g.call(d))return!1;if(e=Object.keys(d),1!==e.length)return!1;f[b]=[e[0],d[e[0]]]}return!0}function e(a){if(null===a)return[];var b,c,d,e,f,g=a;for(f=new Array(g.length),b=0,c=g.length;c>b;b+=1)d=g[b],e=Object.keys(d),f[b]=[e[0],d[e[0]]];return f}var f=a("1ad"),g=Object.prototype.toString;return c.exports=new f("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:d,construct:e}),c.exports}),a.registerDynamic("1bd",["1ad"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!0;var b,c=a;for(b in c)if(g.call(c,b)&&null!==c[b])return!1;return!0}function e(a){return null!==a?a:{}}var f=a("1ad"),g=Object.prototype.hasOwnProperty;return c.exports=new f("tag:yaml.org,2002:set",{kind:"mapping",resolve:d,construct:e}),c.exports}),a.registerDynamic("1a9",["1ac","1b7","1b8","1b9","1ba","1bb","1bc","1bd"],!0,function(a,b,c){"use strict";var d=a("1ac");return c.exports=new d({include:[a("1b7")],implicit:[a("1b8"),a("1b9")],explicit:[a("1ba"),a("1bb"),a("1bc"),a("1bd")]}),c.exports}),a.registerDynamic("1be",["1ad"],!0,function(a,b,c){"use strict";function d(){return!0}function e(){}function f(){return""}function g(a){return"undefined"==typeof a}var h=a("1ad");return c.exports=new h("tag:yaml.org,2002:js/undefined",{kind:"scalar",resolve:d,construct:e,predicate:g,represent:f}),c.exports}),a.registerDynamic("1bf",["1ad"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!1;if(0===a.length)return!1;var b=a,c=/\/([gim]*)$/.exec(a),d="";if("/"===b[0]){if(c&&(d=c[1]),d.length>3)return!1;if("/"!==b[b.length-d.length-1])return!1}return!0}function e(a){var b=a,c=/\/([gim]*)$/.exec(a),d="";return"/"===b[0]&&(c&&(d=c[1]),b=b.slice(1,b.length-d.length-1)),new RegExp(b,d)}function f(a){var b="/"+a.source+"/";return a.global&&(b+="g"),a.multiline&&(b+="m"),a.ignoreCase&&(b+="i"),b}function g(a){return"[object RegExp]"===Object.prototype.toString.call(a)}var h=a("1ad");return c.exports=new h("tag:yaml.org,2002:js/regexp",{kind:"scalar",resolve:d,construct:e,predicate:g,represent:f}),c.exports}),a.registerDynamic("1ad",["1a8"],!0,function(a,b,c){"use strict";function d(a){var b={};return null!==a&&Object.keys(a).forEach(function(c){a[c].forEach(function(a){b[String(a)]=c})}),b}function e(a,b){if(b=b||{},Object.keys(b).forEach(function(b){if(-1===g.indexOf(b))throw new f('Unknown option "'+b+'" is met in definition of "'+a+'" YAML type.')}),this.tag=a,this.kind=b.kind||null,this.resolve=b.resolve||function(){return!0},this.construct=b.construct||function(a){return a},this.instanceOf=b.instanceOf||null,this.predicate=b.predicate||null,this.represent=b.represent||null,this.defaultStyle=b.defaultStyle||null,this.styleAliases=d(b.styleAliases||null),-1===h.indexOf(this.kind))throw new f('Unknown kind "'+this.kind+'" is specified for "'+a+'" YAML type.')}var f=a("1a8"),g=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],h=["scalar","sequence","mapping"];return c.exports=e,c.exports}),a.registerDynamic("1c0",["1ad"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!1;try{var b="("+a+")",c=h.parse(b,{range:!0});return"Program"===c.type&&1===c.body.length&&"ExpressionStatement"===c.body[0].type&&"FunctionExpression"===c.body[0].expression.type}catch(d){return!1}}function e(a){var b,c="("+a+")",d=h.parse(c,{range:!0}),e=[];if("Program"!==d.type||1!==d.body.length||"ExpressionStatement"!==d.body[0].type||"FunctionExpression"!==d.body[0].expression.type)throw new Error("Failed to resolve function");return d.body[0].expression.params.forEach(function(a){e.push(a.name)}),b=d.body[0].expression.body.range,new Function(e,c.slice(b[0]+1,b[1]-1))}function f(a){return a.toString()}function g(a){return"[object Function]"===Object.prototype.toString.call(a)}var h;try{var i=a;h=i("esprima")}catch(j){"undefined"!=typeof window&&(h=window.esprima)}var k=a("1ad");return c.exports=new k("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:d,construct:e,predicate:g,represent:f}),c.exports}),a.registerDynamic("1aa",["1ac","1a9","1be","1bf","1c0"],!0,function(a,b,c){"use strict";var d=a("1ac");return c.exports=d.DEFAULT=new d({include:[a("1a9")],explicit:[a("1be"),a("1bf"),a("1c0")]}),c.exports}),a.registerDynamic("1a8",[],!0,function(a,b,c){"use strict";function d(a,b){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"",this.name="YAMLException",this.reason=a,this.mark=b,this.message=(this.reason||"(unknown reason)")+(this.mark?" "+this.mark.toString():"")}return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d.prototype.toString=function(a){var b=this.name+": ";return b+=this.reason||"(unknown reason)",!a&&this.mark&&(b+=" "+this.mark.toString()),b},c.exports=d,c.exports}),a.registerDynamic("1c1",["1a7","1ab","1ad","1ac","1b1","1b6","1b7","1a9","1aa","1a8"],!0,function(a,b,c){"use strict";function d(a){return function(){throw new Error("Function "+a+" is deprecated and cannot be used.")}}var e=a("1a7"),f=a("1ab");return c.exports.Type=a("1ad"),c.exports.Schema=a("1ac"),c.exports.FAILSAFE_SCHEMA=a("1b1"),c.exports.JSON_SCHEMA=a("1b6"),c.exports.CORE_SCHEMA=a("1b7"),c.exports.DEFAULT_SAFE_SCHEMA=a("1a9"),c.exports.DEFAULT_FULL_SCHEMA=a("1aa"),c.exports.load=e.load,c.exports.loadAll=e.loadAll,c.exports.safeLoad=e.safeLoad,c.exports.safeLoadAll=e.safeLoadAll,c.exports.dump=f.dump,c.exports.safeDump=f.safeDump,c.exports.YAMLException=a("1a8"),c.exports.MINIMAL_SCHEMA=a("1b1"),c.exports.SAFE_SCHEMA=a("1a9"),c.exports.DEFAULT_SCHEMA=a("1aa"),c.exports.scan=d("scan"),c.exports.parse=d("parse"),c.exports.compose=d("compose"),c.exports.addConstructor=d("addConstructor"),c.exports}),a.registerDynamic("1c2",["1c1"],!0,function(a,b,c){"use strict";var d=a("1c1");return c.exports=d,c.exports}),a.registerDynamic("1c3",["1c2"],!0,function(a,b,c){return c.exports=a("1c2"),c.exports}),a.registerDynamic("1c4",[],!0,function(a,b,c){return c.exports=function(a){return a&&"object"==typeof a&&"function"==typeof a.copy&&"function"==typeof a.fill&&"function"==typeof a.readUInt8},c.exports}),a.registerDynamic("1c5",[],!0,function(a,b,c){return"function"==typeof Object.create?c.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:c.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a},c.exports}),a.registerDynamic("172",["1c5"],!0,function(a,b,c){return c.exports=a("1c5"),c.exports}),a.registerDynamic("1c6",["1c4","172","45"],!0,function(a,b,c){var d=this;return function(c){function e(a,c){var d={seen:[],stylize:g};return arguments.length>=3&&(d.depth=arguments[2]),arguments.length>=4&&(d.colors=arguments[3]),p(c)?d.showHidden=c:c&&b._extend(d,c),v(d.showHidden)&&(d.showHidden=!1),v(d.depth)&&(d.depth=2),v(d.colors)&&(d.colors=!1),v(d.customInspect)&&(d.customInspect=!0),d.colors&&(d.stylize=f),i(d,a,d.depth)}function f(a,b){var c=e.styles[b];return c?"["+e.colors[c][0]+"m"+a+"["+e.colors[c][1]+"m":a}function g(a,b){return a}function h(a){var b={};return a.forEach(function(a,c){b[a]=!0}),b}function i(a,c,d){if(a.customInspect&&c&&A(c.inspect)&&c.inspect!==b.inspect&&(!c.constructor||c.constructor.prototype!==c)){var e=c.inspect(d,a);return t(e)||(e=i(a,e,d)),e}var f=j(a,c);if(f)return f;var g=Object.keys(c),p=h(g);if(a.showHidden&&(g=Object.getOwnPropertyNames(c)),z(c)&&(g.indexOf("message")>=0||g.indexOf("description")>=0))return k(c);if(0===g.length){if(A(c)){var q=c.name?": "+c.name:"";return a.stylize("[Function"+q+"]","special")}if(w(c))return a.stylize(RegExp.prototype.toString.call(c),"regexp");if(y(c))return a.stylize(Date.prototype.toString.call(c),"date");if(z(c))return k(c)}var r="",s=!1,u=["{","}"];if(o(c)&&(s=!0,u=["[","]"]),A(c)){var v=c.name?": "+c.name:"";r=" [Function"+v+"]"}if(w(c)&&(r=" "+RegExp.prototype.toString.call(c)),y(c)&&(r=" "+Date.prototype.toUTCString.call(c)),z(c)&&(r=" "+k(c)),0===g.length&&(!s||0==c.length))return u[0]+r+u[1];if(0>d)return w(c)?a.stylize(RegExp.prototype.toString.call(c),"regexp"):a.stylize("[Object]","special");a.seen.push(c);var x;return x=s?l(a,c,d,p,g):g.map(function(b){return m(a,c,d,p,b,s)}),a.seen.pop(),n(x,r,u)}function j(a,b){if(v(b))return a.stylize("undefined","undefined");if(t(b)){var c="'"+JSON.stringify(b).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(c,"string")}return s(b)?a.stylize(""+b,"number"):p(b)?a.stylize(""+b,"boolean"):q(b)?a.stylize("null","null"):void 0}function k(a){return"["+Error.prototype.toString.call(a)+"]"}function l(a,b,c,d,e){for(var f=[],g=0,h=b.length;h>g;++g)F(b,String(g))?f.push(m(a,b,c,d,String(g),!0)):f.push("");return e.forEach(function(e){e.match(/^\d+$/)||f.push(m(a,b,c,d,e,!0))}),f}function m(a,b,c,d,e,f){var g,h,j;if(j=Object.getOwnPropertyDescriptor(b,e)||{value:b[e]},j.get?h=j.set?a.stylize("[Getter/Setter]","special"):a.stylize("[Getter]","special"):j.set&&(h=a.stylize("[Setter]","special")),F(d,e)||(g="["+e+"]"),h||(a.seen.indexOf(j.value)<0?(h=q(c)?i(a,j.value,null):i(a,j.value,c-1),h.indexOf("\n")>-1&&(h=f?h.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+h.split("\n").map(function(a){return" "+a}).join("\n"))):h=a.stylize("[Circular]","special")),v(g)){if(f&&e.match(/^\d+$/))return h;g=JSON.stringify(""+e),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.substr(1,g.length-2),g=a.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=a.stylize(g,"string"))}return g+": "+h}function n(a,b,c){var d=0,e=a.reduce(function(a,b){return d++,b.indexOf("\n")>=0&&d++,a+b.replace(/\u001b\[\d\d?m/g,"").length+1},0);return e>60?c[0]+(""===b?"":b+"\n ")+" "+a.join(",\n ")+" "+c[1]:c[0]+b+" "+a.join(", ")+" "+c[1]}function o(a){return Array.isArray(a)}function p(a){return"boolean"==typeof a}function q(a){return null===a}function r(a){return null==a}function s(a){return"number"==typeof a}function t(a){return"string"==typeof a}function u(a){return"symbol"==typeof a}function v(a){return void 0===a}function w(a){return x(a)&&"[object RegExp]"===C(a)}function x(a){return"object"==typeof a&&null!==a}function y(a){return x(a)&&"[object Date]"===C(a)}function z(a){return x(a)&&("[object Error]"===C(a)||a instanceof Error)}function A(a){return"function"==typeof a}function B(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||"undefined"==typeof a}function C(a){return Object.prototype.toString.call(a)}function D(a){return 10>a?"0"+a.toString(10):a.toString(10)}function E(){var a=new Date,b=[D(a.getHours()),D(a.getMinutes()),D(a.getSeconds())].join(":");return[a.getDate(),J[a.getMonth()],b].join(" ")}function F(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var G=/%[sdj%]/g;b.format=function(a){if(!t(a)){for(var b=[],c=0;c<arguments.length;c++)b.push(e(arguments[c]));return b.join(" ")}for(var c=1,d=arguments,f=d.length,g=String(a).replace(G,function(a){if("%%"===a)return"%";if(c>=f)return a;switch(a){case"%s":return String(d[c++]);
|
||
case"%d":return Number(d[c++]);case"%j":try{return JSON.stringify(d[c++])}catch(b){return"[Circular]"}default:return a}}),h=d[c];f>c;h=d[++c])g+=q(h)||!x(h)?" "+h:" "+e(h);return g},b.deprecate=function(a,e){function f(){if(!g){if(c.throwDeprecation)throw new Error(e);c.traceDeprecation?console.trace(e):console.error(e),g=!0}return a.apply(this,arguments)}if(v(d.process))return function(){return b.deprecate(a,e).apply(this,arguments)};if(c.noDeprecation===!0)return a;var g=!1;return f};var H,I={};b.debuglog=function(a){if(v(H)&&(H=c.env.NODE_DEBUG||""),a=a.toUpperCase(),!I[a])if(new RegExp("\\b"+a+"\\b","i").test(H)){var d=c.pid;I[a]=function(){var c=b.format.apply(b,arguments);console.error("%s %d: %s",a,d,c)}}else I[a]=function(){};return I[a]},b.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},b.isArray=o,b.isBoolean=p,b.isNull=q,b.isNullOrUndefined=r,b.isNumber=s,b.isString=t,b.isSymbol=u,b.isUndefined=v,b.isRegExp=w,b.isObject=x,b.isDate=y,b.isError=z,b.isFunction=A,b.isPrimitive=B,b.isBuffer=a("1c4");var J=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];b.log=function(){console.log("%s - %s",E(),b.format.apply(b,arguments))},b.inherits=a("172"),b._extend=function(a,b){if(!b||!x(b))return a;for(var c=Object.keys(b),d=c.length;d--;)a[c[d]]=b[c[d]];return a}}(a("45")),c.exports}),a.registerDynamic("1c7",["1c6"],!0,function(a,b,c){return c.exports=a("1c6"),c.exports}),a.registerDynamic("1c8",["1c7"],!0,function(b,c,d){return d.exports=a._nodeRequire?a._nodeRequire("util"):b("1c7"),d.exports}),a.registerDynamic("1c9",["1c8"],!0,function(a,b,c){return c.exports=a("1c8"),c.exports}),a.registerDynamic("1ca",["1c9"],!0,function(a,b,c){"use strict";function d(a){return function(b,d,h,i){var j,k=c.exports.formatter;"string"==typeof b?(j=k.apply(null,arguments),b=d=void 0):j="string"==typeof d?k.apply(null,n.call(arguments,1)):k.apply(null,n.call(arguments,2)),b instanceof Error||(d=b,b=void 0),b&&(j+=(j?" \n":"")+b.message);var l=new a(j);return e(l,b),f(l),g(l,d),l}}function e(a,b){b&&(j(a,b),g(a,b,!0))}function f(a){a.toJSON=h,a.inspect=i}function g(a,b,c){if(b&&"object"==typeof b)for(var d=Object.keys(b),e=0;e<d.length;e++){var f=d[e];if(!(c&&o.indexOf(f)>=0))try{a[f]=b[f]}catch(g){}}}function h(){var a={},b=Object.keys(this);b=b.concat(o);for(var c=0;c<b.length;c++){var d=b[c],e=this[d],f=typeof e;"undefined"!==f&&"function"!==f&&(a[d]=e)}return a}function i(){return JSON.stringify(this,null,2).replace(/\\n/g,"\n")}function j(a,b){if(k(b))l(a,b);else{var c=b.stack;c&&(a.stack+=" \n\n"+b.stack)}}function k(a){if(!p)return!1;var b=Object.getOwnPropertyDescriptor(a,"stack");return b?"function"==typeof b.get:!1}function l(a,b){var c=Object.getOwnPropertyDescriptor(b,"stack");if(c){var d=Object.getOwnPropertyDescriptor(a,"stack");Object.defineProperty(a,"stack",{get:function(){return d.get.apply(a)+" \n\n"+b.stack},enumerable:!1,configurable:!0})}}var m=a("1c9"),n=Array.prototype.slice,o=["name","message","description","number","fileName","lineNumber","columnNumber","sourceURL","line","column","stack"];c.exports=d(Error),c.exports.error=d(Error),c.exports.eval=d(EvalError),c.exports.range=d(RangeError),c.exports.reference=d(ReferenceError),c.exports.syntax=d(SyntaxError),c.exports.type=d(TypeError),c.exports.uri=d(URIError),c.exports.formatter=m.format;var p=function(){return!(!Object.getOwnPropertyDescriptor||!Object.defineProperty||"undefined"!=typeof navigator&&/Android/.test(navigator.userAgent))}();return c.exports}),a.registerDynamic("16f",["1ca"],!0,function(a,b,c){return c.exports=a("1ca"),c.exports}),a.registerDynamic("167",["1c3","16f"],!0,function(a,b,c){"use strict";var d=a("1c3"),e=a("16f");return c.exports={parse:function(a,b){try{return d.safeLoad(a)}catch(c){throw c instanceof Error?c:e(c,c.message)}},stringify:function(a,b,c){try{var f=("string"==typeof c?c.length:c)||2;return d.safeDump(a,{indent:f})}catch(g){throw g instanceof Error?g:e(g,g.message)}}},c.exports}),a.registerDynamic("1cb",["164","193","194","199","19a","19c","1a2","16d","1a4","16f","167","165"],!0,function(a,b,c){return function(b){"use strict";function d(){this.schema=null,this.$refs=new h}function e(a){var b,c,d,e;return a=Array.prototype.slice.call(a),"function"==typeof a[a.length-1]&&(e=a.pop()),"string"==typeof a[0]?(b=a[0],"object"==typeof a[2]?(c=a[1],d=a[2]):(c=void 0,d=a[1])):(b="",c=a[0],d=a[1]),d instanceof g||(d=new g(d)),{path:b,schema:c,options:d,callback:e}}var f=a("164"),g=a("193"),h=a("194"),i=a("199"),j=a("19a"),k=a("19c"),l=a("1a2"),m=a("16d"),n=a("1a4"),o=a("16f");c.exports=d,c.exports.YAML=a("167"),d.parse=function(a,b,c){var d=this,e=new d;return e.parse.apply(e,arguments)},d.prototype.parse=function(a,c,d){var g,j=e(arguments);if(!j.path&&!j.schema){var k=o("Expected a file path, URL, or object. Got %s",j.path||j.schema);return n(j.callback,f.reject(k))}this.schema=null,this.$refs=new h,m.isFileSystemPath(j.path)&&(j.path=m.fromFileSystemPath(j.path)),j.path=m.resolve(m.cwd(),j.path),j.schema&&"object"==typeof j.schema?(this.$refs._add(j.path,j.schema),g=f.resolve(j.schema)):g=i(j.path,this.$refs,j.options);var l=this;return g.then(function(a){if(!a||"object"!=typeof a||b.isBuffer(a))throw o.syntax('"%s" is not a valid JSON Schema',l.$refs._root$Ref.path||a);return l.schema=a,n(j.callback,f.resolve(l.schema))})["catch"](function(a){return n(j.callback,f.reject(a))})},d.resolve=function(a,b,c){var d=this,e=new d;return e.resolve.apply(e,arguments)},d.prototype.resolve=function(a,b,c){var d=this,g=e(arguments);return this.parse(g.path,g.schema,g.options).then(function(){return j(d,g.options)}).then(function(){return n(g.callback,f.resolve(d.$refs))})["catch"](function(a){return n(g.callback,f.reject(a))})},d.bundle=function(a,b,c){var d=this,e=new d;return e.bundle.apply(e,arguments)},d.prototype.bundle=function(a,b,c){var d=this,g=e(arguments);return this.resolve(g.path,g.schema,g.options).then(function(){return k(d,g.options),n(g.callback,f.resolve(d.schema))})["catch"](function(a){return n(g.callback,f.reject(a))})},d.dereference=function(a,b,c){var d=this,e=new d;return e.dereference.apply(e,arguments)},d.prototype.dereference=function(a,b,c){var d=this,g=e(arguments);return this.resolve(g.path,g.schema,g.options).then(function(){return l(d,g.options),n(g.callback,f.resolve(d.schema))})["catch"](function(a){return n(g.callback,f.reject(a))})}}(a("165").Buffer),c.exports}),a.registerDynamic("1cc",["1cb"],!0,function(a,b,c){return c.exports=a("1cb"),c.exports}),a.registerDynamic("1cd",["a9","141","1ce","1cf"],!0,function(a,b,c){var d=a("a9"),e=a("141"),f=a("1ce");return c.exports=a("1cf")(function(){var a=Object.assign,b={},c={},d=Symbol(),e="abcdefghijklmnopqrst";return b[d]=7,e.split("").forEach(function(a){c[a]=a}),7!=a({},b)[d]||Object.keys(a({},c)).join("")!=e})?function(a,b){for(var c=e(a),g=arguments,h=g.length,i=1,j=d.getKeys,k=d.getSymbols,l=d.isEnum;h>i;)for(var m,n=f(g[i++]),o=k?j(n).concat(k(n)):j(n),p=o.length,q=0;p>q;)l.call(n,m=o[q++])&&(c[m]=n[m]);return c}:Object.assign,c.exports}),a.registerDynamic("1d0",["98","1cd"],!0,function(a,b,c){var d=a("98");return d(d.S+d.F,"Object",{assign:a("1cd")}),c.exports}),a.registerDynamic("1d1",["1d0","9a"],!0,function(a,b,c){return a("1d0"),c.exports=a("9a").Object.assign,c.exports}),a.registerDynamic("87",["1d1"],!0,function(a,b,c){return c.exports={"default":a("1d1"),__esModule:!0},c.exports}),a.registerDynamic("1d2",[],!0,function(a,b,c){var d=Object.prototype.hasOwnProperty,e=Object.prototype.toString;return c.exports=function(a,b,c){if("[object Function]"!==e.call(b))throw new TypeError("iterator must be a function");var f=a.length;if(f===+f)for(var g=0;f>g;g++)b.call(c,a[g],g,a);else for(var h in a)d.call(a,h)&&b.call(c,a[h],h,a)},c.exports}),a.registerDynamic("1d3",["1d2"],!0,function(a,b,c){return c.exports=a("1d2"),c.exports}),a.registerDynamic("1d4",["1d3"],!0,function(a,b,c){"use strict";function d(a,b,c){if(3===arguments.length)return d.set(a,b,c);if(2===arguments.length)return d.get(a,b);var e=d.bind(d,a);for(var f in d)d.hasOwnProperty(f)&&(e[f]=d[f].bind(e,a));return e}var e=a("1d3");return c.exports=d,d.get=function(a,b){for(var c,e=d.parse(b);e.length;){if(c=e.shift(),!(c in a))throw new Error("Invalid reference token: "+c);a=a[c]}return a},d.set=function(a,b,c){for(var e,f=d.parse(b),g=f[0];f.length>1;)e=f.shift(),"-"===e&&Array.isArray(a)&&(e=a.length),g=f[0],e in a||(g.match(/^(\d+|-)$/)?a[e]=[]:a[e]={}),a=a[e];return"-"===g&&Array.isArray(a)&&(g=a.length),a[g]=c,this},d.remove=function(a,b){var c=d.parse(b),e=c.pop();if(void 0===e)throw new Error('Invalid JSON pointer for remove: "'+b+'"');delete d.get(a,d.compile(c))[e]},d.dict=function(a,b){var c={};return d.walk(a,function(a,b){c[b]=a},b),c},d.walk=function(a,b,c){var f=[];c=c||function(a){var b=Object.prototype.toString.call(a);return"[object Object]"===b||"[object Array]"===b},function g(a){e(a,function(a,e){f.push(String(e)),c(a)?g(a):b(a,d.compile(f)),f.pop()})}(a)},d.has=function(a,b){try{d.get(a,b)}catch(c){return!1}return!0},d.escape=function(a){return a.toString().replace(/~/g,"~0").replace(/\//g,"~1")},d.unescape=function(a){return a.replace(/~1/g,"/").replace(/~0/g,"~")},d.parse=function(a){if(""===a)return[];if("/"!==a.charAt(0))throw new Error("Invalid JSON pointer: "+a);return a.substring(1).split(/\//).map(d.unescape)},d.compile=function(a){return 0===a.length?"":"/"+a.map(d.escape).join("/")},c.exports}),a.registerDynamic("1d5",["1d4"],!0,function(a,b,c){return c.exports=a("1d4"),c.exports}),a.register("89",["77","78","87","1d5"],function(a){var b,c,d,e,f,g;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]}],execute:function(){"use strict";f=e.parse,g=function(){function a(){c(this,a)}return b(a,null,[{key:"baseName",value:function(b){var c=arguments.length<=1||void 0===arguments[1]?1:arguments[1],d=a.parse(b);return d[d.length-c]}},{key:"dirName",value:function(b){var c=arguments.length<=1||void 0===arguments[1]?1:arguments[1],d=a.parse(b);return e.compile(d.slice(0,d.length-c))}},{key:"parse",value:function(a){var b=a;return"#"===b.charAt(0)&&(b=b.substring(1)),f(b)}},{key:"join",value:function(b,c){var d=a.parse(b),f=d.concat(c);return e.compile(f)}},{key:"get",value:function(a,b){return e.get(a,b)}},{key:"compile",value:function(a){return e.compile(a)}},{key:"escape",value:function(a){return e.escape(a)}}]),a}(),a("JsonPointer",g),e.parse=g.parse,d(g,e),a("default",g)}}}),a.registerDynamic("141",["1d6"],!0,function(a,b,c){var d=a("1d6");return c.exports=function(a){return Object(d(a))},c.exports}),a.registerDynamic("1d7",["141","1d8"],!0,function(a,b,c){var d=a("141");return a("1d8")("keys",function(a){return function(b){return a(d(b))}}),c.exports}),a.registerDynamic("1d9",["1d7","9a"],!0,function(a,b,c){return a("1d7"),c.exports=a("9a").Object.keys,c.exports}),a.registerDynamic("82",["1d9"],!0,function(a,b,c){return c.exports={"default":a("1d9"),__esModule:!0},c.exports}),a.registerDynamic("1da",["1db"],!0,function(a,b,c){"use strict";function d(a,b){return++b>=a.length-2?b:"paragraph_open"===a[b].type&&a[b].tight&&"inline"===a[b+1].type&&0===a[b+1].content.length&&"paragraph_close"===a[b+2].type&&a[b+2].tight?d(a,b+2):b}var e=a("1db").has,f=a("1db").unescapeMd,g=a("1db").replaceEntities,h=a("1db").escapeHtml,i={};i.blockquote_open=function(){return"<blockquote>\n"},i.blockquote_close=function(a,b){return"</blockquote>"+j(a,b)},i.code=function(a,b){return a[b].block?"<pre><code>"+h(a[b].content)+"</code></pre>"+j(a,b):"<code>"+h(a[b].content)+"</code>"},i.fence=function(a,b,c,d,i){var k,l,m=a[b],n="",o=c.langPrefix,p="";if(m.params){if(k=m.params.split(/\s+/g)[0],e(i.rules.fence_custom,k))return i.rules.fence_custom[k](a,b,c,d,i);p=h(g(f(k))),n=' class="'+o+p+'"'}return l=c.highlight?c.highlight(m.content,p)||h(m.content):h(m.content),"<pre><code"+n+">"+l+"</code></pre>"+j(a,b)},i.fence_custom={},i.heading_open=function(a,b){return"<h"+a[b].hLevel+">"},i.heading_close=function(a,b){return"</h"+a[b].hLevel+">\n"},i.hr=function(a,b,c){return(c.xhtmlOut?"<hr />":"<hr>")+j(a,b)},i.bullet_list_open=function(){return"<ul>\n"},i.bullet_list_close=function(a,b){return"</ul>"+j(a,b)},i.list_item_open=function(){return"<li>"},i.list_item_close=function(){return"</li>\n"},i.ordered_list_open=function(a,b){var c=a[b],d=c.order>1?' start="'+c.order+'"':"";return"<ol"+d+">\n"},i.ordered_list_close=function(a,b){return"</ol>"+j(a,b)},i.paragraph_open=function(a,b){return a[b].tight?"":"<p>"},i.paragraph_close=function(a,b){var c=!(a[b].tight&&b&&"inline"===a[b-1].type&&!a[b-1].content);return(a[b].tight?"":"</p>")+(c?j(a,b):"")},i.link_open=function(a,b,c){var d=a[b].title?' title="'+h(g(a[b].title))+'"':"",e=c.linkTarget?' target="'+c.linkTarget+'"':"";return'<a href="'+h(a[b].href)+'"'+d+e+">"},i.link_close=function(){return"</a>"},i.image=function(a,b,c){var d=' src="'+h(a[b].src)+'"',e=a[b].title?' title="'+h(g(a[b].title))+'"':"",f=' alt="'+(a[b].alt?h(g(a[b].alt)):"")+'"',i=c.xhtmlOut?" /":"";return"<img"+d+f+e+i+">"},i.table_open=function(){return"<table>\n"},i.table_close=function(){return"</table>\n"},i.thead_open=function(){return"<thead>\n"},i.thead_close=function(){return"</thead>\n"},i.tbody_open=function(){return"<tbody>\n"},i.tbody_close=function(){return"</tbody>\n"},i.tr_open=function(){return"<tr>"},i.tr_close=function(){return"</tr>\n"},i.th_open=function(a,b){var c=a[b];return"<th"+(c.align?' style="text-align:'+c.align+'"':"")+">"},i.th_close=function(){return"</th>"},i.td_open=function(a,b){var c=a[b];return"<td"+(c.align?' style="text-align:'+c.align+'"':"")+">"},i.td_close=function(){return"</td>"},i.strong_open=function(){return"<strong>"},i.strong_close=function(){return"</strong>"},i.em_open=function(){return"<em>"},i.em_close=function(){return"</em>"},i.del_open=function(){return"<del>"},i.del_close=function(){return"</del>"},i.ins_open=function(){return"<ins>"},i.ins_close=function(){return"</ins>"},i.mark_open=function(){return"<mark>"},i.mark_close=function(){return"</mark>"},i.sub=function(a,b){return"<sub>"+h(a[b].content)+"</sub>"},i.sup=function(a,b){return"<sup>"+h(a[b].content)+"</sup>"},i.hardbreak=function(a,b,c){return c.xhtmlOut?"<br />\n":"<br>\n"},i.softbreak=function(a,b,c){return c.breaks?c.xhtmlOut?"<br />\n":"<br>\n":"\n"},i.text=function(a,b){return h(a[b].content)},i.htmlblock=function(a,b){return a[b].content},i.htmltag=function(a,b){return a[b].content},i.abbr_open=function(a,b){return'<abbr title="'+h(g(a[b].title))+'">'},i.abbr_close=function(){return"</abbr>"},i.footnote_ref=function(a,b){var c=Number(a[b].id+1).toString(),d="fnref"+c;return a[b].subId>0&&(d+=":"+a[b].subId),'<sup class="footnote-ref"><a href="#fn'+c+'" id="'+d+'">['+c+"]</a></sup>"},i.footnote_block_open=function(a,b,c){var d=c.xhtmlOut?'<hr class="footnotes-sep" />\n':'<hr class="footnotes-sep">\n';return d+'<section class="footnotes">\n<ol class="footnotes-list">\n'},i.footnote_block_close=function(){return"</ol>\n</section>\n"},i.footnote_open=function(a,b){var c=Number(a[b].id+1).toString();return'<li id="fn'+c+'" class="footnote-item">'},i.footnote_close=function(){return"</li>\n"},i.footnote_anchor=function(a,b){var c=Number(a[b].id+1).toString(),d="fnref"+c;return a[b].subId>0&&(d+=":"+a[b].subId),' <a href="#'+d+'" class="footnote-backref">↩</a>'},i.dl_open=function(){return"<dl>\n"},i.dt_open=function(){return"<dt>"},i.dd_open=function(){return"<dd>"},i.dl_close=function(){return"</dl>\n"},i.dt_close=function(){return"</dt>\n"},i.dd_close=function(){return"</dd>\n"};var j=i.getBreak=function(a,b){return b=d(a,b),b<a.length&&"list_item_close"===a[b].type?"":"\n"};return c.exports=i,c.exports}),a.registerDynamic("1dc",["1db","1da"],!0,function(a,b,c){"use strict";function d(){this.rules=e.assign({},f),this.getBreak=f.getBreak}var e=a("1db"),f=a("1da");return c.exports=d,d.prototype.renderInline=function(a,b,c){for(var d=this.rules,e=a.length,f=0,g="";e--;)g+=d[a[f].type](a,f++,b,c,this);return g},d.prototype.render=function(a,b,c){for(var d=this.rules,e=a.length,f=-1,g="";++f<e;)g+="inline"===a[f].type?this.renderInline(a[f].children,b,c):d[a[f].type](a,f,b,c,this);return g},c.exports}),a.registerDynamic("1dd",[],!0,function(a,b,c){"use strict";return c.exports=function(a){a.inlineMode?a.tokens.push({type:"inline",content:a.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):a.block.parse(a.src,a.options,a.env,a.tokens)},c.exports}),a.registerDynamic("1de",["1df","1e0"],!0,function(a,b,c){"use strict";function d(a,b,c,d){var g,h,i,j,k,l;if(42!==a.charCodeAt(0))return-1;if(91!==a.charCodeAt(1))return-1;if(-1===a.indexOf("]:"))return-1;if(g=new e(a,b,c,d,[]),h=f(g,1),0>h||58!==a.charCodeAt(h+1))return-1;for(j=g.posMax,i=h+2;j>i&&10!==g.src.charCodeAt(i);i++);return k=a.slice(2,h),l=a.slice(h+2,i).trim(),0===l.length?-1:(d.abbreviations||(d.abbreviations={}),"undefined"==typeof d.abbreviations[":"+k]&&(d.abbreviations[":"+k]=l),i)}var e=a("1df"),f=a("1e0");return c.exports=function(a){var b,c,e,f,g=a.tokens;if(!a.inlineMode)for(b=1,c=g.length-1;c>b;b++)if("paragraph_open"===g[b-1].type&&"inline"===g[b].type&&"paragraph_close"===g[b+1].type){for(e=g[b].content;e.length&&(f=d(e,a.inline,a.options,a.env),!(0>f));)e=e.slice(f).trim();g[b].content=e,e.length||(g[b-1].tight=!0,g[b+1].tight=!0)}},c.exports}),a.registerDynamic("1e1",["1df","1e0","1e2","1e3","1e4"],!0,function(a,b,c){"use strict";function d(a,b,c,d){var j,k,l,m,n,o,p,q,r;if(91!==a.charCodeAt(0))return-1;if(-1===a.indexOf("]:"))return-1;if(j=new e(a,b,c,d,[]),k=f(j,0),0>k||58!==a.charCodeAt(k+1))return-1;for(m=j.posMax,l=k+2;m>l&&(n=j.src.charCodeAt(l),32===n||10===n);l++);if(!g(j,l))return-1;for(p=j.linkContent,l=j.pos,o=l,l+=1;m>l&&(n=j.src.charCodeAt(l),32===n||10===n);l++);for(m>l&&o!==l&&h(j,l)?(q=j.linkContent,l=j.pos):(q="",l=o);m>l&&32===j.src.charCodeAt(l);)l++;return m>l&&10!==j.src.charCodeAt(l)?-1:(r=i(a.slice(1,k)),"undefined"==typeof d.references[r]&&(d.references[r]={title:q,href:p}),l)}var e=a("1df"),f=a("1e0"),g=a("1e2"),h=a("1e3"),i=a("1e4");return c.exports=function(a){var b,c,e,f,g=a.tokens;if(a.env.references=a.env.references||{},!a.inlineMode)for(b=1,c=g.length-1;c>b;b++)if("inline"===g[b].type&&"paragraph_open"===g[b-1].type&&"paragraph_close"===g[b+1].type){for(e=g[b].content;e.length&&(f=d(e,a.inline,a.options,a.env),!(0>f));)e=e.slice(f).trim();g[b].content=e,e.length||(g[b-1].tight=!0,g[b+1].tight=!0)}},c.exports}),a.registerDynamic("1e5",[],!0,function(a,b,c){"use strict";return c.exports=function(a){var b,c,d,e=a.tokens;for(c=0,d=e.length;d>c;c++)b=e[c],"inline"===b.type&&a.inline.parse(b.content,a.options,a.env,b.children)},c.exports}),a.registerDynamic("1e6",[],!0,function(a,b,c){"use strict";return c.exports=function(a){var b,c,d,e,f,g,h,i,j,k=0,l=!1,m={};if(a.env.footnotes&&(a.tokens=a.tokens.filter(function(a){return"footnote_reference_open"===a.type?(l=!0,i=[],j=a.label,!1):"footnote_reference_close"===a.type?(l=!1,m[":"+j]=i,!1):(l&&i.push(a),!l)}),a.env.footnotes.list)){for(g=a.env.footnotes.list,a.tokens.push({type:"footnote_block_open",level:k++}),b=0,c=g.length;c>b;b++){for(a.tokens.push({type:"footnote_open",id:b,level:k++}),g[b].tokens?(h=[],h.push({type:"paragraph_open",tight:!1,level:k++}),h.push({type:"inline",content:"",level:k,children:g[b].tokens}),h.push({type:"paragraph_close",tight:!1,level:--k})):g[b].label&&(h=m[":"+g[b].label]),a.tokens=a.tokens.concat(h),f="paragraph_close"===a.tokens[a.tokens.length-1].type?a.tokens.pop():null,e=g[b].count>0?g[b].count:1,d=0;e>d;d++)a.tokens.push({type:"footnote_anchor",id:b,subId:d,level:k});f&&a.tokens.push(f),a.tokens.push({type:"footnote_close",level:--k})}a.tokens.push({type:"footnote_block_close",level:--k})}},c.exports}),a.registerDynamic("1e7",[],!0,function(a,b,c){"use strict";function d(a){return a.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var e=" \n()[]'\".,!?-";return c.exports=function(a){var b,c,f,g,h,i,j,k,l,m,n,o,p=a.tokens;if(a.env.abbreviations)for(a.env.abbrRegExp||(o="(^|["+e.split("").map(d).join("")+"])("+Object.keys(a.env.abbreviations).map(function(a){return a.substr(1)}).sort(function(a,b){return b.length-a.length}).map(d).join("|")+")($|["+e.split("").map(d).join("")+"])",a.env.abbrRegExp=new RegExp(o,"g")),m=a.env.abbrRegExp,c=0,f=p.length;f>c;c++)if("inline"===p[c].type)for(g=p[c].children,b=g.length-1;b>=0;b--)if(h=g[b],"text"===h.type){for(k=0,i=h.content,m.lastIndex=0,l=h.level,j=[];n=m.exec(i);)m.lastIndex>k&&j.push({type:"text",content:i.slice(k,n.index+n[1].length),level:l}),j.push({type:"abbr_open",title:a.env.abbreviations[":"+n[2]],level:l++}),j.push({type:"text",content:n[2],level:l}),j.push({type:"abbr_close",level:--l}),k=m.lastIndex-n[3].length;j.length&&(k<i.length&&j.push({type:"text",content:i.slice(k),level:l}),p[c].children=g=[].concat(g.slice(0,b),j,g.slice(b+1)))}},c.exports}),a.registerDynamic("1e8",[],!0,function(a,b,c){"use strict";function d(a){return a.indexOf("(")<0?a:a.replace(f,function(a,b){return g[b.toLowerCase()]})}var e=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,f=/\((c|tm|r|p)\)/gi,g={c:"©",r:"®",p:"§",tm:"™"};return c.exports=function(a){var b,c,f,g,h;if(a.options.typographer)for(h=a.tokens.length-1;h>=0;h--)if("inline"===a.tokens[h].type)for(g=a.tokens[h].children,b=g.length-1;b>=0;b--)c=g[b],"text"===c.type&&(f=c.content,f=d(f),e.test(f)&&(f=f.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),c.content=f)},c.exports}),a.registerDynamic("1e9",[],!0,function(a,b,c){"use strict";function d(a,b){return 0>b||b>=a.length?!1:!h.test(a[b])}function e(a,b,c){return a.substr(0,b)+c+a.substr(b+1)}var f=/['"]/,g=/['"]/g,h=/[-\s()\[\]]/,i="’";return c.exports=function(a){var b,c,h,j,k,l,m,n,o,p,q,r,s,t,u,v,w;if(a.options.typographer)for(w=[],u=a.tokens.length-1;u>=0;u--)if("inline"===a.tokens[u].type)for(v=a.tokens[u].children,w.length=0,b=0;b<v.length;b++)if(c=v[b],"text"===c.type&&!f.test(c.text)){for(m=v[b].level,s=w.length-1;s>=0&&!(w[s].level<=m);s--);w.length=s+1,h=c.content,k=0,l=h.length;a:for(;l>k&&(g.lastIndex=k,j=g.exec(h));)if(n=!d(h,j.index-1),k=j.index+1,t="'"===j[0],o=!d(h,k),o||n){if(q=!o,r=!n)for(s=w.length-1;s>=0&&(p=w[s],!(w[s].level<m));s--)if(p.single===t&&w[s].level===m){p=w[s],t?(v[p.token].content=e(v[p.token].content,p.pos,a.options.quotes[2]),c.content=e(c.content,j.index,a.options.quotes[3])):(v[p.token].content=e(v[p.token].content,p.pos,a.options.quotes[0]),c.content=e(c.content,j.index,a.options.quotes[1])),w.length=s;continue a}q?w.push({token:b,pos:j.index,single:t,level:m}):r&&t&&(c.content=e(c.content,j.index,i))}else t&&(c.content=e(c.content,j.index,i))}},c.exports}),a.registerDynamic("1ea",["45"],!0,function(a,b,c){var d;return function(a){!function(a,e){"function"==typeof d&&d.amd?d([],function(){return a.Autolinker=e()}):"object"==typeof b?c.exports=e():a.Autolinker=e()}(this,function(){var a=function(b){a.Util.assign(this,b)};return a.prototype={constructor:a,urls:!0,email:!0,twitter:!0,newWindow:!0,stripPrefix:!0,truncate:void 0,className:"",htmlParser:void 0,matchParser:void 0,tagBuilder:void 0,link:function(a){for(var b=this.getHtmlParser(),c=b.parse(a),d=0,e=[],f=0,g=c.length;g>f;f++){var h=c[f],i=h.getType(),j=h.getText();if("element"===i)"a"===h.getTagName()&&(h.isClosing()?d=Math.max(d-1,0):d++),e.push(j);else if("entity"===i)e.push(j);else if(0===d){var k=this.linkifyStr(j);e.push(k)}else e.push(j)}return e.join("")},linkifyStr:function(a){return this.getMatchParser().replace(a,this.createMatchReturnVal,this)},createMatchReturnVal:function(b){var c;if(this.replaceFn&&(c=this.replaceFn.call(this,this,b)),"string"==typeof c)return c;if(c===!1)return b.getMatchedText();if(c instanceof a.HtmlTag)return c.toString();var d=this.getTagBuilder(),e=d.build(b);return e.toString()},getHtmlParser:function(){var b=this.htmlParser;return b||(b=this.htmlParser=new a.htmlParser.HtmlParser),b},getMatchParser:function(){var b=this.matchParser;return b||(b=this.matchParser=new a.matchParser.MatchParser({urls:this.urls,email:this.email,twitter:this.twitter,stripPrefix:this.stripPrefix})),b},getTagBuilder:function(){var b=this.tagBuilder;return b||(b=this.tagBuilder=new a.AnchorTagBuilder({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),b}},a.link=function(b,c){var d=new a(c);return d.link(b)},a.match={},a.htmlParser={},a.matchParser={},a.Util={abstractMethod:function(){throw"abstract"},assign:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a},extend:function(b,c){var d=b.prototype,e=function(){};e.prototype=d;var f;f=c.hasOwnProperty("constructor")?c.constructor:function(){d.constructor.apply(this,arguments)};var g=f.prototype=new e;return g.constructor=f,g.superclass=d,delete c.constructor,a.Util.assign(g,c),f},ellipsis:function(a,b,c){return a.length>b&&(c=null==c?"..":c,a=a.substring(0,b-c.length)+c),a},indexOf:function(a,b){if(Array.prototype.indexOf)return a.indexOf(b);for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},splitAndCapture:function(a,b){if(!b.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var c,d=[],e=0;c=b.exec(a);)d.push(a.substring(e,c.index)),d.push(c[0]),e=c.index+c[0].length;return d.push(a.substring(e)),d}},a.HtmlTag=a.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(b){a.Util.assign(this,b),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(a){return this.tagName=a,this},getTagName:function(){return this.tagName||""},setAttr:function(a,b){var c=this.getAttrs();return c[a]=b,this},getAttr:function(a){return this.getAttrs()[a]},setAttrs:function(b){var c=this.getAttrs();return a.Util.assign(c,b),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(a){return this.setAttr("class",a)},addClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);c=h.shift();)-1===f(g,c)&&g.push(c);return this.getAttrs()["class"]=g.join(" "),this},removeClass:function(b){for(var c,d=this.getClass(),e=this.whitespaceRegex,f=a.Util.indexOf,g=d?d.split(e):[],h=b.split(e);g.length&&(c=h.shift());){var i=f(g,c);-1!==i&&g.splice(i,1)}return this.getAttrs()["class"]=g.join(" "),this},getClass:function(){return this.getAttrs()["class"]||""},hasClass:function(a){return-1!==(" "+this.getClass()+" ").indexOf(" "+a+" ")},setInnerHtml:function(a){return this.innerHtml=a,this},getInnerHtml:function(){return this.innerHtml||""},toString:function(){var a=this.getTagName(),b=this.buildAttrsStr();return b=b?" "+b:"",["<",a,b,">",this.getInnerHtml(),"</",a,">"].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var a=this.getAttrs(),b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c+'="'+a[c]+'"');return b.join(" ")}}),a.AnchorTagBuilder=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},build:function(b){var c=new a.HtmlTag({tagName:"a",attrs:this.createAttrs(b.getType(),b.getAnchorHref()),innerHtml:this.processAnchorText(b.getAnchorText())});return c},createAttrs:function(a,b){var c={href:b},d=this.createCssClass(a);return d&&(c["class"]=d),this.newWindow&&(c.target="_blank"),c},createCssClass:function(a){var b=this.className;return b?b+" "+b+"-"+a:""},processAnchorText:function(a){return a=this.doTruncate(a)},doTruncate:function(b){return a.Util.ellipsis(b,this.truncate||Number.POSITIVE_INFINITY)}}),a.htmlParser.HtmlParser=a.Util.extend(Object,{htmlRegex:function(){var a=/[0-9a-zA-Z][0-9a-zA-Z:]*/,b=/[^\s\0"'>\/=\x01-\x1F\x7F]+/,c=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,d=b.source+"(?:\\s*=\\s*"+c.source+")?";return new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",d,"|",c.source+")",")*",">",")","|","(?:","<(/)?","("+a.source+")","(?:","\\s+",d,")*","\\s*/?",">",")"].join(""),"gi")}(),htmlCharacterEntitiesRegex:/( | |<|<|>|>|"|"|')/gi,parse:function(a){for(var b,c,d=this.htmlRegex,e=0,f=[];null!==(b=d.exec(a));){var g=b[0],h=b[1]||b[3],i=!!b[2],j=a.substring(e,b.index);j&&(c=this.parseTextAndEntityNodes(j),f.push.apply(f,c)),f.push(this.createElementNode(g,h,i)),e=b.index+g.length}if(e<a.length){var k=a.substring(e);k&&(c=this.parseTextAndEntityNodes(k),f.push.apply(f,c))}return f},parseTextAndEntityNodes:function(b){for(var c=[],d=a.Util.splitAndCapture(b,this.htmlCharacterEntitiesRegex),e=0,f=d.length;f>e;e+=2){var g=d[e],h=d[e+1];g&&c.push(this.createTextNode(g)),h&&c.push(this.createEntityNode(h))}return c},createElementNode:function(b,c,d){return new a.htmlParser.ElementNode({text:b,tagName:c.toLowerCase(),closing:d})},createEntityNode:function(b){return new a.htmlParser.EntityNode({text:b})},createTextNode:function(b){return new a.htmlParser.TextNode({text:b})}}),a.htmlParser.HtmlNode=a.Util.extend(Object,{text:"",constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getText:function(){return this.text}}),a.htmlParser.ElementNode=a.Util.extend(a.htmlParser.HtmlNode,{tagName:"",closing:!1,getType:function(){return"element"},getTagName:function(){return this.tagName},isClosing:function(){return this.closing}}),a.htmlParser.EntityNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"entity"}}),a.htmlParser.TextNode=a.Util.extend(a.htmlParser.HtmlNode,{getType:function(){return"text"}}),a.matchParser.MatchParser=a.Util.extend(Object,{urls:!0,email:!0,twitter:!0,stripPrefix:!0,matcherRegex:function(){var a=/(^|[^\w])@(\w{1,15})/,b=/(?:[\-;:&=\+\$,\w\.]+@)/,c=/(?:[A-Za-z][-.+A-Za-z0-9]+:(?![A-Za-z][-.+A-Za-z0-9]+:\/\/)(?!\d+\/?)(?:\/\/)?)/,d=/(?:www\.)/,e=/[A-Za-z0-9\.\-]*[A-Za-z0-9\-]/,f=/\.(?:international|construction|contractors|enterprises|photography|productions|foundation|immobilien|industries|management|properties|technology|christmas|community|directory|education|equipment|institute|marketing|solutions|vacations|bargains|boutique|builders|catering|cleaning|clothing|computer|democrat|diamonds|graphics|holdings|lighting|partners|plumbing|supplies|training|ventures|academy|careers|company|cruises|domains|exposed|flights|florist|gallery|guitars|holiday|kitchen|neustar|okinawa|recipes|rentals|reviews|shiksha|singles|support|systems|agency|berlin|camera|center|coffee|condos|dating|estate|events|expert|futbol|kaufen|luxury|maison|monash|museum|nagoya|photos|repair|report|social|supply|tattoo|tienda|travel|viajes|villas|vision|voting|voyage|actor|build|cards|cheap|codes|dance|email|glass|house|mango|ninja|parts|photo|shoes|solar|today|tokyo|tools|watch|works|aero|arpa|asia|best|bike|blue|buzz|camp|club|cool|coop|farm|fish|gift|guru|info|jobs|kiwi|kred|land|limo|link|menu|mobi|moda|name|pics|pink|post|qpon|rich|ruhr|sexy|tips|vote|voto|wang|wien|wiki|zone|bar|bid|biz|cab|cat|ceo|com|edu|gov|int|kim|mil|net|onl|org|pro|pub|red|tel|uno|wed|xxx|xyz|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw)\b/,g=/[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]?!:,.;]*[\-A-Za-z0-9+&@#\/%=~_()|'$*\[\]]/;
|
||
return new RegExp(["(",a.source,")","|","(",b.source,e.source,f.source,")","|","(","(?:","(",c.source,e.source,")","|","(?:","(.?//)?",d.source,e.source,")","|","(?:","(.?//)?",e.source,f.source,")",")","(?:"+g.source+")?",")"].join(""),"gi")}(),charBeforeProtocolRelMatchRegex:/^(.)?\/\//,constructor:function(b){a.Util.assign(this,b),this.matchValidator=new a.MatchValidator},replace:function(a,b,c){var d=this;return a.replace(this.matcherRegex,function(a,e,f,g,h,i,j,k,l){var m=d.processCandidateMatch(a,e,f,g,h,i,j,k,l);if(m){var n=b.call(c,m.match);return m.prefixStr+n+m.suffixStr}return a})},processCandidateMatch:function(b,c,d,e,f,g,h,i,j){var k,l=i||j,m="",n="";if(c&&!this.twitter||f&&!this.email||g&&!this.urls||!this.matchValidator.isValidMatch(g,h,l))return null;if(this.matchHasUnbalancedClosingParen(b)&&(b=b.substr(0,b.length-1),n=")"),f)k=new a.match.Email({matchedText:b,email:f});else if(c)d&&(m=d,b=b.slice(1)),k=new a.match.Twitter({matchedText:b,twitterHandle:e});else{if(l){var o=l.match(this.charBeforeProtocolRelMatchRegex)[1]||"";o&&(m=o,b=b.slice(1))}k=new a.match.Url({matchedText:b,url:b,protocolUrlMatch:!!h,protocolRelativeMatch:!!l,stripPrefix:this.stripPrefix})}return{prefixStr:m,suffixStr:n,match:k}},matchHasUnbalancedClosingParen:function(a){var b=a.charAt(a.length-1);if(")"===b){var c=a.match(/\(/g),d=a.match(/\)/g),e=c&&c.length||0,f=d&&d.length||0;if(f>e)return!0}return!1}}),a.MatchValidator=a.Util.extend(Object,{invalidProtocolRelMatchRegex:/^[\w]\/\//,hasFullProtocolRegex:/^[A-Za-z][-.+A-Za-z0-9]+:\/\//,uriSchemeRegex:/^[A-Za-z][-.+A-Za-z0-9]+:/,hasWordCharAfterProtocolRegex:/:[^\s]*?[A-Za-z]/,isValidMatch:function(a,b,c){return!(b&&!this.isValidUriScheme(b)||this.urlMatchDoesNotHaveProtocolOrDot(a,b)||this.urlMatchDoesNotHaveAtLeastOneWordChar(a,b)||this.isInvalidProtocolRelativeMatch(c))},isValidUriScheme:function(a){var b=a.match(this.uriSchemeRegex)[0].toLowerCase();return"javascript:"!==b&&"vbscript:"!==b},urlMatchDoesNotHaveProtocolOrDot:function(a,b){return!(!a||b&&this.hasFullProtocolRegex.test(b)||-1!==a.indexOf("."))},urlMatchDoesNotHaveAtLeastOneWordChar:function(a,b){return a&&b?!this.hasWordCharAfterProtocolRegex.test(a):!1},isInvalidProtocolRelativeMatch:function(a){return!!a&&this.invalidProtocolRelMatchRegex.test(a)}}),a.match.Match=a.Util.extend(Object,{constructor:function(b){a.Util.assign(this,b)},getType:a.Util.abstractMethod,getMatchedText:function(){return this.matchedText},getAnchorHref:a.Util.abstractMethod,getAnchorText:a.Util.abstractMethod}),a.match.Email=a.Util.extend(a.match.Match,{getType:function(){return"email"},getEmail:function(){return this.email},getAnchorHref:function(){return"mailto:"+this.email},getAnchorText:function(){return this.email}}),a.match.Twitter=a.Util.extend(a.match.Match,{getType:function(){return"twitter"},getTwitterHandle:function(){return this.twitterHandle},getAnchorHref:function(){return"https://twitter.com/"+this.twitterHandle},getAnchorText:function(){return"@"+this.twitterHandle}}),a.match.Url=a.Util.extend(a.match.Match,{urlPrefixRegex:/^(https?:\/\/)?(www\.)?/i,protocolRelativeRegex:/^\/\//,protocolPrepended:!1,getType:function(){return"url"},getUrl:function(){var a=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(a=this.url="http://"+a,this.protocolPrepended=!0),a},getAnchorHref:function(){var a=this.getUrl();return a.replace(/&/g,"&")},getAnchorText:function(){var a=this.getUrl();return this.protocolRelativeMatch&&(a=this.stripProtocolRelativePrefix(a)),this.stripPrefix&&(a=this.stripUrlPrefix(a)),a=this.removeTrailingSlash(a)},stripUrlPrefix:function(a){return a.replace(this.urlPrefixRegex,"")},stripProtocolRelativePrefix:function(a){return a.replace(this.protocolRelativeRegex,"")},removeTrailingSlash:function(a){return"/"===a.charAt(a.length-1)&&(a=a.slice(0,-1)),a}}),a})}(a("45")),c.exports}),a.registerDynamic("1eb",["1ea"],!0,function(a,b,c){return c.exports=a("1ea"),c.exports}),a.registerDynamic("1ec",["1eb"],!0,function(a,b,c){"use strict";function d(a){return/^<a[>\s]/i.test(a)}function e(a){return/^<\/a\s*>/i.test(a)}function f(){var a=[],b=new g({stripPrefix:!1,url:!0,email:!0,twitter:!1,replaceFn:function(b,c){switch(c.getType()){case"url":a.push({text:c.matchedText,url:c.getUrl()});break;case"email":a.push({text:c.matchedText,url:"mailto:"+c.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:a,autolinker:b}}var g=a("1eb"),h=/www|@|\:\/\//;return c.exports=function(a){var b,c,g,i,j,k,l,m,n,o,p,q,r,s=a.tokens,t=null;if(a.options.linkify)for(c=0,g=s.length;g>c;c++)if("inline"===s[c].type)for(i=s[c].children,p=0,b=i.length-1;b>=0;b--)if(j=i[b],"link_close"!==j.type){if("htmltag"===j.type&&(d(j.content)&&p>0&&p--,e(j.content)&&p++),!(p>0)&&"text"===j.type&&h.test(j.content)){if(t||(t=f(),q=t.links,r=t.autolinker),k=j.content,q.length=0,r.link(k),!q.length)continue;for(l=[],o=j.level,m=0;m<q.length;m++)a.inline.validateLink(q[m].url)&&(n=k.indexOf(q[m].text),n&&(o=o,l.push({type:"text",content:k.slice(0,n),level:o})),l.push({type:"link_open",href:q[m].url,title:"",level:o++}),l.push({type:"text",content:q[m].text,level:o}),l.push({type:"link_close",level:--o}),k=k.slice(n+q[m].text.length));k.length&&l.push({type:"text",content:k,level:o}),s[c].children=i=[].concat(i.slice(0,b),l,i.slice(b+1))}}else for(b--;i[b].level!==j.level&&"link_open"!==i[b].type;)b--},c.exports}),a.registerDynamic("1ed",["1ee","1dd","1de","1e1","1e5","1e6","1e7","1e8","1e9","1ec"],!0,function(a,b,c){"use strict";function d(){this.options={},this.ruler=new e;for(var a=0;a<f.length;a++)this.ruler.push(f[a][0],f[a][1])}var e=a("1ee"),f=[["block",a("1dd")],["abbr",a("1de")],["references",a("1e1")],["inline",a("1e5")],["footnote_tail",a("1e6")],["abbr2",a("1e7")],["replacements",a("1e8")],["smartquotes",a("1e9")],["linkify",a("1ec")]];return d.prototype.process=function(a){var b,c,d;for(d=this.ruler.getRules(""),b=0,c=d.length;c>b;b++)d[b](a)},c.exports=d,c.exports}),a.registerDynamic("1ef",[],!0,function(a,b,c){"use strict";function d(a,b,c,d,e){var f,g,h,i,j,k,l;for(this.src=a,this.parser=b,this.options=c,this.env=d,this.tokens=e,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",g=this.src,k=0,l=!1,h=i=k=0,j=g.length;j>i;i++){if(f=g.charCodeAt(i),!l){if(32===f){k++;continue}l=!0}10!==f&&i!==j-1||(10!==f&&i++,this.bMarks.push(h),this.eMarks.push(i),this.tShift.push(k),l=!1,k=0,h=i+1)}this.bMarks.push(g.length),this.eMarks.push(g.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}return d.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]},d.prototype.skipEmptyLines=function(a){for(var b=this.lineMax;b>a&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a},d.prototype.skipSpaces=function(a){for(var b=this.src.length;b>a&&32===this.src.charCodeAt(a);a++);return a},d.prototype.skipChars=function(a,b){for(var c=this.src.length;c>a&&this.src.charCodeAt(a)===b;a++);return a},d.prototype.skipCharsBack=function(a,b,c){if(c>=a)return a;for(;a>c;)if(b!==this.src.charCodeAt(--a))return a+1;return a},d.prototype.getLines=function(a,b,c,d){var e,f,g,h,i,j=a;if(a>=b)return"";if(j+1===b)return f=this.bMarks[j]+Math.min(this.tShift[j],c),g=d?this.eMarks[j]+1:this.eMarks[j],this.src.slice(f,g);for(h=new Array(b-a),e=0;b>j;j++,e++)i=this.tShift[j],i>c&&(i=c),0>i&&(i=0),f=this.bMarks[j]+i,g=b>j+1||d?this.eMarks[j]+1:this.eMarks[j],h[e]=this.src.slice(f,g);return h.join("")},c.exports=d,c.exports}),a.registerDynamic("1f0",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c){var d,e;if(a.tShift[b]-a.blkIndent<4)return!1;for(e=d=b+1;c>d;)if(a.isEmpty(d))d++;else{if(!(a.tShift[d]-a.blkIndent>=4))break;d++,e=d}return a.line=d,a.tokens.push({type:"code",content:a.getLines(b,e,4+a.blkIndent,!0),block:!0,lines:[b,a.line],level:a.level}),!0},c.exports}),a.registerDynamic("1f1",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c,d){var e,f,g,h,i,j=!1,k=a.bMarks[b]+a.tShift[b],l=a.eMarks[b];if(k+3>l)return!1;if(e=a.src.charCodeAt(k),126!==e&&96!==e)return!1;if(i=k,k=a.skipChars(k,e),f=k-i,3>f)return!1;if(g=a.src.slice(k,l).trim(),g.indexOf("`")>=0)return!1;if(d)return!0;for(h=b;(h++,!(h>=c))&&(k=i=a.bMarks[h]+a.tShift[h],l=a.eMarks[h],!(l>k&&a.tShift[h]<a.blkIndent));)if(a.src.charCodeAt(k)===e&&!(a.tShift[h]-a.blkIndent>=4||(k=a.skipChars(k,e),f>k-i||(k=a.skipSpaces(k),l>k)))){j=!0;break}return f=a.tShift[b],a.line=h+(j?1:0),a.tokens.push({type:"fence",params:g,content:a.getLines(b+1,h,f,!0),lines:[b,a.line],level:a.level}),!0},c.exports}),a.registerDynamic("1f2",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p=a.bMarks[b]+a.tShift[b],q=a.eMarks[b];if(p>q)return!1;if(62!==a.src.charCodeAt(p++))return!1;if(a.level>=a.options.maxNesting)return!1;if(d)return!0;for(32===a.src.charCodeAt(p)&&p++,i=a.blkIndent,a.blkIndent=0,h=[a.bMarks[b]],a.bMarks[b]=p,p=q>p?a.skipSpaces(p):p,f=p>=q,g=[a.tShift[b]],a.tShift[b]=p-a.bMarks[b],l=a.parser.ruler.getRules("blockquote"),e=b+1;c>e&&(p=a.bMarks[e]+a.tShift[e],q=a.eMarks[e],!(p>=q));e++)if(62!==a.src.charCodeAt(p++)){if(f)break;for(o=!1,m=0,n=l.length;n>m;m++)if(l[m](a,e,c,!0)){o=!0;break}if(o)break;h.push(a.bMarks[e]),g.push(a.tShift[e]),a.tShift[e]=-1337}else 32===a.src.charCodeAt(p)&&p++,h.push(a.bMarks[e]),a.bMarks[e]=p,p=q>p?a.skipSpaces(p):p,f=p>=q,g.push(a.tShift[e]),a.tShift[e]=p-a.bMarks[e];for(j=a.parentType,a.parentType="blockquote",a.tokens.push({type:"blockquote_open",lines:k=[b,0],level:a.level++}),a.parser.tokenize(a,b,e),a.tokens.push({type:"blockquote_close",level:--a.level}),a.parentType=j,k[1]=a.line,m=0;m<g.length;m++)a.bMarks[m+b]=h[m],a.tShift[m+b]=g[m];return a.blkIndent=i,!0},c.exports}),a.registerDynamic("1f3",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c,d){var e,f,g,h=a.bMarks[b],i=a.eMarks[b];if(h+=a.tShift[b],h>i)return!1;if(e=a.src.charCodeAt(h++),42!==e&&45!==e&&95!==e)return!1;for(f=1;i>h;){if(g=a.src.charCodeAt(h++),g!==e&&32!==g)return!1;g===e&&f++}return 3>f?!1:d?!0:(a.line=b+1,a.tokens.push({type:"hr",lines:[b,a.line],level:a.level}),!0)},c.exports}),a.registerDynamic("1f4",[],!0,function(a,b,c){"use strict";function d(a,b){var c,d,e;return d=a.bMarks[b]+a.tShift[b],e=a.eMarks[b],d>=e?-1:(c=a.src.charCodeAt(d++),42!==c&&45!==c&&43!==c?-1:e>d&&32!==a.src.charCodeAt(d)?-1:d)}function e(a,b){var c,d=a.bMarks[b]+a.tShift[b],e=a.eMarks[b];if(d+1>=e)return-1;if(c=a.src.charCodeAt(d++),48>c||c>57)return-1;for(;;){if(d>=e)return-1;if(c=a.src.charCodeAt(d++),!(c>=48&&57>=c)){if(41===c||46===c)break;return-1}}return e>d&&32!==a.src.charCodeAt(d)?-1:d}function f(a,b){var c,d,e=a.level+2;for(c=b+2,d=a.tokens.length-2;d>c;c++)a.tokens[c].level===e&&"paragraph_open"===a.tokens[c].type&&(a.tokens[c+2].tight=!0,a.tokens[c].tight=!0,c+=2)}return c.exports=function(a,b,c,g){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D=!0;if((o=e(a,b))>=0)t=!0;else{if(!((o=d(a,b))>=0))return!1;t=!1}if(a.level>=a.options.maxNesting)return!1;if(s=a.src.charCodeAt(o-1),g)return!0;for(v=a.tokens.length,t?(n=a.bMarks[b]+a.tShift[b],r=Number(a.src.substr(n,o-n-1)),a.tokens.push({type:"ordered_list_open",order:r,lines:x=[b,0],level:a.level++})):a.tokens.push({type:"bullet_list_open",lines:x=[b,0],level:a.level++}),h=b,w=!1,z=a.parser.ruler.getRules("list");!(!(c>h)||(u=a.skipSpaces(o),p=a.eMarks[h],q=u>=p?1:u-o,q>4&&(q=1),1>q&&(q=1),i=o-a.bMarks[h]+q,a.tokens.push({type:"list_item_open",lines:y=[b,0],level:a.level++}),k=a.blkIndent,l=a.tight,j=a.tShift[b],m=a.parentType,a.tShift[b]=u-a.bMarks[b],a.blkIndent=i,a.tight=!0,a.parentType="list",a.parser.tokenize(a,b,c,!0),a.tight&&!w||(D=!1),w=a.line-b>1&&a.isEmpty(a.line-1),a.blkIndent=k,a.tShift[b]=j,a.tight=l,a.parentType=m,a.tokens.push({type:"list_item_close",level:--a.level}),h=b=a.line,y[1]=h,u=a.bMarks[b],h>=c)||a.isEmpty(h)||a.tShift[h]<a.blkIndent);){for(C=!1,A=0,B=z.length;B>A;A++)if(z[A](a,h,c,!0)){C=!0;break}if(C)break;if(t){if(o=e(a,h),0>o)break}else if(o=d(a,h),0>o)break;if(s!==a.src.charCodeAt(o-1))break}return a.tokens.push({type:t?"ordered_list_close":"bullet_list_close",level:--a.level}),x[1]=h,a.line=h,D&&f(a,v),!0},c.exports}),a.registerDynamic("1f5",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c,d){var e,f,g,h,i,j=a.bMarks[b]+a.tShift[b],k=a.eMarks[b];if(j+4>k)return!1;if(91!==a.src.charCodeAt(j))return!1;if(94!==a.src.charCodeAt(j+1))return!1;if(a.level>=a.options.maxNesting)return!1;for(h=j+2;k>h;h++){if(32===a.src.charCodeAt(h))return!1;if(93===a.src.charCodeAt(h))break}return h===j+2?!1:h+1>=k||58!==a.src.charCodeAt(++h)?!1:d?!0:(h++,a.env.footnotes||(a.env.footnotes={}),a.env.footnotes.refs||(a.env.footnotes.refs={}),i=a.src.slice(j+2,h-2),a.env.footnotes.refs[":"+i]=-1,a.tokens.push({type:"footnote_reference_open",label:i,level:a.level++}),e=a.bMarks[b],f=a.tShift[b],g=a.parentType,a.tShift[b]=a.skipSpaces(h)-h,a.bMarks[b]=h,a.blkIndent+=4,a.parentType="footnote",a.tShift[b]<a.blkIndent&&(a.tShift[b]+=a.blkIndent,a.bMarks[b]-=a.blkIndent),a.parser.tokenize(a,b,c,!0),a.parentType=g,a.blkIndent-=4,a.tShift[b]=f,a.bMarks[b]=e,a.tokens.push({type:"footnote_reference_close",level:--a.level}),!0)},c.exports}),a.registerDynamic("1f6",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c,d){var e,f,g,h=a.bMarks[b]+a.tShift[b],i=a.eMarks[b];if(h>=i)return!1;if(e=a.src.charCodeAt(h),35!==e||h>=i)return!1;for(f=1,e=a.src.charCodeAt(++h);35===e&&i>h&&6>=f;)f++,e=a.src.charCodeAt(++h);return f>6||i>h&&32!==e?!1:d?!0:(i=a.skipCharsBack(i,32,h),g=a.skipCharsBack(i,35,h),g>h&&32===a.src.charCodeAt(g-1)&&(i=g),a.line=b+1,a.tokens.push({type:"heading_open",hLevel:f,lines:[b,a.line],level:a.level}),i>h&&a.tokens.push({type:"inline",content:a.src.slice(h,i).trim(),level:a.level+1,lines:[b,a.line],children:[]}),a.tokens.push({type:"heading_close",hLevel:f,level:a.level}),!0)},c.exports}),a.registerDynamic("1f7",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b,c){var d,e,f,g=b+1;return g>=c?!1:a.tShift[g]<a.blkIndent?!1:a.tShift[g]-a.blkIndent>3?!1:(e=a.bMarks[g]+a.tShift[g],f=a.eMarks[g],e>=f?!1:(d=a.src.charCodeAt(e),45!==d&&61!==d?!1:(e=a.skipChars(e,d),e=a.skipSpaces(e),f>e?!1:(e=a.bMarks[b]+a.tShift[b],a.line=g+1,a.tokens.push({type:"heading_open",hLevel:61===d?1:2,lines:[b,a.line],level:a.level}),a.tokens.push({type:"inline",content:a.src.slice(e,a.eMarks[b]).trim(),level:a.level+1,lines:[b,a.line-1],children:[]}),a.tokens.push({type:"heading_close",hLevel:61===d?1:2,level:a.level}),!0))))},c.exports}),a.registerDynamic("1f8",[],!0,function(a,b,c){"use strict";var d={};return["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(a){d[a]=!0}),c.exports=d,c.exports}),a.registerDynamic("1f9",["1f8","45"],!0,function(a,b,c){return function(b){"use strict";function d(a){var b=32|a;return b>=97&&122>=b}var e=a("1f8"),f=/^<([a-zA-Z]{1,15})[\s\/>]/,g=/^<\/([a-zA-Z]{1,15})[\s>]/;c.exports=function(a,b,c,h){var i,j,k,l=a.bMarks[b],m=a.eMarks[b],n=a.tShift[b];if(l+=n,!a.options.html)return!1;if(n>3||l+2>=m)return!1;if(60!==a.src.charCodeAt(l))return!1;if(i=a.src.charCodeAt(l+1),33===i||63===i){if(h)return!0}else{if(47!==i&&!d(i))return!1;if(47===i){if(j=a.src.slice(l,m).match(g),!j)return!1}else if(j=a.src.slice(l,m).match(f),!j)return!1;if(e[j[1].toLowerCase()]!==!0)return!1;if(h)return!0}for(k=b+1;k<a.lineMax&&!a.isEmpty(k);)k++;return a.line=k,a.tokens.push({type:"htmlblock",level:a.level,lines:[b,a.line],content:a.getLines(b,k,0,!0)}),!0}}(a("45")),c.exports}),a.registerDynamic("1fa",[],!0,function(a,b,c){"use strict";function d(a,b){var c=a.bMarks[b]+a.blkIndent,d=a.eMarks[b];return a.src.substr(c,d-c)}return c.exports=function(a,b,c,e){var f,g,h,i,j,k,l,m,n,o;if(b+2>c)return!1;if(j=b+1,a.tShift[j]<a.blkIndent)return!1;if(h=a.bMarks[j]+a.tShift[j],h>=a.eMarks[j])return!1;if(f=a.src.charCodeAt(h),124!==f&&45!==f&&58!==f)return!1;if(g=d(a,b+1),!/^[-:| ]+$/.test(g))return!1;if(k=g.split("|"),2>=k)return!1;for(l=[],i=0;i<k.length;i++){if(m=k[i].trim(),!m){if(0===i||i===k.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;58===m.charCodeAt(m.length-1)?l.push(58===m.charCodeAt(0)?"center":"right"):58===m.charCodeAt(0)?l.push("left"):l.push("")}if(g=d(a,b).trim(),-1===g.indexOf("|"))return!1;if(k=g.replace(/^\||\|$/g,"").split("|"),l.length!==k.length)return!1;if(e)return!0;for(a.tokens.push({type:"table_open",lines:n=[b,0],level:a.level++}),a.tokens.push({type:"thead_open",lines:[b,b+1],level:a.level++}),a.tokens.push({type:"tr_open",lines:[b,b+1],level:a.level++}),i=0;i<k.length;i++)a.tokens.push({type:"th_open",align:l[i],lines:[b,b+1],level:a.level++}),a.tokens.push({type:"inline",content:k[i].trim(),lines:[b,b+1],level:a.level,children:[]}),a.tokens.push({type:"th_close",level:--a.level});for(a.tokens.push({type:"tr_close",level:--a.level}),a.tokens.push({type:"thead_close",level:--a.level}),a.tokens.push({type:"tbody_open",lines:o=[b+2,0],level:a.level++}),j=b+2;c>j&&!(a.tShift[j]<a.blkIndent)&&(g=d(a,j).trim(),-1!==g.indexOf("|"));j++){for(k=g.replace(/^\||\|$/g,"").split("|"),a.tokens.push({type:"tr_open",level:a.level++}),i=0;i<k.length;i++)a.tokens.push({type:"td_open",align:l[i],level:a.level++}),a.tokens.push({type:"inline",content:k[i].replace(/^\|? *| *\|?$/g,""),level:a.level,children:[]}),a.tokens.push({type:"td_close",level:--a.level});a.tokens.push({type:"tr_close",level:--a.level})}return a.tokens.push({type:"tbody_close",level:--a.level}),a.tokens.push({type:"table_close",level:--a.level}),n[1]=o[1]=j,a.line=j,!0},c.exports}),a.registerDynamic("1fb",[],!0,function(a,b,c){"use strict";function d(a,b){var c,d,e=a.bMarks[b]+a.tShift[b],f=a.eMarks[b];return e>=f?-1:(d=a.src.charCodeAt(e++),126!==d&&58!==d?-1:(c=a.skipSpaces(e),e===c?-1:c>=f?-1:c))}function e(a,b){var c,d,e=a.level+2;for(c=b+2,d=a.tokens.length-2;d>c;c++)a.tokens[c].level===e&&"paragraph_open"===a.tokens[c].type&&(a.tokens[c+2].tight=!0,a.tokens[c].tight=!0,c+=2)}return c.exports=function(a,b,c,f){var g,h,i,j,k,l,m,n,o,p,q,r,s,t;if(f)return a.ddIndent<0?!1:d(a,b)>=0;if(m=b+1,a.isEmpty(m)&&++m>c)return!1;if(a.tShift[m]<a.blkIndent)return!1;if(g=d(a,m),0>g)return!1;if(a.level>=a.options.maxNesting)return!1;l=a.tokens.length,a.tokens.push({type:"dl_open",lines:k=[b,0],level:a.level++}),i=b,h=m;a:for(;;){for(t=!0,s=!1,a.tokens.push({type:"dt_open",lines:[i,i],level:a.level++}),a.tokens.push({type:"inline",content:a.getLines(i,i+1,a.blkIndent,!1).trim(),level:a.level+1,lines:[i,i],children:[]}),a.tokens.push({type:"dt_close",level:--a.level});;){if(a.tokens.push({type:"dd_open",lines:j=[m,0],level:a.level++}),r=a.tight,o=a.ddIndent,n=a.blkIndent,q=a.tShift[h],p=a.parentType,a.blkIndent=a.ddIndent=a.tShift[h]+2,a.tShift[h]=g-a.bMarks[h],a.tight=!0,a.parentType="deflist",a.parser.tokenize(a,h,c,!0),a.tight&&!s||(t=!1),s=a.line-h>1&&a.isEmpty(a.line-1),a.tShift[h]=q,a.tight=r,a.parentType=p,a.blkIndent=n,a.ddIndent=o,a.tokens.push({type:"dd_close",level:--a.level}),j[1]=m=a.line,m>=c)break a;if(a.tShift[m]<a.blkIndent)break a;if(g=d(a,m),0>g)break;h=m}if(m>=c)break;if(i=m,a.isEmpty(i))break;if(a.tShift[i]<a.blkIndent)break;if(h=i+1,h>=c)break;if(a.isEmpty(h)&&h++,h>=c)break;if(a.tShift[h]<a.blkIndent)break;if(g=d(a,h),0>g)break}return a.tokens.push({type:"dl_close",level:--a.level}),k[1]=m,a.line=m,t&&e(a,l),!0},c.exports}),a.registerDynamic("1fc",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h,i=b+1;if(c=a.lineMax,c>i&&!a.isEmpty(i))for(h=a.parser.ruler.getRules("paragraph");c>i&&!a.isEmpty(i);i++)if(!(a.tShift[i]-a.blkIndent>3)){for(e=!1,f=0,g=h.length;g>f;f++)if(h[f](a,i,c,!0)){e=!0;break}if(e)break}return d=a.getLines(b,i,a.blkIndent,!1).trim(),a.line=i,d.length&&(a.tokens.push({type:"paragraph_open",tight:!1,lines:[b,a.line],level:a.level}),a.tokens.push({type:"inline",content:d,level:a.level+1,lines:[b,a.line],children:[]}),a.tokens.push({type:"paragraph_close",tight:!1,level:a.level})),!0},c.exports}),a.registerDynamic("1fd",["1ee","1ef","1f0","1f1","1f2","1f3","1f4","1f5","1f6","1f7","1f9","1fa","1fb","1fc"],!0,function(a,b,c){"use strict";function d(){this.ruler=new e;for(var a=0;a<g.length;a++)this.ruler.push(g[a][0],g[a][1],{alt:(g[a][2]||[]).slice()})}var e=a("1ee"),f=a("1ef"),g=[["code",a("1f0")],["fences",a("1f1"),["paragraph","blockquote","list"]],["blockquote",a("1f2"),["paragraph","blockquote","list"]],["hr",a("1f3"),["paragraph","blockquote","list"]],["list",a("1f4"),["paragraph","blockquote"]],["footnote",a("1f5"),["paragraph"]],["heading",a("1f6"),["paragraph","blockquote"]],["lheading",a("1f7")],["htmlblock",a("1f9"),["paragraph","blockquote"]],["table",a("1fa"),["paragraph"]],["deflist",a("1fb"),["paragraph"]],["paragraph",a("1fc")]];d.prototype.tokenize=function(a,b,c){for(var d,e,f=this.ruler.getRules(""),g=f.length,h=b,i=!1;c>h&&(a.line=h=a.skipEmptyLines(h),!(h>=c))&&!(a.tShift[h]<a.blkIndent);){for(e=0;g>e&&!(d=f[e](a,h,c,!1));e++);if(a.tight=!i,a.isEmpty(a.line-1)&&(i=!0),h=a.line,c>h&&a.isEmpty(h)){if(i=!0,h++,c>h&&"list"===a.parentType&&a.isEmpty(h))break;a.line=h}}};var h=/[\n\t]/g,i=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,j=/\u00a0/g;return d.prototype.parse=function(a,b,c,d){var e,g=0,k=0;return a?(a=a.replace(j," "),a=a.replace(i,"\n"),a.indexOf(" ")>=0&&(a=a.replace(h,function(b,c){var d;return 10===a.charCodeAt(c)?(g=c+1,k=0,b):(d=" ".slice((c-g-k)%4),k=c-g+1,d)})),e=new f(a,this,b,c,d),void this.tokenize(e,e.line,e.lineMax)):[]},c.exports=d,c.exports}),a.registerDynamic("1df",[],!0,function(a,b,c){"use strict";function d(a,b,c,d,e){this.src=a,this.env=d,this.options=c,this.parser=b,this.tokens=e,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}return d.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},d.prototype.push=function(a){this.pending&&this.pushPending(),this.tokens.push(a),this.pendingLevel=this.level},d.prototype.cacheSet=function(a,b){for(var c=this.cache.length;a>=c;c++)this.cache.push(0);this.cache[a]=b},d.prototype.cacheGet=function(a){return a<this.cache.length?this.cache[a]:0},c.exports=d,c.exports}),a.registerDynamic("1fe",[],!0,function(a,b,c){"use strict";function d(a){switch(a){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}return c.exports=function(a,b){for(var c=a.pos;c<a.posMax&&!d(a.src.charCodeAt(c));)c++;return c===a.pos?!1:(b||(a.pending+=a.src.slice(a.pos,c)),a.pos=c,!0)},c.exports}),a.registerDynamic("1ff",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e=a.pos;if(10!==a.src.charCodeAt(e))return!1;for(c=a.pending.length-1,d=a.posMax,b||(c>=0&&32===a.pending.charCodeAt(c)?c>=1&&32===a.pending.charCodeAt(c-1)?(a.pending=a.pending.replace(/ +$/,""),a.push({type:"hardbreak",level:a.level})):(a.pending=a.pending.slice(0,-1),a.push({type:"softbreak",level:a.level})):a.push({type:"softbreak",level:a.level})),e++;d>e&&32===a.src.charCodeAt(e);)e++;return a.pos=e,!0},c.exports}),a.registerDynamic("200",[],!0,function(a,b,c){"use strict";for(var d=[],e=0;256>e;e++)d.push(0);return"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(a){d[a.charCodeAt(0)]=1}),c.exports=function(a,b){var c,e=a.pos,f=a.posMax;if(92!==a.src.charCodeAt(e))return!1;if(e++,f>e){if(c=a.src.charCodeAt(e),256>c&&0!==d[c])return b||(a.pending+=a.src[e]),a.pos+=2,!0;if(10===c){for(b||a.push({type:"hardbreak",level:a.level}),e++;f>e&&32===a.src.charCodeAt(e);)e++;return a.pos=e,!0}}return b||(a.pending+="\\"),a.pos++,!0},c.exports}),a.registerDynamic("201",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h=a.pos,i=a.src.charCodeAt(h);if(96!==i)return!1;for(c=h,h++,d=a.posMax;d>h&&96===a.src.charCodeAt(h);)h++;for(e=a.src.slice(c,h),f=g=h;-1!==(f=a.src.indexOf("`",g));){for(g=f+1;d>g&&96===a.src.charCodeAt(g);)g++;if(g-f===e.length)return b||a.push({type:"code",content:a.src.slice(h,f).replace(/[ \n]+/g," ").trim(),block:!1,level:a.level}),a.pos=g,!0}return b||(a.pending+=e),a.pos+=e.length,!0},c.exports}),a.registerDynamic("202",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h=a.posMax,i=a.pos;if(126!==a.src.charCodeAt(i))return!1;if(b)return!1;if(i+4>=h)return!1;if(126!==a.src.charCodeAt(i+1))return!1;if(a.level>=a.options.maxNesting)return!1;if(f=i>0?a.src.charCodeAt(i-1):-1,g=a.src.charCodeAt(i+2),126===f)return!1;if(126===g)return!1;if(32===g||10===g)return!1;for(d=i+2;h>d&&126===a.src.charCodeAt(d);)d++;if(d>i+3)return a.pos+=d-i,b||(a.pending+=a.src.slice(i,d)),!0;for(a.pos=i+2,e=1;a.pos+1<h;){if(126===a.src.charCodeAt(a.pos)&&126===a.src.charCodeAt(a.pos+1)&&(f=a.src.charCodeAt(a.pos-1),g=a.pos+2<h?a.src.charCodeAt(a.pos+2):-1,126!==g&&126!==f&&(32!==f&&10!==f?e--:32!==g&&10!==g&&e++,0>=e))){c=!0;break}a.parser.skipToken(a)}return c?(a.posMax=a.pos,a.pos=i+2,b||(a.push({type:"del_open",level:a.level++}),a.parser.tokenize(a),a.push({type:"del_close",level:--a.level})),a.pos=a.posMax+2,a.posMax=h,!0):(a.pos=i,!1)},c.exports}),a.registerDynamic("203",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h=a.posMax,i=a.pos;if(43!==a.src.charCodeAt(i))return!1;if(b)return!1;if(i+4>=h)return!1;if(43!==a.src.charCodeAt(i+1))return!1;if(a.level>=a.options.maxNesting)return!1;if(f=i>0?a.src.charCodeAt(i-1):-1,g=a.src.charCodeAt(i+2),43===f)return!1;if(43===g)return!1;if(32===g||10===g)return!1;for(d=i+2;h>d&&43===a.src.charCodeAt(d);)d++;if(d!==i+2)return a.pos+=d-i,b||(a.pending+=a.src.slice(i,d)),!0;for(a.pos=i+2,e=1;a.pos+1<h;){if(43===a.src.charCodeAt(a.pos)&&43===a.src.charCodeAt(a.pos+1)&&(f=a.src.charCodeAt(a.pos-1),g=a.pos+2<h?a.src.charCodeAt(a.pos+2):-1,43!==g&&43!==f&&(32!==f&&10!==f?e--:32!==g&&10!==g&&e++,0>=e))){c=!0;break}a.parser.skipToken(a)}return c?(a.posMax=a.pos,a.pos=i+2,b||(a.push({type:"ins_open",level:a.level++}),a.parser.tokenize(a),a.push({type:"ins_close",level:--a.level})),a.pos=a.posMax+2,a.posMax=h,!0):(a.pos=i,!1)},c.exports}),a.registerDynamic("204",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g,h=a.posMax,i=a.pos;if(61!==a.src.charCodeAt(i))return!1;if(b)return!1;if(i+4>=h)return!1;if(61!==a.src.charCodeAt(i+1))return!1;if(a.level>=a.options.maxNesting)return!1;if(f=i>0?a.src.charCodeAt(i-1):-1,g=a.src.charCodeAt(i+2),61===f)return!1;if(61===g)return!1;if(32===g||10===g)return!1;for(d=i+2;h>d&&61===a.src.charCodeAt(d);)d++;if(d!==i+2)return a.pos+=d-i,b||(a.pending+=a.src.slice(i,d)),!0;for(a.pos=i+2,e=1;a.pos+1<h;){if(61===a.src.charCodeAt(a.pos)&&61===a.src.charCodeAt(a.pos+1)&&(f=a.src.charCodeAt(a.pos-1),g=a.pos+2<h?a.src.charCodeAt(a.pos+2):-1,61!==g&&61!==f&&(32!==f&&10!==f?e--:32!==g&&10!==g&&e++,0>=e))){c=!0;break}a.parser.skipToken(a)}return c?(a.posMax=a.pos,a.pos=i+2,b||(a.push({type:"mark_open",level:a.level++}),a.parser.tokenize(a),a.push({type:"mark_close",level:--a.level})),a.pos=a.posMax+2,a.posMax=h,!0):(a.pos=i,!1)},c.exports}),a.registerDynamic("205",[],!0,function(a,b,c){"use strict";function d(a){return a>=48&&57>=a||a>=65&&90>=a||a>=97&&122>=a}function e(a,b){var c,e,f,g=b,h=!0,i=!0,j=a.posMax,k=a.src.charCodeAt(b);for(c=b>0?a.src.charCodeAt(b-1):-1;j>g&&a.src.charCodeAt(g)===k;)g++;return g>=j&&(h=!1),f=g-b,f>=4?h=i=!1:(e=j>g?a.src.charCodeAt(g):-1,32!==e&&10!==e||(h=!1),32!==c&&10!==c||(i=!1),95===k&&(d(c)&&(h=!1),d(e)&&(i=!1))),{can_open:h,can_close:i,delims:f}}return c.exports=function(a,b){var c,d,f,g,h,i,j,k=a.posMax,l=a.pos,m=a.src.charCodeAt(l);if(95!==m&&42!==m)return!1;if(b)return!1;if(j=e(a,l),c=j.delims,!j.can_open)return a.pos+=c,b||(a.pending+=a.src.slice(l,a.pos)),!0;if(a.level>=a.options.maxNesting)return!1;for(a.pos=l+c,i=[c];a.pos<k;)if(a.src.charCodeAt(a.pos)!==m)a.parser.skipToken(a);else{if(j=e(a,a.pos),d=j.delims,j.can_close){for(g=i.pop(),h=d;g!==h;){if(g>h){i.push(g-h);break}if(h-=g,0===i.length)break;a.pos+=g,g=i.pop()}if(0===i.length){c=g,f=!0;break}a.pos+=d;continue}j.can_open&&i.push(d),a.pos+=d}return f?(a.posMax=a.pos,a.pos=l+c,b||(2!==c&&3!==c||a.push({type:"strong_open",level:a.level++}),1!==c&&3!==c||a.push({type:"em_open",level:a.level++}),a.parser.tokenize(a),1!==c&&3!==c||a.push({type:"em_close",level:--a.level}),2!==c&&3!==c||a.push({type:"strong_close",level:--a.level})),a.pos=a.posMax+c,a.posMax=k,!0):(a.pos=l,!1)},c.exports}),a.registerDynamic("206",[],!0,function(a,b,c){"use strict";var d=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;return c.exports=function(a,b){var c,e,f=a.posMax,g=a.pos;if(126!==a.src.charCodeAt(g))return!1;if(b)return!1;if(g+2>=f)return!1;if(a.level>=a.options.maxNesting)return!1;for(a.pos=g+1;a.pos<f;){if(126===a.src.charCodeAt(a.pos)){c=!0;break}a.parser.skipToken(a)}return c&&g+1!==a.pos?(e=a.src.slice(g+1,a.pos),e.match(/(^|[^\\])(\\\\)*\s/)?(a.pos=g,!1):(a.posMax=a.pos,a.pos=g+1,b||a.push({type:"sub",level:a.level,content:e.replace(d,"$1")}),a.pos=a.posMax+1,a.posMax=f,!0)):(a.pos=g,!1)},c.exports}),a.registerDynamic("207",[],!0,function(a,b,c){"use strict";var d=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;return c.exports=function(a,b){var c,e,f=a.posMax,g=a.pos;if(94!==a.src.charCodeAt(g))return!1;if(b)return!1;if(g+2>=f)return!1;if(a.level>=a.options.maxNesting)return!1;for(a.pos=g+1;a.pos<f;){if(94===a.src.charCodeAt(a.pos)){c=!0;break}a.parser.skipToken(a)}return c&&g+1!==a.pos?(e=a.src.slice(g+1,a.pos),e.match(/(^|[^\\])(\\\\)*\s/)?(a.pos=g,!1):(a.posMax=a.pos,a.pos=g+1,b||a.push({type:"sup",level:a.level,content:e.replace(d,"$1")}),a.pos=a.posMax+1,a.posMax=f,!0)):(a.pos=g,!1)},c.exports}),a.registerDynamic("1e2",["208","1db"],!0,function(a,b,c){"use strict";var d=a("208"),e=a("1db").unescapeMd;return c.exports=function(a,b){var c,f,g,h=b,i=a.posMax;if(60===a.src.charCodeAt(b)){for(b++;i>b;){if(c=a.src.charCodeAt(b),10===c)return!1;if(62===c)return g=d(e(a.src.slice(h+1,b))),a.parser.validateLink(g)?(a.pos=b+1,a.linkContent=g,!0):!1;92===c&&i>b+1?b+=2:b++}return!1}for(f=0;i>b&&(c=a.src.charCodeAt(b),32!==c)&&!(c>8&&14>c);)if(92===c&&i>b+1)b+=2;else{if(40===c&&(f++,f>1))break;if(41===c&&(f--,0>f))break;b++}return h===b?!1:(g=e(a.src.slice(h,b)),a.parser.validateLink(g)?(a.linkContent=g,a.pos=b,!0):!1)},c.exports}),a.registerDynamic("1e3",["1db"],!0,function(a,b,c){"use strict";var d=a("1db").unescapeMd;return c.exports=function(a,b){var c,e=b,f=a.posMax,g=a.src.charCodeAt(b);if(34!==g&&39!==g&&40!==g)return!1;for(b++,40===g&&(g=41);f>b;){if(c=a.src.charCodeAt(b),c===g)return a.pos=b+1,a.linkContent=d(a.src.slice(e+1,b)),!0;92===c&&f>b+1?b+=2:b++}return!1},c.exports}),a.registerDynamic("1e4",[],!0,function(a,b,c){"use strict";return c.exports=function(a){return a.trim().replace(/\s+/g," ").toUpperCase()},c.exports}),a.registerDynamic("209",["1e0","1e2","1e3","1e4"],!0,function(a,b,c){"use strict";var d=a("1e0"),e=a("1e2"),f=a("1e3"),g=a("1e4");return c.exports=function(a,b){var c,h,i,j,k,l,m,n,o=!1,p=a.pos,q=a.posMax,r=a.pos,s=a.src.charCodeAt(r);if(33===s&&(o=!0,s=a.src.charCodeAt(++r)),91!==s)return!1;if(a.level>=a.options.maxNesting)return!1;if(c=r+1,h=d(a,r),0>h)return!1;if(l=h+1,q>l&&40===a.src.charCodeAt(l)){for(l++;q>l&&(n=a.src.charCodeAt(l),32===n||10===n);l++);if(l>=q)return!1;for(r=l,e(a,l)?(j=a.linkContent,l=a.pos):j="",r=l;q>l&&(n=a.src.charCodeAt(l),32===n||10===n);l++);
|
||
if(q>l&&r!==l&&f(a,l))for(k=a.linkContent,l=a.pos;q>l&&(n=a.src.charCodeAt(l),32===n||10===n);l++);else k="";if(l>=q||41!==a.src.charCodeAt(l))return a.pos=p,!1;l++}else{if(a.linkLevel>0)return!1;for(;q>l&&(n=a.src.charCodeAt(l),32===n||10===n);l++);if(q>l&&91===a.src.charCodeAt(l)&&(r=l+1,l=d(a,l),l>=0?i=a.src.slice(r,l++):l=r-1),i||("undefined"==typeof i&&(l=h+1),i=a.src.slice(c,h)),m=a.env.references[g(i)],!m)return a.pos=p,!1;j=m.href,k=m.title}return b||(a.pos=c,a.posMax=h,o?a.push({type:"image",src:j,title:k,alt:a.src.substr(c,h-c),level:a.level}):(a.push({type:"link_open",href:j,title:k,level:a.level++}),a.linkLevel++,a.parser.tokenize(a),a.linkLevel--,a.push({type:"link_close",level:--a.level}))),a.pos=l,a.posMax=q,!0},c.exports}),a.registerDynamic("1e0",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f=-1,g=a.posMax,h=a.pos,i=a.isInLabel;if(a.isInLabel)return-1;if(a.labelUnmatchedScopes)return a.labelUnmatchedScopes--,-1;for(a.pos=b+1,a.isInLabel=!0,c=1;a.pos<g;){if(e=a.src.charCodeAt(a.pos),91===e)c++;else if(93===e&&(c--,0===c)){d=!0;break}a.parser.skipToken(a)}return d?(f=a.pos,a.labelUnmatchedScopes=0):a.labelUnmatchedScopes=c-1,a.pos=h,a.isInLabel=i,f},c.exports}),a.registerDynamic("20a",["1e0"],!0,function(a,b,c){"use strict";var d=a("1e0");return c.exports=function(a,b){var c,e,f,g,h=a.posMax,i=a.pos;return i+2>=h?!1:94!==a.src.charCodeAt(i)?!1:91!==a.src.charCodeAt(i+1)?!1:a.level>=a.options.maxNesting?!1:(c=i+2,e=d(a,i+1),0>e?!1:(b||(a.env.footnotes||(a.env.footnotes={}),a.env.footnotes.list||(a.env.footnotes.list=[]),f=a.env.footnotes.list.length,a.pos=c,a.posMax=e,a.push({type:"footnote_ref",id:f,level:a.level}),a.linkLevel++,g=a.tokens.length,a.parser.tokenize(a),a.env.footnotes.list[f]={tokens:a.tokens.splice(g)},a.linkLevel--),a.pos=e+1,a.posMax=h,!0))},c.exports}),a.registerDynamic("20b",[],!0,function(a,b,c){"use strict";return c.exports=function(a,b){var c,d,e,f,g=a.posMax,h=a.pos;if(h+3>g)return!1;if(!a.env.footnotes||!a.env.footnotes.refs)return!1;if(91!==a.src.charCodeAt(h))return!1;if(94!==a.src.charCodeAt(h+1))return!1;if(a.level>=a.options.maxNesting)return!1;for(d=h+2;g>d;d++){if(32===a.src.charCodeAt(d))return!1;if(10===a.src.charCodeAt(d))return!1;if(93===a.src.charCodeAt(d))break}return d===h+2?!1:d>=g?!1:(d++,c=a.src.slice(h+2,d-1),"undefined"==typeof a.env.footnotes.refs[":"+c]?!1:(b||(a.env.footnotes.list||(a.env.footnotes.list=[]),a.env.footnotes.refs[":"+c]<0?(e=a.env.footnotes.list.length,a.env.footnotes.list[e]={label:c,count:0},a.env.footnotes.refs[":"+c]=e):e=a.env.footnotes.refs[":"+c],f=a.env.footnotes.list[e].count,a.env.footnotes.list[e].count++,a.push({type:"footnote_ref",id:e,subId:f,level:a.level})),a.pos=d,a.posMax=g,!0))},c.exports}),a.registerDynamic("20c",[],!0,function(a,b,c){"use strict";return c.exports=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],c.exports}),a.registerDynamic("208",["1db"],!0,function(a,b,c){"use strict";var d=a("1db").replaceEntities;return c.exports=function(a){var b=d(a);try{b=decodeURI(b)}catch(c){}return encodeURI(b)},c.exports}),a.registerDynamic("20d",["20c","208"],!0,function(a,b,c){"use strict";var d=a("20c"),e=a("208"),f=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,g=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;return c.exports=function(a,b){var c,h,i,j,k,l=a.pos;return 60!==a.src.charCodeAt(l)?!1:(c=a.src.slice(l),c.indexOf(">")<0?!1:(h=c.match(g))?d.indexOf(h[1].toLowerCase())<0?!1:(j=h[0].slice(1,-1),k=e(j),a.parser.validateLink(j)?(b||(a.push({type:"link_open",href:k,level:a.level}),a.push({type:"text",content:j,level:a.level+1}),a.push({type:"link_close",level:a.level})),a.pos+=h[0].length,!0):!1):(i=c.match(f),i?(j=i[0].slice(1,-1),k=e("mailto:"+j),a.parser.validateLink(k)?(b||(a.push({type:"link_open",href:k,level:a.level}),a.push({type:"text",content:j,level:a.level+1}),a.push({type:"link_close",level:a.level})),a.pos+=i[0].length,!0):!1):!1))},c.exports}),a.registerDynamic("20e",["45"],!0,function(a,b,c){return function(a){"use strict";function b(a,b){return a=a.source,b=b||"",function c(d,e){return d?(e=e.source||e,a=a.replace(d,e),c):new RegExp(a,b)}}var d=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,e=/[^"'=<>`\x00-\x20]+/,f=/'[^']*'/,g=/"[^"]*"/,h=b(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",e)("single_quoted",f)("double_quoted",g)(),i=b(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",d)("attr_value",h)(),j=b(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",i)(),k=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,l=/<!--([^-]+|[-][^-]+)*-->/,m=/<[?].*?[?]>/,n=/<![A-Z]+\s+[^>]*>/,o=/<!\[CDATA\[([^\]]+|\][^\]]|\]\][^>])*\]\]>/,p=b(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",j)("close_tag",k)("comment",l)("processing",m)("declaration",n)("cdata",o)();c.exports.HTML_TAG_RE=p}(a("45")),c.exports}),a.registerDynamic("20f",["20e"],!0,function(a,b,c){"use strict";function d(a){var b=32|a;return b>=97&&122>=b}var e=a("20e").HTML_TAG_RE;return c.exports=function(a,b){var c,f,g,h=a.pos;return a.options.html?(g=a.posMax,60!==a.src.charCodeAt(h)||h+2>=g?!1:(c=a.src.charCodeAt(h+1),(33===c||63===c||47===c||d(c))&&(f=a.src.slice(h).match(e))?(b||a.push({type:"htmltag",content:a.src.slice(h,h+f[0].length),level:a.level}),a.pos+=f[0].length,!0):!1)):!1},c.exports}),a.registerDynamic("210",[],!0,function(a,b,c){"use strict";return c.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒","in":"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬","int":"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},c.exports}),a.registerDynamic("1db",["210"],!0,function(a,b,c){"use strict";function d(a){return Object.prototype.toString.call(a)}function e(a){return"[object String]"===d(a)}function f(a,b){return a?o.call(a,b):!1}function g(a){var b=[].slice.call(arguments,1);return b.forEach(function(b){if(b){if("object"!=typeof b)throw new TypeError(b+"must be object");
|
||
Object.keys(b).forEach(function(c){a[c]=b[c]})}}),a}function h(a){return a.indexOf("\\")<0?a:a.replace(p,"$1")}function i(a){return a>=55296&&57343>=a?!1:a>=64976&&65007>=a?!1:65535===(65535&a)||65534===(65535&a)?!1:a>=0&&8>=a?!1:11===a?!1:a>=14&&31>=a?!1:a>=127&&159>=a?!1:!(a>1114111)}function j(a){if(a>65535){a-=65536;var b=55296+(a>>10),c=56320+(1023&a);return String.fromCharCode(b,c)}return String.fromCharCode(a)}function k(a,b){var c=0;return f(s,b)?s[b]:35===b.charCodeAt(0)&&r.test(b)&&(c="x"===b[1].toLowerCase()?parseInt(b.slice(2),16):parseInt(b.slice(1),10),i(c))?j(c):a}function l(a){return a.indexOf("&")<0?a:a.replace(q,k)}function m(a){return v[a]}function n(a){return t.test(a)?a.replace(u,m):a}var o=Object.prototype.hasOwnProperty,p=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,q=/&([a-z#][a-z0-9]{1,31});/gi,r=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,s=a("210"),t=/[&<>"]/,u=/[&<>"]/g,v={"&":"&","<":"<",">":">",'"':"""};return b.assign=g,b.isString=e,b.has=f,b.unescapeMd=h,b.isValidEntityCode=i,b.fromCodePoint=j,b.replaceEntities=l,b.escapeHtml=n,c.exports}),a.registerDynamic("211",["210","1db"],!0,function(a,b,c){"use strict";var d=a("210"),e=a("1db").has,f=a("1db").isValidEntityCode,g=a("1db").fromCodePoint,h=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,i=/^&([a-z][a-z0-9]{1,31});/i;return c.exports=function(a,b){var c,j,k,l=a.pos,m=a.posMax;if(38!==a.src.charCodeAt(l))return!1;if(m>l+1)if(c=a.src.charCodeAt(l+1),35===c){if(k=a.src.slice(l).match(h))return b||(j="x"===k[1][0].toLowerCase()?parseInt(k[1].slice(1),16):parseInt(k[1],10),a.pending+=g(f(j)?j:65533)),a.pos+=k[0].length,!0}else if(k=a.src.slice(l).match(i),k&&e(d,k[1]))return b||(a.pending+=d[k[1]]),a.pos+=k[0].length,!0;return b||(a.pending+="&"),a.pos++,!0},c.exports}),a.registerDynamic("212",["1ee","1df","1db","1fe","1ff","200","201","202","203","204","205","206","207","209","20a","20b","20d","20f","211"],!0,function(a,b,c){"use strict";function d(){this.ruler=new f;for(var a=0;a<i.length;a++)this.ruler.push(i[a][0],i[a][1]);this.validateLink=e}function e(a){var b=["vbscript","javascript","file"],c=a.trim().toLowerCase();return c=h.replaceEntities(c),-1===c.indexOf(":")||-1===b.indexOf(c.split(":")[0])}var f=a("1ee"),g=a("1df"),h=a("1db"),i=[["text",a("1fe")],["newline",a("1ff")],["escape",a("200")],["backticks",a("201")],["del",a("202")],["ins",a("203")],["mark",a("204")],["emphasis",a("205")],["sub",a("206")],["sup",a("207")],["links",a("209")],["footnote_inline",a("20a")],["footnote_ref",a("20b")],["autolink",a("20d")],["htmltag",a("20f")],["entity",a("211")]];return d.prototype.skipToken=function(a){var b,c,d=this.ruler.getRules(""),e=d.length,f=a.pos;if((c=a.cacheGet(f))>0)return void(a.pos=c);for(b=0;e>b;b++)if(d[b](a,!0))return void a.cacheSet(f,a.pos);a.pos++,a.cacheSet(f,a.pos)},d.prototype.tokenize=function(a){for(var b,c,d=this.ruler.getRules(""),e=d.length,f=a.posMax;a.pos<f;){for(c=0;e>c&&!(b=d[c](a,!1));c++);if(b){if(a.pos>=f)break}else a.pending+=a.src[a.pos++]}a.pending&&a.pushPending()},d.prototype.parse=function(a,b,c,d){var e=new g(a,this,b,c,d);this.tokenize(e)},c.exports=d,c.exports}),a.registerDynamic("1ee",[],!0,function(a,b,c){"use strict";function d(){this.__rules__=[],this.__cache__=null}return d.prototype.__find__=function(a){for(var b=this.__rules__.length,c=-1;b--;)if(this.__rules__[++c].name===a)return c;return-1},d.prototype.__compile__=function(){var a=this,b=[""];a.__rules__.forEach(function(a){a.enabled&&a.alt.forEach(function(a){b.indexOf(a)<0&&b.push(a)})}),a.__cache__={},b.forEach(function(b){a.__cache__[b]=[],a.__rules__.forEach(function(c){c.enabled&&(b&&c.alt.indexOf(b)<0||a.__cache__[b].push(c.fn))})})},d.prototype.at=function(a,b,c){var d=this.__find__(a),e=c||{};if(-1===d)throw new Error("Parser rule not found: "+a);this.__rules__[d].fn=b,this.__rules__[d].alt=e.alt||[],this.__cache__=null},d.prototype.before=function(a,b,c,d){var e=this.__find__(a),f=d||{};if(-1===e)throw new Error("Parser rule not found: "+a);this.__rules__.splice(e,0,{name:b,enabled:!0,fn:c,alt:f.alt||[]}),this.__cache__=null},d.prototype.after=function(a,b,c,d){var e=this.__find__(a),f=d||{};if(-1===e)throw new Error("Parser rule not found: "+a);this.__rules__.splice(e+1,0,{name:b,enabled:!0,fn:c,alt:f.alt||[]}),this.__cache__=null},d.prototype.push=function(a,b,c){var d=c||{};this.__rules__.push({name:a,enabled:!0,fn:b,alt:d.alt||[]}),this.__cache__=null},d.prototype.enable=function(a,b){a=Array.isArray(a)?a:[a],b&&this.__rules__.forEach(function(a){a.enabled=!1}),a.forEach(function(a){var b=this.__find__(a);if(0>b)throw new Error("Rules manager: invalid rule name "+a);this.__rules__[b].enabled=!0},this),this.__cache__=null},d.prototype.disable=function(a){a=Array.isArray(a)?a:[a],a.forEach(function(a){var b=this.__find__(a);if(0>b)throw new Error("Rules manager: invalid rule name "+a);this.__rules__[b].enabled=!1},this),this.__cache__=null},d.prototype.getRules=function(a){return null===this.__cache__&&this.__compile__(),this.__cache__[a]},c.exports=d,c.exports}),a.registerDynamic("213",[],!0,function(a,b,c){"use strict";return c.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","linkify","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},c.exports}),a.registerDynamic("214",[],!0,function(a,b,c){"use strict";return c.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},c.exports}),a.registerDynamic("215",[],!0,function(a,b,c){"use strict";return c.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},c.exports}),a.registerDynamic("216",["1db","1dc","1ed","1fd","212","1ee","213","214","215"],!0,function(a,b,c){"use strict";function d(a,b,c){this.src=b,this.env=c,this.options=a.options,this.tokens=[],this.inlineMode=!1,this.inline=a.inline,this.block=a.block,this.renderer=a.renderer,this.typographer=a.typographer}function e(a,b){"string"!=typeof a&&(b=a,a="default"),this.inline=new j,this.block=new i,this.core=new h,this.renderer=new g,this.ruler=new k,this.options={},this.configure(l[a]),this.set(b||{})}var f=a("1db").assign,g=a("1dc"),h=a("1ed"),i=a("1fd"),j=a("212"),k=a("1ee"),l={"default":a("213"),full:a("214"),commonmark:a("215")};return e.prototype.set=function(a){f(this.options,a)},e.prototype.configure=function(a){var b=this;if(!a)throw new Error("Wrong `remarkable` preset, check name/content");a.options&&b.set(a.options),a.components&&Object.keys(a.components).forEach(function(c){a.components[c].rules&&b[c].ruler.enable(a.components[c].rules,!0)})},e.prototype.use=function(a,b){return a(this,b),this},e.prototype.parse=function(a,b){var c=new d(this,a,b);return this.core.process(c),c.tokens},e.prototype.render=function(a,b){return b=b||{},this.renderer.render(this.parse(a,b),this.options,b)},e.prototype.parseInline=function(a,b){var c=new d(this,a,b);return c.inlineMode=!0,this.core.process(c),c.tokens},e.prototype.renderInline=function(a,b){return b=b||{},this.renderer.render(this.parseInline(a,b),this.options,b)},c.exports=e,c.exports.utils=a("1db"),c.exports}),a.registerDynamic("217",["216"],!0,function(a,b,c){"use strict";return c.exports=a("216"),c.exports}),a.registerDynamic("218",["217"],!0,function(a,b,c){return c.exports=a("217"),c.exports}),a.register("8a",["82","218"],function(a){function b(a,b){var c=void 0;b&&(c={open:h.renderer.rules.heading_open,close:h.renderer.rules.heading_close},h.renderer.rules.heading_open=function(a,d){return 1!==a[d].hLevel?c.open(a,d):b.open(a,d)},h.renderer.rules.heading_close=function(a,d){return 1!==a[d].hLevel?c.close(a,d):b.close(a,d)});var d=h.render(a);return b&&(h.renderer.rules.heading_open=c.open,h.renderer.rules.heading_close=c.close),d}function c(a){if(100>a||a>599)throw new Error("invalid HTTP code");var b="success";return a>=300&&400>a?b="redirect":a>=400?b="error":200>a&&(b="info"),b}function d(a,b){for(var c=f(b),d=-1,e=c.length;++d<e;){var g=c[d];void 0===a[g]&&(a[g]=b[g])}return a}function e(a,b,c){a[b]||(a[b]=[]),a[b].push(c)}var f,g,h;return{setters:[function(a){f=a["default"]},function(a){g=a["default"]}],execute:function(){"use strict";a("renderMd",b),a("statusCodeType",c),a("defaults",d),a("safePush",e),h=new g({html:!0,linkify:!0,breaks:!1,typographer:!1,highlight:function(a,b){"json"===b&&(b="js");var c=Prism.languages[b];return c?Prism.highlight(a,c):a}})}}}),a.registerDynamic("219",["45"],!0,function(a,b,c){var d,e=this;return function(a){!function(a){function f(a){throw RangeError(I[a])}function g(a,b){for(var c=a.length,d=[];c--;)d[c]=b(a[c]);return d}function h(a,b){var c=a.split("@"),d="";c.length>1&&(d=c[0]+"@",a=c[1]),a=a.replace(H,".");var e=a.split("."),f=g(e,b).join(".");return d+f}function i(a){for(var b,c,d=[],e=0,f=a.length;f>e;)b=a.charCodeAt(e++),b>=55296&&56319>=b&&f>e?(c=a.charCodeAt(e++),56320==(64512&c)?d.push(((1023&b)<<10)+(1023&c)+65536):(d.push(b),e--)):d.push(b);return d}function j(a){return g(a,function(a){var b="";return a>65535&&(a-=65536,b+=L(a>>>10&1023|55296),a=56320|1023&a),b+=L(a)}).join("")}function k(a){return 10>a-48?a-22:26>a-65?a-65:26>a-97?a-97:x}function l(a,b){return a+22+75*(26>a)-((0!=b)<<5)}function m(a,b,c){var d=0;for(a=c?K(a/B):a>>1,a+=K(a/b);a>J*z>>1;d+=x)a=K(a/J);return K(d+(J+1)*a/(a+A))}function n(a){var b,c,d,e,g,h,i,l,n,o,p=[],q=a.length,r=0,s=D,t=C;for(c=a.lastIndexOf(E),0>c&&(c=0),d=0;c>d;++d)a.charCodeAt(d)>=128&&f("not-basic"),p.push(a.charCodeAt(d));for(e=c>0?c+1:0;q>e;){for(g=r,h=1,i=x;e>=q&&f("invalid-input"),l=k(a.charCodeAt(e++)),(l>=x||l>K((w-r)/h))&&f("overflow"),r+=l*h,n=t>=i?y:i>=t+z?z:i-t,!(n>l);i+=x)o=x-n,h>K(w/o)&&f("overflow"),h*=o;b=p.length+1,t=m(r-g,b,0==g),K(r/b)>w-s&&f("overflow"),s+=K(r/b),r%=b,p.splice(r++,0,s)}return j(p)}function o(a){var b,c,d,e,g,h,j,k,n,o,p,q,r,s,t,u=[];for(a=i(a),q=a.length,b=D,c=0,g=C,h=0;q>h;++h)p=a[h],128>p&&u.push(L(p));for(d=e=u.length,e&&u.push(E);q>d;){for(j=w,h=0;q>h;++h)p=a[h],p>=b&&j>p&&(j=p);for(r=d+1,j-b>K((w-c)/r)&&f("overflow"),c+=(j-b)*r,b=j,h=0;q>h;++h)if(p=a[h],b>p&&++c>w&&f("overflow"),p==b){for(k=c,n=x;o=g>=n?y:n>=g+z?z:n-g,!(o>k);n+=x)t=k-o,s=x-o,u.push(L(l(o+t%s,0))),k=K(t/s);u.push(L(l(k,0))),g=m(c,r,d==e),c=0,++d}++c,++b}return u.join("")}function p(a){return h(a,function(a){return F.test(a)?n(a.slice(4).toLowerCase()):a})}function q(a){return h(a,function(a){return G.test(a)?"xn--"+o(a):a})}var r="object"==typeof b&&b&&!b.nodeType&&b,s="object"==typeof c&&c&&!c.nodeType&&c,t="object"==typeof e&&e;t.global!==t&&t.window!==t&&t.self!==t||(a=t);var u,v,w=2147483647,x=36,y=1,z=26,A=38,B=700,C=72,D=128,E="-",F=/^xn--/,G=/[^\x20-\x7E]/,H=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},J=x-y,K=Math.floor,L=String.fromCharCode;if(u={version:"1.3.2",ucs2:{decode:i,encode:j},decode:n,encode:o,toASCII:q,toUnicode:p},"function"==typeof d&&"object"==typeof d.amd&&d.amd)d("punycode",function(){return u});else if(r&&s)if(c.exports==r)s.exports=u;else for(v in u)u.hasOwnProperty(v)&&(r[v]=u[v]);else a.punycode=u}(this)}(a("45")),c.exports}),a.registerDynamic("21a",["219"],!0,function(a,b,c){return c.exports=a("219"),c.exports}),a.registerDynamic("21b",[],!0,function(a,b,c){"use strict";function d(a,b){return Object.prototype.hasOwnProperty.call(a,b)}return c.exports=function(a,b,c,e){b=b||"&",c=c||"=";var f={};if("string"!=typeof a||0===a.length)return f;var g=/\+/g;a=a.split(b);var h=1e3;e&&"number"==typeof e.maxKeys&&(h=e.maxKeys);var i=a.length;h>0&&i>h&&(i=h);for(var j=0;i>j;++j){var k,l,m,n,o=a[j].replace(g,"%20"),p=o.indexOf(c);p>=0?(k=o.substr(0,p),l=o.substr(p+1)):(k=o,l=""),m=decodeURIComponent(k),n=decodeURIComponent(l),d(f,m)?Array.isArray(f[m])?f[m].push(n):f[m]=[f[m],n]:f[m]=n}return f},c.exports}),a.registerDynamic("21c",[],!0,function(a,b,c){"use strict";var d=function(a){switch(typeof a){case"string":return a;case"boolean":return a?"true":"false";case"number":return isFinite(a)?a:"";default:return""}};return c.exports=function(a,b,c,e){return b=b||"&",c=c||"=",null===a&&(a=void 0),"object"==typeof a?Object.keys(a).map(function(e){var f=encodeURIComponent(d(e))+c;return Array.isArray(a[e])?a[e].map(function(a){return f+encodeURIComponent(d(a))}).join(b):f+encodeURIComponent(d(a[e]))}).join(b):e?encodeURIComponent(d(e))+c+encodeURIComponent(d(a)):""},c.exports}),a.registerDynamic("21d",["21b","21c"],!0,function(a,b,c){"use strict";return b.decode=b.parse=a("21b"),b.encode=b.stringify=a("21c"),c.exports}),a.registerDynamic("21e",["21d"],!0,function(a,b,c){return c.exports=a("21d"),c.exports}),a.registerDynamic("21f",["21a","21e"],!0,function(a,b,c){function d(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function e(a,b,c){if(a&&j(a)&&a instanceof d)return a;var e=new d;return e.parse(a,b,c),e}function f(a){return i(a)&&(a=e(a)),a instanceof d?a.format():d.prototype.format.call(a)}function g(a,b){return e(a,!1,!0).resolve(b)}function h(a,b){return a?e(a,!1,!0).resolveObject(b):b}function i(a){return"string"==typeof a}function j(a){return"object"==typeof a&&null!==a}function k(a){return null===a}function l(a){return null==a}var m=a("21a");b.parse=e,b.resolve=g,b.resolveObject=h,b.format=f,b.Url=d;var n=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,p=["<",">",'"',"`"," ","\r","\n"," "],q=["{","}","|","\\","^","`"].concat(p),r=["'"].concat(q),s=["%","/","?",";","#"].concat(r),t=["/","?","#"],u=255,v=/^[a-z0-9A-Z_-]{0,63}$/,w=/^([a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},z={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=a("21e");return d.prototype.parse=function(a,b,c){if(!i(a))throw new TypeError("Parameter 'url' must be a string, not "+typeof a);var d=a;d=d.trim();var e=n.exec(d);if(e){e=e[0];var f=e.toLowerCase();this.protocol=f,d=d.substr(e.length)}if(c||e||d.match(/^\/\/[^@\/]+@[^@\/]+/)){var g="//"===d.substr(0,2);!g||e&&y[e]||(d=d.substr(2),this.slashes=!0)}if(!y[e]&&(g||e&&!z[e])){for(var h=-1,j=0;j<t.length;j++){var k=d.indexOf(t[j]);-1!==k&&(-1===h||h>k)&&(h=k)}var l,o;o=-1===h?d.lastIndexOf("@"):d.lastIndexOf("@",h),-1!==o&&(l=d.slice(0,o),d=d.slice(o+1),this.auth=decodeURIComponent(l)),h=-1;for(var j=0;j<s.length;j++){var k=d.indexOf(s[j]);-1!==k&&(-1===h||h>k)&&(h=k)}-1===h&&(h=d.length),this.host=d.slice(0,h),d=d.slice(h),this.parseHost(),this.hostname=this.hostname||"";var p="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!p)for(var q=this.hostname.split(/\./),j=0,B=q.length;B>j;j++){var C=q[j];if(C&&!C.match(v)){for(var D="",E=0,F=C.length;F>E;E++)D+=C.charCodeAt(E)>127?"x":C[E];if(!D.match(v)){var G=q.slice(0,j),H=q.slice(j+1),I=C.match(w);I&&(G.push(I[1]),H.unshift(I[2])),H.length&&(d="/"+H.join(".")+d),this.hostname=G.join(".");break}}}if(this.hostname.length>u?this.hostname="":this.hostname=this.hostname.toLowerCase(),!p){for(var J=this.hostname.split("."),K=[],j=0;j<J.length;++j){var L=J[j];K.push(L.match(/[^A-Za-z0-9_-]/)?"xn--"+m.encode(L):L)}this.hostname=K.join(".")}var M=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+M,this.href+=this.host,p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==d[0]&&(d="/"+d))}if(!x[f])for(var j=0,B=r.length;B>j;j++){var O=r[j],P=encodeURIComponent(O);P===O&&(P=escape(O)),d=d.split(O).join(P)}var Q=d.indexOf("#");-1!==Q&&(this.hash=d.substr(Q),d=d.slice(0,Q));var R=d.indexOf("?");if(-1!==R?(this.search=d.substr(R),this.query=d.substr(R+1),b&&(this.query=A.parse(this.query)),d=d.slice(0,R)):b&&(this.search="",this.query={}),d&&(this.pathname=d),z[f]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var M=this.pathname||"",L=this.search||"";this.path=M+L}return this.href=this.format(),this},d.prototype.format=function(){var a=this.auth||"";a&&(a=encodeURIComponent(a),a=a.replace(/%3A/i,":"),a+="@");var b=this.protocol||"",c=this.pathname||"",d=this.hash||"",e=!1,f="";this.host?e=a+this.host:this.hostname&&(e=a+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(e+=":"+this.port)),this.query&&j(this.query)&&Object.keys(this.query).length&&(f=A.stringify(this.query));var g=this.search||f&&"?"+f||"";return b&&":"!==b.substr(-1)&&(b+=":"),this.slashes||(!b||z[b])&&e!==!1?(e="//"+(e||""),c&&"/"!==c.charAt(0)&&(c="/"+c)):e||(e=""),d&&"#"!==d.charAt(0)&&(d="#"+d),g&&"?"!==g.charAt(0)&&(g="?"+g),c=c.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),g=g.replace("#","%23"),b+e+c+g+d},d.prototype.resolve=function(a){return this.resolveObject(e(a,!1,!0)).format()},d.prototype.resolveObject=function(a){if(i(a)){var b=new d;b.parse(a,!1,!0),a=b}var c=new d;if(Object.keys(this).forEach(function(a){c[a]=this[a]},this),c.hash=a.hash,""===a.href)return c.href=c.format(),c;if(a.slashes&&!a.protocol)return Object.keys(a).forEach(function(b){"protocol"!==b&&(c[b]=a[b])}),z[c.protocol]&&c.hostname&&!c.pathname&&(c.path=c.pathname="/"),c.href=c.format(),c;if(a.protocol&&a.protocol!==c.protocol){if(!z[a.protocol])return Object.keys(a).forEach(function(b){c[b]=a[b]}),c.href=c.format(),c;if(c.protocol=a.protocol,a.host||y[a.protocol])c.pathname=a.pathname;else{for(var e=(a.pathname||"").split("/");e.length&&!(a.host=e.shift()););a.host||(a.host=""),a.hostname||(a.hostname=""),""!==e[0]&&e.unshift(""),e.length<2&&e.unshift(""),c.pathname=e.join("/")}if(c.search=a.search,c.query=a.query,c.host=a.host||"",c.auth=a.auth,c.hostname=a.hostname||a.host,c.port=a.port,c.pathname||c.search){var f=c.pathname||"",g=c.search||"";c.path=f+g}return c.slashes=c.slashes||a.slashes,c.href=c.format(),c}var h=c.pathname&&"/"===c.pathname.charAt(0),j=a.host||a.pathname&&"/"===a.pathname.charAt(0),m=j||h||c.host&&a.pathname,n=m,o=c.pathname&&c.pathname.split("/")||[],e=a.pathname&&a.pathname.split("/")||[],p=c.protocol&&!z[c.protocol];if(p&&(c.hostname="",c.port=null,c.host&&(""===o[0]?o[0]=c.host:o.unshift(c.host)),c.host="",a.protocol&&(a.hostname=null,a.port=null,a.host&&(""===e[0]?e[0]=a.host:e.unshift(a.host)),a.host=null),m=m&&(""===e[0]||""===o[0])),j)c.host=a.host||""===a.host?a.host:c.host,c.hostname=a.hostname||""===a.hostname?a.hostname:c.hostname,c.search=a.search,c.query=a.query,o=e;else if(e.length)o||(o=[]),o.pop(),o=o.concat(e),c.search=a.search,c.query=a.query;else if(!l(a.search)){if(p){c.hostname=c.host=o.shift();var q=c.host&&c.host.indexOf("@")>0?c.host.split("@"):!1;q&&(c.auth=q.shift(),c.host=c.hostname=q.shift())}return c.search=a.search,c.query=a.query,k(c.pathname)&&k(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:"")),c.href=c.format(),c}if(!o.length)return c.pathname=null,c.search?c.path="/"+c.search:c.path=null,c.href=c.format(),c;for(var r=o.slice(-1)[0],s=(c.host||a.host)&&("."===r||".."===r)||""===r,t=0,u=o.length;u>=0;u--)r=o[u],"."==r?o.splice(u,1):".."===r?(o.splice(u,1),t++):t&&(o.splice(u,1),t--);if(!m&&!n)for(;t--;t)o.unshift("..");!m||""===o[0]||o[0]&&"/"===o[0].charAt(0)||o.unshift(""),s&&"/"!==o.join("/").substr(-1)&&o.push("");var v=""===o[0]||o[0]&&"/"===o[0].charAt(0);if(p){c.hostname=c.host=v?"":o.length?o.shift():"";var q=c.host&&c.host.indexOf("@")>0?c.host.split("@"):!1;q&&(c.auth=q.shift(),c.host=c.hostname=q.shift())}return m=m||c.host&&o.length,m&&!v&&o.unshift(""),o.length?c.pathname=o.join("/"):(c.pathname=null,c.path=null),k(c.pathname)&&k(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:"")),c.auth=a.auth||c.auth,c.slashes=c.slashes||a.slashes,c.href=c.format(),c},d.prototype.parseHost=function(){var a=this.host,b=o.exec(a);b&&(b=b[0],":"!==b&&(this.port=b.substr(1)),a=a.substr(0,a.length-b.length)),a&&(this.hostname=a)},c.exports}),a.registerDynamic("220",["21f"],!0,function(a,b,c){return c.exports=a("21f"),c.exports}),a.registerDynamic("221",["220"],!0,function(b,c,d){return d.exports=a._nodeRequire?a._nodeRequire("url"):b("220"),d.exports}),a.registerDynamic("18f",["221"],!0,function(a,b,c){return c.exports=a("221"),c.exports}),a.register("86",["77","78","82","89","160","222","9c","1cc","8a","18f"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a.renderMd,k=a.safePush},function(a){l=a.parse}],execute:function(){"use strict";m=function(){function a(){return c(this,a),this._schema={},a.prototype._instance?a.prototype._instance:void(a.prototype._instance=this)}return b(a,[{key:"load",value:function(a){var b=this,c=new f(function(c,d){b._schema={},i.bundle(a,{http:{withCredentials:!1}}).then(function(d){b._url=a,b._schema=d,c(b._schema),b.init()},function(a){return d(a)})});return c}},{key:"init",value:function(){var a=void 0;this._schema.schemes&&this._schema.schemes.length?(a=this._schema.schemes[0],"http"===a&&this._schema.schemes.indexOf("https")>=0&&(a="https")):a=this._url?l(this._url).protocol:"http",this.apiUrl=a+"://"+this._schema.host+this._schema.basePath,this.apiUrl.endsWith("/")&&(this.apiUrl=this.apiUrl.substr(0,this.apiUrl.length-1)),this.preprocess()}},{key:"preprocess",value:function(){var a=this;this._schema.info["x-redoc-html-description"]=j(this._schema.info.description,{open:function(b,c){var d=b[c+1].content;return k(a._schema.info,"x-redoc-markdown-headers",d),d=g(d),"<h"+b[c].hLevel+' section="section/'+d+'">'+('<a class="share-link" href="#section/'+d+'"></a>')},close:function(a,b){return"</h"+a[b].hLevel+">"}})}},{key:"byPointer",value:function(a){var b=null;try{b=e.get(this._schema,decodeURIComponent(a))}catch(c){}return b}},{key:"resolveRefs",value:function(a){var b=this;return d(a).forEach(function(c){if(a[c].$ref){var d=b.byPointer(a[c].$ref);d._pointer=a[c].$ref,a[c]=d}}),a}},{key:"getMethodParams",value:function(a,b){function c(a,b){if(!Array.isArray(a))throw new Error("parameters must be an array. Got "+typeof a+" at "+b);return a.map(function(a,c){return a._pointer=e.join(b,c),a})}"parameters"===e.baseName(a)&&(a=e.dirName(a));var d=e.join(e.dirName(a),["parameters"]),f=this.byPointer(d)||[],g=e.join(a,["parameters"]),h=this.byPointer(g)||[];return f=c(f,d),h=c(h,g),b&&(h=this.resolveRefs(h),f=this.resolveRefs(f)),h.concat(f)}},{key:"getTagsMap",value:function(){var a=this._schema.tags||[],b={},c=!0,d=!1,e=void 0;try{for(var f,g=h(a);!(c=(f=g.next()).done);c=!0){var i=f.value;b[i.name]={description:i.description,"x-traitTag":i["x-traitTag"]||!1}}}catch(j){d=!0,e=j}finally{try{!c&&g["return"]&&g["return"]()}finally{if(d)throw e}}return b}},{key:"findDerivedDefinitions",value:function(a){var b=this.byPointer(a);if(!b)throw new Error("Can't load schema at "+a);if(!b.discriminator)return[];var c=this._schema.definitions||{},e=[],f=!0,g=!1,i=void 0;try{for(var j,k=h(d(c));!(f=(j=k.next()).done);f=!0){var l=j.value;if(c[l].allOf||c[l]["x-derived-from"]){var m=c[l]["x-derived-from"]||c[l].allOf.map(function(a){return a._pointer||a.$ref}),n=m.findIndex(function(b){return b===a});if(!(0>n)){var o=!1;1===m.length&&(o=!0),e.push({name:l,$ref:"#/definitions/"+l,empty:o})}}}}catch(p){g=!0,i=p}finally{try{!f&&k["return"]&&k["return"]()}finally{if(g)throw i}}return e}},{key:"schema",get:function(){return this._schema}}],[{key:"instance",value:function(){return new a}}]),a}(),a("SpecManager",m)}}}),a.registerDynamic("15f",[],!0,function(a,b,c){return c.exports}),a.registerDynamic("223",["224","1d6"],!0,function(a,b,c){var d=a("224"),e=a("1d6");return c.exports=function(a){return function(b,c){var f,g,h=String(e(b)),i=d(c),j=h.length;return 0>i||i>=j?a?"":void 0:(f=h.charCodeAt(i),55296>f||f>56319||i+1===j||(g=h.charCodeAt(i+1))<56320||g>57343?a?h.charAt(i):f:a?h.slice(i,i+2):(f-55296<<10)+(g-56320)+65536)}},c.exports}),a.registerDynamic("135",["223","225"],!0,function(a,b,c){"use strict";var d=a("223")(!0);return a("225")(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,b=this._t,c=this._i;return c>=b.length?{value:void 0,done:!0}:(a=d(b,c),this._i+=a.length,{value:a,done:!1})}),c.exports}),a.registerDynamic("226",[],!0,function(a,b,c){return c.exports=function(){},c.exports}),a.registerDynamic("227",["226","228","132","229","225"],!0,function(a,b,c){"use strict";var d=a("226"),e=a("228"),f=a("132"),g=a("229");return c.exports=a("225")(Array,"Array",function(a,b){this._t=g(a),this._i=0,this._k=b},function(){var a=this._t,b=this._k,c=this._i++;return!a||c>=a.length?(this._t=void 0,e(1)):"keys"==b?e(0,c):"values"==b?e(0,a[c]):e(0,[c,a[c]])},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries"),c.exports}),a.registerDynamic("134",["227","132"],!0,function(a,b,c){a("227");var d=a("132");return d.NodeList=d.HTMLCollection=d.Array,c.exports}),a.registerDynamic("157",[],!0,function(a,b,c){return c.exports=!0,c.exports}),a.registerDynamic("22a",["a9","22b","15c","22c","131"],!0,function(a,b,c){"use strict";var d=a("a9"),e=a("22b"),f=a("15c"),g={};return a("22c")(g,a("131")("iterator"),function(){return this}),c.exports=function(a,b,c){a.prototype=d.create(g,{next:e(1,c)}),f(a,b+" Iterator")},c.exports}),a.registerDynamic("225",["157","98","22d","22c","22e","132","22a","15c","a9","131"],!0,function(a,b,c){"use strict";var d=a("157"),e=a("98"),f=a("22d"),g=a("22c"),h=a("22e"),i=a("132"),j=a("22a"),k=a("15c"),l=a("a9").getProto,m=a("131")("iterator"),n=!([].keys&&"next"in[].keys()),o="@@iterator",p="keys",q="values",r=function(){return this};return c.exports=function(a,b,c,s,t,u,v){j(c,b,s);var w,x,y=function(a){if(!n&&a in C)return C[a];switch(a){case p:return function(){return new c(this,a)};case q:return function(){return new c(this,a)}}return function(){return new c(this,a)}},z=b+" Iterator",A=t==q,B=!1,C=a.prototype,D=C[m]||C[o]||t&&C[t],E=D||y(t);if(D){var F=l(E.call(new a));k(F,z,!0),!d&&h(C,o)&&g(F,m,r),A&&D.name!==q&&(B=!0,E=function(){return D.call(this)})}if(d&&!v||!n&&!B&&C[m]||g(C,m,E),i[b]=E,i[z]=r,t)if(w={values:A?E:y(q),keys:u?E:y(p),entries:A?y("entries"):E},v)for(x in w)x in C||f(C,x,w[x]);else e(e.P+e.F*(n||B),b,w);return w},c.exports}),a.registerDynamic("228",[],!0,function(a,b,c){return c.exports=function(a,b){return{value:b,done:!!a}},c.exports}),a.registerDynamic("15d",["9a","a9","15a","131"],!0,function(a,b,c){"use strict";var d=a("9a"),e=a("a9"),f=a("15a"),g=a("131")("species");return c.exports=function(a){var b=d[a];f&&b&&!b[g]&&e.setDesc(b,g,{configurable:!0,get:function(){return this}})},c.exports}),a.registerDynamic("22f",["a9","22c","15b","140","158","1d6","159","225","228","230","22e","14a","15d","15a"],!0,function(a,b,c){"use strict";var d=a("a9"),e=a("22c"),f=a("15b"),g=a("140"),h=a("158"),i=a("1d6"),j=a("159"),k=a("225"),l=a("228"),m=a("230")("id"),n=a("22e"),o=a("14a"),p=a("15d"),q=a("15a"),r=Object.isExtensible||o,s=q?"_s":"size",t=0,u=function(a,b){if(!o(a))return"symbol"==typeof a?a:("string"==typeof a?"S":"P")+a;if(!n(a,m)){if(!r(a))return"F";if(!b)return"E";e(a,m,++t)}return"O"+a[m]},v=function(a,b){var c,d=u(b);if("F"!==d)return a._i[d];for(c=a._f;c;c=c.n)if(c.k==b)return c};return c.exports={getConstructor:function(a,b,c,e){var k=a(function(a,f){h(a,k,b),a._i=d.create(null),a._f=void 0,a._l=void 0,a[s]=0,void 0!=f&&j(f,c,a[e],a)});return f(k.prototype,{clear:function(){for(var a=this,b=a._i,c=a._f;c;c=c.n)c.r=!0,c.p&&(c.p=c.p.n=void 0),delete b[c.i];a._f=a._l=void 0,a[s]=0},"delete":function(a){var b=this,c=v(b,a);if(c){var d=c.n,e=c.p;delete b._i[c.i],c.r=!0,e&&(e.n=d),d&&(d.p=e),b._f==c&&(b._f=d),b._l==c&&(b._l=e),b[s]--}return!!c},forEach:function(a){for(var b,c=g(a,arguments.length>1?arguments[1]:void 0,3);b=b?b.n:this._f;)for(c(b.v,b.k,this);b&&b.r;)b=b.p},has:function(a){return!!v(this,a)}}),q&&d.setDesc(k.prototype,"size",{get:function(){return i(this[s])}}),k},def:function(a,b,c){var d,e,f=v(a,b);return f?f.v=c:(a._l=f={i:e=u(b,!0),k:b,v:c,p:d=a._l,n:void 0,r:!1},a._f||(a._f=f),d&&(d.n=f),a[s]++,"F"!==e&&(a._i[e]=f)),a},getEntry:v,setStrong:function(a,b,c){k(a,b,function(a,b){this._t=a,this._k=b,this._l=void 0},function(){for(var a=this,b=a._k,c=a._l;c&&c.r;)c=c.p;return a._t&&(a._l=c=c?c.n:a._t._f)?"keys"==b?l(0,c.k):"values"==b?l(0,c.v):l(0,[c.k,c.v]):(a._t=void 0,l(1))},c?"entries":"values",!c,!0),p(b)}},c.exports}),a.registerDynamic("22b",[],!0,function(a,b,c){return c.exports=function(a,b){return{enumerable:!(1&a),configurable:!(2&a),writable:!(4&a),value:b}},c.exports}),a.registerDynamic("22c",["a9","22b","15a"],!0,function(a,b,c){var d=a("a9"),e=a("22b");return c.exports=a("15a")?function(a,b,c){return d.setDesc(a,b,e(1,c))}:function(a,b,c){return a[b]=c,a},c.exports}),a.registerDynamic("22d",["22c"],!0,function(a,b,c){return c.exports=a("22c"),c.exports}),a.registerDynamic("15b",["22d"],!0,function(a,b,c){var d=a("22d");return c.exports=function(a,b){for(var c in b)d(a,c,b[c]);return a},c.exports}),a.registerDynamic("158",[],!0,function(a,b,c){return c.exports=function(a,b,c){if(!(a instanceof b))throw TypeError(c+": use the 'new' operator!");return a},c.exports}),a.registerDynamic("22e",[],!0,function(a,b,c){var d={}.hasOwnProperty;return c.exports=function(a,b){return d.call(a,b)},c.exports}),a.registerDynamic("15c",["a9","22e","131"],!0,function(a,b,c){var d=a("a9").setDesc,e=a("22e"),f=a("131")("toStringTag");return c.exports=function(a,b,c){a&&!e(a=c?a:a.prototype,f)&&d(a,f,{configurable:!0,value:b})},c.exports}),a.registerDynamic("15a",["1cf"],!0,function(a,b,c){return c.exports=!a("1cf")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),c.exports}),a.registerDynamic("231",["a9","151","98","1cf","22c","15b","159","158","14a","15c","15a"],!0,function(a,b,c){"use strict";var d=this,e=a("a9"),d=a("151"),f=a("98"),g=a("1cf"),h=a("22c"),i=a("15b"),j=a("159"),k=a("158"),l=a("14a"),m=a("15c"),n=a("15a");return c.exports=function(a,b,c,o,p,q){var r=d[a],s=r,t=p?"set":"add",u=s&&s.prototype,v={};return n&&"function"==typeof s&&(q||u.forEach&&!g(function(){(new s).entries().next()}))?(s=b(function(b,c){k(b,s,a),b._c=new r,void 0!=c&&j(c,p,b[t],b)}),e.each.call("add,clear,delete,forEach,get,has,set,keys,values,entries".split(","),function(a){var b="add"==a||"set"==a;a in u&&(!q||"clear"!=a)&&h(s.prototype,a,function(c,d){if(!b&&q&&!l(c))return"get"==a?void 0:!1;var e=this._c[a](0===c?0:c,d);return b?this:e})}),"size"in u&&e.setDesc(s.prototype,"size",{get:function(){return this._c.size}})):(s=o.getConstructor(b,a,p,t),i(s.prototype,c)),m(s,a),v[a]=s,f(f.G+f.W+f.F,v),q||o.setStrong(s,a,p),s},c.exports}),a.registerDynamic("232",["22f","231"],!0,function(a,b,c){"use strict";var d=a("22f");return a("231")("Set",function(a){return function(){return a(this,arguments.length>0?arguments[0]:void 0)}},{add:function(a){return d.def(this,a=0===a?0:a,a)}},d),c.exports}),a.registerDynamic("142",["14b"],!0,function(a,b,c){var d=a("14b");return c.exports=function(a,b,c,e){try{return e?b(d(c)[0],c[1]):b(c)}catch(f){var g=a["return"];throw void 0!==g&&d(g.call(a)),
|
||
f}},c.exports}),a.registerDynamic("143",["132","131"],!0,function(a,b,c){var d=a("132"),e=a("131")("iterator"),f=Array.prototype;return c.exports=function(a){return void 0!==a&&(d.Array===a||f[e]===a)},c.exports}),a.registerDynamic("14a",[],!0,function(a,b,c){return c.exports=function(a){return"object"==typeof a?null!==a:"function"==typeof a},c.exports}),a.registerDynamic("14b",["14a"],!0,function(a,b,c){var d=a("14a");return c.exports=function(a){if(!d(a))throw TypeError(a+" is not an object!");return a},c.exports}),a.registerDynamic("224",[],!0,function(a,b,c){var d=Math.ceil,e=Math.floor;return c.exports=function(a){return isNaN(a=+a)?0:(a>0?e:d)(a)},c.exports}),a.registerDynamic("144",["224"],!0,function(a,b,c){var d=a("224"),e=Math.min;return c.exports=function(a){return a>0?e(d(a),9007199254740991):0},c.exports}),a.registerDynamic("132",[],!0,function(a,b,c){return c.exports={},c.exports}),a.registerDynamic("145",["130","131","132","9a"],!0,function(a,b,c){var d=a("130"),e=a("131")("iterator"),f=a("132");return c.exports=a("9a").getIteratorMethod=function(a){return void 0!=a?a[e]||a["@@iterator"]||f[d(a)]:void 0},c.exports}),a.registerDynamic("159",["140","142","143","14b","144","145"],!0,function(a,b,c){var d=a("140"),e=a("142"),f=a("143"),g=a("14b"),h=a("144"),i=a("145");return c.exports=function(a,b,c,j){var k,l,m,n=i(a),o=d(c,j,b?2:1),p=0;if("function"!=typeof n)throw TypeError(a+" is not iterable!");if(f(n))for(k=h(a.length);k>p;p++)b?o(g(l=a[p])[0],l[1]):o(a[p]);else for(m=n.call(a);!(l=m.next()).done;)e(m,o,l.value,b)},c.exports}),a.registerDynamic("233",["151"],!0,function(a,b,c){var d=this,d=a("151"),e="__core-js_shared__",f=d[e]||(d[e]={});return c.exports=function(a){return f[a]||(f[a]={})},c.exports}),a.registerDynamic("230",[],!0,function(a,b,c){var d=0,e=Math.random();return c.exports=function(a){return"Symbol(".concat(void 0===a?"":a,")_",(++d+e).toString(36))},c.exports}),a.registerDynamic("131",["233","230","151"],!0,function(a,b,c){var d=a("233")("wks"),e=a("230"),f=a("151").Symbol;return c.exports=function(a){return d[a]||(d[a]=f&&f[a]||(f||e)("Symbol."+a))},c.exports}),a.registerDynamic("130",["154","131"],!0,function(a,b,c){var d=a("154"),e=a("131")("toStringTag"),f="Arguments"==d(function(){return arguments}());return c.exports=function(a){var b,c,g;return void 0===a?"Undefined":null===a?"Null":"string"==typeof(c=(b=Object(a))[e])?c:f?d(b):"Object"==(g=d(b))&&"function"==typeof b.callee?"Arguments":g},c.exports}),a.registerDynamic("234",["159","130"],!0,function(a,b,c){var d=a("159"),e=a("130");return c.exports=function(a){return function(){if(e(this)!=a)throw TypeError(a+"#toJSON isn't generic");var b=[];return d(this,!1,b.push,b),b}},c.exports}),a.registerDynamic("235",["98","234"],!0,function(a,b,c){var d=a("98");return d(d.P,"Set",{toJSON:a("234")("Set")}),c.exports}),a.registerDynamic("236",["15f","135","134","232","235","9a"],!0,function(a,b,c){return a("15f"),a("135"),a("134"),a("232"),a("235"),c.exports=a("9a").Set,c.exports}),a.registerDynamic("13b",["236"],!0,function(a,b,c){return c.exports={"default":a("236"),__esModule:!0},c.exports}),a.register("237",["13b"],function(a){var b,c,d;return{setters:[function(a){b=a["default"]}],execute:function(){"use strict";c=new b(["get","put","post","delete","options","head","patch"]),a("methods",c),d={multipleOf:"number",maximum:"number",exclusiveMaximum:"number",minimum:"number",exclusiveMinimum:"number",maxLength:"string",minLength:"string",pattern:"string",items:"array",maxItems:"array",minItems:"array",uniqueItems:"array",maxProperties:"object",minProperties:"object",required:"object",additionalProperties:"object",properties:"object"},a("keywordTypes",d)}}}),a.registerDynamic("238",[],!0,function(a,b,c){var d={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ő":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ű":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ő":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ű":"u","ý":"y","þ":"th","ÿ":"y","ẞ":"SS","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ά":"a","έ":"e","ί":"i","ό":"o","ύ":"y","ή":"h","ώ":"w","ς":"s","ϊ":"i","ΰ":"y","ϋ":"y","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ά":"A","Έ":"E","Ί":"I","Ό":"O","Ύ":"Y","Ή":"H","Ώ":"W","Ϊ":"I","Ϋ":"Y","ş":"s","Ş":"S","ı":"i","İ":"I","ç":"c","Ç":"C","ü":"u","Ü":"U","ö":"o","Ö":"O","ğ":"g","Ğ":"G","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ё":"yo","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ё":"Yo","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","Є":"Ye","І":"I","Ї":"Yi","Ґ":"G","є":"ye","і":"i","ї":"yi","ґ":"g","č":"c","ď":"d","ě":"e","ň":"n","ř":"r","š":"s","ť":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Š":"S","Ť":"T","Ů":"U","Ž":"Z","ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ó":"o","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"e","Ł":"L","Ń":"N","Ś":"S","Ź":"Z","Ż":"Z","ā":"a","č":"c","ē":"e","ģ":"g","ī":"i","ķ":"k","ļ":"l","ņ":"n","š":"s","ū":"u","ž":"z","Ā":"A","Č":"C","Ē":"E","Ģ":"G","Ī":"i","Ķ":"k","Ļ":"L","Ņ":"N","Š":"S","Ū":"u","Ž":"Z","€":"euro","₢":"cruzeiro","₣":"french franc","£":"pound","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","¢":"cent","¥":"yen","元":"yuan","円":"yen","﷼":"rial","₠":"ecu","¤":"currency","฿":"baht",$:"dollar","©":"(c)","œ":"oe","Œ":"OE","∑":"sum","®":"(r)","†":"+","“":'"',"”":'"',"‘":"'","’":"'","∂":"d","ƒ":"f","™":"tm","℠":"sm","…":"...","˚":"o","º":"o","ª":"a","•":"*","∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less",">":"greater"};return b=c.exports=function(a,b){b=b||"-";for(var c="",e=0;e<a.length;e++){var f=a[e];d[f]&&(f=d[f]),f=f.replace(/[^\w\s$\*\_\+~\.\(\)\'\"\!\-:@]/g,""),c+=f}return c=c.replace(/^\s+|\s+$/g,""),c=c.replace(/[-\s]+/g,b),c.replace("#{replacement}$",""),c},c.exports}),a.registerDynamic("222",["238"],!0,function(a,b,c){return c.exports=a("238"),c.exports}),a.register("81",["77","78","82","86","87","89","149","222","237","9c"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a.SpecManager},function(a){f=a["default"]},function(a){g=a.JsonPointer},function(a){h=a.WarningsService},function(a){i=a["default"]},function(a){j=a.methods,k=a.keywordTypes},function(a){l=a["default"]}],execute:function(){"use strict";m={notype:{check:function(a){return!a.type},inject:function(a,b,c){if(a.type=n.detectType(b),b.type=a.type,a.type){var d='No "type" specified at "'+c+'". Automatically detected: "'+a.type+'"';h.warn(d)}}},general:{check:function(){return!0},inject:function(a,b,c){a._pointer=b._pointer||c,a._displayType=b.type,b.format&&(a._displayFormat="<"+b.format+">"),b["enum"]&&(a["enum"]=b["enum"].map(function(a){return{val:a,type:typeof a}}))}},discriminator:{check:function(a){return a.discriminator},inject:function(a,b,c){return void 0===b&&(b=a),function(){a._descendants=e.instance().findDerivedDefinitions(c),a.discriminator=b.discriminator}()}},array:{check:function(a){return"array"===a.type},inject:function(a,b,c){return void 0===b&&(b=a),function(){a._isArray=!0,a._pointer=b.items._pointer||g.join(b._pointer||c,["items"]),n.runInjectors(a,b.items,c)}()}},object:{check:function(a){return"object"===a.type&&a.properties},inject:function(a){var b=arguments.length<=1||void 0===arguments[1]?a:arguments[1];return function(){var c=b._pointer&&g.baseName(b._pointer);a._displayType=b.title||c||"object"}()}},noType:{check:function(a){return!a.type},inject:function(a){a._displayType="< * >",a._displayTypeHint="This field may contain data of any type",a.isTrivial=!0}},simpleType:{check:function(a){return"object"===a.type?!(a.properties&&d(a.properties).length||"object"==typeof a.additionalProperties):"array"!==a.type&&a.type},inject:function(a){var b=arguments.length<=1||void 0===arguments[1]?a:arguments[1];return function(){a.isTrivial=!0,a._pointer&&(a._pointer=void 0,a._displayType=b.title?b.title+" ("+b.type+")":b.type)}()}},integer:{check:function(a){return"integer"===a.type||"number"===a.type},inject:function(a){var b=arguments.length<=1||void 0===arguments[1]?a:arguments[1];return function(){var c="";b.minimum&&b.maximum?(c+=b.exclusiveMinimum?"( ":"[ ",c+=b.minimum,c+=" .. ",c+=b.maximum,c+=b.exclusiveMaximum?" )":" ]"):b.maximum?(c+=b.exclusiveMaximum?"< ":"<= ",c+=b.maximum):b.minimum&&(c+=b.exclusiveMinimum?"> ":">= ",c+=b.minimum),c&&(a._range=c)}()}},string:{check:function(a){return"string"===a.type},inject:function(a){var b=arguments.length<=1||void 0===arguments[1]?a:arguments[1];return function(){var c;b.minLength&&b.maxLength?c="[ "+b.minLength+" .. "+b.maxLength+" ]":b.maxLength?c="<= "+b.maxLength:b.minimum&&(c=">= "+b.minLength),c&&(a._range=c+" characters")}()}},file:{check:function(a){return"file"===a.type},inject:function(a,b,c,d){return void 0===b&&(b=a),function(){a.isFile=!0;var c=void 0;c="formData"===b["in"]?g.dirName(d,1):g.dirName(d,3);var f=e.instance().byPointer(c),h=e.instance().schema;a._produces=f&&f.produces||h.produces,a._consumes=f&&f.consumes||h.consumes}()}}},n=function(){function a(){c(this,a)}return b(a,null,[{key:"preprocess",value:function(b,c,d){return b["x-redoc-schema-precompiled"]?b:(a.runInjectors(b,b,c,d),b["x-redoc-schema-precompiled"]=!0,b)}},{key:"runInjectors",value:function(a,b,c,e){var f=!0,g=!1,h=void 0;try{for(var i,j=l(d(m));!(f=(i=j.next()).done);f=!0){var k=i.value,n=m[k];n.check(b)&&n.inject(a,b,c,e)}}catch(o){g=!0,h=o}finally{try{!f&&j["return"]&&j["return"]()}finally{if(g)throw h}}}},{key:"preprocessProperties",value:function(b,c,e){var h={};b.required&&b.required.forEach(function(a){return h[a]=!0});var i=-1,j=b.properties&&d(b.properties).map(function(d,j){var k=f({},b.properties[d]),l=k._pointer||g.join(c,["properties",d]);return k=a.preprocess(k,l),k._name=d,k._pointer===e.childFor&&(k._pointer=null),k._required=!!h[d],k.isDiscriminator=b.discriminator===d,k.isDiscriminator&&(i=j),k});if(j=j||[],b.additionalProperties&&"object"==typeof b.additionalProperties){var k=a.preprocessAdditionalProperties(b,c);k._additional=!0,j.push(k)}if(i>-1){var l=j.splice(i,1);j.push(l[0])}e.skipReadOnly&&(j=j.filter(function(a){return!a.readOnly})),b._properties=j}},{key:"preprocessAdditionalProperties",value:function(b,c){var d=b.additionalProperties,e=d._pointer||g.join(c,["additionalProperties"]),f=a.preprocess(d,e);return f._name="<Additional Properties> *",f}},{key:"unwrapArray",value:function(b,c){var d=b;if(b&&"array"===b.type){var e=b.items._pointer||g.join(c,["items"]);d=b.items,d._isArray=!0,d._pointer=e,d=a.unwrapArray(d,e)}return d}},{key:"methodSummary",value:function(a){return a.summary||a.operationId||a.description&&a.description.substring(0,50)||"<no description>"}},{key:"detectType",value:function(a){for(var b=d(k),c=0;c<b.length;c++){var e=b[c],f=k[e];if(a[e])return f}}},{key:"buildMenuTree",value:function(b){var c={},e=!0,f=!1,h=void 0;try{for(var k,m=l(b.info&&b.info["x-redoc-markdown-headers"]||[]);!(e=(k=m.next()).done);e=!0){var n=k.value,o="section/"+i(n);c[o]={name:n,id:o,virtual:!0,methods:[]}}}catch(p){f=!0,h=p}finally{try{!e&&m["return"]&&m["return"]()}finally{if(f)throw h}}var q=!0,r=!1,s=void 0;try{for(var t,u=l(b.tags||[]);!(q=(t=u.next()).done);q=!0){var v=t.value,o="tag/"+i(v.name);c[o]={name:v.name,id:o,description:v.description,headless:""===v.name,empty:!!v["x-traitTag"],methods:[]}}}catch(p){r=!0,s=p}finally{try{!q&&u["return"]&&u["return"]()}finally{if(r)throw s}}var w=b.paths,x=!0,y=!1,z=void 0;try{for(var A,B=l(d(w));!(x=(A=B.next()).done);x=!0){var C=A.value,D=d(w[C]).filter(function(a){return j.has(a)}),E=!0,F=!1,G=void 0;try{for(var H,I=l(D);!(E=(H=I.next()).done);E=!0){var J=H.value,K=w[C][J],L=K.tags;L&&L.length||(L=[""]);var M=g.compile(["paths",C,J]),N=a.methodSummary(K),O=!0,P=!1,Q=void 0;try{for(var R,S=l(L);!(O=(R=S.next()).done);O=!0){var v=R.value,o="tag/"+i(v),T=c[o];T||(T={name:v,id:o,headless:""===v},c[o]=T),T.empty||(T.methods||(T.methods=[]),T.methods.push({pointer:M,summary:N,operationId:K.operationId,tag:v}))}}catch(p){P=!0,Q=p}finally{try{!O&&S["return"]&&S["return"]()}finally{if(P)throw Q}}}}catch(p){F=!0,G=p}finally{try{!E&&I["return"]&&I["return"]()}finally{if(F)throw G}}}}catch(p){y=!0,z=p}finally{try{!x&&B["return"]&&B["return"]()}finally{if(y)throw z}}return d(c).map(function(a){return c[a]})}}]),a}(),a("SchemaHelper",n)}}}),a.registerDynamic("77",["7a"],!0,function(a,b,c){"use strict";var d=a("7a")["default"];return b["default"]=function(){function a(a,b){for(var c=0;c<b.length;c++){var e=b[c];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),d(a,e.key,e)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),b.__esModule=!0,c.exports}),a.registerDynamic("78",[],!0,function(a,b,c){"use strict";return b["default"]=function(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")},b.__esModule=!0,c.exports}),a.registerDynamic("154",[],!0,function(a,b,c){var d={}.toString;return c.exports=function(a){return d.call(a).slice(8,-1)},c.exports}),a.registerDynamic("1ce",["154"],!0,function(a,b,c){var d=a("154");return c.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return"String"==d(a)?a.split(""):Object(a)},c.exports}),a.registerDynamic("1d6",[],!0,function(a,b,c){return c.exports=function(a){if(void 0==a)throw TypeError("Can't call method on "+a);return a},c.exports}),a.registerDynamic("229",["1ce","1d6"],!0,function(a,b,c){var d=a("1ce"),e=a("1d6");return c.exports=function(a){return d(e(a))},c.exports}),a.registerDynamic("151",[],!0,function(a,b,c){var d=this,d=c.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();return"number"==typeof __g&&(__g=d),c.exports}),a.registerDynamic("14e",[],!0,function(a,b,c){return c.exports=function(a){if("function"!=typeof a)throw TypeError(a+" is not a function!");return a},c.exports}),a.registerDynamic("140",["14e"],!0,function(a,b,c){var d=a("14e");return c.exports=function(a,b,c){if(d(a),void 0===b)return a;switch(c){case 1:return function(c){return a.call(b,c)};case 2:return function(c,d){return a.call(b,c,d)};case 3:return function(c,d,e){return a.call(b,c,d,e)}}return function(){return a.apply(b,arguments)}},c.exports}),a.registerDynamic("98",["151","9a","140"],!0,function(a,b,c){var d=this,d=a("151"),e=a("9a"),f=a("140"),g="prototype",h=function(a,b,c){var i,j,k,l=a&h.F,m=a&h.G,n=a&h.S,o=a&h.P,p=a&h.B,q=a&h.W,r=m?e:e[b]||(e[b]={}),s=m?d:n?d[b]:(d[b]||{})[g];m&&(c=b);for(i in c)j=!l&&s&&i in s,j&&i in r||(k=j?s[i]:c[i],r[i]=m&&"function"!=typeof s[i]?c[i]:p&&j?f(k,d):q&&s[i]==k?function(a){var b=function(b){return this instanceof a?new a(b):a(b)};return b[g]=a[g],b}(k):o&&"function"==typeof k?f(Function.call,k):k,o&&((r[g]||(r[g]={}))[i]=k))};return h.F=1,h.G=2,h.S=4,h.P=8,h.B=16,h.W=32,c.exports=h,c.exports}),a.registerDynamic("9a",[],!0,function(a,b,c){var d=c.exports={version:"1.2.6"};return"number"==typeof __e&&(__e=d),c.exports}),a.registerDynamic("1cf",[],!0,function(a,b,c){return c.exports=function(a){try{return!!a()}catch(b){return!0}},c.exports}),a.registerDynamic("1d8",["98","9a","1cf"],!0,function(a,b,c){var d=a("98"),e=a("9a"),f=a("1cf");return c.exports=function(a,b){var c=(e.Object||{})[a]||Object[a],g={};g[a]=b(c),d(d.S+d.F*f(function(){c(1)}),"Object",g)},c.exports}),a.registerDynamic("239",["229","1d8"],!0,function(a,b,c){var d=a("229");return a("1d8")("getOwnPropertyDescriptor",function(a){return function(b,c){return a(d(b),c)}}),c.exports}),a.registerDynamic("23a",["a9","239"],!0,function(a,b,c){var d=a("a9");return a("239"),c.exports=function(a,b){return d.getDesc(a,b)},c.exports}),a.registerDynamic("79",["23a"],!0,function(a,b,c){return c.exports={"default":a("23a"),__esModule:!0},c.exports}),a.registerDynamic("a9",[],!0,function(a,b,c){var d=Object;return c.exports={create:d.create,getProto:d.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:d.getOwnPropertyDescriptor,setDesc:d.defineProperty,setDescs:d.defineProperties,getKeys:d.keys,getNames:d.getOwnPropertyNames,getSymbols:d.getOwnPropertySymbols,each:[].forEach},c.exports}),a.registerDynamic("23b",["a9"],!0,function(a,b,c){var d=a("a9");return c.exports=function(a,b,c){return d.setDesc(a,b,c)},c.exports}),a.registerDynamic("7a",["23b"],!0,function(a,b,c){return c.exports={"default":a("23b"),__esModule:!0},c.exports}),a.registerDynamic("23c",["23d","23e","9f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("23d"),f=a("23e"),g=a("9f"),h=function(a){function b(b){a.call(this),this.attributeName=b}return d(b,a),Object.defineProperty(b.prototype,"token",{get:function(){return this},enumerable:!0,configurable:!0}),b.prototype.toString=function(){return"@Attribute("+g.stringify(this.attributeName)+")"},b}(f.DependencyMetadata);b.AttributeMetadata=h;var i=function(a){function b(b,c){var d=void 0===c?{}:c,e=d.descendants,f=void 0===e?!1:e,g=d.first,h=void 0===g?!1:g,i=d.read,j=void 0===i?null:i;a.call(this),this._selector=b,this.descendants=f,this.first=h,this.read=j}return d(b,a),Object.defineProperty(b.prototype,"isViewQuery",{get:function(){return!1},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"selector",{get:function(){return e.resolveForwardRef(this._selector)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"isVarBindingQuery",{get:function(){return g.isString(this.selector)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"varBindings",{get:function(){return g.StringWrapper.split(this.selector,/\s*,\s*/g)},enumerable:!0,configurable:!0}),b.prototype.toString=function(){return"@Query("+g.stringify(this.selector)+")"},b}(f.DependencyMetadata);b.QueryMetadata=i;var j=function(a){function b(b,c){var d=void 0===c?{}:c,e=d.descendants,f=void 0===e?!1:e,g=d.read,h=void 0===g?null:g;a.call(this,b,{descendants:f,read:h})}return d(b,a),b}(i);b.ContentChildrenMetadata=j;var k=function(a){function b(b,c){var d=(void 0===c?{}:c).read,e=void 0===d?null:d;a.call(this,b,{descendants:!0,first:!0,read:e})}return d(b,a),b}(i);b.ContentChildMetadata=k;var l=function(a){function b(b,c){var d=void 0===c?{}:c,e=d.descendants,f=void 0===e?!1:e,g=d.first,h=void 0===g?!1:g,i=d.read,j=void 0===i?null:i;a.call(this,b,{descendants:f,first:h,read:j})}return d(b,a),Object.defineProperty(b.prototype,"isViewQuery",{get:function(){return!0},enumerable:!0,configurable:!0}),b.prototype.toString=function(){return"@ViewQuery("+g.stringify(this.selector)+")"},b}(i);b.ViewQueryMetadata=l;var m=function(a){function b(b,c){var d=(void 0===c?{}:c).read,e=void 0===d?null:d;a.call(this,b,{descendants:!0,read:e})}return d(b,a),b}(l);b.ViewChildrenMetadata=m;var n=function(a){function b(b,c){var d=(void 0===c?{}:c).read,e=void 0===d?null:d;a.call(this,b,{descendants:!0,first:!0,read:e})}return d(b,a),b}(l);return b.ViewChildMetadata=n,c.exports}),a.registerDynamic("23f",["240","23e","9f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("240"),f=a("23e"),g=a("9f"),h=function(a){function b(b){var c=void 0===b?{}:b,d=c.selector,e=c.inputs,f=c.outputs,g=c.properties,h=c.events,i=c.host,j=c.providers,k=c.exportAs,l=c.queries;a.call(this),this.selector=d,this._inputs=e,this._properties=g,this._outputs=f,this._events=h,this.host=i,this.exportAs=k,this.queries=l,this._providers=j}return d(b,a),Object.defineProperty(b.prototype,"inputs",{get:function(){return g.isPresent(this._properties)&&this._properties.length>0?this._properties:this._inputs},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"properties",{get:function(){return this.inputs},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"outputs",{get:function(){return g.isPresent(this._events)&&this._events.length>0?this._events:this._outputs},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"events",{get:function(){return this.outputs},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"providers",{get:function(){return this._providers},enumerable:!0,configurable:!0}),b}(f.InjectableMetadata);b.DirectiveMetadata=h;var i=function(a){function b(b){var c=void 0===b?{}:b,d=c.selector,f=c.inputs,g=c.outputs,h=c.properties,i=c.events,j=c.host,k=c.exportAs,l=c.moduleId,m=c.providers,n=c.viewProviders,o=c.changeDetection,p=void 0===o?e.ChangeDetectionStrategy.Default:o,q=c.queries,r=c.templateUrl,s=c.template,t=c.styleUrls,u=c.styles,v=c.animations,w=c.directives,x=c.pipes,y=c.encapsulation,z=c.interpolation,A=c.precompile;a.call(this,{selector:d,inputs:f,outputs:g,properties:h,events:i,host:j,exportAs:k,providers:m,queries:q}),this.changeDetection=p,this._viewProviders=n,this.templateUrl=r,this.template=s,this.styleUrls=t,this.styles=u,this.directives=w,this.pipes=x,this.encapsulation=y,this.moduleId=l,this.animations=v,this.interpolation=z,this.precompile=A}return d(b,a),Object.defineProperty(b.prototype,"viewProviders",{get:function(){return this._viewProviders},enumerable:!0,configurable:!0}),b}(h);b.ComponentMetadata=i;var j=function(a){function b(b){var c=b.name,d=b.pure;a.call(this),this.name=c,this._pure=d}return d(b,a),Object.defineProperty(b.prototype,"pure",{get:function(){return g.isPresent(this._pure)?this._pure:!0},enumerable:!0,configurable:!0}),b}(f.InjectableMetadata);b.PipeMetadata=j;var k=function(){function a(a){this.bindingPropertyName=a}return a}();b.InputMetadata=k;var l=function(){function a(a){this.bindingPropertyName=a}return a}();b.OutputMetadata=l;var m=function(){function a(a){this.hostPropertyName=a}return a}();b.HostBindingMetadata=m;var n=function(){function a(a,b){this.eventName=a,this.args=b}return a}();return b.HostListenerMetadata=n,c.exports}),a.registerDynamic("241",["23c","23f","242","243","244"],!0,function(a,b,c){"use strict";var d=a("23c"),e=a("23f"),f=a("242"),g=a("23c");b.AttributeMetadata=g.AttributeMetadata,b.ContentChildMetadata=g.ContentChildMetadata,b.ContentChildrenMetadata=g.ContentChildrenMetadata,b.QueryMetadata=g.QueryMetadata,b.ViewChildMetadata=g.ViewChildMetadata,b.ViewChildrenMetadata=g.ViewChildrenMetadata,b.ViewQueryMetadata=g.ViewQueryMetadata;var h=a("23f");b.ComponentMetadata=h.ComponentMetadata,b.DirectiveMetadata=h.DirectiveMetadata,b.HostBindingMetadata=h.HostBindingMetadata,b.HostListenerMetadata=h.HostListenerMetadata,b.InputMetadata=h.InputMetadata,b.OutputMetadata=h.OutputMetadata,b.PipeMetadata=h.PipeMetadata;var i=a("243");b.AfterContentChecked=i.AfterContentChecked,b.AfterContentInit=i.AfterContentInit,b.AfterViewChecked=i.AfterViewChecked,b.AfterViewInit=i.AfterViewInit,b.DoCheck=i.DoCheck,b.OnChanges=i.OnChanges,b.OnDestroy=i.OnDestroy,b.OnInit=i.OnInit;var j=a("242");b.ViewEncapsulation=j.ViewEncapsulation,b.ViewMetadata=j.ViewMetadata;var k=a("244");b.Component=k.makeDecorator(e.ComponentMetadata,function(a){return a.View=l}),b.Directive=k.makeDecorator(e.DirectiveMetadata);var l=k.makeDecorator(f.ViewMetadata,function(a){return a.View=l});return b.Attribute=k.makeParamDecorator(d.AttributeMetadata),b.Query=k.makeParamDecorator(d.QueryMetadata),b.ContentChildren=k.makePropDecorator(d.ContentChildrenMetadata),b.ContentChild=k.makePropDecorator(d.ContentChildMetadata),b.ViewChildren=k.makePropDecorator(d.ViewChildrenMetadata),b.ViewChild=k.makePropDecorator(d.ViewChildMetadata),b.ViewQuery=k.makeParamDecorator(d.ViewQueryMetadata),b.Pipe=k.makeDecorator(e.PipeMetadata),b.Input=k.makePropDecorator(e.InputMetadata),b.Output=k.makePropDecorator(e.OutputMetadata),b.HostBinding=k.makePropDecorator(e.HostBindingMetadata),b.HostListener=k.makePropDecorator(e.HostListenerMetadata),c.exports}),a.registerDynamic("245",["244"],!0,function(a,b,c){"use strict";var d=a("244");return b.Class=d.Class,c.exports}),a.registerDynamic("246",["247"],!0,function(a,b,c){"use strict";var d=a("247");return b.NgZone=d.NgZone,b.NgZoneError=d.NgZoneError,c.exports}),a.registerDynamic("248",["249"],!0,function(a,b,c){"use strict";var d=a("249");return b.RenderComponentType=d.RenderComponentType,b.Renderer=d.Renderer,b.RootRenderer=d.RootRenderer,c.exports}),a.registerDynamic("24a",["e8","9f"],!0,function(a,b,c){"use strict";var d=a("e8"),e=a("9f"),f=function(){function a(){}return a.prototype.compileComponentAsync=function(a){throw new d.BaseException("Runtime compiler is not loaded. Tried to compile "+e.stringify(a))},a.prototype.compileComponentSync=function(a){throw new d.BaseException("Runtime compiler is not loaded. Tried to compile "+e.stringify(a))},a.prototype.clearCache=function(){},a.prototype.clearCacheFor=function(a){},a}();return b.Compiler=f,c.exports}),a.registerDynamic("24b",["24c","24d","9f"],!0,function(a,b,c){"use strict";var d=a("24c"),e=a("24d"),f=a("9f"),g=function(){function a(){this._dirty=!0,this._results=[],this._emitter=new d.EventEmitter}return Object.defineProperty(a.prototype,"changes",{get:function(){return this._emitter},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),a.prototype.map=function(a){return this._results.map(a)},a.prototype.filter=function(a){return this._results.filter(a)},a.prototype.reduce=function(a,b){return this._results.reduce(a,b)},a.prototype.forEach=function(a){this._results.forEach(a)},a.prototype.some=function(a){return this._results.some(a)},a.prototype.toArray=function(){return this._results.slice()},a.prototype[f.getSymbolIterator()]=function(){return this._results[f.getSymbolIterator()]()},a.prototype.toString=function(){return this._results.toString()},a.prototype.reset=function(a){this._results=e.ListWrapper.flatten(a),this._dirty=!1},a.prototype.notifyOnChanges=function(){this._emitter.emit(this)},a.prototype.setDirty=function(){this._dirty=!0},Object.defineProperty(a.prototype,"dirty",{get:function(){return this._dirty},enumerable:!0,configurable:!0}),a}();return b.QueryList=g,c.exports}),a.registerDynamic("24e",["9f"],!0,function(a,b,c){"use strict";var d=a("9f"),e="#",f=function(){function a(a){this._resolver=a}return a.prototype.resolveComponent=function(a){var b=this;if(d.isString(a)){var c=a.split(e),f=c[0],g=c[1];return void 0===g&&(g="default"),d.global.System["import"](f).then(function(a){return b._resolver.resolveComponent(a[g])})}return this._resolver.resolveComponent(a)},a.prototype.clearCache=function(){},a}();b.SystemJsComponentResolver=f;var g=".ngfactory",h="NgFactory",i=function(){function a(){}return a.prototype.resolveComponent=function(a){if(d.isString(a)){var b=a.split(e),c=b[0],f=b[1];return d.global.System["import"](c+g).then(function(a){return a[f+h]})}return Promise.resolve(null)},a.prototype.clearCache=function(){},a}();return b.SystemJsCmpFactoryResolver=i,c.exports}),a.registerDynamic("24f",["24a","250","251","252","253","254","255","24b","24e","256","257","258"],!0,function(a,b,c){"use strict";var d=a("24a");b.Compiler=d.Compiler;var e=a("250");b.ComponentFactory=e.ComponentFactory,b.ComponentRef=e.ComponentRef;var f=a("251");b.ComponentFactoryResolver=f.ComponentFactoryResolver,b.NoComponentFactoryError=f.NoComponentFactoryError;var g=a("252");b.ComponentResolver=g.ComponentResolver;var h=a("253");b.DynamicComponentLoader=h.DynamicComponentLoader;var i=a("254");b.ElementRef=i.ElementRef;var j=a("255");b.ExpressionChangedAfterItHasBeenCheckedException=j.ExpressionChangedAfterItHasBeenCheckedException;var k=a("24b");b.QueryList=k.QueryList;var l=a("24e");b.SystemJsCmpFactoryResolver=l.SystemJsCmpFactoryResolver,b.SystemJsComponentResolver=l.SystemJsComponentResolver;var m=a("256");b.TemplateRef=m.TemplateRef;var n=a("257");b.ViewContainerRef=n.ViewContainerRef;var o=a("258");return b.EmbeddedViewRef=o.EmbeddedViewRef,b.ViewRef=o.ViewRef,c.exports}),a.registerDynamic("259",["25a"],!0,function(a,b,c){"use strict";var d=a("25a");return b.ChangeDetectionStrategy=d.ChangeDetectionStrategy,b.ChangeDetectorRef=d.ChangeDetectorRef,b.CollectionChangeRecord=d.CollectionChangeRecord,b.DefaultIterableDiffer=d.DefaultIterableDiffer,b.IterableDiffers=d.IterableDiffers,b.KeyValueChangeRecord=d.KeyValueChangeRecord,b.KeyValueDiffers=d.KeyValueDiffers,b.SimpleChange=d.SimpleChange,b.WrappedValue=d.WrappedValue,c.exports}),a.registerDynamic("25b",["25c"],!0,function(a,b,c){"use strict";var d=a("25c");return b.PLATFORM_DIRECTIVES=new d.OpaqueToken("Platform Directives"),b.PLATFORM_PIPES=new d.OpaqueToken("Platform Pipes"),c.exports}),a.registerDynamic("25d",["25e","25f","260","261","262"],!0,function(a,b,c){"use strict";function d(){return g.reflector}var e=a("25e"),f=a("25f"),g=a("260"),h=a("261"),i=a("262");return b.PLATFORM_COMMON_PROVIDERS=[e.PLATFORM_CORE_PROVIDERS,{provide:g.Reflector,useFactory:d,deps:[]},{provide:h.ReflectorReader,useExisting:g.Reflector},i.TestabilityRegistry,f.Console],c.exports}),a.registerDynamic("262",["263","24c","24d","e8","9f","247"],!0,function(a,b,c){"use strict";function d(a){n=a}var e=a("263"),f=a("24c"),g=a("24d"),h=a("e8"),i=a("9f"),j=a("247"),k=function(){function a(a){this._ngZone=a,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return a.prototype._watchAngularEvents=function(){var a=this;f.ObservableWrapper.subscribe(this._ngZone.onUnstable,function(b){a._didWork=!0,a._isZoneStable=!1}),this._ngZone.runOutsideAngular(function(){f.ObservableWrapper.subscribe(a._ngZone.onStable,function(b){j.NgZone.assertNotInAngularZone(),i.scheduleMicroTask(function(){a._isZoneStable=!0,a._runCallbacksIfReady()})})})},a.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},a.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new h.BaseException("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},a.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},a.prototype._runCallbacksIfReady=function(){var a=this;this.isStable()?i.scheduleMicroTask(function(){for(;0!==a._callbacks.length;)a._callbacks.pop()(a._didWork);a._didWork=!1}):this._didWork=!0},a.prototype.whenStable=function(a){this._callbacks.push(a),this._runCallbacksIfReady()},a.prototype.getPendingRequestCount=function(){return this._pendingCount;
|
||
},a.prototype.findBindings=function(a,b,c){return[]},a.prototype.findProviders=function(a,b,c){return[]},a.decorators=[{type:e.Injectable}],a.ctorParameters=[{type:j.NgZone}],a}();b.Testability=k;var l=function(){function a(){this._applications=new g.Map,n.addToWindow(this)}return a.prototype.registerApplication=function(a,b){this._applications.set(a,b)},a.prototype.getTestability=function(a){return this._applications.get(a)},a.prototype.getAllTestabilities=function(){return g.MapWrapper.values(this._applications)},a.prototype.getAllRootElements=function(){return g.MapWrapper.keys(this._applications)},a.prototype.findTestabilityInTree=function(a,b){return void 0===b&&(b=!0),n.findTestabilityInTree(this,a,b)},a.decorators=[{type:e.Injectable}],a.ctorParameters=[],a}();b.TestabilityRegistry=l;var m=function(){function a(){}return a.prototype.addToWindow=function(a){},a.prototype.findTestabilityInTree=function(a,b,c){return null},a}();b.setTestabilityGetter=d;var n=new m;return c.exports}),a.registerDynamic("264",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b){this.error=a,this.stackTrace=b}return a}();b.NgZoneError=d;var e=function(){function a(a){var b=this,c=a.trace,e=a.onEnter,f=a.onLeave,g=a.setMicrotask,h=a.setMacrotask,i=a.onError;if(this.onEnter=e,this.onLeave=f,this.setMicrotask=g,this.setMacrotask=h,this.onError=i,!Zone)throw new Error("Angular requires Zone.js polyfill.");this.outer=this.inner=Zone.current,Zone.wtfZoneSpec&&(this.inner=this.inner.fork(Zone.wtfZoneSpec)),c&&Zone.longStackTraceZoneSpec&&(this.inner=this.inner.fork(Zone.longStackTraceZoneSpec)),this.inner=this.inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(a,c,d,e,f,g){try{return b.onEnter(),a.invokeTask(d,e,f,g)}finally{b.onLeave()}},onInvoke:function(a,c,d,e,f,g,h){try{return b.onEnter(),a.invoke(d,e,f,g,h)}finally{b.onLeave()}},onHasTask:function(a,c,d,e){a.hasTask(d,e),c==d&&("microTask"==e.change?b.setMicrotask(e.microTask):"macroTask"==e.change&&b.setMacrotask(e.macroTask))},onHandleError:function(a,c,e,f){return a.handleError(e,f),b.onError(new d(f,f.stack)),!1}})}return a.isInAngularZone=function(){return Zone.current.get("isAngularZone")===!0},a.prototype.runInner=function(a){return this.inner.run(a)},a.prototype.runInnerGuarded=function(a){return this.inner.runGuarded(a)},a.prototype.runOuter=function(a){return this.outer.run(a)},a}();return b.NgZoneImpl=e,c.exports}),a.registerDynamic("247",["24c","e8","264","45"],!0,function(a,b,c){return function(c){"use strict";var d=a("24c"),e=a("e8"),f=a("264"),g=a("264");b.NgZoneError=g.NgZoneError;var h=function(){function a(a){var b=this,c=a.enableLongStackTrace,e=void 0===c?!1:c;this._hasPendingMicrotasks=!1,this._hasPendingMacrotasks=!1,this._isStable=!0,this._nesting=0,this._onUnstable=new d.EventEmitter(!1),this._onMicrotaskEmpty=new d.EventEmitter(!1),this._onStable=new d.EventEmitter(!1),this._onErrorEvents=new d.EventEmitter(!1),this._zoneImpl=new f.NgZoneImpl({trace:e,onEnter:function(){b._nesting++,b._isStable&&(b._isStable=!1,b._onUnstable.emit(null))},onLeave:function(){b._nesting--,b._checkStable()},setMicrotask:function(a){b._hasPendingMicrotasks=a,b._checkStable()},setMacrotask:function(a){b._hasPendingMacrotasks=a},onError:function(a){return b._onErrorEvents.emit(a)}})}return a.isInAngularZone=function(){return f.NgZoneImpl.isInAngularZone()},a.assertInAngularZone=function(){if(!f.NgZoneImpl.isInAngularZone())throw new e.BaseException("Expected to be in Angular Zone, but it is not!")},a.assertNotInAngularZone=function(){if(f.NgZoneImpl.isInAngularZone())throw new e.BaseException("Expected to not be in Angular Zone, but it is!")},a.prototype._checkStable=function(){var a=this;if(0==this._nesting&&!this._hasPendingMicrotasks&&!this._isStable)try{this._nesting++,this._onMicrotaskEmpty.emit(null)}finally{if(this._nesting--,!this._hasPendingMicrotasks)try{this.runOutsideAngular(function(){return a._onStable.emit(null)})}finally{this._isStable=!0}}},Object.defineProperty(a.prototype,"onUnstable",{get:function(){return this._onUnstable},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"onMicrotaskEmpty",{get:function(){return this._onMicrotaskEmpty},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"onStable",{get:function(){return this._onStable},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"onError",{get:function(){return this._onErrorEvents},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"isStable",{get:function(){return this._isStable},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hasPendingMicrotasks",{get:function(){return this._hasPendingMicrotasks},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hasPendingMacrotasks",{get:function(){return this._hasPendingMacrotasks},enumerable:!0,configurable:!0}),a.prototype.run=function(a){return this._zoneImpl.runInner(a)},a.prototype.runGuarded=function(a){return this._zoneImpl.runInnerGuarded(a)},a.prototype.runOutsideAngular=function(a){return this._zoneImpl.runOuter(a)},a}();b.NgZone=h}(a("45")),c.exports}),a.registerDynamic("25e",["24c","24d","e8","9f","265","25f","25c","252","266","262","247"],!0,function(a,b,c){"use strict";function d(){return new y.NgZone({enableLongStackTrace:f()})}function e(){if(B)throw new q.BaseException("Cannot enable prod mode after platform setup.");A=!1}function f(){if(!B)throw new q.BaseException("Dev mode can't be read before bootstrap!");return A}function g(){B=!0}function h(a){if(C)throw new q.BaseException("Already creating a platform...");if(r.isPresent(z)&&!z.disposed)throw new q.BaseException("There can be only one platform. Destroy the previous one to create a new one.");g(),C=!0;try{z=a.get(D)}finally{C=!1}return z}function i(a){var b=k();if(r.isBlank(b))throw new q.BaseException("No platform exists!");if(r.isPresent(b)&&r.isBlank(b.injector.get(a,null)))throw new q.BaseException("A platform with a different configuration has been created. Please destroy it first.");return b}function j(){r.isPresent(z)&&!z.disposed&&z.dispose()}function k(){return r.isPresent(z)&&!z.disposed?z:null}function l(a,b){var c=b.get(F);return c.bootstrap(a)}function m(a,b){var c=b.get(F);return c.run(function(){var d=b.get(v.ComponentResolver);return o.PromiseWrapper.all([d.resolveComponent(a),c.waitForAsyncInitializers()]).then(function(a){return c.bootstrap(a[0])})})}var n=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},o=a("24c"),p=a("24d"),q=a("e8"),r=a("9f"),s=a("265"),t=a("25f"),u=a("25c"),v=a("252"),w=a("266"),x=a("262"),y=a("247");b.createNgZone=d;var z,A=!0,B=!1,C=!1;b.enableProdMode=e,b.isDevMode=f,b.lockRunMode=g,b.createPlatform=h,b.assertPlatform=i,b.disposePlatform=j,b.getPlatform=k,b.coreBootstrap=l,b.coreLoadAndBootstrap=m;var D=function(){function a(){}return Object.defineProperty(a.prototype,"injector",{get:function(){throw q.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"disposed",{get:function(){throw q.unimplemented()},enumerable:!0,configurable:!0}),a}();b.PlatformRef=D;var E=function(a){function b(b){if(a.call(this),this._injector=b,this._applications=[],this._disposeListeners=[],this._disposed=!1,!C)throw new q.BaseException("Platforms have to be created via `createPlatform`!");var c=b.get(s.PLATFORM_INITIALIZER,null);r.isPresent(c)&&c.forEach(function(a){return a()})}return n(b,a),b.prototype.registerDisposeListener=function(a){this._disposeListeners.push(a)},Object.defineProperty(b.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"disposed",{get:function(){return this._disposed},enumerable:!0,configurable:!0}),b.prototype.addApplication=function(a){this._applications.push(a)},b.prototype.dispose=function(){p.ListWrapper.clone(this._applications).forEach(function(a){return a.dispose()}),this._disposeListeners.forEach(function(a){return a()}),this._disposed=!0},b.prototype._applicationDisposed=function(a){p.ListWrapper.remove(this._applications,a)},b.decorators=[{type:u.Injectable}],b.ctorParameters=[{type:u.Injector}],b}(D);b.PlatformRef_=E;var F=function(){function a(){}return Object.defineProperty(a.prototype,"injector",{get:function(){return q.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"zone",{get:function(){return q.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"componentTypes",{get:function(){return q.unimplemented()},enumerable:!0,configurable:!0}),a}();b.ApplicationRef=F;var G=function(a){function b(b,c,d){var e=this;a.call(this),this._platform=b,this._zone=c,this._injector=d,this._bootstrapListeners=[],this._disposeListeners=[],this._rootComponents=[],this._rootComponentTypes=[],this._changeDetectorRefs=[],this._runningTick=!1,this._enforceNoNewChanges=!1;var g=d.get(y.NgZone);this._enforceNoNewChanges=f(),g.run(function(){e._exceptionHandler=d.get(q.ExceptionHandler)}),this._asyncInitDonePromise=this.run(function(){var a,b=d.get(s.APP_INITIALIZER,null),c=[];if(r.isPresent(b))for(var f=0;f<b.length;f++){var g=b[f]();r.isPromise(g)&&c.push(g)}return c.length>0?(a=o.PromiseWrapper.all(c).then(function(a){return e._asyncInitDone=!0}),e._asyncInitDone=!1):(e._asyncInitDone=!0,a=o.PromiseWrapper.resolve(!0)),a}),o.ObservableWrapper.subscribe(g.onError,function(a){e._exceptionHandler.call(a.error,a.stackTrace)}),o.ObservableWrapper.subscribe(this._zone.onMicrotaskEmpty,function(a){e._zone.run(function(){e.tick()})})}return n(b,a),b.prototype.registerBootstrapListener=function(a){this._bootstrapListeners.push(a)},b.prototype.registerDisposeListener=function(a){this._disposeListeners.push(a)},b.prototype.registerChangeDetector=function(a){this._changeDetectorRefs.push(a)},b.prototype.unregisterChangeDetector=function(a){p.ListWrapper.remove(this._changeDetectorRefs,a)},b.prototype.waitForAsyncInitializers=function(){return this._asyncInitDonePromise},b.prototype.run=function(a){var b,c=this,d=this.injector.get(y.NgZone),e=o.PromiseWrapper.completer();return d.run(function(){try{b=a(),r.isPromise(b)&&o.PromiseWrapper.then(b,function(a){e.resolve(a)},function(a,b){e.reject(a,b),c._exceptionHandler.call(a,b)})}catch(d){throw c._exceptionHandler.call(d,d.stack),d}}),r.isPromise(b)?e.promise:b},b.prototype.bootstrap=function(a){var b=this;if(!this._asyncInitDone)throw new q.BaseException("Cannot bootstrap as there are still asynchronous initializers running. Wait for them using waitForAsyncInitializers().");return this.run(function(){b._rootComponentTypes.push(a.componentType);var c=a.create(b._injector,[],a.selector);c.onDestroy(function(){b._unloadComponent(c)});var d=c.injector.get(x.Testability,null);r.isPresent(d)&&c.injector.get(x.TestabilityRegistry).registerApplication(c.location.nativeElement,d),b._loadComponent(c);var e=b._injector.get(t.Console);if(f()){var g=r.IS_DART?"Production mode is disabled in Dart.":"Call enableProdMode() to enable the production mode.";e.log("Angular 2 is running in the development mode. "+g)}return c})},b.prototype._loadComponent=function(a){this._changeDetectorRefs.push(a.changeDetectorRef),this.tick(),this._rootComponents.push(a),this._bootstrapListeners.forEach(function(b){return b(a)})},b.prototype._unloadComponent=function(a){p.ListWrapper.contains(this._rootComponents,a)&&(this.unregisterChangeDetector(a.changeDetectorRef),p.ListWrapper.remove(this._rootComponents,a))},Object.defineProperty(b.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),b.prototype.tick=function(){if(this._runningTick)throw new q.BaseException("ApplicationRef.tick is called recursively");var a=b._tickScope();try{this._runningTick=!0,this._changeDetectorRefs.forEach(function(a){return a.detectChanges()}),this._enforceNoNewChanges&&this._changeDetectorRefs.forEach(function(a){return a.checkNoChanges()})}finally{this._runningTick=!1,w.wtfLeave(a)}},b.prototype.dispose=function(){p.ListWrapper.clone(this._rootComponents).forEach(function(a){return a.destroy()}),this._disposeListeners.forEach(function(a){return a()}),this._platform._applicationDisposed(this)},Object.defineProperty(b.prototype,"componentTypes",{get:function(){return this._rootComponentTypes},enumerable:!0,configurable:!0}),b._tickScope=w.wtfCreateScope("ApplicationRef#tick()"),b.decorators=[{type:u.Injectable}],b.ctorParameters=[{type:E},{type:y.NgZone},{type:u.Injector}],b}(F);return b.ApplicationRef_=G,b.PLATFORM_CORE_PROVIDERS=[E,{provide:D,useExisting:E}],b.APPLICATION_CORE_PROVIDERS=[{provide:y.NgZone,useFactory:d,deps:[]},G,{provide:F,useExisting:G}],c.exports}),a.registerDynamic("253",["263","267","9f","252"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("263"),f=a("267"),g=a("9f"),h=a("252"),i=function(){function a(){}return a}();b.DynamicComponentLoader=i;var j=function(a){function b(b){a.call(this),this._compiler=b}return d(b,a),b.prototype.loadAsRoot=function(a,b,c,d,e){return this._compiler.resolveComponent(a).then(function(a){var f=a.create(c,e,g.isPresent(b)?b:a.selector);return g.isPresent(d)&&f.onDestroy(d),f})},b.prototype.loadNextToLocation=function(a,b,c,d){return void 0===c&&(c=null),void 0===d&&(d=null),this._compiler.resolveComponent(a).then(function(a){var e=b.parentInjector,h=g.isPresent(c)&&c.length>0?f.ReflectiveInjector.fromResolvedProviders(c,e):e;return b.createComponent(a,b.length,h,d)})},b.decorators=[{type:e.Injectable}],b.ctorParameters=[{type:h.ComponentResolver}],b}(i);return b.DynamicComponentLoader_=j,c.exports}),a.registerDynamic("268",["25e","265","25a","251","252","253","269"],!0,function(a,b,c){"use strict";var d=a("25e"),e=a("265"),f=a("25a"),g=a("251"),h=a("252"),i=a("253"),j=a("269");return b.APPLICATION_COMMON_PROVIDERS=[d.APPLICATION_CORE_PROVIDERS,{provide:h.ComponentResolver,useClass:h.ReflectorComponentResolver},{provide:g.ComponentFactoryResolver,useValue:g.ComponentFactoryResolver.NULL},e.APP_ID_RANDOM_PROVIDER,j.ViewUtils,{provide:f.IterableDiffers,useValue:f.defaultIterableDiffers},{provide:f.KeyValueDiffers,useValue:f.defaultKeyValueDiffers},{provide:i.DynamicComponentLoader,useClass:i.DynamicComponentLoader_}],c.exports}),a.registerDynamic("26a",["26b"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("26b"),f=function(){function a(){}return a}();b.AnimationDriver=f;var g=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.animate=function(a,b,c,d,f,g){return new e.NoOpAnimationPlayer},b}(f);return b.NoOpAnimationDriver=g,c.exports}),a.registerDynamic("26c",[],!0,function(a,b,c){"use strict";var d=function(){function a(a,b){this.offset=a,this.styles=b}return a}();return b.AnimationKeyframe=d,c.exports}),a.registerDynamic("26d",["9f","26b"],!0,function(a,b,c){"use strict";var d=a("9f"),e=a("26b"),f=function(){function a(a){var b=this;this._players=a,this._currentIndex=0,this._subscriptions=[],this._finished=!1,this.parentPlayer=null,this._players.forEach(function(a){a.parentPlayer=b}),this._onNext(!1)}return a.prototype._onNext=function(a){var b=this;if(!this._finished)if(0==this._players.length)this._activePlayer=new e.NoOpAnimationPlayer,d.scheduleMicroTask(function(){return b._onFinish()});else if(this._currentIndex>=this._players.length)this._activePlayer=new e.NoOpAnimationPlayer,this._onFinish();else{var c=this._players[this._currentIndex++];c.onDone(function(){return b._onNext(!0)}),this._activePlayer=c,a&&c.play()}},a.prototype._onFinish=function(){this._finished||(this._finished=!0,d.isPresent(this.parentPlayer)||this.destroy(),this._subscriptions.forEach(function(a){return a()}),this._subscriptions=[])},a.prototype.onDone=function(a){this._subscriptions.push(a)},a.prototype.play=function(){this._activePlayer.play()},a.prototype.pause=function(){this._activePlayer.pause()},a.prototype.restart=function(){this._players.length>0&&(this.reset(),this._players[0].restart())},a.prototype.reset=function(){this._players.forEach(function(a){return a.reset()})},a.prototype.finish=function(){this._onFinish(),this._players.forEach(function(a){return a.finish()})},a.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(a){return a.destroy()})},a.prototype.setPosition=function(a){this._players[0].setPosition(a)},a.prototype.getPosition=function(){return this._players[0].getPosition()},a}();return b.AnimationSequencePlayer=f,c.exports}),a.registerDynamic("26e",[],!0,function(a,b,c){"use strict";return b.FILL_STYLE_FLAG="true",b.ANY_STATE="*",b.DEFAULT_STATE="*",b.EMPTY_STATE="void",c.exports}),a.registerDynamic("26f",["24d","9f","26e","270"],!0,function(a,b,c){"use strict";function d(a,b,c){void 0===c&&(c=null);var d={};return j.StringMapWrapper.forEach(b,function(a,b){d[b]=a==m.AUTO_STYLE?c:a.toString()}),j.StringMapWrapper.forEach(a,function(a,b){k.isPresent(d[b])||(d[b]=c)}),d}function e(a,b,c){var d=c.length-1,e=c[0],f=i(e.styles.styles),g={},h=!1;j.StringMapWrapper.forEach(a,function(a,b){f[b]||(f[b]=a,g[b]=a,h=!0)});var l=j.StringMapWrapper.merge({},f),n=c[d];j.ListWrapper.insert(n.styles.styles,0,b);var o=i(n.styles.styles),p={},q=!1;return j.StringMapWrapper.forEach(l,function(a,b){k.isPresent(o[b])||(p[b]=m.AUTO_STYLE,q=!0)}),q&&n.styles.styles.push(p),j.StringMapWrapper.forEach(o,function(a,b){k.isPresent(f[b])||(g[b]=m.AUTO_STYLE,h=!0)}),h&&e.styles.styles.push(g),c}function f(a){var b={};return j.StringMapWrapper.keys(a).forEach(function(a){b[a]=null}),b}function g(a,b){return b.map(function(b){var c={};return j.StringMapWrapper.forEach(b,function(b,d){b==l.FILL_STYLE_FLAG&&(b=a[d],k.isPresent(b)||(b=m.AUTO_STYLE)),a[d]=b,c[d]=b}),c})}function h(a,b,c){j.StringMapWrapper.forEach(c,function(c,d){b.setElementStyle(a,d,c)})}function i(a){var b={};return a.forEach(function(a){j.StringMapWrapper.forEach(a,function(a,c){b[c]=a})}),b}var j=a("24d"),k=a("9f"),l=a("26e"),m=a("270");return b.prepareFinalAnimationStyles=d,b.balanceAnimationKeyframes=e,b.clearStyles=f,b.collectAndResolveStyles=g,b.renderStyles=h,b.flattenStyles=i,c.exports}),a.registerDynamic("271",[],!0,function(a,b,c){"use strict";var d=function(){function a(a){this.styles=a}return a}();return b.AnimationStyles=d,c.exports}),a.registerDynamic("25f",["263","9f"],!0,function(a,b,c){"use strict";var d=a("263"),e=a("9f"),f=e.warn,g=function(){function a(){}return a.prototype.log=function(a){e.print(a)},a.prototype.warn=function(a){f(a)},a.decorators=[{type:d.Injectable}],a}();return b.Console=g,c.exports}),a.registerDynamic("272",["24d","9f"],!0,function(a,b,c){"use strict";function d(a){return a.map(function(a){return a.nativeElement})}function e(a,b,c){a.childNodes.forEach(function(a){a instanceof p&&(b(a)&&c.push(a),e(a,b,c))})}function f(a,b,c){a instanceof p&&a.childNodes.forEach(function(a){b(a)&&c.push(a),a instanceof p&&f(a,b,c)})}function g(a){return q.get(a)}function h(){return l.MapWrapper.values(q)}function i(a){q.set(a.nativeNode,a)}function j(a){q["delete"](a.nativeNode)}var k=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},l=a("24d"),m=a("9f"),n=function(){function a(a,b){this.name=a,this.callback=b}return a}();b.EventListener=n;var o=function(){function a(a,b,c){this._debugInfo=c,this.nativeNode=a,m.isPresent(b)&&b instanceof p?b.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(a.prototype,"injector",{get:function(){return m.isPresent(this._debugInfo)?this._debugInfo.injector:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"componentInstance",{get:function(){return m.isPresent(this._debugInfo)?this._debugInfo.component:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"context",{get:function(){return m.isPresent(this._debugInfo)?this._debugInfo.context:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"references",{get:function(){return m.isPresent(this._debugInfo)?this._debugInfo.references:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"providerTokens",{get:function(){return m.isPresent(this._debugInfo)?this._debugInfo.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"source",{get:function(){return m.isPresent(this._debugInfo)?this._debugInfo.source:null},enumerable:!0,configurable:!0}),a.prototype.inject=function(a){return this.injector.get(a)},a}();b.DebugNode=o;var p=function(a){function b(b,c,d){a.call(this,b,c,d),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=b}return k(b,a),b.prototype.addChild=function(a){m.isPresent(a)&&(this.childNodes.push(a),a.parent=this)},b.prototype.removeChild=function(a){var b=this.childNodes.indexOf(a);-1!==b&&(a.parent=null,this.childNodes.splice(b,1))},b.prototype.insertChildrenAfter=function(a,b){var c=this.childNodes.indexOf(a);if(-1!==c){var d=this.childNodes.slice(0,c+1),e=this.childNodes.slice(c+1);this.childNodes=l.ListWrapper.concat(l.ListWrapper.concat(d,b),e);for(var f=0;f<b.length;++f){var g=b[f];m.isPresent(g.parent)&&g.parent.removeChild(g),g.parent=this}}},b.prototype.query=function(a){var b=this.queryAll(a);return b.length>0?b[0]:null},b.prototype.queryAll=function(a){var b=[];return e(this,a,b),b},b.prototype.queryAllNodes=function(a){var b=[];return f(this,a,b),b},Object.defineProperty(b.prototype,"children",{get:function(){var a=[];return this.childNodes.forEach(function(c){c instanceof b&&a.push(c)}),a},enumerable:!0,configurable:!0}),b.prototype.triggerEventHandler=function(a,b){this.listeners.forEach(function(c){c.name==a&&c.callback(b)})},b}(o);b.DebugElement=p,b.asNativeElements=d;var q=new Map;return b.getDebugNode=g,b.getAllDebugNodes=h,b.indexDebugNode=i,b.removeDebugNodeFromIndex=j,c.exports}),a.registerDynamic("273",["9f","272"],!0,function(a,b,c){"use strict";var d=a("9f"),e=a("272"),f=function(){function a(a){this._delegate=a}return a.prototype.renderComponent=function(a){return new g(this._delegate.renderComponent(a))},a}();b.DebugDomRootRenderer=f;var g=function(){function a(a){this._delegate=a}return a.prototype.selectRootElement=function(a,b){var c=this._delegate.selectRootElement(a,b),d=new e.DebugElement(c,null,b);return e.indexDebugNode(d),c},a.prototype.createElement=function(a,b,c){var d=this._delegate.createElement(a,b,c),f=new e.DebugElement(d,e.getDebugNode(a),c);return f.name=b,e.indexDebugNode(f),d},a.prototype.createViewRoot=function(a){return this._delegate.createViewRoot(a)},a.prototype.createTemplateAnchor=function(a,b){var c=this._delegate.createTemplateAnchor(a,b),d=new e.DebugNode(c,e.getDebugNode(a),b);return e.indexDebugNode(d),c},a.prototype.createText=function(a,b,c){var d=this._delegate.createText(a,b,c),f=new e.DebugNode(d,e.getDebugNode(a),c);return e.indexDebugNode(f),d},a.prototype.projectNodes=function(a,b){var c=e.getDebugNode(a);if(d.isPresent(c)&&c instanceof e.DebugElement){var f=c;b.forEach(function(a){f.addChild(e.getDebugNode(a))})}this._delegate.projectNodes(a,b)},a.prototype.attachViewAfter=function(a,b){var c=e.getDebugNode(a);if(d.isPresent(c)){var f=c.parent;if(b.length>0&&d.isPresent(f)){var g=[];b.forEach(function(a){return g.push(e.getDebugNode(a))}),f.insertChildrenAfter(c,g)}}this._delegate.attachViewAfter(a,b)},a.prototype.detachView=function(a){a.forEach(function(a){var b=e.getDebugNode(a);d.isPresent(b)&&d.isPresent(b.parent)&&b.parent.removeChild(b)}),this._delegate.detachView(a)},a.prototype.destroyView=function(a,b){b.forEach(function(a){e.removeDebugNodeFromIndex(e.getDebugNode(a))}),this._delegate.destroyView(a,b)},a.prototype.listen=function(a,b,c){var f=e.getDebugNode(a);return d.isPresent(f)&&f.listeners.push(new e.EventListener(b,c)),this._delegate.listen(a,b,c)},a.prototype.listenGlobal=function(a,b,c){return this._delegate.listenGlobal(a,b,c)},a.prototype.setElementProperty=function(a,b,c){var f=e.getDebugNode(a);d.isPresent(f)&&f instanceof e.DebugElement&&(f.properties[b]=c),this._delegate.setElementProperty(a,b,c)},a.prototype.setElementAttribute=function(a,b,c){var f=e.getDebugNode(a);d.isPresent(f)&&f instanceof e.DebugElement&&(f.attributes[b]=c),this._delegate.setElementAttribute(a,b,c)},a.prototype.setBindingDebugInfo=function(a,b,c){this._delegate.setBindingDebugInfo(a,b,c)},a.prototype.setElementClass=function(a,b,c){var f=e.getDebugNode(a);d.isPresent(f)&&f instanceof e.DebugElement&&(f.classes[b]=c),this._delegate.setElementClass(a,b,c)},a.prototype.setElementStyle=function(a,b,c){var f=e.getDebugNode(a);d.isPresent(f)&&f instanceof e.DebugElement&&(f.styles[b]=c),this._delegate.setElementStyle(a,b,c)},a.prototype.invokeElementMethod=function(a,b,c){this._delegate.invokeElementMethod(a,b,c)},a.prototype.setText=function(a,b){this._delegate.setText(a,b)},a.prototype.animate=function(a,b,c,d,e,f){return this._delegate.animate(a,b,c,d,e,f)},a}();return b.DebugDomRenderer=g,c.exports}),a.registerDynamic("251",["e8","9f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("e8"),f=a("9f"),g=function(a){function b(b){a.call(this,"No component factory found for "+f.stringify(b)),this.component=b}return d(b,a),b}(e.BaseException);b.NoComponentFactoryError=g;var h=function(){function a(){}return a.prototype.resolveComponentFactory=function(a){throw new g(a)},a}(),i=function(){function a(){}return a.NULL=new h,a}();b.ComponentFactoryResolver=i;var j=function(){function a(a,b){this._parent=b,this._factories=new Map;for(var c=0;c<a.length;c++){var d=a[c];this._factories.set(d.componentType,d)}}return a.prototype.resolveComponentFactory=function(a){var b=this._factories.get(a);return b||(b=this._parent.resolveComponentFactory(a)),b},a}();return b.CodegenComponentFactoryResolver=j,c.exports}),a.registerDynamic("250",["e8","9f","269"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("e8"),f=a("9f"),g=a("269"),h=function(){function a(){}return Object.defineProperty(a.prototype,"location",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"injector",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"instance",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"hostView",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"changeDetectorRef",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"componentType",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),a}();b.ComponentRef=h;var i=function(a){function b(b,c){a.call(this),this._hostElement=b,this._componentType=c}return d(b,a),Object.defineProperty(b.prototype,"location",{get:function(){return this._hostElement.elementRef},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"injector",{get:function(){return this._hostElement.injector},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"instance",{get:function(){return this._hostElement.component},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hostView",{get:function(){return this._hostElement.parentView.ref},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"changeDetectorRef",{get:function(){return this._hostElement.parentView.ref},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"componentType",{get:function(){return this._componentType},enumerable:!0,configurable:!0}),b.prototype.destroy=function(){this._hostElement.parentView.destroy()},b.prototype.onDestroy=function(a){this.hostView.onDestroy(a)},b}(h);b.ComponentRef_=i;var j=new Object,k=function(){function a(a,b,c){this.selector=a,this._viewFactory=b,this._componentType=c}return Object.defineProperty(a.prototype,"componentType",{get:function(){return this._componentType},enumerable:!0,configurable:!0}),a.prototype.create=function(a,b,c){void 0===b&&(b=null),void 0===c&&(c=null);var d=a.get(g.ViewUtils);f.isBlank(b)&&(b=[]);var e=this._viewFactory(d,a,null),h=e.create(j,b,c);return new i(h,this._componentType)},a}();return b.ComponentFactory=k,c.exports}),a.registerDynamic("252",["263","24c","e8","9f","260","250"],!0,function(a,b,c){"use strict";function d(a){return a instanceof k.ComponentFactory}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("263"),g=a("24c"),h=a("e8"),i=a("9f"),j=a("260"),k=a("250"),l=function(){function a(){}return a}();b.ComponentResolver=l;var m=function(a){function b(){a.apply(this,arguments)}return e(b,a),b.prototype.resolveComponent=function(a){if(i.isString(a))return g.PromiseWrapper.reject(new h.BaseException("Cannot resolve component using '"+a+"'."),null);var b=j.reflector.annotations(a),c=b.find(d);if(i.isBlank(c))throw new h.BaseException("No precompiled component "+i.stringify(a)+" found");return g.PromiseWrapper.resolve(c)},b.prototype.clearCache=function(){},b.decorators=[{type:f.Injectable}],b}(l);return b.ReflectorComponentResolver=m,c.exports}),a.registerDynamic("256",["9f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("9f"),f=new Object,g=function(){function a(){}return Object.defineProperty(a.prototype,"elementRef",{get:function(){return null},enumerable:!0,configurable:!0}),a}();b.TemplateRef=g;var h=function(a){function b(b,c){a.call(this),this._appElement=b,this._viewFactory=c}return d(b,a),b.prototype.createEmbeddedView=function(a){var b=this._viewFactory(this._appElement.parentView.viewUtils,this._appElement.parentInjector,this._appElement);return e.isBlank(a)&&(a=f),b.create(a,null,null),b.ref},Object.defineProperty(b.prototype,"elementRef",{get:function(){return this._appElement.elementRef},enumerable:!0,configurable:!0}),b}(g);return b.TemplateRef_=h,c.exports}),a.registerDynamic("274",[],!0,function(a,b,c){"use strict";var d=function(){function a(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b,a.reject=c})}return a}();b.PromiseCompleter=d;var e=function(){function a(){}return a.resolve=function(a){return Promise.resolve(a)},a.reject=function(a,b){return Promise.reject(a)},a.catchError=function(a,b){return a["catch"](b)},a.all=function(a){return 0==a.length?Promise.resolve([]):Promise.all(a)},a.then=function(a,b,c){return a.then(b,c)},a.wrap=function(a){return new Promise(function(b,c){try{b(a())}catch(d){c(d)}})},a.scheduleMicrotask=function(b){a.then(a.resolve(null),b,function(a){})},a.completer=function(){return new d},a}();return b.PromiseWrapper=e,c.exports}),a.registerDynamic("24c",["b","c","d","9f","f","274"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){
|
||
function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("c"),g=a("d"),h=a("9f"),i=a("f");b.Observable=i.Observable;var j=a("b");b.Subject=j.Subject;var k=a("274");b.PromiseCompleter=k.PromiseCompleter,b.PromiseWrapper=k.PromiseWrapper;var l=function(){function a(){}return a.setTimeout=function(a,b){return h.global.setTimeout(a,b)},a.clearTimeout=function(a){h.global.clearTimeout(a)},a.setInterval=function(a,b){return h.global.setInterval(a,b)},a.clearInterval=function(a){h.global.clearInterval(a)},a}();b.TimerWrapper=l;var m=function(){function a(){}return a.subscribe=function(a,b,c,d){return void 0===d&&(d=function(){}),c="function"==typeof c&&c||h.noop,d="function"==typeof d&&d||h.noop,a.subscribe({next:b,error:c,complete:d})},a.isObservable=function(a){return!!a.subscribe},a.hasSubscribers=function(a){return a.observers.length>0},a.dispose=function(a){a.unsubscribe()},a.callNext=function(a,b){a.emit(b)},a.callEmit=function(a,b){a.emit(b)},a.callError=function(a,b){a.error(b)},a.callComplete=function(a){a.complete()},a.fromPromise=function(a){return f.PromiseObservable.create(a)},a.toPromise=function(a){return g.toPromise.call(a)},a}();b.ObservableWrapper=m;var n=function(a){function b(b){void 0===b&&(b=!1),a.call(this),this.__isAsync=b}return d(b,a),b.prototype.emit=function(b){a.prototype.next.call(this,b)},b.prototype.next=function(b){a.prototype.next.call(this,b)},b.prototype.subscribe=function(b,c,d){var e,f=function(a){return null},g=function(){return null};return b&&"object"==typeof b?(e=this.__isAsync?function(a){setTimeout(function(){return b.next(a)})}:function(a){b.next(a)},b.error&&(f=this.__isAsync?function(a){setTimeout(function(){return b.error(a)})}:function(a){b.error(a)}),b.complete&&(g=this.__isAsync?function(){setTimeout(function(){return b.complete()})}:function(){b.complete()})):(e=this.__isAsync?function(a){setTimeout(function(){return b(a)})}:function(a){b(a)},c&&(f=this.__isAsync?function(a){setTimeout(function(){return c(a)})}:function(a){c(a)}),d&&(g=this.__isAsync?function(){setTimeout(function(){return d()})}:function(){d()})),a.prototype.subscribe.call(this,e,f,g)},b}(e.Subject);return b.EventEmitter=n,c.exports}),a.registerDynamic("258",["240","e8"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("240"),f=a("e8"),g=function(){function a(){}return Object.defineProperty(a.prototype,"destroyed",{get:function(){return f.unimplemented()},enumerable:!0,configurable:!0}),a}();b.ViewRef=g;var h=function(a){function b(){a.apply(this,arguments)}return d(b,a),Object.defineProperty(b.prototype,"context",{get:function(){return f.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"rootNodes",{get:function(){return f.unimplemented()},enumerable:!0,configurable:!0}),b}(g);b.EmbeddedViewRef=h;var i=function(){function a(a){this._view=a,this._view=a,this._originalMode=this._view.cdMode}return Object.defineProperty(a.prototype,"internalView",{get:function(){return this._view},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"rootNodes",{get:function(){return this._view.flatRootNodes},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"destroyed",{get:function(){return this._view.destroyed},enumerable:!0,configurable:!0}),a.prototype.markForCheck=function(){this._view.markPathToRootAsCheckOnce()},a.prototype.detach=function(){this._view.cdMode=e.ChangeDetectorStatus.Detached},a.prototype.detectChanges=function(){this._view.detectChanges(!1)},a.prototype.checkNoChanges=function(){this._view.detectChanges(!0)},a.prototype.reattach=function(){this._view.cdMode=this._originalMode,this.markForCheck()},a.prototype.onDestroy=function(a){this._view.disposables.push(a)},a.prototype.destroy=function(){this._view.destroy()},a}();return b.ViewRef_=i,c.exports}),a.registerDynamic("275",["24d","9f","276"],!0,function(a,b,c){"use strict";var d=a("24d"),e=a("9f"),f=a("276"),g=function(){function a(a,b,c){this.providerTokens=a,this.componentToken=b,this.refTokens=c}return a}();b.StaticNodeDebugInfo=g;var h=function(){function a(a,b,c,d){this._view=a,this._nodeIndex=b,this._tplRow=c,this._tplCol=d}return Object.defineProperty(a.prototype,"_staticNodeInfo",{get:function(){return e.isPresent(this._nodeIndex)?this._view.staticNodeDebugInfos[this._nodeIndex]:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"component",{get:function(){var a=this._staticNodeInfo;return e.isPresent(a)&&e.isPresent(a.componentToken)?this.injector.get(a.componentToken):null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"componentRenderElement",{get:function(){for(var a=this._view;e.isPresent(a.declarationAppElement)&&a.type!==f.ViewType.COMPONENT;)a=a.declarationAppElement.parentView;return e.isPresent(a.declarationAppElement)?a.declarationAppElement.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"injector",{get:function(){return this._view.injector(this._nodeIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"renderNode",{get:function(){return e.isPresent(this._nodeIndex)&&e.isPresent(this._view.allNodes)?this._view.allNodes[this._nodeIndex]:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"providerTokens",{get:function(){var a=this._staticNodeInfo;return e.isPresent(a)?a.providerTokens:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"source",{get:function(){return this._view.componentType.templateUrl+":"+this._tplRow+":"+this._tplCol},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"references",{get:function(){var a=this,b={},c=this._staticNodeInfo;if(e.isPresent(c)){var f=c.refTokens;d.StringMapWrapper.forEach(f,function(c,d){var f;f=e.isBlank(c)?e.isPresent(a._view.allNodes)?a._view.allNodes[a._nodeIndex]:null:a._view.injectorGet(c,a._nodeIndex,null),b[d]=f})}return b},enumerable:!0,configurable:!0}),a}();return b.DebugContext=h,c.exports}),a.registerDynamic("277",["278"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("278"),f=new Object,g=function(a){function b(b,c){a.call(this),this._view=b,this._nodeIndex=c}return d(b,a),b.prototype.get=function(a,b){void 0===b&&(b=e.THROW_IF_NOT_FOUND);var c=f;return c===f&&(c=this._view.injectorGet(a,this._nodeIndex,f)),c===f&&(c=this._view.parentInjector.get(a,b)),c},b}(e.Injector);return b.ElementInjector=g,c.exports}),a.registerDynamic("279",["9f"],!0,function(a,b,c){"use strict";var d=a("9f");return b.Math=d.global.Math,b.NaN=typeof b.NaN,c.exports}),a.registerDynamic("27a",["9f","279"],!0,function(a,b,c){"use strict";var d=a("9f"),e=a("279"),f=function(){function a(a){var b=this;this._players=a,this._subscriptions=[],this._finished=!1,this.parentPlayer=null;var c=0,e=this._players.length;0==e?d.scheduleMicroTask(function(){return b._onFinish()}):this._players.forEach(function(a){a.parentPlayer=b,a.onDone(function(){++c>=e&&b._onFinish()})})}return a.prototype._onFinish=function(){this._finished||(this._finished=!0,d.isPresent(this.parentPlayer)||this.destroy(),this._subscriptions.forEach(function(a){return a()}),this._subscriptions=[])},a.prototype.onDone=function(a){this._subscriptions.push(a)},a.prototype.play=function(){this._players.forEach(function(a){return a.play()})},a.prototype.pause=function(){this._players.forEach(function(a){return a.pause()})},a.prototype.restart=function(){this._players.forEach(function(a){return a.restart()})},a.prototype.finish=function(){this._onFinish(),this._players.forEach(function(a){return a.finish()})},a.prototype.destroy=function(){this._onFinish(),this._players.forEach(function(a){return a.destroy()})},a.prototype.reset=function(){this._players.forEach(function(a){return a.reset()})},a.prototype.setPosition=function(a){this._players.forEach(function(b){b.setPosition(a)})},a.prototype.getPosition=function(){var a=0;return this._players.forEach(function(b){var c=b.getPosition();a=e.Math.min(c,a)}),a},a}();return b.AnimationGroupPlayer=f,c.exports}),a.registerDynamic("27b",["24d","9f"],!0,function(a,b,c){"use strict";var d=a("24d"),e=a("9f"),f=function(){function a(){this._map=new d.Map,this._allPlayers=[]}return Object.defineProperty(a.prototype,"length",{get:function(){return this.getAllPlayers().length},enumerable:!0,configurable:!0}),a.prototype.find=function(a,b){var c=this._map.get(a);return e.isPresent(c)?c[b]:void 0},a.prototype.findAllPlayersByElement=function(a){var b=[];return d.StringMapWrapper.forEach(this._map.get(a),function(a){return b.push(a)}),b},a.prototype.set=function(a,b,c){var d=this._map.get(a);e.isPresent(d)||(d={});var f=d[b];e.isPresent(f)&&this.remove(a,b),d[b]=c,this._allPlayers.push(c),this._map.set(a,d)},a.prototype.getAllPlayers=function(){return this._allPlayers},a.prototype.remove=function(a,b){var c=this._map.get(a);if(e.isPresent(c)){var f=c[b];delete c[b];var g=this._allPlayers.indexOf(f);d.ListWrapper.removeAt(this._allPlayers,g),d.StringMapWrapper.isEmpty(c)&&this._map["delete"](a)}},a}();return b.ActiveAnimationPlayersMap=f,c.exports}),a.registerDynamic("27c",["24c","24d","9f","27d","258","276","269","25a","266","255","275","277","27a","27b"],!0,function(a,b,c){"use strict";function d(a){var b;if(a instanceof i.AppElement){var c=a;if(b=c.nativeElement,h.isPresent(c.nestedViews))for(var e=c.nestedViews.length-1;e>=0;e--){var f=c.nestedViews[e];f.rootNodesOrAppElements.length>0&&(b=d(f.rootNodesOrAppElements[f.rootNodesOrAppElements.length-1]))}}else b=a;return b}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("24c"),g=a("24d"),h=a("9f"),i=a("27d"),j=a("258"),k=a("276"),l=a("269"),m=a("25a"),n=a("266"),o=a("255"),p=a("275"),q=a("277"),r=a("27a"),s=a("27b"),t=n.wtfCreateScope("AppView#check(ascii id)"),u=function(){function a(a,b,c,d,e,f,g){this.clazz=a,this.componentType=b,this.type=c,this.viewUtils=d,this.parentInjector=e,this.declarationAppElement=f,this.cdMode=g,this.contentChildren=[],this.viewChildren=[],this.viewContainerElement=null,this.numberOfChecks=0,this.activeAnimationPlayers=new s.ActiveAnimationPlayersMap,this.ref=new j.ViewRef_(this),c===k.ViewType.COMPONENT||c===k.ViewType.HOST?this.renderer=d.renderComponent(b):this.renderer=f.parentView.renderer}return Object.defineProperty(a.prototype,"destroyed",{get:function(){return this.cdMode===m.ChangeDetectorStatus.Destroyed},enumerable:!0,configurable:!0}),a.prototype.cancelActiveAnimation=function(a,b,c){if(void 0===c&&(c=!1),c)this.activeAnimationPlayers.findAllPlayersByElement(a).forEach(function(a){return a.destroy()});else{var d=this.activeAnimationPlayers.find(a,b);h.isPresent(d)&&d.destroy()}},a.prototype.registerAndStartAnimation=function(a,b,c){var d=this;this.activeAnimationPlayers.set(a,b,c),c.onDone(function(){d.activeAnimationPlayers.remove(a,b)}),c.play()},a.prototype.create=function(a,b,c){this.context=a;var d;switch(this.type){case k.ViewType.COMPONENT:d=l.ensureSlotCount(b,this.componentType.slotCount);break;case k.ViewType.EMBEDDED:d=this.declarationAppElement.parentView.projectableNodes;break;case k.ViewType.HOST:d=b}return this._hasExternalHostElement=h.isPresent(c),this.projectableNodes=d,this.createInternal(c)},a.prototype.createInternal=function(a){return null},a.prototype.init=function(a,b,c,d){this.rootNodesOrAppElements=a,this.allNodes=b,this.disposables=c,this.subscriptions=d,this.type===k.ViewType.COMPONENT&&(this.declarationAppElement.parentView.viewChildren.push(this),this.dirtyParentQueriesInternal())},a.prototype.selectOrCreateHostElement=function(a,b,c){var d;return d=h.isPresent(b)?this.renderer.selectRootElement(b,c):this.renderer.createElement(null,a,c)},a.prototype.injectorGet=function(a,b,c){return this.injectorGetInternal(a,b,c)},a.prototype.injectorGetInternal=function(a,b,c){return c},a.prototype.injector=function(a){return h.isPresent(a)?new q.ElementInjector(this,a):this.parentInjector},a.prototype.destroy=function(){this._hasExternalHostElement?this.renderer.detachView(this.flatRootNodes):h.isPresent(this.viewContainerElement)&&this.viewContainerElement.detachView(this.viewContainerElement.nestedViews.indexOf(this)),this._destroyRecurse()},a.prototype._destroyRecurse=function(){if(this.cdMode!==m.ChangeDetectorStatus.Destroyed){for(var a=this.contentChildren,b=0;b<a.length;b++)a[b]._destroyRecurse();a=this.viewChildren;for(var b=0;b<a.length;b++)a[b]._destroyRecurse();this.destroyLocal(),this.cdMode=m.ChangeDetectorStatus.Destroyed}},a.prototype.destroyLocal=function(){for(var a=this,b=this.type===k.ViewType.COMPONENT?this.declarationAppElement.nativeElement:null,c=0;c<this.disposables.length;c++)this.disposables[c]();for(var c=0;c<this.subscriptions.length;c++)f.ObservableWrapper.dispose(this.subscriptions[c]);if(this.destroyInternal(),this.dirtyParentQueriesInternal(),0==this.activeAnimationPlayers.length)this.renderer.destroyView(b,this.allNodes);else{var d=new r.AnimationGroupPlayer(this.activeAnimationPlayers.getAllPlayers());d.onDone(function(){a.renderer.destroyView(b,a.allNodes)})}},a.prototype.destroyInternal=function(){},a.prototype.detachInternal=function(){},a.prototype.detach=function(){var a=this;if(this.detachInternal(),0==this.activeAnimationPlayers.length)this.renderer.detachView(this.flatRootNodes);else{var b=new r.AnimationGroupPlayer(this.activeAnimationPlayers.getAllPlayers());b.onDone(function(){a.renderer.detachView(a.flatRootNodes)})}},Object.defineProperty(a.prototype,"changeDetectorRef",{get:function(){return this.ref},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"parent",{get:function(){return h.isPresent(this.declarationAppElement)?this.declarationAppElement.parentView:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"flatRootNodes",{get:function(){return l.flattenNestedViewRenderNodes(this.rootNodesOrAppElements)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"lastRootNode",{get:function(){var a=this.rootNodesOrAppElements.length>0?this.rootNodesOrAppElements[this.rootNodesOrAppElements.length-1]:null;return d(a)},enumerable:!0,configurable:!0}),a.prototype.dirtyParentQueriesInternal=function(){},a.prototype.detectChanges=function(a){var b=t(this.clazz);this.cdMode!==m.ChangeDetectorStatus.Checked&&this.cdMode!==m.ChangeDetectorStatus.Errored&&(this.cdMode===m.ChangeDetectorStatus.Destroyed&&this.throwDestroyedError("detectChanges"),this.detectChangesInternal(a),this.cdMode===m.ChangeDetectorStatus.CheckOnce&&(this.cdMode=m.ChangeDetectorStatus.Checked),this.numberOfChecks++,n.wtfLeave(b))},a.prototype.detectChangesInternal=function(a){this.detectContentChildrenChanges(a),this.detectViewChildrenChanges(a)},a.prototype.detectContentChildrenChanges=function(a){for(var b=0;b<this.contentChildren.length;++b){var c=this.contentChildren[b];c.cdMode!==m.ChangeDetectorStatus.Detached&&c.detectChanges(a)}},a.prototype.detectViewChildrenChanges=function(a){for(var b=0;b<this.viewChildren.length;++b){var c=this.viewChildren[b];c.cdMode!==m.ChangeDetectorStatus.Detached&&c.detectChanges(a)}},a.prototype.addToContentChildren=function(a){a.parentView.contentChildren.push(this),this.viewContainerElement=a,this.dirtyParentQueriesInternal()},a.prototype.removeFromContentChildren=function(a){g.ListWrapper.remove(a.parentView.contentChildren,this),this.dirtyParentQueriesInternal(),this.viewContainerElement=null},a.prototype.markAsCheckOnce=function(){this.cdMode=m.ChangeDetectorStatus.CheckOnce},a.prototype.markPathToRootAsCheckOnce=function(){for(var a=this;h.isPresent(a)&&a.cdMode!==m.ChangeDetectorStatus.Detached;){a.cdMode===m.ChangeDetectorStatus.Checked&&(a.cdMode=m.ChangeDetectorStatus.CheckOnce);var b=a.type===k.ViewType.COMPONENT?a.declarationAppElement:a.viewContainerElement;a=h.isPresent(b)?b.parentView:null}},a.prototype.eventHandler=function(a){return a},a.prototype.throwDestroyedError=function(a){throw new o.ViewDestroyedException(a)},a}();b.AppView=u;var v=function(a){function b(b,c,d,e,f,g,h,i){a.call(this,b,c,d,e,f,g,h),this.staticNodeDebugInfos=i,this._currentDebugContext=null}return e(b,a),b.prototype.create=function(b,c,d){this._resetDebug();try{return a.prototype.create.call(this,b,c,d)}catch(e){throw this._rethrowWithContext(e,e.stack),e}},b.prototype.injectorGet=function(b,c,d){this._resetDebug();try{return a.prototype.injectorGet.call(this,b,c,d)}catch(e){throw this._rethrowWithContext(e,e.stack),e}},b.prototype.detach=function(){this._resetDebug();try{a.prototype.detach.call(this)}catch(b){throw this._rethrowWithContext(b,b.stack),b}},b.prototype.destroyLocal=function(){this._resetDebug();try{a.prototype.destroyLocal.call(this)}catch(b){throw this._rethrowWithContext(b,b.stack),b}},b.prototype.detectChanges=function(b){this._resetDebug();try{a.prototype.detectChanges.call(this,b)}catch(c){throw this._rethrowWithContext(c,c.stack),c}},b.prototype._resetDebug=function(){this._currentDebugContext=null},b.prototype.debug=function(a,b,c){return this._currentDebugContext=new p.DebugContext(this,a,b,c)},b.prototype._rethrowWithContext=function(a,b){if(!(a instanceof o.ViewWrappedException)&&(a instanceof o.ExpressionChangedAfterItHasBeenCheckedException||(this.cdMode=m.ChangeDetectorStatus.Errored),h.isPresent(this._currentDebugContext)))throw new o.ViewWrappedException(a,b,this._currentDebugContext)},b.prototype.eventHandler=function(b){var c=this,d=a.prototype.eventHandler.call(this,b);return function(a){c._resetDebug();try{return d(a)}catch(b){throw c._rethrowWithContext(b,b.stack),b}}},b}(u);return b.DebugAppView=v,c.exports}),a.registerDynamic("265",["9f","25c"],!0,function(a,b,c){"use strict";function d(){return""+e()+e()+e()}function e(){return f.StringWrapper.fromCharCode(97+f.Math.floor(25*f.Math.random()))}var f=a("9f"),g=a("25c");return b.APP_ID=new g.OpaqueToken("AppId"),b.APP_ID_RANDOM_PROVIDER={provide:b.APP_ID,useFactory:d,deps:[]},b.PLATFORM_INITIALIZER=new g.OpaqueToken("Platform Initializer"),b.APP_INITIALIZER=new g.OpaqueToken("Application Initializer"),b.PACKAGE_ROOT_URL=new g.OpaqueToken("Application Packages Root URL"),c.exports}),a.registerDynamic("27e",["24d","e8","9f"],!0,function(a,b,c){"use strict";var d=a("24d"),e=a("e8"),f=a("9f"),g=function(){function a(){}return a.prototype.supports=function(a){return d.isListLikeIterable(a)},a.prototype.create=function(a,b){return new i(b)},a}();b.DefaultIterableDifferFactory=g;var h=function(a,b){return b},i=function(){function a(a){this._trackByFn=a,this._length=null,this._collection=null,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=f.isPresent(this._trackByFn)?this._trackByFn:h}return Object.defineProperty(a.prototype,"collection",{get:function(){return this._collection},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return this._length},enumerable:!0,configurable:!0}),a.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)},a.prototype.forEachPreviousItem=function(a){var b;for(b=this._previousItHead;null!==b;b=b._nextPrevious)a(b)},a.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)},a.prototype.forEachMovedItem=function(a){var b;for(b=this._movesHead;null!==b;b=b._nextMoved)a(b)},a.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)},a.prototype.forEachIdentityChange=function(a){var b;for(b=this._identityChangesHead;null!==b;b=b._nextIdentityChange)a(b)},a.prototype.diff=function(a){if(f.isBlank(a)&&(a=[]),!d.isListLikeIterable(a))throw new e.BaseException("Error trying to diff '"+a+"'");return this.check(a)?this:null},a.prototype.onDestroy=function(){},a.prototype.check=function(a){var b=this;this._reset();var c,e,g,h=this._itHead,i=!1;if(f.isArray(a)){var j=a;for(this._length=a.length,c=0;c<this._length;c++)e=j[c],g=this._trackByFn(c,e),null!==h&&f.looseIdentical(h.trackById,g)?(i&&(h=this._verifyReinsertion(h,e,g,c)),f.looseIdentical(h.item,e)||this._addIdentityChange(h,e)):(h=this._mismatch(h,e,g,c),i=!0),h=h._next}else c=0,d.iterateListLike(a,function(a){g=b._trackByFn(c,a),null!==h&&f.looseIdentical(h.trackById,g)?(i&&(h=b._verifyReinsertion(h,a,g,c)),f.looseIdentical(h.item,a)||b._addIdentityChange(h,a)):(h=b._mismatch(h,a,g,c),i=!0),h=h._next,c++}),this._length=c;return this._truncate(h),this._collection=a,this.isDirty},Object.defineProperty(a.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),a.prototype._reset=function(){if(this.isDirty){var a,b;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=b)a.previousIndex=a.currentIndex,b=a._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},a.prototype._mismatch=function(a,b,c,d){var e;return null===a?e=this._itTail:(e=a._prev,this._remove(a)),a=null===this._linkedRecords?null:this._linkedRecords.get(c,d),null!==a?(f.looseIdentical(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c),null!==a?(f.looseIdentical(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):a=this._addAfter(new j(b,c),e,d)),a},a.prototype._verifyReinsertion=function(a,b,c,d){var e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c);return null!==e?a=this._reinsertAfter(e,a._prev,d):a.currentIndex!=d&&(a.currentIndex=d,this._addToMoves(a,d)),a},a.prototype._truncate=function(a){for(;null!==a;){var b=a._next;this._addToRemovals(this._unlink(a)),a=b}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},a.prototype._reinsertAfter=function(a,b,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);var d=a._prevRemoved,e=a._nextRemoved;return null===d?this._removalsHead=e:d._nextRemoved=e,null===e?this._removalsTail=d:e._prevRemoved=d,this._insertAfter(a,b,c),this._addToMoves(a,c),a},a.prototype._moveAfter=function(a,b,c){return this._unlink(a),this._insertAfter(a,b,c),this._addToMoves(a,c),a},a.prototype._addAfter=function(a,b,c){return this._insertAfter(a,b,c),null===this._additionsTail?this._additionsTail=this._additionsHead=a:this._additionsTail=this._additionsTail._nextAdded=a,a},a.prototype._insertAfter=function(a,b,c){var d=null===b?this._itHead:b._next;return a._next=d,a._prev=b,null===d?this._itTail=a:d._prev=a,null===b?this._itHead=a:b._next=a,null===this._linkedRecords&&(this._linkedRecords=new l),this._linkedRecords.put(a),a.currentIndex=c,a},a.prototype._remove=function(a){return this._addToRemovals(this._unlink(a))},a.prototype._unlink=function(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);var b=a._prev,c=a._next;return null===b?this._itHead=c:b._next=c,null===c?this._itTail=b:c._prev=b,a},a.prototype._addToMoves=function(a,b){return a.previousIndex===b?a:(null===this._movesTail?this._movesTail=this._movesHead=a:this._movesTail=this._movesTail._nextMoved=a,a)},a.prototype._addToRemovals=function(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new l),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a},a.prototype._addIdentityChange=function(a,b){return a.item=b,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=a:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=a,a},a.prototype.toString=function(){var a=[];this.forEachItem(function(b){return a.push(b)});var b=[];this.forEachPreviousItem(function(a){return b.push(a)});var c=[];this.forEachAddedItem(function(a){return c.push(a)});var d=[];this.forEachMovedItem(function(a){return d.push(a)});var e=[];this.forEachRemovedItem(function(a){return e.push(a)});var f=[];return this.forEachIdentityChange(function(a){return f.push(a)}),"collection: "+a.join(", ")+"\nprevious: "+b.join(", ")+"\nadditions: "+c.join(", ")+"\nmoves: "+d.join(", ")+"\nremovals: "+e.join(", ")+"\nidentityChanges: "+f.join(", ")+"\n"},a}();b.DefaultIterableDiffer=i;var j=function(){function a(a,b){this.item=a,this.trackById=b,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}return a.prototype.toString=function(){return this.previousIndex===this.currentIndex?f.stringify(this.item):f.stringify(this.item)+"["+f.stringify(this.previousIndex)+"->"+f.stringify(this.currentIndex)+"]"},a}();b.CollectionChangeRecord=j;var k=function(){function a(){this._head=null,this._tail=null}return a.prototype.add=function(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)},a.prototype.get=function(a,b){var c;for(c=this._head;null!==c;c=c._nextDup)if((null===b||b<c.currentIndex)&&f.looseIdentical(c.trackById,a))return c;return null},a.prototype.remove=function(a){var b=a._prevDup,c=a._nextDup;return null===b?this._head=c:b._nextDup=c,null===c?this._tail=b:c._prevDup=b,null===this._head},a}(),l=function(){function a(){this.map=new Map}return a.prototype.put=function(a){var b=f.getMapKey(a.trackById),c=this.map.get(b);f.isPresent(c)||(c=new k,this.map.set(b,c)),c.add(a)},a.prototype.get=function(a,b){void 0===b&&(b=null);var c=f.getMapKey(a),d=this.map.get(c);return f.isBlank(d)?null:d.get(a,b)},a.prototype.remove=function(a){var b=f.getMapKey(a.trackById),c=this.map.get(b);return c.remove(a)&&this.map["delete"](b),a},Object.defineProperty(a.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),a.prototype.clear=function(){this.map.clear()},a.prototype.toString=function(){return"_DuplicateMap("+f.stringify(this.map)+")"},a}();return c.exports}),a.registerDynamic("27f",["24d","e8","9f"],!0,function(a,b,c){"use strict";var d=a("24d"),e=a("e8"),f=a("9f"),g=function(){function a(){}return a.prototype.supports=function(a){return a instanceof Map||f.isJsObject(a)},a.prototype.create=function(a){return new h},a}();b.DefaultKeyValueDifferFactory=g;var h=function(){function a(){this._records=new Map,this._mapHead=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(a.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),a.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)},a.prototype.forEachPreviousItem=function(a){var b;for(b=this._previousMapHead;null!==b;b=b._nextPrevious)a(b)},a.prototype.forEachChangedItem=function(a){var b;for(b=this._changesHead;null!==b;b=b._nextChanged)a(b)},a.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)},a.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)},a.prototype.diff=function(a){if(f.isBlank(a)&&(a=d.MapWrapper.createFromPairs([])),!(a instanceof Map||f.isJsObject(a)))throw new e.BaseException("Error trying to diff '"+a+"'");return this.check(a)?this:null},a.prototype.onDestroy=function(){},a.prototype.check=function(a){var b=this;this._reset();var c=this._records,d=this._mapHead,e=null,g=null,h=!1;return this._forEach(a,function(a,j){var k;null!==d&&j===d.key?(k=d,f.looseIdentical(a,d.currentValue)||(d.previousValue=d.currentValue,d.currentValue=a,b._addToChanges(d))):(h=!0,null!==d&&(d._next=null,b._removeFromSeq(e,d),b._addToRemovals(d)),c.has(j)?k=c.get(j):(k=new i(j),c.set(j,k),k.currentValue=a,b._addToAdditions(k))),h&&(b._isInRemovals(k)&&b._removeFromRemovals(k),null==g?b._mapHead=k:g._next=k),e=d,g=k,d=null===d?null:d._next}),this._truncate(e,d),this.isDirty},a.prototype._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=this._removalsTail=null}},a.prototype._truncate=function(a,b){for(;null!==b;){null===a?this._mapHead=null:a._next=null;var c=b._next;this._addToRemovals(b),a=b,b=c}for(var d=this._removalsHead;null!==d;d=d._nextRemoved)d.previousValue=d.currentValue,d.currentValue=null,this._records["delete"](d.key)},a.prototype._isInRemovals=function(a){return a===this._removalsHead||null!==a._nextRemoved||null!==a._prevRemoved},a.prototype._addToRemovals=function(a){null===this._removalsHead?this._removalsHead=this._removalsTail=a:(this._removalsTail._nextRemoved=a,a._prevRemoved=this._removalsTail,this._removalsTail=a)},a.prototype._removeFromSeq=function(a,b){var c=b._next;null===a?this._mapHead=c:a._next=c},a.prototype._removeFromRemovals=function(a){var b=a._prevRemoved,c=a._nextRemoved;null===b?this._removalsHead=c:b._nextRemoved=c,null===c?this._removalsTail=b:c._prevRemoved=b,a._prevRemoved=a._nextRemoved=null},a.prototype._addToAdditions=function(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)},a.prototype._addToChanges=function(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)},a.prototype.toString=function(){var a,b=[],c=[],d=[],e=[],g=[];for(a=this._mapHead;null!==a;a=a._next)b.push(f.stringify(a));for(a=this._previousMapHead;null!==a;a=a._nextPrevious)c.push(f.stringify(a));for(a=this._changesHead;null!==a;a=a._nextChanged)d.push(f.stringify(a));for(a=this._additionsHead;null!==a;a=a._nextAdded)e.push(f.stringify(a));for(a=this._removalsHead;null!==a;a=a._nextRemoved)g.push(f.stringify(a));return"map: "+b.join(", ")+"\nprevious: "+c.join(", ")+"\nadditions: "+e.join(", ")+"\nchanges: "+d.join(", ")+"\nremovals: "+g.join(", ")+"\n"},a.prototype._forEach=function(a,b){a instanceof Map?a.forEach(b):d.StringMapWrapper.forEach(a,b);
|
||
},a}();b.DefaultKeyValueDiffer=h;var i=function(){function a(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._nextAdded=null,this._nextRemoved=null,this._prevRemoved=null,this._nextChanged=null}return a.prototype.toString=function(){return f.looseIdentical(this.previousValue,this.currentValue)?f.stringify(this.key):f.stringify(this.key)+"["+f.stringify(this.previousValue)+"->"+f.stringify(this.currentValue)+"]"},a}();return b.KeyValueChangeRecord=i,c.exports}),a.registerDynamic("280",["25c","24d","e8","9f"],!0,function(a,b,c){"use strict";var d=a("25c"),e=a("24d"),f=a("e8"),g=a("9f"),h=function(){function a(a){this.factories=a}return a.create=function(b,c){if(g.isPresent(c)){var d=e.ListWrapper.clone(c.factories);return b=b.concat(d),new a(b)}return new a(b)},a.extend=function(b){return new d.Provider(a,{useFactory:function(c){if(g.isBlank(c))throw new f.BaseException("Cannot extend IterableDiffers without a parent injector");return a.create(b,c)},deps:[[a,new d.SkipSelfMetadata,new d.OptionalMetadata]]})},a.prototype.find=function(a){var b=this.factories.find(function(b){return b.supports(a)});if(g.isPresent(b))return b;throw new f.BaseException("Cannot find a differ supporting object '"+a+"' of type '"+g.getTypeNameForDebugging(a)+"'")},a}();return b.IterableDiffers=h,c.exports}),a.registerDynamic("278",["e8"],!0,function(a,b,c){"use strict";var d=a("e8"),e=new Object;b.THROW_IF_NOT_FOUND=e;var f=function(){function a(){}return a.prototype.get=function(a,b){return d.unimplemented()},a.THROW_IF_NOT_FOUND=e,a}();return b.Injector=f,c.exports}),a.registerDynamic("267",["24d","e8","278","23e","281","282","283","45"],!0,function(a,b,c){return function(c){"use strict";function d(a,b){for(var c=new Array(a._proto.numberOfProviders),d=0;d<a._proto.numberOfProviders;++d)c[d]=b(a._proto.getProviderAtIndex(d));return c}var e=a("24d"),f=a("e8"),g=a("278"),h=a("23e"),i=a("281"),j=a("282"),k=a("283"),l=10,m=new Object,n=function(){function a(a,b){this.provider0=null,this.provider1=null,this.provider2=null,this.provider3=null,this.provider4=null,this.provider5=null,this.provider6=null,this.provider7=null,this.provider8=null,this.provider9=null,this.keyId0=null,this.keyId1=null,this.keyId2=null,this.keyId3=null,this.keyId4=null,this.keyId5=null,this.keyId6=null,this.keyId7=null,this.keyId8=null,this.keyId9=null;var c=b.length;c>0&&(this.provider0=b[0],this.keyId0=b[0].key.id),c>1&&(this.provider1=b[1],this.keyId1=b[1].key.id),c>2&&(this.provider2=b[2],this.keyId2=b[2].key.id),c>3&&(this.provider3=b[3],this.keyId3=b[3].key.id),c>4&&(this.provider4=b[4],this.keyId4=b[4].key.id),c>5&&(this.provider5=b[5],this.keyId5=b[5].key.id),c>6&&(this.provider6=b[6],this.keyId6=b[6].key.id),c>7&&(this.provider7=b[7],this.keyId7=b[7].key.id),c>8&&(this.provider8=b[8],this.keyId8=b[8].key.id),c>9&&(this.provider9=b[9],this.keyId9=b[9].key.id)}return a.prototype.getProviderAtIndex=function(a){if(0==a)return this.provider0;if(1==a)return this.provider1;if(2==a)return this.provider2;if(3==a)return this.provider3;if(4==a)return this.provider4;if(5==a)return this.provider5;if(6==a)return this.provider6;if(7==a)return this.provider7;if(8==a)return this.provider8;if(9==a)return this.provider9;throw new i.OutOfBoundsError(a)},a.prototype.createInjectorStrategy=function(a){return new q(a,this)},a}();b.ReflectiveProtoInjectorInlineStrategy=n;var o=function(){function a(a,b){this.providers=b;var c=b.length;this.keyIds=e.ListWrapper.createFixedSize(c);for(var d=0;c>d;d++)this.keyIds[d]=b[d].key.id}return a.prototype.getProviderAtIndex=function(a){if(0>a||a>=this.providers.length)throw new i.OutOfBoundsError(a);return this.providers[a]},a.prototype.createInjectorStrategy=function(a){return new r(this,a)},a}();b.ReflectiveProtoInjectorDynamicStrategy=o;var p=function(){function a(a){this.numberOfProviders=a.length,this._strategy=a.length>l?new o(this,a):new n(this,a)}return a.fromResolvedProviders=function(b){return new a(b)},a.prototype.getProviderAtIndex=function(a){return this._strategy.getProviderAtIndex(a)},a}();b.ReflectiveProtoInjector=p;var q=function(){function a(a,b){this.injector=a,this.protoStrategy=b,this.obj0=m,this.obj1=m,this.obj2=m,this.obj3=m,this.obj4=m,this.obj5=m,this.obj6=m,this.obj7=m,this.obj8=m,this.obj9=m}return a.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},a.prototype.instantiateProvider=function(a){return this.injector._new(a)},a.prototype.getObjByKeyId=function(a){var b=this.protoStrategy,c=this.injector;return b.keyId0===a?(this.obj0===m&&(this.obj0=c._new(b.provider0)),this.obj0):b.keyId1===a?(this.obj1===m&&(this.obj1=c._new(b.provider1)),this.obj1):b.keyId2===a?(this.obj2===m&&(this.obj2=c._new(b.provider2)),this.obj2):b.keyId3===a?(this.obj3===m&&(this.obj3=c._new(b.provider3)),this.obj3):b.keyId4===a?(this.obj4===m&&(this.obj4=c._new(b.provider4)),this.obj4):b.keyId5===a?(this.obj5===m&&(this.obj5=c._new(b.provider5)),this.obj5):b.keyId6===a?(this.obj6===m&&(this.obj6=c._new(b.provider6)),this.obj6):b.keyId7===a?(this.obj7===m&&(this.obj7=c._new(b.provider7)),this.obj7):b.keyId8===a?(this.obj8===m&&(this.obj8=c._new(b.provider8)),this.obj8):b.keyId9===a?(this.obj9===m&&(this.obj9=c._new(b.provider9)),this.obj9):m},a.prototype.getObjAtIndex=function(a){if(0==a)return this.obj0;if(1==a)return this.obj1;if(2==a)return this.obj2;if(3==a)return this.obj3;if(4==a)return this.obj4;if(5==a)return this.obj5;if(6==a)return this.obj6;if(7==a)return this.obj7;if(8==a)return this.obj8;if(9==a)return this.obj9;throw new i.OutOfBoundsError(a)},a.prototype.getMaxNumberOfObjects=function(){return l},a}();b.ReflectiveInjectorInlineStrategy=q;var r=function(){function a(a,b){this.protoStrategy=a,this.injector=b,this.objs=e.ListWrapper.createFixedSize(a.providers.length),e.ListWrapper.fill(this.objs,m)}return a.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},a.prototype.instantiateProvider=function(a){return this.injector._new(a)},a.prototype.getObjByKeyId=function(a){for(var b=this.protoStrategy,c=0;c<b.keyIds.length;c++)if(b.keyIds[c]===a)return this.objs[c]===m&&(this.objs[c]=this.injector._new(b.providers[c])),this.objs[c];return m},a.prototype.getObjAtIndex=function(a){if(0>a||a>=this.objs.length)throw new i.OutOfBoundsError(a);return this.objs[a]},a.prototype.getMaxNumberOfObjects=function(){return this.objs.length},a}();b.ReflectiveInjectorDynamicStrategy=r;var s=function(){function a(){}return a.resolve=function(a){return k.resolveReflectiveProviders(a)},a.resolveAndCreate=function(b,c){void 0===c&&(c=null);var d=a.resolve(b);return a.fromResolvedProviders(d,c)},a.fromResolvedProviders=function(a,b){return void 0===b&&(b=null),new t(p.fromResolvedProviders(a),b)},a.fromResolvedBindings=function(b){return a.fromResolvedProviders(b)},Object.defineProperty(a.prototype,"parent",{get:function(){return f.unimplemented()},enumerable:!0,configurable:!0}),a.prototype.debugContext=function(){return null},a.prototype.resolveAndCreateChild=function(a){return f.unimplemented()},a.prototype.createChildFromResolved=function(a){return f.unimplemented()},a.prototype.resolveAndInstantiate=function(a){return f.unimplemented()},a.prototype.instantiateResolved=function(a){return f.unimplemented()},a}();b.ReflectiveInjector=s;var t=function(){function a(a,b,c){void 0===b&&(b=null),void 0===c&&(c=null),this._debugContext=c,this._constructionCounter=0,this._proto=a,this._parent=b,this._strategy=a._strategy.createInjectorStrategy(this)}return a.prototype.debugContext=function(){return this._debugContext()},a.prototype.get=function(a,b){return void 0===b&&(b=g.THROW_IF_NOT_FOUND),this._getByKey(j.ReflectiveKey.get(a),null,null,b)},a.prototype.getAt=function(a){return this._strategy.getObjAtIndex(a)},Object.defineProperty(a.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"internalStrategy",{get:function(){return this._strategy},enumerable:!0,configurable:!0}),a.prototype.resolveAndCreateChild=function(a){var b=s.resolve(a);return this.createChildFromResolved(b)},a.prototype.createChildFromResolved=function(b){var c=new p(b),d=new a(c);return d._parent=this,d},a.prototype.resolveAndInstantiate=function(a){return this.instantiateResolved(s.resolve([a])[0])},a.prototype.instantiateResolved=function(a){return this._instantiateProvider(a)},a.prototype._new=function(a){if(this._constructionCounter++>this._strategy.getMaxNumberOfObjects())throw new i.CyclicDependencyError(this,a.key);return this._instantiateProvider(a)},a.prototype._instantiateProvider=function(a){if(a.multiProvider){for(var b=e.ListWrapper.createFixedSize(a.resolvedFactories.length),c=0;c<a.resolvedFactories.length;++c)b[c]=this._instantiate(a,a.resolvedFactories[c]);return b}return this._instantiate(a,a.resolvedFactories[0])},a.prototype._instantiate=function(a,b){var c,d,e,g,h,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=b.factory,z=b.dependencies,A=z.length;try{c=A>0?this._getByReflectiveDependency(a,z[0]):null,d=A>1?this._getByReflectiveDependency(a,z[1]):null,e=A>2?this._getByReflectiveDependency(a,z[2]):null,g=A>3?this._getByReflectiveDependency(a,z[3]):null,h=A>4?this._getByReflectiveDependency(a,z[4]):null,j=A>5?this._getByReflectiveDependency(a,z[5]):null,k=A>6?this._getByReflectiveDependency(a,z[6]):null,l=A>7?this._getByReflectiveDependency(a,z[7]):null,m=A>8?this._getByReflectiveDependency(a,z[8]):null,n=A>9?this._getByReflectiveDependency(a,z[9]):null,o=A>10?this._getByReflectiveDependency(a,z[10]):null,p=A>11?this._getByReflectiveDependency(a,z[11]):null,q=A>12?this._getByReflectiveDependency(a,z[12]):null,r=A>13?this._getByReflectiveDependency(a,z[13]):null,s=A>14?this._getByReflectiveDependency(a,z[14]):null,t=A>15?this._getByReflectiveDependency(a,z[15]):null,u=A>16?this._getByReflectiveDependency(a,z[16]):null,v=A>17?this._getByReflectiveDependency(a,z[17]):null,w=A>18?this._getByReflectiveDependency(a,z[18]):null,x=A>19?this._getByReflectiveDependency(a,z[19]):null}catch(B){throw(B instanceof i.AbstractProviderError||B instanceof i.InstantiationError)&&B.addKey(this,a.key),B}var C;try{switch(A){case 0:C=y();break;case 1:C=y(c);break;case 2:C=y(c,d);break;case 3:C=y(c,d,e);break;case 4:C=y(c,d,e,g);break;case 5:C=y(c,d,e,g,h);break;case 6:C=y(c,d,e,g,h,j);break;case 7:C=y(c,d,e,g,h,j,k);break;case 8:C=y(c,d,e,g,h,j,k,l);break;case 9:C=y(c,d,e,g,h,j,k,l,m);break;case 10:C=y(c,d,e,g,h,j,k,l,m,n);break;case 11:C=y(c,d,e,g,h,j,k,l,m,n,o);break;case 12:C=y(c,d,e,g,h,j,k,l,m,n,o,p);break;case 13:C=y(c,d,e,g,h,j,k,l,m,n,o,p,q);break;case 14:C=y(c,d,e,g,h,j,k,l,m,n,o,p,q,r);break;case 15:C=y(c,d,e,g,h,j,k,l,m,n,o,p,q,r,s);break;case 16:C=y(c,d,e,g,h,j,k,l,m,n,o,p,q,r,s,t);break;case 17:C=y(c,d,e,g,h,j,k,l,m,n,o,p,q,r,s,t,u);break;case 18:C=y(c,d,e,g,h,j,k,l,m,n,o,p,q,r,s,t,u,v);break;case 19:C=y(c,d,e,g,h,j,k,l,m,n,o,p,q,r,s,t,u,v,w);break;case 20:C=y(c,d,e,g,h,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x);break;default:throw new f.BaseException("Cannot instantiate '"+a.key.displayName+"' because it has more than 20 dependencies")}}catch(B){throw new i.InstantiationError(this,B,B.stack,a.key)}return C},a.prototype._getByReflectiveDependency=function(a,b){return this._getByKey(b.key,b.lowerBoundVisibility,b.upperBoundVisibility,b.optional?null:g.THROW_IF_NOT_FOUND)},a.prototype._getByKey=function(a,b,c,d){return a===u?this:c instanceof h.SelfMetadata?this._getByKeySelf(a,d):this._getByKeyDefault(a,d,b)},a.prototype._throwOrNull=function(a,b){if(b!==g.THROW_IF_NOT_FOUND)return b;throw new i.NoProviderError(this,a)},a.prototype._getByKeySelf=function(a,b){var c=this._strategy.getObjByKeyId(a.id);return c!==m?c:this._throwOrNull(a,b)},a.prototype._getByKeyDefault=function(b,c,d){var e;for(e=d instanceof h.SkipSelfMetadata?this._parent:this;e instanceof a;){var f=e,g=f._strategy.getObjByKeyId(b.id);if(g!==m)return g;e=f._parent}return null!==e?e.get(b.token,c):this._throwOrNull(b,c)},Object.defineProperty(a.prototype,"displayName",{get:function(){var a=d(this,function(a){return' "'+a.key.displayName+'" '}).join(", ");return"ReflectiveInjector(providers: ["+a+"])"},enumerable:!0,configurable:!0}),a.prototype.toString=function(){return this.displayName},a}();b.ReflectiveInjector_=t;var u=j.ReflectiveKey.get(g.Injector)}(a("45")),c.exports}),a.registerDynamic("284",["e8","9f"],!0,function(a,b,c){"use strict";function d(a){return new k(a)}function e(a,b){var c=b.useClass,d=b.useValue,e=b.useExisting,f=b.useFactory,g=b.deps,h=b.multi;return new i(a,{useClass:c,useValue:d,useExisting:e,useFactory:f,deps:g,multi:h})}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("e8"),h=a("9f"),i=function(){function a(a,b){var c=b.useClass,d=b.useValue,e=b.useExisting,f=b.useFactory,g=b.deps,h=b.multi;this.token=a,this.useClass=c,this.useValue=d,this.useExisting=e,this.useFactory=f,this.dependencies=g,this._multi=h}return Object.defineProperty(a.prototype,"multi",{get:function(){return h.normalizeBool(this._multi)},enumerable:!0,configurable:!0}),a}();b.Provider=i;var j=function(a){function b(b,c){var d=c.toClass,e=c.toValue,f=c.toAlias,g=c.toFactory,h=c.deps,i=c.multi;a.call(this,b,{useClass:d,useValue:e,useExisting:f,useFactory:g,deps:h,multi:i})}return f(b,a),Object.defineProperty(b.prototype,"toClass",{get:function(){return this.useClass},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"toAlias",{get:function(){return this.useExisting},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"toFactory",{get:function(){return this.useFactory},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"toValue",{get:function(){return this.useValue},enumerable:!0,configurable:!0}),b}(i);b.Binding=j,b.bind=d;var k=function(){function a(a){this.token=a}return a.prototype.toClass=function(a){if(!h.isType(a))throw new g.BaseException('Trying to create a class provider but "'+h.stringify(a)+'" is not a class!');return new i(this.token,{useClass:a})},a.prototype.toValue=function(a){return new i(this.token,{useValue:a})},a.prototype.toAlias=function(a){if(h.isBlank(a))throw new g.BaseException("Can not alias "+h.stringify(this.token)+" to a blank value!");return new i(this.token,{useExisting:a})},a.prototype.toFactory=function(a,b){if(!h.isFunction(a))throw new g.BaseException('Trying to create a factory provider but "'+h.stringify(a)+'" is not a function!');return new i(this.token,{useFactory:a,deps:b})},a}();return b.ProviderBuilder=k,b.provide=e,c.exports}),a.registerDynamic("285",["284"],!0,function(a,b,c){"use strict";function d(a){return a&&"object"==typeof a&&a.provide}function e(a){return new f.Provider(a.provide,a)}var f=a("284");return b.isProviderLiteral=d,b.createProvider=e,c.exports}),a.registerDynamic("283",["9f","24d","260","282","23e","281","23d","284","285"],!0,function(a,b,c){"use strict";function d(a){var b,c;if(m.isPresent(a.useClass)){var d=s.resolveForwardRef(a.useClass);b=o.reflector.factory(d),c=j(d)}else m.isPresent(a.useExisting)?(b=function(a){return a},c=[v.fromKey(p.ReflectiveKey.get(a.useExisting))]):m.isPresent(a.useFactory)?(b=a.useFactory,c=i(a.useFactory,a.dependencies)):(b=function(){return a.useValue},c=w);return new y(b,c)}function e(a){return new x(p.ReflectiveKey.get(a.token),[d(a)],a.multi)}function f(a){var b=h(a,[]),c=b.map(e);return n.MapWrapper.values(g(c,new Map))}function g(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=b.get(d.key.id);if(m.isPresent(e)){if(d.multiProvider!==e.multiProvider)throw new r.MixingMultiProvidersWithRegularProvidersError(e,d);if(d.multiProvider)for(var f=0;f<d.resolvedFactories.length;f++)e.resolvedFactories.push(d.resolvedFactories[f]);else b.set(d.key.id,d)}else{var g;g=d.multiProvider?new x(d.key,n.ListWrapper.clone(d.resolvedFactories),d.multiProvider):d,b.set(d.key.id,g)}}return b}function h(a,b){return a.forEach(function(a){if(a instanceof m.Type)b.push(t.provide(a,{useClass:a}));else if(a instanceof t.Provider)b.push(a);else if(u.isProviderLiteral(a))b.push(u.createProvider(a));else{if(!(a instanceof Array))throw a instanceof t.ProviderBuilder?new r.InvalidProviderError(a.token):new r.InvalidProviderError(a);h(a,b)}}),b}function i(a,b){if(m.isBlank(b))return j(a);var c=b.map(function(a){return[a]});return b.map(function(b){return k(a,b,c)})}function j(a){var b=o.reflector.parameters(a);if(m.isBlank(b))return[];if(b.some(m.isBlank))throw new r.NoAnnotationError(a,b);return b.map(function(c){return k(a,c,b)})}function k(a,b,c){var d=[],e=null,f=!1;if(!m.isArray(b))return b instanceof q.InjectMetadata?l(b.token,f,null,null,d):l(b,f,null,null,d);for(var g=null,h=null,i=0;i<b.length;++i){var j=b[i];j instanceof m.Type?e=j:j instanceof q.InjectMetadata?e=j.token:j instanceof q.OptionalMetadata?f=!0:j instanceof q.SelfMetadata?h=j:j instanceof q.HostMetadata?h=j:j instanceof q.SkipSelfMetadata?g=j:j instanceof q.DependencyMetadata&&(m.isPresent(j.token)&&(e=j.token),d.push(j))}if(e=s.resolveForwardRef(e),m.isPresent(e))return l(e,f,g,h,d);throw new r.NoAnnotationError(a,c)}function l(a,b,c,d,e){return new v(p.ReflectiveKey.get(a),b,c,d,e)}var m=a("9f"),n=a("24d"),o=a("260"),p=a("282"),q=a("23e"),r=a("281"),s=a("23d"),t=a("284"),u=a("285"),v=function(){function a(a,b,c,d,e){this.key=a,this.optional=b,this.lowerBoundVisibility=c,this.upperBoundVisibility=d,this.properties=e}return a.fromKey=function(b){return new a(b,!1,null,null,[])},a}();b.ReflectiveDependency=v;var w=[],x=function(){function a(a,b,c){this.key=a,this.resolvedFactories=b,this.multiProvider=c}return Object.defineProperty(a.prototype,"resolvedFactory",{get:function(){return this.resolvedFactories[0]},enumerable:!0,configurable:!0}),a}();b.ResolvedReflectiveProvider_=x;var y=function(){function a(a,b){this.factory=a,this.dependencies=b}return a}();return b.ResolvedReflectiveFactory=y,b.resolveReflectiveFactory=d,b.resolveReflectiveProvider=e,b.resolveReflectiveProviders=f,b.mergeResolvedReflectiveProviders=g,b.constructDependencies=i,c.exports}),a.registerDynamic("23d",["9f"],!0,function(a,b,c){"use strict";function d(a){return a.__forward_ref__=d,a.toString=function(){return f.stringify(this())},a}function e(a){return f.isFunction(a)&&a.hasOwnProperty("__forward_ref__")&&a.__forward_ref__===d?a():a}var f=a("9f");return b.forwardRef=d,b.resolveForwardRef=e,c.exports}),a.registerDynamic("282",["e8","9f","23d"],!0,function(a,b,c){"use strict";var d=a("e8"),e=a("9f"),f=a("23d"),g=function(){function a(a,b){if(this.token=a,this.id=b,e.isBlank(a))throw new d.BaseException("Token must be defined!")}return Object.defineProperty(a.prototype,"displayName",{get:function(){return e.stringify(this.token)},enumerable:!0,configurable:!0}),a.get=function(a){return i.get(f.resolveForwardRef(a))},Object.defineProperty(a,"numberOfKeys",{get:function(){return i.numberOfKeys},enumerable:!0,configurable:!0}),a}();b.ReflectiveKey=g;var h=function(){function a(){this._allKeys=new Map}return a.prototype.get=function(a){if(a instanceof g)return a;if(this._allKeys.has(a))return this._allKeys.get(a);var b=new g(a,g.numberOfKeys);return this._allKeys.set(a,b),b},Object.defineProperty(a.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),a}();b.KeyRegistry=h;var i=new h;return c.exports}),a.registerDynamic("281",["24d","e8","9f"],!0,function(a,b,c){"use strict";function d(a){for(var b=[],c=0;c<a.length;++c){if(g.ListWrapper.contains(b,a[c]))return b.push(a[c]),b;b.push(a[c])}return b}function e(a){if(a.length>1){var b=d(g.ListWrapper.reversed(a)),c=b.map(function(a){return i.stringify(a.token)});return" ("+c.join(" -> ")+")"}return""}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("24d"),h=a("e8"),i=a("9f"),j=function(a){function b(b,c,d){a.call(this,"DI Exception"),this.keys=[c],this.injectors=[b],this.constructResolvingMessage=d,this.message=this.constructResolvingMessage(this.keys)}return f(b,a),b.prototype.addKey=function(a,b){this.injectors.push(a),this.keys.push(b),this.message=this.constructResolvingMessage(this.keys)},Object.defineProperty(b.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),b}(h.BaseException);b.AbstractProviderError=j;var k=function(a){function b(b,c){a.call(this,b,c,function(a){var b=i.stringify(g.ListWrapper.first(a).token);return"No provider for "+b+"!"+e(a)})}return f(b,a),b}(j);b.NoProviderError=k;var l=function(a){function b(b,c){a.call(this,b,c,function(a){return"Cannot instantiate cyclic dependency!"+e(a)})}return f(b,a),b}(j);b.CyclicDependencyError=l;var m=function(a){function b(b,c,d,e){a.call(this,"DI Exception",c,d,null),this.keys=[e],this.injectors=[b]}return f(b,a),b.prototype.addKey=function(a,b){this.injectors.push(a),this.keys.push(b)},Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){var a=i.stringify(g.ListWrapper.first(this.keys).token);return"Error during instantiation of "+a+"!"+e(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),b}(h.WrappedException);b.InstantiationError=m;var n=function(a){function b(b){a.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+b)}return f(b,a),b}(h.BaseException);b.InvalidProviderError=n;var o=function(a){function b(c,d){a.call(this,b._genMessage(c,d))}return f(b,a),b._genMessage=function(a,b){for(var c=[],d=0,e=b.length;e>d;d++){var f=b[d];i.isBlank(f)||0==f.length?c.push("?"):c.push(f.map(i.stringify).join(" "))}return"Cannot resolve all parameters for '"+i.stringify(a)+"'("+c.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+i.stringify(a)+"' is decorated with Injectable."},b}(h.BaseException);b.NoAnnotationError=o;var p=function(a){function b(b){a.call(this,"Index "+b+" is out-of-bounds.")}return f(b,a),b}(h.BaseException);b.OutOfBoundsError=p;var q=function(a){function b(b,c){a.call(this,"Cannot mix multi providers and regular providers, got: "+b.toString()+" "+c.toString())}return f(b,a),b}(h.BaseException);return b.MixingMultiProvidersWithRegularProvidersError=q,c.exports}),a.registerDynamic("286",[],!0,function(a,b,c){"use strict";var d=function(){function a(a){this._desc=a}return a.prototype.toString=function(){return"Token "+this._desc},a}();return b.OpaqueToken=d,c.exports}),a.registerDynamic("25c",["23e","263","23d","278","267","284","283","282","281","286"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}var e=a("23e");b.HostMetadata=e.HostMetadata,b.InjectMetadata=e.InjectMetadata,b.InjectableMetadata=e.InjectableMetadata,b.OptionalMetadata=e.OptionalMetadata,b.SelfMetadata=e.SelfMetadata,b.SkipSelfMetadata=e.SkipSelfMetadata,d(a("263"));var f=a("23d");b.forwardRef=f.forwardRef,b.resolveForwardRef=f.resolveForwardRef;var g=a("278");b.Injector=g.Injector;var h=a("267");b.ReflectiveInjector=h.ReflectiveInjector;var i=a("284");b.Binding=i.Binding,b.ProviderBuilder=i.ProviderBuilder,b.bind=i.bind,b.Provider=i.Provider,b.provide=i.provide;var j=a("283");b.ResolvedReflectiveFactory=j.ResolvedReflectiveFactory;var k=a("282");b.ReflectiveKey=k.ReflectiveKey;var l=a("281");b.NoProviderError=l.NoProviderError,b.AbstractProviderError=l.AbstractProviderError,b.CyclicDependencyError=l.CyclicDependencyError,b.InstantiationError=l.InstantiationError,b.InvalidProviderError=l.InvalidProviderError,b.NoAnnotationError=l.NoAnnotationError,b.OutOfBoundsError=l.OutOfBoundsError;var m=a("286");return b.OpaqueToken=m.OpaqueToken,c.exports}),a.registerDynamic("287",["25c","24d","e8","9f"],!0,function(a,b,c){"use strict";var d=a("25c"),e=a("24d"),f=a("e8"),g=a("9f"),h=function(){function a(a){this.factories=a}return a.create=function(b,c){if(g.isPresent(c)){var d=e.ListWrapper.clone(c.factories);return b=b.concat(d),new a(b)}return new a(b)},a.extend=function(b){return new d.Provider(a,{useFactory:function(c){if(g.isBlank(c))throw new f.BaseException("Cannot extend KeyValueDiffers without a parent injector");return a.create(b,c)},deps:[[a,new d.SkipSelfMetadata,new d.OptionalMetadata]]})},a.prototype.find=function(a){var b=this.factories.find(function(b){return b.supports(a)});if(g.isPresent(b))return b;throw new f.BaseException("Cannot find a differ supporting object '"+a+"'")},a}();return b.KeyValueDiffers=h,c.exports}),a.registerDynamic("288",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a}();return b.ChangeDetectorRef=d,c.exports}),a.registerDynamic("240",["9f"],!0,function(a,b,c){"use strict";function d(a){return e.isBlank(a)||a===f.Default}var e=a("9f");!function(a){a[a.OnPush=0]="OnPush",a[a.Default=1]="Default"}(b.ChangeDetectionStrategy||(b.ChangeDetectionStrategy={}));var f=b.ChangeDetectionStrategy;!function(a){a[a.CheckOnce=0]="CheckOnce",a[a.Checked=1]="Checked",a[a.CheckAlways=2]="CheckAlways",a[a.Detached=3]="Detached",a[a.Errored=4]="Errored",a[a.Destroyed=5]="Destroyed"}(b.ChangeDetectorStatus||(b.ChangeDetectorStatus={}));var g=b.ChangeDetectorStatus;return b.CHANGE_DETECTION_STRATEGY_VALUES=[f.OnPush,f.Default],b.CHANGE_DETECTOR_STATUS_VALUES=[g.CheckOnce,g.Checked,g.CheckAlways,g.Detached,g.Errored,g.Destroyed],b.isDefaultChangeDetectionStrategy=d,c.exports}),a.registerDynamic("25a",["27e","27f","280","287","289","288","240"],!0,function(a,b,c){"use strict";var d=a("27e"),e=a("27f"),f=a("280"),g=a("287"),h=a("289");b.SimpleChange=h.SimpleChange,b.ValueUnwrapper=h.ValueUnwrapper,b.WrappedValue=h.WrappedValue,b.devModeEqual=h.devModeEqual,b.looseIdentical=h.looseIdentical,b.uninitialized=h.uninitialized;var i=a("288");b.ChangeDetectorRef=i.ChangeDetectorRef;var j=a("240");b.CHANGE_DETECTION_STRATEGY_VALUES=j.CHANGE_DETECTION_STRATEGY_VALUES,b.ChangeDetectionStrategy=j.ChangeDetectionStrategy,b.ChangeDetectorStatus=j.ChangeDetectorStatus,b.isDefaultChangeDetectionStrategy=j.isDefaultChangeDetectionStrategy;var k=a("27e");b.CollectionChangeRecord=k.CollectionChangeRecord,b.DefaultIterableDifferFactory=k.DefaultIterableDifferFactory;var l=a("27e");b.DefaultIterableDiffer=l.DefaultIterableDiffer;var m=a("27f");b.DefaultKeyValueDifferFactory=m.DefaultKeyValueDifferFactory,b.KeyValueChangeRecord=m.KeyValueChangeRecord;var n=a("280");b.IterableDiffers=n.IterableDiffers;var o=a("287");return b.KeyValueDiffers=o.KeyValueDiffers,b.keyValDiff=[new e.DefaultKeyValueDifferFactory],b.iterableDiff=[new d.DefaultIterableDifferFactory],b.defaultIterableDiffers=new f.IterableDiffers(b.iterableDiff),b.defaultKeyValueDiffers=new g.KeyValueDiffers(b.keyValDiff),c.exports}),a.registerDynamic("289",["24d","9f"],!0,function(a,b,c){"use strict";function d(a,b){return e.isListLikeIterable(a)&&e.isListLikeIterable(b)?e.areIterablesEqual(a,b,d):e.isListLikeIterable(a)||f.isPrimitive(a)||e.isListLikeIterable(b)||f.isPrimitive(b)?f.looseIdentical(a,b):!0}var e=a("24d"),f=a("9f"),g=a("9f");b.looseIdentical=g.looseIdentical,b.uninitialized=new Object,b.devModeEqual=d;var h=function(){function a(a){this.wrapped=a}return a.wrap=function(b){return new a(b)},a}();b.WrappedValue=h;var i=function(){function a(){this.hasWrappedValue=!1}return a.prototype.unwrap=function(a){return a instanceof h?(this.hasWrappedValue=!0,a.wrapped):a},a.prototype.reset=function(){this.hasWrappedValue=!1},a}();b.ValueUnwrapper=i;var j=function(){function a(a,b){this.previousValue=a,this.currentValue=b}return a.prototype.isFirstChange=function(){return this.previousValue===b.uninitialized},a}();return b.SimpleChange=j,c.exports}),a.registerDynamic("23e",["9f"],!0,function(a,b,c){"use strict";var d=a("9f"),e=function(){function a(a){this.token=a}return a.prototype.toString=function(){return"@Inject("+d.stringify(this.token)+")"},a}();b.InjectMetadata=e;var f=function(){function a(){}return a.prototype.toString=function(){return"@Optional()"},a}();b.OptionalMetadata=f;var g=function(){function a(){}return Object.defineProperty(a.prototype,"token",{get:function(){return null},enumerable:!0,configurable:!0}),a}();b.DependencyMetadata=g;var h=function(){function a(){}return a}();b.InjectableMetadata=h;var i=function(){function a(){}return a.prototype.toString=function(){return"@Self()"},a}();b.SelfMetadata=i;var j=function(){function a(){}return a.prototype.toString=function(){return"@SkipSelf()"},a}();b.SkipSelfMetadata=j;var k=function(){function a(){}return a.prototype.toString=function(){return"@Host()"},a}();return b.HostMetadata=k,c.exports}),a.registerDynamic("263",["244","23e"],!0,function(a,b,c){"use strict";var d=a("244"),e=a("23e");return b.Inject=d.makeParamDecorator(e.InjectMetadata),b.Optional=d.makeParamDecorator(e.OptionalMetadata),b.Injectable=d.makeDecorator(e.InjectableMetadata),b.Self=d.makeParamDecorator(e.SelfMetadata),b.Host=d.makeParamDecorator(e.HostMetadata),b.SkipSelf=d.makeParamDecorator(e.SkipSelfMetadata),c.exports}),a.registerDynamic("254",[],!0,function(a,b,c){"use strict";var d=function(){function a(a){this.nativeElement=a}return a}();return b.ElementRef=d,c.exports}),a.registerDynamic("28a",["9f"],!0,function(a,b,c){"use strict";function d(){var a=k.global.wtf;return a&&(i=a.trace)?(j=i.events,!0):!1}function e(a,b){return void 0===b&&(b=null),j.createScope(a,b)}function f(a,b){return i.leaveScope(a,b),b}function g(a,b){return i.beginTimeRange(a,b)}function h(a){i.endTimeRange(a)}var i,j,k=a("9f");return b.detectWTF=d,b.createScope=e,b.leave=f,b.startTimeRange=g,b.endTimeRange=h,c.exports}),a.registerDynamic("266",["28a"],!0,function(a,b,c){"use strict";function d(a,b){return null}var e=a("28a");return b.wtfEnabled=e.detectWTF(),b.wtfCreateScope=b.wtfEnabled?e.createScope:function(a,b){return d},b.wtfLeave=b.wtfEnabled?e.leave:function(a,b){return b},b.wtfStartTimeRange=b.wtfEnabled?e.startTimeRange:function(a,b){return null},b.wtfEndTimeRange=b.wtfEnabled?e.endTimeRange:function(a){return null},c.exports}),a.registerDynamic("257",["24d","e8","9f","266"],!0,function(a,b,c){"use strict";var d=a("24d"),e=a("e8"),f=a("9f"),g=a("266"),h=function(){function a(){}return Object.defineProperty(a.prototype,"element",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"injector",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"parentInjector",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"length",{get:function(){return e.unimplemented()},enumerable:!0,configurable:!0}),a}();b.ViewContainerRef=h;var i=function(){function a(a){this._element=a,this._createComponentInContainerScope=g.wtfCreateScope("ViewContainerRef#createComponent()"),this._insertScope=g.wtfCreateScope("ViewContainerRef#insert()"),this._removeScope=g.wtfCreateScope("ViewContainerRef#remove()"),this._detachScope=g.wtfCreateScope("ViewContainerRef#detach()")}return a.prototype.get=function(a){return this._element.nestedViews[a].ref},Object.defineProperty(a.prototype,"length",{get:function(){var a=this._element.nestedViews;return f.isPresent(a)?a.length:0},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"element",{get:function(){return this._element.elementRef},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"injector",{get:function(){return this._element.injector},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"parentInjector",{get:function(){return this._element.parentInjector;
|
||
},enumerable:!0,configurable:!0}),a.prototype.createEmbeddedView=function(a,b,c){void 0===b&&(b=null),void 0===c&&(c=-1);var d=a.createEmbeddedView(b);return this.insert(d,c),d},a.prototype.createComponent=function(a,b,c,d){void 0===b&&(b=-1),void 0===c&&(c=null),void 0===d&&(d=null);var e=this._createComponentInContainerScope(),h=f.isPresent(c)?c:this._element.parentInjector,i=a.create(h,d);return this.insert(i.hostView,b),g.wtfLeave(e,i)},a.prototype.insert=function(a,b){void 0===b&&(b=-1);var c=this._insertScope();-1==b&&(b=this.length);var d=a;return this._element.attachView(d.internalView,b),g.wtfLeave(c,d)},a.prototype.indexOf=function(a){return d.ListWrapper.indexOf(this._element.nestedViews,a.internalView)},a.prototype.remove=function(a){void 0===a&&(a=-1);var b=this._removeScope();-1==a&&(a=this.length-1);var c=this._element.detachView(a);c.destroy(),g.wtfLeave(b)},a.prototype.detach=function(a){void 0===a&&(a=-1);var b=this._detachScope();-1==a&&(a=this.length-1);var c=this._element.detachView(a);return g.wtfLeave(b,c.ref)},a.prototype.clear=function(){for(var a=this.length-1;a>=0;a--)this.remove(a)},a}();return b.ViewContainerRef_=i,c.exports}),a.registerDynamic("276",[],!0,function(a,b,c){"use strict";!function(a){a[a.HOST=0]="HOST",a[a.COMPONENT=1]="COMPONENT",a[a.EMBEDDED=2]="EMBEDDED"}(b.ViewType||(b.ViewType={}));b.ViewType;return c.exports}),a.registerDynamic("27d",["24d","e8","9f","254","257","276"],!0,function(a,b,c){"use strict";var d=a("24d"),e=a("e8"),f=a("9f"),g=a("254"),h=a("257"),i=a("276"),j=function(){function a(a,b,c,d){this.index=a,this.parentIndex=b,this.parentView=c,this.nativeElement=d,this.nestedViews=null,this.componentView=null}return Object.defineProperty(a.prototype,"elementRef",{get:function(){return new g.ElementRef(this.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"vcRef",{get:function(){return new h.ViewContainerRef_(this)},enumerable:!0,configurable:!0}),a.prototype.initComponent=function(a,b,c){this.component=a,this.componentConstructorViewQueries=b,this.componentView=c},Object.defineProperty(a.prototype,"parentInjector",{get:function(){return this.parentView.injector(this.parentIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"injector",{get:function(){return this.parentView.injector(this.index)},enumerable:!0,configurable:!0}),a.prototype.mapNestedViews=function(a,b){var c=[];return f.isPresent(this.nestedViews)&&this.nestedViews.forEach(function(d){d.clazz===a&&c.push(b(d))}),c},a.prototype.attachView=function(a,b){if(a.type===i.ViewType.COMPONENT)throw new e.BaseException("Component views can't be moved!");var c=this.nestedViews;null==c&&(c=[],this.nestedViews=c),d.ListWrapper.insert(c,b,a);var g;if(b>0){var h=c[b-1];g=h.lastRootNode}else g=this.nativeElement;f.isPresent(g)&&a.renderer.attachViewAfter(g,a.flatRootNodes),a.addToContentChildren(this)},a.prototype.detachView=function(a){var b=d.ListWrapper.removeAt(this.nestedViews,a);if(b.type===i.ViewType.COMPONENT)throw new e.BaseException("Component views can't be moved!");return b.detach(),b.removeFromContentChildren(this),b},a}();return b.AppElement=j,c.exports}),a.registerDynamic("255",["e8"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("e8"),f=function(a){function b(b,c,d){a.call(this,"Expression has changed after it was checked. "+("Previous value: '"+b+"'. Current value: '"+c+"'"))}return d(b,a),b}(e.BaseException);b.ExpressionChangedAfterItHasBeenCheckedException=f;var g=function(a){function b(b,c,d){a.call(this,"Error in "+d.source,b,c,d)}return d(b,a),b}(e.WrappedException);b.ViewWrappedException=g;var h=function(a){function b(b){a.call(this,"Attempt to use a destroyed view: "+b)}return d(b,a),b}(e.BaseException);return b.ViewDestroyedException=h,c.exports}),a.registerDynamic("269",["265","25a","289","263","24d","e8","9f","249","28b","27d","255"],!0,function(a,b,c){"use strict";function d(a){return e(a,[])}function e(a,b){for(var c=0;c<a.length;c++){var d=a[c];if(d instanceof F.AppElement){var f=d;if(b.push(f.nativeElement),C.isPresent(f.nestedViews))for(var g=0;g<f.nestedViews.length;g++)e(f.nestedViews[g].rootNodesOrAppElements,b)}else b.push(d)}return b}function f(a,b){var c;if(C.isBlank(a))c=I;else if(a.length<b){var d=a.length;c=A.ListWrapper.createFixedSize(b);for(var e=0;b>e;e++)c[e]=d>e?a[e]:I}else c=a;return c}function g(a,b,c,d,e,f,g,i,j,k,l,m,n,o,p,q,r,s,t,u){switch(a){case 1:return b+h(c)+d;case 2:return b+h(c)+d+h(e)+f;case 3:return b+h(c)+d+h(e)+f+h(g)+i;case 4:return b+h(c)+d+h(e)+f+h(g)+i+h(j)+k;case 5:return b+h(c)+d+h(e)+f+h(g)+i+h(j)+k+h(l)+m;case 6:return b+h(c)+d+h(e)+f+h(g)+i+h(j)+k+h(l)+m+h(n)+o;case 7:return b+h(c)+d+h(e)+f+h(g)+i+h(j)+k+h(l)+m+h(n)+o+h(p)+q;case 8:return b+h(c)+d+h(e)+f+h(g)+i+h(j)+k+h(l)+m+h(n)+o+h(p)+q+h(r)+s;case 9:return b+h(c)+d+h(e)+f+h(g)+i+h(j)+k+h(l)+m+h(n)+o+h(p)+q+h(r)+s+h(t)+u;default:throw new B.BaseException("Does not support more than 9 expressions")}}function h(a){return null!=a?a.toString():""}function i(a,b,c){if(a){if(!x.devModeEqual(b,c))throw new G.ExpressionChangedAfterItHasBeenCheckedException(b,c,null);return!1}return!C.looseIdentical(b,c)}function j(a,b){if(a.length!=b.length)return!1;for(var c=0;c<a.length;++c)if(!C.looseIdentical(a[c],b[c]))return!1;return!0}function k(a,b){var c=A.StringMapWrapper.keys(a),d=A.StringMapWrapper.keys(b);if(c.length!=d.length)return!1;for(var e,f=0;f<c.length;f++)if(e=c[f],!C.looseIdentical(a[e],b[e]))return!1;return!0}function l(a,b){return a}function m(a){var b,c;return c=y.uninitialized,function(d){return C.looseIdentical(c,d)||(c=d,b=a(d)),b}}function n(a){var b,c,d;return c=d=y.uninitialized,function(e,f){return C.looseIdentical(c,e)&&C.looseIdentical(d,f)||(c=e,d=f,b=a(e,f)),b}}function o(a){var b,c,d,e;return c=d=e=y.uninitialized,function(f,g,h){return C.looseIdentical(c,f)&&C.looseIdentical(d,g)&&C.looseIdentical(e,h)||(c=f,d=g,e=h,b=a(f,g,h)),b}}function p(a){var b,c,d,e,f;return c=d=e=f=y.uninitialized,function(g,h,i,j){return C.looseIdentical(c,g)&&C.looseIdentical(d,h)&&C.looseIdentical(e,i)&&C.looseIdentical(f,j)||(c=g,d=h,e=i,f=j,b=a(g,h,i,j)),b}}function q(a){var b,c,d,e,f,g;return c=d=e=f=g=y.uninitialized,function(h,i,j,k,l){return C.looseIdentical(c,h)&&C.looseIdentical(d,i)&&C.looseIdentical(e,j)&&C.looseIdentical(f,k)&&C.looseIdentical(g,l)||(c=h,d=i,e=j,f=k,g=l,b=a(h,i,j,k,l)),b}}function r(a){var b,c,d,e,f,g,h;return c=d=e=f=g=h=y.uninitialized,function(i,j,k,l,m,n){return C.looseIdentical(c,i)&&C.looseIdentical(d,j)&&C.looseIdentical(e,k)&&C.looseIdentical(f,l)&&C.looseIdentical(g,m)&&C.looseIdentical(h,n)||(c=i,d=j,e=k,f=l,g=m,h=n,b=a(i,j,k,l,m,n)),b}}function s(a){var b,c,d,e,f,g,h,i;return c=d=e=f=g=h=i=y.uninitialized,function(j,k,l,m,n,o,p){return C.looseIdentical(c,j)&&C.looseIdentical(d,k)&&C.looseIdentical(e,l)&&C.looseIdentical(f,m)&&C.looseIdentical(g,n)&&C.looseIdentical(h,o)&&C.looseIdentical(i,p)||(c=j,d=k,e=l,f=m,g=n,h=o,i=p,b=a(j,k,l,m,n,o,p)),b}}function t(a){var b,c,d,e,f,g,h,i,j;return c=d=e=f=g=h=i=j=y.uninitialized,function(k,l,m,n,o,p,q,r){return C.looseIdentical(c,k)&&C.looseIdentical(d,l)&&C.looseIdentical(e,m)&&C.looseIdentical(f,n)&&C.looseIdentical(g,o)&&C.looseIdentical(h,p)&&C.looseIdentical(i,q)&&C.looseIdentical(j,r)||(c=k,d=l,e=m,f=n,g=o,h=p,i=q,j=r,b=a(k,l,m,n,o,p,q,r)),b}}function u(a){var b,c,d,e,f,g,h,i,j,k;return c=d=e=f=g=h=i=j=k=y.uninitialized,function(l,m,n,o,p,q,r,s,t){return C.looseIdentical(c,l)&&C.looseIdentical(d,m)&&C.looseIdentical(e,n)&&C.looseIdentical(f,o)&&C.looseIdentical(g,p)&&C.looseIdentical(h,q)&&C.looseIdentical(i,r)&&C.looseIdentical(j,s)&&C.looseIdentical(k,t)||(c=l,d=m,e=n,f=o,g=p,h=q,i=r,j=s,k=t,b=a(l,m,n,o,p,q,r,s,t)),b}}function v(a){var b,c,d,e,f,g,h,i,j,k,l;return c=d=e=f=g=h=i=j=k=l=y.uninitialized,function(m,n,o,p,q,r,s,t,u,v){return C.looseIdentical(c,m)&&C.looseIdentical(d,n)&&C.looseIdentical(e,o)&&C.looseIdentical(f,p)&&C.looseIdentical(g,q)&&C.looseIdentical(h,r)&&C.looseIdentical(i,s)&&C.looseIdentical(j,t)&&C.looseIdentical(k,u)&&C.looseIdentical(l,v)||(c=m,d=n,e=o,f=p,g=q,h=r,i=s,j=t,k=u,l=v,b=a(m,n,o,p,q,r,s,t,u,v)),b}}var w=a("265"),x=a("25a"),y=a("289"),z=a("263"),A=a("24d"),B=a("e8"),C=a("9f"),D=a("249"),E=a("28b"),F=a("27d"),G=a("255"),H=function(){function a(a,b,c){this._renderer=a,this._appId=b,this._nextCompTypeId=0,this.sanitizer=c}return a.prototype.createRenderComponentType=function(a,b,c,d){return new D.RenderComponentType(this._appId+"-"+this._nextCompTypeId++,a,b,c,d)},a.prototype.renderComponent=function(a){return this._renderer.renderComponent(a)},a.decorators=[{type:z.Injectable}],a.ctorParameters=[{type:D.RootRenderer},{type:void 0,decorators:[{type:z.Inject,args:[w.APP_ID]}]},{type:E.SanitizationService}],a}();b.ViewUtils=H,b.flattenNestedViewRenderNodes=d;var I=[];return b.ensureSlotCount=f,b.MAX_INTERPOLATION_VALUES=9,b.interpolate=g,b.checkBinding=i,b.arrayLooseIdentical=j,b.mapLooseIdentical=k,b.castByValue=l,b.EMPTY_ARRAY=[],b.EMPTY_MAP={},b.pureProxy1=m,b.pureProxy2=n,b.pureProxy3=o,b.pureProxy4=p,b.pureProxy5=q,b.pureProxy6=r,b.pureProxy7=s,b.pureProxy8=t,b.pureProxy9=u,b.pureProxy10=v,c.exports}),a.registerDynamic("243",[],!0,function(a,b,c){"use strict";!function(a){a[a.OnInit=0]="OnInit",a[a.OnDestroy=1]="OnDestroy",a[a.DoCheck=2]="DoCheck",a[a.OnChanges=3]="OnChanges",a[a.AfterContentInit=4]="AfterContentInit",a[a.AfterContentChecked=5]="AfterContentChecked",a[a.AfterViewInit=6]="AfterViewInit",a[a.AfterViewChecked=7]="AfterViewChecked"}(b.LifecycleHooks||(b.LifecycleHooks={}));var d=b.LifecycleHooks;b.LIFECYCLE_HOOKS_VALUES=[d.OnInit,d.OnDestroy,d.DoCheck,d.OnChanges,d.AfterContentInit,d.AfterContentChecked,d.AfterViewInit,d.AfterViewChecked];var e=function(){function a(){}return a}();b.OnChanges=e;var f=function(){function a(){}return a}();b.OnInit=f;var g=function(){function a(){}return a}();b.DoCheck=g;var h=function(){function a(){}return a}();b.OnDestroy=h;var i=function(){function a(){}return a}();b.AfterContentInit=i;var j=function(){function a(){}return a}();b.AfterContentChecked=j;var k=function(){function a(){}return a}();b.AfterViewInit=k;var l=function(){function a(){}return a}();return b.AfterViewChecked=l,c.exports}),a.registerDynamic("242",["45"],!0,function(a,b,c){return function(a){"use strict";!function(a){a[a.Emulated=0]="Emulated",a[a.Native=1]="Native",a[a.None=2]="None"}(b.ViewEncapsulation||(b.ViewEncapsulation={}));var c=b.ViewEncapsulation;b.VIEW_ENCAPSULATION_VALUES=[c.Emulated,c.Native,c.None];var d=function(){function a(a){var b=void 0===a?{}:a,c=b.templateUrl,d=b.template,e=b.directives,f=b.pipes,g=b.encapsulation,h=b.styles,i=b.styleUrls,j=b.animations,k=b.interpolation;this.templateUrl=c,this.template=d,this.styleUrls=i,this.styles=h,this.directives=e,this.pipes=f,this.encapsulation=g,this.animations=j,this.interpolation=k}return a}();b.ViewMetadata=d}(a("45")),c.exports}),a.registerDynamic("28c",[],!0,function(a,b,c){"use strict";function d(){}return b.wtfInit=d,c.exports}),a.registerDynamic("28d",["24d","e8","9f","261"],!0,function(a,b,c){"use strict";function d(a,b){f.StringMapWrapper.forEach(b,function(b,c){return a.set(c,b)})}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("24d"),g=a("e8"),h=a("9f"),i=a("261"),j=function(){function a(a,b,c,d,e){this.annotations=a,this.parameters=b,this.factory=c,this.interfaces=d,this.propMetadata=e}return a}();b.ReflectionInfo=j;var k=function(a){function b(b){a.call(this),this._injectableInfo=new f.Map,this._getters=new f.Map,this._setters=new f.Map,this._methods=new f.Map,this._usedKeys=null,this.reflectionCapabilities=b}return e(b,a),b.prototype.updateCapabilities=function(a){this.reflectionCapabilities=a},b.prototype.isReflectionEnabled=function(){return this.reflectionCapabilities.isReflectionEnabled()},b.prototype.trackUsage=function(){this._usedKeys=new f.Set},b.prototype.listUnusedKeys=function(){var a=this;if(null==this._usedKeys)throw new g.BaseException("Usage tracking is disabled");var b=f.MapWrapper.keys(this._injectableInfo);return b.filter(function(b){return!f.SetWrapper.has(a._usedKeys,b)})},b.prototype.registerFunction=function(a,b){this._injectableInfo.set(a,b)},b.prototype.registerType=function(a,b){this._injectableInfo.set(a,b)},b.prototype.registerGetters=function(a){d(this._getters,a)},b.prototype.registerSetters=function(a){d(this._setters,a)},b.prototype.registerMethods=function(a){d(this._methods,a)},b.prototype.factory=function(a){if(this._containsReflectionInfo(a)){var b=this._getReflectionInfo(a).factory;return h.isPresent(b)?b:null}return this.reflectionCapabilities.factory(a)},b.prototype.parameters=function(a){if(this._injectableInfo.has(a)){var b=this._getReflectionInfo(a).parameters;return h.isPresent(b)?b:[]}return this.reflectionCapabilities.parameters(a)},b.prototype.annotations=function(a){if(this._injectableInfo.has(a)){var b=this._getReflectionInfo(a).annotations;return h.isPresent(b)?b:[]}return this.reflectionCapabilities.annotations(a)},b.prototype.propMetadata=function(a){if(this._injectableInfo.has(a)){var b=this._getReflectionInfo(a).propMetadata;return h.isPresent(b)?b:{}}return this.reflectionCapabilities.propMetadata(a)},b.prototype.interfaces=function(a){if(this._injectableInfo.has(a)){var b=this._getReflectionInfo(a).interfaces;return h.isPresent(b)?b:[]}return this.reflectionCapabilities.interfaces(a)},b.prototype.hasLifecycleHook=function(a,b,c){var d=this.interfaces(a);return-1!==d.indexOf(b)?!0:this.reflectionCapabilities.hasLifecycleHook(a,b,c)},b.prototype.getter=function(a){return this._getters.has(a)?this._getters.get(a):this.reflectionCapabilities.getter(a)},b.prototype.setter=function(a){return this._setters.has(a)?this._setters.get(a):this.reflectionCapabilities.setter(a)},b.prototype.method=function(a){return this._methods.has(a)?this._methods.get(a):this.reflectionCapabilities.method(a)},b.prototype._getReflectionInfo=function(a){return h.isPresent(this._usedKeys)&&this._usedKeys.add(a),this._injectableInfo.get(a)},b.prototype._containsReflectionInfo=function(a){return this._injectableInfo.has(a)},b.prototype.importUri=function(a){return this.reflectionCapabilities.importUri(a)},b}(i.ReflectorReader);return b.Reflector=k,c.exports}),a.registerDynamic("260",["28e","28d"],!0,function(a,b,c){"use strict";var d=a("28e"),e=a("28d"),f=a("28d");return b.ReflectionInfo=f.ReflectionInfo,b.Reflector=f.Reflector,b.reflector=new e.Reflector(new d.ReflectionCapabilities),c.exports}),a.registerDynamic("28e",["9f"],!0,function(a,b,c){"use strict";function d(a){return a?a.map(function(a){var b=a.type,c=b.annotationCls,d=a.args?a.args:[],e=Object.create(c.prototype);return c.apply(e,d),e}):[]}var e=a("9f"),f=function(){function a(a){this._reflect=e.isPresent(a)?a:e.global.Reflect}return a.prototype.isReflectionEnabled=function(){return!0},a.prototype.factory=function(a){switch(a.length){case 0:return function(){return new a};case 1:return function(b){return new a(b)};case 2:return function(b,c){return new a(b,c)};case 3:return function(b,c,d){return new a(b,c,d)};case 4:return function(b,c,d,e){return new a(b,c,d,e)};case 5:return function(b,c,d,e,f){return new a(b,c,d,e,f)};case 6:return function(b,c,d,e,f,g){return new a(b,c,d,e,f,g)};case 7:return function(b,c,d,e,f,g,h){return new a(b,c,d,e,f,g,h)};case 8:return function(b,c,d,e,f,g,h,i){return new a(b,c,d,e,f,g,h,i)};case 9:return function(b,c,d,e,f,g,h,i,j){return new a(b,c,d,e,f,g,h,i,j)};case 10:return function(b,c,d,e,f,g,h,i,j,k){return new a(b,c,d,e,f,g,h,i,j,k)};case 11:return function(b,c,d,e,f,g,h,i,j,k,l){return new a(b,c,d,e,f,g,h,i,j,k,l)};case 12:return function(b,c,d,e,f,g,h,i,j,k,l,m){return new a(b,c,d,e,f,g,h,i,j,k,l,m)};case 13:return function(b,c,d,e,f,g,h,i,j,k,l,m,n){return new a(b,c,d,e,f,g,h,i,j,k,l,m,n)};case 14:return function(b,c,d,e,f,g,h,i,j,k,l,m,n,o){return new a(b,c,d,e,f,g,h,i,j,k,l,m,n,o)};case 15:return function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){return new a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)};case 16:return function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){return new a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q)};case 17:return function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){return new a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r)};case 18:return function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){return new a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s)};case 19:return function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t){return new a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)};case 20:return function(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u){return new a(b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u)}}throw new Error("Cannot create a factory for '"+e.stringify(a)+"' because its constructor has more than 20 arguments")},a.prototype._zipTypesAndAnnotations=function(a,b){var c;c="undefined"==typeof a?new Array(b.length):new Array(a.length);for(var d=0;d<c.length;d++)"undefined"==typeof a?c[d]=[]:a[d]!=Object?c[d]=[a[d]]:c[d]=[],e.isPresent(b)&&e.isPresent(b[d])&&(c[d]=c[d].concat(b[d]));return c},a.prototype.parameters=function(a){if(e.isPresent(a.parameters))return a.parameters;if(e.isPresent(a.ctorParameters)){var b=a.ctorParameters,c=b.map(function(a){return a&&a.type}),f=b.map(function(a){return a&&d(a.decorators)});return this._zipTypesAndAnnotations(c,f)}if(e.isPresent(this._reflect)&&e.isPresent(this._reflect.getMetadata)){var g=this._reflect.getMetadata("parameters",a),h=this._reflect.getMetadata("design:paramtypes",a);if(e.isPresent(h)||e.isPresent(g))return this._zipTypesAndAnnotations(h,g)}var i=new Array(a.length);return i.fill(void 0),i},a.prototype.annotations=function(a){if(e.isPresent(a.annotations)){var b=a.annotations;return e.isFunction(b)&&b.annotations&&(b=b.annotations),b}if(e.isPresent(a.decorators))return d(a.decorators);if(e.isPresent(this._reflect)&&e.isPresent(this._reflect.getMetadata)){var b=this._reflect.getMetadata("annotations",a);if(e.isPresent(b))return b}return[]},a.prototype.propMetadata=function(a){if(e.isPresent(a.propMetadata)){var b=a.propMetadata;return e.isFunction(b)&&b.propMetadata&&(b=b.propMetadata),b}if(e.isPresent(a.propDecorators)){var c=a.propDecorators,f={};return Object.keys(c).forEach(function(a){f[a]=d(c[a])}),f}if(e.isPresent(this._reflect)&&e.isPresent(this._reflect.getMetadata)){var b=this._reflect.getMetadata("propMetadata",a);if(e.isPresent(b))return b}return{}},a.prototype.interfaces=function(a){return[]},a.prototype.hasLifecycleHook=function(a,b,c){if(!(a instanceof e.Type))return!1;var d=a.prototype;return!!d[c]},a.prototype.getter=function(a){return new Function("o","return o."+a+";")},a.prototype.setter=function(a){return new Function("o","v","return o."+a+" = v;")},a.prototype.method=function(a){var b="if (!o."+a+") throw new Error('\""+a+"\" is undefined');\n return o."+a+".apply(o, args);";return new Function("o","args",b)},a.prototype.importUri=function(a){return"object"==typeof a&&a.filePath?a.filePath:"./"+e.stringify(a)},a}();return b.ReflectionCapabilities=f,c.exports}),a.registerDynamic("261",[],!0,function(a,b,c){"use strict";var d=function(){function a(){}return a}();return b.ReflectorReader=d,c.exports}),a.registerDynamic("249",["e8"],!0,function(a,b,c){"use strict";var d=a("e8"),e=function(){function a(a,b,c,d,e){this.id=a,this.templateUrl=b,this.slotCount=c,this.encapsulation=d,this.styles=e}return a}();b.RenderComponentType=e;var f=function(){function a(){}return Object.defineProperty(a.prototype,"injector",{get:function(){return d.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"component",{get:function(){return d.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"providerTokens",{get:function(){return d.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"references",{get:function(){return d.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"context",{get:function(){return d.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"source",{get:function(){return d.unimplemented()},enumerable:!0,configurable:!0}),a}();b.RenderDebugInfo=f;var g=function(){function a(){}return a}();b.Renderer=g;var h=function(){function a(){}return a}();return b.RootRenderer=h,c.exports}),a.registerDynamic("28b",[],!0,function(a,b,c){"use strict";!function(a){a[a.NONE=0]="NONE",a[a.HTML=1]="HTML",a[a.STYLE=2]="STYLE",a[a.SCRIPT=3]="SCRIPT",a[a.URL=4]="URL",a[a.RESOURCE_URL=5]="RESOURCE_URL"}(b.SecurityContext||(b.SecurityContext={}));var d=(b.SecurityContext,function(){function a(){}return a}());return b.SanitizationService=d,c.exports}),a.registerDynamic("244",["9f"],!0,function(a,b,c){"use strict";function d(a){return j.isFunction(a)&&a.hasOwnProperty("annotation")&&(a=a.annotation),a}function e(a,b){if(a===Object||a===String||a===Function||a===Number||a===Array)throw new Error("Can not use native "+j.stringify(a)+" as constructor");if(j.isFunction(a))return a;if(a instanceof Array){var c=a,e=a[a.length-1];if(!j.isFunction(e))throw new Error("Last position of Class method array must be Function in key "+b+" was '"+j.stringify(e)+"'");var f=c.length-1;if(f!=e.length)throw new Error("Number of annotations ("+f+") does not match number of arguments ("+e.length+") in the function: "+j.stringify(e));for(var g=[],h=0,i=c.length-1;i>h;h++){var k=[];g.push(k);var m=c[h];if(m instanceof Array)for(var n=0;n<m.length;n++)k.push(d(m[n]));else j.isFunction(m)?k.push(d(m)):k.push(m)}return l.defineMetadata("parameters",g,e),e}throw new Error("Only Function or Array is supported in Class definition for key '"+b+"' is '"+j.stringify(a)+"'")}function f(a){var b=e(a.hasOwnProperty("constructor")?a.constructor:void 0,"constructor"),c=b.prototype;if(a.hasOwnProperty("extends")){if(!j.isFunction(a["extends"]))throw new Error("Class definition 'extends' property must be a constructor function was: "+j.stringify(a["extends"]));b.prototype=c=Object.create(a["extends"].prototype)}for(var d in a)"extends"!=d&&"prototype"!=d&&a.hasOwnProperty(d)&&(c[d]=e(a[d],d));return this&&this.annotations instanceof Array&&l.defineMetadata("annotations",this.annotations,b),b.name||(b.overriddenName="class"+k++),b}function g(a,b){function c(c){var d=new a(c);if(this instanceof a)return d;var e=j.isFunction(this)&&this.annotations instanceof Array?this.annotations:[];e.push(d);var g=function(a){var b=l.getOwnMetadata("annotations",a);return b=b||[],b.push(d),l.defineMetadata("annotations",b,a),a};return g.annotations=e,g.Class=f,b&&b(g),g}return void 0===b&&(b=null),c.prototype=Object.create(a.prototype),c.annotationCls=a,c}function h(a){function b(){function b(a,b,c){var d=l.getMetadata("parameters",a);for(d=d||[];d.length<=c;)d.push(null);d[c]=d[c]||[];var f=d[c];return f.push(e),l.defineMetadata("parameters",d,a),a}for(var c=[],d=0;d<arguments.length;d++)c[d-0]=arguments[d];var e=Object.create(a.prototype);return a.apply(e,c),this instanceof a?e:(b.annotation=e,b)}return b.prototype=Object.create(a.prototype),b.annotationCls=a,b}function i(a){function b(){for(var b=[],c=0;c<arguments.length;c++)b[c-0]=arguments[c];var d=Object.create(a.prototype);return a.apply(d,b),this instanceof a?d:function(a,b){var c=l.getOwnMetadata("propMetadata",a.constructor);c=c||{},c[b]=c[b]||[],c[b].unshift(d),l.defineMetadata("propMetadata",c,a.constructor)}}return b.prototype=Object.create(a.prototype),b.annotationCls=a,b}var j=a("9f"),k=0;b.Class=f;var l=j.global.Reflect;return function(){if(!l||!l.getMetadata)throw"reflect-metadata shim is required when using class decorators"}(),b.makeDecorator=g,b.makeParamDecorator=h,b.makePropDecorator=i,c.exports}),a.registerDynamic("28f",["26e","26a","27a","26c","26b","26d","26f","271","289","240","25f","273","285","283","251","252","275","27d","256","27c","276","269","243","242","28c","260","28e","261","249","28b","244"],!0,function(a,b,c){"use strict";var d=a("26e"),e=a("26a"),f=a("27a"),g=a("26c"),h=a("26b"),i=a("26d"),j=a("26f"),k=a("271"),l=a("289"),m=a("240"),n=a("25f"),o=a("273"),p=a("285"),q=a("283"),r=a("251"),s=a("252"),t=a("275"),u=a("27d"),v=a("256"),w=a("27c"),x=a("276"),y=a("269"),z=a("243"),A=a("242"),B=a("28c"),C=a("260"),D=a("28e"),E=a("261"),F=a("249"),G=a("28b"),H=a("244");return b.__core_private__={isDefaultChangeDetectionStrategy:m.isDefaultChangeDetectionStrategy,ChangeDetectorStatus:m.ChangeDetectorStatus,CHANGE_DETECTION_STRATEGY_VALUES:m.CHANGE_DETECTION_STRATEGY_VALUES,constructDependencies:q.constructDependencies,LifecycleHooks:z.LifecycleHooks,LIFECYCLE_HOOKS_VALUES:z.LIFECYCLE_HOOKS_VALUES,ReflectorReader:E.ReflectorReader,ReflectorComponentResolver:s.ReflectorComponentResolver,CodegenComponentFactoryResolver:r.CodegenComponentFactoryResolver,AppElement:u.AppElement,AppView:w.AppView,DebugAppView:w.DebugAppView,ViewType:x.ViewType,MAX_INTERPOLATION_VALUES:y.MAX_INTERPOLATION_VALUES,checkBinding:y.checkBinding,flattenNestedViewRenderNodes:y.flattenNestedViewRenderNodes,interpolate:y.interpolate,ViewUtils:y.ViewUtils,VIEW_ENCAPSULATION_VALUES:A.VIEW_ENCAPSULATION_VALUES,DebugContext:t.DebugContext,StaticNodeDebugInfo:t.StaticNodeDebugInfo,devModeEqual:l.devModeEqual,uninitialized:l.uninitialized,ValueUnwrapper:l.ValueUnwrapper,RenderDebugInfo:F.RenderDebugInfo,SecurityContext:G.SecurityContext,SanitizationService:G.SanitizationService,TemplateRef_:v.TemplateRef_,wtfInit:B.wtfInit,ReflectionCapabilities:D.ReflectionCapabilities,makeDecorator:H.makeDecorator,DebugDomRootRenderer:o.DebugDomRootRenderer,createProvider:p.createProvider,isProviderLiteral:p.isProviderLiteral,EMPTY_ARRAY:y.EMPTY_ARRAY,EMPTY_MAP:y.EMPTY_MAP,pureProxy1:y.pureProxy1,pureProxy2:y.pureProxy2,pureProxy3:y.pureProxy3,pureProxy4:y.pureProxy4,pureProxy5:y.pureProxy5,pureProxy6:y.pureProxy6,pureProxy7:y.pureProxy7,pureProxy8:y.pureProxy8,pureProxy9:y.pureProxy9,pureProxy10:y.pureProxy10,castByValue:y.castByValue,Console:n.Console,reflector:C.reflector,Reflector:C.Reflector,NoOpAnimationPlayer:h.NoOpAnimationPlayer,AnimationPlayer:h.AnimationPlayer,NoOpAnimationDriver:e.NoOpAnimationDriver,AnimationDriver:e.AnimationDriver,AnimationSequencePlayer:i.AnimationSequencePlayer,AnimationGroupPlayer:f.AnimationGroupPlayer,AnimationKeyframe:g.AnimationKeyframe,prepareFinalAnimationStyles:j.prepareFinalAnimationStyles,balanceAnimationKeyframes:j.balanceAnimationKeyframes,flattenStyles:j.flattenStyles,clearStyles:j.clearStyles,renderStyles:j.renderStyles,collectAndResolveStyles:j.collectAndResolveStyles,AnimationStyles:k.AnimationStyles,ANY_STATE:d.ANY_STATE,DEFAULT_STATE:d.DEFAULT_STATE,EMPTY_STATE:d.EMPTY_STATE,FILL_STYLE_FLAG:d.FILL_STYLE_FLAG},c.exports}),a.registerDynamic("270",["e8","9f"],!0,function(a,b,c){"use strict";function d(a,b){void 0===b&&(b=null);var c=b;if(!n.isPresent(c)){var d={};c=new u([d],1)}return new v(a,c)}function e(a){return new y(a)}function f(a){return new x(a)}function g(a){var b,c=null;return n.isString(a)?b=[a]:(b=n.isArray(a)?a:[a],b.forEach(function(a){var b=a.offset;n.isPresent(b)&&(c=null==c?n.NumberWrapper.parseFloat(b):c)})),new u(b,c)}function h(a,b){return new q(a,b)}function i(a){return new t(a)}function j(a,b){var c=n.isArray(b)?new x(b):b;return new r(a,c)}function k(a,b){return new o(a,b)}var l=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},m=a("e8"),n=a("9f");b.AUTO_STYLE="*";var o=function(){function a(a,b){this.name=a,this.definitions=b}return a}();b.AnimationEntryMetadata=o;var p=function(){function a(){}return a}();b.AnimationStateMetadata=p;var q=function(a){function b(b,c){a.call(this),this.stateNameExpr=b,this.styles=c}return l(b,a),b}(p);b.AnimationStateDeclarationMetadata=q;var r=function(a){function b(b,c){a.call(this),this.stateChangeExpr=b,this.steps=c}return l(b,a),b}(p);b.AnimationStateTransitionMetadata=r;var s=function(){function a(){}return a}();b.AnimationMetadata=s;var t=function(a){function b(b){a.call(this),this.steps=b}return l(b,a),b}(s);b.AnimationKeyframesSequenceMetadata=t;var u=function(a){function b(b,c){void 0===c&&(c=null),a.call(this),this.styles=b,this.offset=c}return l(b,a),b}(s);b.AnimationStyleMetadata=u;var v=function(a){function b(b,c){a.call(this),this.timings=b,this.styles=c}return l(b,a),b}(s);b.AnimationAnimateMetadata=v;var w=function(a){function b(){a.call(this)}return l(b,a),Object.defineProperty(b.prototype,"steps",{get:function(){throw new m.BaseException("NOT IMPLEMENTED: Base Class")},enumerable:!0,configurable:!0}),b}(s);b.AnimationWithStepsMetadata=w;var x=function(a){function b(b){a.call(this),this._steps=b}return l(b,a),Object.defineProperty(b.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),b}(w);b.AnimationSequenceMetadata=x;var y=function(a){function b(b){a.call(this),this._steps=b}return l(b,a),Object.defineProperty(b.prototype,"steps",{get:function(){return this._steps},enumerable:!0,configurable:!0}),b}(w);return b.AnimationGroupMetadata=y,b.animate=d,b.group=e,b.sequence=f,b.style=g,b.state=h,b.keyframes=i,b.transition=j,b.trigger=k,c.exports}),a.registerDynamic("290",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this,b)}return d(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return""},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return""},enumerable:!0,configurable:!0}),b}(Error);return b.BaseWrappedException=e,c.exports}),a.registerDynamic("24d",["9f"],!0,function(a,b,c){"use strict";function d(a,b){if(h.isPresent(a))for(var c=0;c<a.length;c++){var e=a[c];h.isArray(e)?d(e,b):b.push(e)}return b}function e(a){return h.isJsObject(a)?h.isArray(a)||!(a instanceof b.Map)&&h.getSymbolIterator()in a:!1}function f(a,b,c){for(var d=a[h.getSymbolIterator()](),e=b[h.getSymbolIterator()]();;){var f=d.next(),g=e.next();if(f.done&&g.done)return!0;if(f.done||g.done)return!1;if(!c(f.value,g.value))return!1}}function g(a,b){if(h.isArray(a))for(var c=0;c<a.length;c++)b(a[c]);else for(var d,e=a[h.getSymbolIterator()]();!(d=e.next()).done;)b(d.value)}var h=a("9f");b.Map=h.global.Map,b.Set=h.global.Set;var i=function(){try{if(1===new b.Map([[1,2]]).size)return function(a){return new b.Map(a)}}catch(a){}return function(a){for(var c=new b.Map,d=0;d<a.length;d++){var e=a[d];c.set(e[0],e[1])}return c}}(),j=function(){try{if(new b.Map(new b.Map))return function(a){return new b.Map(a)}}catch(a){}return function(a){var c=new b.Map;return a.forEach(function(a,b){c.set(b,a)}),c}}(),k=function(){return(new b.Map).keys().next?function(a){for(var b,c=a.keys();!(b=c.next()).done;)a.set(b.value,null)}:function(a){a.forEach(function(b,c){a.set(c,null)})}}(),l=function(){try{if((new b.Map).values().next)return function(a,b){return b?Array.from(a.values()):Array.from(a.keys())}}catch(a){}return function(a,b){var c=o.createFixedSize(a.size),d=0;return a.forEach(function(a,e){c[d]=b?a:e,d++}),c}}(),m=function(){function a(){}return a.clone=function(a){return j(a)},a.createFromStringMap=function(a){
|
||
var c=new b.Map;for(var d in a)c.set(d,a[d]);return c},a.toStringMap=function(a){var b={};return a.forEach(function(a,c){return b[c]=a}),b},a.createFromPairs=function(a){return i(a)},a.clearValues=function(a){k(a)},a.iterable=function(a){return a},a.keys=function(a){return l(a,!1)},a.values=function(a){return l(a,!0)},a}();b.MapWrapper=m;var n=function(){function a(){}return a.create=function(){return{}},a.contains=function(a,b){return a.hasOwnProperty(b)},a.get=function(a,b){return a.hasOwnProperty(b)?a[b]:void 0},a.set=function(a,b,c){a[b]=c},a.keys=function(a){return Object.keys(a)},a.values=function(a){return Object.keys(a).reduce(function(b,c){return b.push(a[c]),b},[])},a.isEmpty=function(a){for(var b in a)return!1;return!0},a["delete"]=function(a,b){delete a[b]},a.forEach=function(a,b){for(var c in a)a.hasOwnProperty(c)&&b(a[c],c)},a.merge=function(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);return c},a.equals=function(a,b){var c=Object.keys(a),d=Object.keys(b);if(c.length!=d.length)return!1;for(var e,f=0;f<c.length;f++)if(e=c[f],a[e]!==b[e])return!1;return!0},a}();b.StringMapWrapper=n;var o=function(){function a(){}return a.createFixedSize=function(a){return new Array(a)},a.createGrowableSize=function(a){return new Array(a)},a.clone=function(a){return a.slice(0)},a.forEachWithIndex=function(a,b){for(var c=0;c<a.length;c++)b(a[c],c)},a.first=function(a){return a?a[0]:null},a.last=function(a){return a&&0!=a.length?a[a.length-1]:null},a.indexOf=function(a,b,c){return void 0===c&&(c=0),a.indexOf(b,c)},a.contains=function(a,b){return-1!==a.indexOf(b)},a.reversed=function(b){var c=a.clone(b);return c.reverse()},a.concat=function(a,b){return a.concat(b)},a.insert=function(a,b,c){a.splice(b,0,c)},a.removeAt=function(a,b){var c=a[b];return a.splice(b,1),c},a.removeAll=function(a,b){for(var c=0;c<b.length;++c){var d=a.indexOf(b[c]);a.splice(d,1)}},a.remove=function(a,b){var c=a.indexOf(b);return c>-1?(a.splice(c,1),!0):!1},a.clear=function(a){a.length=0},a.isEmpty=function(a){return 0==a.length},a.fill=function(a,b,c,d){void 0===c&&(c=0),void 0===d&&(d=null),a.fill(b,c,null===d?a.length:d)},a.equals=function(a,b){if(a.length!=b.length)return!1;for(var c=0;c<a.length;++c)if(a[c]!==b[c])return!1;return!0},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.splice=function(a,b,c){return a.splice(b,c)},a.sort=function(a,b){h.isPresent(b)?a.sort(b):a.sort()},a.toString=function(a){return a.toString()},a.toJSON=function(a){return JSON.stringify(a)},a.maximum=function(a,b){if(0==a.length)return null;for(var c=null,d=-(1/0),e=0;e<a.length;e++){var f=a[e];if(!h.isBlank(f)){var g=b(f);g>d&&(c=f,d=g)}}return c},a.flatten=function(a){var b=[];return d(a,b),b},a.addAll=function(a,b){for(var c=0;c<b.length;c++)a.push(b[c])},a}();b.ListWrapper=o,b.isListLikeIterable=e,b.areIterablesEqual=f,b.iterateListLike=g;var p=function(){var a=new b.Set([1,2,3]);return 3===a.size?function(a){return new b.Set(a)}:function(a){var c=new b.Set(a);if(c.size!==a.length)for(var d=0;d<a.length;d++)c.add(a[d]);return c}}(),q=function(){function a(){}return a.createFromList=function(a){return p(a)},a.has=function(a,b){return a.has(b)},a["delete"]=function(a,b){a["delete"](b)},a}();return b.SetWrapper=q,c.exports}),a.registerDynamic("291",["290","24d","9f"],!0,function(a,b,c){"use strict";var d=a("290"),e=a("24d"),f=a("9f"),g=function(){function a(){this.res=[]}return a.prototype.log=function(a){this.res.push(a)},a.prototype.logError=function(a){this.res.push(a)},a.prototype.logGroup=function(a){this.res.push(a)},a.prototype.logGroupEnd=function(){},a}(),h=function(){function a(a,b){void 0===b&&(b=!0),this._logger=a,this._rethrowException=b}return a.exceptionToString=function(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null);var e=new g,f=new a(e,!1);return f.call(b,c,d),e.res.join("\n")},a.prototype.call=function(a,b,c){void 0===b&&(b=null),void 0===c&&(c=null);var d=this._findOriginalException(a),e=this._findOriginalStack(a),g=this._findContext(a);if(this._logger.logGroup("EXCEPTION: "+this._extractMessage(a)),f.isPresent(b)&&f.isBlank(e)&&(this._logger.logError("STACKTRACE:"),this._logger.logError(this._longStackTrace(b))),f.isPresent(c)&&this._logger.logError("REASON: "+c),f.isPresent(d)&&this._logger.logError("ORIGINAL EXCEPTION: "+this._extractMessage(d)),f.isPresent(e)&&(this._logger.logError("ORIGINAL STACKTRACE:"),this._logger.logError(this._longStackTrace(e))),f.isPresent(g)&&(this._logger.logError("ERROR CONTEXT:"),this._logger.logError(g)),this._logger.logGroupEnd(),this._rethrowException)throw a},a.prototype._extractMessage=function(a){return a instanceof d.BaseWrappedException?a.wrapperMessage:a.toString()},a.prototype._longStackTrace=function(a){return e.isListLikeIterable(a)?a.join("\n\n-----async gap-----\n"):a.toString()},a.prototype._findContext=function(a){try{return a instanceof d.BaseWrappedException?f.isPresent(a.context)?a.context:this._findContext(a.originalException):null}catch(b){return null}},a.prototype._findOriginalException=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a.originalException;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException;return b},a.prototype._findOriginalStack=function(a){if(!(a instanceof d.BaseWrappedException))return null;for(var b=a,c=a.originalStack;b instanceof d.BaseWrappedException&&f.isPresent(b.originalException);)b=b.originalException,b instanceof d.BaseWrappedException&&f.isPresent(b.originalException)&&(c=b.originalStack);return c},a}();return b.ExceptionHandler=h,c.exports}),a.registerDynamic("e8",["290","291"],!0,function(a,b,c){"use strict";function d(a){return new TypeError(a)}function e(){throw new j("unimplemented")}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("290"),h=a("291"),i=a("291");b.ExceptionHandler=i.ExceptionHandler;var j=function(a){function b(b){void 0===b&&(b="--"),a.call(this,b),this.message=b,this.stack=new Error(b).stack}return f(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.BaseException=j;var k=function(a){function b(b,c,d,e){a.call(this,b),this._wrapperMessage=b,this._originalException=c,this._originalStack=d,this._context=e,this._wrapperStack=new Error(b).stack}return f(b,a),Object.defineProperty(b.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"message",{get:function(){return h.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),b.prototype.toString=function(){return this.message},b}(g.BaseWrappedException);return b.WrappedException=k,b.makeTypeError=d,b.unimplemented=e,c.exports}),a.registerDynamic("9f",[],!0,function(a,b,c){"use strict";function d(a){Zone.current.scheduleMicroTask("scheduleMicrotask",a)}function e(a){return a.name?a.name:typeof a}function f(a){return void 0!==a&&null!==a}function g(a){return void 0===a||null===a}function h(a){return"boolean"==typeof a}function i(a){return"number"==typeof a}function j(a){return"string"==typeof a}function k(a){return"function"==typeof a}function l(a){return k(a)}function m(a){return"object"==typeof a&&null!==a}function n(a){return m(a)&&Object.getPrototypeOf(a)===O}function o(a){return a instanceof N.Promise}function p(a){return Array.isArray(a)}function q(a){return a instanceof b.Date&&!isNaN(a.valueOf())}function r(){}function s(a){if("string"==typeof a)return a;if(void 0===a||null===a)return""+a;if(a.name)return a.name;if(a.overriddenName)return a.overriddenName;var b=a.toString(),c=b.indexOf("\n");return-1===c?b:b.substring(0,c)}function t(a){return a}function u(a,b){return a}function v(a,b){return a[b]}function w(a,b){return a===b||"number"==typeof a&&"number"==typeof b&&isNaN(a)&&isNaN(b)}function x(a){return a}function y(a){return g(a)?null:a}function z(a){return g(a)?!1:a}function A(a){return null!==a&&("function"==typeof a||"object"==typeof a)}function B(a){console.log(a)}function C(a){console.warn(a)}function D(a,b,c){for(var d=b.split("."),e=a;d.length>1;){var g=d.shift();e=e.hasOwnProperty(g)&&f(e[g])?e[g]:e[g]={}}void 0!==e&&null!==e||(e={}),e[d.shift()]=c}function E(){if(g(Y))if(f(K.Symbol)&&f(Symbol.iterator))Y=Symbol.iterator;else for(var a=Object.getOwnPropertyNames(Map.prototype),b=0;b<a.length;++b){var c=a[b];"entries"!==c&&"size"!==c&&Map.prototype[c]===Map.prototype.entries&&(Y=c)}return Y}function F(a,b,c,d){var e=c+"\nreturn "+b+"\n//# sourceURL="+a,f=[],g=[];for(var h in d)f.push(h),g.push(d[h]);return(new(Function.bind.apply(Function,[void 0].concat(f.concat(e))))).apply(void 0,g)}function G(a){return!A(a)}function H(a,b){return a.constructor===b}function I(a){return N.encodeURI(a)}function J(a){return a.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var K,L=this,M=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)};K="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:L:window,b.scheduleMicroTask=d,b.IS_DART=!1;var N=K;b.global=N,b.Type=Function,b.getTypeNameForDebugging=e,b.Math=N.Math,b.Date=N.Date,N.assert=function(a){},b.isPresent=f,b.isBlank=g,b.isBoolean=h,b.isNumber=i,b.isString=j,b.isFunction=k,b.isType=l,b.isStringMap=m;var O=Object.getPrototypeOf({});b.isStrictStringMap=n,b.isPromise=o,b.isArray=p,b.isDate=q,b.noop=r,b.stringify=s,b.serializeEnum=t,b.deserializeEnum=u,b.resolveEnumToken=v;var P=function(){function a(){}return a.fromCharCode=function(a){return String.fromCharCode(a)},a.charCodeAt=function(a,b){return a.charCodeAt(b)},a.split=function(a,b){return a.split(b)},a.equals=function(a,b){return a===b},a.stripLeft=function(a,b){if(a&&a.length){for(var c=0,d=0;d<a.length&&a[d]==b;d++)c++;a=a.substring(c)}return a},a.stripRight=function(a,b){if(a&&a.length){for(var c=a.length,d=a.length-1;d>=0&&a[d]==b;d--)c--;a=a.substring(0,c)}return a},a.replace=function(a,b,c){return a.replace(b,c)},a.replaceAll=function(a,b,c){return a.replace(b,c)},a.slice=function(a,b,c){return void 0===b&&(b=0),void 0===c&&(c=null),a.slice(b,null===c?void 0:c)},a.replaceAllMapped=function(a,b,c){return a.replace(b,function(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return a.splice(-2,2),c(a)})},a.contains=function(a,b){return-1!=a.indexOf(b)},a.compare=function(a,b){return b>a?-1:a>b?1:0},a}();b.StringWrapper=P;var Q=function(){function a(a){void 0===a&&(a=[]),this.parts=a}return a.prototype.add=function(a){this.parts.push(a)},a.prototype.toString=function(){return this.parts.join("")},a}();b.StringJoiner=Q;var R=function(a){function b(b){a.call(this),this.message=b}return M(b,a),b.prototype.toString=function(){return this.message},b}(Error);b.NumberParseError=R;var S=function(){function a(){}return a.toFixed=function(a,b){return a.toFixed(b)},a.equal=function(a,b){return a===b},a.parseIntAutoRadix=function(a){var b=parseInt(a);if(isNaN(b))throw new R("Invalid integer literal when parsing "+a);return b},a.parseInt=function(a,b){if(10==b){if(/^(\-|\+)?[0-9]+$/.test(a))return parseInt(a,b)}else if(16==b){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(a))return parseInt(a,b)}else{var c=parseInt(a,b);if(!isNaN(c))return c}throw new R("Invalid integer literal when parsing "+a+" in base "+b)},a.parseFloat=function(a){return parseFloat(a)},Object.defineProperty(a,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),a.isNumeric=function(a){return!isNaN(a-parseFloat(a))},a.isNaN=function(a){return isNaN(a)},a.isInteger=function(a){return Number.isInteger(a)},a}();b.NumberWrapper=S,b.RegExp=N.RegExp;var T=function(){function a(){}return a.create=function(a,b){return void 0===b&&(b=""),b=b.replace(/g/g,""),new N.RegExp(a,b+"g")},a.firstMatch=function(a,b){return a.lastIndex=0,a.exec(b)},a.test=function(a,b){return a.lastIndex=0,a.test(b)},a.matcher=function(a,b){return a.lastIndex=0,{re:a,input:b}},a.replaceAll=function(a,b,c){var d=a.exec(b),e="";a.lastIndex=0;for(var f=0;d;)e+=b.substring(f,d.index),e+=c(d),f=d.index+d[0].length,a.lastIndex=f,d=a.exec(b);return e+=b.substring(f)},a}();b.RegExpWrapper=T;var U=function(){function a(){}return a.next=function(a){return a.re.exec(a.input)},a}();b.RegExpMatcherWrapper=U;var V=function(){function a(){}return a.apply=function(a,b){return a.apply(null,b)},a.bind=function(a,b){return a.bind(b)},a}();b.FunctionWrapper=V,b.looseIdentical=w,b.getMapKey=x,b.normalizeBlank=y,b.normalizeBool=z,b.isJsObject=A,b.print=B,b.warn=C;var W=function(){function a(){}return a.parse=function(a){return N.JSON.parse(a)},a.stringify=function(a){return N.JSON.stringify(a,null,2)},a}();b.Json=W;var X=function(){function a(){}return a.create=function(a,c,d,e,f,g,h){return void 0===c&&(c=1),void 0===d&&(d=1),void 0===e&&(e=0),void 0===f&&(f=0),void 0===g&&(g=0),void 0===h&&(h=0),new b.Date(a,c-1,d,e,f,g,h)},a.fromISOString=function(a){return new b.Date(a)},a.fromMillis=function(a){return new b.Date(a)},a.toMillis=function(a){return a.getTime()},a.now=function(){return new b.Date},a.toJson=function(a){return a.toJSON()},a}();b.DateWrapper=X,b.setValueOnPath=D;var Y=null;return b.getSymbolIterator=E,b.evalExpression=F,b.isPrimitive=G,b.hasConstructor=H,b.escape=I,b.escapeRegExp=J,c.exports}),a.registerDynamic("26b",["e8","9f"],!0,function(a,b,c){"use strict";var d=a("e8"),e=a("9f"),f=function(){function a(){}return Object.defineProperty(a.prototype,"parentPlayer",{get:function(){throw new d.BaseException("NOT IMPLEMENTED: Base Class")},set:function(a){throw new d.BaseException("NOT IMPLEMENTED: Base Class")},enumerable:!0,configurable:!0}),a}();b.AnimationPlayer=f;var g=function(){function a(){var a=this;this._subscriptions=[],this.parentPlayer=null,e.scheduleMicroTask(function(){return a._onFinish()})}return a.prototype._onFinish=function(){this._subscriptions.forEach(function(a){a()}),this._subscriptions=[]},a.prototype.onDone=function(a){this._subscriptions.push(a)},a.prototype.play=function(){},a.prototype.pause=function(){},a.prototype.restart=function(){},a.prototype.finish=function(){this._onFinish()},a.prototype.destroy=function(){},a.prototype.reset=function(){},a.prototype.setPosition=function(a){},a.prototype.getPosition=function(){return 0},a}();return b.NoOpAnimationPlayer=g,c.exports}),a.registerDynamic("292",["241","245","25c","25e","265","246","248","24f","272","262","259","25b","25d","268","266","9f","24c","e8","28f","270","26b"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}d(a("241")),d(a("245")),d(a("25c"));var e=a("25e");b.createPlatform=e.createPlatform,b.assertPlatform=e.assertPlatform,b.disposePlatform=e.disposePlatform,b.getPlatform=e.getPlatform,b.coreBootstrap=e.coreBootstrap,b.coreLoadAndBootstrap=e.coreLoadAndBootstrap,b.createNgZone=e.createNgZone,b.PlatformRef=e.PlatformRef,b.ApplicationRef=e.ApplicationRef,b.enableProdMode=e.enableProdMode,b.lockRunMode=e.lockRunMode,b.isDevMode=e.isDevMode;var f=a("265");b.APP_ID=f.APP_ID,b.APP_INITIALIZER=f.APP_INITIALIZER,b.PACKAGE_ROOT_URL=f.PACKAGE_ROOT_URL,b.PLATFORM_INITIALIZER=f.PLATFORM_INITIALIZER,d(a("246")),d(a("248")),d(a("24f"));var g=a("272");b.DebugElement=g.DebugElement,b.DebugNode=g.DebugNode,b.asNativeElements=g.asNativeElements,b.getDebugNode=g.getDebugNode,d(a("262")),d(a("259")),d(a("25b")),d(a("25d")),d(a("268"));var h=a("266");b.wtfCreateScope=h.wtfCreateScope,b.wtfLeave=h.wtfLeave,b.wtfStartTimeRange=h.wtfStartTimeRange,b.wtfEndTimeRange=h.wtfEndTimeRange;var i=a("9f");b.Type=i.Type;var j=a("24c");b.EventEmitter=j.EventEmitter;var k=a("e8");b.ExceptionHandler=k.ExceptionHandler,b.WrappedException=k.WrappedException,b.BaseException=k.BaseException,d(a("28f")),d(a("270"));var l=a("26b");return b.AnimationPlayer=l.AnimationPlayer,c.exports}),a.registerDynamic("9",["292"],!0,function(a,b,c){return c.exports=a("292"),c.exports}),a.registerDynamic("293",["f","294","295","296"],!0,function(a,b,c){"use strict";function d(a){var b=this,c=a.source,d=a.subscriber,g=c.callbackFunc,h=c.args,l=c.scheduler,m=c.subject;if(!m){m=c.subject=new k.AsyncSubject;var n=function p(){for(var a=[],c=0;c<arguments.length;c++)a[c-0]=arguments[c];var d=p.source,g=d.selector,h=d.subject;if(g){var k=i.tryCatch(g).apply(this,a);k===j.errorObject?b.add(l.schedule(f,0,{err:j.errorObject.e,subject:h})):b.add(l.schedule(e,0,{value:k,subject:h}))}else{var m=1===a.length?a[0]:a;b.add(l.schedule(e,0,{value:m,subject:h}))}};n.source=c;var o=i.tryCatch(g).apply(this,h.concat(n));o===j.errorObject&&m.error(j.errorObject.e)}b.add(m.subscribe(d))}function e(a){var b=a.value,c=a.subject;c.next(b),c.complete()}function f(a){var b=a.err,c=a.subject;c.error(b)}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("f"),i=a("294"),j=a("295"),k=a("296"),l=function(a){function b(b,c,d,e){a.call(this),this.callbackFunc=b,this.selector=c,this.args=d,this.scheduler=e}return g(b,a),b.create=function(a,c,d){return void 0===c&&(c=void 0),function(){for(var e=[],f=0;f<arguments.length;f++)e[f-0]=arguments[f];return new b(a,c,e,d)}},b.prototype._subscribe=function(a){var b=this.callbackFunc,c=this.args,e=this.scheduler,f=this.subject;if(e)return e.schedule(d,0,{source:this,subscriber:a});if(!f){f=this.subject=new k.AsyncSubject;var g=function l(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=l.source,d=c.selector,e=c.subject;if(d){var f=i.tryCatch(d).apply(this,a);f===j.errorObject?e.error(j.errorObject.e):(e.next(f),e.complete())}else e.next(1===a.length?a[0]:a),e.complete()};g.source=this;var h=i.tryCatch(b).apply(this,c.concat(g));h===j.errorObject&&f.error(j.errorObject.e)}return f.subscribe(a)},b}(h.Observable);return b.BoundCallbackObservable=l,c.exports}),a.registerDynamic("297",["293"],!0,function(a,b,c){"use strict";var d=a("293");return b.bindCallback=d.BoundCallbackObservable.create,c.exports}),a.registerDynamic("298",["f","297"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("297");return d.Observable.bindCallback=e.bindCallback,c.exports}),a.registerDynamic("299",["f","294","295","296"],!0,function(a,b,c){"use strict";function d(a){var b=this,c=a.source,d=a.subscriber,g=c.callbackFunc,h=c.args,l=c.scheduler,m=c.subject;if(!m){m=c.subject=new k.AsyncSubject;var n=function p(){for(var a=[],c=0;c<arguments.length;c++)a[c-0]=arguments[c];var d=p.source,g=d.selector,h=d.subject,k=a.shift();if(k)h.error(k);else if(g){var m=i.tryCatch(g).apply(this,a);m===j.errorObject?b.add(l.schedule(f,0,{err:j.errorObject.e,subject:h})):b.add(l.schedule(e,0,{value:m,subject:h}))}else{var n=1===a.length?a[0]:a;b.add(l.schedule(e,0,{value:n,subject:h}))}};n.source=c;var o=i.tryCatch(g).apply(this,h.concat(n));o===j.errorObject&&m.error(j.errorObject.e)}b.add(m.subscribe(d))}function e(a){var b=a.value,c=a.subject;c.next(b),c.complete()}function f(a){var b=a.err,c=a.subject;c.error(b)}var g=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},h=a("f"),i=a("294"),j=a("295"),k=a("296"),l=function(a){function b(b,c,d,e){a.call(this),this.callbackFunc=b,this.selector=c,this.args=d,this.scheduler=e}return g(b,a),b.create=function(a,c,d){return void 0===c&&(c=void 0),function(){for(var e=[],f=0;f<arguments.length;f++)e[f-0]=arguments[f];return new b(a,c,e,d)}},b.prototype._subscribe=function(a){var b=this.callbackFunc,c=this.args,e=this.scheduler,f=this.subject;if(e)return e.schedule(d,0,{source:this,subscriber:a});if(!f){f=this.subject=new k.AsyncSubject;var g=function l(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=l.source,d=c.selector,e=c.subject,f=a.shift();if(f)e.error(f);else if(d){var g=i.tryCatch(d).apply(this,a);g===j.errorObject?e.error(j.errorObject.e):(e.next(g),e.complete())}else e.next(1===a.length?a[0]:a),e.complete()};g.source=this;var h=i.tryCatch(b).apply(this,c.concat(g));h===j.errorObject&&f.error(j.errorObject.e)}return f.subscribe(a)},b}(h.Observable);return b.BoundNodeCallbackObservable=l,c.exports}),a.registerDynamic("29a",["299"],!0,function(a,b,c){"use strict";var d=a("299");return b.bindNodeCallback=d.BoundNodeCallbackObservable.create,c.exports}),a.registerDynamic("29b",["f","29a"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("29a");return d.Observable.bindNodeCallback=e.bindNodeCallback,c.exports}),a.registerDynamic("29c",["f","29d"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("29d");return d.Observable.combineLatest=e.combineLatestStatic,c.exports}),a.registerDynamic("29e",["29f"],!0,function(a,b,c){"use strict";var d=a("29f");return b.concat=d.concatStatic,c.exports}),a.registerDynamic("2a0",["f","29e"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("29e");return d.Observable.concat=e.concat,c.exports}),a.registerDynamic("2a1",["f","2a2","2a3"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("2a2"),g=a("2a3"),h=function(a){function b(b){a.call(this),this.observableFactory=b}return d(b,a),b.create=function(a){return new b(a)},b.prototype._subscribe=function(a){return new i(a,this.observableFactory)},b}(e.Observable);b.DeferObservable=h;var i=function(a){function b(b,c){a.call(this,b),this.factory=c,this.tryDefer()}return d(b,a),b.prototype.tryDefer=function(){try{this._callFactory()}catch(a){this._error(a)}},b.prototype._callFactory=function(){var a=this.factory();a&&this.add(f.subscribeToResult(this,a))},b}(g.OuterSubscriber);return c.exports}),a.registerDynamic("2a4",["2a1"],!0,function(a,b,c){"use strict";var d=a("2a1");return b.defer=d.DeferObservable.create,c.exports}),a.registerDynamic("2a5",["f","2a4"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2a4");return d.Observable.defer=e.defer,c.exports}),a.registerDynamic("2a6",["2a7"],!0,function(a,b,c){"use strict";var d=a("2a7");return b.empty=d.EmptyObservable.create,c.exports}),a.registerDynamic("2a8",["f","2a6"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2a6");return d.Observable.empty=e.empty,c.exports}),a.registerDynamic("2a9",["f","2a7","2aa","2a2","2a3"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("2a7"),g=a("2aa"),h=a("2a2"),i=a("2a3"),j=function(a){function b(b,c){a.call(this),this.sources=b,this.resultSelector=c}return d(b,a),b.create=function(){for(var a=[],c=0;c<arguments.length;c++)a[c-0]=arguments[c];if(null===a||0===arguments.length)return new f.EmptyObservable;var d=null;return"function"==typeof a[a.length-1]&&(d=a.pop()),1===a.length&&g.isArray(a[0])&&(a=a[0]),0===a.length?new f.EmptyObservable:new b(a,d)},b.prototype._subscribe=function(a){return new k(a,this.sources,this.resultSelector)},b}(e.Observable);b.ForkJoinObservable=j;var k=function(a){function b(b,c,d){a.call(this,b),this.sources=c,this.resultSelector=d,this.completed=0,this.haveValues=0;var e=c.length;this.total=e,this.values=new Array(e);for(var f=0;e>f;f++){var g=c[f],i=h.subscribeToResult(this,g,null,f);i&&(i.outerIndex=f,this.add(i))}}return d(b,a),b.prototype.notifyNext=function(a,b,c,d,e){this.values[c]=b,e._hasValue||(e._hasValue=!0,this.haveValues++)},b.prototype.notifyComplete=function(a){var b=this.destination,c=this,d=c.haveValues,e=c.resultSelector,f=c.values,g=f.length;if(!a._hasValue)return void b.complete();if(this.completed++,this.completed===g){if(d===g){var h=e?e.apply(this,f):f;b.next(h)}b.complete()}},b}(i.OuterSubscriber);return c.exports}),a.registerDynamic("2ab",["2a9"],!0,function(a,b,c){"use strict";var d=a("2a9");return b.forkJoin=d.ForkJoinObservable.create,c.exports}),a.registerDynamic("2ac",["f","2ab"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2ab");return d.Observable.forkJoin=e.forkJoin,c.exports}),a.registerDynamic("2ad",["2ae","2af","294","f","2b0","2b1","295"],!0,function(a,b,c){"use strict";function d(a){var b=a[n.$$iterator];if(!b&&"string"==typeof a)return new q(a);if(!b&&void 0!==a.length)return new r(a);if(!b)throw new TypeError("Object is not iterable");return a[n.$$iterator]()}function e(a){var b=+a.length;return isNaN(b)?0:0!==b&&f(b)?(b=g(b)*Math.floor(Math.abs(b)),0>=b?0:b>s?s:b):b}function f(a){return"number"==typeof a&&i.root.isFinite(a)}function g(a){var b=+a;return 0===b?b:isNaN(b)?b:0>b?-1:1}var h=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},i=a("2ae"),j=a("2af"),k=a("294"),l=a("f"),m=a("2b0"),n=a("2b1"),o=a("295"),p=function(a){function b(b,c,e,f){if(a.call(this),null==b)throw new Error("iterator cannot be null.");if(j.isObject(c))this.thisArg=c,this.scheduler=e;else if(m.isFunction(c))this.project=c,this.thisArg=e,this.scheduler=f;else if(null!=c)throw new Error("When provided, `project` must be a function.");this.iterator=d(b)}return h(b,a),b.create=function(a,c,d,e){return new b(a,c,d,e)},b.dispatch=function(a){var b=a.index,c=a.hasError,d=a.thisArg,e=a.project,f=a.iterator,g=a.subscriber;if(c)return void g.error(a.error);var h=f.next();return h.done?void g.complete():(e?(h=k.tryCatch(e).call(d,h.value,b),h===o.errorObject?(a.error=o.errorObject.e,a.hasError=!0):(g.next(h),a.index=b+1)):(g.next(h.value),a.index=b+1),void(g.isUnsubscribed||this.schedule(a)))},b.prototype._subscribe=function(a){var c=0,d=this,e=d.iterator,f=d.project,g=d.thisArg,h=d.scheduler;if(h)return h.schedule(b.dispatch,0,{index:c,thisArg:g,project:f,iterator:e,subscriber:a});for(;;){var i=e.next();if(i.done){a.complete();break}if(f){if(i=k.tryCatch(f).call(g,i.value,c++),i===o.errorObject){a.error(o.errorObject.e);break}a.next(i)}else a.next(i.value);if(a.isUnsubscribed)break}},b}(l.Observable);b.IteratorObservable=p;var q=function(){function a(a,b,c){void 0===b&&(b=0),void 0===c&&(c=a.length),this.str=a,this.idx=b,this.len=c}return a.prototype[n.$$iterator]=function(){return this},a.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},a}(),r=function(){function a(a,b,c){void 0===b&&(b=0),void 0===c&&(c=e(a)),this.arr=a,this.idx=b,this.len=c}return a.prototype[n.$$iterator]=function(){return this},a.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},a}(),s=Math.pow(2,53)-1;return c.exports}),a.registerDynamic("2b2",["f","2b3","2a7"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("2b3"),g=a("2a7"),h=function(a){function b(b,c,d,e){a.call(this),this.arrayLike=b,this.scheduler=e,c||e||1!==b.length||(this._isScalar=!0,this.value=b[0]),c&&(this.mapFn=c.bind(d))}return d(b,a),b.create=function(a,c,d,e){var h=a.length;return 0===h?new g.EmptyObservable:1!==h||c?new b(a,c,d,e):new f.ScalarObservable(a[0],e)},b.dispatch=function(a){var b=a.arrayLike,c=a.index,d=a.length,e=a.mapFn,f=a.subscriber;if(!f.isUnsubscribed){if(c>=d)return void f.complete();var g=e?e(b[c],c):b[c];f.next(g),a.index=c+1,this.schedule(a)}},b.prototype._subscribe=function(a){var c=0,d=this,e=d.arrayLike,f=d.mapFn,g=d.scheduler,h=e.length;if(g)return g.schedule(b.dispatch,0,{arrayLike:e,index:c,length:h,mapFn:f,subscriber:a});for(var i=0;h>i&&!a.isUnsubscribed;i++){var j=f?f(e[i],i):e[i];a.next(j)}a.complete()},b}(e.Observable);return b.ArrayLikeObservable=h,c.exports}),a.registerDynamic("2b4",["2aa","2b0","2b5","2b6","c","2ad","2b7","2b2","2b8","2b1","f","2b9"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("2aa"),f=a("2b0"),g=a("2b5"),h=a("2b6"),i=a("c"),j=a("2ad"),k=a("2b7"),l=a("2b2"),m=a("2b8"),n=a("2b1"),o=a("f"),p=a("2b9"),q=function(a){return a&&"number"==typeof a.length},r=function(a){function b(b,c){a.call(this,null),this.ish=b,this.scheduler=c}return d(b,a),b.create=function(a,c,d,p){var r=null,s=null;if(f.isFunction(c)?(r=p||null,s=c):h.isScheduler(r)&&(r=c),null!=a){if("function"==typeof a[m.$$observable])return a instanceof o.Observable&&!r?a:new b(a,r);if(e.isArray(a))return new k.ArrayObservable(a,r);if(g.isPromise(a))return new i.PromiseObservable(a,r);if("function"==typeof a[n.$$iterator]||"string"==typeof a)return new j.IteratorObservable(a,null,null,r);if(q(a))return new l.ArrayLikeObservable(a,s,d,r)}throw new TypeError((null!==a&&typeof a||a)+" is not observable")},b.prototype._subscribe=function(a){var b=this.ish,c=this.scheduler;return null==c?b[m.$$observable]().subscribe(a):b[m.$$observable]().subscribe(new p.ObserveOnSubscriber(a,c,0))},b}(o.Observable);return b.FromObservable=r,c.exports}),a.registerDynamic("2ba",["2b4"],!0,function(a,b,c){"use strict";var d=a("2b4");return b.from=d.FromObservable.create,c.exports}),a.registerDynamic("2bb",["f","2ba"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2ba");return d.Observable.from=e.from,c.exports}),a.registerDynamic("2bc",["f","294","295","2bd"],!0,function(a,b,c){"use strict";function d(a){return!!a&&"function"==typeof a.addListener&&"function"==typeof a.removeListener}function e(a){return!!a&&"function"==typeof a.on&&"function"==typeof a.off}function f(a){return!!a&&"[object NodeList]"===a.toString()}function g(a){return!!a&&"[object HTMLCollection]"===a.toString()}function h(a){return!!a&&"function"==typeof a.addEventListener&&"function"==typeof a.removeEventListener}var i=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},j=a("f"),k=a("294"),l=a("295"),m=a("2bd"),n=function(a){function b(b,c,d){a.call(this),this.sourceObj=b,this.eventName=c,this.selector=d}return i(b,a),b.create=function(a,c,d){return new b(a,c,d)},b.setupSubscription=function(a,c,i,j){var k;if(f(a)||g(a))for(var l=0,n=a.length;n>l;l++)b.setupSubscription(a[l],c,i,j);else h(a)?(a.addEventListener(c,i),k=function(){return a.removeEventListener(c,i)}):e(a)?(a.on(c,i),k=function(){return a.off(c,i)}):d(a)&&(a.addListener(c,i),k=function(){return a.removeListener(c,i)});j.add(new m.Subscription(k))},b.prototype._subscribe=function(a){var c=this.sourceObj,d=this.eventName,e=this.selector,f=e?function(){for(var b=[],c=0;c<arguments.length;c++)b[c-0]=arguments[c];var d=k.tryCatch(e).apply(void 0,b);d===l.errorObject?a.error(l.errorObject.e):a.next(d)}:function(b){return a.next(b)};b.setupSubscription(c,d,f,a)},b}(j.Observable);return b.FromEventObservable=n,c.exports}),a.registerDynamic("2be",["2bc"],!0,function(a,b,c){"use strict";var d=a("2bc");return b.fromEvent=d.FromEventObservable.create,
|
||
c.exports}),a.registerDynamic("2bf",["f","2be"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2be");return d.Observable.fromEvent=e.fromEvent,c.exports}),a.registerDynamic("2c0",["f","2bd","294","295"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("2bd"),g=a("294"),h=a("295"),i=function(a){function b(b,c,d){a.call(this),this.addHandler=b,this.removeHandler=c,this.selector=d}return d(b,a),b.create=function(a,c,d){return new b(a,c,d)},b.prototype._subscribe=function(a){var b=this.addHandler,c=this.removeHandler,d=this.selector,e=d?function(b){var c=g.tryCatch(d).apply(null,arguments);c===h.errorObject?a.error(c.e):a.next(c)}:function(b){a.next(b)},i=g.tryCatch(b)(e);i===h.errorObject&&a.error(i.e),a.add(new f.Subscription(function(){c(e)}))},b}(e.Observable);return b.FromEventPatternObservable=i,c.exports}),a.registerDynamic("2c1",["2c0"],!0,function(a,b,c){"use strict";var d=a("2c0");return b.fromEventPattern=d.FromEventPatternObservable.create,c.exports}),a.registerDynamic("2c2",["f","2c1"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2c1");return d.Observable.fromEventPattern=e.fromEventPattern,c.exports}),a.registerDynamic("c",["2ae","f"],!0,function(a,b,c){"use strict";function d(a){var b=a.value,c=a.subscriber;c.isUnsubscribed||(c.next(b),c.complete())}function e(a){var b=a.err,c=a.subscriber;c.isUnsubscribed||c.error(b)}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2ae"),h=a("f"),i=function(a){function b(b,c){void 0===c&&(c=null),a.call(this),this.promise=b,this.scheduler=c}return f(b,a),b.create=function(a,c){return void 0===c&&(c=null),new b(a,c)},b.prototype._subscribe=function(a){var b=this,c=this.promise,f=this.scheduler;if(null==f)this._isScalar?a.isUnsubscribed||(a.next(this.value),a.complete()):c.then(function(c){b.value=c,b._isScalar=!0,a.isUnsubscribed||(a.next(c),a.complete())},function(b){a.isUnsubscribed||a.error(b)}).then(null,function(a){g.root.setTimeout(function(){throw a})});else if(this._isScalar){if(!a.isUnsubscribed)return f.schedule(d,0,{value:this.value,subscriber:a})}else c.then(function(c){b.value=c,b._isScalar=!0,a.isUnsubscribed||a.add(f.schedule(d,0,{value:c,subscriber:a}))},function(b){a.isUnsubscribed||a.add(f.schedule(e,0,{err:b,subscriber:a}))}).then(null,function(a){g.root.setTimeout(function(){throw a})})},b}(h.Observable);return b.PromiseObservable=i,c.exports}),a.registerDynamic("2c3",["c"],!0,function(a,b,c){"use strict";var d=a("c");return b.fromPromise=d.PromiseObservable.create,c.exports}),a.registerDynamic("2c4",["f","2c3"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2c3");return d.Observable.fromPromise=e.fromPromise,c.exports}),a.registerDynamic("2c5",["2c6","f","2c7"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("2c6"),f=a("f"),g=a("2c7"),h=function(a){function b(b,c){void 0===b&&(b=0),void 0===c&&(c=g.async),a.call(this),this.period=b,this.scheduler=c,(!e.isNumeric(b)||0>b)&&(this.period=0),c&&"function"==typeof c.schedule||(this.scheduler=g.async)}return d(b,a),b.create=function(a,c){return void 0===a&&(a=0),void 0===c&&(c=g.async),new b(a,c)},b.dispatch=function(a){var b=a.index,c=a.subscriber,d=a.period;c.next(b),c.isUnsubscribed||(a.index+=1,this.schedule(a,d))},b.prototype._subscribe=function(a){var c=0,d=this.period,e=this.scheduler;a.add(e.schedule(b.dispatch,d,{index:c,subscriber:a,period:d}))},b}(f.Observable);return b.IntervalObservable=h,c.exports}),a.registerDynamic("2c8",["2c5"],!0,function(a,b,c){"use strict";var d=a("2c5");return b.interval=d.IntervalObservable.create,c.exports}),a.registerDynamic("2c9",["f","2c8"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2c8");return d.Observable.interval=e.interval,c.exports}),a.registerDynamic("2ca",["2cb"],!0,function(a,b,c){"use strict";var d=a("2cb");return b.merge=d.mergeStatic,c.exports}),a.registerDynamic("2cc",["f","2ca"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2ca");return d.Observable.merge=e.merge,c.exports}),a.registerDynamic("2cd",["f","2ce"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2ce");return d.Observable.race=e.raceStatic,c.exports}),a.registerDynamic("2cf",["f","2d0"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("2d0"),g=function(a){function b(){a.call(this)}return d(b,a),b.create=function(){return new b},b.prototype._subscribe=function(a){f.noop()},b}(e.Observable);return b.NeverObservable=g,c.exports}),a.registerDynamic("2d1",["2cf"],!0,function(a,b,c){"use strict";var d=a("2cf");return b.never=d.NeverObservable.create,c.exports}),a.registerDynamic("2d2",["f","2d1"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2d1");return d.Observable.never=e.never,c.exports}),a.registerDynamic("2d3",["2b7"],!0,function(a,b,c){"use strict";var d=a("2b7");return b.of=d.ArrayObservable.of,c.exports}),a.registerDynamic("2d4",["f","2d3"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2d3");return d.Observable.of=e.of,c.exports}),a.registerDynamic("2d5",["f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=function(a){function b(b,c,d){a.call(this),this.start=b,this._count=c,this.scheduler=d}return d(b,a),b.create=function(a,c,d){return void 0===a&&(a=0),void 0===c&&(c=0),new b(a,c,d)},b.dispatch=function(a){var b=a.start,c=a.index,d=a.count,e=a.subscriber;return c>=d?void e.complete():(e.next(b),void(e.isUnsubscribed||(a.index=c+1,a.start=b+1,this.schedule(a))))},b.prototype._subscribe=function(a){var c=0,d=this.start,e=this._count,f=this.scheduler;if(f)return f.schedule(b.dispatch,0,{index:c,count:e,start:d,subscriber:a});for(;;){if(c++>=e){a.complete();break}if(a.next(d++),a.isUnsubscribed)break}},b}(e.Observable);return b.RangeObservable=f,c.exports}),a.registerDynamic("2d6",["2d5"],!0,function(a,b,c){"use strict";var d=a("2d5");return b.range=d.RangeObservable.create,c.exports}),a.registerDynamic("2d7",["f","2d6"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2d6");return d.Observable.range=e.range,c.exports}),a.registerDynamic("2d8",["f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=function(a){function b(b,c){a.call(this),this.error=b,this.scheduler=c}return d(b,a),b.create=function(a,c){return new b(a,c)},b.dispatch=function(a){var b=a.error,c=a.subscriber;c.error(b)},b.prototype._subscribe=function(a){var c=this.error,d=this.scheduler;return d?d.schedule(b.dispatch,0,{error:c,subscriber:a}):void a.error(c)},b}(e.Observable);return b.ErrorObservable=f,c.exports}),a.registerDynamic("2d9",["2d8"],!0,function(a,b,c){"use strict";var d=a("2d8");return b._throw=d.ErrorObservable.create,c.exports}),a.registerDynamic("2da",["f","2d9"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2d9");return d.Observable["throw"]=e._throw,c.exports}),a.registerDynamic("2db",["2c6","f","2c7","2b6","2dc"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("2c6"),f=a("f"),g=a("2c7"),h=a("2b6"),i=a("2dc"),j=function(a){function b(b,c,d){void 0===b&&(b=0),a.call(this),this.period=-1,this.dueTime=0,e.isNumeric(c)?this.period=Number(c)<1&&1||Number(c):h.isScheduler(c)&&(d=c),h.isScheduler(d)||(d=g.async),this.scheduler=d,this.dueTime=i.isDate(b)?+b-this.scheduler.now():b}return d(b,a),b.create=function(a,c,d){return void 0===a&&(a=0),new b(a,c,d)},b.dispatch=function(a){var b=a.index,c=a.period,d=a.subscriber,e=this;if(d.next(b),!d.isUnsubscribed){if(-1===c)return d.complete();a.index=b+1,e.schedule(a,c)}},b.prototype._subscribe=function(a){var c=0,d=this,e=d.period,f=d.dueTime,g=d.scheduler;return g.schedule(b.dispatch,f,{index:c,period:e,subscriber:a})},b}(f.Observable);return b.TimerObservable=j,c.exports}),a.registerDynamic("2dd",["2db"],!0,function(a,b,c){"use strict";var d=a("2db");return b.timer=d.TimerObservable.create,c.exports}),a.registerDynamic("2de",["f","2dd"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2dd");return d.Observable.timer=e.timer,c.exports}),a.registerDynamic("2df",["2e0"],!0,function(a,b,c){"use strict";var d=a("2e0");return b.zip=d.zipStatic,c.exports}),a.registerDynamic("2e1",["f","2df"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2df");return d.Observable.zip=e.zip,c.exports}),a.registerDynamic("2e2",["2a3","2a2","165"],!0,function(a,b,c){return function(c){"use strict";function d(a){return this.lift(new h(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.buffer=d;var h=function(){function a(a){this.closingNotifier=a}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.closingNotifier))},a}(),i=function(a){function b(b,c){a.call(this,b),this.buffer=[],this.add(g.subscribeToResult(this,c))}return e(b,a),b.prototype._next=function(a){this.buffer.push(a)},b.prototype.notifyNext=function(a,b,c,d,e){var f=this.buffer;this.buffer=[],this.destination.next(f)},b}(f.OuterSubscriber)}(a("165").Buffer),c.exports}),a.registerDynamic("2e3",["f","2e2"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2e2");return d.Observable.prototype.buffer=e.buffer,c.exports}),a.registerDynamic("2e4",["2e5","165"],!0,function(a,b,c){return function(c){"use strict";function d(a,b){return void 0===b&&(b=null),this.lift(new g(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.bufferCount=d;var g=function(){function a(a,b){this.bufferSize=a,this.startBufferEvery=b}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.bufferSize,this.startBufferEvery))},a}(),h=function(a){function b(b,c,d){a.call(this,b),this.bufferSize=c,this.startBufferEvery=d,this.buffers=[[]],this.count=0}return e(b,a),b.prototype._next=function(a){var b=this.count+=1,c=this.destination,d=this.bufferSize,e=null==this.startBufferEvery?d:this.startBufferEvery,f=this.buffers,g=f.length,h=-1;b%e===0&&f.push([]);for(var i=0;g>i;i++){var j=f[i];j.push(a),j.length===d&&(h=i,c.next(j))}-1!==h&&f.splice(h,1)},b.prototype._complete=function(){for(var b=this.destination,c=this.buffers;c.length>0;){var d=c.shift();d.length>0&&b.next(d)}a.prototype._complete.call(this)},b}(f.Subscriber)}(a("165").Buffer),c.exports}),a.registerDynamic("2e6",["f","2e4"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2e4");return d.Observable.prototype.bufferCount=e.bufferCount,c.exports}),a.registerDynamic("2e7",["2e5","2c7","165"],!0,function(a,b,c){return function(c){"use strict";function d(a,b,c){return void 0===b&&(b=null),void 0===c&&(c=j.async),this.lift(new k(a,b,c))}function e(a){var b=a.subscriber,c=a.buffer;c&&b.closeBuffer(c),a.buffer=b.openBuffer(),b.isUnsubscribed||this.schedule(a,a.bufferTimeSpan)}function f(a){var b=a.bufferCreationInterval,c=a.bufferTimeSpan,d=a.subscriber,e=a.scheduler,f=d.openBuffer(),h=this;d.isUnsubscribed||(h.add(e.schedule(g,c,{subscriber:d,buffer:f})),h.schedule(a,b))}function g(a){var b=a.subscriber,c=a.buffer;b.closeBuffer(c)}var h=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},i=a("2e5"),j=a("2c7");b.bufferTime=d;var k=function(){function a(a,b,c){this.bufferTimeSpan=a,this.bufferCreationInterval=b,this.scheduler=c}return a.prototype.call=function(a,b){return b._subscribe(new l(a,this.bufferTimeSpan,this.bufferCreationInterval,this.scheduler))},a}(),l=function(a){function b(b,c,d,h){a.call(this,b),this.bufferTimeSpan=c,this.bufferCreationInterval=d,this.scheduler=h,this.buffers=[];var i=this.openBuffer();if(null!==d&&d>=0){var j={subscriber:this,buffer:i},k={bufferTimeSpan:c,bufferCreationInterval:d,subscriber:this,scheduler:h};this.add(h.schedule(g,c,j)),this.add(h.schedule(f,d,k))}else{var l={subscriber:this,buffer:i,bufferTimeSpan:c};this.add(h.schedule(e,c,l))}}return h(b,a),b.prototype._next=function(a){for(var b=this.buffers,c=b.length,d=0;c>d;d++)b[d].push(a)},b.prototype._error=function(b){this.buffers.length=0,a.prototype._error.call(this,b)},b.prototype._complete=function(){for(var b=this,c=b.buffers,d=b.destination;c.length>0;)d.next(c.shift());a.prototype._complete.call(this)},b.prototype._unsubscribe=function(){this.buffers=null},b.prototype.openBuffer=function(){var a=[];return this.buffers.push(a),a},b.prototype.closeBuffer=function(a){this.destination.next(a);var b=this.buffers;b.splice(b.indexOf(a),1)},b}(i.Subscriber)}(a("165").Buffer),c.exports}),a.registerDynamic("2e8",["f","2e7"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2e7");return d.Observable.prototype.bufferTime=e.bufferTime,c.exports}),a.registerDynamic("2e9",["2bd","2a2","2a3","165"],!0,function(a,b,c){return function(c){"use strict";function d(a,b){return this.lift(new i(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2bd"),g=a("2a2"),h=a("2a3");b.bufferToggle=d;var i=function(){function a(a,b){this.openings=a,this.closingSelector=b}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.openings,this.closingSelector))},a}(),j=function(a){function b(b,c,d){a.call(this,b),this.openings=c,this.closingSelector=d,this.contexts=[],this.add(g.subscribeToResult(this,c))}return e(b,a),b.prototype._next=function(a){for(var b=this.contexts,c=b.length,d=0;c>d;d++)b[d].buffer.push(a)},b.prototype._error=function(b){for(var c=this.contexts;c.length>0;){var d=c.shift();d.subscription.unsubscribe(),d.buffer=null,d.subscription=null}this.contexts=null,a.prototype._error.call(this,b)},b.prototype._complete=function(){for(var b=this.contexts;b.length>0;){var c=b.shift();this.destination.next(c.buffer),c.subscription.unsubscribe(),c.buffer=null,c.subscription=null}this.contexts=null,a.prototype._complete.call(this)},b.prototype.notifyNext=function(a,b,c,d,e){a?this.closeBuffer(a):this.openBuffer(b)},b.prototype.notifyComplete=function(a){this.closeBuffer(a.context)},b.prototype.openBuffer=function(a){try{var b=this.closingSelector,c=b.call(this,a);c&&this.trySubscribe(c)}catch(d){this._error(d)}},b.prototype.closeBuffer=function(a){var b=this.contexts;if(b&&a){var c=a.buffer,d=a.subscription;this.destination.next(c),b.splice(b.indexOf(a),1),this.remove(d),d.unsubscribe()}},b.prototype.trySubscribe=function(a){var b=this.contexts,c=[],d=new f.Subscription,e={buffer:c,subscription:d};b.push(e);var h=g.subscribeToResult(this,a,e);!h||h.isUnsubscribed?this.closeBuffer(e):(h.context=e,this.add(h),d.add(h))},b}(h.OuterSubscriber)}(a("165").Buffer),c.exports}),a.registerDynamic("2ea",["f","2e9"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2e9");return d.Observable.prototype.bufferToggle=e.bufferToggle,c.exports}),a.registerDynamic("2eb",[],!0,function(a,b,c){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";return function(a){"use strict";function b(a){var b=a.charCodeAt(0);return b===g||b===l?62:b===h||b===m?63:i>b?-1:i+10>b?b-i+26+26:k+26>b?b-k:j+26>b?b-j+26:void 0}function c(a){function c(a){j[l++]=a}var d,e,g,h,i,j;if(a.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var k=a.length;i="="===a.charAt(k-2)?2:"="===a.charAt(k-1)?1:0,j=new f(3*a.length/4-i),g=i>0?a.length-4:a.length;var l=0;for(d=0,e=0;g>d;d+=4,e+=3)h=b(a.charAt(d))<<18|b(a.charAt(d+1))<<12|b(a.charAt(d+2))<<6|b(a.charAt(d+3)),c((16711680&h)>>16),c((65280&h)>>8),c(255&h);return 2===i?(h=b(a.charAt(d))<<2|b(a.charAt(d+1))>>4,c(255&h)):1===i&&(h=b(a.charAt(d))<<10|b(a.charAt(d+1))<<4|b(a.charAt(d+2))>>2,c(h>>8&255),c(255&h)),j}function e(a){function b(a){return d.charAt(a)}function c(a){return b(a>>18&63)+b(a>>12&63)+b(a>>6&63)+b(63&a)}var e,f,g,h=a.length%3,i="";for(e=0,g=a.length-h;g>e;e+=3)f=(a[e]<<16)+(a[e+1]<<8)+a[e+2],i+=c(f);switch(h){case 1:f=a[a.length-1],i+=b(f>>2),i+=b(f<<4&63),i+="==";break;case 2:f=(a[a.length-2]<<8)+a[a.length-1],i+=b(f>>10),i+=b(f>>4&63),i+=b(f<<2&63),i+="="}return i}var f="undefined"!=typeof Uint8Array?Uint8Array:Array,g="+".charCodeAt(0),h="/".charCodeAt(0),i="0".charCodeAt(0),j="a".charCodeAt(0),k="A".charCodeAt(0),l="-".charCodeAt(0),m="_".charCodeAt(0);a.toByteArray=c,a.fromByteArray=e}("undefined"==typeof b?this.base64js={}:b),c.exports}),a.registerDynamic("2ec",["2eb"],!0,function(a,b,c){return c.exports=a("2eb"),c.exports}),a.registerDynamic("2ed",[],!0,function(a,b,c){return b.read=function(a,b,c,d,e){var f,g,h=8*e-d-1,i=(1<<h)-1,j=i>>1,k=-7,l=c?e-1:0,m=c?-1:1,n=a[b+l];for(l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;k>0;f=256*f+a[b+l],l+=m,k-=8);for(g=f&(1<<-k)-1,f>>=-k,k+=d;k>0;g=256*g+a[b+l],l+=m,k-=8);if(0===f)f=1-j;else{if(f===i)return g?NaN:(n?-1:1)*(1/0);g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},b.write=function(a,b,c,d,e,f){var g,h,i,j=8*f-e-1,k=(1<<j)-1,l=k>>1,m=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?0:f-1,o=d?1:-1,p=0>b||0===b&&0>1/b?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),b+=g+l>=1?m/i:m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));e>=8;a[c+n]=255&h,n+=o,h/=256,e-=8);for(g=g<<e|h,j+=e;j>0;a[c+n]=255&g,n+=o,g/=256,j-=8);a[c+n-o]|=128*p},c.exports}),a.registerDynamic("2ee",["2ed"],!0,function(a,b,c){return c.exports=a("2ed"),c.exports}),a.registerDynamic("2ef",[],!0,function(a,b,c){var d={}.toString;return c.exports=Array.isArray||function(a){return"[object Array]"==d.call(a)},c.exports}),a.registerDynamic("179",["2ef"],!0,function(a,b,c){return c.exports=a("2ef"),c.exports}),a.registerDynamic("2f0",["2ec","2ee","179"],!0,function(a,b,c){"use strict";function d(){function a(){}try{var b=new Uint8Array(1);return b.foo=function(){return 42},b.constructor=a,42===b.foo()&&b.constructor===a&&"function"==typeof b.subarray&&0===b.subarray(1,1).byteLength}catch(c){return!1}}function e(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(a){return this instanceof f?(f.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof a?g(this,a):"string"==typeof a?h(this,a,arguments.length>1?arguments[1]:"utf8"):i(this,a)):arguments.length>1?new f(a,arguments[1]):new f(a)}function g(a,b){if(a=p(a,0>b?0:0|q(b)),!f.TYPED_ARRAY_SUPPORT)for(var c=0;b>c;c++)a[c]=0;return a}function h(a,b,c){"string"==typeof c&&""!==c||(c="utf8");var d=0|s(b,c);return a=p(a,d),a.write(b,c),a}function i(a,b){if(f.isBuffer(b))return j(a,b);if(Z(b))return k(a,b);if(null==b)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(b.buffer instanceof ArrayBuffer)return l(a,b);if(b instanceof ArrayBuffer)return m(a,b)}return b.length?n(a,b):o(a,b)}function j(a,b){var c=0|q(b.length);return a=p(a,c),b.copy(a,0,0,c),a}function k(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function l(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function m(a,b){return f.TYPED_ARRAY_SUPPORT?(b.byteLength,a=f._augment(new Uint8Array(b))):a=l(a,new Uint8Array(b)),a}function n(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;c>d;d+=1)a[d]=255&b[d];return a}function o(a,b){var c,d=0;"Buffer"===b.type&&Z(b.data)&&(c=b.data,d=0|q(c.length)),a=p(a,d);for(var e=0;d>e;e+=1)a[e]=255&c[e];return a}function p(a,b){f.TYPED_ARRAY_SUPPORT?(a=f._augment(new Uint8Array(b)),a.__proto__=f.prototype):(a.length=b,a._isBuffer=!0);var c=0!==b&&b<=f.poolSize>>>1;return c&&(a.parent=$),a}function q(a){if(a>=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|a}function r(a,b){if(!(this instanceof r))return new r(a,b);var c=new f(a,b);return delete c.parent,c}function s(a,b){"string"!=typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case"ascii":case"binary":case"raw":case"raws":return c;case"utf8":case"utf-8":return R(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return U(a).length;default:if(d)return R(a).length;b=(""+b).toLowerCase(),d=!0}}function t(a,b,c){var d=!1;if(b=0|b,c=void 0===c||c===1/0?this.length:0|c,a||(a="utf8"),0>b&&(b=0),c>this.length&&(c=this.length),b>=c)return"";for(;;)switch(a){case"hex":return F(this,b,c);case"utf8":case"utf-8":return B(this,b,c);case"ascii":return D(this,b,c);case"binary":return E(this,b,c);case"base64":return A(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}function u(a,b,c,d){c=Number(c)||0;var e=a.length-c;d?(d=Number(d),d>e&&(d=e)):d=e;var f=b.length;if(f%2!==0)throw new Error("Invalid hex string");d>f/2&&(d=f/2);for(var g=0;d>g;g++){var h=parseInt(b.substr(2*g,2),16);if(isNaN(h))throw new Error("Invalid hex string");a[c+g]=h}return g}function v(a,b,c,d){return V(R(b,a.length-c),a,c,d)}function w(a,b,c,d){return V(S(b),a,c,d)}function x(a,b,c,d){return w(a,b,c,d)}function y(a,b,c,d){return V(U(b),a,c,d)}function z(a,b,c,d){return V(T(b,a.length-c),a,c,d)}function A(a,b,c){return 0===b&&c===a.length?X.fromByteArray(a):X.fromByteArray(a.slice(b,c))}function B(a,b,c){c=Math.min(a.length,c);for(var d=[],e=b;c>e;){var f=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(c>=e+h){var i,j,k,l;switch(h){case 1:128>f&&(g=f);break;case 2:i=a[e+1],128===(192&i)&&(l=(31&f)<<6|63&i,l>127&&(g=l));break;case 3:i=a[e+1],j=a[e+2],128===(192&i)&&128===(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j,l>2047&&(55296>l||l>57343)&&(g=l));break;case 4:i=a[e+1],j=a[e+2],k=a[e+3],128===(192&i)&&128===(192&j)&&128===(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k,l>65535&&1114112>l&&(g=l))}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|1023&g),d.push(g),e+=h}return C(d)}function C(a){var b=a.length;if(_>=b)return String.fromCharCode.apply(String,a);for(var c="",d=0;b>d;)c+=String.fromCharCode.apply(String,a.slice(d,d+=_));return c}function D(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(127&a[e]);return d}function E(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;c>e;e++)d+=String.fromCharCode(a[e]);return d}function F(a,b,c){var d=a.length;(!b||0>b)&&(b=0),(!c||0>c||c>d)&&(c=d);for(var e="",f=b;c>f;f++)e+=Q(a[f]);return e}function G(a,b,c){for(var d=a.slice(b,c),e="",f=0;f<d.length;f+=2)e+=String.fromCharCode(d[f]+256*d[f+1]);return e}function H(a,b,c){if(a%1!==0||0>a)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length")}function I(a,b,c,d,e,g){if(!f.isBuffer(a))throw new TypeError("buffer must be a Buffer instance");if(b>e||g>b)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range")}function J(a,b,c,d){0>b&&(b=65535+b+1);for(var e=0,f=Math.min(a.length-c,2);f>e;e++)a[c+e]=(b&255<<8*(d?e:1-e))>>>8*(d?e:1-e)}function K(a,b,c,d){0>b&&(b=4294967295+b+1);for(var e=0,f=Math.min(a.length-c,4);f>e;e++)a[c+e]=b>>>8*(d?e:3-e)&255}function L(a,b,c,d,e,f){if(b>e||f>b)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range");if(0>c)throw new RangeError("index out of range")}function M(a,b,c,d,e){return e||L(a,b,c,4,3.4028234663852886e38,-3.4028234663852886e38),Y.write(a,b,c,d,23,4),c+4}function N(a,b,c,d,e){return e||L(a,b,c,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(a,b,c,d,52,8),c+8}function O(a){if(a=P(a).replace(ba,""),a.length<2)return"";for(;a.length%4!==0;)a+="=";return a}function P(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Q(a){return 16>a?"0"+a.toString(16):a.toString(16)}function R(a,b){b=b||1/0;for(var c,d=a.length,e=null,f=[],g=0;d>g;g++){if(c=a.charCodeAt(g),c>55295&&57344>c){if(!e){if(c>56319){(b-=3)>-1&&f.push(239,191,189);continue}if(g+1===d){(b-=3)>-1&&f.push(239,191,189);continue}e=c;continue}if(56320>c){(b-=3)>-1&&f.push(239,191,189),e=c;continue}c=(e-55296<<10|c-56320)+65536}else e&&(b-=3)>-1&&f.push(239,191,189);if(e=null,128>c){if((b-=1)<0)break;f.push(c)}else if(2048>c){if((b-=2)<0)break;f.push(c>>6|192,63&c|128)}else if(65536>c){if((b-=3)<0)break;f.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(1114112>c))throw new Error("Invalid code point");if((b-=4)<0)break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return f}function S(a){for(var b=[],c=0;c<a.length;c++)b.push(255&a.charCodeAt(c));return b}function T(a,b){for(var c,d,e,f=[],g=0;g<a.length&&!((b-=2)<0);g++)c=a.charCodeAt(g),d=c>>8,e=c%256,f.push(e),f.push(d);return f}function U(a){return X.toByteArray(O(a))}function V(a,b,c,d){for(var e=0;d>e&&!(e+c>=b.length||e>=a.length);e++)b[e+c]=a[e];return e}var W=this,X=a("2ec"),Y=a("2ee"),Z=a("179");b.Buffer=f,b.SlowBuffer=r,b.INSPECT_MAX_BYTES=50,f.poolSize=8192;var $={};f.TYPED_ARRAY_SUPPORT=void 0!==W.TYPED_ARRAY_SUPPORT?W.TYPED_ARRAY_SUPPORT:d(),f.TYPED_ARRAY_SUPPORT?(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array):(f.prototype.length=void 0,f.prototype.parent=void 0),f.isBuffer=function(a){return!(null==a||!a._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,e=0,g=Math.min(c,d);g>e&&a[e]===b[e];)++e;return e!==g&&(c=a[e],d=b[e]),d>c?-1:c>d?1:0},f.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(a,b){if(!Z(a))throw new TypeError("list argument must be an Array of Buffers.");if(0===a.length)return new f(0);var c;if(void 0===b)for(b=0,c=0;c<a.length;c++)b+=a[c].length;var d=new f(b),e=0;for(c=0;c<a.length;c++){var g=a[c];g.copy(d,e),e+=g.length}return d},f.byteLength=s,f.prototype.toString=function(){var a=0|this.length;return 0===a?"":0===arguments.length?B(this,0,a):t.apply(this,arguments)},f.prototype.equals=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?!0:0===f.compare(this,a)},f.prototype.inspect=function(){var a="",c=b.INSPECT_MAX_BYTES;return this.length>0&&(a=this.toString("hex",0,c).match(/.{2}/g).join(" "),this.length>c&&(a+=" ... ")),"<Buffer "+a+">"},f.prototype.compare=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?0:f.compare(this,a)},f.prototype.indexOf=function(a,b){function c(a,b,c){for(var d=-1,e=0;c+e<a.length;e++)if(a[c+e]===b[-1===d?0:e-d]){if(-1===d&&(d=e),e-d+1===b.length)return c+d}else d=-1;return-1}if(b>2147483647?b=2147483647:-2147483648>b&&(b=-2147483648),b>>=0,0===this.length)return-1;if(b>=this.length)return-1;if(0>b&&(b=Math.max(this.length+b,0)),"string"==typeof a)return 0===a.length?-1:String.prototype.indexOf.call(this,a,b);if(f.isBuffer(a))return c(this,a,b);if("number"==typeof a)return f.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,a,b):c(this,[a],b);throw new TypeError("val must be string, number or Buffer")},f.prototype.get=function(a){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(a)},f.prototype.set=function(a,b){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(a,b)},f.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else if(isFinite(b))b=0|b,isFinite(c)?(c=0|c,void 0===d&&(d="utf8")):(d=c,c=void 0);else{var e=d;d=b,b=0|c,c=e}var f=this.length-b;if((void 0===c||c>f)&&(c=f),a.length>0&&(0>c||0>b)||b>this.length)throw new RangeError("attempt to write outside buffer bounds");d||(d="utf8");for(var g=!1;;)switch(d){case"hex":return u(this,a,b,c);case"utf8":case"utf-8":return v(this,a,b,c);case"ascii":return w(this,a,b,c);case"binary":return x(this,a,b,c);case"base64":return y(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,a,b,c);default:if(g)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),g=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _=4096;f.prototype.slice=function(a,b){var c=this.length;a=~~a,b=void 0===b?c:~~b,0>a?(a+=c,0>a&&(a=0)):a>c&&(a=c),0>b?(b+=c,0>b&&(b=0)):b>c&&(b=c),a>b&&(b=a);var d;if(f.TYPED_ARRAY_SUPPORT)d=f._augment(this.subarray(a,b));else{var e=b-a;d=new f(e,void 0);for(var g=0;e>g;g++)d[g]=this[g+a]}return d.length&&(d.parent=this.parent||this),d},f.prototype.readUIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return d},f.prototype.readUIntBE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a+--b],e=1;b>0&&(e*=256);)d+=this[a+--b]*e;return d},f.prototype.readUInt8=function(a,b){return b||H(a,1,this.length),this[a]},f.prototype.readUInt16LE=function(a,b){return b||H(a,2,this.length),this[a]|this[a+1]<<8},f.prototype.readUInt16BE=function(a,b){return b||H(a,2,this.length),this[a]<<8|this[a+1]},f.prototype.readUInt32LE=function(a,b){return b||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},f.prototype.readUInt32BE=function(a,b){return b||H(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},f.prototype.readIntLE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return e*=128,d>=e&&(d-=Math.pow(2,8*b)),d},f.prototype.readIntBE=function(a,b,c){a=0|a,b=0|b,c||H(a,b,this.length);for(var d=b,e=1,f=this[a+--d];d>0&&(e*=256);)f+=this[a+--d]*e;return e*=128,f>=e&&(f-=Math.pow(2,8*b)),f},f.prototype.readInt8=function(a,b){return b||H(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},f.prototype.readInt16LE=function(a,b){b||H(a,2,this.length);var c=this[a]|this[a+1]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt16BE=function(a,b){b||H(a,2,this.length);var c=this[a+1]|this[a]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt32LE=function(a,b){return b||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},f.prototype.readInt32BE=function(a,b){return b||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},f.prototype.readFloatLE=function(a,b){return b||H(a,4,this.length),Y.read(this,a,!0,23,4)},f.prototype.readFloatBE=function(a,b){return b||H(a,4,this.length),Y.read(this,a,!1,23,4)},f.prototype.readDoubleLE=function(a,b){return b||H(a,8,this.length),Y.read(this,a,!0,52,8)},f.prototype.readDoubleBE=function(a,b){return b||H(a,8,this.length),Y.read(this,a,!1,52,8)},f.prototype.writeUIntLE=function(a,b,c,d){
|
||
a=+a,b=0|b,c=0|c,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=1,f=0;for(this[b]=255&a;++f<c&&(e*=256);)this[b+f]=a/e&255;return b+c},f.prototype.writeUIntBE=function(a,b,c,d){a=+a,b=0|b,c=0|c,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=c-1,f=1;for(this[b+e]=255&a;--e>=0&&(f*=256);)this[b+e]=a/f&255;return b+c},f.prototype.writeUInt8=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,1,255,0),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),this[b]=255&a,b+1},f.prototype.writeUInt16LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeUInt16BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeUInt32LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b+3]=a>>>24,this[b+2]=a>>>16,this[b+1]=a>>>8,this[b]=255&a):K(this,a,b,!0),b+4},f.prototype.writeUInt32BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeIntLE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=0,g=1,h=0>a?1:0;for(this[b]=255&a;++f<c&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},f.prototype.writeIntBE=function(a,b,c,d){if(a=+a,b=0|b,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=c-1,g=1,h=0>a?1:0;for(this[b+f]=255&a;--f>=0&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},f.prototype.writeInt8=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,1,127,-128),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),0>a&&(a=255+a+1),this[b]=255&a,b+1},f.prototype.writeInt16LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeInt16BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeInt32LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):K(this,a,b,!0),b+4},f.prototype.writeInt32BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,2147483647,-2147483648),0>a&&(a=4294967295+a+1),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeFloatLE=function(a,b,c){return M(this,a,b,!0,c)},f.prototype.writeFloatBE=function(a,b,c){return M(this,a,b,!1,c)},f.prototype.writeDoubleLE=function(a,b,c){return N(this,a,b,!0,c)},f.prototype.writeDoubleBE=function(a,b,c){return N(this,a,b,!1,c)},f.prototype.copy=function(a,b,c,d){if(c||(c=0),d||0===d||(d=this.length),b>=a.length&&(b=a.length),b||(b=0),d>0&&c>d&&(d=c),d===c)return 0;if(0===a.length||0===this.length)return 0;if(0>b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>d)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),a.length-b<d-c&&(d=a.length-b+c);var e,g=d-c;if(this===a&&b>c&&d>b)for(e=g-1;e>=0;e--)a[e+b]=this[e+c];else if(1e3>g||!f.TYPED_ARRAY_SUPPORT)for(e=0;g>e;e++)a[e+b]=this[e+c];else a._set(this.subarray(c,c+g),b);return g},f.prototype.fill=function(a,b,c){if(a||(a=0),b||(b=0),c||(c=this.length),b>c)throw new RangeError("end < start");if(c!==b&&0!==this.length){if(0>b||b>=this.length)throw new RangeError("start out of bounds");if(0>c||c>this.length)throw new RangeError("end out of bounds");var d;if("number"==typeof a)for(d=b;c>d;d++)this[d]=a;else{var e=R(a.toString()),f=e.length;for(d=b;c>d;d++)this[d]=e[d%f]}return this}},f.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(f.TYPED_ARRAY_SUPPORT)return new f(this).buffer;for(var a=new Uint8Array(this.length),b=0,c=a.length;c>b;b+=1)a[b]=this[b];return a.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var aa=f.prototype;f._augment=function(a){return a.constructor=f,a._isBuffer=!0,a._set=a.set,a.get=aa.get,a.set=aa.set,a.write=aa.write,a.toString=aa.toString,a.toLocaleString=aa.toString,a.toJSON=aa.toJSON,a.equals=aa.equals,a.compare=aa.compare,a.indexOf=aa.indexOf,a.copy=aa.copy,a.slice=aa.slice,a.readUIntLE=aa.readUIntLE,a.readUIntBE=aa.readUIntBE,a.readUInt8=aa.readUInt8,a.readUInt16LE=aa.readUInt16LE,a.readUInt16BE=aa.readUInt16BE,a.readUInt32LE=aa.readUInt32LE,a.readUInt32BE=aa.readUInt32BE,a.readIntLE=aa.readIntLE,a.readIntBE=aa.readIntBE,a.readInt8=aa.readInt8,a.readInt16LE=aa.readInt16LE,a.readInt16BE=aa.readInt16BE,a.readInt32LE=aa.readInt32LE,a.readInt32BE=aa.readInt32BE,a.readFloatLE=aa.readFloatLE,a.readFloatBE=aa.readFloatBE,a.readDoubleLE=aa.readDoubleLE,a.readDoubleBE=aa.readDoubleBE,a.writeUInt8=aa.writeUInt8,a.writeUIntLE=aa.writeUIntLE,a.writeUIntBE=aa.writeUIntBE,a.writeUInt16LE=aa.writeUInt16LE,a.writeUInt16BE=aa.writeUInt16BE,a.writeUInt32LE=aa.writeUInt32LE,a.writeUInt32BE=aa.writeUInt32BE,a.writeIntLE=aa.writeIntLE,a.writeIntBE=aa.writeIntBE,a.writeInt8=aa.writeInt8,a.writeInt16LE=aa.writeInt16LE,a.writeInt16BE=aa.writeInt16BE,a.writeInt32LE=aa.writeInt32LE,a.writeInt32BE=aa.writeInt32BE,a.writeFloatLE=aa.writeFloatLE,a.writeFloatBE=aa.writeFloatBE,a.writeDoubleLE=aa.writeDoubleLE,a.writeDoubleBE=aa.writeDoubleBE,a.fill=aa.fill,a.inspect=aa.inspect,a.toArrayBuffer=aa.toArrayBuffer,a};var ba=/[^+\/0-9A-Za-z-_]/g;return c.exports}),a.registerDynamic("2f1",["2f0"],!0,function(a,b,c){return c.exports=a("2f0"),c.exports}),a.registerDynamic("2f2",["2f1"],!0,function(b,c,d){return d.exports=a._nodeRequire?a._nodeRequire("buffer"):b("2f1"),d.exports}),a.registerDynamic("165",["2f2"],!0,function(a,b,c){return c.exports=a("2f2"),c.exports}),a.registerDynamic("2f3",["2bd","294","295","2a3","2a2","165","45"],!0,function(a,b,c){return function(c,d){"use strict";function e(a){return this.lift(new l(a))}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2bd"),h=a("294"),i=a("295"),j=a("2a3"),k=a("2a2");b.bufferWhen=e;var l=function(){function a(a){this.closingSelector=a}return a.prototype.call=function(a,b){return b._subscribe(new m(a,this.closingSelector))},a}(),m=function(a){function b(b,c){a.call(this,b),this.closingSelector=c,this.subscribing=!1,this.openBuffer()}return f(b,a),b.prototype._next=function(a){this.buffer.push(a)},b.prototype._complete=function(){var b=this.buffer;b&&this.destination.next(b),a.prototype._complete.call(this)},b.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},b.prototype.notifyNext=function(a,b,c,d,e){this.openBuffer()},b.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},b.prototype.openBuffer=function(){var a=this.closingSubscription;a&&(this.remove(a),a.unsubscribe());var b=this.buffer;this.buffer&&this.destination.next(b),this.buffer=[];var c=h.tryCatch(this.closingSelector)();c===i.errorObject?this.error(i.errorObject.e):(a=new g.Subscription,this.closingSubscription=a,this.add(a),this.subscribing=!0,a.add(k.subscribeToResult(this,c)),this.subscribing=!1)},b}(j.OuterSubscriber)}(a("165").Buffer,a("45")),c.exports}),a.registerDynamic("2f4",["f","2f3"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2f3");return d.Observable.prototype.bufferWhen=e.bufferWhen,c.exports}),a.registerDynamic("2f5",["2f6"],!0,function(a,b,c){"use strict";function d(a,b,c){return void 0===a&&(a=Number.POSITIVE_INFINITY),void 0===b&&(b=Number.POSITIVE_INFINITY),e.publishReplay.call(this,a,b,c).refCount()}var e=a("2f6");return b.cache=d,c.exports}),a.registerDynamic("2f7",["f","2f5"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2f5");return d.Observable.prototype.cache=e.cache,c.exports}),a.registerDynamic("2f8",["2e5"],!0,function(a,b,c){"use strict";function d(a){var b=new g(a),c=this.lift(b);return b.caught=c}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b._catch=d;var g=function(){function a(a){this.selector=a}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.selector,this.caught))},a}(),h=function(a){function b(b,c,d){a.call(this,b),this.selector=c,this.caught=d}return e(b,a),b.prototype.error=function(a){if(!this.isStopped){var b=void 0;try{b=this.selector(a,this.caught)}catch(a){return void this.destination.error(a)}this._innerSub(b)}},b.prototype._innerSub=function(a){this.unsubscribe(),this.destination.remove(this),a.subscribe(this.destination)},b}(f.Subscriber);return c.exports}),a.registerDynamic("2f9",["f","2f8"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2f8");return d.Observable.prototype["catch"]=e._catch,c.exports}),a.registerDynamic("2fa",["29d"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new e.CombineLatestOperator(a))}var e=a("29d");return b.combineAll=d,c.exports}),a.registerDynamic("2fb",["f","2fa"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2fa");return d.Observable.prototype.combineAll=e.combineAll,c.exports}),a.registerDynamic("29d",["2b7","2aa","2b6","2a3","2a2"],!0,function(a,b,c){"use strict";function d(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=null;return"function"==typeof a[a.length-1]&&(c=a.pop()),1===a.length&&h.isArray(a[0])&&(a=a[0]),a.unshift(this),new g.ArrayObservable(a).lift(new l(c))}function e(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=null,d=null;return i.isScheduler(a[a.length-1])&&(d=a.pop()),"function"==typeof a[a.length-1]&&(c=a.pop()),1===a.length&&h.isArray(a[0])&&(a=a[0]),new g.ArrayObservable(a,d).lift(new l(c))}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2b7"),h=a("2aa"),i=a("2b6"),j=a("2a3"),k=a("2a2");b.combineLatest=d,b.combineLatestStatic=e;var l=function(){function a(a){this.project=a}return a.prototype.call=function(a,b){return b._subscribe(new m(a,this.project))},a}();b.CombineLatestOperator=l;var m=function(a){function b(b,c){a.call(this,b),this.project=c,this.active=0,this.values=[],this.observables=[],this.toRespond=[]}return f(b,a),b.prototype._next=function(a){var b=this.toRespond;b.push(b.length),this.observables.push(a)},b.prototype._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{this.active=b;for(var c=0;b>c;c++){var d=a[c];this.add(k.subscribeToResult(this,d,d,c))}}},b.prototype.notifyComplete=function(a){0===(this.active-=1)&&this.destination.complete()},b.prototype.notifyNext=function(a,b,c,d,e){var f=this.values;f[c]=b;var g=this.toRespond;if(g.length>0){var h=g.indexOf(c);-1!==h&&g.splice(h,1)}0===g.length&&(this.project?this._tryProject(f):this.destination.next(f))},b.prototype._tryProject=function(a){var b;try{b=this.project.apply(this,a)}catch(c){return void this.destination.error(c)}this.destination.next(b)},b}(j.OuterSubscriber);return b.CombineLatestSubscriber=m,c.exports}),a.registerDynamic("2fc",["f","29d"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("29d");return d.Observable.prototype.combineLatest=e.combineLatest,c.exports}),a.registerDynamic("2fd",["f","29f"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("29f");return d.Observable.prototype.concat=e.concat,c.exports}),a.registerDynamic("2fe",["2ff"],!0,function(a,b,c){"use strict";function d(){return this.lift(new e.MergeAllOperator(1))}var e=a("2ff");return b.concatAll=d,c.exports}),a.registerDynamic("300",["f","2fe"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2fe");return d.Observable.prototype.concatAll=e.concatAll,c.exports}),a.registerDynamic("301",["302"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new e.MergeMapOperator(a,b,1))}var e=a("302");return b.concatMap=d,c.exports}),a.registerDynamic("303",["f","301"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("301");return d.Observable.prototype.concatMap=e.concatMap,c.exports}),a.registerDynamic("304",["305"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new e.MergeMapToOperator(a,b,1))}var e=a("305");return b.concatMapTo=d,c.exports}),a.registerDynamic("306",["f","304"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("304");return d.Observable.prototype.concatMapTo=e.concatMapTo,c.exports}),a.registerDynamic("307",["2e5"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new g(a,this))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.count=d;var g=function(){function a(a,b){this.predicate=a,this.source=b}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.predicate,this.source))},a}(),h=function(a){function b(b,c,d){a.call(this,b),this.predicate=c,this.source=d,this.count=0,this.index=0}return e(b,a),b.prototype._next=function(a){this.predicate?this._tryPredicate(a):this.count++},b.prototype._tryPredicate=function(a){var b;try{b=this.predicate(a,this.index++,this.source)}catch(c){return void this.destination.error(c)}b&&this.count++},b.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},b}(f.Subscriber);return c.exports}),a.registerDynamic("308",["f","307"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("307");return d.Observable.prototype.count=e.count,c.exports}),a.registerDynamic("309",["2e5"],!0,function(a,b,c){"use strict";function d(){return this.lift(new g)}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.dematerialize=d;var g=function(){function a(){}return a.prototype.call=function(a,b){return b._subscribe(new h(a))},a}(),h=function(a){function b(b){a.call(this,b)}return e(b,a),b.prototype._next=function(a){a.observe(this.destination)},b}(f.Subscriber);return c.exports}),a.registerDynamic("30a",["f","309"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("309");return d.Observable.prototype.dematerialize=e.dematerialize,c.exports}),a.registerDynamic("30b",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new h(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.debounce=d;var h=function(){function a(a){this.durationSelector=a}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.durationSelector))},a}(),i=function(a){function b(b,c){a.call(this,b),this.durationSelector=c,this.hasValue=!1,this.durationSubscription=null}return e(b,a),b.prototype._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}},b.prototype._complete=function(){this.emitValue(),this.destination.complete()},b.prototype._tryNext=function(a,b){var c=this.durationSubscription;this.value=a,this.hasValue=!0,c&&(c.unsubscribe(),this.remove(c)),c=g.subscribeToResult(this,b),c.isUnsubscribed||this.add(this.durationSubscription=c)},b.prototype.notifyNext=function(a,b,c,d,e){this.emitValue()},b.prototype.notifyComplete=function(){this.emitValue()},b.prototype.emitValue=function(){if(this.hasValue){var b=this.value,c=this.durationSubscription;c&&(this.durationSubscription=null,c.unsubscribe(),this.remove(c)),this.value=null,this.hasValue=!1,a.prototype._next.call(this,b)}},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("30c",["f","30b"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("30b");return d.Observable.prototype.debounce=e.debounce,c.exports}),a.registerDynamic("30d",["2e5","2c7"],!0,function(a,b,c){"use strict";function d(a,b){return void 0===b&&(b=h.async),this.lift(new i(a,b))}function e(a){a.debouncedNext()}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2e5"),h=a("2c7");b.debounceTime=d;var i=function(){function a(a,b){this.dueTime=a,this.scheduler=b}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.dueTime,this.scheduler))},a}(),j=function(a){function b(b,c,d){a.call(this,b),this.dueTime=c,this.scheduler=d,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return f(b,a),b.prototype._next=function(a){this.clearDebounce(),this.lastValue=a,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(e,this.dueTime,this))},b.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},b.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},b.prototype.clearDebounce=function(){var a=this.debouncedSubscription;null!==a&&(this.remove(a),a.unsubscribe(),this.debouncedSubscription=null)},b}(g.Subscriber);return c.exports}),a.registerDynamic("30e",["f","30d"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("30d");return d.Observable.prototype.debounceTime=e.debounceTime,c.exports}),a.registerDynamic("30f",["2e5"],!0,function(a,b,c){"use strict";function d(a){return void 0===a&&(a=null),this.lift(new g(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.defaultIfEmpty=d;var g=function(){function a(a){this.defaultValue=a}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.defaultValue))},a}(),h=function(a){function b(b,c){a.call(this,b),this.defaultValue=c,this.isEmpty=!0}return e(b,a),b.prototype._next=function(a){this.isEmpty=!1,this.destination.next(a)},b.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},b}(f.Subscriber);return c.exports}),a.registerDynamic("310",["f","30f"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("30f");return d.Observable.prototype.defaultIfEmpty=e.defaultIfEmpty,c.exports}),a.registerDynamic("311",["2c7","2dc","2e5","312"],!0,function(a,b,c){"use strict";function d(a,b){void 0===b&&(b=f.async);var c=g.isDate(a),d=c?+a-b.now():Math.abs(a);return this.lift(new j(d,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2c7"),g=a("2dc"),h=a("2e5"),i=a("312");b.delay=d;var j=function(){function a(a,b){this.delay=a,this.scheduler=b}return a.prototype.call=function(a,b){return b._subscribe(new k(a,this.delay,this.scheduler))},a}(),k=function(a){function b(b,c,d){a.call(this,b),this.delay=c,this.scheduler=d,this.queue=[],this.active=!1,this.errored=!1}return e(b,a),b.dispatch=function(a){for(var b=a.source,c=b.queue,d=a.scheduler,e=a.destination;c.length>0&&c[0].time-d.now()<=0;)c.shift().notification.observe(e);if(c.length>0){var f=Math.max(0,c[0].time-d.now());this.schedule(a,f)}else b.active=!1},b.prototype._schedule=function(a){this.active=!0,this.add(a.schedule(b.dispatch,this.delay,{source:this,destination:this.destination,scheduler:a}))},b.prototype.scheduleNotification=function(a){if(this.errored!==!0){var b=this.scheduler,c=new l(b.now()+this.delay,a);this.queue.push(c),this.active===!1&&this._schedule(b)}},b.prototype._next=function(a){this.scheduleNotification(i.Notification.createNext(a))},b.prototype._error=function(a){this.errored=!0,this.queue=[],this.destination.error(a)},b.prototype._complete=function(){this.scheduleNotification(i.Notification.createComplete())},b}(h.Subscriber),l=function(){function a(a,b){this.time=a,this.notification=b}return a}();return c.exports}),a.registerDynamic("313",["f","311"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("311");return d.Observable.prototype.delay=e.delay,c.exports}),a.registerDynamic("314",["2e5","f","2a3","2a2"],!0,function(a,b,c){"use strict";function d(a,b){return b?new l(this,b).lift(new j(a)):this.lift(new j(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("f"),h=a("2a3"),i=a("2a2");b.delayWhen=d;var j=function(){function a(a){this.delayDurationSelector=a}return a.prototype.call=function(a,b){return b._subscribe(new k(a,this.delayDurationSelector))},a}(),k=function(a){function b(b,c){a.call(this,b),this.delayDurationSelector=c,this.completed=!1,this.delayNotifierSubscriptions=[],this.values=[]}return e(b,a),b.prototype.notifyNext=function(a,b,c,d,e){this.destination.next(a),this.removeSubscription(e),this.tryComplete()},b.prototype.notifyError=function(a,b){this._error(a)},b.prototype.notifyComplete=function(a){var b=this.removeSubscription(a);b&&this.destination.next(b),this.tryComplete()},b.prototype._next=function(a){try{var b=this.delayDurationSelector(a);b&&this.tryDelay(b,a)}catch(c){this.destination.error(c)}},b.prototype._complete=function(){this.completed=!0,this.tryComplete()},b.prototype.removeSubscription=function(a){a.unsubscribe();var b=this.delayNotifierSubscriptions.indexOf(a),c=null;return-1!==b&&(c=this.values[b],this.delayNotifierSubscriptions.splice(b,1),this.values.splice(b,1)),c},b.prototype.tryDelay=function(a,b){var c=i.subscribeToResult(this,a,b);this.add(c),this.delayNotifierSubscriptions.push(c),this.values.push(b)},b.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},b}(h.OuterSubscriber),l=function(a){function b(b,c){a.call(this),this.source=b,this.subscriptionDelay=c}return e(b,a),b.prototype._subscribe=function(a){this.subscriptionDelay.subscribe(new m(a,this.source))},b}(g.Observable),m=function(a){function b(b,c){a.call(this),this.parent=b,this.source=c,this.sourceSubscribed=!1}return e(b,a),b.prototype._next=function(a){this.subscribeToSource()},b.prototype._error=function(a){this.unsubscribe(),this.parent.error(a)},b.prototype._complete=function(){this.subscribeToSource()},b.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},b}(f.Subscriber);return c.exports}),a.registerDynamic("315",["f","314"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("314");return d.Observable.prototype.delayWhen=e.delayWhen,c.exports}),a.registerDynamic("316",["2e5","294","295"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new i(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("294"),h=a("295");b.distinctUntilChanged=d;var i=function(){function a(a,b){this.compare=a,this.keySelector=b}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.compare,this.keySelector))},a}(),j=function(a){function b(b,c,d){a.call(this,b),this.keySelector=d,this.hasKey=!1,"function"==typeof c&&(this.compare=c)}return e(b,a),b.prototype.compare=function(a,b){return a===b},b.prototype._next=function(a){var b=this.keySelector,c=a;if(b&&(c=g.tryCatch(this.keySelector)(a),c===h.errorObject))return this.destination.error(h.errorObject.e);var d=!1;if(this.hasKey){if(d=g.tryCatch(this.compare)(this.key,c),d===h.errorObject)return this.destination.error(h.errorObject.e)}else this.hasKey=!0;Boolean(d)===!1&&(this.key=c,this.destination.next(a))},b}(f.Subscriber);return c.exports}),a.registerDynamic("317",["f","316"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("316");return d.Observable.prototype.distinctUntilChanged=e.distinctUntilChanged,c.exports}),a.registerDynamic("318",["2e5"],!0,function(a,b,c){"use strict";function d(a,b,c){return this.lift(new g(a,b,c))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b._do=d;var g=function(){function a(a,b,c){this.nextOrObserver=a,this.error=b,this.complete=c}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.nextOrObserver,this.error,this.complete))},a}(),h=function(a){function b(b,c,d,e){a.call(this,b);var g=new f.Subscriber(c,d,e);g.syncErrorThrowable=!0,this.add(g),this.safeSubscriber=g}return e(b,a),b.prototype._next=function(a){var b=this.safeSubscriber;b.next(a),b.syncErrorThrown?this.destination.error(b.syncErrorValue):this.destination.next(a)},b.prototype._error=function(a){var b=this.safeSubscriber;b.error(a),b.syncErrorThrown?this.destination.error(b.syncErrorValue):this.destination.error(a)},b.prototype._complete=function(){var a=this.safeSubscriber;a.complete(),a.syncErrorThrown?this.destination.error(a.syncErrorValue):this.destination.complete()},b}(f.Subscriber);return c.exports}),a.registerDynamic("319",["f","318"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("318");return d.Observable.prototype["do"]=e._do,c.exports}),a.registerDynamic("31a",["294","295","2a3","2a2"],!0,function(a,b,c){"use strict";function d(a,b,c){return void 0===b&&(b=Number.POSITIVE_INFINITY),void 0===c&&(c=void 0),b=1>(b||0)?Number.POSITIVE_INFINITY:b,this.lift(new j(a,b,c))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("294"),g=a("295"),h=a("2a3"),i=a("2a2");b.expand=d;var j=function(){function a(a,b,c){this.project=a,this.concurrent=b,this.scheduler=c}return a.prototype.call=function(a,b){return b._subscribe(new k(a,this.project,this.concurrent,this.scheduler))},a}();b.ExpandOperator=j;var k=function(a){function b(b,c,d,e){a.call(this,b),this.project=c,this.concurrent=d,this.scheduler=e,this.index=0,this.active=0,this.hasCompleted=!1,d<Number.POSITIVE_INFINITY&&(this.buffer=[])}return e(b,a),b.dispatch=function(a){var b=a.subscriber,c=a.result,d=a.value,e=a.index;b.subscribeToProjection(c,d,e)},b.prototype._next=function(a){var c=this.destination;if(c.isUnsubscribed)return void this._complete();var d=this.index++;if(this.active<this.concurrent){c.next(a);var e=f.tryCatch(this.project)(a,d);if(e===g.errorObject)c.error(g.errorObject.e);else if(this.scheduler){var h={subscriber:this,result:e,value:a,index:d};this.add(this.scheduler.schedule(b.dispatch,0,h))}else this.subscribeToProjection(e,a,d)}else this.buffer.push(a)},b.prototype.subscribeToProjection=function(a,b,c){this.active++,this.add(i.subscribeToResult(this,a,b,c))},b.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete()},b.prototype.notifyNext=function(a,b,c,d,e){this._next(b)},b.prototype.notifyComplete=function(a){var b=this.buffer;this.remove(a),this.active--,b&&b.length>0&&this._next(b.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},b}(h.OuterSubscriber);return b.ExpandSubscriber=k,c.exports}),a.registerDynamic("31b",["f","31a"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("31a");return d.Observable.prototype.expand=e.expand,c.exports}),a.registerDynamic("31c",["f","31d"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("31d");return d.Observable.prototype.filter=e.filter,c.exports}),a.registerDynamic("31e",["2e5","2bd"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new h(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("2bd");b._finally=d;var h=function(){function a(a){this.finallySelector=a}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.finallySelector))},a}(),i=function(a){function b(b,c){a.call(this,b),this.add(new g.Subscription(c))}return e(b,a),b}(f.Subscriber);return c.exports}),a.registerDynamic("31f",["f","31e"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("31e");return d.Observable.prototype["finally"]=e._finally,c.exports}),a.registerDynamic("320",["2e5","321"],!0,function(a,b,c){"use strict";function d(a,b,c){return this.lift(new h(a,b,c,this))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("321");b.first=d;var h=function(){function a(a,b,c,d){this.predicate=a,this.resultSelector=b,this.defaultValue=c,this.source=d}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.predicate,this.resultSelector,this.defaultValue,this.source))},a}(),i=function(a){function b(b,c,d,e,f){a.call(this,b),this.predicate=c,this.resultSelector=d,this.defaultValue=e,this.source=f,this.index=0,this.hasCompleted=!1}return e(b,a),b.prototype._next=function(a){var b=this.index++;this.predicate?this._tryPredicate(a,b):this._emit(a,b)},b.prototype._tryPredicate=function(a,b){var c;try{c=this.predicate(a,b,this.source)}catch(d){return void this.destination.error(d)}c&&this._emit(a,b)},b.prototype._emit=function(a,b){return this.resultSelector?void this._tryResultSelector(a,b):void this._emitFinal(a)},b.prototype._tryResultSelector=function(a,b){var c;try{c=this.resultSelector(a,b)}catch(d){return void this.destination.error(d)}this._emitFinal(c)},b.prototype._emitFinal=function(a){var b=this.destination;b.next(a),b.complete(),this.hasCompleted=!0},b.prototype._complete=function(){var a=this.destination;this.hasCompleted||"undefined"==typeof this.defaultValue?this.hasCompleted||a.error(new g.EmptyError):(a.next(this.defaultValue),a.complete())},b}(f.Subscriber);return c.exports}),a.registerDynamic("322",["f","320"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("320");return d.Observable.prototype.first=e.first,c.exports}),a.registerDynamic("323",[],!0,function(a,b,c){"use strict";var d=function(){function a(){this.size=0,this._values=[],this._keys=[]}return a.prototype.get=function(a){var b=this._keys.indexOf(a);return-1===b?void 0:this._values[b]},a.prototype.set=function(a,b){var c=this._keys.indexOf(a);return-1===c?(this._keys.push(a),this._values.push(b),this.size++):this._values[c]=b,this},a.prototype["delete"]=function(a){var b=this._keys.indexOf(a);return-1===b?!1:(this._values.splice(b,1),this._keys.splice(b,1),this.size--,!0)},a.prototype.clear=function(){this._keys.length=0,this._values.length=0,this.size=0},a.prototype.forEach=function(a,b){for(var c=0;c<this.size;c++)a.call(b,this._values[c],this._keys[c])},a}();return b.MapPolyfill=d,c.exports}),a.registerDynamic("324",["2ae","323"],!0,function(a,b,c){"use strict";var d=a("2ae"),e=a("323");return b.Map=d.root.Map||function(){return e.MapPolyfill}(),c.exports}),a.registerDynamic("325",[],!0,function(a,b,c){"use strict";var d=function(){function a(){this.values={}}return a.prototype["delete"]=function(a){return this.values[a]=null,!0},a.prototype.set=function(a,b){return this.values[a]=b,this},a.prototype.get=function(a){return this.values[a]},a.prototype.forEach=function(a,b){var c=this.values;for(var d in c)c.hasOwnProperty(d)&&null!==c[d]&&a.call(b,c[d],d)},a.prototype.clear=function(){this.values={}},a}();return b.FastMap=d,c.exports}),a.registerDynamic("326",["2e5","2bd","f","b","324","325"],!0,function(a,b,c){"use strict";function d(a,b,c){return this.lift(new l(this,a,b,c))}var e=this&&this.__extends||function(a,b){
|
||
function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("2bd"),h=a("f"),i=a("b"),j=a("324"),k=a("325");b.groupBy=d;var l=function(){function a(a,b,c,d){this.source=a,this.keySelector=b,this.elementSelector=c,this.durationSelector=d}return a.prototype.call=function(a,b){return b._subscribe(new m(a,this.keySelector,this.elementSelector,this.durationSelector))},a}(),m=function(a){function b(b,c,d,e){a.call(this),this.keySelector=c,this.elementSelector=d,this.durationSelector=e,this.groups=null,this.attemptedToUnsubscribe=!1,this.count=0,this.destination=b,this.add(b)}return e(b,a),b.prototype._next=function(a){var b;try{b=this.keySelector(a)}catch(c){return void this.error(c)}this._group(a,b)},b.prototype._group=function(a,b){var c=this.groups;c||(c=this.groups="string"==typeof b?new k.FastMap:new j.Map);var d=c.get(b);if(!d){c.set(b,d=new i.Subject);var e=new o(b,d,this);this.durationSelector&&this._selectDuration(b,d),this.destination.next(e)}this.elementSelector?this._selectElement(a,d):this.tryGroupNext(a,d)},b.prototype._selectElement=function(a,b){var c;try{c=this.elementSelector(a)}catch(d){return void this.error(d)}this.tryGroupNext(c,b)},b.prototype._selectDuration=function(a,b){var c;try{c=this.durationSelector(new o(a,b))}catch(d){return void this.error(d)}this.add(c.subscribe(new n(a,b,this)))},b.prototype.tryGroupNext=function(a,b){b.isUnsubscribed||b.next(a)},b.prototype._error=function(a){var b=this.groups;b&&(b.forEach(function(b,c){b.error(a)}),b.clear()),this.destination.error(a)},b.prototype._complete=function(){var a=this.groups;a&&(a.forEach(function(a,b){a.complete()}),a.clear()),this.destination.complete()},b.prototype.removeGroup=function(a){this.groups["delete"](a)},b.prototype.unsubscribe=function(){this.isUnsubscribed||this.attemptedToUnsubscribe||(this.attemptedToUnsubscribe=!0,0===this.count&&a.prototype.unsubscribe.call(this))},b}(f.Subscriber),n=function(a){function b(b,c,d){a.call(this),this.key=b,this.group=c,this.parent=d}return e(b,a),b.prototype._next=function(a){this.tryComplete()},b.prototype._error=function(a){this.tryError(a)},b.prototype._complete=function(){this.tryComplete()},b.prototype.tryError=function(a){var b=this.group;b.isUnsubscribed||b.error(a),this.parent.removeGroup(this.key)},b.prototype.tryComplete=function(){var a=this.group;a.isUnsubscribed||a.complete(),this.parent.removeGroup(this.key)},b}(f.Subscriber),o=function(a){function b(b,c,d){a.call(this),this.key=b,this.groupSubject=c,this.refCountSubscription=d}return e(b,a),b.prototype._subscribe=function(a){var b=new g.Subscription,c=this,d=c.refCountSubscription,e=c.groupSubject;return d&&!d.isUnsubscribed&&b.add(new p(d)),b.add(e.subscribe(a)),b},b}(h.Observable);b.GroupedObservable=o;var p=function(a){function b(b){a.call(this),this.parent=b,b.count++}return e(b,a),b.prototype.unsubscribe=function(){var b=this.parent;b.isUnsubscribed||this.isUnsubscribed||(a.prototype.unsubscribe.call(this),b.count-=1,0===b.count&&b.attemptedToUnsubscribe&&b.unsubscribe())},b}(g.Subscription);return c.exports}),a.registerDynamic("327",["f","326"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("326");return d.Observable.prototype.groupBy=e.groupBy,c.exports}),a.registerDynamic("2d0",[],!0,function(a,b,c){"use strict";function d(){}return b.noop=d,c.exports}),a.registerDynamic("328",["2e5","2d0"],!0,function(a,b,c){"use strict";function d(){return this.lift(new h)}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("2d0");b.ignoreElements=d;var h=function(){function a(){}return a.prototype.call=function(a,b){return b._subscribe(new i(a))},a}(),i=function(a){function b(){a.apply(this,arguments)}return e(b,a),b.prototype._next=function(a){g.noop()},b}(f.Subscriber);return c.exports}),a.registerDynamic("329",["f","328"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("328");return d.Observable.prototype.ignoreElements=e.ignoreElements,c.exports}),a.registerDynamic("32a",["294","295","2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new j(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("294"),g=a("295"),h=a("2a3"),i=a("2a2");b.audit=d;var j=function(){function a(a){this.durationSelector=a}return a.prototype.call=function(a,b){return b._subscribe(new k(a,this.durationSelector))},a}(),k=function(a){function b(b,c){a.call(this,b),this.durationSelector=c,this.hasValue=!1}return e(b,a),b.prototype._next=function(a){if(this.value=a,this.hasValue=!0,!this.throttled){var b=f.tryCatch(this.durationSelector)(a);b===g.errorObject?this.destination.error(g.errorObject.e):this.add(this.throttled=i.subscribeToResult(this,b))}},b.prototype.clearThrottle=function(){var a=this,b=a.value,c=a.hasValue,d=a.throttled;d&&(this.remove(d),this.throttled=null,d.unsubscribe()),c&&(this.value=null,this.hasValue=!1,this.destination.next(b))},b.prototype.notifyNext=function(a,b,c,d){this.clearThrottle()},b.prototype.notifyComplete=function(){this.clearThrottle()},b}(h.OuterSubscriber);return c.exports}),a.registerDynamic("32b",["f","32a"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("32a");return d.Observable.prototype.audit=e.audit,c.exports}),a.registerDynamic("32c",["2c7","2e5"],!0,function(a,b,c){"use strict";function d(a,b){return void 0===b&&(b=g.async),this.lift(new i(a,b))}function e(a){a.clearThrottle()}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2c7"),h=a("2e5");b.auditTime=d;var i=function(){function a(a,b){this.delay=a,this.scheduler=b}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.delay,this.scheduler))},a}(),j=function(a){function b(b,c,d){a.call(this,b),this.delay=c,this.scheduler=d,this.hasValue=!1}return f(b,a),b.prototype._next=function(a){this.value=a,this.hasValue=!0,this.throttled||this.add(this.throttled=this.scheduler.schedule(e,this.delay,this))},b.prototype.clearThrottle=function(){var a=this,b=a.value,c=a.hasValue,d=a.throttled;d&&(this.remove(d),this.throttled=null,d.unsubscribe()),c&&(this.value=null,this.hasValue=!1,this.destination.next(b))},b}(h.Subscriber);return c.exports}),a.registerDynamic("32d",["f","32c"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("32c");return d.Observable.prototype.auditTime=e.auditTime,c.exports}),a.registerDynamic("32e",["2e5","321"],!0,function(a,b,c){"use strict";function d(a,b,c){return this.lift(new h(a,b,c,this))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("321");b.last=d;var h=function(){function a(a,b,c,d){this.predicate=a,this.resultSelector=b,this.defaultValue=c,this.source=d}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.predicate,this.resultSelector,this.defaultValue,this.source))},a}(),i=function(a){function b(b,c,d,e,f){a.call(this,b),this.predicate=c,this.resultSelector=d,this.defaultValue=e,this.source=f,this.hasValue=!1,this.index=0,"undefined"!=typeof e&&(this.lastValue=e,this.hasValue=!0)}return e(b,a),b.prototype._next=function(a){var b=this.index++;if(this.predicate)this._tryPredicate(a,b);else{if(this.resultSelector)return void this._tryResultSelector(a,b);this.lastValue=a,this.hasValue=!0}},b.prototype._tryPredicate=function(a,b){var c;try{c=this.predicate(a,b,this.source)}catch(d){return void this.destination.error(d)}if(c){if(this.resultSelector)return void this._tryResultSelector(a,b);this.lastValue=a,this.hasValue=!0}},b.prototype._tryResultSelector=function(a,b){var c;try{c=this.resultSelector(a,b)}catch(d){return void this.destination.error(d)}this.lastValue=c,this.hasValue=!0},b.prototype._complete=function(){var a=this.destination;this.hasValue?(a.next(this.lastValue),a.complete()):a.error(new g.EmptyError)},b}(f.Subscriber);return c.exports}),a.registerDynamic("32f",["f","32e"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("32e");return d.Observable.prototype.last=e.last,c.exports}),a.registerDynamic("330",[],!0,function(a,b,c){"use strict";function d(a){return a(this)}return b.letProto=d,c.exports}),a.registerDynamic("331",["f","330"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("330");return d.Observable.prototype.let=e.letProto,d.Observable.prototype.letBind=e.letProto,c.exports}),a.registerDynamic("332",["2e5"],!0,function(a,b,c){"use strict";function d(a,b){var c=this;return c.lift(new g(a,b,c))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.every=d;var g=function(){function a(a,b,c){this.predicate=a,this.thisArg=b,this.source=c}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.predicate,this.thisArg,this.source))},a}(),h=function(a){function b(b,c,d,e){a.call(this,b),this.predicate=c,this.thisArg=d,this.source=e,this.index=0,this.thisArg=d||this}return e(b,a),b.prototype.notifyComplete=function(a){this.destination.next(a),this.destination.complete()},b.prototype._next=function(a){var b=!1;try{b=this.predicate.call(this.thisArg,a,this.index++,this.source)}catch(c){return void this.destination.error(c)}b||this.notifyComplete(!1)},b.prototype._complete=function(){this.notifyComplete(!0)},b}(f.Subscriber);return c.exports}),a.registerDynamic("333",["f","332"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("332");return d.Observable.prototype.every=e.every,c.exports}),a.registerDynamic("334",["f","335"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("335");return d.Observable.prototype.map=e.map,c.exports}),a.registerDynamic("336",["2e5"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new g(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.mapTo=d;var g=function(){function a(a){this.value=a}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.value))},a}(),h=function(a){function b(b,c){a.call(this,b),this.value=c}return e(b,a),b.prototype._next=function(a){this.destination.next(this.value)},b}(f.Subscriber);return c.exports}),a.registerDynamic("337",["f","336"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("336");return d.Observable.prototype.mapTo=e.mapTo,c.exports}),a.registerDynamic("338",["2e5","312"],!0,function(a,b,c){"use strict";function d(){return this.lift(new h)}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("312");b.materialize=d;var h=function(){function a(){}return a.prototype.call=function(a,b){return b._subscribe(new i(a))},a}(),i=function(a){function b(b){a.call(this,b)}return e(b,a),b.prototype._next=function(a){this.destination.next(g.Notification.createNext(a))},b.prototype._error=function(a){var b=this.destination;b.next(g.Notification.createError(a)),b.complete()},b.prototype._complete=function(){var a=this.destination;a.next(g.Notification.createComplete()),a.complete()},b}(f.Subscriber);return c.exports}),a.registerDynamic("339",["f","338"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("338");return d.Observable.prototype.materialize=e.materialize,c.exports}),a.registerDynamic("2cb",["2b7","2ff","2b6"],!0,function(a,b,c){"use strict";function d(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return a.unshift(this),e.apply(this,a)}function e(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=Number.POSITIVE_INFINITY,d=null,e=a[a.length-1];return h.isScheduler(e)?(d=a.pop(),a.length>1&&"number"==typeof a[a.length-1]&&(c=a.pop())):"number"==typeof e&&(c=a.pop()),1===a.length?a[0]:new f.ArrayObservable(a,d).lift(new g.MergeAllOperator(c))}var f=a("2b7"),g=a("2ff"),h=a("2b6");return b.merge=d,b.mergeStatic=e,c.exports}),a.registerDynamic("33a",["f","2cb"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2cb");return d.Observable.prototype.merge=e.merge,c.exports}),a.registerDynamic("33b",["f","2ff"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2ff");return d.Observable.prototype.mergeAll=e.mergeAll,c.exports}),a.registerDynamic("302",["2a2","2a3"],!0,function(a,b,c){"use strict";function d(a,b,c){return void 0===c&&(c=Number.POSITIVE_INFINITY),"number"==typeof b&&(c=b,b=null),this.lift(new h(a,b,c))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a2"),g=a("2a3");b.mergeMap=d;var h=function(){function a(a,b,c){void 0===c&&(c=Number.POSITIVE_INFINITY),this.project=a,this.resultSelector=b,this.concurrent=c}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.project,this.resultSelector,this.concurrent))},a}();b.MergeMapOperator=h;var i=function(a){function b(b,c,d,e){void 0===e&&(e=Number.POSITIVE_INFINITY),a.call(this,b),this.project=c,this.resultSelector=d,this.concurrent=e,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return e(b,a),b.prototype._next=function(a){this.active<this.concurrent?this._tryNext(a):this.buffer.push(a)},b.prototype._tryNext=function(a){var b,c=this.index++;try{b=this.project(a,c)}catch(d){return void this.destination.error(d)}this.active++,this._innerSub(b,a,c)},b.prototype._innerSub=function(a,b,c){this.add(f.subscribeToResult(this,a,b,c))},b.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},b.prototype.notifyNext=function(a,b,c,d,e){this.resultSelector?this._notifyResultSelector(a,b,c,d):this.destination.next(b)},b.prototype._notifyResultSelector=function(a,b,c,d){var e;try{e=this.resultSelector(a,b,c,d)}catch(f){return void this.destination.error(f)}this.destination.next(e)},b.prototype.notifyComplete=function(a){var b=this.buffer;this.remove(a),this.active--,b.length>0?this._next(b.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},b}(g.OuterSubscriber);return b.MergeMapSubscriber=i,c.exports}),a.registerDynamic("33c",["f","302"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("302");return d.Observable.prototype.mergeMap=e.mergeMap,d.Observable.prototype.flatMap=e.mergeMap,c.exports}),a.registerDynamic("305",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a,b,c){return void 0===c&&(c=Number.POSITIVE_INFINITY),"number"==typeof b&&(c=b,b=null),this.lift(new h(a,b,c))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.mergeMapTo=d;var h=function(){function a(a,b,c){void 0===c&&(c=Number.POSITIVE_INFINITY),this.ish=a,this.resultSelector=b,this.concurrent=c}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.ish,this.resultSelector,this.concurrent))},a}();b.MergeMapToOperator=h;var i=function(a){function b(b,c,d,e){void 0===e&&(e=Number.POSITIVE_INFINITY),a.call(this,b),this.ish=c,this.resultSelector=d,this.concurrent=e,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return e(b,a),b.prototype._next=function(a){if(this.active<this.concurrent){var b=this.resultSelector,c=this.index++,d=this.ish,e=this.destination;this.active++,this._innerSub(d,e,b,a,c)}else this.buffer.push(a)},b.prototype._innerSub=function(a,b,c,d,e){this.add(g.subscribeToResult(this,a,d,e))},b.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},b.prototype.notifyNext=function(a,b,c,d,e){var f=this,g=f.resultSelector,h=f.destination;g?this.trySelectResult(a,b,c,d):h.next(b)},b.prototype.trySelectResult=function(a,b,c,d){var e,f=this,g=f.resultSelector,h=f.destination;try{e=g(a,b,c,d)}catch(i){return void h.error(i)}h.next(e)},b.prototype.notifyError=function(a){this.destination.error(a)},b.prototype.notifyComplete=function(a){var b=this.buffer;this.remove(a),this.active--,b.length>0?this._next(b.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},b}(f.OuterSubscriber);return b.MergeMapToSubscriber=i,c.exports}),a.registerDynamic("33d",["f","305"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("305");return d.Observable.prototype.flatMapTo=e.mergeMapTo,d.Observable.prototype.mergeMapTo=e.mergeMapTo,c.exports}),a.registerDynamic("33e",["f","33f"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("33f");return d.Observable.prototype.multicast=e.multicast,c.exports}),a.registerDynamic("340",["f","2b9"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2b9");return d.Observable.prototype.observeOn=e.observeOn,c.exports}),a.registerDynamic("341",[],!0,function(a,b,c){"use strict";function d(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}return c.pred=a,c.thisArg=b,c}return b.not=d,c.exports}),a.registerDynamic("31d",["2e5"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new g(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.filter=d;var g=function(){function a(a,b){this.predicate=a,this.thisArg=b}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.predicate,this.thisArg))},a}(),h=function(a){function b(b,c,d){a.call(this,b),this.predicate=c,this.thisArg=d,this.count=0,this.predicate=c}return e(b,a),b.prototype._next=function(a){var b;try{b=this.predicate.call(this.thisArg,a,this.count++)}catch(c){return void this.destination.error(c)}b&&this.destination.next(a)},b}(f.Subscriber);return c.exports}),a.registerDynamic("342",["341","31d"],!0,function(a,b,c){"use strict";function d(a,b){return[f.filter.call(this,a),f.filter.call(this,e.not(a,b))]}var e=a("341"),f=a("31d");return b.partition=d,c.exports}),a.registerDynamic("343",["f","342"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("342");return d.Observable.prototype.partition=e.partition,c.exports}),a.registerDynamic("335",["2e5"],!0,function(a,b,c){"use strict";function d(a,b){if("function"!=typeof a)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new g(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.map=d;var g=function(){function a(a,b){this.project=a,this.thisArg=b}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.project,this.thisArg))},a}(),h=function(a){function b(b,c,d){a.call(this,b),this.project=c,this.count=0,this.thisArg=d||this}return e(b,a),b.prototype._next=function(a){var b;try{b=this.project.call(this.thisArg,a,this.count++)}catch(c){return void this.destination.error(c)}this.destination.next(b)},b}(f.Subscriber);return c.exports}),a.registerDynamic("344",["335"],!0,function(a,b,c){"use strict";function d(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=a.length;if(0===c)throw new Error("List of properties cannot be empty.");return f.map.call(this,e(a,c))}function e(a,b){var c=function(c){for(var d=c,e=0;b>e;e++){var f=d[a[e]];if("undefined"==typeof f)return;d=f}return d};return c}var f=a("335");return b.pluck=d,c.exports}),a.registerDynamic("345",["f","344"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("344");return d.Observable.prototype.pluck=e.pluck,c.exports}),a.registerDynamic("346",["b","33f"],!0,function(a,b,c){"use strict";function d(){return f.multicast.call(this,new e.Subject)}var e=a("b"),f=a("33f");return b.publish=d,c.exports}),a.registerDynamic("347",["f","346"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("346");return d.Observable.prototype.publish=e.publish,c.exports}),a.registerDynamic("348",["349","33f"],!0,function(a,b,c){"use strict";function d(a){return f.multicast.call(this,new e.BehaviorSubject(a))}var e=a("349"),f=a("33f");return b.publishBehavior=d,c.exports}),a.registerDynamic("34a",["f","348"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("348");return d.Observable.prototype.publishBehavior=e.publishBehavior,c.exports}),a.registerDynamic("2f6",["34b","33f"],!0,function(a,b,c){"use strict";function d(a,b,c){return void 0===a&&(a=Number.POSITIVE_INFINITY),void 0===b&&(b=Number.POSITIVE_INFINITY),f.multicast.call(this,new e.ReplaySubject(a,b,c))}var e=a("34b"),f=a("33f");return b.publishReplay=d,c.exports}),a.registerDynamic("34c",["f","2f6"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2f6");return d.Observable.prototype.publishReplay=e.publishReplay,c.exports}),a.registerDynamic("34d",["296","33f"],!0,function(a,b,c){"use strict";function d(){return f.multicast.call(this,new e.AsyncSubject)}var e=a("296"),f=a("33f");return b.publishLast=d,c.exports}),a.registerDynamic("34e",["f","34d"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("34d");return d.Observable.prototype.publishLast=e.publishLast,c.exports}),a.registerDynamic("2ce",["2aa","2b7","2a3","2a2"],!0,function(a,b,c){"use strict";function d(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return 1===a.length&&g.isArray(a[0])&&(a=a[0]),a.unshift(this),e.apply(this,a)}function e(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];if(1===a.length){if(!g.isArray(a[0]))return a[0];a=a[0]}return new h.ArrayObservable(a).lift(new k)}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2aa"),h=a("2b7"),i=a("2a3"),j=a("2a2");b.race=d,b.raceStatic=e;var k=function(){function a(){}return a.prototype.call=function(a,b){return b._subscribe(new l(a))},a}();b.RaceOperator=k;var l=function(a){function b(b){a.call(this,b),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}return f(b,a),b.prototype._next=function(a){this.observables.push(a)},b.prototype._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{for(var c=0;b>c;c++){var d=a[c],e=j.subscribeToResult(this,d,d,c);this.subscriptions.push(e),this.add(e)}this.observables=null}},b.prototype.notifyNext=function(a,b,c,d,e){if(!this.hasFirst){this.hasFirst=!0;for(var f=0;f<this.subscriptions.length;f++)if(f!==c){var g=this.subscriptions[f];g.unsubscribe(),this.remove(g)}this.subscriptions=null}this.destination.next(b)},b}(i.OuterSubscriber);return b.RaceSubscriber=l,c.exports}),a.registerDynamic("34f",["f","2ce"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2ce");return d.Observable.prototype.race=e.race,c.exports}),a.registerDynamic("350",["2e5"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new g(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.reduce=d;var g=function(){function a(a,b){this.project=a,this.seed=b}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.project,this.seed))},a}();b.ReduceOperator=g;var h=function(a){function b(b,c,d){a.call(this,b),this.hasValue=!1,this.acc=d,this.project=c,this.hasSeed="undefined"!=typeof d}return e(b,a),b.prototype._next=function(a){this.hasValue||(this.hasValue=this.hasSeed)?this._tryReduce(a):(this.acc=a,this.hasValue=!0)},b.prototype._tryReduce=function(a){var b;try{b=this.project(this.acc,a)}catch(c){return void this.destination.error(c)}this.acc=b},b.prototype._complete=function(){(this.hasValue||this.hasSeed)&&this.destination.next(this.acc),this.destination.complete()},b}(f.Subscriber);return b.ReduceSubscriber=h,c.exports}),a.registerDynamic("351",["f","350"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("350");return d.Observable.prototype.reduce=e.reduce,c.exports}),a.registerDynamic("352",["2e5","2a7"],!0,function(a,b,c){"use strict";function d(a){return void 0===a&&(a=-1),0===a?new g.EmptyObservable:0>a?this.lift(new h(-1,this)):this.lift(new h(a-1,this))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("2a7");b.repeat=d;var h=function(){function a(a,b){this.count=a,this.source=b}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.count,this.source))},a}(),i=function(a){function b(b,c,d){a.call(this,b),this.count=c,this.source=d}return e(b,a),b.prototype.complete=function(){if(!this.isStopped){var b=this,c=b.source,d=b.count;if(0===d)return a.prototype.complete.call(this);d>-1&&(this.count=d-1),this.unsubscribe(),this.isStopped=!1,this.isUnsubscribed=!1,c.subscribe(this)}},b}(f.Subscriber);return c.exports}),a.registerDynamic("353",["f","352"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("352");return d.Observable.prototype.repeat=e.repeat,c.exports}),a.registerDynamic("354",["2e5"],!0,function(a,b,c){"use strict";function d(a){return void 0===a&&(a=-1),this.lift(new g(a,this))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.retry=d;var g=function(){function a(a,b){this.count=a,this.source=b}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.count,this.source))},a}(),h=function(a){function b(b,c,d){a.call(this,b),this.count=c,this.source=d}return e(b,a),b.prototype.error=function(b){if(!this.isStopped){var c=this,d=c.source,e=c.count;if(0===e)return a.prototype.error.call(this,b);e>-1&&(this.count=e-1),this.unsubscribe(),this.isStopped=!1,this.isUnsubscribed=!1,d.subscribe(this)}},b}(f.Subscriber);return c.exports}),a.registerDynamic("355",["f","354"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("354");return d.Observable.prototype.retry=e.retry,c.exports}),a.registerDynamic("356",["b","294","295","2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new k(a,this))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("b"),g=a("294"),h=a("295"),i=a("2a3"),j=a("2a2");b.retryWhen=d;var k=function(){function a(a,b){this.notifier=a,this.source=b}return a.prototype.call=function(a,b){return b._subscribe(new l(a,this.notifier,this.source))},a}(),l=function(a){function b(b,c,d){a.call(this,b),this.notifier=c,this.source=d}return e(b,a),b.prototype.error=function(b){if(!this.isStopped){var c=this.errors,d=this.retries,e=this.retriesSubscription;if(d)this.errors=null,this.retriesSubscription=null;else{if(c=new f.Subject,d=g.tryCatch(this.notifier)(c),d===h.errorObject)return a.prototype.error.call(this,h.errorObject.e);e=j.subscribeToResult(this,d)}this.unsubscribe(),this.isUnsubscribed=!1,this.errors=c,this.retries=d,this.retriesSubscription=e,c.next(b)}},b.prototype._unsubscribe=function(){var a=this,b=a.errors,c=a.retriesSubscription;b&&(b.unsubscribe(),this.errors=null),c&&(c.unsubscribe(),this.retriesSubscription=null),this.retries=null},b.prototype.notifyNext=function(a,b,c,d,e){var f=this,g=f.errors,h=f.retries,i=f.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this.unsubscribe(),this.isStopped=!1,this.isUnsubscribed=!1,this.errors=g,this.retries=h,this.retriesSubscription=i,this.source.subscribe(this)},b}(i.OuterSubscriber);return c.exports}),a.registerDynamic("357",["f","356"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("356");return d.Observable.prototype.retryWhen=e.retryWhen,c.exports}),a.registerDynamic("358",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new h(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.sample=d;var h=function(){function a(a){this.notifier=a}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.notifier))},a}(),i=function(a){function b(b,c){a.call(this,b),this.hasValue=!1,this.add(g.subscribeToResult(this,c))}return e(b,a),b.prototype._next=function(a){this.value=a,this.hasValue=!0},b.prototype.notifyNext=function(a,b,c,d,e){this.emitValue()},b.prototype.notifyComplete=function(){this.emitValue()},b.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("359",["f","358"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("358");return d.Observable.prototype.sample=e.sample,c.exports}),a.registerDynamic("35a",["2e5","2c7"],!0,function(a,b,c){"use strict";function d(a,b){return void 0===b&&(b=h.async),this.lift(new i(a,b))}function e(a){var b=a.subscriber,c=a.delay;b.notifyNext(),this.schedule(a,c)}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2e5"),h=a("2c7");b.sampleTime=d;var i=function(){function a(a,b){this.delay=a,this.scheduler=b}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.delay,this.scheduler))},a}(),j=function(a){function b(b,c,d){a.call(this,b),this.delay=c,this.scheduler=d,this.hasValue=!1,this.add(d.schedule(e,c,{subscriber:this,delay:c}))}return f(b,a),b.prototype._next=function(a){this.lastValue=a,this.hasValue=!0},b.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},b}(g.Subscriber);return c.exports}),a.registerDynamic("35b",["f","35a"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("35a");return d.Observable.prototype.sampleTime=e.sampleTime,c.exports}),a.registerDynamic("35c",["2e5"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new g(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.scan=d;var g=function(){function a(a,b){this.accumulator=a,this.seed=b}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.accumulator,this.seed))},a}(),h=function(a){function b(b,c,d){a.call(this,b),this.accumulator=c,this.accumulatorSet=!1,this.seed=d,this.accumulator=c,this.accumulatorSet="undefined"!=typeof d}return e(b,a),Object.defineProperty(b.prototype,"seed",{get:function(){return this._seed},set:function(a){this.accumulatorSet=!0,this._seed=a},enumerable:!0,configurable:!0}),b.prototype._next=function(a){return this.accumulatorSet?this._tryNext(a):(this.seed=a,void this.destination.next(a))},b.prototype._tryNext=function(a){var b;try{b=this.accumulator(this.seed,a)}catch(c){this.destination.error(c)}this.seed=b,this.destination.next(b)},b}(f.Subscriber);return c.exports}),a.registerDynamic("35d",["f","35c"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("35c");return d.Observable.prototype.scan=e.scan,c.exports}),a.registerDynamic("33f",["35e"],!0,function(a,b,c){"use strict";function d(a){var b;return b="function"==typeof a?a:function(){
|
||
return a},new e.ConnectableObservable(this,b)}var e=a("35e");return b.multicast=d,c.exports}),a.registerDynamic("35f",["33f","b"],!0,function(a,b,c){"use strict";function d(){return new g.Subject}function e(){return f.multicast.call(this,d).refCount()}var f=a("33f"),g=a("b");return b.share=e,c.exports}),a.registerDynamic("360",["f","35f"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("35f");return d.Observable.prototype.share=e.share,c.exports}),a.registerDynamic("361",["2e5","321"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new h(a,this))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("321");b.single=d;var h=function(){function a(a,b){this.predicate=a,this.source=b}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.predicate,this.source))},a}(),i=function(a){function b(b,c,d){a.call(this,b),this.predicate=c,this.source=d,this.seenValue=!1,this.index=0}return e(b,a),b.prototype.applySingleValue=function(a){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=a)},b.prototype._next=function(a){var b=this.predicate;this.index++,b?this.tryNext(a):this.applySingleValue(a)},b.prototype.tryNext=function(a){try{var b=this.predicate(a,this.index,this.source);b&&this.applySingleValue(a)}catch(c){this.destination.error(c)}},b.prototype._complete=function(){var a=this.destination;this.index>0?(a.next(this.seenValue?this.singleValue:void 0),a.complete()):a.error(new g.EmptyError)},b}(f.Subscriber);return c.exports}),a.registerDynamic("362",["f","361"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("361");return d.Observable.prototype.single=e.single,c.exports}),a.registerDynamic("363",["2e5"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new g(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.skip=d;var g=function(){function a(a){this.total=a}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.total))},a}(),h=function(a){function b(b,c){a.call(this,b),this.total=c,this.count=0}return e(b,a),b.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)},b}(f.Subscriber);return c.exports}),a.registerDynamic("364",["f","363"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("363");return d.Observable.prototype.skip=e.skip,c.exports}),a.registerDynamic("365",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new h(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.skipUntil=d;var h=function(){function a(a){this.notifier=a}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.notifier))},a}(),i=function(a){function b(b,c){a.call(this,b),this.hasValue=!1,this.isInnerStopped=!1,this.add(g.subscribeToResult(this,c))}return e(b,a),b.prototype._next=function(b){this.hasValue&&a.prototype._next.call(this,b)},b.prototype._complete=function(){this.isInnerStopped?a.prototype._complete.call(this):this.unsubscribe()},b.prototype.notifyNext=function(a,b,c,d,e){this.hasValue=!0},b.prototype.notifyComplete=function(){this.isInnerStopped=!0,this.isStopped&&a.prototype._complete.call(this)},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("366",["f","365"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("365");return d.Observable.prototype.skipUntil=e.skipUntil,c.exports}),a.registerDynamic("367",["2e5"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new g(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.skipWhile=d;var g=function(){function a(a){this.predicate=a}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.predicate))},a}(),h=function(a){function b(b,c){a.call(this,b),this.predicate=c,this.skipping=!0,this.index=0}return e(b,a),b.prototype._next=function(a){var b=this.destination;this.skipping&&this.tryCallPredicate(a),this.skipping||b.next(a)},b.prototype.tryCallPredicate=function(a){try{var b=this.predicate(a,this.index++);this.skipping=Boolean(b)}catch(c){this.destination.error(c)}},b}(f.Subscriber);return c.exports}),a.registerDynamic("368",["f","367"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("367");return d.Observable.prototype.skipWhile=e.skipWhile,c.exports}),a.registerDynamic("2ff",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return void 0===a&&(a=Number.POSITIVE_INFINITY),this.lift(new h(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.mergeAll=d;var h=function(){function a(a){this.concurrent=a}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.concurrent))},a}();b.MergeAllOperator=h;var i=function(a){function b(b,c){a.call(this,b),this.concurrent=c,this.hasCompleted=!1,this.buffer=[],this.active=0}return e(b,a),b.prototype._next=function(a){this.active<this.concurrent?(this.active++,this.add(g.subscribeToResult(this,a))):this.buffer.push(a)},b.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},b.prototype.notifyComplete=function(a){var b=this.buffer;this.remove(a),this.active--,b.length>0?this._next(b.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},b}(f.OuterSubscriber);return b.MergeAllSubscriber=i,c.exports}),a.registerDynamic("29f",["2b6","2b7","2ff"],!0,function(a,b,c){"use strict";function d(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return e.apply(void 0,[this].concat(a))}function e(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=null,d=a;return f.isScheduler(d[a.length-1])&&(c=d.pop()),new g.ArrayObservable(a,c).lift(new h.MergeAllOperator(1))}var f=a("2b6"),g=a("2b7"),h=a("2ff");return b.concat=d,b.concatStatic=e,c.exports}),a.registerDynamic("369",["2b7","2b3","2a7","29f","2b6"],!0,function(a,b,c){"use strict";function d(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=a[a.length-1];i.isScheduler(c)?a.pop():c=null;var d=a.length;return 1===d?h.concatStatic(new f.ScalarObservable(a[0],c),this):d>1?h.concatStatic(new e.ArrayObservable(a,c),this):h.concatStatic(new g.EmptyObservable(c),this)}var e=a("2b7"),f=a("2b3"),g=a("2a7"),h=a("29f"),i=a("2b6");return b.startWith=d,c.exports}),a.registerDynamic("36a",["f","369"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("369");return d.Observable.prototype.startWith=e.startWith,c.exports}),a.registerDynamic("2c6",["2aa"],!0,function(a,b,c){"use strict";function d(a){return!e.isArray(a)&&a-parseFloat(a)+1>=0}var e=a("2aa");return b.isNumeric=d,c.exports}),a.registerDynamic("36b",["f","36c","2c6"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("36c"),g=a("2c6"),h=function(a){function b(b,c,d){void 0===c&&(c=0),void 0===d&&(d=f.asap),a.call(this),this.source=b,this.delayTime=c,this.scheduler=d,(!g.isNumeric(c)||0>c)&&(this.delayTime=0),d&&"function"==typeof d.schedule||(this.scheduler=f.asap)}return d(b,a),b.create=function(a,c,d){return void 0===c&&(c=0),void 0===d&&(d=f.asap),new b(a,c,d)},b.dispatch=function(a){var b=a.source,c=a.subscriber;return b.subscribe(c)},b.prototype._subscribe=function(a){var c=this.delayTime,d=this.source,e=this.scheduler;return e.schedule(b.dispatch,c,{source:d,subscriber:a})},b}(e.Observable);return b.SubscribeOnObservable=h,c.exports}),a.registerDynamic("36d",["36b"],!0,function(a,b,c){"use strict";function d(a,b){return void 0===b&&(b=0),new e.SubscribeOnObservable(this,b,a)}var e=a("36b");return b.subscribeOn=d,c.exports}),a.registerDynamic("36e",["f","36d"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("36d");return d.Observable.prototype.subscribeOn=e.subscribeOn,c.exports}),a.registerDynamic("36f",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(){return this.lift(new h)}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b._switch=d;var h=function(){function a(){}return a.prototype.call=function(a,b){return b._subscribe(new i(a))},a}(),i=function(a){function b(b){a.call(this,b),this.active=0,this.hasCompleted=!1}return e(b,a),b.prototype._next=function(a){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=g.subscribeToResult(this,a))},b.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},b.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var a=this.innerSubscription;a&&(a.unsubscribe(),this.remove(a))},b.prototype.notifyNext=function(a,b,c,d,e){this.destination.next(b)},b.prototype.notifyError=function(a){this.destination.error(a)},b.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("370",["f","36f"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("36f");return d.Observable.prototype["switch"]=e._switch,c.exports}),a.registerDynamic("371",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new h(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.switchMap=d;var h=function(){function a(a,b){this.project=a,this.resultSelector=b}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.project,this.resultSelector))},a}(),i=function(a){function b(b,c,d){a.call(this,b),this.project=c,this.resultSelector=d,this.index=0}return e(b,a),b.prototype._next=function(a){var b,c=this.index++;try{b=this.project(a,c)}catch(d){return void this.destination.error(d)}this._innerSub(b,a,c)},b.prototype._innerSub=function(a,b,c){var d=this.innerSubscription;d&&d.unsubscribe(),this.add(this.innerSubscription=g.subscribeToResult(this,a,b,c))},b.prototype._complete=function(){var b=this.innerSubscription;b&&!b.isUnsubscribed||a.prototype._complete.call(this)},b.prototype._unsubscribe=function(){this.innerSubscription=null},b.prototype.notifyComplete=function(b){this.remove(b),this.innerSubscription=null,this.isStopped&&a.prototype._complete.call(this)},b.prototype.notifyNext=function(a,b,c,d,e){this.resultSelector?this._tryNotifyNext(a,b,c,d):this.destination.next(b)},b.prototype._tryNotifyNext=function(a,b,c,d){var e;try{e=this.resultSelector(a,b,c,d)}catch(f){return void this.destination.error(f)}this.destination.next(e)},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("372",["f","371"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("371");return d.Observable.prototype.switchMap=e.switchMap,c.exports}),a.registerDynamic("373",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new h(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.switchMapTo=d;var h=function(){function a(a,b){this.observable=a,this.resultSelector=b}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.observable,this.resultSelector))},a}(),i=function(a){function b(b,c,d){a.call(this,b),this.inner=c,this.resultSelector=d,this.index=0}return e(b,a),b.prototype._next=function(a){var b=this.innerSubscription;b&&b.unsubscribe(),this.add(this.innerSubscription=g.subscribeToResult(this,this.inner,a,this.index++))},b.prototype._complete=function(){var b=this.innerSubscription;b&&!b.isUnsubscribed||a.prototype._complete.call(this)},b.prototype._unsubscribe=function(){this.innerSubscription=null},b.prototype.notifyComplete=function(b){this.remove(b),this.innerSubscription=null,this.isStopped&&a.prototype._complete.call(this)},b.prototype.notifyNext=function(a,b,c,d,e){var f=this,g=f.resultSelector,h=f.destination;g?this.tryResultSelector(a,b,c,d):h.next(b)},b.prototype.tryResultSelector=function(a,b,c,d){var e,f=this,g=f.resultSelector,h=f.destination;try{e=g(a,b,c,d)}catch(i){return void h.error(i)}h.next(e)},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("374",["f","373"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("373");return d.Observable.prototype.switchMapTo=e.switchMapTo,c.exports}),a.registerDynamic("375",["2e5","376","2a7"],!0,function(a,b,c){"use strict";function d(a){return 0===a?new h.EmptyObservable:this.lift(new i(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("376"),h=a("2a7");b.take=d;var i=function(){function a(a){if(this.total=a,this.total<0)throw new g.ArgumentOutOfRangeError}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.total))},a}(),j=function(a){function b(b,c){a.call(this,b),this.total=c,this.count=0}return e(b,a),b.prototype._next=function(a){var b=this.total;++this.count<=b&&(this.destination.next(a),this.count===b&&(this.destination.complete(),this.unsubscribe()))},b}(f.Subscriber);return c.exports}),a.registerDynamic("377",["f","375"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("375");return d.Observable.prototype.take=e.take,c.exports}),a.registerDynamic("378",["2e5","376","2a7"],!0,function(a,b,c){"use strict";function d(a){return 0===a?new h.EmptyObservable:this.lift(new i(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("376"),h=a("2a7");b.takeLast=d;var i=function(){function a(a){if(this.total=a,this.total<0)throw new g.ArgumentOutOfRangeError}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.total))},a}(),j=function(a){function b(b,c){a.call(this,b),this.total=c,this.ring=new Array,this.count=0}return e(b,a),b.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;if(b.length<c)b.push(a);else{var e=d%c;b[e]=a}},b.prototype._complete=function(){var a=this.destination,b=this.count;if(b>0)for(var c=this.count>=this.total?this.total:this.count,d=this.ring,e=0;c>e;e++){var f=b++%c;a.next(d[f])}a.complete()},b}(f.Subscriber);return c.exports}),a.registerDynamic("379",["f","378"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("378");return d.Observable.prototype.takeLast=e.takeLast,c.exports}),a.registerDynamic("37a",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new h(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.takeUntil=d;var h=function(){function a(a){this.notifier=a}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.notifier))},a}(),i=function(a){function b(b,c){a.call(this,b),this.notifier=c,this.add(g.subscribeToResult(this,c))}return e(b,a),b.prototype.notifyNext=function(a,b,c,d,e){this.complete()},b.prototype.notifyComplete=function(){},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("37b",["f","37a"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("37a");return d.Observable.prototype.takeUntil=e.takeUntil,c.exports}),a.registerDynamic("37c",["2e5"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new g(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.takeWhile=d;var g=function(){function a(a){this.predicate=a}return a.prototype.call=function(a,b){return b._subscribe(new h(a,this.predicate))},a}(),h=function(a){function b(b,c){a.call(this,b),this.predicate=c,this.index=0}return e(b,a),b.prototype._next=function(a){var b,c=this.destination;try{b=this.predicate(a,this.index++)}catch(d){return void c.error(d)}this.nextOrComplete(a,b)},b.prototype.nextOrComplete=function(a,b){var c=this.destination;Boolean(b)?c.next(a):c.complete()},b}(f.Subscriber);return c.exports}),a.registerDynamic("37d",["f","37c"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("37c");return d.Observable.prototype.takeWhile=e.takeWhile,c.exports}),a.registerDynamic("37e",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new h(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.throttle=d;var h=function(){function a(a){this.durationSelector=a}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.durationSelector))},a}(),i=function(a){function b(b,c){a.call(this,b),this.destination=b,this.durationSelector=c}return e(b,a),b.prototype._next=function(a){this.throttled||this.tryDurationSelector(a)},b.prototype.tryDurationSelector=function(a){var b=null;try{b=this.durationSelector(a)}catch(c){return void this.destination.error(c)}this.emitAndThrottle(a,b)},b.prototype.emitAndThrottle=function(a,b){this.add(this.throttled=g.subscribeToResult(this,b)),this.destination.next(a)},b.prototype._unsubscribe=function(){var a=this.throttled;a&&(this.remove(a),this.throttled=null,a.unsubscribe())},b.prototype.notifyNext=function(a,b,c,d,e){this._unsubscribe()},b.prototype.notifyComplete=function(){this._unsubscribe()},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("37f",["f","37e"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("37e");return d.Observable.prototype.throttle=e.throttle,c.exports}),a.registerDynamic("380",["2e5","2c7"],!0,function(a,b,c){"use strict";function d(a,b){return void 0===b&&(b=h.async),this.lift(new i(a,b))}function e(a){var b=a.subscriber;b.clearThrottle()}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2e5"),h=a("2c7");b.throttleTime=d;var i=function(){function a(a,b){this.delay=a,this.scheduler=b}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.delay,this.scheduler))},a}(),j=function(a){function b(b,c,d){a.call(this,b),this.delay=c,this.scheduler=d}return f(b,a),b.prototype._next=function(a){this.throttled||(this.add(this.throttled=this.scheduler.schedule(e,this.delay,{subscriber:this})),this.destination.next(a))},b.prototype.clearThrottle=function(){var a=this.throttled;a&&(a.unsubscribe(),this.remove(a),this.throttled=null)},b}(g.Subscriber);return c.exports}),a.registerDynamic("381",["f","380"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("380");return d.Observable.prototype.throttleTime=e.throttleTime,c.exports}),a.registerDynamic("382",["2c7","2dc","2e5"],!0,function(a,b,c){"use strict";function d(a,b,c){void 0===b&&(b=null),void 0===c&&(c=f.async);var d=g.isDate(a),e=d?+a-c.now():Math.abs(a);return this.lift(new i(e,d,b,c))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2c7"),g=a("2dc"),h=a("2e5");b.timeout=d;var i=function(){function a(a,b,c,d){this.waitFor=a,this.absoluteTimeout=b,this.errorToSend=c,this.scheduler=d}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.absoluteTimeout,this.waitFor,this.errorToSend,this.scheduler))},a}(),j=function(a){function b(b,c,d,e,f){a.call(this,b),this.absoluteTimeout=c,this.waitFor=d,this.errorToSend=e,this.scheduler=f,this.index=0,this._previousIndex=0,this._hasCompleted=!1,this.scheduleTimeout()}return e(b,a),Object.defineProperty(b.prototype,"previousIndex",{get:function(){return this._previousIndex},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hasCompleted",{get:function(){return this._hasCompleted},enumerable:!0,configurable:!0}),b.dispatchTimeout=function(a){var b=a.subscriber,c=a.index;b.hasCompleted||b.previousIndex!==c||b.notifyTimeout()},b.prototype.scheduleTimeout=function(){var a=this.index;this.scheduler.schedule(b.dispatchTimeout,this.waitFor,{subscriber:this,index:a}),this.index++,this._previousIndex=a},b.prototype._next=function(a){this.destination.next(a),this.absoluteTimeout||this.scheduleTimeout()},b.prototype._error=function(a){this.destination.error(a),this._hasCompleted=!0},b.prototype._complete=function(){this.destination.complete(),this._hasCompleted=!0},b.prototype.notifyTimeout=function(){this.error(this.errorToSend||new Error("timeout"))},b}(h.Subscriber);return c.exports}),a.registerDynamic("383",["f","382"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("382");return d.Observable.prototype.timeout=e.timeout,c.exports}),a.registerDynamic("2dc",[],!0,function(a,b,c){"use strict";function d(a){return a instanceof Date&&!isNaN(+a)}return b.isDate=d,c.exports}),a.registerDynamic("384",["2c7","2dc","2a3","2a2"],!0,function(a,b,c){"use strict";function d(a,b,c){void 0===c&&(c=f.async);var d=g.isDate(a),e=d?+a-c.now():Math.abs(a);return this.lift(new j(e,d,b,c))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2c7"),g=a("2dc"),h=a("2a3"),i=a("2a2");b.timeoutWith=d;var j=function(){function a(a,b,c,d){this.waitFor=a,this.absoluteTimeout=b,this.withObservable=c,this.scheduler=d}return a.prototype.call=function(a,b){return b._subscribe(new k(a,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},a}(),k=function(a){function b(b,c,d,e,f){a.call(this),this.destination=b,this.absoluteTimeout=c,this.waitFor=d,this.withObservable=e,this.scheduler=f,this.timeoutSubscription=void 0,this.index=0,this._previousIndex=0,this._hasCompleted=!1,b.add(this),this.scheduleTimeout()}return e(b,a),Object.defineProperty(b.prototype,"previousIndex",{get:function(){return this._previousIndex},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"hasCompleted",{get:function(){return this._hasCompleted},enumerable:!0,configurable:!0}),b.dispatchTimeout=function(a){var b=a.subscriber,c=a.index;b.hasCompleted||b.previousIndex!==c||b.handleTimeout()},b.prototype.scheduleTimeout=function(){var a=this.index,c={subscriber:this,index:a};this.scheduler.schedule(b.dispatchTimeout,this.waitFor,c),this.index++,this._previousIndex=a},b.prototype._next=function(a){this.destination.next(a),this.absoluteTimeout||this.scheduleTimeout()},b.prototype._error=function(a){this.destination.error(a),this._hasCompleted=!0},b.prototype._complete=function(){this.destination.complete(),this._hasCompleted=!0},b.prototype.handleTimeout=function(){if(!this.isUnsubscribed){var a=this.withObservable;this.unsubscribe(),this.destination.add(this.timeoutSubscription=i.subscribeToResult(this,a))}},b}(h.OuterSubscriber);return c.exports}),a.registerDynamic("385",["f","384"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("384");return d.Observable.prototype.timeoutWith=e.timeoutWith,c.exports}),a.registerDynamic("386",["2e5"],!0,function(a,b,c){"use strict";function d(){return this.lift(new g)}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5");b.toArray=d;var g=function(){function a(){}return a.prototype.call=function(a,b){return b._subscribe(new h(a))},a}(),h=function(a){function b(b){a.call(this,b),this.array=[]}return e(b,a),b.prototype._next=function(a){this.array.push(a)},b.prototype._complete=function(){this.destination.next(this.array),this.destination.complete()},b}(f.Subscriber);return c.exports}),a.registerDynamic("387",["f","386"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("386");return d.Observable.prototype.toArray=e.toArray,c.exports}),a.registerDynamic("d",["2ae"],!0,function(a,b,c){"use strict";function d(a){var b=this;if(a||(e.root.Rx&&e.root.Rx.config&&e.root.Rx.config.Promise?a=e.root.Rx.config.Promise:e.root.Promise&&(a=e.root.Promise)),!a)throw new Error("no Promise impl found");return new a(function(a,c){var d;b.subscribe(function(a){return d=a},function(a){return c(a)},function(){return a(d)})})}var e=a("2ae");return b.toPromise=d,c.exports}),a.registerDynamic("388",["f","d"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("d");return d.Observable.prototype.toPromise=e.toPromise,c.exports}),a.registerDynamic("389",["b","2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new i(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("b"),g=a("2a3"),h=a("2a2");b.window=d;var i=function(){function a(a){this.windowBoundaries=a}return a.prototype.call=function(a,b){return b._subscribe(new j(a,this.windowBoundaries))},a}(),j=function(a){function b(b,c){a.call(this,b),this.destination=b,this.windowBoundaries=c,this.add(h.subscribeToResult(this,c)),this.openWindow()}return e(b,a),b.prototype.notifyNext=function(a,b,c,d,e){this.openWindow()},b.prototype.notifyError=function(a,b){this._error(a)},b.prototype.notifyComplete=function(a){this._complete()},b.prototype._next=function(a){this.window.next(a)},b.prototype._error=function(a){this.window.error(a),this.destination.error(a)},b.prototype._complete=function(){this.window.complete(),this.destination.complete()},b.prototype.openWindow=function(){var a=this.window;a&&a.complete();var b=this.destination,c=this.window=new f.Subject;b.add(c),b.next(c)},b}(g.OuterSubscriber);return c.exports}),a.registerDynamic("38a",["f","389"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("389");return d.Observable.prototype.window=e.window,c.exports}),a.registerDynamic("38b",["2e5","b"],!0,function(a,b,c){"use strict";function d(a,b){return void 0===b&&(b=0),this.lift(new h(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("b");b.windowCount=d;var h=function(){function a(a,b){this.windowSize=a,this.startWindowEvery=b}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.windowSize,this.startWindowEvery))},a}(),i=function(a){function b(b,c,d){a.call(this,b),this.destination=b,this.windowSize=c,this.startWindowEvery=d,this.windows=[new g.Subject],this.count=0;var e=this.windows[0];b.add(e),b.next(e)}return e(b,a),b.prototype._next=function(a){for(var b=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,c=this.destination,d=this.windowSize,e=this.windows,f=e.length,h=0;f>h;h++)e[h].next(a);var i=this.count-d+1;if(i>=0&&i%b===0&&e.shift().complete(),++this.count%b===0){var j=new g.Subject;e.push(j),c.add(j),c.next(j)}},b.prototype._error=function(a){for(var b=this.windows;b.length>0;)b.shift().error(a);this.destination.error(a)},b.prototype._complete=function(){for(var a=this.windows;a.length>0;)a.shift().complete();this.destination.complete()},b}(f.Subscriber);return c.exports}),a.registerDynamic("38c",["f","38b"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("38b");return d.Observable.prototype.windowCount=e.windowCount,c.exports}),a.registerDynamic("38d",["2e5","b","2c7"],!0,function(a,b,c){"use strict";function d(a,b,c){return void 0===b&&(b=null),void 0===c&&(c=k.async),this.lift(new l(a,b,c))}function e(a){var b=a.subscriber,c=a.windowTimeSpan,d=a.window;d&&d.complete(),a.window=b.openWindow(),this.schedule(a,c)}function f(a){var b=a.windowTimeSpan,c=a.subscriber,d=a.scheduler,e=a.windowCreationInterval,f=c.openWindow(),h=this,i={action:h,subscription:null},j={subscriber:c,window:f,context:i};i.subscription=d.schedule(g,b,j),h.add(i.subscription),h.schedule(a,e)}function g(a){var b=a.subscriber,c=a.window,d=a.context;d&&d.action&&d.subscription&&d.action.remove(d.subscription),b.closeWindow(c)}var h=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},i=a("2e5"),j=a("b"),k=a("2c7");b.windowTime=d;var l=function(){function a(a,b,c){this.windowTimeSpan=a,this.windowCreationInterval=b,this.scheduler=c}return a.prototype.call=function(a,b){return b._subscribe(new m(a,this.windowTimeSpan,this.windowCreationInterval,this.scheduler))},a}(),m=function(a){function b(b,c,d,h){if(a.call(this,b),this.destination=b,this.windowTimeSpan=c,this.windowCreationInterval=d,this.scheduler=h,this.windows=[],null!==d&&d>=0){var i=this.openWindow(),j={subscriber:this,window:i,context:null},k={windowTimeSpan:c,windowCreationInterval:d,subscriber:this,scheduler:h};this.add(h.schedule(g,c,j)),this.add(h.schedule(f,d,k))}else{var l=this.openWindow(),m={subscriber:this,window:l,windowTimeSpan:c};this.add(h.schedule(e,c,m))}}return h(b,a),b.prototype._next=function(a){for(var b=this.windows,c=b.length,d=0;c>d;d++){var e=b[d];e.isUnsubscribed||e.next(a)}},b.prototype._error=function(a){for(var b=this.windows;b.length>0;)b.shift().error(a);this.destination.error(a)},b.prototype._complete=function(){for(var a=this.windows;a.length>0;){var b=a.shift();b.isUnsubscribed||b.complete()}this.destination.complete()},b.prototype.openWindow=function(){var a=new j.Subject;this.windows.push(a);var b=this.destination;return b.add(a),b.next(a),a},b.prototype.closeWindow=function(a){a.complete();var b=this.windows;b.splice(b.indexOf(a),1)},b}(i.Subscriber);return c.exports}),a.registerDynamic("38e",["f","38d"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("38d");return d.Observable.prototype.windowTime=e.windowTime,c.exports}),a.registerDynamic("38f",["b","2bd","294","295","2a3","2a2"],!0,function(a,b,c){"use strict";function d(a,b){return this.lift(new l(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("b"),g=a("2bd"),h=a("294"),i=a("295"),j=a("2a3"),k=a("2a2");b.windowToggle=d;var l=function(){function a(a,b){this.openings=a,this.closingSelector=b}return a.prototype.call=function(a,b){return b._subscribe(new m(a,this.openings,this.closingSelector))},a}(),m=function(a){function b(b,c,d){a.call(this,b),this.openings=c,this.closingSelector=d,this.contexts=[],this.add(this.openSubscription=k.subscribeToResult(this,c,c))}return e(b,a),b.prototype._next=function(a){var b=this.contexts;if(b)for(var c=b.length,d=0;c>d;d++)b[d].window.next(a)},b.prototype._error=function(b){var c=this.contexts;if(this.contexts=null,c)for(var d=c.length,e=-1;++e<d;){var f=c[e];f.window.error(b),f.subscription.unsubscribe()}a.prototype._error.call(this,b)},b.prototype._complete=function(){var b=this.contexts;if(this.contexts=null,b)for(var c=b.length,d=-1;++d<c;){
|
||
var e=b[d];e.window.complete(),e.subscription.unsubscribe()}a.prototype._complete.call(this)},b.prototype._unsubscribe=function(){var a=this.contexts;if(this.contexts=null,a)for(var b=a.length,c=-1;++c<b;){var d=a[c];d.window.unsubscribe(),d.subscription.unsubscribe()}},b.prototype.notifyNext=function(a,b,c,d,e){if(a===this.openings){var j=this.closingSelector,l=h.tryCatch(j)(b);if(l===i.errorObject)return this.error(i.errorObject.e);var m=new f.Subject,n=new g.Subscription,o={window:m,subscription:n};this.contexts.push(o);var p=k.subscribeToResult(this,l,o);p.isUnsubscribed?this.closeWindow(this.contexts.length-1):(p.context=o,n.add(p)),this.destination.next(m)}else this.closeWindow(this.contexts.indexOf(a))},b.prototype.notifyError=function(a){this.error(a)},b.prototype.notifyComplete=function(a){a!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(a.context))},b.prototype.closeWindow=function(a){if(-1!==a){var b=this.contexts,c=b[a],d=c.window,e=c.subscription;b.splice(a,1),d.complete(),e.unsubscribe()}},b}(j.OuterSubscriber);return c.exports}),a.registerDynamic("390",["f","38f"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("38f");return d.Observable.prototype.windowToggle=e.windowToggle,c.exports}),a.registerDynamic("391",["b","294","295","2a3","2a2"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new k(a))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("b"),g=a("294"),h=a("295"),i=a("2a3"),j=a("2a2");b.windowWhen=d;var k=function(){function a(a){this.closingSelector=a}return a.prototype.call=function(a,b){return b._subscribe(new l(a,this.closingSelector))},a}(),l=function(a){function b(b,c){a.call(this,b),this.destination=b,this.closingSelector=c,this.openWindow()}return e(b,a),b.prototype.notifyNext=function(a,b,c,d,e){this.openWindow(e)},b.prototype.notifyError=function(a,b){this._error(a)},b.prototype.notifyComplete=function(a){this.openWindow(a)},b.prototype._next=function(a){this.window.next(a)},b.prototype._error=function(a){this.window.error(a),this.destination.error(a),this.unsubscribeClosingNotification()},b.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},b.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},b.prototype.openWindow=function(a){void 0===a&&(a=null),a&&(this.remove(a),a.unsubscribe());var b=this.window;b&&b.complete();var c=this.window=new f.Subject;this.destination.next(c);var d=g.tryCatch(this.closingSelector)();if(d===h.errorObject){var e=h.errorObject.e;this.destination.error(e),this.window.error(e)}else this.add(this.closingNotification=j.subscribeToResult(this,d)),this.add(c)},b}(i.OuterSubscriber);return c.exports}),a.registerDynamic("392",["f","391"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("391");return d.Observable.prototype.windowWhen=e.windowWhen,c.exports}),a.registerDynamic("393",["2a3","2a2"],!0,function(a,b,c){"use strict";function d(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c;"function"==typeof a[a.length-1]&&(c=a.pop());var d=a;return this.lift(new h(d,c))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2a3"),g=a("2a2");b.withLatestFrom=d;var h=function(){function a(a,b){this.observables=a,this.project=b}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.observables,this.project))},a}(),i=function(a){function b(b,c,d){a.call(this,b),this.observables=c,this.project=d,this.toRespond=[];var e=c.length;this.values=new Array(e);for(var f=0;e>f;f++)this.toRespond.push(f);for(var f=0;e>f;f++){var h=c[f];this.add(g.subscribeToResult(this,h,h,f))}}return e(b,a),b.prototype.notifyNext=function(a,b,c,d,e){this.values[c]=b;var f=this.toRespond;if(f.length>0){var g=f.indexOf(c);-1!==g&&f.splice(g,1)}},b.prototype.notifyComplete=function(){},b.prototype._next=function(a){if(0===this.toRespond.length){var b=[a].concat(this.values);this.project?this._tryProject(b):this.destination.next(b)}},b.prototype._tryProject=function(a){var b;try{b=this.project.apply(this,a)}catch(c){return void this.destination.error(c)}this.destination.next(b)},b}(f.OuterSubscriber);return c.exports}),a.registerDynamic("394",["f","393"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("393");return d.Observable.prototype.withLatestFrom=e.withLatestFrom,c.exports}),a.registerDynamic("395",["f","2e0"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("2e0");return d.Observable.prototype.zip=e.zipProto,c.exports}),a.registerDynamic("2b3",["f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=function(a){function b(b,c){a.call(this),this.value=b,this.scheduler=c,this._isScalar=!0}return d(b,a),b.create=function(a,c){return new b(a,c)},b.dispatch=function(a){var b=a.done,c=a.value,d=a.subscriber;return b?void d.complete():(d.next(c),void(d.isUnsubscribed||(a.done=!0,this.schedule(a))))},b.prototype._subscribe=function(a){var c=this.value,d=this.scheduler;return d?d.schedule(b.dispatch,0,{done:!1,value:c,subscriber:a}):(a.next(c),void(a.isUnsubscribed||a.complete()))},b}(e.Observable);return b.ScalarObservable=f,c.exports}),a.registerDynamic("2a7",["f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=function(a){function b(b){a.call(this),this.scheduler=b}return d(b,a),b.create=function(a){return new b(a)},b.dispatch=function(a){var b=a.subscriber;b.complete()},b.prototype._subscribe=function(a){var c=this.scheduler;return c?c.schedule(b.dispatch,0,{subscriber:a}):void a.complete()},b}(e.Observable);return b.EmptyObservable=f,c.exports}),a.registerDynamic("2b6",[],!0,function(a,b,c){"use strict";function d(a){return a&&"function"==typeof a.schedule}return b.isScheduler=d,c.exports}),a.registerDynamic("2b7",["f","2b3","2a7","2b6"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("2b3"),g=a("2a7"),h=a("2b6"),i=function(a){function b(b,c){a.call(this),this.array=b,this.scheduler=c,c||1!==b.length||(this._isScalar=!0,this.value=b[0])}return d(b,a),b.create=function(a,c){return new b(a,c)},b.of=function(){for(var a=[],c=0;c<arguments.length;c++)a[c-0]=arguments[c];var d=a[a.length-1];h.isScheduler(d)?a.pop():d=null;var e=a.length;return e>1?new b(a,d):1===e?new f.ScalarObservable(a[0],d):new g.EmptyObservable(d)},b.dispatch=function(a){var b=a.array,c=a.index,d=a.count,e=a.subscriber;return c>=d?void e.complete():(e.next(b[c]),void(e.isUnsubscribed||(a.index=c+1,this.schedule(a))))},b.prototype._subscribe=function(a){var c=0,d=this.array,e=d.length,f=this.scheduler;if(f)return f.schedule(b.dispatch,0,{array:d,index:c,count:e,subscriber:a});for(var g=0;e>g&&!a.isUnsubscribed;g++)a.next(d[g]);a.complete()},b}(e.Observable);return b.ArrayObservable=i,c.exports}),a.registerDynamic("2a3",["2e5"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("2e5"),f=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.notifyNext=function(a,b,c,d,e){this.destination.next(b)},b.prototype.notifyError=function(a,b){this.destination.error(a)},b.prototype.notifyComplete=function(a){this.destination.complete()},b}(e.Subscriber);return b.OuterSubscriber=f,c.exports}),a.registerDynamic("2b5",[],!0,function(a,b,c){"use strict";function d(a){return a&&"function"!=typeof a.subscribe&&"function"==typeof a.then}return b.isPromise=d,c.exports}),a.registerDynamic("396",["2e5"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("2e5"),f=function(a){function b(b,c,d){a.call(this),this.parent=b,this.outerValue=c,this.outerIndex=d,this.index=0}return d(b,a),b.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex,this.index++,this)},b.prototype._error=function(a){this.parent.notifyError(a,this),this.unsubscribe()},b.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},b}(e.Subscriber);return b.InnerSubscriber=f,c.exports}),a.registerDynamic("2a2",["2ae","2aa","2b5","f","2b1","2b8","396"],!0,function(a,b,c){"use strict";function d(a,b,c,d){var l=new k.InnerSubscriber(a,c,d);if(!l.isUnsubscribed){if(b instanceof h.Observable)return b._isScalar?(l.next(b.value),void l.complete()):b.subscribe(l);if(f.isArray(b)){for(var m=0,n=b.length;n>m&&!l.isUnsubscribed;m++)l.next(b[m]);l.isUnsubscribed||l.complete()}else{if(g.isPromise(b))return b.then(function(a){l.isUnsubscribed||(l.next(a),l.complete())},function(a){return l.error(a)}).then(null,function(a){e.root.setTimeout(function(){throw a})}),l;if("function"==typeof b[i.$$iterator]){for(var o=0,p=b;o<p.length;o++){var q=p[o];if(l.next(q),l.isUnsubscribed)break}l.isUnsubscribed||l.complete()}else if("function"==typeof b[j.$$observable]){var r=b[j.$$observable]();if("function"==typeof r.subscribe)return r.subscribe(new k.InnerSubscriber(a,c,d));l.error("invalid observable")}else l.error(new TypeError("unknown type returned"))}}}var e=a("2ae"),f=a("2aa"),g=a("2b5"),h=a("f"),i=a("2b1"),j=a("2b8"),k=a("396");return b.subscribeToResult=d,c.exports}),a.registerDynamic("2e0",["2b7","2aa","2e5","2a3","2a2","2b1"],!0,function(a,b,c){"use strict";function d(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];return a.unshift(this),e.apply(this,a)}function e(){for(var a=[],b=0;b<arguments.length;b++)a[b-0]=arguments[b];var c=a[a.length-1];return"function"==typeof c&&a.pop(),new g.ArrayObservable(a).lift(new m(c))}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("2b7"),h=a("2aa"),i=a("2e5"),j=a("2a3"),k=a("2a2"),l=a("2b1");b.zipProto=d,b.zipStatic=e;var m=function(){function a(a){this.project=a}return a.prototype.call=function(a,b){return b._subscribe(new n(a,this.project))},a}();b.ZipOperator=m;var n=function(a){function b(b,c,d){void 0===d&&(d=Object.create(null)),a.call(this,b),this.index=0,this.iterators=[],this.active=0,this.project="function"==typeof c?c:null,this.values=d}return f(b,a),b.prototype._next=function(a){var b=this.iterators,c=this.index++;h.isArray(a)?b.push(new p(a)):"function"==typeof a[l.$$iterator]?b.push(new o(a[l.$$iterator]())):b.push(new q(this.destination,this,a,c))},b.prototype._complete=function(){var a=this.iterators,b=a.length;this.active=b;for(var c=0;b>c;c++){var d=a[c];d.stillUnsubscribed?this.add(d.subscribe(d,c)):this.active--}},b.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},b.prototype.checkIterators=function(){for(var a=this.iterators,b=a.length,c=this.destination,d=0;b>d;d++){var e=a[d];if("function"==typeof e.hasValue&&!e.hasValue())return}for(var f=!1,g=[],d=0;b>d;d++){var e=a[d],h=e.next();if(e.hasCompleted()&&(f=!0),h.done)return void c.complete();g.push(h.value)}this.project?this._tryProject(g):c.next(g),f&&c.complete()},b.prototype._tryProject=function(a){var b;try{b=this.project.apply(this,a)}catch(c){return void this.destination.error(c)}this.destination.next(b)},b}(i.Subscriber);b.ZipSubscriber=n;var o=function(){function a(a){this.iterator=a,this.nextResult=a.next()}return a.prototype.hasValue=function(){return!0},a.prototype.next=function(){var a=this.nextResult;return this.nextResult=this.iterator.next(),a},a.prototype.hasCompleted=function(){var a=this.nextResult;return a&&a.done},a}(),p=function(){function a(a){this.array=a,this.index=0,this.length=0,this.length=a.length}return a.prototype[l.$$iterator]=function(){return this},a.prototype.next=function(a){var b=this.index++,c=this.array;return b<this.length?{value:c[b],done:!1}:{done:!0}},a.prototype.hasValue=function(){return this.array.length>this.index},a.prototype.hasCompleted=function(){return this.array.length===this.index},a}(),q=function(a){function b(b,c,d,e){a.call(this,b),this.parent=c,this.observable=d,this.index=e,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return f(b,a),b.prototype[l.$$iterator]=function(){return this},b.prototype.next=function(){var a=this.buffer;return 0===a.length&&this.isComplete?{done:!0}:{value:a.shift(),done:!1}},b.prototype.hasValue=function(){return this.buffer.length>0},b.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},b.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},b.prototype.notifyNext=function(a,b,c,d,e){this.buffer.push(b),this.parent.checkIterators()},b.prototype.subscribe=function(a,b){return k.subscribeToResult(this,this.observable,this,b)},b}(j.OuterSubscriber);return c.exports}),a.registerDynamic("397",["2e0"],!0,function(a,b,c){"use strict";function d(a){return this.lift(new e.ZipOperator(a))}var e=a("2e0");return b.zipAll=d,c.exports}),a.registerDynamic("398",["f","397"],!0,function(a,b,c){"use strict";var d=a("f"),e=a("397");return d.Observable.prototype.zipAll=e.zipAll,c.exports}),a.registerDynamic("399",["2e5"],!0,function(a,b,c){"use strict";var d=a("2e5"),e=function(){function a(){}return a.prototype.call=function(a,b){return b._subscribe(new d.Subscriber(a))},a}();return b.Operator=e,c.exports}),a.registerDynamic("296",["b"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=function(a){function b(){a.apply(this,arguments),this.value=null,this.hasNext=!1}return d(b,a),b.prototype._subscribe=function(b){return this.hasCompleted&&this.hasNext&&b.next(this.value),a.prototype._subscribe.call(this,b)},b.prototype._next=function(a){this.value=a,this.hasNext=!0},b.prototype._complete=function(){var a=-1,b=this.observers,c=b.length;if(this.isUnsubscribed=!0,this.hasNext)for(;++a<c;){var d=b[a];d.next(this.value),d.complete()}else for(;++a<c;)b[a].complete();this.isUnsubscribed=!1,this.unsubscribe()},b}(e.Subject);return b.AsyncSubject=f,c.exports}),a.registerDynamic("2b9",["2e5","312"],!0,function(a,b,c){"use strict";function d(a,b){return void 0===b&&(b=0),this.lift(new h(a,b))}var e=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},f=a("2e5"),g=a("312");b.observeOn=d;var h=function(){function a(a,b){void 0===b&&(b=0),this.scheduler=a,this.delay=b}return a.prototype.call=function(a,b){return b._subscribe(new i(a,this.scheduler,this.delay))},a}();b.ObserveOnOperator=h;var i=function(a){function b(b,c,d){void 0===d&&(d=0),a.call(this,b),this.scheduler=c,this.delay=d}return e(b,a),b.dispatch=function(a){var b=a.notification,c=a.destination;b.observe(c)},b.prototype.scheduleMessage=function(a){this.add(this.scheduler.schedule(b.dispatch,this.delay,new j(a,this.destination)))},b.prototype._next=function(a){this.scheduleMessage(g.Notification.createNext(a))},b.prototype._error=function(a){this.scheduleMessage(g.Notification.createError(a))},b.prototype._complete=function(){this.scheduleMessage(g.Notification.createComplete())},b}(f.Subscriber);b.ObserveOnSubscriber=i;var j=function(){function a(a,b){this.notification=a,this.destination=b}return a}();return b.ObserveOnMessage=j,c.exports}),a.registerDynamic("34b",["b","39a","2b9"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("39a"),g=a("2b9"),h=function(a){function b(b,c,d){void 0===b&&(b=Number.POSITIVE_INFINITY),void 0===c&&(c=Number.POSITIVE_INFINITY),a.call(this),this.events=[],this.scheduler=d,this.bufferSize=1>b?1:b,this._windowTime=1>c?1:c}return d(b,a),b.prototype._next=function(b){var c=this._getNow();this.events.push(new i(c,b)),this._trimBufferThenGetEvents(c),a.prototype._next.call(this,b)},b.prototype._subscribe=function(b){var c=this._trimBufferThenGetEvents(this._getNow()),d=this.scheduler;d&&b.add(b=new g.ObserveOnSubscriber(b,d));for(var e=-1,f=c.length;++e<f&&!b.isUnsubscribed;)b.next(c[e].value);return a.prototype._subscribe.call(this,b)},b.prototype._getNow=function(){return(this.scheduler||f.queue).now()},b.prototype._trimBufferThenGetEvents=function(a){for(var b=this.bufferSize,c=this._windowTime,d=this.events,e=d.length,f=0;e>f&&!(a-d[f].time<c);)f+=1;return e>b&&(f=Math.max(f,e-b)),f>0&&d.splice(0,f),d},b}(e.Subject);b.ReplaySubject=h;var i=function(){function a(a,b){this.time=a,this.value=b}return a}();return c.exports}),a.registerDynamic("39b",["2bd"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("2bd"),f=function(a){function b(b,c){a.call(this),this.subject=b,this.observer=c,this.isUnsubscribed=!1}return d(b,a),b.prototype.unsubscribe=function(){if(!this.isUnsubscribed){this.isUnsubscribed=!0;var a=this.subject,b=a.observers;if(this.subject=null,b&&0!==b.length&&!a.isUnsubscribed){var c=b.indexOf(this.observer);-1!==c&&b.splice(c,1)}}},b}(e.Subscription);return b.SubjectSubscription=f,c.exports}),a.registerDynamic("b",["f","2e5","2bd","39b","39c","39d","39e"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("2e5"),g=a("2bd"),h=a("39b"),i=a("39c"),j=a("39d"),k=a("39e"),l=function(a){function b(b,c){a.call(this),this.destination=b,this.source=c,this.observers=[],this.isUnsubscribed=!1,this.isStopped=!1,this.hasErrored=!1,this.dispatching=!1,this.hasCompleted=!1,this.source=c}return d(b,a),b.prototype.lift=function(a){var c=new b(this.destination||this,this);return c.operator=a,c},b.prototype.add=function(a){return g.Subscription.prototype.add.call(this,a)},b.prototype.remove=function(a){g.Subscription.prototype.remove.call(this,a)},b.prototype.unsubscribe=function(){g.Subscription.prototype.unsubscribe.call(this)},b.prototype._subscribe=function(a){if(this.source)return this.source.subscribe(a);if(!a.isUnsubscribed){if(this.hasErrored)return a.error(this.errorValue);if(this.hasCompleted)return a.complete();this.throwIfUnsubscribed();var b=new h.SubjectSubscription(this,a);return this.observers.push(a),b}},b.prototype._unsubscribe=function(){this.source=null,this.isStopped=!0,this.observers=null,this.destination=null},b.prototype.next=function(a){this.throwIfUnsubscribed(),this.isStopped||(this.dispatching=!0,this._next(a),this.dispatching=!1,this.hasErrored?this._error(this.errorValue):this.hasCompleted&&this._complete())},b.prototype.error=function(a){this.throwIfUnsubscribed(),this.isStopped||(this.isStopped=!0,this.hasErrored=!0,this.errorValue=a,this.dispatching||this._error(a))},b.prototype.complete=function(){this.throwIfUnsubscribed(),this.isStopped||(this.isStopped=!0,this.hasCompleted=!0,this.dispatching||this._complete())},b.prototype.asObservable=function(){var a=new m(this);return a},b.prototype._next=function(a){this.destination?this.destination.next(a):this._finalNext(a)},b.prototype._finalNext=function(a){for(var b=-1,c=this.observers.slice(0),d=c.length;++b<d;)c[b].next(a)},b.prototype._error=function(a){this.destination?this.destination.error(a):this._finalError(a)},b.prototype._finalError=function(a){var b=-1,c=this.observers;if(this.observers=null,this.isUnsubscribed=!0,c)for(var d=c.length;++b<d;)c[b].error(a);this.isUnsubscribed=!1,this.unsubscribe()},b.prototype._complete=function(){this.destination?this.destination.complete():this._finalComplete()},b.prototype._finalComplete=function(){var a=-1,b=this.observers;if(this.observers=null,this.isUnsubscribed=!0,b)for(var c=b.length;++a<c;)b[a].complete();this.isUnsubscribed=!1,this.unsubscribe()},b.prototype.throwIfUnsubscribed=function(){this.isUnsubscribed&&j.throwError(new k.ObjectUnsubscribedError)},b.prototype[i.$$rxSubscriber]=function(){return new f.Subscriber(this)},b.create=function(a,c){return new b(a,c)},b}(e.Observable);b.Subject=l;var m=function(a){function b(b){a.call(this),this.source=b}return d(b,a),b}(e.Observable);return c.exports}),a.registerDynamic("39d",[],!0,function(a,b,c){"use strict";function d(a){throw a}return b.throwError=d,c.exports}),a.registerDynamic("349",["b","39d","39e"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("b"),f=a("39d"),g=a("39e"),h=function(a){function b(b){a.call(this),this._value=b}return d(b,a),b.prototype.getValue=function(){if(this.hasErrored)f.throwError(this.errorValue);else{if(!this.isUnsubscribed)return this._value;f.throwError(new g.ObjectUnsubscribedError)}},Object.defineProperty(b.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),b.prototype._subscribe=function(b){var c=a.prototype._subscribe.call(this,b);return c&&!c.isUnsubscribed&&b.next(this._value),c},b.prototype._next=function(b){a.prototype._next.call(this,this._value=b)},b.prototype._error=function(b){this.hasErrored=!0,a.prototype._error.call(this,this.errorValue=b)},b}(e.Subject);return b.BehaviorSubject=h,c.exports}),a.registerDynamic("35e",["f","2e5","2bd"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("f"),f=a("2e5"),g=a("2bd"),h=function(a){function b(b,c){a.call(this),this.source=b,this.subjectFactory=c}return d(b,a),b.prototype._subscribe=function(a){return this.getSubject().subscribe(a)},b.prototype.getSubject=function(){var a=this.subject;return a&&!a.isUnsubscribed?a:this.subject=this.subjectFactory()},b.prototype.connect=function(){var a=this.source,b=this.subscription;return b&&!b.isUnsubscribed?b:(b=a.subscribe(this.getSubject()),b.add(new i(this)),this.subscription=b)},b.prototype.refCount=function(){return new j(this)},b.prototype._closeSubscription=function(){this.subject=null,this.subscription=null},b}(e.Observable);b.ConnectableObservable=h;var i=function(a){function b(b){a.call(this),this.connectable=b}return d(b,a),b.prototype._unsubscribe=function(){var a=this.connectable;a._closeSubscription(),this.connectable=null},b}(g.Subscription),j=function(a){function b(b,c){void 0===c&&(c=0),a.call(this),this.connectable=b,this.refCount=c}return d(b,a),b.prototype._subscribe=function(a){var b=this.connectable,c=new k(a,this),d=b.subscribe(c);return d.isUnsubscribed||1!==++this.refCount||(c.connection=this.connection=b.connect()),d},b}(e.Observable),k=function(a){function b(b,c){a.call(this,null),this.destination=b,this.refCountObservable=c,this.connection=c.connection,b.add(this)}return d(b,a),b.prototype._next=function(a){this.destination.next(a)},b.prototype._error=function(a){this._resetConnectable(),this.destination.error(a)},b.prototype._complete=function(){this._resetConnectable(),this.destination.complete()},b.prototype._resetConnectable=function(){var a=this.refCountObservable,b=a.connection,c=this.connection;c&&c===b&&(a.refCount=0,b.unsubscribe(),a.connection=null,this.unsubscribe())},b.prototype._unsubscribe=function(){var a=this.refCountObservable;if(0!==a.refCount&&0===--a.refCount){var b=a.connection,c=this.connection;c&&c===b&&(b.unsubscribe(),a.connection=null)}},b}(f.Subscriber);return c.exports}),a.registerDynamic("39f",[],!0,function(a,b,c){"use strict";return b.empty={isUnsubscribed:!0,next:function(a){},error:function(a){throw a},complete:function(){}},c.exports}),a.registerDynamic("2e5",["2b0","2bd","39c","39f"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("2b0"),f=a("2bd"),g=a("39c"),h=a("39f"),i=function(a){function b(c,d,e){switch(a.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=h.empty;break;case 1:if(!c){this.destination=h.empty;break}if("object"==typeof c){c instanceof b?(this.destination=c,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new j(this,c));break}default:this.syncErrorThrowable=!0,this.destination=new j(this,c,d,e)}}return d(b,a),b.create=function(a,c,d){var e=new b(a,c,d);return e.syncErrorThrowable=!1,e},b.prototype.next=function(a){this.isStopped||this._next(a)},b.prototype.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))},b.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},b.prototype.unsubscribe=function(){this.isUnsubscribed||(this.isStopped=!0,a.prototype.unsubscribe.call(this))},b.prototype._next=function(a){this.destination.next(a)},b.prototype._error=function(a){this.destination.error(a),this.unsubscribe()},b.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},b.prototype[g.$$rxSubscriber]=function(){return this},b}(f.Subscription);b.Subscriber=i;var j=function(a){function b(b,c,d,f){a.call(this),this._parent=b;var g,h=this;e.isFunction(c)?g=c:c&&(h=c,g=c.next,d=c.error,f=c.complete,e.isFunction(h.unsubscribe)&&this.add(h.unsubscribe.bind(h)),h.unsubscribe=this.unsubscribe.bind(this)),this._context=h,this._next=g,this._error=d,this._complete=f}return d(b,a),b.prototype.next=function(a){if(!this.isStopped&&this._next){var b=this._parent;b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}},b.prototype.error=function(a){if(!this.isStopped){var b=this._parent;if(this._error)b.syncErrorThrowable?(this.__tryOrSetError(b,this._error,a),this.unsubscribe()):(this.__tryOrUnsub(this._error,a),this.unsubscribe());else{if(!b.syncErrorThrowable)throw this.unsubscribe(),a;b.syncErrorValue=a,b.syncErrorThrown=!0,this.unsubscribe()}}},b.prototype.complete=function(){if(!this.isStopped){var a=this._parent;this._complete?a.syncErrorThrowable?(this.__tryOrSetError(a,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},b.prototype.__tryOrUnsub=function(a,b){try{a.call(this._context,b)}catch(c){throw this.unsubscribe(),c}},b.prototype.__tryOrSetError=function(a,b,c){try{b.call(this._context,c)}catch(d){return a.syncErrorValue=d,a.syncErrorThrown=!0,!0}return!1},b.prototype._unsubscribe=function(){var a=this._parent;this._context=null,this._parent=null,a.unsubscribe()},b}(i);return c.exports}),a.registerDynamic("3a0",["2e5","39c"],!0,function(a,b,c){"use strict";function d(a,b,c){if(a&&"object"==typeof a){if(a instanceof e.Subscriber)return a;if("function"==typeof a[f.$$rxSubscriber])return a[f.$$rxSubscriber]()}return new e.Subscriber(a,b,c)}var e=a("2e5"),f=a("39c");return b.toSubscriber=d,c.exports}),a.registerDynamic("f",["2ae","2b8","3a0"],!0,function(a,b,c){"use strict";var d=a("2ae"),e=a("2b8"),f=a("3a0"),g=function(){function a(a){this._isScalar=!1,a&&(this._subscribe=a)}return a.prototype.lift=function(b){var c=new a;return c.source=this,c.operator=b,c},a.prototype.subscribe=function(a,b,c){var d=this.operator,e=f.toSubscriber(a,b,c);if(e.add(d?d.call(e,this):this._subscribe(e)),e.syncErrorThrowable&&(e.syncErrorThrowable=!1,e.syncErrorThrown))throw e.syncErrorValue;return e},a.prototype.forEach=function(a,b){var c=this;if(b||(d.root.Rx&&d.root.Rx.config&&d.root.Rx.config.Promise?b=d.root.Rx.config.Promise:d.root.Promise&&(b=d.root.Promise)),!b)throw new Error("no Promise impl found");return new b(function(b,d){var e=c.subscribe(function(b){if(e)try{a(b)}catch(c){d(c),e.unsubscribe()}else a(b)},d,b)})},a.prototype._subscribe=function(a){return this.source.subscribe(a)},a.prototype[e.$$observable]=function(){return this},a.create=function(b){return new a(b)},a}();return b.Observable=g,c.exports}),a.registerDynamic("312",["f"],!0,function(a,b,c){"use strict";var d=a("f"),e=function(){function a(a,b,c){this.kind=a,this.value=b,this.exception=c,this.hasValue="N"===a}return a.prototype.observe=function(a){switch(this.kind){case"N":return a.next&&a.next(this.value);case"E":return a.error&&a.error(this.exception);case"C":return a.complete&&a.complete()}},a.prototype["do"]=function(a,b,c){var d=this.kind;switch(d){case"N":return a&&a(this.value);case"E":return b&&b(this.exception);case"C":return c&&c()}},a.prototype.accept=function(a,b,c){return a&&"function"==typeof a.next?this.observe(a):this["do"](a,b,c)},a.prototype.toObservable=function(){var a=this.kind;switch(a){case"N":return d.Observable.of(this.value);case"E":return d.Observable["throw"](this.exception);case"C":return d.Observable.empty()}},a.createNext=function(b){return"undefined"!=typeof b?new a("N",b):this.undefinedValueNotification},a.createError=function(b){return new a("E",void 0,b)},a.createComplete=function(){return this.completeNotification},a.completeNotification=new a("C"),a.undefinedValueNotification=new a("N",void 0),a}();return b.Notification=e,c.exports}),a.registerDynamic("321",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(){a.call(this,"no elements in sequence"),this.name="EmptyError"}return d(b,a),b}(Error);return b.EmptyError=e,c.exports}),a.registerDynamic("376",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(){a.call(this,"argument out of range"),this.name="ArgumentOutOfRangeError"}return d(b,a),b}(Error);return b.ArgumentOutOfRangeError=e,c.exports}),a.registerDynamic("39e",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(){a.call(this,"object unsubscribed"),this.name="ObjectUnsubscribedError"}return d(b,a),b}(Error);return b.ObjectUnsubscribedError=e,c.exports}),a.registerDynamic("3a1",["2ae","45"],!0,function(a,b,c){return function(c){"use strict";var d=a("2ae"),e=function(){function a(a){if(this.root=a,a.setImmediate&&"function"==typeof a.setImmediate)this.setImmediate=a.setImmediate.bind(a),this.clearImmediate=a.clearImmediate.bind(a);else{this.nextHandle=1,
|
||
this.tasksByHandle={},this.currentlyRunningATask=!1,this.canUseProcessNextTick()?this.setImmediate=this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.setImmediate=this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.setImmediate=this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.setImmediate=this.createReadyStateChangeSetImmediate():this.setImmediate=this.createSetTimeoutSetImmediate();var b=function c(a){delete c.instance.tasksByHandle[a]};b.instance=this,this.clearImmediate=b}}return a.prototype.identify=function(a){return this.root.Object.prototype.toString.call(a)},a.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)},a.prototype.canUseMessageChannel=function(){return Boolean(this.root.MessageChannel)},a.prototype.canUseReadyStateChange=function(){var a=this.root.document;return Boolean(a&&"onreadystatechange"in a.createElement("script"))},a.prototype.canUsePostMessage=function(){var a=this.root;if(a.postMessage&&!a.importScripts){var b=!0,c=a.onmessage;return a.onmessage=function(){b=!1},a.postMessage("","*"),a.onmessage=c,b}return!1},a.prototype.partiallyApplied=function(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];var d=function e(){var a=e,b=a.handler,c=a.args;"function"==typeof b?b.apply(void 0,c):new Function(""+b)()};return d.handler=a,d.args=b,d},a.prototype.addFromSetImmediateArguments=function(a){return this.tasksByHandle[this.nextHandle]=this.partiallyApplied.apply(void 0,a),this.nextHandle++},a.prototype.createProcessNextTickSetImmediate=function(){var a=function b(){var a=b.instance,c=a.addFromSetImmediateArguments(arguments);return a.root.process.nextTick(a.partiallyApplied(a.runIfPresent,c)),c};return a.instance=this,a},a.prototype.createPostMessageSetImmediate=function(){var a=this.root,b="setImmediate$"+a.Math.random()+"$",c=function e(c){var d=e.instance;c.source===a&&"string"==typeof c.data&&0===c.data.indexOf(b)&&d.runIfPresent(+c.data.slice(b.length))};c.instance=this,a.addEventListener("message",c,!1);var d=function f(){var a=f,b=a.messagePrefix,c=a.instance,d=c.addFromSetImmediateArguments(arguments);return c.root.postMessage(b+d,"*"),d};return d.instance=this,d.messagePrefix=b,d},a.prototype.runIfPresent=function(a){if(this.currentlyRunningATask)this.root.setTimeout(this.partiallyApplied(this.runIfPresent,a),0);else{var b=this.tasksByHandle[a];if(b){this.currentlyRunningATask=!0;try{b()}finally{this.clearImmediate(a),this.currentlyRunningATask=!1}}}},a.prototype.createMessageChannelSetImmediate=function(){var a=this,b=new this.root.MessageChannel;b.port1.onmessage=function(b){var c=b.data;a.runIfPresent(c)};var c=function d(){var a=d,b=a.channel,c=a.instance,e=c.addFromSetImmediateArguments(arguments);return b.port2.postMessage(e),e};return c.channel=b,c.instance=this,c},a.prototype.createReadyStateChangeSetImmediate=function(){var a=function b(){var a=b.instance,c=a.root,d=c.document,e=d.documentElement,f=a.addFromSetImmediateArguments(arguments),g=d.createElement("script");return g.onreadystatechange=function(){a.runIfPresent(f),g.onreadystatechange=null,e.removeChild(g),g=null},e.appendChild(g),f};return a.instance=this,a},a.prototype.createSetTimeoutSetImmediate=function(){var a=function b(){var a=b.instance,c=a.addFromSetImmediateArguments(arguments);return a.root.setTimeout(a.partiallyApplied(a.runIfPresent,c),0),c};return a.instance=this,a},a}();b.ImmediateDefinition=e,b.Immediate=new e(d.root)}(a("45")),c.exports}),a.registerDynamic("3a2",["3a1","3a3"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("3a1"),f=a("3a3"),g=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype._schedule=function(b,c){if(void 0===c&&(c=0),c>0)return a.prototype._schedule.call(this,b,c);this.delay=c,this.state=b;var d=this.scheduler;return d.actions.push(this),d.scheduledId||(d.scheduledId=e.Immediate.setImmediate(function(){d.scheduledId=null,d.flush()})),this},b.prototype._unsubscribe=function(){var b=this.scheduler,c=b.scheduledId,d=b.actions;a.prototype._unsubscribe.call(this),0===d.length&&(b.active=!1,null!=c&&(b.scheduledId=null,e.Immediate.clearImmediate(c)))},b}(f.FutureAction);return b.AsapAction=g,c.exports}),a.registerDynamic("3a4",["3a2","3a5"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("3a2"),f=a("3a5"),g=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.scheduleNow=function(a,b){return new e.AsapAction(this,a).schedule(b)},b}(f.QueueScheduler);return b.AsapScheduler=g,c.exports}),a.registerDynamic("36c",["3a4"],!0,function(a,b,c){"use strict";var d=a("3a4");return b.asap=new d.AsapScheduler,c.exports}),a.registerDynamic("3a6",["3a3","3a5"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("3a3"),f=a("3a5"),g=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.scheduleNow=function(a,b){return new e.FutureAction(this,a).schedule(b,0)},b}(f.QueueScheduler);return b.AsyncScheduler=g,c.exports}),a.registerDynamic("2c7",["3a6"],!0,function(a,b,c){"use strict";var d=a("3a6");return b.async=new d.AsyncScheduler,c.exports}),a.registerDynamic("3a7",["3a3"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("3a3"),f=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype._schedule=function(b,c){if(void 0===c&&(c=0),c>0)return a.prototype._schedule.call(this,b,c);this.delay=c,this.state=b;var d=this.scheduler;return d.actions.push(this),d.flush(),this},b}(e.FutureAction);return b.QueueAction=f,c.exports}),a.registerDynamic("2aa",[],!0,function(a,b,c){"use strict";return b.isArray=Array.isArray||function(a){return a&&"number"==typeof a.length},c.exports}),a.registerDynamic("2af",[],!0,function(a,b,c){"use strict";function d(a){return null!=a&&"object"==typeof a}return b.isObject=d,c.exports}),a.registerDynamic("2b0",[],!0,function(a,b,c){"use strict";function d(a){return"function"==typeof a}return b.isFunction=d,c.exports}),a.registerDynamic("294",["295"],!0,function(a,b,c){"use strict";function d(){try{return f.apply(this,arguments)}catch(a){return g.errorObject.e=a,g.errorObject}}function e(a){return f=a,d}var f,g=a("295");return b.tryCatch=e,c.exports}),a.registerDynamic("295",[],!0,function(a,b,c){"use strict";return b.errorObject={e:{}},c.exports}),a.registerDynamic("3a8",[],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=function(a){function b(b){a.call(this),this.errors=b,this.name="UnsubscriptionError",this.message=b?b.length+" errors occurred during unsubscription:\n"+b.map(function(a,b){return b+1+") "+a.toString()}).join("\n"):""}return d(b,a),b}(Error);return b.UnsubscriptionError=e,c.exports}),a.registerDynamic("2bd",["2aa","2af","2b0","294","295","3a8","45"],!0,function(a,b,c){return function(c){"use strict";var d=a("2aa"),e=a("2af"),f=a("2b0"),g=a("294"),h=a("295"),i=a("3a8"),j=function(){function a(a){this.isUnsubscribed=!1,a&&(this._unsubscribe=a)}return a.prototype.unsubscribe=function(){var a,b=!1;if(!this.isUnsubscribed){this.isUnsubscribed=!0;var c=this,j=c._unsubscribe,k=c._subscriptions;if(this._subscriptions=null,f.isFunction(j)){var l=g.tryCatch(j).call(this);l===h.errorObject&&(b=!0,(a=a||[]).push(h.errorObject.e))}if(d.isArray(k))for(var m=-1,n=k.length;++m<n;){var o=k[m];if(e.isObject(o)){var l=g.tryCatch(o.unsubscribe).call(o);if(l===h.errorObject){b=!0,a=a||[];var p=h.errorObject.e;p instanceof i.UnsubscriptionError?a=a.concat(p.errors):a.push(p)}}}if(b)throw new i.UnsubscriptionError(a)}},a.prototype.add=function(b){if(b&&b!==this&&b!==a.EMPTY){var c=b;switch(typeof b){case"function":c=new a(b);case"object":if(c.isUnsubscribed||"function"!=typeof c.unsubscribe)break;this.isUnsubscribed?c.unsubscribe():(this._subscriptions||(this._subscriptions=[])).push(c);break;default:throw new Error("Unrecognized teardown "+b+" added to Subscription.")}return c}},a.prototype.remove=function(b){if(null!=b&&b!==this&&b!==a.EMPTY){var c=this._subscriptions;if(c){var d=c.indexOf(b);-1!==d&&c.splice(d,1)}}},a.EMPTY=function(a){return a.isUnsubscribed=!0,a}(new a),a}();b.Subscription=j}(a("45")),c.exports}),a.registerDynamic("3a3",["2ae","2bd"],!0,function(a,b,c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("2ae"),f=a("2bd"),g=function(a){function b(b,c){a.call(this),this.scheduler=b,this.work=c,this.pending=!1}return d(b,a),b.prototype.execute=function(){if(this.isUnsubscribed)this.error=new Error("executing a cancelled action");else try{this.work(this.state)}catch(a){this.unsubscribe(),this.error=a}},b.prototype.schedule=function(a,b){return void 0===b&&(b=0),this.isUnsubscribed?this:this._schedule(a,b)},b.prototype._schedule=function(a,b){var c=this;void 0===b&&(b=0),this.state=a,this.pending=!0;var d=this.id;return null!=d&&this.delay===b?this:(this.delay=b,null!=d&&(this.id=null,e.root.clearInterval(d)),this.id=e.root.setInterval(function(){c.pending=!1;var a=c,b=a.id,d=a.scheduler;d.actions.push(c),d.flush(),c.pending===!1&&null!=b&&(c.id=null,e.root.clearInterval(b))},b),this)},b.prototype._unsubscribe=function(){this.pending=!1;var a=this,b=a.id,c=a.scheduler,d=c.actions,f=d.indexOf(this);null!=b&&(this.id=null,e.root.clearInterval(b)),-1!==f&&d.splice(f,1),this.work=null,this.state=null,this.scheduler=null},b}(f.Subscription);return b.FutureAction=g,c.exports}),a.registerDynamic("3a5",["3a7","3a3"],!0,function(a,b,c){"use strict";var d=a("3a7"),e=a("3a3"),f=function(){function a(){this.active=!1,this.actions=[],this.scheduledId=null}return a.prototype.now=function(){return Date.now()},a.prototype.flush=function(){if(!this.active&&!this.scheduledId){this.active=!0;for(var a=this.actions,b=null;b=a.shift();)if(b.execute(),b.error)throw this.active=!1,b.error;this.active=!1}},a.prototype.schedule=function(a,b,c){return void 0===b&&(b=0),0>=b?this.scheduleNow(a,c):this.scheduleLater(a,b,c)},a.prototype.scheduleNow=function(a,b){return new d.QueueAction(this,a).schedule(b)},a.prototype.scheduleLater=function(a,b,c){return new e.FutureAction(this,a).schedule(c,b)},a}();return b.QueueScheduler=f,c.exports}),a.registerDynamic("39a",["3a5"],!0,function(a,b,c){"use strict";var d=a("3a5");return b.queue=new d.QueueScheduler,c.exports}),a.registerDynamic("39c",["2ae"],!0,function(a,b,c){"use strict";var d=a("2ae"),e=d.root.Symbol;return b.$$rxSubscriber="function"==typeof e&&"function"==typeof e["for"]?e["for"]("rxSubscriber"):"@@rxSubscriber",c.exports}),a.registerDynamic("2b8",["2ae"],!0,function(a,b,c){"use strict";var d=a("2ae"),e=d.root.Symbol;return"function"==typeof e?e.observable?b.$$observable=e.observable:("function"==typeof e["for"]?b.$$observable=e["for"]("observable"):b.$$observable=e("observable"),e.observable=b.$$observable):b.$$observable="@@observable",c.exports}),a.registerDynamic("2ae",[],!0,function(a,b,c){"use strict";var d=this,e={"boolean":!1,"function":!0,object:!0,number:!1,string:!1,undefined:!1};b.root=e[typeof self]&&self||e[typeof window]&&window;var f=(e[typeof b]&&b&&!b.nodeType&&b,e[typeof c]&&c&&!c.nodeType&&c,e[typeof d]&&d);return!f||f.global!==f&&f.window!==f||(b.root=f),c.exports}),a.registerDynamic("2b1",["2ae"],!0,function(a,b,c){"use strict";var d=a("2ae"),e=d.root.Symbol;if("function"==typeof e)e.iterator?b.$$iterator=e.iterator:"function"==typeof e["for"]&&(b.$$iterator=e["for"]("iterator"));else if(d.root.Set&&"function"==typeof(new d.root.Set)["@@iterator"])b.$$iterator="@@iterator";else if(d.root.Map)for(var f=Object.getOwnPropertyNames(d.root.Map.prototype),g=0;g<f.length;++g){var h=f[g];if("entries"!==h&&"size"!==h&&d.root.Map.prototype[h]===d.root.Map.prototype.entries){b.$$iterator=h;break}}else b.$$iterator="@@iterator";return c.exports}),a.registerDynamic("3a9",[],!0,function(a,b,c){function d(){m&&k&&(m=!1,k.length?l=k.concat(l):n=-1,l.length&&e())}function e(){if(!m){var a=h(d);m=!0;for(var b=l.length;b;){for(k=l,l=[];++n<b;)k&&k[n].run();n=-1,b=l.length}k=null,m=!1,i(a)}}function f(a,b){this.fun=a,this.array=b}function g(){}var h,i,j=c.exports={};!function(){try{h=setTimeout}catch(a){h=function(){throw new Error("setTimeout is not defined")}}try{i=clearTimeout}catch(a){i=function(){throw new Error("clearTimeout is not defined")}}}();var k,l=[],m=!1,n=-1;return j.nextTick=function(a){var b=new Array(arguments.length-1);if(arguments.length>1)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];l.push(new f(a,b)),1!==l.length||m||h(e,0)},f.prototype.run=function(){this.fun.apply(null,this.array)},j.title="browser",j.browser=!0,j.env={},j.argv=[],j.version="",j.versions={},j.on=g,j.addListener=g,j.once=g,j.off=g,j.removeListener=g,j.removeAllListeners=g,j.emit=g,j.binding=function(a){throw new Error("process.binding is not supported")},j.cwd=function(){return"/"},j.chdir=function(a){throw new Error("process.chdir is not supported")},j.umask=function(){return 0},c.exports}),a.registerDynamic("3aa",["3a9"],!0,function(a,b,c){return c.exports=a("3a9"),c.exports}),a.registerDynamic("3ab",["3aa"],!0,function(b,c,d){return d.exports=a._nodeRequire?process:b("3aa"),d.exports}),a.registerDynamic("45",["3ab"],!0,function(a,b,c){return c.exports=a("3ab"),c.exports}),a.registerDynamic("3ac",["b","f","298","29b","29c","2a0","2a5","2a8","2ac","2bb","2bf","2c2","2c4","2c9","2cc","2cd","2d2","2d4","2d7","2da","2de","2e1","2e3","2e6","2e8","2ea","2f4","2f7","2f9","2fb","2fc","2fd","300","303","306","308","30a","30c","30e","310","313","315","317","319","31b","31c","31f","322","327","329","32b","32d","32f","331","333","334","337","339","33a","33b","33c","33d","33e","340","343","345","347","34a","34c","34e","34f","351","353","355","357","359","35b","35d","360","362","364","366","368","36a","36e","370","372","374","377","379","37b","37d","37f","381","383","385","387","388","38a","38c","38e","390","392","394","395","398","399","2bd","2e5","296","34b","349","35e","312","321","376","39e","3a8","36c","2c7","39a","39c","2b8","2b1","45"],!0,function(a,b,c){return function(c){"use strict";var d=a("b");b.Subject=d.Subject;var e=a("f");b.Observable=e.Observable,a("298"),a("29b"),a("29c"),a("2a0"),a("2a5"),a("2a8"),a("2ac"),a("2bb"),a("2bf"),a("2c2"),a("2c4"),a("2c9"),a("2cc"),a("2cd"),a("2d2"),a("2d4"),a("2d7"),a("2da"),a("2de"),a("2e1"),a("2e3"),a("2e6"),a("2e8"),a("2ea"),a("2f4"),a("2f7"),a("2f9"),a("2fb"),a("2fc"),a("2fd"),a("300"),a("303"),a("306"),a("308"),a("30a"),a("30c"),a("30e"),a("310"),a("313"),a("315"),a("317"),a("319"),a("31b"),a("31c"),a("31f"),a("322"),a("327"),a("329"),a("32b"),a("32d"),a("32f"),a("331"),a("333"),a("334"),a("337"),a("339"),a("33a"),a("33b"),a("33c"),a("33d"),a("33e"),a("340"),a("343"),a("345"),a("347"),a("34a"),a("34c"),a("34e"),a("34f"),a("351"),a("353"),a("355"),a("357"),a("359"),a("35b"),a("35d"),a("360"),a("362"),a("364"),a("366"),a("368"),a("36a"),a("36e"),a("370"),a("372"),a("374"),a("377"),a("379"),a("37b"),a("37d"),a("37f"),a("381"),a("383"),a("385"),a("387"),a("388"),a("38a"),a("38c"),a("38e"),a("390"),a("392"),a("394"),a("395"),a("398");var f=a("399");b.Operator=f.Operator;var g=a("2bd");b.Subscription=g.Subscription;var h=a("2e5");b.Subscriber=h.Subscriber;var i=a("296");b.AsyncSubject=i.AsyncSubject;var j=a("34b");b.ReplaySubject=j.ReplaySubject;var k=a("349");b.BehaviorSubject=k.BehaviorSubject;var l=a("35e");b.ConnectableObservable=l.ConnectableObservable;var m=a("312");b.Notification=m.Notification;var n=a("321");b.EmptyError=n.EmptyError;var o=a("376");b.ArgumentOutOfRangeError=o.ArgumentOutOfRangeError;var p=a("39e");b.ObjectUnsubscribedError=p.ObjectUnsubscribedError;var q=a("3a8");b.UnsubscriptionError=q.UnsubscriptionError;var r=a("36c"),s=a("2c7"),t=a("39a"),u=a("39c"),v=a("2b8"),w=a("2b1"),x={asap:r.asap,async:s.async,queue:t.queue};b.Scheduler=x;var y={rxSubscriber:u.$$rxSubscriber,observable:v.$$observable,iterator:w.$$iterator};b.Symbol=y}(a("45")),c.exports}),a.registerDynamic("3ad",["3ac"],!0,function(a,b,c){return c.exports=a("3ac"),c.exports}),a.register("149",["9","77","78","79","7a","3ad"],function(a){var b,c,d,e,f,g,h,i,j,k;return{setters:[function(a){b=a.Injectable},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a.Subject}],execute:function(){"use strict";h=function(a,b,c,d){var g,h=arguments.length,i=3>h?b:null===d?d=e(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(a,b,c,d);else for(var j=a.length-1;j>=0;j--)(g=a[j])&&(i=(3>h?g(i):h>3?g(b,c,i):g(b,c))||i);return h>3&&i&&f(b,c,i),i},i=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},j=void 0,k=j=function(){function a(){d(this,a)}return c(a,null,[{key:"hasWarnings",value:function(){return!!j._warnings.length}},{key:"warn",value:function(a){j._warnings.push(a),j._warningsObs.next(j._warnings),console.warn(a)}},{key:"warnings",get:function(){return j._warningsObs}}]),a}(),a("WarningsService",k),k._warnings=[],k._warningsObs=new g,a("WarningsService",k=j=h([b(),i("design:paramtypes",[])],k))}}}),a.register("74",["81","85","138","139","149","13e","13a","a1"],function(a){"use strict";return{setters:[function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)}],execute:function(){}}}),a.register("3ae",["9","71","72","73","74","75","76","77","78","79","83","86","7a","6f","a7","7b","a5","a6","e9"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H;return{setters:[function(a){b=a.provide,c=a.enableProdMode,d=a.ElementRef},function(a){e=a["default"]},function(a){f=a.ApiInfo},function(a){g=a.RedocComponent,h=a.BaseComponent},function(a){i=a.OptionsService,j=a.RedocEventsService,k=a.MenuService,l=a.ScrollService,m=a.Hash,n=a.WarningsService},function(a){o=a["default"]},function(a){p=a["default"]},function(a){q=a["default"]},function(a){r=a["default"]},function(a){s=a["default"]},function(a){t=a.StickySidebar},function(a){u=a.SpecManager},function(a){v=a["default"]},function(a){w=a.bootstrap},function(a){x=a.BrowserDomAdapter},function(a){y=a.ApiLogo},function(a){z=a.MethodsList},function(a){A=a.SideMenu},function(a){B=a.Warnings}],execute:function(){"use strict";C=function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=s(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&v(b,c,g),g},D=function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},E=new x,F=!1,G=void 0,H=G=function(a){function d(a,b,c,f){r(this,d),o(Object.getPrototypeOf(d.prototype),"constructor",this).call(this,a),this.events=f,this.element=c.nativeElement,b.parseOptions(this.element),b.options.$scrollParent=e(this.element),this.options=b.options,this.events=f}return p(d,a),q(d,[{key:"ngAfterViewInit",value:function(){var a=this;setTimeout(function(){a.events.bootstrapped.next({})})}}],[{key:"showLoadingAnimation",value:function(){var a=E.query("redoc");E.addClass(a,"loading")}},{key:"hideLoadingAnimation",value:function(){var a=E.query("redoc");a&&(E.addClass(a,"loading-remove"),setTimeout(function(){E.removeClass(a,"loading-remove"),E.removeClass(a,"loading")},400))}},{key:"init",value:function(a,d){var e=new i(E);e.options=d,e.options.specUrl=e.options.specUrl||a;var f=[b(i,{useValue:e})];return G.appRef&&G.destroy(),G.showLoadingAnimation(),u.instance().load(a).then(function(){return F||e.options.debugMode||(c(),F=!0),w(G,f)}).then(function(a){G.hideLoadingAnimation(),G.appRef=a,console.log("ReDoc bootstrapped!")})["catch"](function(a){throw G.hideLoadingAnimation(),G.displayError(a),a})}},{key:"autoInit",value:function(){var a="spec-url",b=E.query("redoc");if(b&&E.hasAttribute(b,a)){var c=E.getAttribute(b,a);G.init(c)}}},{key:"displayError",value:function(a){var b=E.query("redoc");if(b){var c="Oops... ReDoc failed to render this spec",d=a.message,e='<div class="redoc-error">\n <h1>'+c+"</h1>\n <div class='redoc-error-details'>"+d+"</div>";b.innerHTML=e}}},{key:"destroy",value:function(){var a=E.query("redoc"),b=void 0,c=void 0,d=void 0;a&&(c=a.parentElement,d=a.nextElementSibling),b=a.cloneNode(!1),G.appRef&&(G.appRef.destroy(),G.appRef=null,b.innerHTML="Loading...",c&&c.insertBefore(b,d))}}]),d}(h),a("Redoc",H),a("Redoc",H=G=C([g({selector:"redoc",providers:[u,x,j,l,m,k,n],template:'\n <div class="redoc-wrap">\n <div class="menu-content" sticky-sidebar [scrollParent]="options.$scrollParent" [scrollYOffset]="options.scrollYOffset">\n <api-logo> </api-logo>\n <side-menu> </side-menu>\n </div>\n <div id="api-content">\n <warnings></warnings>\n <api-info></api-info>\n <methods-list> </methods-list>\n <footer>\n <div class="powered-by-badge">\n <a href="https://github.com/Rebilly/ReDoc" title="Swagger-generated API Reference Documentation" target="_blank">\n Powered by <strong>ReDoc</strong>\n </a>\n </div>\n </footer>\n </div>\n </div>\n ',styles:['\n :host {\n display: block;\n box-sizing: border-box;\n -webkit-tap-highlight-color: transparent;\n -moz-tap-highlight-color: transparent;\n -ms-tap-highlight-color: transparent;\n -o-tap-highlight-color: transparent;\n tap-highlight-color: transparent;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-smoothing: antialiased;\n -webkit-osx-font-smoothing: grayscale;\n -moz-osx-font-smoothing: grayscale;\n osx-font-smoothing: grayscale;\n -webkit-text-size-adjust: 100%;\n -moz-text-size-adjust: 100%;\n text-size-adjust: 100%;\n -webkit-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);\n -ms-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);\n text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);\n text-rendering: optimizeSpeed !important;\n font-smooth: always;\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n text-size-adjust: 100%; }\n\n .redoc-wrap {\n position: relative;\n font-family: Roboto, sans-serif;\n font-size: 14px;\n line-height: 1.55em;\n color: #263238; }\n\n side-menu {\n display: block;\n box-sizing: border-box; }\n\n methods-list {\n display: block;\n overflow: hidden; }\n\n api-info, .side-bar {\n display: block;\n padding: 10px 0; }\n\n api-logo {\n display: block;\n text-align: center; }\n @media (max-width: 1000px) {\n api-logo {\n display: none; } }\n\n [sticky-sidebar] {\n width: 260px;\n background-color: #FAFAFA;\n overflow-y: auto;\n overflow-x: hidden; }\n @media (max-width: 1000px) {\n [sticky-sidebar] {\n z-index: 1;\n width: 100%;\n bottom: auto !important; } }\n\n #api-content {\n margin-left: 260px;\n position: relative; }\n @media (max-width: 1000px) {\n #api-content {\n padding-top: 3em;\n margin-left: 0; } }\n\n #api-content:before {\n content: "";\n background: #263238;\n height: 100%;\n width: 40%;\n top: 0;\n right: 0;\n position: absolute;\n z-index: -1; }\n\n @media (max-width: 1100px) {\n #api-content:before {\n display: none; } }\n\n /* global redoc styles */\n :host h1 {\n margin-top: 0;\n font-family: Montserrat, sans-serif;\n color: #0033a0;\n font-weight: 400; }\n\n :host h2 {\n margin-top: 0;\n font-family: Montserrat, sans-serif;\n color: #0033a0;\n font-weight: 400; }\n\n :host h3 {\n margin-top: 0;\n font-family: Montserrat, sans-serif;\n color: #0033a0;\n font-weight: 400; }\n\n :host h4 {\n margin-top: 0;\n font-family: Montserrat, sans-serif;\n color: #0033a0;\n font-weight: 400; }\n\n :host h5 {\n margin-top: 0;\n font-family: Montserrat, sans-serif;\n color: #0033a0;\n font-weight: 400; }\n\n :host h1 {\n font-size: 1.85714em; }\n\n :host h2 {\n font-size: 1.57143em; }\n\n :host h3 {\n font-size: 1.28571em; }\n\n :host h4 {\n font-size: 1.14286em; }\n\n :host h5 {\n font-size: 0.929em; }\n\n :host p {\n font-family: Roboto, sans-serif;\n font-weight: 300;\n margin: 0;\n margin-bottom: 1em;\n line-height: 1.55em; }\n\n :host a {\n text-decoration: none;\n color: #0033a0; }\n\n :host p > code {\n color: #e53935;\n border: 1px solid rgba(38, 50, 56, 0.1); }\n\n :host .hint--inversed:before {\n border-top-color: #fff; }\n\n :host .hint--inversed:after {\n background: #fff;\n color: #383838; }\n\n :host .share-link {\n cursor: pointer;\n margin-left: -15px;\n padding: 0;\n line-height: 1;\n width: 15px;\n display: inline-block; }\n\n :host .share-link:before {\n content: "";\n width: 15px;\n height: 15px;\n background-size: contain;\n background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==");\n opacity: 0.5;\n visibility: hidden;\n display: inline-block;\n vertical-align: middle; }\n\n :host .sharable-header:hover .share-link:before, :host .share-link:hover:before {\n visibility: visible; }\n\n footer {\n position: relative;\n text-align: right;\n padding: 10px 40px;\n font-size: 15px;\n margin-top: -35px;\n color: white; }\n footer a {\n color: white; }\n footer strong {\n font-size: 18px; }\n\n /* markdown elements */\n :host .redoc-markdown-block pre {\n font-family: Courier, monospace;\n white-space: pre-wrap;\n background-color: #263238;\n color: white;\n padding: 12px 14px 15px 14px;\n overflow-x: auto;\n line-height: normal;\n border-radius: 2px;\n border: 1px solid rgba(38, 50, 56, 0.1); }\n :host .redoc-markdown-block pre code {\n background-color: transparent; }\n :host .redoc-markdown-block pre code:before, :host .redoc-markdown-block pre code:after {\n content: none; }\n\n :host .redoc-markdown-block code {\n font-family: Courier, monospace;\n background-color: rgba(38, 50, 56, 0.04);\n padding: 0.1em 0 0.2em 0;\n font-size: 1em;\n border-radius: 2px; }\n :host .redoc-markdown-block code:before, :host .redoc-markdown-block code:after {\n letter-spacing: -0.2em;\n content: "\\00a0"; }\n\n :host .redoc-markdown-block p:last-of-type {\n margin-bottom: 0; }\n\n :host .redoc-markdown-block blockquote {\n margin: 0;\n margin-bottom: 1em;\n padding: 0 15px;\n color: #777;\n border-left: 4px solid #ddd; }\n\n :host .redoc-markdown-block img {\n max-width: 100%;\n box-sizing: content-box; }\n\n :host .redoc-markdown-block ul, :host .redoc-markdown-block ol {\n padding-left: 2em;\n margin: 0;\n margin-bottom: 1em; }\n\n :host .redoc-markdown-block table {\n display: block;\n width: 100%;\n overflow: auto;\n word-break: normal;\n word-break: keep-all;\n border-collapse: collapse;\n border-spacing: 0;\n margin-top: 0.5em;\n margin-bottom: 0.5em; }\n\n :host .redoc-markdown-block table tr {\n background-color: #fff;\n border-top: 1px solid #ccc; }\n :host .redoc-markdown-block table tr:nth-child(2n) {\n background-color: #f8f8f8; }\n\n :host .redoc-markdown-block table th, :host .redoc-markdown-block table td {\n padding: 6px 13px;\n border: 1px solid #ddd; }\n\n :host .redoc-markdown-block table th {\n text-align: left;\n font-weight: bold; }\n '],directives:[f,y,z,A,t,B],detect:!0,onPushOnly:!1}),D("design:paramtypes",[u,i,d,j])],H));
|
||
}}}),a.register("8c",["2","72","80","88","7b","7f","7e","a3","8b","a0","a6","a5","3ae"],function(a){"use strict";return{setters:[function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)},function(b){var c={};for(var d in b)"default"!==d&&(c[d]=b[d]);a(c)}],execute:function(){}}}),a.register("1",["3","4","5","6","7","8c"],function(a){"use strict";var b,c,d;return{setters:[function(a){},function(a){},function(a){},function(a){},function(a){b=a.redocVersion},function(a){c=a.Redoc}],execute:function(){c.version=b,d=c.init,a("init",d),window.Redoc=c,c.autoInit()}}}),a.register("npm:dropkickjs@2.1.8/build/css/dropkick.css!github:systemjs/plugin-css@0.1.18.js",[],!1,function(){}),a.register("npm:prismjs@1.3.0/themes/prism-dark.css!github:systemjs/plugin-css@0.1.18.js",[],!1,function(){}),a.register("npm:hint.css@2.2.1/hint.base.css!github:systemjs/plugin-css@0.1.18.js",[],!1,function(){}),a.register(".tmp/lib/components/Redoc/redoc-initial-styles.css!github:systemjs/plugin-css@0.1.18.js",[],!1,function(){}),function(a){if("undefined"!=typeof document){var b=document,c="appendChild",d="styleSheet",e=b.createElement("style");e.type="text/css",b.getElementsByTagName("head")[0][c](e),e[d]?e[d].cssText=a:e[c](b.createTextNode(a))}}('.dk-select,.dk-select *,.dk-select :after,.dk-select :before,.dk-select-multi,.dk-select-multi *,.dk-select-multi :after,.dk-select-multi :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dk-select,.dk-select-multi{position:relative;display:inline-block;vertical-align:middle;line-height:1.5em;width:200px;cursor:pointer}.dk-selected{width:100%;white-space:nowrap;overflow:hidden;position:relative;background-color:#fff;border:1px solid #CCC;border-radius:.4em;padding:0 1.5em 0 .5em;-o-text-overflow:ellipsis;text-overflow:ellipsis}.dk-selected:after,.dk-selected:before{content:\'\';display:block;position:absolute;right:0}.dk-selected:before{top:50%;border:solid transparent;border-width:.25em .25em 0;border-top-color:#CCC;margin:-.125em .5em 0 0}.dk-selected:after{top:0;height:100%;border-left:1px solid #CCC;margin:0 1.5em 0 0}.dk-selected-disabled{color:#BBB}.dk-select .dk-select-options{position:absolute;display:none;left:0;right:0}.dk-select-open-up .dk-select-options{border-radius:.4em .4em 0 0;margin-bottom:-1px;bottom:100%}.dk-select-open-down .dk-select-options{border-radius:0 0 .4em .4em;margin-top:-1px;top:100%}.dk-select-multi .dk-select-options{max-height:10em}.dk-select-options{background-color:#fff;border:1px solid #CCC;border-radius:.4em;list-style:none;margin:0;max-height:10.5em;overflow-x:hidden;overflow-y:auto;padding:.25em 0;width:auto;z-index:100}.dk-optgroup,.dk-optgroup+.dk-option{margin-top:.25em}.dk-option-selected{background-color:#3297fd;color:#fff}.dk-select-options-highlight .dk-option-selected{background-color:transparent;color:inherit}.dk-option{padding:0 .5em}.dk-select-options .dk-option-highlight{background-color:#3297fd;color:#fff}.dk-select-options .dk-option-disabled{color:#BBB;background-color:transparent}.dk-optgroup{border:solid #CCC;border-width:1px 0;padding:.25em 0}.dk-select-open-down .dk-selected:after,.dk-select-open-up .dk-selected:after,.dk-selected:focus:after,.dk-selected:hover:after{border-left-color:#3297fd}.dk-optgroup+.dk-optgroup{border-top-width:0;margin-top:0}.dk-optgroup:nth-child(2){padding-top:0;border-top:none;margin-top:0}.dk-optgroup:last-child{border-bottom-width:0;margin-bottom:0;padding-bottom:0}.dk-optgroup-label{padding:0 .5em .25em;font-weight:700;width:100%}.dk-optgroup-options{list-style:none;padding-left:0}.dk-optgroup-options li{padding-left:1.2em}.dk-select-open-up .dk-selected{border-top-left-radius:0;border-top-right-radius:0;border-color:#3297fd}.dk-select-open-down .dk-selected{border-bottom-left-radius:0;border-bottom-right-radius:0;border-color:#3297fd}.dk-select-open-down .dk-selected:before,.dk-select-open-up .dk-selected:before{border-width:0 .25em .25em;border-bottom-color:#3297fd}.dk-select-multi:focus .dk-select-options,.dk-select-open-down .dk-select-options,.dk-select-open-up .dk-select-options{display:block;border-color:#3297fd}.dk-select-multi:focus,.dk-select-multi:hover{outline:0}.dk-selected:focus,.dk-selected:hover{outline:0;border-color:#3297fd}.dk-selected:focus:before,.dk-selected:hover:before{border-top-color:#3297fd}.dk-select-disabled{opacity:.6;color:#BBB;cursor:not-allowed}.dk-select-disabled .dk-selected:focus,.dk-select-disabled .dk-selected:hover{border-color:inherit}.dk-select-disabled .dk-selected:focus:before,.dk-select-disabled .dk-selected:hover:before{border-top-color:inherit}.dk-select-disabled .dk-selected:focus:after,.dk-select-disabled .dk-selected:hover:after{border-left-color:inherit}select[data-dkcacheid]{display:none}code[class*=language-],pre[class*=language-]{color:#fff;text-shadow:0 -.1em .2em #000;font-family:Consolas,Monaco,\'Andale Mono\',\'Ubuntu Mono\',monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}:not(pre)>code[class*=language-],pre[class*=language-]{background:#4c3f33}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border:.3em solid #7a6651;border-radius:.5em;box-shadow:1px 1px .5em #000 inset}:not(pre)>code[class*=language-]{padding:.15em .2em .05em;border-radius:.3em;border:.13em solid #7a6651;box-shadow:1px 1px .3em -.1em #000 inset}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#997f66}.namespace,.token.punctuation{opacity:.7}.token.boolean,.token.constant,.token.number,.token.property,.token.symbol,.token.tag{color:#d1939e}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#bce051}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f4b73d}.token.atrule,.token.attr-value,.token.keyword{color:#d1939e}.token.important,.token.regex{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.deleted{color:red}/*! Hint.css (base version) - v2.2.1 - 2016-03-26\n* http://kushagragour.in/lab/hint/\n* Copyright (c) 2016 Kushagra Gour; Licensed */[data-hint]{position:relative;display:inline-block}[data-hint]:after,[data-hint]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}[data-hint]:hover:after,[data-hint]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}[data-hint]:before{content:\'\';position:absolute;background:0 0;border:6px solid transparent;z-index:1000001}[data-hint]:after{content:attr(data-hint);background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap}[data-hint=\'\']:after,[data-hint=\'\']:before{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#383838}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#383838}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--top:focus:before,.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top:focus:after,.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--bottom:focus:before,.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom:focus:after,.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.hint--right:after{margin-bottom:-14px}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:focus:after,.hint--right:focus:before,.hint--right:hover:after,.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.hint--left:after{margin-bottom:-14px}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:focus:after,.hint--left:focus:before,.hint--left:hover:after,.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--top-left:focus:before,.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top-left:focus:after,.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--top-right:focus:after,.hint--top-right:focus:before,.hint--top-right:hover:after,.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--bottom-left:focus:before,.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom-left:focus:after,.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--bottom-right:focus:after,.hint--bottom-right:focus:before,.hint--bottom-right:hover:after,.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--large:after,.hint--medium:after,.hint--small:after{white-space:normal;line-height:1.4em}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:after,.hint--always.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:after,.hint--always.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--left:after,.hint--always.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--always.hint--right:after,.hint--always.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}redoc.loading{position:relative;display:block;min-height:350px}redoc.loading:after,redoc.loading:before{position:absolute;transition:all .6s ease-out;opacity:1}@keyframes rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}redoc.loading:before{font-family:Helvetica;content:"Loading";font-size:24px;text-align:center;padding-top:40px;color:#0033a0;font-weight:400;display:block;top:0;bottom:0;left:0;right:0;background-color:#fff;z-index:9999}redoc.loading:after{z-index:10000;background-image:url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="512" height="512" viewBox="0 0 512 512"><g></g><path d="M275.682 147.999c0 10.864-8.837 19.661-19.682 19.661v0c-10.875 0-19.681-8.796-19.681-19.661v-96.635c0-10.885 8.806-19.661 19.681-19.661v0c10.844 0 19.682 8.776 19.682 19.661v96.635z" fill="#0033a0"/><path d="M275.682 460.615c0 10.865-8.837 19.682-19.682 19.682v0c-10.875 0-19.681-8.817-19.681-19.682v-96.604c0-10.885 8.806-19.681 19.681-19.681v0c10.844 0 19.682 8.796 19.682 19.682v96.604z" fill="#0033a0"/><path d="M147.978 236.339c10.885 0 19.681 8.755 19.681 19.641v0c0 10.885-8.796 19.702-19.681 19.702h-96.624c-10.864 0-19.661-8.817-19.661-19.702v0c0-10.885 8.796-19.641 19.661-19.641h96.624z" fill="#0033a0"/><path d="M460.615 236.339c10.865 0 19.682 8.755 19.682 19.641v0c0 10.885-8.817 19.702-19.682 19.702h-96.584c-10.885 0-19.722-8.817-19.722-19.702v0c0-10.885 8.837-19.641 19.722-19.641h96.584z" fill="#0033a0"/><path d="M193.546 165.703c7.69 7.66 7.68 20.142 0 27.822v0c-7.701 7.701-20.162 7.701-27.853 0.020l-68.311-68.322c-7.68-7.701-7.68-20.142 0-27.863v0c7.68-7.68 20.121-7.68 27.822 0l68.342 68.342z" fill="#0033a0"/><path d="M414.597 386.775c7.7 7.68 7.7 20.163 0.021 27.863v0c-7.7 7.659-20.142 7.659-27.843-0.062l-68.311-68.26c-7.68-7.7-7.68-20.204 0-27.863v0c7.68-7.7 20.163-7.7 27.842 0l68.291 68.322z" fill="#0033a0"/><path d="M165.694 318.464c7.69-7.7 20.153-7.7 27.853 0v0c7.68 7.659 7.69 20.163 0 27.863l-68.342 68.322c-7.67 7.659-20.142 7.659-27.822-0.062v0c-7.68-7.68-7.68-20.122 0-27.801l68.311-68.322z" fill="#0033a0"/><path d="M386.775 97.362c7.7-7.68 20.142-7.68 27.822 0v0c7.7 7.68 7.7 20.183 0.021 27.863l-68.322 68.311c-7.68 7.68-20.163 7.68-27.843-0.020v0c-7.68-7.68-7.68-20.162 0-27.822l68.322-68.332z" fill="#0033a0"/></svg>\');animation:2s rotate linear infinite;width:50px;height:50px;content:"";left:50%;margin-left:-25px;background-size:cover;top:75px}redoc.loading-remove:after,redoc.loading-remove:before{opacity:0}.redoc-error{padding:20px;text-align:center;color:#c00}.redoc-error>h2{color:#c00;font-size:40px}.redoc-error-details{max-width:750px;margin:0 auto;font-size:18px}')})(function(a){"function"==typeof define&&define.amd?define([],a):"object"==typeof module&&module.exports&&"function"==typeof require?module.exports=a():a()}); |