1 line
343 KiB
JavaScript
1 line
343 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},EVdn:function(t,e,n){var r;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){"use strict";var i=[],a=n.document,s=Object.getPrototypeOf,u=i.slice,c=i.concat,l=i.push,p=i.indexOf,f={},d=f.toString,h=f.hasOwnProperty,v=h.toString,m=v.call(Object),g={},y=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},w={type:!0,src:!0,noModule:!0};function S(t,e,n){var r,o=(e=e||a).createElement("script");if(o.text=t,n)for(r in w)n[r]&&(o[r]=n[r]);e.head.appendChild(o).parentNode.removeChild(o)}function C(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[d.call(t)]||"object":typeof t}var x=function(t,e){return new x.fn.init(t,e)},_=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function E(t){var e=!!t&&"length"in t&&t.length,n=C(t);return!y(t)&&!b(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}x.fn=x.prototype={jquery:"3.3.1",constructor:x,length:0,toArray:function(){return u.call(this)},get:function(t){return null==t?u.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=x.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return x.each(this,t)},map:function(t){return this.pushStack(x.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:i.sort,splice:i.splice},x.extend=x.fn.extend=function(){var t,e,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||y(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],a!==(r=t[e])&&(c&&r&&(x.isPlainObject(r)||(o=Array.isArray(r)))?(o?(o=!1,i=n&&Array.isArray(n)?n:[]):i=n&&x.isPlainObject(n)?n:{},a[e]=x.extend(c,i,r)):void 0!==r&&(a[e]=r));return a},x.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==d.call(t)||(e=s(t))&&("function"!=typeof(n=h.call(e,"constructor")&&e.constructor)||v.call(n)!==m))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t){S(t)},each:function(t,e){var n,r=0;if(E(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(_,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(E(Object(t))?x.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:p.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,o=t.length;r<n;r++)t[o++]=e[r];return t.length=o,t},grep:function(t,e,n){for(var r=[],o=0,i=t.length,a=!n;o<i;o++)!e(t[o],o)!==a&&r.push(t[o]);return r},map:function(t,e,n){var r,o,i=0,a=[];if(E(t))for(r=t.length;i<r;i++)null!=(o=e(t[i],i,n))&&a.push(o);else for(i in t)null!=(o=e(t[i],i,n))&&a.push(o);return c.apply([],a)},guid:1,support:g}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=i[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){f["[object "+e+"]"]=e.toLowerCase()});var T=function(t){var e,n,r,o,i,a,s,u,c,l,p,f,d,h,v,m,g,y,b,w="sizzle"+1*new Date,S=t.document,C=0,x=0,_=at(),E=at(),T=at(),k=function(t,e){return t===e&&(p=!0),0},O={}.hasOwnProperty,A=[],R=A.pop,I=A.push,P=A.push,j=A.slice,D=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},N="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",H="\\["+M+"*("+L+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+M+"*\\]",U=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",q=new RegExp(M+"+","g"),F=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),V=new RegExp("^"+M+"*,"+M+"*"),B=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),W=new RegExp(U),G=new RegExp("^"+L+"$"),Z={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},$=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,K=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),tt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},et=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,nt=function(t,e){return e?"\0"===t?"\ufffd":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){f()},ot=yt(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{P.apply(A=j.call(S.childNodes),S.childNodes)}catch(xt){P={apply:A.length?function(t,e){I.apply(t,j.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function it(t,e,r,o){var i,s,c,l,p,h,g,y=e&&e.ownerDocument,C=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==C&&9!==C&&11!==C)return r;if(!o&&((e?e.ownerDocument||e:S)!==d&&f(e),e=e||d,v)){if(11!==C&&(p=Y.exec(t)))if(i=p[1]){if(9===C){if(!(c=e.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(y&&(c=y.getElementById(i))&&b(e,c)&&c.id===i)return r.push(c),r}else{if(p[2])return P.apply(r,e.getElementsByTagName(t)),r;if((i=p[3])&&n.getElementsByClassName&&e.getElementsByClassName)return P.apply(r,e.getElementsByClassName(i)),r}if(n.qsa&&!T[t+" "]&&(!m||!m.test(t))){if(1!==C)y=e,g=t;else if("object"!==e.nodeName.toLowerCase()){for((l=e.getAttribute("id"))?l=l.replace(et,nt):e.setAttribute("id",l=w),s=(h=a(t)).length;s--;)h[s]="#"+l+" "+gt(h[s]);g=h.join(","),y=X.test(t)&&vt(e.parentNode)||e}if(g)try{return P.apply(r,y.querySelectorAll(g)),r}catch(x){}finally{l===w&&e.removeAttribute("id")}}}return u(t.replace(F,"$1"),e,r,o)}function at(){var t=[];return function e(n,o){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=o}}function st(t){return t[w]=!0,t}function ut(t){var e=d.createElement("fieldset");try{return!!t(e)}catch(xt){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=e}function lt(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ft(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function dt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ht(t){return st(function(e){return e=+e,st(function(n,r){for(var o,i=t([],n.length,e),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=it.support={},i=it.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},f=it.setDocument=function(t){var e,o,a=t?t.ownerDocument||t:S;return a!==d&&9===a.nodeType&&a.documentElement?(h=(d=a).documentElement,v=!i(d),S!==d&&(o=d.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",rt,!1):o.attachEvent&&o.attachEvent("onunload",rt)),n.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ut(function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(d.getElementsByClassName),n.getById=ut(function(t){return h.appendChild(t).id=w,!d.getElementsByName||!d.getElementsByName(w).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(K,tt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(K,tt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,r,o,i=e.getElementById(t);if(i){if((n=i.getAttributeNode("id"))&&n.value===t)return[i];for(o=e.getElementsByName(t),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===t)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],o=0,i=e.getElementsByTagName(t);if("*"===t){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},g=[],m=[],(n.qsa=J.test(d.querySelectorAll))&&(ut(function(t){h.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+N+")"),t.querySelectorAll("[id~="+w+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]")}),ut(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=J.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ut(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),g.push("!=",U)}),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),e=J.test(h.compareDocumentPosition),b=e||J.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},k=e?function(t,e){if(t===e)return p=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===d||t.ownerDocument===S&&b(S,t)?-1:e===d||e.ownerDocument===S&&b(S,e)?1:l?D(l,t)-D(l,e):0:4&r?-1:1)}:function(t,e){if(t===e)return p=!0,0;var n,r=0,o=t.parentNode,i=e.parentNode,a=[t],s=[e];if(!o||!i)return t===d?-1:e===d?1:o?-1:i?1:l?D(l,t)-D(l,e):0;if(o===i)return lt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?lt(a[r],s[r]):a[r]===S?-1:s[r]===S?1:0},d):d},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==d&&f(t),e=e.replace(z,"='$1']"),n.matchesSelector&&v&&!T[e+" "]&&(!g||!g.test(e))&&(!m||!m.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(xt){}return it(e,d,null,[t]).length>0},it.contains=function(t,e){return(t.ownerDocument||t)!==d&&f(t),b(t,e)},it.attr=function(t,e){(t.ownerDocument||t)!==d&&f(t);var o=r.attrHandle[e.toLowerCase()],i=o&&O.call(r.attrHandle,e.toLowerCase())?o(t,e,!v):void 0;return void 0!==i?i:n.attributes||!v?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},it.escape=function(t){return(t+"").replace(et,nt)},it.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},it.uniqueSort=function(t){var e,r=[],o=0,i=0;if(p=!n.detectDuplicates,l=!n.sortStable&&t.slice(0),t.sort(k),p){for(;e=t[i++];)e===t[i]&&(o=r.push(i));for(;o--;)t.splice(r[o],1)}return l=null,t},o=it.getText=function(t){var e,n="",r=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=o(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[r++];)n+=o(e);return n},(r=it.selectors={cacheLength:50,createPseudo:st,match:Z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(K,tt),t[3]=(t[3]||t[4]||t[5]||"").replace(K,tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||it.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&it.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Z.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&W.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(K,tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=_[t+" "];return e||(e=new RegExp("(^|"+M+")"+t+"("+M+"|$)"))&&_(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var o=it.attr(r,t);return null==o?"!="===e:!e||(o+="","="===e?o===n:"!="===e?o!==n:"^="===e?n&&0===o.indexOf(n):"*="===e?n&&o.indexOf(n)>-1:"$="===e?n&&o.slice(-n.length)===n:"~="===e?(" "+o.replace(q," ")+" ").indexOf(n)>-1:"|="===e&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,o){var i="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===r&&0===o?function(t){return!!t.parentNode}:function(e,n,u){var c,l,p,f,d,h,v=i!==a?"nextSibling":"previousSibling",m=e.parentNode,g=s&&e.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(m){if(i){for(;v;){for(f=e;f=f[v];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=v="only"===t&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(b=(d=(c=(l=(p=(f=m)[w]||(f[w]={}))[f.uniqueID]||(p[f.uniqueID]={}))[t]||[])[0]===C&&c[1])&&c[2],f=d&&m.childNodes[d];f=++d&&f&&f[v]||(b=d=0)||h.pop();)if(1===f.nodeType&&++b&&f===e){l[t]=[C,d,b];break}}else if(y&&(b=d=(c=(l=(p=(f=e)[w]||(f[w]={}))[f.uniqueID]||(p[f.uniqueID]={}))[t]||[])[0]===C&&c[1]),!1===b)for(;(f=++d&&f&&f[v]||(b=d=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((l=(p=f[w]||(f[w]={}))[f.uniqueID]||(p[f.uniqueID]={}))[t]=[C,b]),f!==e)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,e){var n,o=r.pseudos[t]||r.setFilters[t.toLowerCase()]||it.error("unsupported pseudo: "+t);return o[w]?o(e):o.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?st(function(t,n){for(var r,i=o(t,e),a=i.length;a--;)t[r=D(t,i[a])]=!(n[r]=i[a])}):function(t){return o(t,0,n)}):o}},pseudos:{not:st(function(t){var e=[],n=[],r=s(t.replace(F,"$1"));return r[w]?st(function(t,e,n,o){for(var i,a=r(t,null,o,[]),s=t.length;s--;)(i=a[s])&&(t[s]=!(e[s]=i))}):function(t,o,i){return e[0]=t,r(e,null,i,n),e[0]=null,!n.pop()}}),has:st(function(t){return function(e){return it(t,e).length>0}}),contains:st(function(t){return t=t.replace(K,tt),function(e){return(e.textContent||e.innerText||o(e)).indexOf(t)>-1}}),lang:st(function(t){return G.test(t||"")||it.error("unsupported lang: "+t),t=t.replace(K,tt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:dt(!1),disabled:dt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return Q.test(t.nodeName)},input:function(t){return $.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:ht(function(){return[0]}),last:ht(function(t,e){return[e-1]}),eq:ht(function(t,e,n){return[n<0?n+e:n]}),even:ht(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:ht(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:ht(function(t,e,n){for(var r=n<0?n+e:n;--r>=0;)t.push(r);return t}),gt:ht(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=pt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ft(e);function mt(){}function gt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function yt(t,e,n){var r=e.dir,o=e.next,i=o||r,a=n&&"parentNode"===i,s=x++;return e.first?function(e,n,o){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,o);return!1}:function(e,n,u){var c,l,p,f=[C,s];if(u){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,u))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(l=(p=e[w]||(e[w]={}))[e.uniqueID]||(p[e.uniqueID]={}),o&&o===e.nodeName.toLowerCase())e=e[r]||e;else{if((c=l[i])&&c[0]===C&&c[1]===s)return f[2]=c[2];if(l[i]=f,f[2]=t(e,n,u))return!0}return!1}}function bt(t){return t.length>1?function(e,n,r){for(var o=t.length;o--;)if(!t[o](e,n,r))return!1;return!0}:t[0]}function wt(t,e,n,r,o){for(var i,a=[],s=0,u=t.length,c=null!=e;s<u;s++)(i=t[s])&&(n&&!n(i,r,o)||(a.push(i),c&&e.push(s)));return a}function St(t,e,n,r,o,i){return r&&!r[w]&&(r=St(r)),o&&!o[w]&&(o=St(o,i)),st(function(i,a,s,u){var c,l,p,f=[],d=[],h=a.length,v=i||function(t,e,n){for(var r=0,o=e.length;r<o;r++)it(t,e[r],n);return n}(e||"*",s.nodeType?[s]:s,[]),m=!t||!i&&e?v:wt(v,f,t,s,u),g=n?o||(i?t:h||r)?[]:a:m;if(n&&n(m,g,s,u),r)for(c=wt(g,d),r(c,[],s,u),l=c.length;l--;)(p=c[l])&&(g[d[l]]=!(m[d[l]]=p));if(i){if(o||t){if(o){for(c=[],l=g.length;l--;)(p=g[l])&&c.push(m[l]=p);o(null,g=[],c,u)}for(l=g.length;l--;)(p=g[l])&&(c=o?D(i,p):f[l])>-1&&(i[c]=!(a[c]=p))}}else g=wt(g===a?g.splice(h,g.length):g),o?o(null,a,g,u):P.apply(a,g)})}function Ct(t){for(var e,n,o,i=t.length,a=r.relative[t[0].type],s=a||r.relative[" "],u=a?1:0,l=yt(function(t){return t===e},s,!0),p=yt(function(t){return D(e,t)>-1},s,!0),f=[function(t,n,r){var o=!a&&(r||n!==c)||((e=n).nodeType?l(t,n,r):p(t,n,r));return e=null,o}];u<i;u++)if(n=r.relative[t[u].type])f=[yt(bt(f),n)];else{if((n=r.filter[t[u].type].apply(null,t[u].matches))[w]){for(o=++u;o<i&&!r.relative[t[o].type];o++);return St(u>1&&bt(f),u>1&>(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(F,"$1"),n,u<o&&Ct(t.slice(u,o)),o<i&&Ct(t=t.slice(o)),o<i&>(t))}f.push(n)}return bt(f)}return mt.prototype=r.filters=r.pseudos,r.setFilters=new mt,a=it.tokenize=function(t,e){var n,o,i,a,s,u,c,l=E[t+" "];if(l)return e?0:l.slice(0);for(s=t,u=[],c=r.preFilter;s;){for(a in n&&!(o=V.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),n=!1,(o=B.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(F," ")}),s=s.slice(n.length)),r.filter)!(o=Z[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return e?s.length:s?it.error(t):E(t,u).slice(0)},s=it.compile=function(t,e){var n,o=[],i=[],s=T[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=Ct(e[n]))[w]?o.push(s):i.push(s);(s=T(t,function(t,e){var n=e.length>0,o=t.length>0,i=function(i,a,s,u,l){var p,h,m,g=0,y="0",b=i&&[],w=[],S=c,x=i||o&&r.find.TAG("*",l),_=C+=null==S?1:Math.random()||.1,E=x.length;for(l&&(c=a===d||a||l);y!==E&&null!=(p=x[y]);y++){if(o&&p){for(h=0,a||p.ownerDocument===d||(f(p),s=!v);m=t[h++];)if(m(p,a||d,s)){u.push(p);break}l&&(C=_)}n&&((p=!m&&p)&&g--,i&&b.push(p))}if(g+=y,n&&y!==g){for(h=0;m=e[h++];)m(b,w,a,s);if(i){if(g>0)for(;y--;)b[y]||w[y]||(w[y]=R.call(u));w=wt(w)}P.apply(u,w),l&&!i&&w.length>0&&g+e.length>1&&it.uniqueSort(u)}return l&&(C=_,c=S),b};return n?st(i):i}(i,o))).selector=t}return s},u=it.select=function(t,e,n,o){var i,u,c,l,p,f="function"==typeof t&&t,d=!o&&a(t=f.selector||t);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===e.nodeType&&v&&r.relative[u[1].type]){if(!(e=(r.find.ID(c.matches[0].replace(K,tt),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(u.shift().value.length)}for(i=Z.needsContext.test(t)?0:u.length;i--&&!r.relative[l=(c=u[i]).type];)if((p=r.find[l])&&(o=p(c.matches[0].replace(K,tt),X.test(u[0].type)&&vt(e.parentNode)||e))){if(u.splice(i,1),!(t=o.length&>(u)))return P.apply(n,o),n;break}}return(f||s(t,d))(o,e,!v,n,!e||X.test(t)&&vt(e.parentNode)||e),n},n.sortStable=w.split("").sort(k).join("")===w,n.detectDuplicates=!!p,f(),n.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||ct(N,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),it}(n);x.find=T,x.expr=T.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=T.uniqueSort,x.text=T.getText,x.isXMLDoc=T.isXML,x.contains=T.contains,x.escapeSelector=T.escape;var k=function(t,e,n){for(var r=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&x(t).is(n))break;r.push(t)}return r},O=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},A=x.expr.match.needsContext;function R(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(t,e,n){return y(e)?x.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?x.grep(t,function(t){return t===e!==n}):"string"!=typeof e?x.grep(t,function(t){return p.call(e,t)>-1!==n}):x.filter(e,t,n)}x.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?x.find.matchesSelector(r,t)?[r]:[]:x.find.matches(t,x.grep(e,function(t){return 1===t.nodeType}))},x.fn.extend({find:function(t){var e,n,r=this.length,o=this;if("string"!=typeof t)return this.pushStack(x(t).filter(function(){for(e=0;e<r;e++)if(x.contains(o[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)x.find(t,o[e],n);return r>1?x.uniqueSort(n):n},filter:function(t){return this.pushStack(P(this,t||[],!1))},not:function(t){return this.pushStack(P(this,t||[],!0))},is:function(t){return!!P(this,"string"==typeof t&&A.test(t)?x(t):t||[],!1).length}});var j,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(t,e,n){var r,o;if(!t)return this;if(n=n||j,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:D.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(x.merge(this,x.parseHTML(r[1],(e=e instanceof x?e[0]:e)&&e.nodeType?e.ownerDocument||e:a,!0)),I.test(r[1])&&x.isPlainObject(e))for(r in e)y(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(o=a.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(x):x.makeArray(t,this)}).prototype=x.fn,j=x(a);var N=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function L(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.fn.extend({has:function(t){var e=x(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(x.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,o=this.length,i=[],a="string"!=typeof t&&x(t);if(!A.test(t))for(;r<o;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,t))){i.push(n);break}return this.pushStack(i.length>1?x.uniqueSort(i):i)},index:function(t){return t?"string"==typeof t?p.call(x(t),this[0]):p.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),x.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return L(t,"nextSibling")},prev:function(t){return L(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(t,"previousSibling",n)},siblings:function(t){return O((t.parentNode||{}).firstChild,t)},children:function(t){return O(t.firstChild)},contents:function(t){return R(t,"iframe")?t.contentDocument:(R(t,"template")&&(t=t.content||t),x.merge([],t.childNodes))}},function(t,e){x.fn[t]=function(n,r){var o=x.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=x.filter(r,o)),this.length>1&&(M[t]||x.uniqueSort(o),N.test(t)&&o.reverse()),this.pushStack(o)}});var H=/[^\x20\t\r\n\f]+/g;function U(t){return t}function q(t){throw t}function F(t,e,n,r){var o;try{t&&y(o=t.promise)?o.call(t).done(e).fail(n):t&&y(o=t.then)?o.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}x.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return x.each(t.match(H)||[],function(t,n){e[n]=!0}),e}(t):x.extend({},t);var e,n,r,o,i=[],a=[],s=-1,u=function(){for(o=o||t.once,r=e=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=i.length,n=!1);t.memory||(n=!1),e=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!e&&(s=i.length-1,a.push(n)),function e(n){x.each(n,function(n,r){y(r)?t.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&e(r)})}(arguments),n&&!e&&u()),this},remove:function(){return x.each(arguments,function(t,e){for(var n;(n=x.inArray(e,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(t){return t?x.inArray(t,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||e||(i=n=""),this},locked:function(){return!!o},fireWith:function(t,n){return o||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},x.extend({Deferred:function(t){var e=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(t){return o.then(null,t)},pipe:function(){var t=arguments;return x.Deferred(function(n){x.each(e,function(e,r){var o=y(t[r[4]])&&t[r[4]];i[r[1]](function(){var t=o&&o.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[t]:arguments)})}),t=null}).promise()},then:function(t,r,o){var i=0;function a(t,e,r,o){return function(){var s=this,u=arguments,c=function(){var n,c;if(!(t<i)){if((n=r.apply(s,u))===e.promise())throw new TypeError("Thenable self-resolution");y(c=n&&("object"==typeof n||"function"==typeof n)&&n.then)?o?c.call(n,a(i,e,U,o),a(i,e,q,o)):c.call(n,a(++i,e,U,o),a(i,e,q,o),a(i,e,U,e.notifyWith)):(r!==U&&(s=void 0,u=[n]),(o||e.resolveWith)(s,u))}},l=o?c:function(){try{c()}catch(n){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(n,l.stackTrace),t+1>=i&&(r!==q&&(s=void 0,u=[n]),e.rejectWith(s,u))}};t?l():(x.Deferred.getStackHook&&(l.stackTrace=x.Deferred.getStackHook()),n.setTimeout(l))}}return x.Deferred(function(n){e[0][3].add(a(0,n,y(o)?o:U,n.notifyWith)),e[1][3].add(a(0,n,y(t)?t:U)),e[2][3].add(a(0,n,y(r)?r:q))}).promise()},promise:function(t){return null!=t?x.extend(t,o):o}},i={};return x.each(e,function(t,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add(function(){r=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith}),o.promise(i),t&&t.call(i,i),i},when:function(t){var e=arguments.length,n=e,r=Array(n),o=u.call(arguments),i=x.Deferred(),a=function(t){return function(n){r[t]=this,o[t]=arguments.length>1?u.call(arguments):n,--e||i.resolveWith(r,o)}};if(e<=1&&(F(t,i.done(a(n)).resolve,i.reject,!e),"pending"===i.state()||y(o[n]&&o[n].then)))return i.then();for(;n--;)F(o[n],a(n),i.reject);return i.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&V.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},x.readyException=function(t){n.setTimeout(function(){throw t})};var B=x.Deferred();function z(){a.removeEventListener("DOMContentLoaded",z),n.removeEventListener("load",z),x.ready()}x.fn.ready=function(t){return B.then(t).catch(function(t){x.readyException(t)}),this},x.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==t&&--x.readyWait>0||B.resolveWith(a,[x]))}}),x.ready.then=B.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(x.ready):(a.addEventListener("DOMContentLoaded",z),n.addEventListener("load",z));var W=function(t,e,n,r,o,i,a){var s=0,u=t.length,c=null==n;if("object"===C(n))for(s in o=!0,n)W(t,e,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,y(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(x(t),n)})),e))for(;s<u;s++)e(t[s],n,a?r:r.call(t[s],s,e(t[s],n)));return o?t:c?e.call(t):u?e(t[0],n):i},G=/^-ms-/,Z=/-([a-z])/g;function $(t,e){return e.toUpperCase()}function Q(t){return t.replace(G,"ms-").replace(Z,$)}var J=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Y(){this.expando=x.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(t){var e=t[this.expando];return e||(e={},J(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,o=this.cache(t);if("string"==typeof e)o[Q(e)]=n;else for(r in e)o[Q(r)]=e[r];return o},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][Q(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(Q):(e=Q(e))in r?[e]:e.match(H)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||x.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!x.isEmptyObject(e)}};var X=new Y,K=new Y,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function nt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(n)}catch(o){}K.set(t,e,n)}else n=void 0;return n}x.extend({hasData:function(t){return K.hasData(t)||X.hasData(t)},data:function(t,e,n){return K.access(t,e,n)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,n){return X.access(t,e,n)},_removeData:function(t,e){X.remove(t,e)}}),x.fn.extend({data:function(t,e){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===t){if(this.length&&(o=K.get(i),1===i.nodeType&&!X.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=Q(r.slice(5)),nt(i,r,o[r]));X.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof t?this.each(function(){K.set(this,t)}):W(this,function(e){var n;if(i&&void 0===e)return void 0!==(n=K.get(i,t))?n:void 0!==(n=nt(i,t))?n:void 0;this.each(function(){K.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){K.remove(this,t)})}}),x.extend({queue:function(t,e,n){var r;if(t)return r=X.get(t,e=(e||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=X.access(t,e,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){var n=x.queue(t,e=e||"fx"),r=n.length,o=n.shift(),i=x._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===e&&n.unshift("inprogress"),delete i.stop,o.call(t,function(){x.dequeue(t,e)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return X.get(t,n)||X.access(t,n,{empty:x.Callbacks("once memory").add(function(){X.remove(t,[e+"queue",n])})})}}),x.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?x.queue(this[0],t):void 0===e?this:this.each(function(){var n=x.queue(this,t,e);x._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&x.dequeue(this,t)})},dequeue:function(t){return this.each(function(){x.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,o=x.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=X.get(i[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ot=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),it=["Top","Right","Bottom","Left"],at=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&x.contains(t.ownerDocument,t)&&"none"===x.css(t,"display")},st=function(t,e,n,r){var o,i,a={};for(i in e)a[i]=t.style[i],t.style[i]=e[i];for(i in o=n.apply(t,r||[]),e)t.style[i]=a[i];return o};function ut(t,e,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return x.css(t,e,"")},u=s(),c=n&&n[3]||(x.cssNumber[e]?"":"px"),l=(x.cssNumber[e]||"px"!==c&&+u)&&ot.exec(x.css(t,e));if(l&&l[3]!==c){for(c=c||l[3],l=+(u/=2)||1;a--;)x.style(t,e,l+c),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),l/=i;x.style(t,e,(l*=2)+c),n=n||[]}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}var ct={};function lt(t){var e,n=t.ownerDocument,r=t.nodeName,o=ct[r];return o||(e=n.body.appendChild(n.createElement(r)),o=x.css(e,"display"),e.parentNode.removeChild(e),"none"===o&&(o="block"),ct[r]=o,o)}function pt(t,e){for(var n,r,o=[],i=0,a=t.length;i<a;i++)(r=t[i]).style&&(n=r.style.display,e?("none"===n&&(o[i]=X.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&at(r)&&(o[i]=lt(r))):"none"!==n&&(o[i]="none",X.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(t[i].style.display=o[i]);return t}x.fn.extend({show:function(){return pt(this,!0)},hide:function(){return pt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){at(this)?x(this).show():x(this).hide()})}});var ft=/^(?:checkbox|radio)$/i,dt=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,ht=/^$|^module$|\/(?:java|ecma)script/i,vt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function mt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&R(t,e)?x.merge([t],n):n}function gt(t,e){for(var n=0,r=t.length;n<r;n++)X.set(t[n],"globalEval",!e||X.get(e[n],"globalEval"))}vt.optgroup=vt.option,vt.tbody=vt.tfoot=vt.colgroup=vt.caption=vt.thead,vt.th=vt.td;var yt,bt,wt=/<|&#?\w+;/;function St(t,e,n,r,o){for(var i,a,s,u,c,l,p=e.createDocumentFragment(),f=[],d=0,h=t.length;d<h;d++)if((i=t[d])||0===i)if("object"===C(i))x.merge(f,i.nodeType?[i]:i);else if(wt.test(i)){for(a=a||p.appendChild(e.createElement("div")),s=(dt.exec(i)||["",""])[1].toLowerCase(),a.innerHTML=(u=vt[s]||vt._default)[1]+x.htmlPrefilter(i)+u[2],l=u[0];l--;)a=a.lastChild;x.merge(f,a.childNodes),(a=p.firstChild).textContent=""}else f.push(e.createTextNode(i));for(p.textContent="",d=0;i=f[d++];)if(r&&x.inArray(i,r)>-1)o&&o.push(i);else if(c=x.contains(i.ownerDocument,i),a=mt(p.appendChild(i),"script"),c&>(a),n)for(l=0;i=a[l++];)ht.test(i.type||"")&&n.push(i);return p}yt=a.createDocumentFragment().appendChild(a.createElement("div")),(bt=a.createElement("input")).setAttribute("type","radio"),bt.setAttribute("checked","checked"),bt.setAttribute("name","t"),yt.appendChild(bt),g.checkClone=yt.cloneNode(!0).cloneNode(!0).lastChild.checked,yt.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!yt.cloneNode(!0).lastChild.defaultValue;var Ct=a.documentElement,xt=/^key/,_t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Et=/^([^.]*)(?:\.(.+)|)/;function Tt(){return!0}function kt(){return!1}function Ot(){try{return a.activeElement}catch(t){}}function At(t,e,n,r,o,i){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(r=r||n,n=void 0),e)At(t,s,n,r,e[s],i);return t}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=kt;else if(!o)return t;return 1===i&&(a=o,(o=function(t){return x().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),t.each(function(){x.event.add(this,e,o,r,n)})}x.event={global:{},add:function(t,e,n,r,o){var i,a,s,u,c,l,p,f,d,h,v,m=X.get(t);if(m)for(n.handler&&(n=(i=n).handler,o=i.selector),o&&x.find.matchesSelector(Ct,o),n.guid||(n.guid=x.guid++),(u=m.events)||(u=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==x&&x.event.triggered!==e.type?x.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(H)||[""]).length;c--;)d=v=(s=Et.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),d&&(p=x.event.special[d]||{},p=x.event.special[d=(o?p.delegateType:p.bindType)||d]||{},l=x.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=u[d])||((f=u[d]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),p.add&&(p.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,l):f.push(l),x.event.global[d]=!0)},remove:function(t,e,n,r,o){var i,a,s,u,c,l,p,f,d,h,v,m=X.hasData(t)&&X.get(t);if(m&&(u=m.events)){for(c=(e=(e||"").match(H)||[""]).length;c--;)if(d=v=(s=Et.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),d){for(p=x.event.special[d]||{},f=u[d=(r?p.delegateType:p.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)l=f[i],!o&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(i,1),l.selector&&f.delegateCount--,p.remove&&p.remove.call(t,l));a&&!f.length&&(p.teardown&&!1!==p.teardown.call(t,h,m.handle)||x.removeEvent(t,d,m.handle),delete u[d])}else for(d in u)x.event.remove(t,d+e[c],n,r,!0);x.isEmptyObject(u)&&X.remove(t,"handle events")}},dispatch:function(t){var e,n,r,o,i,a,s=x.event.fix(t),u=new Array(arguments.length),c=(X.get(this,"events")||{})[s.type]||[],l=x.event.special[s.type]||{};for(u[0]=s,e=1;e<arguments.length;e++)u[e]=arguments[e];if(s.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,s)){for(a=x.event.handlers.call(this,s,c),e=0;(o=a[e++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,s),s.result}},handlers:function(t,e){var n,r,o,i,a,s=[],u=e.delegateCount,c=t.target;if(u&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(i=[],a={},n=0;n<u;n++)void 0===a[o=(r=e[n]).selector+" "]&&(a[o]=r.needsContext?x(o,this).index(c)>-1:x.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,u<e.length&&s.push({elem:c,handlers:e.slice(u)}),s},addProp:function(t,e){Object.defineProperty(x.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[x.expando]?t:new x.Event(t)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ot()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ot()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&R(this,"input"))return this.click(),!1},_default:function(t){return R(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},x.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},x.Event=function(t,e){if(!(this instanceof x.Event))return new x.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Tt:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&x.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Tt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Tt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Tt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},x.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&xt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&_t.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},x.event.addProp),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){x.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,o=t.handleObj;return r&&(r===this||x.contains(this,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),x.fn.extend({on:function(t,e,n,r){return At(this,t,e,n,r)},one:function(t,e,n,r){return At(this,t,e,n,r,1)},off:function(t,e,n){var r,o;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,x(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=kt),this.each(function(){x.event.remove(this,t,n,e)})}});var Rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,It=/<script|<style|<link/i,Pt=/checked\s*(?:[^=]|=\s*.checked.)/i,jt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Dt(t,e){return R(t,"table")&&R(11!==e.nodeType?e:e.firstChild,"tr")&&x(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Mt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Lt(t,e){var n,r,o,i,a,s,u,c;if(1===e.nodeType){if(X.hasData(t)&&(i=X.access(t),a=X.set(e,i),c=i.events))for(o in delete a.handle,a.events={},c)for(n=0,r=c[o].length;n<r;n++)x.event.add(e,o,c[o][n]);K.hasData(t)&&(s=K.access(t),u=x.extend({},s),K.set(e,u))}}function Ht(t,e,n,r){e=c.apply([],e);var o,i,a,s,u,l,p=0,f=t.length,d=f-1,h=e[0],v=y(h);if(v||f>1&&"string"==typeof h&&!g.checkClone&&Pt.test(h))return t.each(function(o){var i=t.eq(o);v&&(e[0]=h.call(this,o,i.html())),Ht(i,e,n,r)});if(f&&(i=(o=St(e,t[0].ownerDocument,!1,t,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=x.map(mt(o,"script"),Nt)).length;p<f;p++)u=o,p!==d&&(u=x.clone(u,!0,!0),s&&x.merge(a,mt(u,"script"))),n.call(t[p],u,p);if(s)for(l=a[a.length-1].ownerDocument,x.map(a,Mt),p=0;p<s;p++)ht.test((u=a[p]).type||"")&&!X.access(u,"globalEval")&&x.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?x._evalUrl&&x._evalUrl(u.src):S(u.textContent.replace(jt,""),l,u))}return t}function Ut(t,e,n){for(var r,o=e?x.filter(e,t):t,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||x.cleanData(mt(r)),r.parentNode&&(n&&x.contains(r.ownerDocument,r)&>(mt(r,"script")),r.parentNode.removeChild(r));return t}x.extend({htmlPrefilter:function(t){return t.replace(Rt,"<$1></$2>")},clone:function(t,e,n){var r,o,i,a,s,u,c,l=t.cloneNode(!0),p=x.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(a=mt(l),r=0,o=(i=mt(t)).length;r<o;r++)s=i[r],"input"===(c=(u=a[r]).nodeName.toLowerCase())&&ft.test(s.type)?u.checked=s.checked:"input"!==c&&"textarea"!==c||(u.defaultValue=s.defaultValue);if(e)if(n)for(i=i||mt(t),a=a||mt(l),r=0,o=i.length;r<o;r++)Lt(i[r],a[r]);else Lt(t,l);return(a=mt(l,"script")).length>0&>(a,!p&&mt(t,"script")),l},cleanData:function(t){for(var e,n,r,o=x.event.special,i=0;void 0!==(n=t[i]);i++)if(J(n)){if(e=n[X.expando]){if(e.events)for(r in e.events)o[r]?x.event.remove(n,r):x.removeEvent(n,r,e.handle);n[X.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),x.fn.extend({detach:function(t){return Ut(this,t,!0)},remove:function(t){return Ut(this,t)},text:function(t){return W(this,function(t){return void 0===t?x.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Ht(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Dt(this,t).appendChild(t)})},prepend:function(){return Ht(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Dt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Ht(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Ht(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(x.cleanData(mt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return x.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!It.test(t)&&!vt[(dt.exec(t)||["",""])[1].toLowerCase()]){t=x.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(x.cleanData(mt(e,!1)),e.innerHTML=t);e=0}catch(o){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Ht(this,arguments,function(e){var n=this.parentNode;x.inArray(this,t)<0&&(x.cleanData(mt(this)),n&&n.replaceChild(e,this))},t)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){x.fn[t]=function(t){for(var n,r=[],o=x(t),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),x(o[a])[e](n),l.apply(r,n.get());return this.pushStack(r)}});var qt=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),Ft=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Vt=new RegExp(it.join("|"),"i");function Bt(t,e,n){var r,o,i,a,s=t.style;return(n=n||Ft(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||x.contains(t.ownerDocument,t)||(a=x.style(t,e)),!g.pixelBoxStyles()&&qt.test(a)&&Vt.test(e)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function zt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ct.appendChild(c).appendChild(l);var t=n.getComputedStyle(l);r="1%"!==t.top,u=12===e(t.marginLeft),l.style.right="60%",s=36===e(t.right),o=36===e(t.width),l.style.position="absolute",i=36===l.offsetWidth||"absolute",Ct.removeChild(c),l=null}}function e(t){return Math.round(parseFloat(t))}var r,o,i,s,u,c=a.createElement("div"),l=a.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,x.extend(g,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),i}}))}();var Wt=/^(none|table(?!-c[ea]).+)/,Gt=/^--/,Zt={position:"absolute",visibility:"hidden",display:"block"},$t={letterSpacing:"0",fontWeight:"400"},Qt=["Webkit","Moz","ms"],Jt=a.createElement("div").style;function Yt(t){var e=x.cssProps[t];return e||(e=x.cssProps[t]=function(t){if(t in Jt)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Qt.length;n--;)if((t=Qt[n]+e)in Jt)return t}(t)||t),e}function Xt(t,e,n){var r=ot.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function Kt(t,e,n,r,o,i){var a="width"===e?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=x.css(t,n+it[a],!0,o)),r?("content"===n&&(u-=x.css(t,"padding"+it[a],!0,o)),"margin"!==n&&(u-=x.css(t,"border"+it[a]+"Width",!0,o))):(u+=x.css(t,"padding"+it[a],!0,o),"padding"!==n?u+=x.css(t,"border"+it[a]+"Width",!0,o):s+=x.css(t,"border"+it[a]+"Width",!0,o));return!r&&i>=0&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-i-u-s-.5))),u}function te(t,e,n){var r=Ft(t),o=Bt(t,e,r),i="border-box"===x.css(t,"boxSizing",!1,r),a=i;if(qt.test(o)){if(!n)return o;o="auto"}return a=a&&(g.boxSizingReliable()||o===t.style[e]),("auto"===o||!parseFloat(o)&&"inline"===x.css(t,"display",!1,r))&&(o=t["offset"+e[0].toUpperCase()+e.slice(1)],a=!0),(o=parseFloat(o)||0)+Kt(t,e,n||(i?"border":"content"),a,r,o)+"px"}function ee(t,e,n,r,o){return new ee.prototype.init(t,e,n,r,o)}x.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Bt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,i,a,s=Q(e),u=Gt.test(e),c=t.style;if(u||(e=Yt(s)),a=x.cssHooks[e]||x.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(t,!1,r))?o:c[e];"string"==(i=typeof n)&&(o=ot.exec(n))&&o[1]&&(n=ut(t,e,o),i="number"),null!=n&&n==n&&("number"===i&&(n+=o&&o[3]||(x.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(u?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,r){var o,i,a,s=Q(e);return Gt.test(e)||(e=Yt(s)),(a=x.cssHooks[e]||x.cssHooks[s])&&"get"in a&&(o=a.get(t,!0,n)),void 0===o&&(o=Bt(t,e,r)),"normal"===o&&e in $t&&(o=$t[e]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),x.each(["height","width"],function(t,e){x.cssHooks[e]={get:function(t,n,r){if(n)return!Wt.test(x.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?te(t,e,r):st(t,Zt,function(){return te(t,e,r)})},set:function(t,n,r){var o,i=Ft(t),a="border-box"===x.css(t,"boxSizing",!1,i),s=r&&Kt(t,e,r,a,i);return a&&g.scrollboxSize()===i.position&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(i[e])-Kt(t,e,"border",!1,i)-.5)),s&&(o=ot.exec(n))&&"px"!==(o[3]||"px")&&(t.style[e]=n,n=x.css(t,e)),Xt(0,n,s)}}}),x.cssHooks.marginLeft=zt(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-st(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(t,e){x.cssHooks[t+e]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[t+it[r]+e]=i[r]||i[r-2]||i[0];return o}},"margin"!==t&&(x.cssHooks[t+e].set=Xt)}),x.fn.extend({css:function(t,e){return W(this,function(t,e,n){var r,o,i={},a=0;if(Array.isArray(e)){for(r=Ft(t),o=e.length;a<o;a++)i[e[a]]=x.css(t,e[a],!1,r);return i}return void 0!==n?x.style(t,e,n):x.css(t,e)},t,e,arguments.length>1)}}),x.Tween=ee,(ee.prototype={constructor:ee,init:function(t,e,n,r,o,i){this.elem=t,this.prop=n,this.easing=o||x.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=i||(x.cssNumber[n]?"":"px")},cur:function(){var t=ee.propHooks[this.prop];return t&&t.get?t.get(this):ee.propHooks._default.get(this)},run:function(t){var e,n=ee.propHooks[this.prop];return this.pos=e=this.options.duration?x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ee.propHooks._default.set(this),this}}).init.prototype=ee.prototype,(ee.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=x.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){x.fx.step[t.prop]?x.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[x.cssProps[t.prop]]&&!x.cssHooks[t.prop]?t.elem[t.prop]=t.now:x.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=ee.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},x.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},x.fx=ee.prototype.init,x.fx.step={};var ne,re,oe=/^(?:toggle|show|hide)$/,ie=/queueHooks$/;function ae(){re&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ae):n.setTimeout(ae,x.fx.interval),x.fx.tick())}function se(){return n.setTimeout(function(){ne=void 0}),ne=Date.now()}function ue(t,e){var n,r=0,o={height:t};for(e=e?1:0;r<4;r+=2-e)o["margin"+(n=it[r])]=o["padding"+n]=t;return e&&(o.opacity=o.width=t),o}function ce(t,e,n){for(var r,o=(le.tweeners[e]||[]).concat(le.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,e,t))return r}function le(t,e,n){var r,o,i=0,a=le.prefilters.length,s=x.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var e=ne||se(),n=Math.max(0,c.startTime+c.duration-e),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(t,[c,r,n]),r<1&&a?n:(a||s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c]),!1)},c=s.promise({elem:t,props:x.extend({},e),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:e,originalOptions:n,startTime:ne||se(),duration:n.duration,tweens:[],createTween:function(e,n){var r=x.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return e?(s.notifyWith(t,[c,1,0]),s.resolveWith(t,[c,e])):s.rejectWith(t,[c,e]),this}}),l=c.props;for(function(t,e){var n,r,o,i,a;for(n in t)if(o=e[r=Q(n)],i=t[n],Array.isArray(i)&&(o=i[1],i=t[n]=i[0]),n!==r&&(t[r]=i,delete t[n]),(a=x.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete t[r],i)n in t||(t[n]=i[n],e[n]=o);else e[r]=o}(l,c.opts.specialEasing);i<a;i++)if(r=le.prefilters[i].call(c,t,l,c.opts))return y(r.stop)&&(x._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return x.map(l,ce,c),y(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),x.fx.timer(x.extend(u,{elem:t,anim:c,queue:c.opts.queue})),c}x.Animation=x.extend(le,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ut(n.elem,t,ot.exec(e),n),n}]},tweener:function(t,e){y(t)?(e=t,t=["*"]):t=t.match(H);for(var n,r=0,o=t.length;r<o;r++)(le.tweeners[n=t[r]]=le.tweeners[n]||[]).unshift(e)},prefilters:[function(t,e,n){var r,o,i,a,s,u,c,l,p="width"in e||"height"in e,f=this,d={},h=t.style,v=t.nodeType&&at(t),m=X.get(t,"fxshow");for(r in n.queue||(null==(a=x._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always(function(){f.always(function(){a.unqueued--,x.queue(t,"fx").length||a.empty.fire()})})),e)if(oe.test(o=e[r])){if(delete e[r],i=i||"toggle"===o,o===(v?"hide":"show")){if("show"!==o||!m||void 0===m[r])continue;v=!0}d[r]=m&&m[r]||x.style(t,r)}if((u=!x.isEmptyObject(e))||!x.isEmptyObject(d))for(r in p&&1===t.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=X.get(t,"display")),"none"===(l=x.css(t,"display"))&&(c?l=c:(pt([t],!0),c=t.style.display||c,l=x.css(t,"display"),pt([t]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===x.css(t,"float")&&(u||(f.done(function(){h.display=c}),null==c&&(c="none"===(l=h.display)?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(m?"hidden"in m&&(v=m.hidden):m=X.access(t,"fxshow",{display:c}),i&&(m.hidden=!v),v&&pt([t],!0),f.done(function(){for(r in v||pt([t]),X.remove(t,"fxshow"),d)x.style(t,r,d[r])})),u=ce(v?m[r]:0,r,f),r in m||(m[r]=u.start,v&&(u.end=u.start,u.start=0))}],prefilter:function(t,e){e?le.prefilters.unshift(t):le.prefilters.push(t)}}),x.speed=function(t,e,n){var r=t&&"object"==typeof t?x.extend({},t):{complete:n||!n&&e||y(t)&&t,duration:t,easing:n&&e||e&&!y(e)&&e};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration=r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){y(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(t,e,n,r){return this.filter(at).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var o=x.isEmptyObject(t),i=x.speed(e,n,r),a=function(){var e=le(this,x.extend({},t),i);(o||X.get(this,"finish"))&&e.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",i=x.timers,a=X.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ie.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=t&&i[o].queue!==t||(i[o].anim.stop(n),e=!1,i.splice(o,1));!e&&n||x.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=X.get(this),r=n[t+"queue"],o=n[t+"queueHooks"],i=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===t&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),x.each(["toggle","show","hide"],function(t,e){var n=x.fn[e];x.fn[e]=function(t,r,o){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ue(e,!0),t,r,o)}}),x.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){x.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),x.timers=[],x.fx.tick=function(){var t,e=0,n=x.timers;for(ne=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||x.fx.stop(),ne=void 0},x.fx.timer=function(t){x.timers.push(t),x.fx.start()},x.fx.interval=13,x.fx.start=function(){re||(re=!0,ae())},x.fx.stop=function(){re=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(t,e){return t=x.fx&&x.fx.speeds[t]||t,this.queue(e=e||"fx",function(e,r){var o=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(o)}})},function(){var t=a.createElement("input"),e=a.createElement("select").appendChild(a.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=e.selected,(t=a.createElement("input")).value="t",t.type="radio",g.radioValue="t"===t.value}();var pe,fe=x.expr.attrHandle;x.fn.extend({attr:function(t,e){return W(this,x.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){x.removeAttr(this,t)})}}),x.extend({attr:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===t.getAttribute?x.prop(t,e,n):(1===i&&x.isXMLDoc(t)||(o=x.attrHooks[e.toLowerCase()]||(x.expr.match.bool.test(e)?pe:void 0)),void 0!==n?null===n?void x.removeAttr(t,e):o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:(t.setAttribute(e,n+""),n):o&&"get"in o&&null!==(r=o.get(t,e))?r:null==(r=x.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&R(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,o=e&&e.match(H);if(o&&1===t.nodeType)for(;n=o[r++];)t.removeAttribute(n)}}),pe={set:function(t,e,n){return!1===e?x.removeAttr(t,n):t.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(t,e){var n=fe[e]||x.find.attr;fe[e]=function(t,e,r){var o,i,a=e.toLowerCase();return r||(i=fe[a],fe[a]=o,o=null!=n(t,e,r)?a:null,fe[a]=i),o}});var de=/^(?:input|select|textarea|button)$/i,he=/^(?:a|area)$/i;function ve(t){return(t.match(H)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(H)||[]}x.fn.extend({prop:function(t,e){return W(this,x.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[x.propFix[t]||t]})}}),x.extend({prop:function(t,e,n){var r,o,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&x.isXMLDoc(t)||(o=x.propHooks[e=x.propFix[e]||e]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(t,n,e))?r:t[e]=n:o&&"get"in o&&null!==(r=o.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");return e?parseInt(e,10):de.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(x.propHooks.selected={get:function(t){return null},set:function(t){}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(t){var e,n,r,o,i,a,s,u=0;if(y(t))return this.each(function(e){x(this).addClass(t.call(this,e,me(this)))});if((e=ge(t)).length)for(;n=this[u++];)if(o=me(n),r=1===n.nodeType&&" "+ve(o)+" "){for(a=0;i=e[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=ve(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,o,i,a,s,u=0;if(y(t))return this.each(function(e){x(this).removeClass(t.call(this,e,me(this)))});if(!arguments.length)return this.attr("class","");if((e=ge(t)).length)for(;n=this[u++];)if(o=me(n),r=1===n.nodeType&&" "+ve(o)+" "){for(a=0;i=e[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=ve(r))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):y(t)?this.each(function(n){x(this).toggleClass(t.call(this,n,me(this),e),e)}):this.each(function(){var e,o,i,a;if(r)for(o=0,i=x(this),a=ge(t);e=a[o++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||((e=me(this))&&X.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":X.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+ve(me(n))+" ").indexOf(e)>-1)return!0;return!1}});var ye=/\r/g;x.fn.extend({val:function(t){var e,n,r,o=this[0];return arguments.length?(r=y(t),this.each(function(n){var o;1===this.nodeType&&(null==(o=r?t.call(this,n,x(this).val()):t)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=x.map(o,function(t){return null==t?"":t+""})),(e=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(ye,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return null!=e?e:ve(x.text(t))}},select:{get:function(t){var e,n,r,o=t.options,i=t.selectedIndex,a="select-one"===t.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r<u;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!R(n.parentNode,"optgroup"))){if(e=x(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,r,o=t.options,i=x.makeArray(e),a=o.length;a--;)((r=o[a]).selected=x.inArray(x.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(t.selectedIndex=-1),i}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=x.inArray(x(t).val(),e)>-1}},g.checkOn||(x.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in n;var be=/^(?:focusinfocus|focusoutblur)$/,we=function(t){t.stopPropagation()};x.extend(x.event,{trigger:function(t,e,r,o){var i,s,u,c,l,p,f,d,v=[r||a],m=h.call(t,"type")?t.type:t,g=h.call(t,"namespace")?t.namespace.split("."):[];if(s=d=u=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!be.test(m+x.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(t=t[x.expando]?t:new x.Event(m,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:x.makeArray(e,[t]),f=x.event.special[m]||{},o||!f.trigger||!1!==f.trigger.apply(r,e))){if(!o&&!f.noBubble&&!b(r)){for(be.test((c=f.delegateType||m)+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(r.ownerDocument||a)&&v.push(u.defaultView||u.parentWindow||n)}for(i=0;(s=v[i++])&&!t.isPropagationStopped();)d=s,t.type=i>1?c:f.bindType||m,(p=(X.get(s,"events")||{})[t.type]&&X.get(s,"handle"))&&p.apply(s,e),(p=l&&s[l])&&p.apply&&J(s)&&(t.result=p.apply(s,e),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(v.pop(),e)||!J(r)||l&&y(r[m])&&!b(r)&&((u=r[l])&&(r[l]=null),x.event.triggered=m,t.isPropagationStopped()&&d.addEventListener(m,we),r[m](),t.isPropagationStopped()&&d.removeEventListener(m,we),x.event.triggered=void 0,u&&(r[l]=u)),t.result}},simulate:function(t,e,n){var r=x.extend(new x.Event,n,{type:t,isSimulated:!0});x.event.trigger(r,null,e)}}),x.fn.extend({trigger:function(t,e){return this.each(function(){x.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return x.event.trigger(t,e,n,!0)}}),g.focusin||x.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){x.event.simulate(e,t.target,x.event.fix(t))};x.event.special[e]={setup:function(){var r=this.ownerDocument||this,o=X.access(r,e);o||r.addEventListener(t,n,!0),X.access(r,e,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=X.access(r,e)-1;o?X.access(r,e,o):(r.removeEventListener(t,n,!0),X.remove(r,e))}}});var Se=n.location,Ce=Date.now(),xe=/\?/;x.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(r){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+t),e};var _e=/\[\]$/,Ee=/\r?\n/g,Te=/^(?:submit|button|image|reset|file)$/i,ke=/^(?:input|select|textarea|keygen)/i;function Oe(t,e,n,r){var o;if(Array.isArray(e))x.each(e,function(e,o){n||_e.test(t)?r(t,o):Oe(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,n,r)});else if(n||"object"!==C(e))r(t,e);else for(o in e)Oe(t+"["+o+"]",e[o],n,r)}x.param=function(t,e){var n,r=[],o=function(t,e){var n=y(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(t)||t.jquery&&!x.isPlainObject(t))x.each(t,function(){o(this.name,this.value)});else for(n in t)Oe(n,t[n],e,o);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=x.prop(this,"elements");return t?x.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!x(this).is(":disabled")&&ke.test(this.nodeName)&&!Te.test(t)&&(this.checked||!ft.test(t))}).map(function(t,e){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(t){return{name:e.name,value:t.replace(Ee,"\r\n")}}):{name:e.name,value:n.replace(Ee,"\r\n")}}).get()}});var Ae=/%20/g,Re=/#.*$/,Ie=/([?&])_=[^&]*/,Pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,je=/^(?:GET|HEAD)$/,De=/^\/\//,Ne={},Me={},Le="*/".concat("*"),He=a.createElement("a");function Ue(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,o=0,i=e.toLowerCase().match(H)||[];if(y(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function qe(t,e,n,r){var o={},i=t===Me;function a(s){var u;return o[s]=!0,x.each(t[s]||[],function(t,s){var c=s(e,n,r);return"string"!=typeof c||i||o[c]?i?!(u=c):void 0:(e.dataTypes.unshift(c),a(c),!1)}),u}return a(e.dataTypes[0])||!o["*"]&&a("*")}function Fe(t,e){var n,r,o=x.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:r||(r={}))[n]=e[n]);return r&&x.extend(!0,t,r),t}He.href=Se.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Se.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Se.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Le,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Fe(Fe(t,x.ajaxSettings),e):Fe(x.ajaxSettings,t)},ajaxPrefilter:Ue(Ne),ajaxTransport:Ue(Me),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var r,o,i,s,u,c,l,p,f,d,h=x.ajaxSetup({},e=e||{}),v=h.context||h,m=h.context&&(v.nodeType||v.jquery)?x(v):x.event,g=x.Deferred(),y=x.Callbacks("once memory"),b=h.statusCode||{},w={},S={},C="canceled",_={readyState:0,getResponseHeader:function(t){var e;if(l){if(!s)for(s={};e=Pe.exec(i);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(t,e){return null==l&&(t=S[t.toLowerCase()]=S[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==l&&(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)_.always(t[_.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||C;return r&&r.abort(e),E(0,e),this}};if(g.promise(_),h.url=((t||h.url||Se.href)+"").replace(De,Se.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(H)||[""],null==h.crossDomain){c=a.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=He.protocol+"//"+He.host!=c.protocol+"//"+c.host}catch(T){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),qe(Ne,h,e,_),l)return _;for(f in(p=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!je.test(h.type),o=h.url.replace(Re,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Ae,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(xe.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ie,"$1"),d=(xe.test(o)?"&":"?")+"_="+Ce+++d),h.url=o+d),h.ifModified&&(x.lastModified[o]&&_.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&_.setRequestHeader("If-None-Match",x.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&_.setRequestHeader("Content-Type",h.contentType),_.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Le+"; q=0.01":""):h.accepts["*"]),h.headers)_.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(v,_,h)||l))return _.abort();if(C="abort",y.add(h.complete),_.done(h.success),_.fail(h.error),r=qe(Me,h,e,_)){if(_.readyState=1,p&&m.trigger("ajaxSend",[_,h]),l)return _;h.async&&h.timeout>0&&(u=n.setTimeout(function(){_.abort("timeout")},h.timeout));try{l=!1,r.send(w,E)}catch(T){if(l)throw T;E(-1,T)}}else E(-1,"No Transport");function E(t,e,a,s){var c,f,d,w,S,C=e;l||(l=!0,u&&n.clearTimeout(u),r=void 0,i=s||"",_.readyState=t>0?4:0,c=t>=200&&t<300||304===t,a&&(w=function(t,e,n){for(var r,o,i,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||t.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(h,_,a)),w=function(t,e,n,r){var o,i,a,s,u,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(i=l.shift();i;)if(t.responseFields[i]&&(n[t.responseFields[i]]=e),!u&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=c[u+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(T){return{state:"parsererror",error:a?T:"No conversion from "+u+" to "+i}}}return{state:"success",data:e}}(h,w,_,c),c?(h.ifModified&&((S=_.getResponseHeader("Last-Modified"))&&(x.lastModified[o]=S),(S=_.getResponseHeader("etag"))&&(x.etag[o]=S)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=w.state,f=w.data,c=!(d=w.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),_.status=t,_.statusText=(e||C)+"",c?g.resolveWith(v,[f,C,_]):g.rejectWith(v,[_,C,d]),_.statusCode(b),b=void 0,p&&m.trigger(c?"ajaxSuccess":"ajaxError",[_,h,c?f:d]),y.fireWith(v,[_,C]),p&&(m.trigger("ajaxComplete",[_,h]),--x.active||x.event.trigger("ajaxStop")))}return _},getJSON:function(t,e,n){return x.get(t,e,n,"json")},getScript:function(t,e){return x.get(t,void 0,e,"script")}}),x.each(["get","post"],function(t,e){x[e]=function(t,n,r,o){return y(n)&&(o=o||r,r=n,n=void 0),x.ajax(x.extend({url:t,type:e,dataType:o,data:n,success:r},x.isPlainObject(t)&&t))}}),x._evalUrl=function(t){return x.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},x.fn.extend({wrapAll:function(t){var e;return this[0]&&(y(t)&&(t=t.call(this[0])),e=x(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return y(t)?this.each(function(e){x(this).wrapInner(t.call(this,e))}):this.each(function(){var e=x(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=y(t);return this.each(function(n){x(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(t){return!x.expr.pseudos.visible(t)},x.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},Be=x.ajaxSettings.xhr();g.cors=!!Be&&"withCredentials"in Be,g.ajax=Be=!!Be,x.ajaxTransport(function(t){var e,r;if(g.cors||Be&&!t.crossDomain)return{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);e=function(t){return function(){e&&(e=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ve[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),r=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(u){if(e)throw u}},abort:function(){e&&e()}}}),x.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return x.globalEval(t),t}}}),x.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),x.ajaxTransport("script",function(t){var e,n;if(t.crossDomain)return{send:function(r,o){e=x("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&o("error"===t.type?404:200,t.type)}),a.head.appendChild(e[0])},abort:function(){n&&n()}}});var ze,We=[],Ge=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=We.pop()||x.expando+"_"+Ce++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",function(t,e,r){var o,i,a,s=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ge,"$1"+o):!1!==t.jsonp&&(t.url+=(xe.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||x.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?x(n).removeProp(o):n[o]=i,t[o]&&(t.jsonpCallback=e.jsonpCallback,We.push(o)),a&&y(i)&&i(a[0]),a=i=void 0}),"script"}),g.createHTMLDocument=((ze=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ze.childNodes.length),x.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?((r=(e=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,e.head.appendChild(r)):e=a),i=!n&&[],(o=I.exec(t))?[e.createElement(o[1])]:(o=St([t],e,i),i&&i.length&&x(i).remove(),x.merge([],o.childNodes)));var r,o,i},x.fn.load=function(t,e,n){var r,o,i,a=this,s=t.indexOf(" ");return s>-1&&(r=ve(t.slice(s)),t=t.slice(0,s)),y(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),a.length>0&&x.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){i=arguments,a.html(r?x("<div>").append(x.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,i||[t.responseText,e,t])})}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x.expr.pseudos.animated=function(t){return x.grep(x.timers,function(e){return t===e.elem}).length},x.offset={setOffset:function(t,e,n){var r,o,i,a,s,u,c=x.css(t,"position"),l=x(t),p={};"static"===c&&(t.style.position="relative"),s=l.offset(),i=x.css(t,"top"),u=x.css(t,"left"),("absolute"===c||"fixed"===c)&&(i+u).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),y(e)&&(e=e.call(t,n,x.extend({},s))),null!=e.top&&(p.top=e.top-s.top+a),null!=e.left&&(p.left=e.left-s.left+o),"using"in e?e.using.call(t,p):l.css(p)}},x.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){x.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?{top:(e=r.getBoundingClientRect()).top+(n=r.ownerDocument.defaultView).pageYOffset,left:e.left+n.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],o={top:0,left:0};if("fixed"===x.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===x.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((o=x(t).offset()).top+=x.css(t,"borderTopWidth",!0),o.left+=x.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-x.css(r,"marginTop",!0),left:e.left-o.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===x.css(t,"position");)t=t.offsetParent;return t||Ct})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;x.fn[t]=function(r){return W(this,function(t,r,o){var i;if(b(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===o)return i?i[e]:t[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):t[r]=o},t,r,arguments.length)}}),x.each(["top","left"],function(t,e){x.cssHooks[e]=zt(g.pixelPosition,function(t,n){if(n)return n=Bt(t,e),qt.test(n)?x(t).position()[e]+"px":n})}),x.each({Height:"height",Width:"width"},function(t,e){x.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){x.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return W(this,function(e,n,o){var i;return b(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===o?x.css(e,n,s):x.style(e,n,o,s)},e,a?o:void 0,a)}})}),x.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){x.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),x.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),x.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),x.proxy=function(t,e){var n,r,o;if("string"==typeof e&&(n=t[e],e=t,t=n),y(t))return r=u.call(arguments,2),(o=function(){return t.apply(e||this,r.concat(u.call(arguments)))}).guid=t.guid=t.guid||x.guid++,o},x.holdReady=function(t){t?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=R,x.isFunction=y,x.isWindow=b,x.camelCase=Q,x.type=C,x.now=Date.now,x.isNumeric=function(t){var e=x.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},void 0===(r=(function(){return x}).apply(e,[]))||(t.exports=r);var Ze=n.jQuery,$e=n.$;return x.noConflict=function(t){return n.$===x&&(n.$=$e),t&&n.jQuery===x&&(n.jQuery=Ze),x},o||(n.jQuery=n.$=x),x})},arzS:function(t,e){t.exports={gitToken:"96ead73c54cbbf023a73ee57af145b205d460851",recasttoken:"26021d055040a9d9f1ad48476efab4a0",intentSlugToOperations:{command:{cardTitle:"You Said"},createrepo:{requestMethod:"post",intentMessage:"Create a Repository in Github",getDataOperation:"getCreateRepoJson",githubOperation:"createRepository",showWidgetOperation:"showCreateRepoWidget",populateDataOperation:"populateCreateRepoData",successMessage:"Repository Added!",cardMsg:"Requested Repository has been added and is available at ",cardDataUrl:"html_url",cardDataName:"name",action:{type:"ADD_REPO"},response_action:{type:"ADD_REPO_RESPONSE"}},createissue:{requestMethod:"post",intentMessage:"Raise an issue in Github",getDataOperation:"getCreateIssueJson",githubOperation:"createIssue",showWidgetOperation:"showCreateIssueWidget",populateDataOperation:"populateCreateIssueData",successMessage:"Issue Created!",cardMsg:"Issue Created as requested, issue details available at ",cardDataUrl:"html_url",cardDataName:"title",action:{type:"ADD_ISSUE"},response_action:{type:"ADD_ISSUE_RESPONSE"}},closeissue:{requestMethod:"post",intentMessage:"Close an issue in Github",getDataOperation:"getCloseIssueJson",githubOperation:"closeIssue",showWidgetOperation:"showCloseIssueWidget",populateDataOperation:"populateCloseIssueData",successMessage:"Issue Closed!",cardMsg:"Issue Closed as requested, closed issue available at: ",cardDataUrl:"html_url",cardDataName:"title",action:{type:"CLOSE_ISSUE"},response_action:{type:"CLOSE_ISSUE_RESPONSE"}},addissuecomment:{requestMethod:"post",intentMessage:"Add a comment on an issue in Github",getDataOperation:"getAddCommentJson",githubOperation:"addIssueComment",showWidgetOperation:"showAddCommentWidget",populateDataOperation:"populateAddCommentData",successMessage:"Comment Added!",cardMsg:"Comment Added as Requested, view here: ",cardDataUrl:"html_url",cardDataName:"title",action:{type:"ADD_COMMENT"},response_action:{type:"ADD_ISSUE_COMMENT_RESPONSE"}},displaylastcomment:{requestMethod:"get",intentMessage:"Display last comment of an issue in Github",getDataOperation:"getDisplayCommentJson",githubOperation:"displayLastComment",showWidgetOperation:"showDisplayCommentWidget",populateDataOperation:"populateDisplayCommentData",successMessage:"Comment Retrieved!",cardMsg:"Please find requested comment below: ",cardDataUrl:"html_url",cardDataName:"title",action:{type:"SHOW_LAST_COMMENT"},response_action:{type:"SHOW_LAST_COMMENT_RESPONSE"}},addcollab:{requestMethod:"post",intentMessage:"Add a collaborator",getDataOperation:"getAddCollaboratorJson",githubOperation:"addCollaborator",showWidgetOperation:"showAddCollaboratorWidget",populateDataOperation:"populateAddCollaboratorData",successMessage:"Collaborator Added!",cardMsg:"Collaborator added, details available at ",cardDataUrl:"html_url",cardDataName:"invitee,login",action:{type:"ADD_COLLAB"},response_action:{type:"ADD_COLLAB_RESPONSE"}},viewrepos:{requestMethod:"get",intentMessage:"View Repositories for current user",getDataOperation:"getViewRepositoryJson",githubOperation:"viewRepositories",showWidgetOperation:"showViewRepoWidget",populateDataOperation:"populateViewRepoData",successMessage:"Showing repositories",cardMsg:"Repository Details available below: ",cardDataUrl:"html_url",cardDataName:"invitee,login",action:{type:"VIEW_REPO"},response_action:{type:"VIEW_REPO_RESPONSE"}},resethistory:{requestMethod:"purge",intentMessage:"Clear all Operations History",successMessage:"Purged!",cardTitle:"Operation Completed",cardMsg:"Purged history of all Operations and Commands!",action:{type:"CLEAR_HISTORY"},response_action:{type:"CLEAR_HISTORY_RESPONSE"}},addquery:{action:{type:"ADD_QUERY"}}},constants:{hiddenIntentFieldId:"intentHidden"}}},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function a(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){return function(n,r){e(n,r,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function l(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function p(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(l(arguments[e]));return t}var f=Array.isArray||function(t){return t&&"number"==typeof t.length};function d(t){return null!==t&&"object"==typeof t}function h(t){return"function"==typeof t}function v(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}v.prototype=Object.create(Error.prototype);var m=v,g=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,o=this._unsubscribe,i=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,s=r?r.length:0;n;)n.remove(this),n=++a<s&&r[a]||null;if(h(o))try{o.call(this)}catch(c){e=!0,t=c instanceof m?y(c.errors):[c]}if(f(i))for(a=-1,s=i.length;++a<s;){var u=i[a];if(d(u))try{u.unsubscribe()}catch(c){e=!0,t=t||[],c instanceof m?t=t.concat(y(c.errors)):t.push(c)}}if(e)throw new m(t)}},t.prototype.add=function(e){var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){var o=this._subscriptions;o?o.push(n):this._subscriptions=[n]}return n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;return e!==t&&(e?n?-1===n.indexOf(t)&&(n.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))},t.EMPTY=((e=new t).closed=!0,e),t}();function y(t){return t.reduce(function(t,e){return t.concat(e instanceof m?e.errors:e)},[])}var b=!1,w={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){b=t},get useDeprecatedSynchronousErrorHandling(){return b}};function S(t){setTimeout(function(){throw t})}var C={closed:!0,next:function(t){},error:function(t){if(w.useDeprecatedSynchronousErrorHandling)throw t;S(t)},complete:function(){}},x="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),_=function(t){function e(n,r,o){var i=t.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=C;break;case 1:if(!n){i.destination=C;break}if("object"==typeof n){n instanceof e?(i.syncErrorThrowable=n.syncErrorThrowable,i.destination=n,n.add(i)):(i.syncErrorThrowable=!0,i.destination=new E(i,n));break}default:i.syncErrorThrowable=!0,i.destination=new E(i,n,r,o)}return i}return o(e,t),e.prototype[x]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(g),E=function(t){function e(e,n,r,o){var i,a=t.call(this)||this;a._parentSubscriber=e;var s=a;return h(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==C&&(h((s=Object.create(n)).unsubscribe)&&a.add(s.unsubscribe.bind(s)),s.unsubscribe=a.unsubscribe.bind(a))),a._context=s,a._next=i,a._error=r,a._complete=o,a}return o(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;w.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=w.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):S(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;S(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};w.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),w.useDeprecatedSynchronousErrorHandling)throw n;S(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!w.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return w.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(S(r),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(_),T="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(){}function O(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return A(t)}function A(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:k}var R=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=function(t,e,n){if(t){if(t instanceof _)return t;if(t[x])return t[x]()}return t||e||n?new _(t,e,n):new _(C)}(t,e,n);if(o.add(r?r.call(o,this.source):this.source||w.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),w.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){w.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof _?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=I(e))(function(e,r){var o;o=n.subscribe(function(e){try{t(e)}catch(n){r(n),o&&o.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[T]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:A(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=I(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function I(t){if(t||(t=w.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function P(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}P.prototype=Object.create(Error.prototype);var j=P,D=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return o(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(g),N=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return o(e,t),e}(_),M=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return o(e,t),e.prototype[x]=function(){return new N(this)},e.prototype.lift=function(t){var e=new L(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new j;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new j;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new j;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new j;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new j;return this.hasError?(t.error(this.thrownError),g.EMPTY):this.isStopped?(t.complete(),g.EMPTY):(this.observers.push(t),new D(this,t))},e.prototype.asObservable=function(){var t=new R;return t.source=this,t},e.create=function(t,e){return new L(t,e)},e}(R),L=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return o(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):g.EMPTY},e}(M);function H(t){return t&&"function"==typeof t.schedule}var U=function(t){function e(e,n,r){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return o(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(_),q=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},F=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,S),e}};function V(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var B=V(),z=function(t){return function(e){for(var n=t[B]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}},W=function(t){return function(e){var n=t[T]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},G=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Z(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var $=function(t){if(t instanceof R)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[T])return W(t);if(G(t))return q(t);if(Z(t))return F(t);if(t&&"function"==typeof t[B])return z(t);var e=d(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Q(t,e,n,r,o){if(void 0===o&&(o=new U(t,n,r)),!o.closed)return $(e)(o)}var J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(_);function Y(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new X(t,e))}}var X=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new K(t,this.project,this.thisArg))},t}(),K=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=r||o,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(_);function tt(t,e){return new R(e?function(n){var r=new g,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}:q(t))}function et(t,e){if(!e)return t instanceof R?t:new R($(t));if(null!=t){if(function(t){return t&&"function"==typeof t[T]}(t))return function(t,e){return new R(e?function(n){var r=new g;return r.add(e.schedule(function(){var o=t[T]();r.add(o.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r}:W(t))}(t,e);if(Z(t))return function(t,e){return new R(e?function(n){var r=new g;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r}:F(t))}(t,e);if(G(t))return tt(t,e);if(function(t){return t&&"function"==typeof t[B]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new R(e?function(n){var r,o=new g;return o.add(function(){r&&"function"==typeof r.return&&r.return()}),o.add(e.schedule(function(){r=t[B](),o.add(e.schedule(function(){if(!n.closed){var t,e;try{var o=r.next();t=o.value,e=o.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}}))})),o}:z(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function nt(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(nt(function(n,r){return et(t(n,r)).pipe(Y(function(t,o){return e(n,t,r,o)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new rt(t,n))})}var rt=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new ot(t,this.project,this.concurrent))},t}(),ot=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return o(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new U(this,void 0,void 0);this.destination.add(r),Q(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(J);function it(t){return t}function at(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),nt(it,t)}function st(){return function(t){return t.lift(new ut(t))}}var ut=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new ct(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),ct=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(_),lt=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return o(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new g).add(this.source.subscribe(new ft(this.getSubject(),this))),t.closed?(this._connection=null,t=g.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return st()(this)},e}(R).prototype,pt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:lt._subscribe},_isComplete:{value:lt._isComplete,writable:!0},getSubject:{value:lt.getSubject},connect:{value:lt.connect},refCount:{value:lt.refCount}},ft=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return o(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(N);function dt(){return new M}function ht(t){for(var e in t)if(t[e]===ht)return e;throw Error("Could not find renamed property on target object.")}var vt=ht({ngComponentDef:ht}),mt=ht({ngDirectiveDef:ht}),gt=ht({ngInjectableDef:ht}),yt=ht({ngPipeDef:ht}),bt=ht({__NG_ELEMENT_ID__:ht});function wt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function St(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function Ct(t){return t&&t.hasOwnProperty(gt)?t[gt]:null}var xt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?wt({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),_t="__annotations__",Et="__parameters__";function Tt(t,e,n,r,o){var i=kt(e);function a(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof a)return i.call.apply(i,p([this],e)),this;var s=new((t=a).bind.apply(t,p([void 0],e)));return function(t){return o&&o.apply(void 0,p([t],e)),(t.hasOwnProperty(_t)?t[_t]:Object.defineProperty(t,_t,{value:[]})[_t]).push(s),r&&r(t),t}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a,a}function kt(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var r=t.apply(void 0,p(e));for(var o in r)this[o]=r[o]}}}function Ot(t,e,n){var r=kt(e);function o(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof o)return r.apply(this,e),this;var i=new((t=o).bind.apply(t,p([void 0],e)));return a.annotation=i,a;function a(t,e,n){for(var r=t.hasOwnProperty(Et)?t[Et]:Object.defineProperty(t,Et,{value:[]})[Et];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o}var At=new xt("AnalyzeForEntryComponents"),Rt=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),It="undefined"!=typeof window&&window,Pt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,jt="undefined"!=typeof global&&global||It||Pt,Dt=Promise.resolve(0),Nt=null;function Mt(){if(!Nt){var t=jt.Symbol;if(t&&t.iterator)Nt=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Nt=r)}}return Nt}function Lt(t){"undefined"==typeof Zone?Dt.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function Ht(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Ht).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}var Ut=ht({__forward_ref__:ht});function qt(t){return t.__forward_ref__=qt,t.toString=function(){return Ht(this())},t}function Ft(t){var e=t;return"function"==typeof e&&e.hasOwnProperty(Ut)&&e.__forward_ref__===qt?e():t}var Vt=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),Bt={},zt=[],Wt=0;function Gt(t){var e=t.type,n=e.prototype,r={},o={type:e,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,contentQueriesRefresh:t.contentQueriesRefresh||null,attributes:t.attributes||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===Rt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Vt.Emulated,id:"c",styles:t.styles||zt,_:null};return o._=""+{toString:function(){var e=t.directives,n=t.features,i=t.pipes;o.id+=Wt++,o.inputs=Qt(t.inputs,r),o.outputs=Qt(t.outputs),n&&n.forEach(function(t){return t(o)}),o.directiveDefs=e?function(){return("function"==typeof e?e():e).map(Zt)}:null,o.pipeDefs=i?function(){return("function"==typeof i?i():i).map($t)}:null}},o}function Zt(t){return function(t){return t[vt]||null}(t)||function(t){return t[mt]||null}(t)}function $t(t){return function(t){return t[yt]||null}(t)}function Qt(t,e){if(null==t)return Bt;var n={};for(var r in t)if(t.hasOwnProperty(r)){var o=t[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,e&&(e[o]=i)}return n}var Jt=0,Yt=1,Xt=2,Kt=3,te=4,ee=5,ne=6,re=7,oe=8,ie=9,ae=10,se=11,ue=12,ce=13,le=14,pe=15,fe=17,de=18,he=0,ve=1,me=6,ge=7,ye=8,be="__ngContext__",we=8,Se=8,Ce=9,xe=-1,_e=function(){return function(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}(),Ee=_e.prototype;function Te(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":"object"==typeof t&&"function"==typeof t.type?t.type.name||t.type:""+t}function ke(t,e){return t[e+de]}function Oe(t){for(;Array.isArray(t);)t=t[ee];return t}function Ae(t,e){return Oe(e[t+de])}function Re(t,e){return Oe(e[t.index])}function Ie(t,e){return e[Jt].data[t+de]}function Pe(t,e){var n=e[t];return n.length>=de?n:n[ee]}function je(t){return 0!=(4&t.flags)}function De(t){return 1==(1&t.flags)}function Ne(t){return null!==t.template}function Me(t){return function(t){for(var e=Array.isArray(t)?t:He(t);e&&!(128&e[Yt]);)e=e[Xt];return e}(t)[ie]}function Le(t){return t[be]}function He(t){var e=Le(t);return e?Array.isArray(e)?e:e.lView:null}function Ue(t){return 32767&t}function qe(t,e){for(var n=t>>16,r=e;n>0;)r=r[fe],n--;return r}function Fe(t){for(var e=t[ne];e&&2===e.type;)e=(t=t[fe])[ne];return t}var Ve,Be,ze,We,Ge,Ze,$e=Ot("Inject",function(t){return{token:t}}),Qe=Ot("Optional"),Je=Ot("Self"),Ye=Ot("SkipSelf"),Xe=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({}),Ke=void 0;function tn(t){var e=Ve;return Ve=t,e}function en(t,e){return void 0===e&&(e=Xe.Default),(Ve||function(t,e){if(void 0===e&&(e=Xe.Default),void 0===Ke)throw new Error("inject() must be called from an injection context");return null===Ke?nn(t,void 0,e):Ke.get(t,e&Xe.Optional?null:void 0,e)})(t,e)}function nn(t,e,n){var r=Ct(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Xe.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND ["+Ht(t)+"]")}function rn(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=Xe.Default,a=0;a<r.length;a++){var s=r[a];s instanceof Qe||"Optional"===s.ngMetadataName?i|=Xe.Optional:s instanceof Ye||"SkipSelf"===s.ngMetadataName?i|=Xe.SkipSelf:s instanceof Je||"Self"===s.ngMetadataName?i|=Xe.Self:o=s instanceof $e?s.token:s}e.push(en(o,i))}else e.push(en(r))}return e}function on(t,e,n,r){e&&(r.initHooks||(r.initHooks=[])).push(t,e),n&&((r.initHooks||(r.initHooks=[])).push(t,n),(r.checkHooks||(r.checkHooks=[])).push(t,n))}function an(t,e){if(t.firstTemplatePass)for(var n=e.directiveStart,r=e.directiveEnd;n<r;n++){var o=t.data[n];sn(o,t,n),un(o,t,n),cn(o,t,n)}}function sn(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function un(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function cn(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function ln(t,e,n,r){if(!r){var o=2&t[Yt]?e:n;o&&pn(t,o)}}function pn(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}function fn(){return Ze}function dn(t){wn=t}function hn(){return We}function vn(t){We=t}function mn(t,e){We=t,Ze=e}function gn(){return Ge}function yn(t){Ge=t}function bn(t){return void 0===t&&(t=Ze),1==(1&t[Yt])}var wn=null,Sn=!1;function Cn(){return Sn}function xn(t){Sn=t}var _n=!0;function En(){return _n}function Tn(t){_n=t}var kn=-1;function On(t){kn=t}function An(t,e){var n=Ze;if(t){var r=t[Jt];_n=r.firstTemplatePass,kn=r.bindingStartIndex}return We=e,Ge=!0,Ze=wn=t,n}function Rn(t){var e=Ze[Jt];bn(Ze)?Ze[Yt]&=-2:(ln(Ze,e.viewHooks,e.viewCheckHooks,Sn),Ze[Yt]&=-11,Ze[Yt]|=32,Ze[re]=e.bindingStartIndex),An(t,null)}var In=!0;function Pn(t){var e=In;return In=t,e}var jn=255,Dn=0;function Nn(t,e){var n=Ln(t,e);if(-1!==n)return n;var r=e[Jt];r.firstTemplatePass&&(t.injectorIndex=e.length,Mn(r.data,t),Mn(e,null),Mn(r.blueprint,null));var o=Hn(t,e),i=Ue(o),a=qe(o,e),s=t.injectorIndex;if(o!==xe)for(var u=a[Jt].data,c=0;c<8;c++)e[s+c]=a[i+c]|u[i+c];return e[s+Se]=o,s}function Mn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ln(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+Se]?-1:t.injectorIndex}function Hn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[ne],r=1;n&&-1===n.injectorIndex;)n=(e=e[fe])?e[ne]:null,r++;return n?n.injectorIndex|r<<16:-1}var Un={};function qn(t,e,n,r,o,i){var a=e[Jt],s=a.data[t+we],u=Fn(s,e,n,null==r?De(s)&&In:r!=a&&3===s.type,o&Xe.Host&&i===s);return null!==u?Vn(a.data,e,u,s):Un}function Fn(t,e,n,r,o){for(var i=t.providerIndexes,a=e[Jt].data,s=65535&i,u=t.directiveStart,c=i>>16,l=o?s+c:t.directiveEnd,p=r?s:s+c;p<l;p++){var f=a[p];if(p<u&&n===f||p>=u&&f.type===n)return p}if(o){var d=a[u];if(d&&Ne(d)&&d.type===n)return u}return null}function Vn(t,e,n,r){var o,i=e[n];if(null!=(o=i)&&"object"==typeof o&&Object.getPrototypeOf(o)==Ee){var a=i;if(a.resolving)throw new Error("Circular dep for "+Te(t[n]));var s=Pn(a.canSeeViewProviders);a.resolving=!0;var u=void 0;a.injectImpl&&(u=tn(a.injectImpl));var c=hn(),l=fn();mn(r,e);try{i=e[n]=a.factory(null,t,e,r)}finally{a.injectImpl&&tn(u),Pn(s),a.resolving=!1,mn(c,l)}}return i}function Bn(t,e,n){var r=64&t,o=32&t;return!!((128&t?r?o?n[e+7]:n[e+6]:o?n[e+5]:n[e+4]:r?o?n[e+3]:n[e+2]:o?n[e+1]:n[e])&1<<t)}function zn(t,e){return!(t&Xe.Self||t&Xe.Host&&e)}function Wn(t,e){t[be]=e}function Gn(t){throw new Error("Multiple components match node with tagname "+t.tagName)}var Zn={};function $n(t,e,n){if(t[e]===Zn)t[e]=n;else{if(o=n,(r=t[e])!=r&&o!=o||r===o)return!1;t[e]=n}var r,o;return!0}var Qn="ngProjectAs",Jn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Yn(t){return!!t.listen}function Xn(t,e){return null==t.parent?function(t){var e=t[ne];return e&&2!==e.type?Re(e,t[Xt]):null}(e):Re(Kn(t),e)}function Kn(t){for(var e=t.parent;e&&5===e.type;)e=e.parent;return e}function tr(t,e){if(-1===t.index){var n=e[pe];return n>-1?e[Xt][n]:null}return e[Xt][t.parent.index]}var er=[];function nr(t,e,n,r,o){0===t?Yn(e)?e.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===t?Yn(e)?e.removeChild(n,r):n.removeChild(r):2===t&&e.destroyNode(r)}function rr(t){var e=t[Jt].childIndex;return-1===e?null:t[e]}function or(t,e){var n;return t.length>=de&&(n=t[ne])&&2===n.type?tr(n,t):t[Xt]===e?null:t[Xt]}function ir(t){if(t.length>=de){var e=t;!function(t){var e,n=t[Jt];null!=n&&null!=(e=n.destroyHooks)&&pn(t,e)}(e),(o=(r=e)[Jt]&&r[Jt].pipeDestroyHooks)&&pn(r,o),function(t){var e=t[Jt].cleanup;if(null!=e){for(var n=t[oe],r=0;r<e.length-1;r+=2)if("string"==typeof e[r]){var o=n[e[r+2]],i=Oe(t[e[r+1]]),a=e[r+3];"boolean"==typeof a?i.removeEventListener(e[r],o,a):a>=0?n[a]():n[-a].unsubscribe(),r+=2}else"number"==typeof e[r]?(0,n[e[r]])():e[r].call(n[e[r+1]]);t[oe]=null}}(e);var n=e[ne];n&&3===n.type&&Yn(e[ue])&&e[ue].destroy()}var r,o}function ar(t,e){if(sr(t,e)){if(0!=(128&e[Yt]))return i=e[ue],a=Re(t,e),Yn(i)?i.parentNode(a):a.parentNode;var n=e[ne],r=t.parent;return null!=r&&4===r.type&&(t=lr(r)),null==t.parent&&2===n.type?(o=tr(n,e))?o[ge]:null:Xn(t,e)}var o,i,a;return null}function sr(t,e){var n,r=t,o=t.parent;return t.parent&&(4===t.parent.type?o=(r=lr(t)).parent:5===t.parent.type&&(o=(r=Kn(r)).parent)),null===o&&(o=e[ne]),o&&2===o.type?null!=(n=tr(o,e))&&null!=n[ge]:null==r.parent||!(3!==r.parent.type||1&r.parent.flags)}function ur(t,e,n,r){Yn(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function cr(t,e,n){if(void 0===t&&(t=null),null!==t&&sr(e,n)){var r=n[ue],o=Xn(e,n),i=e.parent||n[ne];if(2===i.type){var a=tr(i,n),s=a[ve],u=s.indexOf(n);ur(r,a[ge],t,function(t,e,n){if(t+1<e.length){var r=e[t+1],o=r[ne];return o.child?Re(o.child,r):n}return n}(u,s,a[me]))}else 4===i.type?ur(r,ar(e,n),t,o):5===i.type?ur(r,o,t,Re(e.parent,n)):Yn(r)?r.appendChild(o,t):o.appendChild(t);return!0}return!1}function lr(t){for(;null!=t.parent&&4===t.parent.type;)t=t.parent;return t}var pr="ng-template";function fr(t,e,n){return e===t.tagName&&(n||3===t.type||4===t.type||0===t.type&&e===pr)}function dr(t,e,n){for(var r,o,i,a,s,u=4,c=t.attrs,l=c?c.indexOf(3):-1,p=!1,f=0;f<e.length;f++){var d=e[f];if("number"!=typeof d){if(!p)if(4&u){if(u=2|1&u,""!==d&&!fr(t,d,n)||""===d&&1===e.length){if(hr(u))return!1;p=!0}}else{var h=vr(8&u?"class":d,c);if(-1===h){if(hr(u))return!1;p=!0;continue}var v,m=8&u?d:e[++f];if(""!==m)if(v=l>-1&&h>l?"":c[h+1],8&u&&(i=(r=v).length,s=(a=r.indexOf(o=m))+o.length,-1===a||a>0&&" "!==r[a-1]||s<i&&" "!==r[s])||2&u&&m!==v){if(hr(u))return!1;p=!0}}}else{if(!p&&!hr(u)&&!hr(d))return!1;if(p&&hr(d))continue;p=!1,u=d|1&u}}return hr(u)||p}function hr(t){return 0==(1&t)}function vr(t,e){if(null===e)return-1;for(var n=!1,r=0;r<e.length;){var o=e[r];if(o===t)return r;0===o?r+=4:(3===o&&(n=!0),r+=n?1:2)}return-1}function mr(t,e,n){void 0===n&&(n=!1);for(var r=0;r<e.length;r++)if(dr(t,e[r],n))return!0;return!1}var gr=function(){return function(t,e){this.fn=t,this.value=e}}(),yr=function(){function t(){this._players=[]}return t.prototype.flushPlayers=function(){for(var t=0;t<this._players.length;t++){var e=this._players[t];e.parent||0!==e.state||e.play()}this._players.length=0},t.prototype.queuePlayer=function(t){this._players.push(t)},t}(),br="@";function wr(t,e,n,r){return[0,[null,-1,!1,e||null],n||[null],r||[null],[0,0],t||null,null,null,null]}function Sr(t,e){for(var n=t,r=e[n],o=e;Array.isArray(r);)o=r,r=r[ee];if(s=o,Array.isArray(s)&&"number"==typeof s[0]&&Array.isArray(s[2]))return o;var i,a,s,u=Ie(t-de,e).stylingTemplate;return o!==e&&(n=ee),o[n]=u?(i=r,(a=u.slice())[5]=i,a[0]|=32,a):wr(r)}function Cr(t){return t[0]===br}function xr(t,e,n,r,o,i){return i=i||n,o?t[o]=r:t.push(r),!!r&&(r.addEventListener(200,function(){var e=t.indexOf(r);e&&(e<t[0]?t[e]=null:t.splice(e,1)),r.destroy()}),(e.playerHandler||(e.playerHandler=new yr)).queuePlayer(r,i),!0)}function _r(t){return!!(8&t.flags)}function Er(t,e,n,r){for(var o=1;o<n.length;o+=2){var i=n[o+1];i&&(r?Or(t,n[o+0],!0,e,null):kr(t,n[o+0],i,e,null))}}function Tr(t,e,n,r){for(var o=n;o<r;o+=4)if($r(t,o)===e)return o;return-1}function kr(t,e,n,r,o,i,a){n=o&&n?o(e,n):n,i||a?(i&&i.setValue(e,n),a&&a.setValue(e,n)):n?(n=n.toString(),Yn(r)?r.setStyle(t,e,n,Jn.DashCase):t.style.setProperty(e,n)):Yn(r)?r.removeStyle(t,e,Jn.DashCase):t.style.removeProperty(e)}function Or(t,e,n,r,o,i){o||i?(o&&o.setValue(e,n),i&&i.setValue(e,n)):n?Yn(r)?r.addClass(t,e):t.classList.add(e):Yn(r)?r.removeClass(t,e):t.classList.remove(e)}function Ar(t,e,n){var r=e>=9?e+0:e;n?t[r]|=1:t[r]&=-2}function Rr(t,e){return 1==(1&t[e>=9?e+0:e])}function Ir(t,e){return 2==(2&t[e>=9?e+0:e])}function Pr(t,e){return 4==(4&t[e>=9?e+0:e])}function jr(t,e,n){return 63&t|e<<6|n<<20}function Dr(t,e){var n=Nr(e);return(2&e?t[3]:t[2])[n]}function Nr(t){return t>>6&16383}function Mr(t){var e=t>>20&16383;return e>=9?e:-1}function Lr(t){return Mr(t[0])}function Hr(t,e,n){t[e+1]=n}function Ur(t,e,n){t[e+2]=n}function qr(t,e,n){var r=t[8];if(e){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==e}function Fr(t,e,n){var r=t[8]||(t[8]=[5,null,null,null,null]);return n>0?r[n]=e:(r.splice(n=r[0],0,e,null),r[0]+=2),n}function Vr(t,e,n,r){var o=function(t,e){return n<<16|t}(r);t[e+3]=o}function Br(t,e){return t[e+3]>>16&65535}function zr(t,e){var n=Br(t,e);if(n){var r=t[8];if(r)return r[n]}return null}function Wr(t,e,n){t[0===e?e:e+0]=n}function Gr(t,e){return t[0===e?e:e+0]}function Zr(t,e){return t[e+2]}function $r(t,e){return t[e+1]}function Qr(t){return 16&t[0]}function Jr(t,e){Ar(t,0,e)}function Yr(t,e){e?t[0]|=8:t[0]&=-9}function Xr(t,e,n){for(var r=(n||0)+1;r<t.length;r+=4)if(t[r]==e)return r-1;return-1}function Kr(t,e,n){var r=Zr(t,e),o=$r(t,e),i=Gr(t,e),a=Br(t,e),s=i,u=Gr(t,n),c=Mr(s);c>=0&&Wr(t,c,jr(l=Gr(t,c),Nr(l),n));var l,p=Mr(u);p>=0&&Wr(t,p,jr(l=Gr(t,p),Nr(l),e)),Ur(t,e,Zr(t,n)),Hr(t,e,$r(t,n)),Wr(t,e,Gr(t,n)),Vr(t,e,Br(t,n),0),Ur(t,n,r),Hr(t,n,o),Wr(t,n,i),Vr(t,n,a,0)}function to(t,e,n,r,o,i,a,s){var u=e<t.length;t.splice(e,0,1|o|(n?2:0),r,i,0),Vr(t,e,s,a),u&&function(t,n){for(var r=e+4;r<t.length;r+=4){var o=Mr(Gr(t,r));if(o>0){var i=Nr(Gr(t,o));Wr(t,o,jr((Rr(t,o)?1:0)|(Ir(t,o)?2:0)|(Pr(t,o)?4:0),i,r))}}}(t)}function eo(t,e){return e?!!t:null!==t}function no(t,e,n,r){var o,i=r&&r(e)?4:0;return n?(i|=2,o=uo(t[3],e)):o=uo(t[2],e),jr(i,o=o>0?o+1:0,0)}function ro(t,e,n){return!(2&t)&&e&&n&&4&t?e.toString()!==n.toString():e!==n}var oo=function(){function t(t,e,n){this._element=e,this._type=n,this._values={},this._dirty=!1,this._factory=t}return t.prototype.setValue=function(t,e){this._values[t]!==e&&(this._values[t]=e,this._dirty=!0)},t.prototype.buildPlayer=function(t,e){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,e,t||null);return this._values={},this._dirty=!1,n}},t}();function io(t,e){return 65535&t[e+3]}function ao(t,e){var n=so(t[1],e);return n>0?n/4:0}function so(t,e){for(var n=0;n<t.length;n+=4)if(t[n]===e)return n;return-1}function uo(t,e){for(var n=1;n<t.length;n+=2)if(t[n]===e)return n;return-1}function co(t,e){var n=t[1];return n[4*e+3]||n[3]||null}function lo(t,e,n){t[1][4*e+2]=n}function po(t){var e=t[6];if(null==e){e="";for(var n=t[3],r=1;r<n.length;r+=2)n[r+1]&&(e+=(e.length?" ":"")+n[r]);t[6]=e}return e}var fo=Promise.resolve(null);function ho(t){var e=t[Jt];if(e.firstTemplatePass=!1,Tn(!1),!bn(t)){var n=Cn();(function(t,e,n){!n&&32&t[Yt]&&(ln(t,e.initHooks,e.checkHooks,n),t[Yt]&=-33)})(t,e,n),function(t){for(var e=rr(t);null!==e;e=e[Kt])if(e.length<de&&-1===e[he])for(var n=e,r=0;r<n[ve].length;r++){var o=n[ve][r];go(o,o[Jt],o[ie])}}(t),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-de,t.contentQueries[e+1])}}(e),ln(t,e.contentHooks,e.contentCheckHooks,n),function(t,e){if(t.expandoInstructions){var n=e[re]=t.expandoStartIndex;On(n);for(var r=-1,o=-1,i=0;i<t.expandoInstructions.length;i++){var a=t.expandoInstructions[i];if("number"==typeof a){if(a<=0){o=-a;var s=t.expandoInstructions[++i];r=n+=Ce+s}else n+=a;On(n)}else null!==a&&(e[re]=n,a(2,Oe(e[r]),o)),r++}}}(e,t)}!function(t){if(null!=t)for(var e=0;e<t.length;e++)void 0,void 0,16==(16&(n=Pe(t[e],fn()))[Yt])&&12&n[Yt]&&(function(t){for(var e=t[Jt],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(n),Wo(n,n[ie]));var n}(e.components)}function vo(t,e,n,r,o,i,a,s){var u=e.blueprint.slice();return u[Yt]=51|r,u[Xt]=u[fe]=t,u[ie]=n,u[se]=o||t&&t[se],u[ue]=i||t&&t[ue],u[ce]=a||t&&t[ce]||null,u[ae]=s||t&&t[ae]||null,u}function mo(t,e,n,r,o){var i=fn(),a=i[Jt],s=t+de;i[s]=n;var u=a.data[s];null==u&&(u=a.data[s]=Io(i,e,s,r,o,null));var c=hn(),l=gn();return c&&(!l||null!=c.child||null===u.parent&&2!==c.type?l||(c.next=u):c.child=u),null==a.firstChild&&(a.firstChild=u),vn(u),yn(!0),u}function go(t,e,n){var r,o=gn(),i=hn();if(yn(!0),vn(null),128&t[Yt])Bo(Me(t));else try{yn(!0),vn(null),r=An(t,t[ne]),Co(),e.template(wo(t),n),t[Jt].firstTemplatePass=!1,Tn(!1),ho(t)}finally{Rn(r),yn(o),vn(i)}}function yo(t){return void 0===t&&(t=1),function(t){return void 0===t&&(t=1),(wn=function(t,e){for(;t>0;)e=e[fe],t--;return e}(t,wn))[ie]}(t)}function bo(t,e,n){var r=t[se],o=An(t,t[ne]),i=!Cn();try{i&&r.begin&&r.begin(),bn(t)&&(n&&(Co(),n(1,e)),ho(t),t[Yt]&=-2),n&&n(2,e),ho(t)}finally{i&&r.end&&r.end(),Rn(o)}}function wo(t){return bn(t)?1:2}var So=null;function Co(){So=null}function xo(t,e,n,r){_o(t,e,n,r),Ao()}function _o(t,e,n,r){var o,i,a,s=fn(),u=s[Jt],c=function(t,e){var n=fn()[ue];return Yn(n)?n.createElement(t,So):null===So?n.createElement(t):n.createElementNS(So,t)}(e),l=mo(t,3,c,e,n||null);if(n&&(u.firstTemplatePass&&!l.stylingTemplate&&function(t){for(var e=0;e<t.length;e++){var n=t[e];if(1==n||2==n)return!0}return!1}(n)&&(l.stylingTemplate=function(t){for(var e=wr(),n=e[3]=[null],r=e[2]=[null],o=-1,i=0;i<t.length;i++){var a=t[i];if("number"==typeof a)o=a;else if(2===o)r.push(a,t[++i]);else if(1===o)n.push(a,!0);else if(3===o)break}return e}(n)),ko(c,n)),cr(c,l,s),Eo(u,s,r),0===Be&&Wn(c,s),Be++,u.firstTemplatePass){var p=Yo(l);p&&p.hasOwnProperty("class")&&(l.flags|=8)}l.stylingTemplate&&0==(8&l.flags)&&(Er(o=c,a=s[ue],(i=l.stylingTemplate)[3],!0),Er(o,a,i[2],!1))}function Eo(t,e,n,r){if(void 0===r&&(r=Re),ze){var o=hn();En()&&function(t,e,n,r,o){var i=o?{"":-1}:null;if(n){!function(t,e,n){t.flags=1&t.flags,t.directiveStart=e,t.directiveEnd=e+n,t.providerIndexes=e}(r,t.data.length,n.length);for(var a=0;a<n.length;a++)(s=n[a]).providersResolver&&s.providersResolver(s);for(function(t,e,n){var r=-(e.index-de),o=t.data.length-(65535&e.providerIndexes);(t.expandoInstructions||(t.expandoInstructions=[])).push(r,o,n)}(t,r,n.length),a=0;a<n.length;a++){var s,u=t.data.length;Ho(t,e,s=n[a],s.factory),Lo(t.data.length-1,s,i),on(u,s.onInit,s.doCheck,t)}}i&&function(t,e,n){if(e)for(var r=t.localNames=[],o=0;o<e.length;o+=2){var i=n[e[o+1]];if(null==i)throw new Error("Export of name '"+e[o+1]+"' not found!");r.push(e[o],i)}}(r,o,i)}(t,e,function(t,e,n){var r=t.directiveRegistry,o=null;if(r)for(var i=0;i<r.length;i++){var a=r[i];mr(n,a.selectors,!1)&&(o||(o=[]),function(t,e,n){var r="string"!=typeof n?n[bt]:n.charCodeAt(0)||0;null==r&&(r=n[bt]=Dn++);var o=r&jn,i=1<<o,a=64&o,s=32&o,u=e.data;128&o?a?s?u[t+7]|=i:u[t+6]|=i:s?u[t+5]|=i:u[t+4]|=i:a?s?u[t+3]|=i:u[t+2]|=i:s?u[t+1]|=i:u[t]|=i}(Nn(hn(),e),e[Jt],a.type),Ne(a)?(1&n.flags&&Gn(n),n.flags=1,o.unshift(a)):o.push(a))}return o}(t,e,o),o,n||null),function(t,e,n){var r=n.directiveStart,o=n.directiveEnd;!En()&&r<o&&Nn(n,e);for(var i=r;i<o;i++){var a=t.data[i];Ne(a)&&Uo(e,n,a),Mo(e,Vn(t.data,e,i,n),a,i)}}(t,e,o),function(t,e,n){for(var r=n.directiveStart,o=n.directiveEnd,i=t.expandoInstructions,a=En(),s=r;s<o;s++){var u=t.data[s];if(u.hostBindings){var c=i.length;u.hostBindings(1,e[s],n.index-de),c===i.length&&a&&i.push(u.hostBindings)}else a&&i.push(null)}}(t,e,o),function(t,e,n){var r=e.localNames;if(r)for(var o=e.index+1,i=0;i<r.length;i+=2){var a=r[i+1],s=-1===a?n(e,t):t[a];t[o++]=s}}(e,o,r)}}function To(t,e,n,r,o,i,a){var s=de+n,u=s+r,c=function(t,e){var n=new Array(e).fill(null,0,t).fill(Zn,t);return n[pe]=-1,n[re]=t,n}(s,u);return c[Jt]={id:t,blueprint:c,template:e,viewQuery:a,node:null,data:c.slice(),childIndex:-1,bindingStartIndex:s,expandoStartIndex:u,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function ko(t,e){for(var n=fn()[ue],r=Yn(n),o=0;o<e.length;){var i=e[o++];if("number"==typeof i){if(0!==i)break;var a=e[o++],s=e[o++],u=e[o++];r?n.setAttribute(t,s,u,a):t.setAttributeNS(a,s,u)}else u=e[o++],i!==Qn&&(Cr(i)?r&&n.setProperty(t,i,u):r?n.setAttribute(t,i,u):t.setAttribute(i,u))}}function Oo(t,e,n){void 0===n&&(n=!1);var r=fn(),o=hn(),i=r[Jt],a=i.firstTemplatePass&&(i.cleanup||(i.cleanup=[]));if(3===o.type){var s=Re(o,r),u=r[ue],c=(m=Ko(r)).length,l=n;if(Yn(u)){var p=u.listen(s,t,e);m.push(e,p),l=c+1}else{var f=function(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}(e);s.addEventListener(t,f,n),m.push(f)}a&&a.push(t,o.index,c,l)}void 0===o.outputs&&(o.outputs=jo(o,1));var d,h=o.outputs;if(h&&(d=h[t])){var v=d.length;if(v)for(var m=Ko(r),g=0;g<v;g+=2){var y=r[d[g]][d[g+1]].subscribe(e),b=m.length;m.push(e,y),a&&a.push(t,o.index,b,-(b+1))}}}function Ao(){var t=hn();gn()?yn(!1):vn(t=t.parent);var e=fn(),n=e[te];if(n&&(e[te]=n.addNode(t)),an(fn()[Jt],t),Be--,_r(t)){var r=Sr(t.index,e);Po(e,t.inputs.class,po(r))}}function Ro(t,e,n,r,o){!function(t,e,n,r,o,i){if(n!==Zn){var a,s,u=fn(),c=Ae(t,u),l=Ie(t,u);if(!o&&(a=Yo(l))&&(s=a[e]))Po(u,s,n),De(l)&&function(e,n){var r=Pe(t+de,e);4&r[Yt]||(r[Yt]|=8)}(u);else if(3===l.type){var p=u[ue];n=null!=r?r(n):n,Yn(p)?p.setProperty(c,e,n):Cr(e)||(c.setProperty?c.setProperty(e,n):c[e]=n)}}}(t,e,n,r,o)}function Io(t,e,n,r,o,i){var a=hn(),s=gn()?a:a&&a.parent,u=s&&t&&s!==t[ne]?s:null;return{type:e,index:n,injectorIndex:u?u.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:u,detached:null,stylingTemplate:null,projection:null}}function Po(t,e,n){for(var r=0;r<e.length;r+=2)t[e[r]][e[r+1]]=n}function jo(t,e){var n=fn()[Jt],r=null,o=t.directiveStart,i=t.directiveEnd;if(i>o)for(var a=0===e,s=n.data,u=o;u<i;u++){var c=s[u],l=a?c.inputs:c.outputs;for(var p in l)if(l.hasOwnProperty(p)){var f=l[p];(r=r||{}).hasOwnProperty(p)?r[p].push(u,f):r[p]=[u,f]}}return r}function Do(t,e){var n=fn(),r=function(t,e){return Yn(e)?e.createText(Te(t)):e.createTextNode(Te(t))}(e,n[ue]),o=mo(t,3,r,null,null);yn(!1),cr(r,o,n)}function No(t,e){if(e!==Zn){var n=fn(),r=Ae(t,n),o=n[ue];Yn(o)?o.setValue(r,Te(e)):r.textContent=Te(e)}}function Mo(t,e,n,r){var o=hn();(function(t,e,n,r){var o=Re(e,t);Wn(n,t),o&&Wn(o,t),null!=r.attributes&&3==e.type&&ko(o,r.attributes)})(t,o,e,n),o&&o.attrs&&function(t,e,r,i){var a=o.initialInputs;(void 0===a||t>=a.length)&&(a=function(t,e,n){var r=n.initialInputs||(n.initialInputs=[]);r[t]=null;for(var o=n.attrs,i=0;i<o.length;){var a=o[i];if(3===a)break;if(0!==a){var s=e[a],u=o[i+1];void 0!==s&&(r[t]||(r[t]=[])).push(s,u),i+=2}else i+=4}return r}(t,n.inputs,o));var s=a[t];if(s)for(var u=0;u<s.length;u+=2)e[s[u]]=s[u+1]}(r,e),n.contentQueries&&n.contentQueries(r),Ne(n)&&(Pe(o.index,t)[ie]=e)}function Lo(t,e,n){n&&(e.exportAs&&(n[e.exportAs]=t),e.template&&(n[""]=t))}function Ho(t,e,n,r){t.data.push(n);var o=new _e(r,Ne(n),null);t.blueprint.push(o),e.push(o)}function Uo(t,e,n){var r,o=Re(e,t),i=(r=n.template).ngPrivateData||(r.ngPrivateData=To(-1,r,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery)),a=Fo(t,e.index,vo(t,i,null,n.onPush?8:4,t[se],t[se].createRenderer(o,n)));a[ne]=e,a[ee]=t[e.index],t[e.index]=a,En()&&function(t){var e=fn()[Jt];(e.components||(e.components=[])).push(t.index)}(e)}function qo(t,e,n,r,o,i,a,s){var u=fn(),c=u[Jt],l=function(t,e,n){var r,o=fn(),i=t+de,a=o[ue].createComment(""),s=mo(t,0,a,e,n),u=o[i]=[0,[],r=o,null,null,o[i],a,ar(s,r)];cr(a,s,o),Fo(o,t+de,u);var c=o[te];return c&&(u[te]=c.container()),s}(t,o||null,i||null);En()&&(l.tViews=To(-1,e,n,r,c.directiveRegistry,c.pipeRegistry,null)),Eo(c,u,a,s);var p=u[te],f=hn();Wn(Re(f,u),u),p&&(u[te]=p.addNode(f)),an(c,l),yn(!1)}function Fo(t,e,n){var r=t[Jt],o=En();return t[le]?t[le][Kt]=n:o&&(r.childIndex=e),t[le]=n,n}function Vo(t,e){var n,r=0===t.flags;t.flags|=e,r&&t.clean==fo&&(t.clean=new Promise(function(t){return n=t}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,Bo(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=fo,n(null)}))}function Bo(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];bo(He(n),n)}}function zo(t,e){var n=t[se];n.begin&&n.begin(),bn(t)&&Wo(t,e),Wo(t,e),n.end&&n.end()}function Wo(t,e){var n=t[Jt],r=An(t,t[ne]),o=n.template,i=n.viewQuery;try{Co(),function(e,n,r){e&&bn(t)&&e(1,r)}(i,0,e),o(wo(t),e),ho(t),function(e,n,r){e&&!bn(t)&&e(2,r)}(i,0,e)}finally{Rn(r)}}function Go(t){var e=fn();return $n(e,e[re]++,t)?t:Zn}function Zo(t,e,n){var r=fn(),o=$n(r,r[re],e);return r[re]+=1,o?t+Te(e)+n:Zn}function $o(t){return ke(wn,t)}function Qo(t){return ke(fn(),t)}function Jo(t,e){return void 0===e&&(e=Xe.Default),t=Ft(t),function(t,e,n,r,o){if(void 0===r&&(r=Xe.Default),t){var i=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t[bt];return"number"==typeof e?e&jn:e}(n);if("function"==typeof i){var a=hn(),s=fn();mn(t,e);try{var u=i();if(null!=u||r&Xe.Optional)return u;throw new Error("No provider for "+Te(n)+"!")}finally{mn(a,s)}}else if("number"==typeof i){var c=null,l=Ln(t,e),p=xe,f=r&Xe.Host?Fe(e)[ne]:null;for((-1===l||r&Xe.SkipSelf)&&(p=-1===l?Hn(t,e):e[l+Se],zn(r,!1)?(c=e[Jt],l=Ue(p),e=qe(p,e)):l=-1);-1!==l;){p=e[l+Se];var d=e[Jt];if(Bn(i,l,d.data)){var h=qn(l,e,n,c,r,f);if(h!==Un)return h}zn(r,e[Jt].data[l+we]===f)&&Bn(i,l,e)?(c=d,l=Ue(p),e=qe(p,e)):l=-1}}}if(r&Xe.Optional&&void 0===o&&(o=null),0==(r&(Xe.Self|Xe.Host))){var v=e[ae];return v?v.get(n,o,r&Xe.Optional):nn(n,o,r&Xe.Optional)}if(r&Xe.Optional)return o;throw new Error("NodeInjector: NOT_FOUND ["+Te(n)+"]")}(hn(),fn(),t,e)}function Yo(t){return t?(void 0===t.inputs&&(t.inputs=jo(t,0)),t.inputs):null}function Xo(){return fn()}function Ko(t){return t[oe]||(t[oe]=[])}function ti(t){return t[Jt].cleanup||(t[Jt].cleanup=[])}function ei(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var ni=new Object,ri=new xt("INJECTOR"),oi=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=ni),e===ni)throw new Error("NullInjectorError: No provider for "+Ht(t)+"!");return e},t}(),ii=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new vi(t,e):new vi(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=ni,t.NULL=new oi,t.ngInjectableDef=wt({providedIn:"any",factory:function(){return en(ri)}}),t.__NG_ELEMENT_ID__=function(){return ai()},t}(),ai=ei,si=function(t){return t},ui=[],ci=si,li=function(){return Array.prototype.slice.call(arguments)},pi=ht({provide:String,useValue:ht}),fi=ii.NULL,di=/\n/gm,hi="\u0275",vi=function(){function t(t,e,n){void 0===e&&(e=fi),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(ii,{token:ii,fn:si,deps:ui,value:this,useNew:!1}),r.set(ri,{token:ri,fn:si,deps:ui,value:this,useNew:!1}),function t(e,n){if(n)if((n=Ft(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw yi("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw yi("Unexpected provider",n);var o=Ft(n.provide),i=function(t){var e=function(t){var e=ui,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var o=6;if((u=Ft(n[r]))instanceof Array)for(var i=0,a=u;i<a.length;i++){var s=a[i];s instanceof Qe||s==Qe?o|=1:s instanceof Ye||s==Ye?o&=-3:s instanceof Je||s==Je?o&=-5:u=s instanceof $e?s.token:Ft(s)}e.push({token:u,options:o})}}else if(t.useExisting){var u;e=[{token:u=Ft(t.useExisting),options:6}]}else if(!(n||pi in t))throw yi("'deps' required",t);return e}(t),n=si,r=ui,o=!1,i=Ft(t.provide);if(pi in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)o=!0,n=Ft(t.useClass);else{if("function"!=typeof i)throw yi("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);o=!0,n=i}return{deps:e,fn:n,useNew:o,value:r}}(n);if(!0===n.multi){var a=e.get(o);if(a){if(a.fn!==li)throw mi(o)}else e.set(o,a={token:n.provide,deps:[],useNew:!1,fn:li,value:ui});a.deps.push({token:o=n,options:6})}var s=e.get(o);if(s&&s.fn==li)throw mi(o);e.set(o,i)}}(r,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=Xe.Default);var r=this._records.get(t);try{return function t(e,n,r,o,i,a){try{return function(e,n,r,o,i,a){var s,u;if(!n||a&Xe.SkipSelf)a&Xe.Self||(u=o.get(e,i,Xe.Default));else{if((u=n.value)==ci)throw Error(hi+"Circular dependency");if(u===ui){n.value=ci;var c=n.useNew,l=n.fn,f=n.deps,d=ui;if(f.length){d=[];for(var h=0;h<f.length;h++){var v=f[h],m=v.options,g=2&m?r.get(v.token):void 0;d.push(t(v.token,g,r,g||4&m?o:fi,1&m?null:ii.THROW_IF_NOT_FOUND,Xe.Default))}}n.value=u=c?new((s=l).bind.apply(s,p([void 0],d))):l.apply(void 0,d)}}return u}(e,n,r,o,i,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(e),n&&n.value==ci&&(n.value=ui),s}}(t,r,this._records,this.parent,e,n)}catch(i){var o=i.ngTempTokenPath;throw t.__source&&o.unshift(t.__source),i.message=gi("\n"+i.message,o,this.source),i.ngTokenPath=o,i.ngTempTokenPath=null,i}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(Ht(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function mi(t){return yi("Cannot mix multi providers and regular providers",t)}function gi(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==hi?t.substr(2):t;var r=Ht(e);if(e instanceof Array)r=e.map(Ht).join(" -> ");else if("object"==typeof e){var o=[];for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):Ht(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(di,"\n ")}function yi(t,e){return new Error(gi(t,e))}var bi,wi,Si=function(){return function(){}}(),Ci=function(t){function e(e,n){var r=t.call(this)||this;return r.factory=e,r.ngModule=n,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return o(e,t),e.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},e}(Si),xi=function(){return function(){}}(),_i=function(){return function(){}}(),Ei=function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=t}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return null==this._lView[ee]?function t(e,n,r){for(var o=n.child;o;)r.push(Re(o,e)),4===o.type&&t(e,o,r),o=o.next;return r}(this._lView,this._lView[ne],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 64==(64&this._lView[Yt])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var t=this._viewContainerRef.indexOf(this);t>-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}var e,n;Yn(n=(e=this._lView)[ue])&&n.destroyNode&&function(t,n,r,o,i){for(var a=e[Jt].node,s=-1,u=e,c=a.child;c;){var l=null;if(3===c.type){nr(2,r,null,Re(c,u),i);var p=u[c.index];v=p,Array.isArray(v)&&v.length===ye&&nr(2,r,null,p[me],i)}else if(0===c.type){var f=u[c.index];nr(2,r,null,f[me],i),f[ve].length&&(l=(u=f[ve][0])[Jt].node,i=f[me])}else if(1===c.type){var d=Fe(u),h=d[ne].projection[c.projection];er[++s]=c,er[++s]=u,h&&(l=(u=d[Xt])[Jt].data[h.index])}else l=c.child;if(null===l)for(null===c.next&&2&c.flags&&(u=er[s--],c=er[s--]),l=c.next;!l;){if(null===(c=c.parent||u[Jt].node)||c===a)return null;0===c.type&&(i=(u=u[Xt])[c.index][me]),l=2===c.type&&u[Kt]?(u=u[Kt])[Jt].node:c.next}c=l}var v}(0,0,n),function(t){if(-1===t[Jt].childIndex)return ir(t);for(var e=rr(t);e;){var n=null;if(e.length>=de?e[Jt].childIndex>-1&&(n=rr(e)):e[ve].length&&(n=e[ve][0]),null==n){for(;e&&!e[Kt]&&e!==t;)ir(e),e=or(e,t);ir(e||t),n=e&&e[Kt]}e=n}}(e),e[Yt]|=64},t.prototype.onDestroy=function(t){var e,n;n=t,Ko(e=this._lView).push(n),e[Jt].firstTemplatePass&&ti(e).push(e[oe].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(;t&&!(128&t[Yt]);)t[Yt]|=8,t=t[Xt];t[Yt]|=8,Vo(t[ie],1)}(this._lView)},t.prototype.detach=function(){this._lView[Yt]&=-17},t.prototype.reattach=function(){this._lView[Yt]|=16},t.prototype.detectChanges=function(){zo(this._lView,this.context)},t.prototype.checkNoChanges=function(){!function(t){xn(!0);try{!function(t){zo(function(t){var e,n=Le(t);if(Array.isArray(n)){var r=function(t,e){var n=t[Jt].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(Pe(o,t)[ie]===e)return o}else if(Pe(de,t)[ie]===e)return de;return-1}(n,t);(o=function(t,e,n){return{lView:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,r,(e=Pe(r,n))[ee])).component=t,Wn(t,o),Wn(o.native,o)}else{var o;e=Pe((o=n).nodeIndex,o.lView)}return e}(t),t)}(t)}finally{xn(!1)}}(this.context)},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._lView[Xt][this._componentIndex]},t}();function Ti(t,e,n){return bi||(bi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(t)),new bi(Re(e,n))}var ki=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return Oi(t)},t}(),Oi=ei,Ai=!0,Ri=!1;function Ii(){return Ri=!0,Ai}var Pi=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return o(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var o,i=function(t){return null},a=function(){return null};e&&"object"==typeof e?(o=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(o=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(a=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var s=t.prototype.subscribe.call(this,o,i,a);return e instanceof g&&e.add(s),s},e}(M),ji=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return Di(t,ki)},t}(),Di=ei,Ni=function(){function t(t,e,n){this.parent=t,this.shallow=e,this.deep=n}return t.prototype.track=function(t,e,n,r){n?this.deep=Zi(this.deep,t,e,null!=r?r:null):this.shallow=Zi(this.shallow,t,e,null!=r?r:null)},t.prototype.clone=function(){return new t(this,null,this.deep)},t.prototype.container=function(){var e=Mi(this.shallow),n=Mi(this.deep);return e||n?new t(this,e,n):null},t.prototype.createView=function(){var e=Li(this.shallow),n=Li(this.deep);return e||n?new t(this,e,n):null},t.prototype.insertView=function(t){Hi(t,this.shallow),Hi(t,this.deep)},t.prototype.addNode=function(t){return zi(this.deep,t),je(t)?(zi(this.shallow,t),t.parent&&je(t.parent)&&zi(this.parent.shallow,t),this.parent):(function(t){return null===t.parent||je(t.parent)}(t)&&zi(this.shallow,t),this)},t.prototype.removeView=function(){Ui(this.shallow),Ui(this.deep)},t}();function Mi(t){for(var e=null;t;){var n=[];t.values.push(n),e={next:e,list:t.list,predicate:t.predicate,values:n,containerValues:null},t=t.next}return e}function Li(t){for(var e=null;t;)e={next:e,list:t.list,predicate:t.predicate,values:[],containerValues:t.values},t=t.next;return e}function Hi(t,e){for(;e;)e.containerValues.splice(t,0,e.values),e=e.next}function Ui(t){for(;t;){var e=t.containerValues,n=e.indexOf(t.values);e.splice(n,1)[0].length&&t.list.setDirty(),t=t.next}}function qi(t,e){var n=t.localNames;if(n)for(var r=0;r<n.length;r+=2)if(n[r]===e)return n[r+1];return null}function Fi(t,e,n){var r=t[bt];if("function"==typeof r)return r();var o=Fn(e,n,t,!1,!1);return null!==o?Vn(n[Jt].data,n,o,e):null}function Vi(t,e,n,r){var o=t[bt]();return r?o?Fi(r,e,n):null:o}function Bi(t,e,n,r){return n?Fi(n,t,e):r>-1?Vn(e[Jt].data,e,r,t):function(t,e){return 3===t.type||4===t.type?Ti(ki,t,e):0===t.type?function(t,e,n,r){if(wi||(wi=function(t){function e(e,n,r,o,i,a){var s=t.call(this)||this;return s._declarationParentView=e,s.elementRef=n,s._tView=r,s._renderer=o,s._queries=i,s._injectorIndex=a,s}return o(e,t),e.prototype.createEmbeddedView=function(t,e,n,r,o){var i=function(t,e,n,r,o,i){var a=gn(),s=hn();yn(!0),vn(null);var u,c=vo(n,t,e,4);return c[fe]=n,o&&(c[te]=o.createView()),null==(u=c)[Jt].node&&(u[Jt].node=Io(u,2,-1,null,null,null)),u[ne]=u[Jt].node,t.firstTemplatePass&&(t.node.injectorIndex=i),yn(a),vn(s),c}(this._tView,t,this._declarationParentView,0,this._queries,this._injectorIndex);e&&function(t,n,r,o,i){var a=e[ve];o>0&&(a[o-1][Kt]=t),o<a.length?(t[Kt]=a[o],a.splice(o,0,t)):(a.push(t),t[Kt]=null),i>-1&&(t[pe]=i,t[Xt]=r),t[te]&&t[te].insertView(o),t[Yt]|=16}(i,0,r,o,n.index),go(i,this._tView,t);var a=new Ei(i,t,-1);return a._tViewNode=i[ne],a},e}(t)),0===n.type){var i=r[n.index];return new wi(r,Ti(e,n,r),n.tViews,fn()[ue],i[te],n.injectorIndex)}return null}(ji,ki,t,e):null}(t,e)}function zi(t,e){for(var n=fn();t;){var r=t.predicate,o=r.type;if(o){var i=null;o===ji?i=Vi(o,e,n,r.read):null!==(u=Fn(e,n,o,!1,!1))&&(i=Bi(e,n,r.read,u)),null!==i&&Wi(t,i)}else for(var a=r.selector,s=0;s<a.length;s++){var u;null!==(u=qi(e,a[s]))&&null!==(i=Bi(e,n,r.read,u))&&Wi(t,i)}t=t.next}}function Wi(t,e){t.values.push(e),t.list.setDirty()}function Gi(t,e){var n=Array.isArray(t);return{type:n?null:t,selector:n?t:null,read:e}}function Zi(t,e,n,r){return{next:t,list:e,predicate:Gi(n,r),values:e._valuesTree,containerValues:null}}var $i=function(){function t(){this.dirty=!0,this.changes=new Pi,this._values=[],this._valuesTree=[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){var t=this._values;return t.length?t[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){var t=this._values;return t.length?t[t.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._values.map(t)},t.prototype.filter=function(t){return this._values.filter(t)},t.prototype.find=function(t){return this._values.find(t)},t.prototype.reduce=function(t,e){return this._values.reduce(t,e)},t.prototype.forEach=function(t){this._values.forEach(t)},t.prototype.some=function(t){return this._values.some(t)},t.prototype.toArray=function(){return this._values.slice(0)},t.prototype[Mt()]=function(){return this._values[Mt()]()},t.prototype.toString=function(){return this._values.toString()},t.prototype.reset=function(t){this._values=function(t){for(var e=[],n=0;n<t.length;){var r=t[n];Array.isArray(r)?r.length>0?(t=r.concat(t.slice(n+1)),n=0):n++:(e.push(r),n++)}return e}(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}();function Qi(t,e,n,r){var o,i,a,s=new $i;return(o=Ni,i=fn(),a=i[te],We&&We!==i[ne]&&!je(We)&&(a&&(a=i[te]=a.clone()),We.flags|=4),a||(i[te]=new o(null,null,null))).track(s,e,n,r),function(t,e,n){var r=Ko(t);r.push(e),t[Jt].firstTemplatePass&&ti(t).push(n,r.length-1)}(fn(),s,s.destroy),null!=t&&function(t,e){var n=fn(),r=n[Jt],o=t+de;o>=r.data.length&&(r.data[o]=null),n[o]=e}(t,s),s}function Ji(t){return!!t.dirty&&(t.reset(t._valuesTree),t.notifyOnChanges(),!0)}var Yi=function(){return function(){}}(),Xi=Function;function Ki(t){return"function"==typeof t}var ta=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,ea=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,na=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,ra=function(){function t(t){this._reflect=t||jt.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new(t.bind.apply(t,p([void 0],e)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)n[r]=void 0===t?[]:t[r]!=Object?[t[r]]:[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){var n=t.toString();if(ta.exec(n)||ea.exec(n)&&!na.exec(n))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var r=t.ctorParameters;if(r&&r!==e.ctorParameters){var o="function"==typeof r?r():r,i=o.map(function(t){return t&&t.type}),a=o.map(function(t){return t&&oa(t.decorators)});return this._zipTypesAndAnnotations(i,a)}var s=t.hasOwnProperty(Et)&&t[Et],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return u||s?this._zipTypesAndAnnotations(u,s):new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!Ki(t))return[];var e=ia(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?oa(t.decorators):t.hasOwnProperty(_t)?t[_t]:null},t.prototype.annotations=function(t){if(!Ki(t))return[];var e=ia(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var r=t.propDecorators,o={};return Object.keys(r).forEach(function(t){o[t]=oa(r[t])}),o}return t.hasOwnProperty("__prop__metadata__")?t.__prop__metadata__:null},t.prototype.propMetadata=function(t){if(!Ki(t))return{};var e=ia(t),n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var o=this._ownPropMetadata(t,e);return o&&Object.keys(o).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,p(n[t])),e.push.apply(e,p(o[t])),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof Xi&&e in t.prototype},t.prototype.guards=function(t){return{}},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.prototype.method=function(t){return new Function("o","args","if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n return o."+t+".apply(o, args);")},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+Ht(t)},t.prototype.resourceUri=function(t){return"./"+Ht(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return r},t.prototype.resolveEnum=function(t,e){return t[e]},t}();function oa(t){return t?t.map(function(t){var e=t.type.annotationCls;return new(e.bind.apply(e,p([void 0],t.args?t.args:[])))}):[]}function ia(t){var e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}var aa=ht({provide:String,useValue:ht}),sa=[];function ua(t,e){if(!e){var n=(u=new ra).parameters(t);return function(){return new(t.bind.apply(t,p([void 0],rn(n))))}}if(aa in e){var r=e;return function(){return r.useValue}}if(e.useExisting){var o=e;return function(){return en(o.useExisting)}}if(e.useFactory){var i=e;return function(){return i.useFactory.apply(i,p(rn(i.deps||sa)))}}if(e.useClass){var a=e,s=e.deps;if(!s){var u=new ra;s=u.parameters(t)}return function(){var t;return new((t=a.useClass).bind.apply(t,p([void 0],rn(s))))}}var c=e.deps;return c||(u=new ra,c=u.parameters(t)),function(){return new(t.bind.apply(t,p([void 0],rn(c))))}}var ca=Tt("NgModule",function(t){return t},void 0,void 0,function(t,e){return la(t,e)}),la=function(t,e){var n=e&&e.imports||[];e&&e.exports&&(n=p(n,[e.exports])),t.ngInjectorDef=St({factory:ua(t,{useClass:t}),providers:e&&e.providers,imports:n})},pa=Tt("Injectable",void 0,void 0,void 0,function(t,e){return fa(t,e)}),fa=function(t,e){e&&void 0!==e.providedIn&&!Ct(t)&&(t.ngInjectableDef=wt({providedIn:e.providedIn,factory:ua(t,e)}))},da="ngDebugContext",ha="ngOriginalError";function va(t){return t[da]}function ma(t){return t[ha]}function ga(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,p(e))}var ya=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||ga}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?va(t)?va(t):this._findContext(ma(t)):null},t.prototype._findOriginalError=function(t){for(var e=ma(t);e&&ma(e);)e=ma(e);return e},t}();function ba(t){return!!t&&"function"==typeof t.then}var wa=new xt("Application Initializer"),Sa=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();ba(o)&&e.push(o)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),Ca=new xt("AppId"),xa=new xt("Platform Initializer"),_a=new xt("Platform ID"),Ea=new xt("appBootstrapListener"),Ta=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function ka(){throw new Error("Runtime compiler is not loaded")}var Oa,Aa,Ra=ka,Ia=ka,Pa=ka,ja=ka,Da=function(){function t(){this.compileModuleSync=Ra,this.compileModuleAsync=Ia,this.compileModuleAndAllComponentsSync=Pa,this.compileModuleAndAllComponentsAsync=ja}return t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Na=function(){return function(){}}();function Ma(){var t=jt.wtf;return!(!t||!(Oa=t.trace)||(Aa=Oa.events,0))}var La=Ma();function Ha(t,e){return null}var Ua=La?function(t,e){return void 0===e&&(e=null),Aa.createScope(t,e)}:function(t,e){return Ha},qa=La?function(t,e){return Oa.leaveScope(t,e),e}:function(t,e){return e},Fa=function(){function t(t){var e,n=t.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pi(!1),this.onMicrotaskEmpty=new Pi(!1),this.onStable=new Pi(!1),this.onError=new Pi(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,a){try{return Wa(e),t.invokeTask(r,o,i,a)}finally{Ga(e)}},onInvoke:function(t,n,r,o,i,a,s){try{return Wa(e),t.invoke(r,o,i,a,s)}finally{Ga(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,za(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,t,Ba,Va,Va);try{return o.runTask(i,e,n)}finally{o.cancelTask(i)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function Va(){}var Ba={};function za(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function Wa(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ga(t){t._nesting--,za(t)}var Za,$a=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pi,this.onMicrotaskEmpty=new Pi,this.onStable=new Pi,this.onError=new Pi}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),Qa=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){e.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Fa.assertNotInAngularZone(),Lt(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())Lt(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var r=this,o=-1;e&&e>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==o}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:o,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Ja=function(){function t(){this._applications=new Map,Ya.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Ya.findTestabilityInTree(this,t,e)},a([u("design:paramtypes",[])],t)}(),Ya=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Xa=new xt("AllowMultipleToken"),Ka=function(){return function(t,e){this.name=t,this.token=e}}();function ts(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,o=new xt(r);return function(e){void 0===e&&(e=[]);var i=es();if(!i||i.injector.get(Xa,!1))if(t)t(n.concat(e).concat({provide:o,useValue:!0}));else{var a=n.concat(e).concat({provide:o,useValue:!0});!function(t){if(Za&&!Za.destroyed&&!Za.injector.get(Xa,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Za=t.get(ns);var e=t.get(xa,null);e&&e.forEach(function(t){return t()})}(ii.create({providers:a,name:r}))}return function(t){var e=es();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(o)}}function es(){return Za&&!Za.destroyed?Za:null}var ns=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,o="noop"===(n=e?e.ngZone:void 0)?new $a:("zone.js"===n?void 0:n)||new Fa({enableLongStackTrace:Ii()}),i=[{provide:Fa,useValue:o}];return o.run(function(){var e=ii.create({providers:i,parent:r.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(ya,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return is(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,o){try{var i=((a=n.injector.get(Sa)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return ba(i)?i.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):i}catch(s){throw e.runOutsideAngular(function(){return t.handleError(s)}),s}var a}(a,o)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=rs({},e);return function(t,e,n){return t.get(Na).createCompiler([e]).compileModuleAsync(n)}(this.injector,r,t).then(function(t){return n.bootstrapModuleFactory(t,r)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(os);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Ht(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function rs(t,e){return Array.isArray(e)?e.reduce(rs,t):i({},t,e)}var os=function(){function t(t,e,n,r,o,i){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Ii(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new R(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),u=new R(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Fa.assertNotInAngularZone(),Lt(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Fa.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return H(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof R?t[0]:at(n)(tt(t,r))}(s,u.pipe(function(t){return st()((e=dt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,pt);return r.source=t,r.subjectFactory=n,r})(t));var e}))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Si?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var o=n instanceof Ci?null:this._injector.get(xi),i=n.create(ii.NULL,[],e||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(Qa,null);return a&&i.injector.get(Ja).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Ii()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(r){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(r)})}finally{this._runningTick=!1,qa(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;is(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Ea,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),is(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Ua("ApplicationRef#tick()"),t}();function is(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var as={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},ss=function(){function t(t,e){this._compiler=t,this._config=e||as}return t.prototype.load=function(t){return this._compiler instanceof Da?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=l(t.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then(function(t){return t[i]}).then(function(t){return us(t,o,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=l(t.split("#"),2),r=e[0],o=e[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[o+i]}).then(function(t){return us(t,r,o)})},t}();function us(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var cs=ts(null,"core",[{provide:_a,useValue:"unknown"},{provide:ns,deps:[ii]},{provide:Ja,deps:[]},{provide:Ta,deps:[]}]),ls=function(){return function(){}}(),ps=new xt("Location Initialized"),fs=function(){return function(){}}(),ds=new xt("appBaseHref"),hs=function(){function t(t){var n=this;this._subject=new Pi,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(vs(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,vs(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function vs(t){return t.replace(/\/index.html$/,"")}var ms=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=hs.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+hs.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+hs.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(fs),gs=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return o(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return hs.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+hs.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var o=this.prepareExternalUrl(n+hs.normalizeQueryParams(r));this._platformLocation.pushState(t,e,o)},e.prototype.replaceState=function(t,e,n,r){var o=this.prepareExternalUrl(n+hs.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,o)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(fs),ys=function(){return function(){}}(),bs=new xt("DocumentToken"),ws=function(){function t(){}return t.ngInjectableDef=wt({providedIn:"root",factory:function(){return new Ss(en(bs),window)}}),t}(),Ss=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),Cs=null;function xs(){return Cs}var _s,Es={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Ts={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ks={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};jt.Node&&(_s=jt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var Os,As=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,Cs||(Cs=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,p(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return Es},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return _s.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:r.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var o=n.item(r);e.set(o.name,o.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&ks.hasOwnProperty(e)&&(e=ks[e]))}return Ts[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=Rs||(Rs=document.querySelector("base"))?Rs.getAttribute("href"):null;return null==n?null:(e=n,Os||(Os=document.createElement("a")),Os.setAttribute("href",e),"/"===Os.pathname.charAt(0)?Os.pathname:"/"+Os.pathname)},e.prototype.resetBaseElement=function(){Rs=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return function(t,e){var n,r;e=encodeURIComponent(e);try{for(var o=c(t.split(";")),i=o.next();!i.done;i=o.next()){var a=i.value,s=a.indexOf("="),u=l(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),p=u[1];if(u[0].trim()===e)return decodeURIComponent(p)}}catch(f){n={error:f}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o<r.length;o++)if(null!=e.getStyle(n,r[o]+"AnimationName")){e._animationPrefix="-"+r[o].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return o(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),Rs=null,Is=bs;function Ps(){return!!window.history.pushState}var js=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}return o(e,t),e.prototype._init=function(){this.location=xs().getLocation(),this._history=xs().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return xs().getBaseHref(this._doc)},e.prototype.onPopState=function(t){xs().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){xs().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){Ps()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){Ps()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},a([s(0,$e(Is)),u("design:paramtypes",[Object])],e)}(ls),Ds=new xt("TRANSITION_ID"),Ns=[{provide:wa,useFactory:function(t,e,n){return function(){n.get(Sa).donePromise.then(function(){var n=xs();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[Ds,Is,ii],multi:!0}],Ms=function(){function t(){}return t.init=function(){var e;e=new t,Ya=e},t.prototype.addToWindow=function(t){jt.getAngularTestability=function(e,n){void 0===n&&(n=!0);var r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},jt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},jt.getAllAngularRootElements=function(){return t.getAllRootElements()},jt.frameworkStabilizers||(jt.frameworkStabilizers=[]),jt.frameworkStabilizers.push(function(t){var e=jt.getAllAngularTestabilities(),n=e.length,r=!1,o=function(e){r=r||e,0==--n&&t(r)};e.forEach(function(t){t.whenStable(o)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?xs().isShadowRoot(e)?this.findTestabilityInTree(t,xs().getHost(e),!0):this.findTestabilityInTree(t,xs().parentElement(e),!0):null},t}(),Ls=("undefined"!=typeof Zone&&Zone,"undefined"!=typeof Zone&&Zone,ts(cs,"browser",[{provide:_a,useValue:"browser"},{provide:xa,useValue:function(){As.makeCurrent(),Ms.init()},multi:!0},{provide:ls,useClass:js,deps:[Is]},{provide:Is,useFactory:function(){return document},deps:[]}])),Hs=function(){function t(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:Ca,useValue:t.appId},{provide:Ds,useExisting:Ca},Ns]}},t}();"undefined"!=typeof window&&window;var Us=new R(function(t){return t.complete()});function qs(t){return t?function(t){return new R(function(e){return t.schedule(function(){return e.complete()})})}(t):Us}var Fs=new xt("NgFormSelectorWarning"),Vs=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Fs,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}();"object"==typeof window&&window;var Bs,zs=function(){return function(){}}(),Ws=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return o(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new j;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(M),Gs=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return o(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return o(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(o){n=!0,r=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return o(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(g))),Zs=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),$s=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(function(t){function e(n,r){void 0===r&&(r=Zs.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return o(e,t),e.prototype.schedule=function(n,r,o){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,o):t.prototype.schedule.call(this,n,r,o)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(Zs)))(Gs);function Qs(t){var e=new R(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function Js(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(H(n)?t.pop():n=void 0,t.length){case 0:return qs(n);case 1:return n?tt(t,n):Qs(t[0]);default:return tt(t,n)}}Bs||(Bs={});var Ys=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){var t;switch(this.kind){case"N":return Js(this.value);case"E":return t=this.error,new R(function(e){return e.error(t)});case"C":return qs()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),Xs=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new Ks(t,this.scheduler,this.delay))},t}(),Ks=function(t){function e(e,n,r){void 0===r&&(r=0);var o=t.call(this,e)||this;return o.scheduler=n,o.delay=r,o}return o(e,t),e.dispatch=function(t){t.notification.observe(t.destination),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new tu(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(Ys.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(Ys.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(Ys.createComplete()),this.unsubscribe()},e}(_),tu=function(){return function(t,e){this.notification=t,this.destination=e}}(),eu=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new nu(t,this.observables,this.project))},t}(),nu=function(t){function e(e,n,r){var o=t.call(this,e)||this;o.observables=n,o.project=r,o.toRespond=[];var i=n.length;o.values=new Array(i);for(var a=0;a<i;a++)o.toRespond.push(a);for(a=0;a<i;a++){var s=n[a];o.add(Q(o,s,s,a))}return o}return o(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values[n]=e;var i=this.toRespond;if(i.length>0){var a=i.indexOf(n);-1!==a&&i.splice(a,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(J);function ru(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new ou(t,e,n))}}var ou=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new iu(t,this.accumulator,this.seed,this.hasSeed))},t}(),iu=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return o(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)},e}(_),au=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new su(t,this.compare,this.keySelector))},t}(),su=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=r,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}return o(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(o){return this.destination.error(o)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(o){return this.destination.error(o)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(_),uu="@ngrx/store/init",cu=function(t){function e(){return t.call(this,{type:uu})||this}return o(e,t),e.prototype.next=function(e){if(void 0===e)throw new TypeError("Actions must be objects");if(void 0===e.type)throw new TypeError("Actions must have a type property");t.prototype.next.call(this,e)},e.prototype.complete=function(){},e.prototype.ngOnDestroy=function(){t.prototype.complete.call(this)},e}(Ws),lu=[cu],pu=new xt("@ngrx/store Internal Initial State"),fu=new xt("@ngrx/store Initial State"),du=new xt("@ngrx/store Reducer Factory"),hu=new xt("@ngrx/store Reducer Factory Provider"),vu=new xt("@ngrx/store Initial Reducers"),mu=new xt("@ngrx/store Internal Initial Reducers"),gu=new xt("@ngrx/store Meta Reducers"),yu=new xt("@ngrx/store Store Features"),bu=new xt("@ngrx/store Internal Store Reducers"),wu=new xt("@ngrx/store Internal Feature Reducers"),Su=new xt("@ngrx/store Internal Feature Configs"),Cu=new xt("@ngrx/store Internal Store Features"),xu=new xt("@ngrx/store Internal Feature Reducers Token"),_u=new xt("@ngrx/store Feature Reducers"),Eu=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Tu=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Eu(arguments[e]));return t};function ku(t,e){void 0===e&&(e={});for(var n=Object.keys(t),r={},o=0;o<n.length;o++){var i=n[o];"function"==typeof t[i]&&(r[i]=t[i])}var a=Object.keys(r);return function(t,n){t=void 0===t?e:t;for(var o=!1,i={},s=0;s<a.length;s++){var u=a[s],c=t[u],l=(0,r[u])(c,n);i[u]=l,o=o||l!==c}return o?i:t}}function Ou(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){if(0===t.length)return e;var n=t[t.length-1];return t.slice(0,-1).reduceRight(function(t,e){return e(t)},n(e))}}function Au(t,e){return Array.isArray(e)&&e.length>0&&(t=Ou.apply(null,Tu(e,[t]))),function(e,n){var r=t(e);return function(t,e){return r(t=void 0===t?n:t,e)}}}var Ru=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Iu=function(){return(Iu=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},Pu=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},ju=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Ru(e,t),e}(R),Du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Ru(e,t),e}(cu),Nu=function(t){function e(e,n,r,o){var i=t.call(this,o(r,n))||this;return i.dispatcher=e,i.initialState=n,i.reducers=r,i.reducerFactory=o,i}return Ru(e,t),e.prototype.addFeature=function(t){this.addFeatures([t])},e.prototype.addFeatures=function(t){var e=t.reduce(function(t,e){var n=e.reducers,r=e.reducerFactory,o=e.metaReducers,i=e.initialState,a=e.key,s="function"==typeof n?function(t){var e=Array.isArray(t)&&t.length>0?Ou.apply(void 0,Tu(t)):function(t){return t};return function(t,n){return t=e(t),function(e,r){return t(e=void 0===e?n:e,r)}}}(o)(n,i):Au(r,o)(n,i);return t[a]=s,t},{});this.addReducers(e)},e.prototype.removeFeature=function(t){this.removeFeatures([t])},e.prototype.removeFeatures=function(t){this.removeReducers(t.map(function(t){return t.key}))},e.prototype.addReducer=function(t,e){var n;this.addReducers(((n={})[t]=e,n))},e.prototype.addReducers=function(t){this.reducers=Iu({},this.reducers,t),this.updateReducers(Object.keys(t))},e.prototype.removeReducer=function(t){this.removeReducers([t])},e.prototype.removeReducers=function(t){var e=this;t.forEach(function(t){var n,r;e.reducers=(n=e.reducers,r=t,Object.keys(n).filter(function(t){return t!==r}).reduce(function(t,e){var r;return Object.assign(t,((r={})[e]=n[e],r))},{}))}),this.updateReducers(t)},e.prototype.updateReducers=function(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:"@ngrx/store/update-reducers",features:t})},e.prototype.ngOnDestroy=function(){this.complete()},function(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}([pa(),s(1,$e(fu)),s(2,$e(vu)),s(3,$e(du)),Pu("design:paramtypes",[Du,Object,Object,Function])],e)}(Ws),Mu=[Nu,{provide:ju,useExisting:Nu},{provide:Du,useExisting:cu}],Lu=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Hu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Lu(e,t),e.prototype.ngOnDestroy=function(){this.complete()},function(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}([pa()],e)}(M),Uu=[Hu],qu=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Fu=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Vu=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Bu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return qu(e,t),e}(R),zu=function(t){function e(e,n,r,o){var i,a,s=t.call(this,o)||this,u=e.pipe((i=$s,void 0===a&&(a=0),function(t){return t.lift(new Xs(i,a))})).pipe(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new eu(t,n))}}(n)).pipe(ru(Wu,{state:o}));return s.stateSubscription=u.subscribe(function(t){var e=t.action;s.next(t.state),r.next(e)}),s}return qu(e,t),e.prototype.ngOnDestroy=function(){this.stateSubscription.unsubscribe(),this.complete()},e.INIT=uu,function(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}([pa(),(3,n=$e(fu),function(t,e){n(t,e,3)}),Fu("design:paramtypes",[cu,ju,Hu,Object])],e);var n}(Ws);function Wu(t,e){void 0===t&&(t={state:void 0});var n=Vu(e,2),r=n[0];return{state:(0,n[1])(t.state,r),action:r}}var Gu=[zu,{provide:Bu,useExisting:zu}],Zu=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),$u=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},Qu=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Ju=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Qu(arguments[e]));return t},Yu=function(t){function e(e,n,r){var o=t.call(this)||this;return o.actionsObserver=n,o.reducerManager=r,o.source=e,o}var n;return Zu(e,t),n=e,e.prototype.select=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Ku.call.apply(Ku,Ju([null,t],e))(this)},e.prototype.lift=function(t){var e=new n(this,this.actionsObserver,this.reducerManager);return e.operator=t,e},e.prototype.dispatch=function(t){this.actionsObserver.next(t)},e.prototype.next=function(t){this.actionsObserver.next(t)},e.prototype.error=function(t){this.actionsObserver.error(t)},e.prototype.complete=function(){this.actionsObserver.complete()},e.prototype.addReducer=function(t,e){this.reducerManager.addReducer(t,e)},e.prototype.removeReducer=function(t){this.reducerManager.removeReducer(t)},n=function(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}([pa(),$u("design:paramtypes",[Bu,cu,Nu])],e)}(R),Xu=[Yu];function Ku(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(r){var o;if("string"==typeof t){var i=Ju([e],n).filter(Boolean);o=r.pipe((function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return Y(function(t,e){return function(n){for(var r=n,o=0;o<e;o++){var i=r[t[o]];if(void 0===i)return;r=i}return r}}(t,n))(e)}}).apply(void 0,Ju([t],i)))}else{if("function"!=typeof t)throw new TypeError("Unexpected type '"+typeof t+"' in select operator, expected 'string' or 'function'");o=r.pipe(Y(function(n){return t(n,e)}))}return o.pipe(function(t){return t.lift(new au(void 0,void 0))})}}var tc=function(){return(tc=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},ec=function(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a},nc=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},rc=function(t,e){return function(n,r){e(n,r,t)}},oc=function(){return ec([ca({}),nc("design:paramtypes",[cu,ju,Hu,Yu])],function(t,e,n,r){})}(),ic=function(){function t(t,e,n,r){this.features=t,this.featureReducers=e,this.reducerManager=n;var o=t.map(function(t,n){var r=e.shift();return tc({},t,{reducers:r[n],initialState:lc(t.initialState)})});n.addFeatures(o)}return t.prototype.ngOnDestroy=function(){this.reducerManager.removeFeatures(this.features)},ec([ca({}),rc(0,$e(Cu)),rc(1,$e(_u)),nc("design:paramtypes",[Array,Array,Nu,oc])],t)}(),ac=function(){function t(){}return t.forRoot=function(t,e){return void 0===e&&(e={}),{ngModule:oc,providers:[{provide:pu,useValue:e.initialState},{provide:fu,useFactory:lc,deps:[pu]},{provide:mu,useValue:t},{provide:bu,useExisting:t instanceof xt?t:mu},{provide:vu,deps:[ii,mu,[new $e(bu)]],useFactory:sc},{provide:gu,useValue:e.metaReducers?e.metaReducers:[]},{provide:hu,useValue:e.reducerFactory?e.reducerFactory:ku},{provide:du,deps:[hu,gu],useFactory:Au},lu,Mu,Uu,Gu,Xu]}},t.forFeature=function(t,e,n){return void 0===n&&(n={}),{ngModule:ic,providers:[{provide:Su,multi:!0,useValue:n},{provide:yu,multi:!0,useValue:{key:t,reducerFactory:n instanceof xt||!n.reducerFactory?ku:n.reducerFactory,metaReducers:n instanceof xt||!n.metaReducers?[]:n.metaReducers,initialState:n instanceof xt||!n.initialState?void 0:n.initialState}},{provide:Cu,deps:[ii,Su,yu],useFactory:uc},{provide:wu,multi:!0,useValue:e},{provide:xu,multi:!0,useExisting:e instanceof xt?e:wu},{provide:_u,multi:!0,deps:[ii,wu,[new $e(xu)]],useFactory:cc}]}},ec([ca({})],t)}();function sc(t,e,n){return e instanceof xt?t.get(e):e}function uc(t,e,n){return n.map(function(n,r){if(e[r]instanceof xt){var o=t.get(e[r]);return{key:n.key,reducerFactory:o.reducerFactory?o.reducerFactory:ku,metaReducers:o.metaReducers?o.metaReducers:[],initialState:o.initialState}}return n})}function cc(t,e,n){return e.map(function(e,n){return e instanceof xt?t.get(e):e})}function lc(t){return"function"==typeof t?t():t}function pc(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}pc.prototype=Object.create(Error.prototype);var fc=pc,dc={},hc=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new vc(t,this.resultSelector))},t}(),vc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return o(e,t),e.prototype._next=function(t){this.values.push(dc),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Q(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,a=this.toRespond?i[n]===dc?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(J);function mc(t){return new R(function(e){var n;try{n=t()}catch(r){return void e.error(r)}return(n?et(n):qs()).subscribe(e)})}function gc(){return at(1)}function yc(t,e){return function(n){return n.lift(new bc(t,e))}}var bc=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new wc(t,this.predicate,this.thisArg))},t}(),wc=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return o(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(_);function Sc(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Sc.prototype=Object.create(Error.prototype);var Cc=Sc;function xc(t){return function(e){return 0===t?qs():e.lift(new _c(t))}}var _c=function(){function t(t){if(this.total=t,this.total<0)throw new Cc}return t.prototype.call=function(t,e){return e.subscribe(new Ec(t,this.total))},t}(),Ec=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=e++%n;t.next(r[i])}t.complete()},e}(_);function Tc(t,e,n){return function(r){return r.lift(new kc(t,e,n))}}var kc=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Oc(t,this.nextOrObserver,this.error,this.complete))},t}(),Oc=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=k,i._tapError=k,i._tapComplete=k,i._tapError=r||k,i._tapComplete=o||k,h(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||k,i._tapError=n.error||k,i._tapComplete=n.complete||k),i}return o(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(_),Ac=function(t){return void 0===t&&(t=Rc),Tc({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function Rc(){return new fc}function Ic(t){return void 0===t&&(t=null),function(e){return e.lift(new Pc(t))}}var Pc=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new jc(t,this.defaultValue))},t}(),jc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return o(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(_);function Dc(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?yc(function(e,n){return t(e,n,r)}):it,xc(1),n?Ic(e):Ac(function(){return new fc}))}}function Nc(t){return function(e){var n=new Mc(t),r=e.lift(n);return n.caught=r}}var Mc=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Lc(t,this.selector,this.caught))},t}(),Lc=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return o(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(o){return void t.prototype.error.call(this,o)}this._unsubscribeAndRecycle();var r=new U(this,void 0,void 0);this.add(r),Q(this,n,void 0,void 0,r)}},e}(J);function Hc(t){return function(e){return 0===t?qs():e.lift(new Uc(t))}}var Uc=function(){function t(t){if(this.total=t,this.total<0)throw new Cc}return t.prototype.call=function(t,e){return e.subscribe(new qc(t,this.total))},t}(),qc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return o(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(_);function Fc(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?yc(function(e,n){return t(e,n,r)}):it,Hc(1),n?Ic(e):Ac(function(){return new fc}))}}var Vc=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new Bc(t,this.predicate,this.thisArg,this.source))},t}(),Bc=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return o(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(_);function zc(t,e){return"function"==typeof e?function(n){return n.pipe(zc(function(n,r){return et(t(n,r)).pipe(Y(function(t,o){return e(n,t,r,o)}))}))}:function(e){return e.lift(new Wc(t))}}var Wc=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Gc(t,this.project))},t}(),Gc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return o(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new U(this,void 0,void 0);this.destination.add(o),this.innerSubscription=Q(this,t,e,n,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}(J);function Zc(t,e){return nt(t,e,1)}var $c=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Qc(t,this.callback))},t}(),Qc=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new g(n)),r}return o(e,t),e}(_),Jc=function(){return function(t,e){this.id=t,this.url=e}}(),Yc=function(t){function e(e,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=t.call(this,e,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return o(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(Jc),Xc=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(Jc),Kc=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.reason=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(Jc),tl=function(t){function e(e,n,r){var o=t.call(this,e,n)||this;return o.error=r,o}return o(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(Jc),el=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Jc),nl=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Jc),rl=function(t){function e(e,n,r,o,i){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return o(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(Jc),ol=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Jc),il=function(t){function e(e,n,r,o){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return o(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(Jc),al=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),sl=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),ul=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),cl=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),ll=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),pl=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),fl=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),dl=function(){return function(){}}(),hl="primary",vl=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function ml(t){return new vl(t)}var gl="ngNavigationCancelingError";function yl(t){var e=Error("NavigationCancelingError: "+t);return e[gl]=!0,e}function bl(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],s=t[i];if(a.startsWith(":"))o[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,r.length),posParams:o}}var wl=function(){return function(t,e){this.routes=t,this.module=e}}();function Sl(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];Cl(r,xl(e,r))}}function Cl(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==hl)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&Sl(t.children,e)}function xl(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function _l(t){var e=t.children&&t.children.map(_l),n=e?i({},t,{children:e}):i({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==hl&&(n.component=dl),n}function El(t,e){var n,r=Object.keys(t),o=Object.keys(e);if(r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(t[n=r[i]]!==e[n])return!1;return!0}function Tl(t){return Array.prototype.concat.apply([],t)}function kl(t){return t.length>0?t[t.length-1]:null}function Ol(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Al(t){return(e=t)&&"function"==typeof e.subscribe?t:ba(t)?et(Promise.resolve(t)):Js(t);var e}function Rl(t,e,n){return n?function(t,e){return El(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Dl(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,o){if(n.segments.length>o.length)return!!Dl(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!Dl(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!t(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!Dl(n.segments,a)&&!!n.children[hl]&&e(n.children[hl],r,s)}(e,n,n.segments)}(t.root,e.root)}var Il=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ml(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Hl.serialize(this)},t}(),Pl=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,Ol(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Ul(this)},t}(),jl=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=ml(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Wl(this)},t}();function Dl(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function Nl(t,e){var n=[];return Ol(t.children,function(t,r){r===hl&&(n=n.concat(e(t,r)))}),Ol(t.children,function(t,r){r!==hl&&(n=n.concat(e(t,r)))}),n}var Ml=function(){return function(){}}(),Ll=function(){function t(){}return t.prototype.parse=function(t){var e=new Jl(t);return new Il(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Ul(e);if(n){var r=e.children[hl]?t(e.children[hl],!1):"",o=[];return Ol(e.children,function(e,n){n!==hl&&o.push(n+":"+t(e,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=Nl(e,function(n,r){return r===hl?[t(e.children[hl],!1)]:[r+":"+t(n,!1)]});return Ul(e)+"/("+i.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Fl(t)+"="+Fl(e)}).join("&"):Fl(t)+"="+Fl(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Hl=new Ll;function Ul(t){return t.segments.map(function(t){return Wl(t)}).join("/")}function ql(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Fl(t){return ql(t).replace(/%3B/gi,";")}function Vl(t){return ql(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bl(t){return decodeURIComponent(t)}function zl(t){return Bl(t.replace(/\+/g,"%20"))}function Wl(t){return""+Vl(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Vl(t)+"="+Vl(e[t])}).join(""));var e}var Gl=/^[^\/()?;=#]+/;function Zl(t){var e=t.match(Gl);return e?e[0]:""}var $l=/^[^=?&#]+/,Ql=/^[^?&#]+/,Jl=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pl([],{}):new Pl([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[hl]=new Pl(t,e)),n},t.prototype.parseSegment=function(){var t=Zl(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new jl(Bl(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=Zl(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=Zl(this.remaining);r&&this.capture(n=r)}t[Bl(e)]=Bl(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match($l))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(t){var e=t.match(Ql);return e?e[0]:""}(this.remaining);o&&this.capture(r=o)}var i=zl(n),a=zl(r);if(t.hasOwnProperty(i)){var s=t[i];Array.isArray(s)||(t[i]=s=[s]),s.push(a)}else t[i]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Zl(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=hl);var i=this.parseChildren();e[o]=1===Object.keys(i).length?i[hl]:new Pl([],i),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Yl=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Xl(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Xl(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=Kl(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return Kl(t,this._root).map(function(t){return t.value})},t}();function Xl(t,e){var n,r;if(t===e.value)return e;try{for(var o=c(e.children),i=o.next();!i.done;i=o.next()){var a=Xl(t,i.value);if(a)return a}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function Kl(t,e){var n,r;if(t===e.value)return[e];try{for(var o=c(e.children),i=o.next();!i.done;i=o.next()){var a=Kl(t,i.value);if(a.length)return a.unshift(e),a}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return[]}var tp=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function ep(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var np=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,up(r,e),r}return o(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Yl);function rp(t,e){var n=function(t,e){var n=new ap([],{},{},"",{},hl,e,null,t.root,-1,{});return new sp("",new tp(n,[]))}(t,e),r=new Ws([new jl("",{})]),o=new Ws({}),i=new Ws({}),a=new Ws({}),s=new Ws(""),u=new op(r,o,a,s,i,hl,e,n.root);return u.snapshot=n.root,new np(new tp(u,[]),n)}var op=function(){function t(t,e,n,r,o,i,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Y(function(t){return ml(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Y(function(t){return ml(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function ip(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:i({},t.params,e.params),data:i({},t.data,e.data),resolve:i({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var ap=function(){function t(t,e,n,r,o,i,a,s,u,c,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ml(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ml(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),sp=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,up(r,n),r}return o(e,t),e.prototype.toString=function(){return cp(this._root)},e}(Yl);function up(t,e){e.value._routerState=t,e.children.forEach(function(e){return up(t,e)})}function cp(t){var e=t.children.length>0?" { "+t.children.map(cp).join(", ")+" } ":"";return""+t.value+e}function lp(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,El(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),El(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!El(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),El(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function pp(t,e){var n,r;return El(t.params,e.params)&&Dl(n=t.url,r=e.url)&&n.every(function(t,e){return El(t.parameters,r[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||pp(t.parent,e.parent))}function fp(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function dp(t,e,n,r,o){var i={};return r&&Ol(r,function(t,e){i[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new Il(n.root===t?e:function t(e,n,r){var o={};return Ol(e.children,function(e,i){o[i]=e===n?r:t(e,n,r)}),new Pl(e.segments,o)}(n.root,t,e),i,o)}var hp=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&fp(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==kl(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),vp=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function mp(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[hl]:""+t}function gp(t,e,n){if(t||(t=new Pl([],{})),0===t.segments.length&&t.hasChildren())return yp(t,e,n);var r=function(t,e,n){for(var r=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};o<t.segments.length;){if(r>=n.length)return i;var a=t.segments[o],s=mp(n[r]),u=r<n.length-1?n[r+1]:null;if(o>0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!Cp(s,u,a))return i;r+=2}else{if(!Cp(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(t,e,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var i=new Pl(t.segments.slice(0,r.pathIndex),{});return i.children[hl]=new Pl(t.segments.slice(r.pathIndex),t.children),yp(i,0,o)}return r.match&&0===o.length?new Pl(t.segments,{}):r.match&&!t.hasChildren()?bp(t,e,n):r.match?yp(t,0,o):bp(t,e,n)}function yp(t,e,n){if(0===n.length)return new Pl(t.segments,{});var r=function(t){var e,n;return"object"!=typeof t[0]?((e={})[hl]=t,e):void 0===t[0].outlets?((n={})[hl]=t,n):t[0].outlets}(n),o={};return Ol(r,function(n,r){null!==n&&(o[r]=gp(t.children[r],e,n))}),Ol(t.children,function(t,e){void 0===r[e]&&(o[e]=t)}),new Pl(t.segments,o)}function bp(t,e,n){for(var r=t.segments.slice(0,e),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=wp(n[o].outlets);return new Pl(r,i)}if(0===o&&fp(n[0]))r.push(new jl(t.segments[e].path,n[0])),o++;else{var a=mp(n[o]),s=o<n.length-1?n[o+1]:null;a&&s&&fp(s)?(r.push(new jl(a,Sp(s))),o+=2):(r.push(new jl(a,{})),o++)}}return new Pl(r,{})}function wp(t){var e={};return Ol(t,function(t,n){null!==t&&(e[n]=bp(new Pl([],{}),0,t))}),e}function Sp(t){var e={};return Ol(t,function(t,n){return e[n]=""+t}),e}function Cp(t,e,n){return t==n.path&&El(e,n.parameters)}var xp=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),lp(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,o=ep(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,o[e],n),delete o[e]}),Ol(o,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:o})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var o=ep(t),i=t.value.component?r.children:e;Ol(o,function(t,e){return n.deactivateRouteAndItsChildren(t,i)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,o=ep(e);t.children.forEach(function(t){r.activateRoutes(t,o[t.value.outlet],n),r.forwardEvent(new pl(t.value.snapshot))}),t.children.length&&this.forwardEvent(new cl(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,o=e?e.value:null;if(lp(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component)if(i=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),i.children.onOutletReAttached(a.contexts),i.attachRef=a.componentRef,i.route=a.route.value,i.outlet&&i.outlet.attach(a.componentRef,a.route.value),_p(a.route)}else{var s=function(t){for(var e=r.snapshot.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),u=s?s.module.componentFactoryResolver:null;i.attachRef=null,i.route=r,i.resolver=u,i.outlet&&i.outlet.activateWith(r,u),this.activateChildRoutes(t,null,i.children)}else this.activateChildRoutes(t,null,n)},t}();function _p(t){lp(t.value),t.children.forEach(_p)}function Ep(t){return"function"==typeof t}function Tp(t){return t instanceof Il}var kp=function(){return function(t){this.segmentGroup=t||null}}(),Op=function(){return function(t){this.urlTree=t}}();function Ap(t){return new R(function(e){return e.error(new kp(t))})}function Rp(t){return new R(function(e){return e.error(new Op(t))})}function Ip(t){return new R(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Pp=function(){function t(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(xi)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,hl).pipe(Y(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(Nc(function(e){if(e instanceof Op)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof kp)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,hl).pipe(Y(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(Nc(function(t){if(t instanceof kp)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,o=t.segments.length>0?new Pl([],((r={})[hl]=t,r)):t;return new Il(o,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Y(function(t){return new Pl([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Js({});var i=[],a=[],s={};return Ol(n,function(n,o){var u,c,l=(u=o,c=n,r.expandSegmentGroup(t,e,c,u)).pipe(Y(function(t){return s[o]=t}));o===hl?i.push(l):a.push(l)}),Js.apply(null,i.concat(a)).pipe(gc(),Dc(),Y(function(){return s}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,o,i){var a=this;return Js.apply(void 0,p(n)).pipe(Y(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,r,o,i).pipe(Nc(function(t){if(t instanceof kp)return Js(null);throw t}))}),gc(),Fc(function(t){return!!t}),Nc(function(t,n){if(t instanceof fc||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,r,o))return Js(new Pl([],{}));throw new kp(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,o,i,a){return Mp(r)!==i?Ap(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i):Ap(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,o,i)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Rp(i):this.lineralizeSegments(n,i).pipe(nt(function(n){var i=new Pl(n,{});return o.expandSegment(t,i,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,o,i){var a=this,s=jp(e,r,o),u=s.consumedSegments,c=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return Ap(e);var p=this.applyRedirectCommands(u,r.redirectTo,l);return r.redirectTo.startsWith("/")?Rp(p):this.lineralizeSegments(r,p).pipe(nt(function(r){return a.expandSegment(t,e,n,r.concat(o.slice(c)),i,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Y(function(t){return n._loadedConfig=t,new Pl(r,{})})):Js(new Pl(r,{}));var a=jp(e,n,r),s=a.consumedSegments,u=a.lastChild;if(!a.matched)return Ap(e);var l=r.slice(u);return this.getChildConfig(t,n,r).pipe(nt(function(t){var n=t.module,r=t.routes,a=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return Np(t,e,n)&&Mp(n)!==hl})}(t,n)?{segmentGroup:Dp(new Pl(e,function(t,e){var n,r,o={};o[hl]=e;try{for(var i=c(t),a=i.next();!a.done;a=i.next()){var s=a.value;""===s.path&&Mp(s)!==hl&&(o[Mp(s)]=new Pl([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}(r,new Pl(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return Np(t,e,n)})}(t,n)?{segmentGroup:Dp(new Pl(t.segments,function(t,e,n,r){var o,a,s={};try{for(var u=c(n),l=u.next();!l.done;l=u.next()){var p=l.value;Np(t,e,p)&&!r[Mp(p)]&&(s[Mp(p)]=new Pl([],{}))}}catch(f){o={error:f}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return i({},r,s)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,l,r),u=a.segmentGroup,p=a.slicedSegments;return 0===p.length&&u.hasChildren()?o.expandChildren(n,r,u).pipe(Y(function(t){return new Pl(s,t)})):0===r.length&&0===p.length?Js(new Pl(s,{})):o.expandSegment(n,u,r,p,hl,!0).pipe(Y(function(t){return new Pl(s.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var r=this;return e.children?Js(new wl(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Js(e._loadedConfig):function(t,e,n){var r,o=e.canLoad;return o&&0!==o.length?et(o).pipe(Y(function(r){var o,i=t.get(r);if(function(t){return t&&Ep(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!Ep(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return Al(o)})).pipe(gc(),(r=function(t){return!0===t},function(t){return t.lift(new Vc(r,void 0,t))})):Js(!0)}(t.injector,e,n).pipe(nt(function(n){return n?r.configLoader.load(t.injector,e).pipe(Y(function(t){return e._loadedConfig=t,t})):function(t){return new R(function(e){return e.error(yl("Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false"))})}(e)})):Js(new wl([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Js(n);if(r.numberOfChildren>1||!r.children[hl])return Ip(t.redirectTo);r=r.children[hl]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var o=this.createSegmentGroup(t,e.root,n,r);return new Il(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return Ol(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var o=t.substring(1);n[r]=e[o]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var o=this,i=this.createSegments(t,e.segments,n,r),a={};return Ol(e.children,function(e,i){a[i]=o.createSegmentGroup(t,e,n,r)}),new Pl(i,a)},t.prototype.createSegments=function(t,e,n,r){var o=this;return e.map(function(e){return e.path.startsWith(":")?o.findPosParam(t,e,r):o.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,o=0;try{for(var i=c(e),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.path===t.path)return e.splice(o),s;o++}}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return t},t}();function jp(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||bl)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Dp(t){if(1===t.numberOfChildren&&t.children[hl]){var e=t.children[hl];return new Pl(t.segments.concat(e.segments),e.children)}return t}function Np(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Mp(t){return t.outlet||hl}var Lp=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),Hp=function(){return function(t,e){this.component=t,this.route=e}}();function Up(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function qp(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=ep(e);return t.children.forEach(function(t){!function(t,e,n,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var i=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Dl(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Dl(t.url,e.url)||!El(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!pp(t,e)||!El(t.queryParams,e.queryParams);case"paramsChange":default:return!pp(t,e)}}(a,i,i.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Lp(r)):(i.data=a.data,i._resolvedData=a._resolvedData),qp(t,e,i.component?s?s.children:null:n,r,o),u&&o.canDeactivateChecks.push(new Hp(s&&s.outlet&&s.outlet.component||null,a))}else a&&Fp(e,s,o),o.canActivateChecks.push(new Lp(r)),qp(t,null,i.component?s?s.children:null:n,r,o)}(t,i[t.value.outlet],n,r.concat([t.value]),o),delete i[t.value.outlet]}),Ol(i,function(t,e){return Fp(t,n.getContext(e),o)}),o}function Fp(t,e,n){var r=ep(t),o=t.value;Ol(r,function(t,r){Fp(t,o.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Hp(o.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,o))}var Vp=Symbol("INITIAL_VALUE");function Bp(){return zc(function(t){return(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return H(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&f(t[0])&&(t=t[0]),tt(t,r).lift(new hc(n))}).apply(void 0,p(t.map(function(t){return t.pipe(Hc(1),function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];H(n)?t.pop():n=null;var r=t.length;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return gc()(Js.apply(void 0,t))}(1!==r||n?r>0?tt(t,n):qs(n):Qs(t[0]),e)}}(Vp))}))).pipe(ru(function(t,e){var n=!1;return e.reduce(function(t,r,o){if(t!==Vp)return t;if(r===Vp&&(n=!0),!n){if(!1===r)return r;if(o===e.length-1||Tp(r))return r}return t},t)},Vp),yc(function(t){return t!==Vp}),Y(function(t){return Tp(t)?t:!0===t}),Hc(1))})}function zp(t,e){return null!==t&&e&&e(new ll(t)),Js(!0)}function Wp(t,e){return null!==t&&e&&e(new ul(t)),Js(!0)}function Gp(t,e,n){var r=e.routeConfig?e.routeConfig.canActivate:null;return r&&0!==r.length?Js(r.map(function(r){return mc(function(){var o,i=Up(r,e,n);if(function(t){return t&&Ep(t.canActivate)}(i))o=Al(i.canActivate(e,t));else{if(!Ep(i))throw new Error("Invalid CanActivate guard");o=Al(i(e,t))}return o.pipe(Fc())})})).pipe(Bp()):Js(!0)}function Zp(t,e,n){var r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t}).map(function(e){return mc(function(){return Js(e.guards.map(function(o){var i,a=Up(o,e.node,n);if(function(t){return t&&Ep(t.canActivateChild)}(a))i=Al(a.canActivateChild(r,t));else{if(!Ep(a))throw new Error("Invalid CanActivateChild guard");i=Al(a(r,t))}return i.pipe(Fc())})).pipe(Bp())})});return Js(o).pipe(Bp())}var $p=function(){return function(){}}(),Qp=function(){function t(t,e,n,r,o,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}return t.prototype.recognize=function(){try{var t=Xp(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,hl),n=new ap([],Object.freeze({}),Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,{},hl,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new tp(n,e),o=new sp(this.url,r);return this.inheritParamsAndData(o._root),Js(o)}catch(a){return new R(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=ip(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,o=Nl(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},o.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),o=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+o+"'.")}n[t.value.outlet]=t.value}),o.sort(function(t,e){return t.value.outlet===hl?-1:e.value.outlet===hl?1:t.value.outlet.localeCompare(e.value.outlet)}),o},t.prototype.processSegment=function(t,e,n,r){var o,i;try{for(var a=c(t),s=a.next();!s.done;s=a.next()){var u=s.value;try{return this.processSegmentAgainstRoute(u,e,n,r)}catch(l){if(!(l instanceof $p))throw l}}}catch(p){o={error:p}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new $p},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new $p;if((t.outlet||hl)!==r)throw new $p;var o,a=[],s=[];if("**"===t.path){var u=n.length>0?kl(n).parameters:{};o=new ap(n,u,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,ef(t),r,t.component,t,Jp(e),Yp(e)+n.length,nf(t))}else{var c=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new $p;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||bl)(n,t,e);if(!r)throw new $p;var o={};Ol(r.posParams,function(t,e){o[e]=t.path});var a=r.consumed.length>0?i({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=c.consumedSegments,s=n.slice(c.lastChild),o=new ap(a,c.parameters,Object.freeze(i({},this.urlTree.queryParams)),this.urlTree.fragment,ef(t),r,t.component,t,Jp(e),Yp(e)+a.length,nf(t))}var l=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),p=Xp(e,a,s,l,this.relativeLinkResolution),f=p.segmentGroup,d=p.slicedSegments;if(0===d.length&&f.hasChildren()){var h=this.processChildren(l,f);return[new tp(o,h)]}if(0===l.length&&0===d.length)return[new tp(o,[])];var v=this.processSegment(l,f,d,hl);return[new tp(o,v)]},t}();function Jp(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Yp(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Xp(t,e,n,r,o){if(n.length>0&&function(t,e,n){return r.some(function(n){return Kp(t,e,n)&&tf(n)!==hl})}(t,n)){var a=new Pl(e,function(t,e,n,r){var o,i,a={};a[hl]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var s=c(n),u=s.next();!u.done;u=s.next()){var l=u.value;if(""===l.path&&tf(l)!==hl){var p=new Pl([],{});p._sourceSegment=t,p._segmentIndexShift=e.length,a[tf(l)]=p}}}catch(f){o={error:f}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}return a}(t,e,r,new Pl(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return Kp(t,e,n)})}(t,n)){var s=new Pl(t.segments,function(t,e,n,r,o,a){var s,u,l={};try{for(var p=c(r),f=p.next();!f.done;f=p.next()){var d=f.value;if(Kp(t,n,d)&&!o[tf(d)]){var h=new Pl([],{});h._sourceSegment=t,h._segmentIndexShift="legacy"===a?t.segments.length:e.length,l[tf(d)]=h}}}catch(v){s={error:v}}finally{try{f&&!f.done&&(u=p.return)&&u.call(p)}finally{if(s)throw s.error}}return i({},o,l)}(t,e,n,r,t.children,o));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new Pl(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function Kp(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function tf(t){return t.outlet||hl}function ef(t){return t.data||{}}function nf(t){return t.resolve||{}}function rf(t,e,n,r){var o=Up(t,e,r);return Al(o.resolve?o.resolve(e,n):o(e,n))}function of(t){return function(e){return e.pipe(zc(function(e){var n=t(e);return n?et(n).pipe(Y(function(){return e})):et([e])}))}}var af=function(){return function(){}}(),sf=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),uf=new xt("ROUTES"),cf=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Y(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var o=r.create(t);return new wl(Tl(o.injector.get(uf)).map(_l),o)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?et(this.loader.load(t)):Al(t()).pipe(nt(function(t){return t instanceof _i?Js(t):et(e.compiler.compileModuleAsync(t))}))},t}(),lf=function(){return function(){}}(),pf=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function ff(t){throw t}function df(t,e,n){return e.parse("/")}function hf(t,e){return Js(null)}var vf=function(){function t(t,e,n,r,o,i,a,s){var u=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new M,this.errorHandler=ff,this.malformedUriErrorHandler=df,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:hf,afterPreactivation:hf},this.urlHandlingStrategy=new pf,this.routeReuseStrategy=new sf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(xi),this.console=o.get(Ta);var c=o.get(Fa);this.isNgZoneEnabled=c instanceof Fa,this.resetConfig(s),this.currentUrlTree=new Il(new Pl([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new cf(i,a,function(t){return u.triggerEvent(new al(t))},function(t){return u.triggerEvent(new sl(t))}),this.routerState=rp(this.currentUrlTree,this.rootComponentType),this.transitions=new Ws({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(yc(function(t){return 0!==t.id}),Y(function(t){return i({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),Tc(function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?i({},e.lastSuccessfulNavigation,{previousNavigation:null}):null}}),zc(function(t){var r,o,a,s,u=!1,l=!1;return Js(t).pipe(zc(function(t){var r,o,a,s,u=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||u)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Js(t).pipe(zc(function(t){var r=e.transitions.getValue();return n.next(new Yc(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?Us:[t]}),zc(function(t){return Promise.resolve(t)}),(r=e.ngModule.injector,o=e.configLoader,a=e.urlSerializer,s=e.config,function(t){return t.pipe(zc(function(t){return function(e,n,r,o,i){return new Pp(e,n,r,t.extractedUrl,i).apply()}(r,o,a,0,s).pipe(Y(function(e){return i({},t,{urlAfterRedirects:e})}))}))}),Tc(function(t){e.currentNavigation=i({},e.currentNavigation,{finalUrl:t.urlAfterRedirects})}),function(t,n,r,o,a){return function(r){return r.pipe(nt(function(r){return function(t,e,n,r,o,i){return void 0===o&&(o="emptyOnly"),void 0===i&&(i="legacy"),new Qp(t,e,n,r,o,i).recognize()}(t,n,r.urlAfterRedirects,(s=r.urlAfterRedirects,e.serializeUrl(s)),o,a).pipe(Y(function(t){return i({},r,{targetSnapshot:t})}));var s}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Tc(function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id),e.browserUrlTree=t.urlAfterRedirects)}),Tc(function(t){var r=new el(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)}));if(u&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var c=t.extractedUrl,l=t.source,p=t.restoredState,f=t.extras,d=new Yc(t.id,e.serializeUrl(c),l,p);n.next(d);var h=rp(c,e.rootComponentType).snapshot;return Js(i({},t,{targetSnapshot:h,urlAfterRedirects:c,extras:i({},f,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),Us}),of(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Tc(function(t){var n=new nl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),Y(function(t){return i({},t,{guards:(n=t.targetSnapshot,r=t.currentSnapshot,o=e.rootContexts,a=n._root,qp(a,r?r._root:null,o,[a.value]))});var n,r,o,a}),function(t,e){return function(n){return n.pipe(nt(function(n){var r=n.targetSnapshot,o=n.currentSnapshot,a=n.guards,s=a.canActivateChecks,u=a.canDeactivateChecks;return 0===u.length&&0===s.length?Js(i({},n,{guardsResult:!0})):function(t,e,n,r){return et(u).pipe(nt(function(t){return function(t,e,n,r,o){var i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return i&&0!==i.length?Js(i.map(function(i){var a,s=Up(i,e,o);if(function(t){return t&&Ep(t.canDeactivate)}(s))a=Al(s.canDeactivate(t,e,n,r));else{if(!Ep(s))throw new Error("Invalid CanDeactivate guard");a=Al(s(t,e,n,r))}return a.pipe(Fc())})).pipe(Bp()):Js(!0)}(t.component,t.route,n,e,r)}),Fc(function(t){return!0!==t},!0))}(0,r,o,t).pipe(nt(function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return et(s).pipe(Zc(function(e){return et([Wp(e.route.parent,r),zp(e.route,r),Zp(t,e.path,n),Gp(t,e.route,n)]).pipe(gc(),Fc(function(t){return!0!==t},!0))}),Fc(function(t){return!0!==t},!0))}(r,0,t,e):Js(n)}),Y(function(t){return i({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Tc(function(t){if(Tp(t.guardsResult)){var n=yl('Redirecting to "'+e.serializeUrl(t.guardsResult)+'"');throw n.url=t.guardsResult,n}}),Tc(function(t){var n=new rl(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),yc(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new Kc(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0}),of(function(t){if(t.guards.canActivateChecks.length)return Js(t).pipe(Tc(function(t){var n=new ol(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(nt(function(t){var e=t.targetSnapshot,o=t.guards.canActivateChecks;return o.length?et(o).pipe(Zc(function(t){return function(t,n,r,o){return function(t,e,n,r){var o=Object.keys(t);if(0===o.length)return Js({});if(1===o.length){var i=o[0];return rf(t[i],e,n,r).pipe(Y(function(t){var e;return(e={})[i]=t,e}))}var a={};return et(o).pipe(nt(function(o){return rf(t[o],e,n,r).pipe(Y(function(t){return a[o]=t,t}))})).pipe(Dc(),Y(function(){return a}))}(t._resolve,t,e,o).pipe(Y(function(e){return t._resolvedData=e,t.data=i({},t.data,ip(t,r).resolve),null}))}(t.route,0,n,r)}),function(t,e){return arguments.length>=2?function(e){return O(ru(t,void 0),xc(1),Ic(void 0))(e)}:function(e){return O(ru(function(e,n,r){return t(e)}),xc(1))(e)}}(function(t,e){return t}),Y(function(e){return t})):Js(t)}))}),Tc(function(t){var n=new il(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,r}),of(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Y(function(t){var n,r,o,a=(o=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){(u=r.value)._futureSnapshot=n.value;var o=function(e,n,r){return n.children.map(function(n){var o,i;try{for(var a=c(r.children),s=a.next();!s.done;s=a.next()){var u=s.value;if(e.shouldReuseRoute(u.value.snapshot,n.value))return t(e,n,u)}}catch(l){o={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}return t(e,n)})}(e,n,r);return new tp(u,o)}var i=e.retrieve(n.value);if(i){var a=i.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(n,a),a}var s,u=new op(new Ws((s=n.value).url),new Ws(s.params),new Ws(s.queryParams),new Ws(s.fragment),new Ws(s.data),s.outlet,s.component,s);return o=n.children.map(function(n){return t(e,n)}),new tp(u,o)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(r=t.currentRouterState)?r._root:void 0),new np(o,n));return i({},t,{targetRouterState:a})}),Tc(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)}),(o=e.rootContexts,a=e.routeReuseStrategy,s=function(t){return e.triggerEvent(t)},Y(function(t){return new xp(a,t.targetRouterState,t.currentRouterState,s).activate(o),t})),Tc({next:function(){u=!0},complete:function(){u=!0}}),(r=function(){if(!u&&!l){e.resetUrlToCurrentUrlTree();var r=new Kc(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(r),t.resolve(!1)}e.currentNavigation=null},function(t){return t.lift(new $c(r))}),Nc(function(r){if(l=!0,(s=r)&&s[gl]){e.navigated=!0;var o=Tp(r.url);o||e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var i=new Kc(t.id,e.serializeUrl(t.extractedUrl),r.message);n.next(i),t.resolve(!1),o&&e.navigateByUrl(r.url)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var a=new tl(t.id,e.serializeUrl(t.extractedUrl),r);n.next(a);try{t.resolve(e.errorHandler(r))}catch(u){t.reject(u)}}var s;return Us}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(i({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?e.state:null;setTimeout(function(){t.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.getCurrentNavigation=function(){return this.currentNavigation},t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Sl(t),this.config=t.map(_l),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,o=e.fragment,a=e.preserveQueryParams,s=e.queryParamsHandling,u=e.preserveFragment;Ii()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,l=u?this.currentUrlTree.fragment:o,f=null;if(s)switch(s){case"merge":f=i({},this.currentUrlTree.queryParams,r);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=r||null}else f=a?this.currentUrlTree.queryParams:r||null;return null!==f&&(f=this.removeEmptyProps(f)),function(t,e,n,r,o){if(0===n.length)return dp(e.root,e.root,e,r,o);var i=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new hp(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return Ol(r.outlets,function(t,e){i[e]="string"==typeof t?t.split("/"):t}),p(t,[{outlets:i}])}if(r.segmentPath)return p(t,[r.segmentPath])}return"string"!=typeof r?p(t,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):p(t,[r])},[]);return new hp(n,e,r)}(n);if(i.toRoot())return dp(e.root,new Pl([],{}),e,r,o);var a=function(t,n,r){if(t.isAbsolute)return new vp(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new vp(r.snapshot._urlSegment,!0,0);var o=fp(t.commands[0])?0:1;return function(e,n,i){for(var a=r.snapshot._urlSegment,s=r.snapshot._lastPathIndex+o,u=t.numberOfDoubleDots;u>s;){if(u-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new vp(a,!1,s-u)}()}(i,0,t),s=a.processChildren?yp(a.segmentGroup,a.index,i.commands):gp(a.segmentGroup,a.index,i.commands);return dp(a.segmentGroup,s,e,r,o)}(c,this.currentUrlTree,t,f,l)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Ii()&&this.isNgZoneEnabled&&!Fa.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Tp(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(Tp(t))return Rl(this.currentUrlTree,t,e);var n=this.parseUrl(t);return Rl(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var r=t[n];return null!=r&&(e[n]=r),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new Xc(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,r){var o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);var i=null,a=null,s=new Promise(function(t,e){i=t,a=e}),u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:i,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n,r){var o=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(o)||e?this.location.replaceState(o,"",i({},r,{navigationId:n})):this.location.go(o,"",i({},r,{navigationId:n}))},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),mf=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new gf,this.attachRef=null}}(),gf=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new mf,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),yf=function(){return function(){}}(),bf=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(Nc(function(){return Js(null)}))},t}(),wf=function(){function t(){}return t.prototype.preload=function(t,e){return Js(null)},t}(),Sf=function(){function t(t,e,n,r,o){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=new cf(e,n,function(e){return t.triggerEvent(new al(e))},function(e){return t.triggerEvent(new sl(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(yc(function(t){return t instanceof Xc}),Zc(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(xi);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,r,o=[];try{for(var i=c(e),a=i.next();!a.done;a=i.next()){var s=a.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var u=s._loadedConfig;o.push(this.processRoutes(u.module,u.routes))}else s.loadChildren&&!s.canLoad?o.push(this.preloadConfig(t,s)):s.children&&o.push(this.processRoutes(t,s.children))}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return et(o).pipe(at(),Y(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(nt(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),Cf=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Yc?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Xc&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof fl&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new fl(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),xf=new xt("ROUTER_CONFIGURATION"),_f=new xt("ROUTER_FORROOT_GUARD"),Ef=[hs,{provide:Ml,useClass:Ll},{provide:vf,useFactory:function(t,e,n,r,o,i,a,s,u,c,l){void 0===u&&(u={});var p=new vf(null,e,n,r,o,i,a,Tl(s));if(c&&(p.urlHandlingStrategy=c),l&&(p.routeReuseStrategy=l),u.errorHandler&&(p.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(p.malformedUriErrorHandler=u.malformedUriErrorHandler),u.enableTracing){var f=xs();p.events.subscribe(function(t){f.logGroup("Router Event: "+t.constructor.name),f.log(t.toString()),f.log(t),f.logGroupEnd()})}return u.onSameUrlNavigation&&(p.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.urlUpdateStrategy&&(p.urlUpdateStrategy=u.urlUpdateStrategy),u.relativeLinkResolution&&(p.relativeLinkResolution=u.relativeLinkResolution),p},deps:[os,Ml,gf,hs,ii,Yi,Da,uf,xf,[lf,new Qe],[af,new Qe]]},gf,{provide:op,useFactory:function(t){return t.routerState.root},deps:[vf]},{provide:Yi,useClass:ss},Sf,wf,bf,{provide:xf,useValue:{enableTracing:!1}}];function Tf(){return new Ka("Router",vf)}var kf=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[Ef,If(t),{provide:_f,useFactory:Rf,deps:[[vf,new Qe,new Ye]]},{provide:xf,useValue:n||{}},{provide:fs,useFactory:Af,deps:[ls,[new $e(ds),new Qe],xf]},{provide:Cf,useFactory:Of,deps:[vf,ws,xf]},{provide:yf,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:wf},{provide:Ka,multi:!0,useFactory:Tf},[Pf,{provide:wa,multi:!0,useFactory:jf,deps:[Pf]},{provide:Nf,useFactory:Df,deps:[Pf]},{provide:Ea,multi:!0,useExisting:Nf}]]}},t.forChild=function(t){return{ngModule:e,providers:[If(t)]}},t}();function Of(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Cf(t,e,n)}function Af(t,e,n){return void 0===n&&(n={}),n.useHash?new ms(t,e):new gs(t,e)}function Rf(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function If(t){return[{provide:At,multi:!0,useValue:t},{provide:uf,multi:!0,useValue:t}]}var Pf=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new M}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(ps,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),r=t.injector.get(vf),o=t.injector.get(xf);if(t.isLegacyDisabled(o)||t.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '"+o.initialNavigation+"'");r.hooks.afterPreactivation=function(){return t.initNavigation?Js(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(xf),n=this.injector.get(Sf),r=this.injector.get(Cf),o=this.injector.get(vf),i=this.injector.get(os);t===i.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function jf(t){return t.appInitializer.bind(t)}function Df(t){return t.bootstrapListener.bind(t)}var Nf=new xt("Router Initializer"),Mf=function(){function t(){}return t.prototype.getLatestComment=function(t){if(t&&t.length>0)return t[t.length-1].body},t.prototype.compareByProperty=function(t){return function(e,n){return e[t]>n[t]?-1:e[t]<n[t]?1:0}},t.prototype.clone=function(t){return null==t||"object"!=typeof t?t:Object.assign({},t)},t.prototype.concatenateAndSort=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&Array.isArray(t[n])&&(e=e.concat(t[n]));return e.sort(this.compareByProperty("insertionCounter")),e},t.ngInjectableDef=wt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Lf=n("arzS"),Hf=n("EVdn"),Uf=function(){function t(t){this.helper=t,this.createRepoWidgetCreated=!1,this.commandCardCounter=1,this.widgets=Hf("#widgets"),this.commandPromptEnteredWithValue=new Pi,this.commandPromptEnteredEmpty=new Pi,this.intentIdentified=new Pi,this.widgetIdentified=new Pi,this.repeatRequested=new Pi}return t.prototype.displayIntentBox=function(t){var e=document.getElementById("intentBox");this.isVisible(e)||(e.classList.remove("hide"),this.intentIdentified.emit()),Hf("#intentName").text(Lf.intentSlugToOperations[t].intentMessage+" [slug: "+t+"].")},t.prototype.showEmptyCommandMessage=function(t){Hf("#randomModal").text(t),Hf("#emptyCommandMsgDisplayer").click(),this.commandPromptEnteredEmpty.emit()},t.prototype.populateRecastData=function(t,e){var n=Lf.intentSlugToOperations[t].populateDataOperation;"function"==typeof this[n]&&this[n](e)},t.prototype.populateCreateRepoData=function(t){var e=document.getElementById("repositoryName");e&&t&&t.entities["git-repository"]&&t.entities["git-repository"].length>0&&t.entities["git-repository"][0].value&&(e.value=t.entities["git-repository"][0].value)},t.prototype.populateCreateIssueData=function(t){var e=document.getElementById("issueTitle"),n=document.getElementById("issueRepository");e&&t&&t.entities.issue_title&&t.entities.issue_title.length>0&&t.entities.issue_title[0].value&&(e.value=t.entities.issue_title[0].value),n&&t&&t.entities["git-repository"]&&t.entities["git-repository"].length>0&&t.entities["git-repository"][0].value&&(n.value=t.entities["git-repository"][0].value)},t.prototype.populateCloseIssueData=function(t){var e=document.getElementById("issueNumerToClose"),n=document.getElementById("repoForIssueClose");e&&t&&t.entities.issue_id&&t.entities.issue_id.length>0&&t.entities.issue_id[0].value&&(e.value=t.entities.issue_id[0].value),n&&t&&t.entities["git-repository"]&&t.entities["git-repository"].length>0&&t.entities["git-repository"][0].value&&(n.value=t.entities["git-repository"][0].value)},t.prototype.populateAddCollaboratorData=function(t){var e=document.getElementById("collaboratorName"),n=document.getElementById("repoForCollab");e&&t&&t.entities.git_collaborator&&t.entities.git_collaborator.length>0&&t.entities.git_collaborator[0].value&&(e.value=t.entities.git_collaborator[0].value),n&&t&&t.entities["git-repository"]&&t.entities["git-repository"].length>0&&t.entities["git-repository"][0].value&&(n.value=t.entities["git-repository"][0].value)},t.prototype.populateAddCommentData=function(t){var e=document.getElementById("repoForIssueComment"),n=document.getElementById("issueNumber"),r=document.getElementById("issueComment");e&&t&&t.entities["git-repository"]&&t.entities["git-repository"].length>0&&t.entities["git-repository"][0].value&&(e.value=t.entities["git-repository"][0].value),n&&t&&t.entities.issue_id&&t.entities.issue_id.length>0&&t.entities.issue_id[0].value&&(n.value=t.entities.issue_id[0].value),r&&t&&t.entities.issue_comment&&t.entities.issue_comment.length>0&&t.entities.issue_comment[0].value&&(r.value=t.entities.issue_comment[0].value)},t.prototype.populateDisplayCommentData=function(t){var e=document.getElementById("issueNumberForCommentView"),n=document.getElementById("repoForCommentView");e&&t&&t.entities.issue_id&&t.entities.issue_id.length>0&&t.entities.issue_id[0].value&&(e.value=t.entities.issue_id[0].value),n&&t&&t.entities["git-repository"]&&t.entities["git-repository"].length>0&&t.entities["git-repository"][0].value&&(n.value=t.entities["git-repository"][0].value)},t.prototype.isVisible=function(t){return!!t&&!t.classList.contains("hide")},t.prototype.getDataFromFormAsJSON=function(){var t={},e=window.localStorage.getItem(Lf.constants.hiddenIntentFieldId);if(e){var n=Lf.intentSlugToOperations[e].getDataOperation;"function"==typeof this[n]&&(t=this[n]())}return t},t.prototype.getCreateRepoJson=function(){var t={},e={};return this.isVisible(document.getElementById("createrepo"))&&(e.name=document.getElementById("repositoryName").value,e.description=document.getElementById("description").value,e.homepage=document.getElementById("homePageURL").value,e.private=document.getElementById("privateRepoChk").checked,e.has_issues=document.getElementById("issuesChk").checked,e.has_wiki=document.getElementById("wikiChk").checked),t.request=e,t},t.prototype.getCreateIssueJson=function(){var t={urlParams:{}},e={};return this.isVisible(document.getElementById("createissue"))&&(e.title=document.getElementById("issueTitle").value,e.body=document.getElementById("description").value,e.assignees=document.getElementById("assignees").value?document.getElementById("assignees").value.split(","):[],e.labels=document.getElementById("labels").value?document.getElementById("labels").value.split(","):[],t.urlParams.repoName=document.getElementById("issueRepository").value),t.request=e,t},t.prototype.getCloseIssueJson=function(){var t={urlParams:{}};return this.isVisible(document.getElementById("closeissue"))&&(t.urlParams.issueId=document.getElementById("issueNumerToClose").value,t.urlParams.repoName=document.getElementById("repoForIssueClose").value),t},t.prototype.getAddCollaboratorJson=function(){var t={urlParams:{}};return this.isVisible(document.getElementById("addcollab"))&&(t.urlParams.collaborator=document.getElementById("collaboratorName").value,t.urlParams.repoName=document.getElementById("repoForCollab").value),t},t.prototype.getAddCommentJson=function(){var t={urlParams:{}},e={};return this.isVisible(document.getElementById("addissuecomment"))&&(e.body=document.getElementById("issueComment").value,t.urlParams.issueId=document.getElementById("issueNumber").value,t.urlParams.repoName=document.getElementById("repoForIssueComment").value),t.request=e,t},t.prototype.getDisplayCommentJson=function(){var t={urlParams:{}};return this.isVisible(document.getElementById("displaylastcomment"))&&(t.urlParams.issueId=document.getElementById("issueNumberForCommentView").value,t.urlParams.repoName=document.getElementById("repoForCommentView").value),t},t.prototype.addGitOperationHistory=function(t){var e=t.intent,n="";e&&(n=Lf.intentSlugToOperations[e].requestMethod);var r,o,i=document.getElementById("conversations"),a=document.createElement("div"),s=document.createElement("div"),u=document.createElement("h5"),c=document.createElement("a"),l=document.createElement("h6"),p=document.createElement("p"),f=document.createElement("div"),d=document.createElement("small"),h=document.createElement("div");if(a.classList.add("card"),s.classList.add("card-body"),u.classList.add("card-title"),c.classList.add("close"),p.classList.add("card-text"),f.classList.add("card-footer"),d.classList.add("text-muted"),h.classList.add("line"),l.innerHTML="x","command"===t.type){u.innerHTML="You Said",p.innerHTML=t.command,a.classList.add("light-red");var v=document.createElement("a");v.classList.add("btn","btn-info","float-right"),v.setAttribute("role","button"),v.setAttribute("href","#"),v.setAttribute("id","btnRepeatCommand"+t.insertionCounter),v.innerHTML="Repeat",p.appendChild(v)}else"response"===t.type?(u.innerHTML="Server Responded As..","post"==n?p.innerHTML=Lf.intentSlugToOperations[e].cardMsg+"<a class='repoLink' href='"+t[Lf.intentSlugToOperations[e].cardDataUrl]+"'>"+this.getVariable(t,Lf.intentSlugToOperations[e].cardDataName)+"</a>":"get"==n?(p.innerHTML=Lf.intentSlugToOperations[e].cardMsg,t&&t.length&&t.length>0&&("viewrepos"===e?r=this.createRepoTable(t):"displaylastcomment"===e&&(o=this.createCommentBody(t)))):"purge"==n&&(u.innerHTML="Operation Completed!",p.innerHTML=t.command)):(t.type="widget")?(u.innerHTML="Operation recorded with below data, click submit to repeat.",p.innerHTML=Lf.intentSlugToOperations[e].cardMsg,t&&t.length&&t.length>0&&("viewrepos"===e?r=this.createRepoTable(t):"displaylastcomment"===e&&(o=this.createCommentBody(t)))):(u.innerHTML="Server Responded As..",p.innerHTML="Operation failed with status: "+t.status);c.appendChild(l),u.appendChild(c),s.appendChild(u),s.appendChild(p),o&&s.appendChild(o),f.appendChild(d),a.appendChild(s),r&&a.appendChild(r),a.appendChild(f),i.insertBefore(h,i.firstChild),i.insertBefore(a,i.firstChild)},t.prototype.getVariable=function(t,e){for(var n=e.split(","),r=0;r<n.length;r++)t=t[n[r]];return t},t.prototype.createRepoTable=function(t){var e=document.createElement("table"),n=document.createElement("thead"),r=document.createElement("tr"),o=document.createElement("th"),i=document.createElement("th"),a=document.createElement("th"),s=document.createElement("th"),u=document.createElement("th"),c=document.createElement("th"),l=document.createElement("th");e.classList.add("table","tabled-bordered","table-striped","table-hover"),n.classList.add("thead-dark"),o.setAttribute("scope","col"),i.setAttribute("scope","col"),a.setAttribute("scope","col"),s.setAttribute("scope","col"),u.setAttribute("scope","col"),c.setAttribute("scope","col"),l.setAttribute("scope","col"),o.innerHTML="#",i.innerHTML="Repository Name",a.innerHTML="Repository ID",s.innerHTML="Created On",u.innerHTML="Created By",c.innerHTML="View Raw",l.innerHTML="Delete Repository",r.appendChild(o),r.appendChild(i),r.appendChild(a),r.appendChild(s),r.appendChild(u),r.appendChild(c),r.appendChild(l),n.appendChild(r),e.appendChild(n);for(var p=0;p<t.length;p++){var f=t[p],d=document.createElement("tbody"),h=document.createElement("tr"),v=document.createElement("th"),m=document.createElement("td"),g=document.createElement("td"),y=document.createElement("td"),b=document.createElement("td"),w=document.createElement("td"),S=document.createElement("td");v.setAttribute("scope","row"),h.setAttribute("id","repoRow"+p),v.innerHTML=p+1+"",m.innerHTML=f.name,g.innerHTML="<a href='"+f.html_url+"' class='repoLink'>"+f.id+"</a>",y.innerHTML=f.created_at,b.innerHTML="<a href='"+f.owner.html_url+"' class='btn btn-info'>"+f.owner.login+"</a>",w.innerHTML="<a href='"+f.url+"' class='btn btn-info'>View</a>",S.innerHTML="<a href='"+f.owner.html_url+"' class='btn btn-danger'>Delete</a>",h.appendChild(v),h.appendChild(m),h.appendChild(g),h.appendChild(y),h.appendChild(b),h.appendChild(w),h.appendChild(S),d.appendChild(h),e.appendChild(d)}return e},t.prototype.loadConversations=function(t){var e=this;t&&t.forEach(function(t){e.addGitOperationHistory(t)})},t.prototype.createCommentBody=function(t){var e=document.createElement("p"),n=this.helper.getLatestComment(t);return e.classList.add("card-text"),e.innerHTML="<strong style='color:black'>COMMENT:</strong> <i>"+n+"</i>",e},t.prototype.concealCodeInUrl=function(){var t=new Location;t.href="http://localhost:8080",window.location=t},t.prototype.toggleModals=function(t){var e=t.json(),n=Hf("#"+Lf.constants.hiddenIntentFieldId).val();Hf("#submitConfirm").addClass("hide"),Hf("#btnCancelConfirm").click(),Hf(".modal-backdrop").removeClass("modal-backdrop"),Hf("#underWidgetLine").addClass("hide"),Hf("#intentBox").addClass("hide"),Hf("#widgets").children().addClass("hide"),t&&t.status&&(201===t.status||200===t.status||204===t.status)?(Hf("#successAlert").removeClass("hide"),e.then(function(t){Hf("#op-msg").text(Lf.intentSlugToOperations[n].successMessage),Hf("#successAlert").removeClass("hide");var e=Lf.intentSlugToOperations[n].response_action;t.intent=n,e.payload=t})):Hf("#dangerAlert").removeClass("hide"),window.localStorage.setItem(Lf.constants.hiddenIntentFieldId,"")},t.prototype.repeatCommand=function(t){this.repeatRequested.emit(t.cardContent)},t.prototype.hideNonCards=function(){this.commandPromptEnteredWithValue.emit()},t.ngInjectableDef=wt({factory:function(){return new t(en(Mf))},token:t,providedIn:"root"}),t}(),qf=function(){function t(t,e,n){this.helper=t,this.dom=e,this.store=n}return t.prototype.setCookie=function(t,e,n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3);var o="expires="+r.toUTCString();document.cookie=t+" ="+e+";"+o+";path=/"},t.prototype.getCookie=function(t){for(var e=t+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""},t.ngInjectableDef=wt({factory:function(){return new t(en(Mf),en(Uf),en(Yu))},token:t,providedIn:"root"}),t}(),Ff=function(){function t(t,e){this.persistenceOpsService=t,this.domOpsService=e,this.authorizationToken="token "+Lf.gitToken,this.gitOperationIdentified=new Pi}return t.prototype.getToken=function(t){var e=this,n="";return Hf.getJSON("https://micobot.herokuapp.com/authenticate/"+t,function(t){console.log(t.token),e.persistenceOpsService.setCookie("gitToken",n=t.token,30),e.domOpsService.concealCodeInUrl()}),n},t.prototype.getCurrentUser=function(){var t=this,e="";return fetch("https://api.github.com/user/",{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(function(n){n.json().then(function(t){return e=t,console.log(e),e}),t.domOpsService.toggleModals(n)}).catch(function(t){return console.error("Fetch Error =\n",t)}),e},t.prototype.authenticate=function(){},t.prototype.viewRepositories=function(){var t=this;return fetch("https://api.github.com/user/repos",{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken}}).then(function(e){t.domOpsService.toggleModals(e)}).catch(function(t){return console.error("Fetch Error =\n",t)}),""},t.prototype.createRepository=function(t){var e=this;fetch("https://api.github.com/user/repos",{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken},body:JSON.stringify(t.request)}).then(function(t){e.domOpsService.toggleModals(t)}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.updateRepository=function(t,e){fetch("https://api.github.com/repos/mohiit1502/Hello-World3",{method:"PATCH",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken},body:JSON.stringify(t)}).then(function(t){return t.json()}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.deleteRepository=function(t){fetch("https://api.github.com/repos/mohiit1502/Hello-World2",{method:"DELETE",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken}}).then(function(t){return t.json()}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.createIssue=function(t,e){var n=this;fetch("https://api.github.com/repos/mohiit1502/"+e+"/issues",{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken},body:JSON.stringify(t)}).then(function(t){n.domOpsService.toggleModals(t)}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.updateIssue=function(t,e,n){fetch("https://api.github.com/repos/mohiit1502/stack_route_prj7/issues/2",{method:"PATCH",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken},body:JSON.stringify(t)}).then(function(t){return t.json()}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.closeIssue=function(t,e,n){var r=this;fetch("https://api.github.com/repos/mohiit1502/"+e+"/issues/"+n,{method:"PATCH",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken},body:JSON.stringify(t)}).then(function(t){r.domOpsService.toggleModals(t)}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.reopenIssue=function(t,e,n){fetch("https://api.github.com/repos/mohiit1502/stack_route_prj7/issues/2",{method:"PATCH",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken},body:JSON.stringify(t)}).then(function(t){return t.json()}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.displayIssue=function(t,e){var n="";return fetch("https://api.github.com/repos/mohiit1502/stack_route_prj7/issues/2",{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken}}).then(function(t){t.json().then(function(t){return n=t,console.log(n),n})}).catch(function(t){return console.error("Fetch Error =\n",t)}),n},t.prototype.addIssueComment=function(t,e,n){var r=this;fetch("https://api.github.com/repos/mohiit1502/"+e+"/issues/"+n+"/comments",{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken},body:JSON.stringify(t)}).then(function(t){r.domOpsService.toggleModals(t)}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.displayLastComment=function(t,e){var n=this;fetch("https://api.github.com/repos/mohiit1502/"+t+"/issues/"+e+"/comments",{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken}}).then(function(t){n.domOpsService.toggleModals(t)}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.displayIssuesForUser=function(){fetch("https://api.github.com/user/issues",{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken}}).then(function(t){return t.json()}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.displayIssuesOnRepo=function(){fetch("https://api.github.com/repos/mohiit1502/stack_route_prj7/issues/",{method:"PATCH",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:this.authorizationToken}}).then(function(t){return t.json()}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.addCollaborator=function(t,e){var n=this;fetch("https://api.github.com/repos/mohiit1502/stack_route_prj7/collaborators/swat1508",{method:"PUT",headers:{"Content-Type":"application/json",Authorization:this.authorizationToken}}).then(function(t){n.domOpsService.toggleModals(t)}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.removeCollaborator=function(t,e){fetch("https://api.github.com/repos/mohiit1502/stack_route_prj7/collaborators/swat1508",{method:"DELETE",headers:{"Content-Type":"application/json",Authorization:this.authorizationToken}}).then(function(t){return t.json()}).catch(function(t){return console.error("Fetch Error =\n",t)})},t.prototype.createUser=function(t){},t.prototype.updateUser=function(t){},t.prototype.deleteUser=function(t){},t.ngInjectableDef=wt({factory:function(){return new t(en(qf),en(Uf))},token:t,providedIn:"root"}),t}(),Vf=function(){return function(t,e,n,r,o,i){this.cardTitle=t,this.cardContent=e,this.data=n,this.type=r,this.timestamp=o,this.cardStyle=i}}(),Bf=function(){function t(t,e){this.domOpsService=t,this.helperService=e,this.cards=[]}return t.prototype.renderCards=function(){var t=JSON.parse('{"createrepo":[],"createissue":[],"closeissue":[],"addissuecomment":[],"displaylastcomment":[],"addcollab":[],"viewrepos":[],"queries":[{"command":"create repo","type":"command","insertionCounter":1},{"command":"create repo","type":"command","insertionCounter":2}],"messages":[],"insertionCounter":2}');Hf("#conversations").empty();var e=this.helperService.concatenateAndSort(t);this.domOpsService.loadConversations(e)},t.prototype.getCommandCard=function(t,e,n,r){return new Vf(t,e,n,r,Date.now()/1e3,"command-card")},t.prototype.getResponseCard=function(t,e,n,r){return new Vf(t,e,n,r,Date.now()/1e3,"response-card")},t.prototype.getDisplayTime=function(t){var e=t,n=Date.now()/1e3-e,r=Math.floor(n/86400),o=Math.floor((n-86400*r)/3600),i=Math.floor((n-86400*r-3600*o)/60),a=Math.floor(n-86400*r-3600*o-60*i),s="";return 0!=r?(s=s+r+" days ago",1==r?"Yesterday":s):0!=o?(s=s+o+" hours ago",1==o?"an hour ago":s):0!=i?(s=s+i+" minutes ago",1==i?"a minute ago":s):s=s+a+" seconds ago"},t.ngInjectableDef=wt({factory:function(){return new t(en(Uf),en(Mf))},token:t,providedIn:"root"}),t}(),zf=function(){return function(t){this.payload=t,this.type="COMMAND"}}(),Wf=["id","addcollab",1,"card","hide","widget","good",3,"hidden"],Gf=[1,"card-body"],Zf=[1,"card-title"],$f=[1,"form-row"],Qf=[1,"form-group","col-md-6","col-sm-6","col-lg-6","col-xs-6","mb-3"],Jf=["for","collaboratorName"],Yf=["type","text","id","collaboratorName","placeholder","Collaborator ID",1,"form-control"],Xf=["for","repoForCollab"],Kf=["type","text","id","repoForCollab","placeholder","Repository To Add collaborator on ....",1,"form-control"],td=[1,"form-group"],ed=["for","comment"],nd=["rows","3","id","comment",1,"form-control"],rd=["type","button","data-toggle","modal","data-dismiss","modal","id","btnSubmitAddCollab","data-target","#submitConfirm",1,"btn","btn-primary"],od=function(){function t(){}return t.prototype.ngOnInit=function(){this.isHidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-add-collab-widget"]],factory:function(e){return new(e||t)},inputs:{isHidden:"isHidden"},consts:20,vars:1,template:function(t,e){1&t&&(_o(0,"div",Wf),_o(1,"div",Gf),_o(2,"h5",Zf),Do(3,"Create Collaborator"),Ao(),_o(4,"form"),_o(5,"div",$f),_o(6,"div",Qf),_o(7,"label",Jf),Do(8,"Collaborator Name"),Ao(),_o(9,"input",Yf),Ao(),Ao(),_o(10,"div",Qf),_o(11,"label",Xf),Do(12,"Repository Name"),Ao(),_o(13,"input",Kf),Ao(),Ao(),Ao(),_o(14,"div",td),_o(15,"label",ed),Do(16,"Comment:"),Ao(),_o(17,"textarea",nd),Ao(),Ao(),_o(18,"button",rd),Do(19,"Submit"),Ao(),Ao(),Ao(),Ao()),2&t&&Ro(0,"hidden",Go(e.isHidden))},encapsulation:2}),t}(),id=["id","addissuecomment",1,"card","hide","widget","good",3,"hidden"],ad=[1,"card-body"],sd=[1,"card-title"],ud=[1,"form-row"],cd=[1,"form-group","col-md-6","col-sm-6","col-lg-6","col-xs-6","mb-3"],ld=["for","repoForIssueComment"],pd=["type","text","id","repoForIssueComment","placeholder","Repository Name....",1,"form-control"],fd=["for","issueNumber"],dd=["type","text","id","issueNumber","placeholder","Issue To Comment On...",1,"form-control"],hd=[1,"form-group"],vd=["for","issueComment"],md=["rows","3","id","issueComment",1,"form-control"],gd=["type","button","data-toggle","modal","data-dismiss","modal","id","btnSubmitAddComment","data-target","#submitConfirm",1,"btn","btn-primary"],yd=function(){function t(){}return t.prototype.ngOnInit=function(){this.isHidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-add-issue-comment-widget"]],factory:function(e){return new(e||t)},inputs:{isHidden:"isHidden"},consts:20,vars:1,template:function(t,e){1&t&&(_o(0,"div",id),_o(1,"div",ad),_o(2,"h5",sd),Do(3,"Add Comment"),Ao(),_o(4,"form"),_o(5,"div",ud),_o(6,"div",cd),_o(7,"label",ld),Do(8,"Repository Name"),Ao(),_o(9,"input",pd),Ao(),Ao(),_o(10,"div",cd),_o(11,"label",fd),Do(12,"Issue Number"),Ao(),_o(13,"input",dd),Ao(),Ao(),Ao(),_o(14,"div",hd),_o(15,"label",vd),Do(16,"Comment:"),Ao(),_o(17,"textarea",md),Ao(),Ao(),_o(18,"button",gd),Do(19,"Submit"),Ao(),Ao(),Ao(),Ao()),2&t&&Ro(0,"hidden",Go(e.isHidden))},encapsulation:2}),t}(),bd=["id","createrepo",3,"ngClass","hidden"],wd=["widget",""],Sd=[1,"card-body"],Cd=[1,"card-title"],xd=[1,"form-row"],_d=[1,"form-group","col-md-6","col-sm-6","col-lg-6","col-xs-6","mb-3"],Ed=["for","repositoryName"],Td=["type","text","id","repositoryName","placeholder","Repository Name... ",1,"form-control"],kd=["for","homePageURL"],Od=["type","text","id","homePageURL","placeholder","Home Page URL... ",1,"form-control"],Ad=[1,"form-group","col-md-3","col-sm-3","col-lg-3","col-xs-3","mb-3"],Rd=[1,"form-check","form-check-inline"],Id=["type","checkbox","id","privateRepoChk","value","Option 1",1,"form-check-input"],Pd=["for","privateRepoChk",1,"form-check-label"],jd=[1,"form-group","col-md-4","col-sm-4","col-lg-4","col-xs-4","mb-3"],Dd=["type","checkbox","id","issuesChk","value","Option 2",1,"form-check-input"],Nd=["for","issuesChk",1,"form-check-label"],Md=["type","checkbox","id","wikiChk","value","Option 3",1,"form-check-input"],Ld=["for","wikiChk",1,"form-check-label"],Hd=[1,"form-group"],Ud=["for","description"],qd=["rows","3","id","description",1,"form-control"],Fd=["type","button","data-toggle","modal","data-target","#submitConfirm","id","submitForm",1,"btn","btn-primary"],Vd=function(t){return{"card widget good":!0,hide:t}},Bd=function(){function t(){}return t.prototype.ngOnInit=function(){this.isHidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-create-repo-widget"]],factory:function(e){return new(e||t)},inputs:{isHidden:"isHidden"},consts:37,vars:4,template:function(t,e){var n,r,o,i,a,s;1&t&&(_o(0,"div",bd,wd),_o(2,"div",Sd),_o(3,"div",Cd),Do(4,"Create Repository"),Ao(),_o(5,"form"),_o(6,"div",xd),_o(7,"div",_d),_o(8,"label",Ed),Do(9,"Repository Name"),Ao(),_o(10,"input",Td),Ao(),Ao(),_o(11,"div",_d),_o(12,"label",kd),Do(13,"Home Page URL"),Ao(),_o(14,"input",Od),Ao(),Ao(),Ao(),_o(15,"div",xd),_o(16,"div",Ad),_o(17,"div",Rd),_o(18,"input",Id),Ao(),_o(19,"label",Pd),Do(20,"Private"),Ao(),Ao(),Ao(),_o(21,"div",jd),_o(22,"div",Rd),_o(23,"input",Dd),Ao(),_o(24,"label",Nd),Do(25,"Allow Adding Issues?"),Ao(),Ao(),Ao(),_o(26,"div",jd),_o(27,"div",Rd),_o(28,"input",Md),Ao(),_o(29,"label",Ld),Do(30,"Add Wiki?"),Ao(),Ao(),Ao(),Ao(),_o(31,"div",Hd),_o(32,"label",Ud),Do(33,"Add some Description for this repository:"),Ao(),_o(34,"textarea",qd),Ao(),Ao(),_o(35,"button",Fd),Do(36,"Submit"),Ao(),Ao(),Ao(),Ao()),2&t&&(Ro(0,"ngClass",Go((n=2,r=Vd,o=e.isHidden,$n(a=fn(),s=kn+n,o)?function(t,e,n){return t[e]=n}(a,s+1,i?r.call(i,o):r(o)):function(t,e){return t[e]}(a,s+1)))),Ro(0,"hidden",Go(e.isHidden)))},encapsulation:2}),t}(),zd=["id","closeissue",1,"card","hide","widget","good",3,"hidden"],Wd=[1,"card-body"],Gd=[1,"card-title"],Zd=[1,"form-row"],$d=[1,"form-group","col-md-6","col-sm-6","col-lg-6","col-xs-6","mb-3"],Qd=["for","repoForIssueClose"],Jd=["type","text","id","repoForIssueClose","placeholder","Repository Name....",1,"form-control"],Yd=["for","issueNumerToClose"],Xd=["type","text","id","issueNumerToClose","placeholder","Specify issue number...",1,"form-control"],Kd=["type","button","data-toggle","modal","data-dismiss","modal","id","btnSubmitCloseIssue","data-target","#submitConfirm",1,"btn","btn-primary"],th=function(){function t(){}return t.prototype.ngOnInit=function(){this.isHidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-close-issue-widget"]],factory:function(e){return new(e||t)},inputs:{isHidden:"isHidden"},consts:16,vars:1,template:function(t,e){1&t&&(_o(0,"div",zd),_o(1,"div",Wd),_o(2,"h5",Gd),Do(3,"Close Issue"),Ao(),_o(4,"form"),_o(5,"div",Zd),_o(6,"div",$d),_o(7,"label",Qd),Do(8,"Repository Name"),Ao(),_o(9,"input",Jd),Ao(),Ao(),_o(10,"div",$d),_o(11,"label",Yd),Do(12,"Issue To Close"),Ao(),_o(13,"input",Xd),Ao(),Ao(),Ao(),_o(14,"button",Kd),Do(15,"Submit"),Ao(),Ao(),Ao(),Ao()),2&t&&Ro(0,"hidden",Go(e.isHidden))},encapsulation:2}),t}(),eh=["id","createissue",1,"card","hide","widget","good",3,"hidden"],nh=[1,"card-body"],rh=[1,"card-title"],oh=[1,"form-row"],ih=[1,"form-group","col-md-6","col-sm-6","col-lg-6","col-xs-6","mb-3"],ah=["for","issueTitle"],sh=["type","text","id","issueTitle","placeholder","Issue title",1,"form-control"],uh=["for","issueRepository"],ch=["type","text","id","issueRepository","placeholder","Issue's Repository here",1,"form-control"],lh=["for","assignees"],ph=["type","text","id","assignees","placeholder","Comma Separated user IDs...",1,"form-control"],fh=["for","labels"],dh=["type","text","id","labels","placeholder","Comma Separated Labels...",1,"form-control"],hh=[1,"form-group"],vh=["for","description"],mh=["rows","3","id","description",1,"form-control"],gh=["type","button","data-toggle","modal","data-dismiss","modal","id","btnSubmitConfirm","data-target","#submitConfirm",1,"btn","btn-primary"],yh=function(){function t(){}return t.prototype.ngOnInit=function(){this.isHidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-create-issue-widget"]],factory:function(e){return new(e||t)},inputs:{isHidden:"isHidden"},consts:29,vars:1,template:function(t,e){1&t&&(_o(0,"div",eh),_o(1,"div",nh),_o(2,"h5",rh),Do(3,"Create Issue"),Ao(),_o(4,"form"),_o(5,"div",oh),_o(6,"div",ih),_o(7,"label",ah),Do(8,"Issue Title"),Ao(),_o(9,"input",sh),Ao(),Ao(),_o(10,"div",ih),_o(11,"label",uh),Do(12,"Issue Repository"),Ao(),_o(13,"input",ch),Ao(),Ao(),Ao(),_o(14,"div",oh),_o(15,"div",ih),_o(16,"label",lh),Do(17,"Assignees"),Ao(),_o(18,"input",ph),Ao(),Ao(),_o(19,"div",ih),_o(20,"label",fh),Do(21,"Issue Labels"),Ao(),_o(22,"input",dh),Ao(),Ao(),Ao(),_o(23,"div",hh),_o(24,"label",vh),Do(25,"Issue Description:"),Ao(),_o(26,"textarea",mh),Ao(),Ao(),_o(27,"button",gh),Do(28,"Submit"),Ao(),Ao(),Ao(),Ao()),2&t&&Ro(0,"hidden",Go(e.isHidden))},encapsulation:2}),t}(),bh=["id","displaylastcomment",1,"card","hide","widget","good",3,"hidden"],wh=[1,"card-body"],Sh=[1,"card-title"],Ch=[1,"form-row"],xh=[1,"form-group","col-md-6","col-sm-6","col-lg-6","col-xs-6","mb-3"],_h=["for","repoForCommentView"],Eh=["type","text","id","repoForCommentView","placeholder","Repository Name....",1,"form-control"],Th=["for","issueNumberForCommentView"],kh=["type","text","id","issueNumberForCommentView","placeholder","Specify issue number...",1,"form-control"],Oh=["type","button","data-toggle","modal","data-dismiss","modal","id","btnSubmitCommentView","data-target","#submitConfirm",1,"btn","btn-primary"],Ah=function(){function t(){}return t.prototype.ngOnInit=function(){this.isHidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-display-last-comment-widget"]],factory:function(e){return new(e||t)},inputs:{isHidden:"isHidden"},consts:16,vars:1,template:function(t,e){1&t&&(_o(0,"div",bh),_o(1,"div",wh),_o(2,"h5",Sh),Do(3,"Display Last Comment"),Ao(),_o(4,"form"),_o(5,"div",Ch),_o(6,"div",xh),_o(7,"label",_h),Do(8,"Repository Name"),Ao(),_o(9,"input",Eh),Ao(),Ao(),_o(10,"div",xh),_o(11,"label",Th),Do(12,"Issue To Close"),Ao(),_o(13,"input",kh),Ao(),Ao(),Ao(),_o(14,"button",Oh),Do(15,"Submit"),Ao(),Ao(),Ao(),Ao()),2&t&&Ro(0,"hidden",Go(e.isHidden))},encapsulation:2}),t}(),Rh=["id","viewrepos",1,"card","hide","widget","good",3,"hidden"],Ih=[1,"card-body"],Ph=[1,"card-title"],jh=[1,"form-row"],Dh=[1,"form-group","col-md-6","col-sm-6","col-lg-6","col-xs-6","mb-3"],Nh=["type","button","data-toggle","modal","data-dismiss","modal","id","btnSubmitViewRepo","data-target","#submitConfirm",1,"btn","btn-primary"],Mh=function(){function t(){}return t.prototype.ngOnInit=function(){this.isHidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-view-repo-widget"]],factory:function(e){return new(e||t)},inputs:{isHidden:"isHidden"},consts:11,vars:1,template:function(t,e){1&t&&(_o(0,"div",Rh),_o(1,"div",Ih),_o(2,"h5",Ph),Do(3,"View Repositories"),Ao(),_o(4,"form"),_o(5,"div",jh),_o(6,"div",Dh),_o(7,"p"),Do(8,"View Repositories for the user mohiit1502?"),Ao(),Ao(),Ao(),_o(9,"button",Nh),Do(10,"Submit"),Ao(),Ao(),Ao(),Ao()),2&t&&Ro(0,"hidden",Go(e.isHidden))},encapsulation:2}),t}(),Lh=["id","underWidgetLine",1,"line","hide"],Hh=["underWidgetLine",""],Uh=function(){function t(t,e,n,r){this.domOpsService=t,this.githubService=e,this.cardsService=n,this.store=r}return t.prototype.ngOnInit=function(){var t=this;this.intentmap={createrepo:this.createRepoWidgetComponent,createissue:this.createIssueWidgetComponent,closeissue:this.closeIssueWidgetComponent,addissuecomment:this.addIssueCommentWidgetComponent,displaylastcomment:this.displayLastCommentWidgetComponent,addcollab:this.addCollabWidgetComponent,viewrepos:this.viewRepoWidgetComponent},this.domOpsService.commandPromptEnteredWithValue.subscribe(function(){Object.keys(t.intentmap).forEach(function(e){t.intentmap[e].isHidden=!0}),t.underWidgetLine.nativeElement.classList.add("hide")}),this.domOpsService.widgetIdentified.subscribe(function(e){t.intentmap[e.widget].isHidden=!1,t.underWidgetLine.nativeElement.classList.remove("hide")}),this.githubService.gitOperationIdentified.subscribe(function(e){var n=t.domOpsService.getDataFromFormAsJSON(),r=window.localStorage.getItem(Lf.constants.hiddenIntentFieldId);n.intent=r,t.githubService[e](n);var o=t.cardsService.getResponseCard(Lf.intentSlugToOperations[r].successMessage,"",n,"response"),i=new zf(o);t.store.dispatch(i)})},t.ngComponentDef=Gt({type:t,selectors:[["app-widget"]],factory:function(e){return new(e||t)(Jo(Uf),Jo(Ff),Jo(Bf),Jo(Yu))},viewQuery:function(t,e){var n;1&t&&(Qi(0,["widget"],!0),Qi(1,["underWidgetLine"],!0),Qi(2,od,!0),Qi(3,yd,!0),Qi(4,th,!0),Qi(5,yh,!0),Qi(6,Bd,!0),Qi(7,Ah,!0),Qi(8,Mh,!0)),2&t&&(Ji(n=Qo(0))&&(e.widget=n.first),Ji(n=Qo(1))&&(e.underWidgetLine=n.first),Ji(n=Qo(2))&&(e.addCollabWidgetComponent=n.first),Ji(n=Qo(3))&&(e.addIssueCommentWidgetComponent=n.first),Ji(n=Qo(4))&&(e.closeIssueWidgetComponent=n.first),Ji(n=Qo(5))&&(e.createIssueWidgetComponent=n.first),Ji(n=Qo(6))&&(e.createRepoWidgetComponent=n.first),Ji(n=Qo(7))&&(e.displayLastCommentWidgetComponent=n.first),Ji(n=Qo(8))&&(e.viewRepoWidgetComponent=n.first))},consts:18,vars:0,template:function(t,e){1&t&&(xo(9,"app-add-collab-widget"),xo(10,"app-add-issue-comment-widget"),xo(11,"app-close-issue-widget"),xo(12,"app-create-issue-widget"),xo(13,"app-create-repo-widget"),xo(14,"app-display-last-comment-widget"),xo(15,"app-view-repo-widget"),_o(16,"div",Lh,Hh),Ao())},encapsulation:2}),t}(),qh=["id","successAlert","role","alert",1,"alert","alert-success","alert-dismissible","fade","show","hide","good",3,"hidden"],Fh=["successTemplate",""],Vh=["id","op-msg"],Bh=["type","button","id","hideSuccessAlert","aria-label","Close",1,"close",3,"click"],zh=["aria-hidden","true"],Wh=["id","dangerAlert","role","alert",1,"alert","alert-danger","alert-dismissible","hide","good",3,"hidden"],Gh=["errorTemplate",""],Zh=["type","button","id","hideDangerAlert","aria-label","Close",1,"close",3,"click"],$h=function(){function t(t){this.domOpsService=t,this.isHidden=!0}return t.prototype.ngOnInit=function(){var t=this;this.domOpsService.commandPromptEnteredWithValue.subscribe(function(){t.isHidden=!0})},t.prototype.hideMessage=function(t){t.hidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-message"]],factory:function(e){return new(e||t)(Jo(Uf))},inputs:{isHidden:"isHidden"},consts:18,vars:2,template:function(t,e){if(1&t){var n=Xo();_o(0,"div",qh,Fh),_o(2,"strong"),Do(3,"Success! "),Ao(),_o(4,"span",Vh),Do(5," Repository Added!"),Ao(),_o(6,"button",Bh),Oo("click",function(t){dn(n);var r=$o(1);return e.hideMessage(r)}),_o(7,"span",zh),Do(8,"\xd7"),Ao(),Ao(),Ao(),_o(9,"div",Wh,Gh),_o(11,"strong"),Do(12,"Oh snap!"),Ao(),_o(13,"span"),Do(14," Change a few things up and try submitting again."),Ao(),_o(15,"button",Zh),Oo("click",function(t){dn(n);var r=$o(10);return e.hideMessage(r)}),_o(16,"span",zh),Do(17,"\xd7"),Ao(),Ao(),Ao()}2&t&&(Ro(0,"hidden",Go(!0)),Ro(9,"hidden",Go(!0)))},encapsulation:2}),t}(),Qh=["id","intentBox","role","alert",1,"alert","alert-info","alert-dismissible","hide","good",3,"hidden"],Jh=["intentBox",""],Yh=["type","button","id","hideInfoAlert","aria-label","Close",1,"close",3,"click"],Xh=["aria-hidden","true"],Kh=["id","intentName"],tv=function(){function t(t){this.domOpsService=t,this.isHidden=!0}return t.prototype.ngOnInit=function(){var t=this;this.domOpsService.commandPromptEnteredWithValue.subscribe(function(){t.isHidden=!0}),this.domOpsService.intentIdentified.subscribe(function(){t.isHidden=!1})},t.prototype.hideParent=function(t){this.intentBox.nativeElement.classList.add("hide"),this.isHidden=!0},t.ngComponentDef=Gt({type:t,selectors:[["app-intent-box"]],factory:function(e){return new(e||t)(Jo(Uf))},inputs:{isHidden:"isHidden"},viewQuery:function(t,e){var n;1&t&&Qi(0,["intentBox"],!0),2&t&&Ji(n=Qo(0))&&(e.intentBox=n.first)},consts:10,vars:1,template:function(t,e){1&t&&(_o(1,"div",Qh,Jh),_o(3,"button",Yh),Oo("click",function(t){return e.hideParent(t)}),_o(4,"span",Xh),Do(5,"\xd7"),Ao(),Ao(),_o(6,"strong"),Do(7,"I understand you intend to: \xa0\xa0"),Ao(),xo(8,"span",Kh),Do(9,"\xa0\xa0If not, please choose the correct option:\n"),Ao()),2&t&&Ro(1,"hidden",Go(e.isHidden))},encapsulation:2}),t}(),ev=function(){function t(){this.recastToken=Lf.recasttoken,this.requestUrl="https://api.recast.ai/v2/request"}return t.prototype.getRecastResponse=function(t,e){var n=this.requestUrl+"?text="+t,r={method:"POST",headers:{"Content-Type":"application/json; charset=utf-8",Authorization:"Token "+this.recastToken},data:e};return new Promise(function(t,e){fetch(n,r).then(function(e){t(e.json())}).catch(function(t){e(t.json())})})},t.ngInjectableDef=wt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),nv=function(){return function(t){this.payload=t,this.type="COMMAND"}}(),rv=function(){return function(t){this.payload=t,this.type="CLEAR_HISTORY"}}(),ov=["id","header",1,"headerprompt",3,"dragend"],iv=[1,"prompt"],av=[1,"promptext"],sv=["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 80 80",1,"equalizer","hide"],uv=["transform","translate(13,30)",1,"bar"],cv=["transform","translate(25,30)",1,"bar"],lv=["transform","translate(37,30)",1,"bar"],pv=["transform","translate(49,30)",1,"bar"],fv=["transform","translate(61,30)",1,"bar"],dv=[1,"navbar","navbar-expand-lg","navbar-light","bg-light"],hv=[1,"container-fluid"],vv=["type","text","placeholder","What you need...","name","command","id","command",1,"form-control",3,"keyup","click"],mv=["command",""],gv=["aria-labelledby","dropdownMenuButton","id","inputSelectionContextMenu",1,"dropdown-menu"],yv=[1,"dropdown-item"],bv=[1,"dropdown-item",3,"click"],wv=["id","navbarSupportedContent",1,"collapse","navbar-collapse"],Sv=[1,"nav","navbar-nav","ml-auto"],Cv=["id","btnFavorites",1,"nav-item"],xv=[1,"nav-link"],_v=[1,"far","fa-star",3,"mouseenter","mouseleave"],Ev=["id","btnClearCommand",1,"nav-item",3,"click"],Tv=[1,"far","fa-trash-alt",3,"mouseenter","mouseleave"],kv=["id","btnFireCommand",1,"nav-item"],Ov=[1,"far","fa-paper-plane",3,"mouseenter","mouseleave"],Av=["id","btnSTTCommand",1,"nav-item",3,"click"],Rv=[1,"far","fa-microphone","fas"],Iv=["type","hidden","id","intentHidden","value","createissue"],Pv=function(){function t(t,e,n,r){this.recastOpsService=t,this.domOpsService=e,this.cardsService=n,this.store=r,this.emptyCommandMessage='Please type a command or use "Speech" button to speak to the bot.'}return t.prototype.ngOnInit=function(){var t=this;this.domOpsService.repeatRequested.subscribe(function(e){Hf("#command").val(e),t.executeCommand()}),this.registerSpeechHandlers(),this.registerMouseAndKeyboardHandlers()},t.prototype.toggleClass=function(t){Hf(t.target).toggleClass("fas")},t.prototype.initiateDomOpsOnEnter=function(t){13===(t.keyCode?t.keyCode:t.which)&&this.executeCommand()},t.prototype.resetCommand=function(){Hf("#command").val(""),Hf("#command").focus()},t.prototype.startSpeechRecognition=function(){/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)&&this.recognition.start()},t.prototype.registerSpeechHandlers=function(){var t=Hf("#command");this.recognition.onstart=function(){t.val("Voice recognition activated. Try speaking into the microphone.")},this.recognition.onspeechend=function(){t.val("You were quiet for a while so voice recognition turned itself off.")},this.recognition.onerror=function(e){"no-speech"==e.error&&t.val("No speech was detected. Try again.")},this.recognition.onresult=function(t){var e="",n=t.resultIndex,r=t.results[n][0].transcript;1==n&&r==t.results[0][0].transcript||(e+=r,Hf("#command").val(e))}},t.prototype.registerMouseAndKeyboardHandlers=function(){var t=this;Hf("#content nav div.collapse li a.nav-link i.far.fa-star").hover(function(){Hf("#content nav div.collapse li a.nav-link i.far.fa-star").toggleClass("fas")}),Hf("#content nav div.collapse li a.nav-link i.far.fa-trash-alt").hover(function(){Hf("#content nav div.collapse li a.nav-link i.far.fa-trash-alt").toggleClass("fas")}),Hf("#content nav div.collapse li a.nav-link i.far.fa-paper-plane").hover(function(){Hf("#content nav div.collapse li a.nav-link i.far.fa-paper-plane").toggleClass("fas")}),Hf("*").on("click",function(e){t.contextMenuFirstDisplay?(t.contextMenuFirstDisplay=!1,e.stopPropagation()):(Hf("#inputSelectionContextMenu").removeClass("show").hide(),t.contextMenuDisplayed=!1,e.stopPropagation())})},t.prototype.executeCommand=function(){this.domOpsService.hideNonCards();var t=this.command.nativeElement.value;if(t){var e=this.cardsService.getCommandCard(Lf.intentSlugToOperations.command.cardTitle,t,{},"command"),n=new nv(e);this.store.dispatch(n);var r=this.recastOpsService.getRecastResponse(t,{text:t});this.processRecastResponse(r)}else this.domOpsService.showEmptyCommandMessage(this.emptyCommandMessage)},t.prototype.processRecastResponse=function(t){var e,n=this,r="";t.then(function(t){var o=(e=t.results)?e.intents:"";if(o){if(1==o.length)r=o[0];else{if(!(o.length>1))return void n.domOpsService.showEmptyCommandMessage("Intent is either not Identified or is not supported, please try again with a different text.");r=o.reduce(function(t,e){return t.confidence>=e.confidence?t:e},o[0])}if(r&&r.confidence>.6){var i=r.slug;if(!Object.keys(Lf.intentSlugToOperations).includes(i))return void n.domOpsService.showEmptyCommandMessage("Intent is either not Identified or is not supported, please try again with a different text.");if(window.localStorage.setItem(Lf.constants.hiddenIntentFieldId,i),n.domOpsService.displayIntentBox(i),"resethistory"==i){var a=n.cardsService.getResponseCard(Lf.intentSlugToOperations.resethistory.cardTitle,Lf.intentSlugToOperations.resethistory.cardMsg,{},"response");a.insertionCounter=0;var s=new rv(a);return void n.store.dispatch(s)}n.domOpsService.widgetIdentified.emit({widget:i,bodyRelevant:e}),n.domOpsService.populateRecastData(i,e)}else n.domOpsService.showEmptyCommandMessage("Couldn't conform with the required confidence level of the intent match, please try again.")}else n.domOpsService.showEmptyCommandMessage("There seems to be an error in the Recast Response, as intents are not returned.")})},t.prototype.showContextMenu=function(t){if(1!=this.contextMenuDisplayed){var e=t.target;if(e.value.length>2&&0==e.selectionStart&&e.selectionEnd==e.value.length){var n=t.pageY-10,r=t.pageX-90;Hf("#inputSelectionContextMenu").css({display:"block",top:n,left:r}).addClass("show"),this.contextMenuFirstDisplay=!0,this.contextMenuDisplayed=!0}}},t.ngComponentDef=Gt({type:t,selectors:[["app-command-prompt"]],factory:function(e){return new(e||t)(Jo(ev),Jo(Uf),Jo(Bf),Jo(Yu))},viewQuery:function(t,e){var n;1&t&&Qi(0,["command"],!0),2&t&&Ji(n=Qo(0))&&(e.command=n.first)},consts:37,vars:0,template:function(t,e){1&t&&(_o(1,"div",ov),Oo("dragend",function(t){return e.showContextMenu(t)}),_o(2,"div",iv),_o(3,"p",av),Do(4,"$_"),Ao(),So="http://www.w3.org/2000/svg",_o(5,"svg",sv),_o(6,"rect",uv),Ao(),_o(7,"rect",cv),Ao(),_o(8,"rect",lv),Ao(),_o(9,"rect",pv),Ao(),_o(10,"rect",fv),Ao(),Ao(),Ao(),Co(),_o(11,"nav",dv),_o(12,"div",hv),_o(13,"input",vv,mv),Oo("keyup",function(t){return e.initiateDomOpsOnEnter(t)}),Oo("click",function(t){return e.showContextMenu(t)}),Ao(),_o(15,"div",gv),_o(16,"a",yv),Do(17,"Fire"),Ao(),_o(18,"a",bv),Oo("click",function(t){return e.resetCommand()}),Do(19,"Clear"),Ao(),_o(20,"a",yv),Do(21,"Add to Favorites"),Ao(),Ao(),_o(22,"div",wv),_o(23,"ul",Sv),_o(24,"li",Cv),_o(25,"a",xv),_o(26,"i",_v),Oo("mouseenter",function(t){return e.toggleClass(t)}),Oo("mouseleave",function(t){return e.toggleClass(t)}),Ao(),Ao(),Ao(),_o(27,"li",Ev),Oo("click",function(t){return e.resetCommand()}),_o(28,"a",xv),_o(29,"i",Tv),Oo("mouseenter",function(t){return e.toggleClass(t)}),Oo("mouseleave",function(t){return e.toggleClass(t)}),Ao(),Ao(),Ao(),_o(30,"li",kv),_o(31,"a",xv),_o(32,"i",Ov),Oo("mouseenter",function(t){return e.toggleClass(t)}),Oo("mouseleave",function(t){return e.toggleClass(t)}),Ao(),Ao(),Ao(),_o(33,"li",Av),Oo("click",function(t){return e.startSpeechRecognition()}),_o(34,"a",xv),_o(35,"i",Rv),Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),Ao(),xo(36,"input",Iv),Ao())},encapsulation:2}),t}(),jv=["id","sidebar",1,"active"],Dv=["id","pullOutButton",1,"triangle","animation"],Nv=[1,"sidebar-header"],Mv=["type","button","id","sidebarCollapse",1,"btn","btn-info"],Lv=[1,"fas","fa-align-justify"],Hv=[1,"logotext"],Uv=[1,"list-unstyled","components"],qv=[1,"active"],Fv=["href","#homeSubmenu"],Vv=[1,"fas","fa-home"],Bv=[1,"hideable","hide"],zv=["href","#"],Wv=[1,"fas","fa-briefcase"],Gv=["href","#pageSubmenu","data-toggle","collapse","aria-expanded","false",1,"dropdown-toggle"],Zv=[1,"fas","fa-copy"],$v=["id","pageSubmenu",1,"collapse","list-unstyled"],Qv=[1,"fas","fa-image"],Jv=[1,"fas","fa-question"],Yv=[1,"fas","fa-paper-plane"],Xv=[1,"fas","fa-cogs"],Kv=["name","command-prompt"],tm=["name","modal"],em=["name","primary-container"],nm=["id","submitConfirm","tabindex","-1","role","dialog","aria-labelledby","exampleModalCenterTitle","aria-hidden","true",1,"modal"],rm=["role","document",1,"modal-dialog","modal-dialog-centered"],om=[1,"modal-content"],im=[1,"modal-header"],am=["id","exampleModalCenterTitle",1,"modal-title"],sm=["type","button","data-dismiss","modal","aria-label","Close",1,"close"],um=["aria-hidden","true"],cm=[1,"modal-body"],lm=[1,"modal-footer"],pm=["type","button","id","btnCancelConfirm","data-dismiss","modal",1,"btn","btn-secondary"],fm=["id","submitGitData","type","button","data-dimsiss","modal",1,"btn","btn-primary",3,"click"],dm=["id","emptyCommandMessageModal","tabindex","-1","role","dialog","aria-labelledby","emptyCommandMessageModalTitle","aria-hidden","true",1,"modal","fade",3,"hidden"],hm=["id","emptyCommandMessageModalTitle",1,"modal-title"],vm=["id","randomModal",1,"modal-body"],mm=["type","button","data-dismiss","modal",1,"btn","btn-primary"],gm=["id","emptyCommandMsgDisplayer","type","submit","data-toggle","modal","data-target","#emptyCommandMessageModal",2,"display","none"],ym=["name","intent"],bm=["name","message"],wm=["name","widget"],Sm=["name","cards"],Cm=["id","conversations",1,"card-group"],xm=["ngFor","",3,"ngForOf"],_m=[3,"card","ngStyle"],Em={display:"contents"};function Tm(t,e){1&t&&xo(0,"app-card",_m),2&t&&(Ro(0,"card",Go(e.$implicit)),Ro(0,"ngStyle",Go(Em)))}var km=[1,"card-body"],Om=[1,"card-title"],Am=["id","btnRemove",1,"btn","btn-danger","float-right","close"],Rm=[3,"ngIf"],Im=["id","card-content",1,"card-text"],Pm=[1,"card-footer"],jm=[1,"text-muted"],Dm=[1,"line"],Nm=["role","button",1,"btn","btn-info","float-right",3,"id","click"];function Mm(t,e){if(1&t){var n=Xo();_o(0,"a",Nm),Oo("click",function(t){return dn(n),yo().repeatCommand()}),Do(1,"Repeat"),Ao()}2&t&&Ro(0,"id",Zo("btnRepeatCommand",yo().card.insertionCounter,""))}var Lm=[ys,kf.forRoot([{path:"",redirectTo:"/home",pathMatch:"full"},{path:"home",children:[{path:"",component:function(){function t(){}return t.prototype.ngOnInit=function(){Hf("#sidebarCollapse").on("click",function(){Hf("#sidebar").toggleClass("active"),Hf(".hideable").toggleClass("hide")}),Hf("#sidebar.active > span").on("click",function(){Hf("#sidebar").css("transform","translateX(85px)"),Hf("#sidebar").css("box-shadow","rgb(224, 151, 32) 10px 10px 30px"),Hf(".triangle").removeClass("animation")}),Hf("*").on("click",function(t){t.stopPropagation(),"pullOutButton"!==t.target.id&&"sidebar"!==t.target.id&&(Hf("#sidebar").css("transform","translateX(0px)"),Hf("#sidebar").css("box-shadow",""),Hf(".triangle").addClass("animation"))})},t.ngComponentDef=Gt({type:t,selectors:[["app-sidebar"]],factory:function(e){return new(e||t)},consts:52,vars:0,template:function(t,e){1&t&&(_o(0,"nav",jv),_o(1,"span",Dv),Ao(),_o(2,"div",Nv),_o(3,"button",Mv),_o(4,"i",Lv),Ao(),Ao(),_o(5,"h3",Hv),Do(6,"Microbot"),Ao(),Ao(),_o(7,"ul",Uv),_o(8,"li",qv),_o(9,"a",Fv),_o(10,"i",Vv),Ao(),_o(11,"span",Bv),Do(12,"Home"),Ao(),Ao(),Ao(),_o(13,"li"),_o(14,"a",zv),_o(15,"i",Wv),Ao(),_o(16,"span",Bv),Do(17,"About"),Ao(),Ao(),_o(18,"a",Gv),_o(19,"i",Zv),Ao(),_o(20,"span",Bv),Do(21,"Tasks"),Ao(),Ao(),_o(22,"ul",$v),_o(23,"li"),_o(24,"a",zv),Do(25,"Repo"),Ao(),Ao(),_o(26,"li"),_o(27,"a",zv),Do(28,"Issues"),Ao(),Ao(),_o(29,"li"),_o(30,"a",zv),Do(31,"Admin"),Ao(),Ao(),Ao(),Ao(),_o(32,"li"),_o(33,"a",zv),_o(34,"i",Qv),Ao(),_o(35,"span",Bv),Do(36,"Favorites"),Ao(),Ao(),Ao(),_o(37,"li"),_o(38,"a",zv),_o(39,"i",Jv),Ao(),_o(40,"span",Bv),Do(41,"FAQ"),Ao(),Ao(),Ao(),_o(42,"li"),_o(43,"a",zv),_o(44,"i",Yv),Ao(),_o(45,"span",Bv),Do(46,"Contact"),Ao(),Ao(),Ao(),_o(47,"li"),_o(48,"a",zv),_o(49,"i",Xv),Ao(),_o(50,"span",Bv),Do(51,"Settings"),Ao(),Ao(),Ao(),Ao(),Ao())},encapsulation:2}),t}(),outlet:"sidebar"},{path:"",component:function(){function t(t,e){this.dom=t,this.helper=e}return t.prototype.ngOnInit=function(){JSON.parse(window.localStorage.getItem("currentState")),Hf("#command").focus()},t.ngComponentDef=Gt({type:t,selectors:[["app-content"]],factory:function(e){return new(e||t)(Jo(Uf),Jo(Mf))},consts:3,vars:0,template:function(t,e){1&t&&(xo(0,"router-outlet",Kv),xo(1,"router-outlet",tm),xo(2,"router-outlet",em))},encapsulation:2}),t}(),outlet:"content",children:[{path:"",component:Pv,outlet:"command-prompt"},{path:"",component:function(){function t(t,e){this.domOpsService=t,this.githubService=e,this.isHidden=!0}return t.prototype.ngOnInit=function(){var t=this;this.domOpsService.commandPromptEnteredEmpty.subscribe(function(){t.isHidden=!1})},t.prototype.submitGitData=function(){var t=window.localStorage.getItem(Lf.constants.hiddenIntentFieldId);t&&this.githubService.gitOperationIdentified.emit(Lf.intentSlugToOperations[t].githubOperation)},t.ngComponentDef=Gt({type:t,selectors:[["app-modal"]],factory:function(e){return new(e||t)(Jo(Uf),Jo(Ff))},inputs:{isHidden:"isHidden"},consts:31,vars:1,template:function(t,e){1&t&&(_o(0,"div",nm),_o(1,"div",rm),_o(2,"div",om),_o(3,"div",im),_o(4,"h5",am),Do(5,"Confirm!"),Ao(),_o(6,"button",sm),_o(7,"span",um),Do(8,"\xd7"),Ao(),Ao(),Ao(),_o(9,"div",cm),Do(10," Are you sure you want to submit? "),Ao(),_o(11,"div",lm),_o(12,"button",pm),Do(13,"Cancel"),Ao(),_o(14,"button",fm),Oo("click",function(t){return e.submitGitData()}),Do(15,"Submit"),Ao(),Ao(),Ao(),Ao(),Ao(),_o(16,"div",dm),_o(17,"div",rm),_o(18,"div",om),_o(19,"div",im),_o(20,"h5",hm),Do(21,"No Command!"),Ao(),_o(22,"button",sm),_o(23,"span",um),Do(24,"\xd7"),Ao(),Ao(),Ao(),_o(25,"div",vm),Do(26," Please type some relevant words in the command box. "),Ao(),_o(27,"div",lm),_o(28,"button",mm),Do(29,"OK"),Ao(),Ao(),Ao(),Ao(),Ao(),_o(30,"button",gm),Ao()),2&t&&Ro(16,"hidden",Go(e.isHidden))},encapsulation:2}),t}(),outlet:"modal"},{path:"",component:function(){function t(){}return t.prototype.ngOnInit=function(){},t.ngComponentDef=Gt({type:t,selectors:[["app-primary-container"]],factory:function(e){return new(e||t)},consts:4,vars:0,template:function(t,e){1&t&&(xo(0,"router-outlet",ym),xo(1,"router-outlet",bm),xo(2,"router-outlet",wm),xo(3,"router-outlet",Sm))},encapsulation:2}),t}(),outlet:"primary-container",children:[{path:"",component:function(){function t(t,e){this.store=t,this.helper=e}return t.prototype.ngOnInit=function(){var t=this;this.cardsState=this.store.select("ioHistory"),this.cardsState.subscribe(function(e){t.cards=t.helper.concatenateAndSort(e)})},t.ngComponentDef=Gt({type:t,selectors:[["app-cards"]],factory:function(e){return new(e||t)(Jo(Yu),Jo(Mf))},inputs:{cardsState:"cardsState",cards:"cards"},consts:2,vars:1,template:function(t,e){1&t&&(_o(0,"div",Cm),qo(1,Tm,1,2,"app-card",xm),Ao()),2&t&&Ro(1,"ngForOf",Go(e.cards))},encapsulation:2}),t}(),outlet:"cards",children:[{path:"",component:function(){function t(t,e){this.cardService=t,this.domOpsService=e}return t.prototype.ngOnInit=function(){this.updateDisplayTime()},t.prototype.updateDisplayTime=function(){var t=this;this.displayTime=this.cardService.getDisplayTime(this.card.timestamp);var e=1e3;this.displayTime.includes("minutes")?e*=60:this.displayTime.includes("hours")?e=60*e*60:this.displayTime.includes("days")&&(e=60*e*60*24),setTimeout(function(){t.updateDisplayTime()},e)},t.prototype.repeatCommand=function(){this.domOpsService.repeatCommand(this.card)},t.ngComponentDef=Gt({type:t,selectors:[["app-card"]],factory:function(e){return new(e||t)(Jo(Bf),Jo(Uf))},inputs:{card:"card",displayTime:"displayTime"},consts:13,vars:4,template:function(t,e){var n,r,o,i,a;1&t&&(_o(0,"div"),(a=hn()).stylingTemplate||(a.stylingTemplate=wr()),function(t,e,n,r,o,i){if(!(32&t[0])){var a=function(t,e,n){var r,o=t[1],i=t[4].length,a=so(o,e);if(-1===a)r=o.length/4,o.push(e,i,!1,n||null);else{if(o[a+1]>=0)return-1;r=a/4,o[a+1]=i,o[a+3]=n||null}return r}(t,e,o);if(-1!==a){var s=t[4],u=s[1],c=s[0],l=4*c,p=9+l,f=p+4*u,d=f+l,h=s.length;s.push(r?r.length:0,n?n.length:0);var v=0,m=[];if(r&&r.length)for(var g=0;g<r.length;g++){var y=r[g];-1==(S=Tr(t,y,9,p))&&(S=p+v,v+=4,m.push(y)),s.push(S)}var b=[];if(n&&n.length)for(var w=0;w<n.length;w++){var S,C=n[w];-1==(S=Tr(t,C,p,f))?(S=f+v,v+=4,b.push(C)):S+=4*m.length,s.push(S)}var x=2;if(m.length)for(;x<h;){var _=s[x+0],E=s[x+1];if(E)for(var T=x+2+_,k=T;k<T+E;k++)s[k]+=4*m.length;x+=2+(_+E)}for(var O=b.length+m.length,A=9;A<t.length;A+=4){var R=A>=f,I=A>=(R?d:p),P=Gr(t,A),j=Nr(P),D=Mr(P);Wr(t,A,jr(P,j,D+=R?I?4*m.length:0:4*O+4*(I?m.length:0)))}for(var N=0;N<4*m.length;N++)t.splice(d,0,null),t.splice(p,0,null),p++,f++,d+=2;for(var M=0;M<4*b.length;M++)t.splice(f,0,null),t.push(null),f++,d++;for(var L=t[3],H=t[2],U=0;U<O;U++){var q=U>=m.length,F=q?U-m.length:U,V=q?b[F]:m[F],B=void 0,z=void 0;q?(B=d+4*(u+F),z=p+4*(u+F)):(B=f+4*(c+F),z=9+4*(c+F));var W=q?L:H,G=uo(W,V);-1===G?(G=W.length+1,W.push(V,!q&&null)):G+=1;var Z=no(t,V,q,o||null);Wr(t,z,jr(Z,G,B)),Hr(t,z,V),Ur(t,z,null),Vr(t,z,0,a),Wr(t,B,jr(Z,G,z)),Hr(t,B,V),Ur(t,B,null),Vr(t,B,0,a)}s[1]=u+b.length,s[0]=c+m.length,Wr(t,0,jr(0,0,f)|(i?16:0))}}}(a.stylingTemplate,i||null,n,r,o,_r(a)),_o(1,"div",km),_o(2,"h5",Om),Do(3),_o(4,"a",Am),Do(5,"Remove"),Ao(),qo(6,Mm,2,1,"a",Rm),Ao(),_o(7,"p",Im),Do(8),Ao(),Ao(),_o(9,"div",Pm),_o(10,"small",jm),Do(11),Ao(),Ao(),Ao(),_o(12,"div",Dm),Ao()),2&t&&(function(t,e,n,r){var o=fn(),i=Ie(0,o),a=Sr(0+de,o);if(_r(i)&&e!==Zn){var s=po(a);Po(o,i.inputs.class,(s.length?s+" ":"")+e)}else!function(t,e,n,r){n=n||null;var o=ao(t,null),i=t[5],a=e instanceof gr?new oo(e,i,1):null,s=n instanceof gr?new oo(n,i,2):null,u=a?e.value:e,c=s?n.value:n,l=Qr(t)||u===Zn||u===t[6],p=c===Zn||c===t[7];if(!l||!p){t[6]=u,t[7]=c;var f=zt,d=!1,h=!1,v=a?1:0;qr(t,a,1)&&(Fr(t,a,1),h=!0);var m=s?3:0;qr(t,s,3)&&(Fr(t,s,3),h=!0),l||("string"==typeof u?(f=u.split(/\s+/),d=!0):f=u?Object.keys(u):zt);for(var g=u||Bt,y=c?Object.keys(c):zt,b=c||Bt,w=y.length,S=!1,C=Lr(t),x=0,_=y.length+f.length;C<t.length&&x<_;){if(!(M=x>=w)&&!p||M&&!l){var E=M?x-w:x,T=M?f[E]:y[E],k=M?!!d||g[T]:b[T],O=M?v:m;if((L=$r(t,C))===T){var A=Zr(t,C),R=Gr(t,C);if(Vr(t,C,O,o),ro(R,A,k)){Ur(t,C,k),h=h||!!O;var I=Dr(t,R);(null!=A||ro(R,I,k))&&(Ar(t,C,!0),S=!0)}}else{var P=Xr(t,T,C);if(P>0){var j=Zr(t,P),D=Gr(t,P);Kr(t,C,P),ro(D,j,k)&&(I=Dr(t,D),Ur(t,C,k),(null!=j||ro(D,I,k))&&(Ar(t,C,!0),h=h||!!O,S=!0))}else h=h||!!O,to(t,C,M,T,no(t,T,M,co(t,o)),k,o,O),S=!0}}C+=4,x++}for(;C<t.length;)(!(M=2==(2&(R=Gr(t,C))))&&!p||M&&!l)&&eo(A=Zr(t,C),M)&&(Ar(t,C,!0),Ur(t,C,null),Vr(t,C,O=M?v:m,o),S=!0),C+=4;for(var N=co(t,o);x<_;){var M;if(!(M=x>=w)&&!p||M&&!l){E=M?x-w:x;var L=M?f[E]:y[E],H=(A=M?!!d||g[L]:b[L],R=1|no(t,L,M,N),O=M?v:m,t.length);t.push(R,L,A,0),Vr(t,H,O,o),S=!0}x++}S&&(Jr(t,!0),lo(t,o,!0)),h&&Yr(t,!0)}}(a,e,void 0)}(0,Zo("card ",e.card.cardStyle,"")),function(t,e){var n=fn(),r=0!=(2&n[Yt]);(function(t,n,r,o,i,a,s){var u=0,c=ao(t,e||null);if(function(t){return Rr(t,0)}(t)&&function(t,e){return t[1][4*c+2]}(t)){for(var l=8&t[0],p=t[5],f=Lr(t),d=Qr(t),h=!1,v=9;v<t.length;v+=4)if(Rr(t,v)){var m=Gr(t,v),g=io(t,v);if(c!==g){h=!0;continue}var y=$r(t,v),b=Zr(t,v),w=4&m?co(t,g):null,S=zr(t,v),C=!!(2&m),x=!C||!d,_=b;v<f&&!eo(_,C)&&(_=Zr(t,Mr(m))),C||eo(_,C)||!x||(_=Dr(t,m)),(!o||_)&&(C?Or(p,y,!!_,n,null,S):kr(p,y,_,n,w,null,S)),Ar(t,v,!1)}if(l){var E=Array.isArray(r)?Me(r):r,T=t[8],k=T[0];for(v=1;v<k;v+=2){var O=T[v],A=v+1,R=T[A];if(O){var I=O.buildPlayer(R,o);void 0!==I&&(null!=I&&xr(T,E,p,I,A)&&u++,R&&R.destroy())}else R&&R.destroy()}Yr(t,!1)}lo(t,c,!1),Jr(t,h)}return u})(Sr(t+de,n),n[ue],n,r)>0&&Vo(Me(n),2)}(0),No(3,Zo(" ",e.card.cardTitle," ")),Ro(6,"ngIf",Go("command"==e.card.type)),No(8,Zo(" ",e.card.cardContent," ")),No(11,Zo("",e.displayTime,"")))},encapsulation:2}),t}(),outlet:"card"}]},{path:"",component:tv,outlet:"intent"},{path:"",component:$h,outlet:"message"},{path:"",component:Uh,outlet:"widget"}]}]}]},{path:"appWidget",component:Uh},{path:"error",component:$h},{path:"intent",component:tv}])],Hm=[kf],Um=function(){function t(){}return t.ngInjectorDef=St({factory:function(){return new t},providers:void 0,imports:[Lm,Hm]}),t}(),qm=function(){function t(){}return t.ngInjectableDef=wt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Fm=new Mf,Vm={responses:[],queries:[],messages:[],insertionCounter:0};function Bm(t){var e=window.localStorage.getItem("currentState")?JSON.parse(window.localStorage.getItem("currentState")):t;return e&&!e.hasOwnProperty("insertionCounter")&&(e=Vm),e}var zm=[Hs,Vs,Um,zs,ac.forRoot({ioHistory:function(t,e){void 0===t&&(t=Vm);var n,r=Bm(t),o={};switch(e.type){case"ADD_REPO_RESPONSE":case"ADD_ISSUE_RESPONSE":case"ADD_COLLAB_RESPONSE":case"CLOSE_ISSUE_RESPONSE":case"CLOSE_ISSUE_RESPONSE":case"SHOW_LAST_COMMENT_RESPONSE":case"VIEW_REPO_RESPONSE":return o=e.payload,r=Bm(t),(n=o).type="response",n.insertionCounter=++r.insertionCounter,r.messages=r.messages?r.messages.concat([n]):[n],window.localStorage.setItem("currentState",JSON.stringify(r)),r;case"COMMAND":return r=Bm(t),(n=e.payload).insertionCounter=++r.insertionCounter,r.queries=r.queries?r.queries.concat([n]):[n],window.localStorage.setItem("currentState",JSON.stringify(r)),r;case"CLEAR_HISTORY":return(r=Fm.clone(Vm)).messages=[n=e.payload],window.localStorage.setItem("currentState",JSON.stringify(r)),r;default:return r}}})],Wm=[Uf,qm,ev,Ff,qf],Gm=function(){function t(){}return t.ngInjectorDef=St({factory:function(){return new t},providers:Wm,imports:[zm]}),t}();(function(){if(Ri)throw new Error("Cannot enable prod mode after platform setup.");Ai=!1})(),Ls().bootstrapModule(Gm).catch(function(t){return console.log(t)})}},[[0,0]]]); |