1!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)}("undefined"!=typeof window?window:this,function(p,L){function I(e,t){return t.toUpperCase()}var f=[],c=f.slice,R=f.concat,F=f.push,H=f.indexOf,n={},q=n.toString,m=n.hasOwnProperty,g={},e="1.11.3",w=function(e,t){return new w.fn.init(e,t)},U=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,V=/^-ms-/,Y=/-([\da-z])/gi;function W(e){var t="length"in e&&e.length,n=w.type(e);return"function"!==n&&!w.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}w.fn=w.prototype={jquery:e,constructor:w,selector:"",length:0,toArray:function(){return c.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:c.call(this)},pushStack:function(e){e=w.merge(this.constructor(),e);return e.prevObject=this,e.context=this.context,e},each:function(e,t){return w.each(this,e,t)},map:function(n){return this.pushStack(w.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(c.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:F,sort:f.sort,splice:f.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o=arguments[0]||{},a=1,s=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||w.isFunction(o)||(o={}),a===s&&(o=this,a--);a<s;a++)if(null!=(r=arguments[a]))for(n in r)i=o[n],o!==(t=r[n])&&(u&&t&&(w.isPlainObject(t)||(e=w.isArray(t)))?(i=e?(e=!1,i&&w.isArray(i)?i:[]):i&&w.isPlainObject(i)?i:{},o[n]=w.extend(u,i,t)):void 0!==t&&(o[n]=t));return o},w.extend({expando:"jQuery"+(e+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===w.type(e)},isArray:Array.isArray||function(e){return"array"===w.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!w.isArray(e)&&0<=e-parseFloat(e)+1},isEmptyObject:function(e){for(var t in e)return!1;return!0},isPlainObject:function(e){if(!e||"object"!==w.type(e)||e.nodeType||w.isWindow(e))return!1;try{if(e.constructor&&!m.call(e,"constructor")&&!m.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(g.ownLast)for(var t in e)return m.call(e,t);for(t in e);return void 0===t||m.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[q.call(e)]||"object":typeof e},globalEval:function(e){e&&w.trim(e)&&(p.execScript||function(e){p.eval.call(p,e)})(e)},camelCase:function(e){return e.replace(V,"ms-").replace(Y,I)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=W(e);if(n){if(o)for(;r<i&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(o)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(U,"")},makeArray:function(e,t){t=t||[];return null!=e&&(W(Object(e))?w.merge(t,"string"==typeof e?[e]:e):F.call(t,e)),t},inArray:function(e,t,n){var r;if(t){if(H)return H.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!=a&&r.push(e[i]);return r},map:function(e,t,n){var r,i=0,o=e.length,a=[];if(W(e))for(;i<o;i++)null!=(r=t(e[i],i,n))&&a.push(r);else for(i in e)null!=(r=t(e[i],i,n))&&a.push(r);return R.apply([],a)},guid:1,proxy:function(e,t){var n,r;if("string"==typeof t&&(r=e[t],t=e,e=r),w.isFunction(e))return n=c.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(c.call(arguments)))}).guid=e.guid=e.guid||w.guid++,r},now:function(){return+new Date},support:g}),w.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var e=function(n){function f(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(65536+r):String.fromCharCode(r>>10|55296,1023&r|56320)}function L(){p()}var e,d,b,o,I,h,R,F,w,l,c,p,x,t,m,g,r,i,v,$="sizzle"+ +new Date,y=n.document,k=0,H=0,q=ce(),U=ce(),V=ce(),Y=function(e,t){return e===t&&(c=!0),0},W={}.hasOwnProperty,a=[],B=a.pop,z=a.push,S=a.push,G=a.slice,C=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",s="[\\x20\\t\\r\\n\\f]",u="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",J=u.replace("w","w#"),X="\\["+s+"*("+u+")(?:"+s+"*([*^$|!~]?=)"+s+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+J+"))|)"+s+"*\\]",K=":("+u+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+X+")*)|.*)\\)|)",Q=new RegExp(s+"+","g"),_=new RegExp("^"+s+"+|((?:^|[^\\\\])(?:\\\\.)*)"+s+"+$","g"),ee=new RegExp("^"+s+"*,"+s+"*"),te=new RegExp("^"+s+"*([>+~]|"+s+")"+s+"*"),ne=new RegExp("="+s+"*([^\\]'\"]*?)"+s+"*\\]","g"),re=ne
vendor: 10,345 bytes, line 1
1w RegExp(K),ie=new RegExp("^"+J+"$"),E={ID:new RegExp("^#("+u+")"),CLASS:new RegExp("^\\.("+u+")"),TAG:new RegExp("^("+u.replace("w","w*")+")"),ATTR:new RegExp("^"+X),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},oe=/^(?:input|select|textarea|button)$/i,ae=/^h\d$/i,T=/^[^{]+\{\s*\[native \w/,se=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ue=/[+~]/,le=/'|\\/g,A=new RegExp("\\\\([\\da-f]{1,6}"+s+"?|("+s+")|.)","ig");try{S.apply(a=G.call(y.childNodes),y.childNodes),a[y.childNodes.length].nodeType}catch(e){S={apply:a.length?function(e,t){z.apply(e,G.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function M(e,t,n,r){var i,o,a,s,u,l,c;if((t?t.ownerDocument||t:y)!==x&&p(t),n=n||[],i=(t=t||x).nodeType,"string"!=typeof e||!e||1!==i&&9!==i&&11!==i)return n;if(!r&&m){if(11!==i&&(l=se.exec(e)))if(c=l[1]){if(9===i){if(!(s=t.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(c))&&v(t,s)&&s.id===c)return n.push(s),n}else{if(l[2])return S.apply(n,t.getElementsByTagName(e)),n;if((c=l[3])&&d.getElementsByClassName)return S.apply(n,t.getElementsByClassName(c)),n}if(d.qsa&&(!g||!g.test(e))){if(u=s=$,l=t,c=1!==i&&e,1===i&&"object"!==t.nodeName.toLowerCase()){for(a=h(e),(s=t.getAttribute("id"))?u=s.replace(le,"\\$&"):t.setAttribute("id",u),u="[id='"+u+"'] ",o=a.length;o--;)a[o]=u+j(a[o]);l=ue.test(e)&&he(t.parentNode)||t,c=a.join(",")}if(c)try{return S.apply(n,l.querySelectorAll(c)),n}catch(e){}finally{s||t.removeAttribute("id")}}}return F(e.replace(_,"$1"),t,n,r)}function ce(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function O(e){return e[$]=!0,e}function N(e){var t=x.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function fe(e,t){for(var n=e.split("|"),r=e.length;r--;)b.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function D(a){return O(function(o){return o=+o,O(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in d=M.support={},I=M.isXML=function(e){e=e&&(e.ownerDocument||e).documentElement;return!!e&&"HTML"!==e.nodeName},p=M.setDocument=function(e){var u=e?e.ownerDocument||e:y;return u!==x&&9===u.nodeType&&u.documentElement?(t=(x=u).documentElement,(e=u.defaultView)&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",L,!1):e.attachEvent&&e.attachEvent("onunload",L)),m=!I(u),d.attributes=N(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=N(function(e){return e.appendChild(u.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=T.test(u.getElementsByClassName),d.getById=N(function(e){return t.appendChild(e).id=$,!u.getElementsByName||!u.getElementsByName($).length}),d.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&m)return(t=t.getElementById(e))&&t.parentNode?[t]:[]},b.filter.ID=function(e){var t=e.replace(A,f);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(A,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}}),b.find.TAG=d.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(m)return t.getElementsByClassName(e)},r=[],g=[],(d.qsa=T.test(u.querySelectorAll))&&(N(function(e){t.appendChild(e).innerHTML="<a id='"+$+"'></a><select id='"+$+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+s+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+s+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+$+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+$+"+*").length||g.push(".#.+[+~]")}),N(function(e){var t=u.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+s+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(d.matchesSelector=T.test(i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.msMatchesSelector))&&N(function(e){d.disconnectedMatch=i.call(e,"div"),i.call(e,"[s!='']:x"),r.push("!=",K)}),g=g.length&&new RegExp(g.join("|")),r=r.length&&new RegExp(r.join("|")),e=T.test(t.compareDocumentPosition),v=e||T.test(t.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},Y=e?function(e,t){var n;return e===t?(c=!0,0):(n=!e.compareDocumentPosition-!t.compareDocumentPosition)||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===u||e.ownerDocument===y&&v(y,e)?-1:t===u||t.ownerDocument===y&&v(y,t)?1:l?C(l,e)-C(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===u?-1:t===u?1:i?-1:o?1:l?C(l,e)-C(l,t):0;if(i===o)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]===y?-1:s[r]===y?1:0},u):x},M.matches=function(e,t){return M(e,null,null,t)},M.matchesSelector=function(e,t){if((e.ownerDocument||e)!==x&&p(e),t=t.replace(ne,"='$1']"),d.matchesSelector&&m&&(!r||!r.test(t))&&(!g||!g.test(t)))try{var n=i.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<M(t,x,null,[e]).length},M.contains=function(e,t){return(e.ownerDocument||e)!==x&&p(e),v(e,t)},M.attr=function(e,t){(e.ownerDocument||e)!==x&&p(e);var n=b.attrHandle[t.toLowerCase()],n=n&&W.call(b.attrHandle,t.toLowerCase())?n(e,t,!m):void 0;return void 0!==n?n:d.attributes||!m?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},M.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},M.uniqueSort=function(e){var t,n=[],r=0,i=0;if(c=!d.detectDuplicates,l=!d.sortStable&&e.slice(0),e.sort(Y),c){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return l=null,e},o=M.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(b=M.selectors={cacheLength:50,createPseudo:O,match:E,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(A,f),e[3]=(e[3]||e[4]||e[5]||"").replace(A,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||M.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&M.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return E.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=(t=h(n,!0))&&n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(A,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=M.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1<e.indexOf(r):"$="===n?r&&e.slice(-r.length)===r:"~="===n?-1<(" "+e.replace(Q," ")+" ").indexOf(r):"|="===n&&(e===r||e.slice(0,r.length+1)===r+"-"))}},CHILD:function(h,e,t,p,m){var g="nth"!==h.slice(0,3),v="last"!==h.slice(-4),y="of-type"===e;return 1===p&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=g!=v?"nextSibling":"previousSibling",c=e.parentNode,f=y&&e.nodeName.toLowerCase(),d=!n&&!y;if(c){if(g){for(;l;){for(o=e;o=o[l];)if(y?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[v?c.firstChild:c.lastChild],v&&d){for(s=(r=(i=c[$]||(c[$]={}))[h]||[])[0]===k&&r[1],a=r[0]===k&&r[2],o=s&&c.childNodes[s];o=++s&&o&&o[l]||(a=s=0,u.pop());)if(1===o.nodeType&&++a&&o===e){i[h]=[k,s,a];break}}else if(d&&(r=(e[$]||(e[$]={}))[h])&&r[0]===k)a=r[1];else for(;(o=++s&&o&&o[l]||(a=s=0,u.pop()))&&((y?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++a||(d&&((o[$]||(o[$]={}))[h]=[k,a]),o!==e)););return(a-=m)===p||a%p==0&&0<=a/p}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||M.error("unsupported pseudo: "+e);return a[$]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?O(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=C(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:O(function(e){var r=[],i=[],s=R(e.replace(_,"$1"));return s[$]?O(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:O(function(t){return function(e){return 0<M(t,e).length}}
vendor: 4,101 bytes, line 1
1),contains:O(function(t){return t=t.replace(A,f),function(e){return-1<(e.textContent||e.innerText||o(e)).indexOf(t)}}),lang:O(function(n){return ie.test(n||"")||M.error("unsupported lang: "+n),n=n.replace(A,f).toLowerCase(),function(e){var t;do{if(t=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===t},focus:function(e){return e===x.activeElement&&(!x.hasFocus||x.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return ae.test(e.nodeName)},input:function(e){return oe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:D(function(){return[0]}),last:D(function(e,t){return[t-1]}),eq:D(function(e,t,n){return[n<0?n+t:n]}),even:D(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:D(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:D(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:D(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=function(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}(e);function pe(){}function j(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(a,e,t){var s=e.dir,u=t&&"parentNode"===s,l=H++;return e.first?function(e,t,n){for(;e=e[s];)if(1===e.nodeType||u)return a(e,t,n)}:function(e,t,n){var r,i,o=[k,l];if(n){for(;e=e[s];)if((1===e.nodeType||u)&&a(e,t,n))return!0}else for(;e=e[s];)if(1===e.nodeType||u){if((r=(i=e[$]||(e[$]={}))[s])&&r[0]===k&&r[1]===l)return o[2]=r[2];if((i[s]=o)[2]=a(e,t,n))return!0}}}function ge(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function P(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)!(o=e[s])||n&&!n(o,r,i)||(a.push(o),l&&t.push(s));return a}function ve(h,p,m,g,v,e){return g&&!g[$]&&(g=ve(g)),v&&!v[$]&&(v=ve(v,e)),O(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)M(e,t[r],n);return n}(p||"*",n.nodeType?[n]:n,[]),f=!h||!e&&p?c:P(c,s,h,n,r),d=m?v||(e?h:l||g)?[]:t:f;if(m&&m(f,d,n,r),g)for(i=P(d,u),g(i,[],n,r),o=i.length;o--;)(a=i[o])&&(d[u[o]]=!(f[u[o]]=a));if(e){if(v||h){if(v){for(i=[],o=d.length;o--;)(a=d[o])&&i.push(f[o]=a);v(null,d=[],i,r)}for(o=d.length;o--;)(a=d[o])&&-1<(i=v?C(e,a):s[o])&&(e[i]=!(t[i]=a))}}else d=P(d===t?d.splice(l,d.length):d),v?v(null,t,d,r):S.apply(t,d)})}function ye(g,v){function e(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],d=w,h=e||$&&b.find.TAG("*",i),p=k+=null==d?1:Math.random()||.1,m=h.length;for(i&&(w=t!==x&&t);l!==m&&null!=(o=h[l]);l++){if($&&o){for(a=0;s=g[a++];)if(s(o,t,n)){r.push(o);break}i&&(k=p)}y&&((o=!s&&o)&&u--,e)&&c.push(o)}if(u+=l,y&&l!==u){for(a=0;s=v[a++];)s(c,f,t,n);if(e){if(0<u)for(;l--;)c[l]||f[l]||(f[l]=B.call(r));f=P(f)}S.apply(r,f),i&&!e&&0<f.length&&1<u+v.length&&M.uniqueSort(r)}return i&&(k=p,w=d),c}var y=0<v.length,$=0<g.length;return y?O(e):e}return pe.prototype=b.filters=b.pseudos,b.setFilters=new pe,h=M.tokenize=function(e,t){var n,r,i,o,a,s,u,l=U[e+" "];if(l)return t?0:l.slice(0);for(a=e,s=[],u=b.preFilter;a;
vendor: 9,270 bytes, line 1
1){for(o in n&&!(r=ee.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=te.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(_," ")}),a=a.slice(n.length)),b.filter)!(r=E[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?M.error(e):U(e,s).slice(0)},R=M.compile=function(e,t){var n,r=[],i=[],o=V[e+" "];if(!o){for(n=(t=t||h(e)).length;n--;)((o=function e(t){for(var r,n,i,o=t.length,a=b.relative[t[0].type],s=a||b.relative[" "],u=a?1:0,l=me(function(e){return e===r},s,!0),c=me(function(e){return-1<C(r,e)},s,!0),f=[function(e,t,n){return e=!a&&(n||t!==w)||((r=t).nodeType?l:c)(e,t,n),r=null,e}];u<o;u++)if(n=b.relative[t[u].type])f=[me(ge(f),n)];else{if((n=b.filter[t[u].type].apply(null,t[u].matches))[$]){for(i=++u;i<o&&!b.relative[t[i].type];i++);return ve(1<u&&ge(f),1<u&&j(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(_,"$1"),n,u<i&&e(t.slice(u,i)),i<o&&e(t=t.slice(i)),i<o&&j(t))}f.push(n)}return ge(f)}(t[n]))[$]?r:i).push(o);(o=V(e,ye(i,r))).selector=e}return o},F=M.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&d.getById&&9===t.nodeType&&m&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(A,f),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=E.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((u=b.find[s])&&(r=u(a.matches[0].replace(A,f),ue.test(o[0].type)&&he(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&j(o))break;return S.apply(n,r),n}}return(l||R(e,c))(r,t,!m,n,ue.test(e)&&he(t.parentNode)||t),n},d.sortStable=$.split("").sort(Y).join("")===$,d.detectDuplicates=!!c,p(),d.sortDetached=N(function(e){return 1&e.compareDocumentPosition(x.createElement("div"))}),N(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&N(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),N(function(e){return null==e.getAttribute("disabled")})||fe(Z,function(e,t,n){if(!n)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null}),M}(p),B=(w.find=e,w.expr=e.selectors,w.expr[":"]=w.expr.pseudos,w.unique=e.uniqueSort,w.text=e.getText,w.isXMLDoc=e.isXML,w.contains=e.contains,w.expr.match.needsContext),z=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,G=/^.[^:#\[\.,]*$/;function Z(e,n,r){if(w.isFunction(n))return w.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return w.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(G.test(n))return w.filter(n,e,r);n=w.filter(n,e)}return w.grep(e,function(e){return 0<=w.inArray(e,n)!==r})}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<i;t++)if(w.contains(r[t],this))return!0}));for(t=0;t<i;t++)w.find(e,r[t],n);return(n=this.pushStack(1<i?w.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(Z(this,e||[],!1))},not:function(e){return this.pushStack(Z(this,e||[],!0))},is:function(e){return!!Z(this,"string"==typeof e&&B.test(e)?w(e):e||[],!1).length}});var i,v=p.document,J=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,X=((w.fn.init=function(e,t){var n,r;if(e){if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):w.isFunction(e)?void 0!==i.ready?i.ready(e):e(w):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),w.makeArray(e,this));if(!(n="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:J.exec(e))||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),z.test(n[1])&&w.isPlainObject(t))for(n in t)w.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n])}else{if((r=v.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return i.find(e);this.length=1,this[0]=r}this.context=v,this.selector=e}}return this}).prototype=w.fn,i=w(v),/^(?:parents|prev(?:Until|All))/),K={children:!0,contents:!0,next:!0,prev:!0};function Q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.extend({dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(void 0===n||1!==i.nodeType||!w(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),w.fn.extend({has:function(e){var t,n=w(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(w.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=B.test(e)||"string"!=typeof e?w(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?w.unique(o):o)},index:function(e){return e?"string"==typeof e?w.inArray(this[0],w(e)):w.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.unique(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return w.dir(e,"parentNode")},parentsUntil:function(e,t,n){return w.dir(e,"parentNode",n)},next:function(e){return Q(e,"nextSibling")},prev:function(e){return Q(e,"previousSibling")},nextAll:function(e){return w.dir(e,"nextSibling")},prevAll:function(e){return w.dir(e,"previousSibling")},nextUntil:function(e,t,n){return w.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return w.dir(e,"previousSibling",n)},siblings:function(e){return w.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return w.sibling(e.firstChild)},contents:function(e){return w.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:w.merge([],e.childNodes)}},function(r,i){w.fn[r]=function(e,t){var n=w.map(this,i,e);return(t="Until"!==r.slice(-5)?e:t)&&"string"==typeof t&&(n=w.filter(t,n)),1<this.length&&(K[r]||(n=w.unique(n)),X.test(r))&&(n=n.reverse()),this.pushStack(n)}});var t,x=/\S+/g,ee={};function te(){v.addEventListener?(v.removeEventListener("DOMContentLoaded",r,!1),p.removeEventListener("load",r,!1)):(v.detachEvent("onreadystatechange",r),p.detachEvent("onload",r))}function r(){!v.addEventListener&&"load"!==event.type&&"complete"!==v.readyState||(te(),w.ready())}w.Callbacks=function(i){var e,n;i="string"==typeof i?ee[i]||(n=ee[e=i]={},w.each(e.match(x)||[],function(e,t){n[t]=!0}),n):w.extend({},i);function r(e){for(t=i.memory&&e,a=!0,u=l||0,l=0,s=c.length,o=!0;c&&u<s;u++)if(!1===c[u].apply(e[0],e[1])&&i.stopOnFalse){t=!1;break}o=!1,c&&(f?f.length&&r(f.shift()):t?c=[]:d.disable())}var o,t,a,s,u,l,c=[],f=!i.once&&[],d={add:function(){var e;return c&&(e=c.length,function r(e){w.each(e,function(e,t){var n=w.type(t);"function"===n?i.unique&&d.has(t)||c.push(t):t&&t.length&&"string"!==n&&r(t)})}(arguments),o?s=c.length:t&&(l=e,r(t))),this},remove:function(){return c&&w.each(arguments,function(e,t){for(var n;-1<(n=w.inArray(t,c,n));)c.splice(n,1),o&&(n<=s&&s--,n<=u)&&u--}),this},has:function(e){return e?-1<w.inArray(e,c):!(!c||!c.length)},empty:function(){return c=[],s=0,this},disable:function(){return c=f=t=void 0,this},disabled:function(){return!c},lock:function(){return f=void 0,t||d.disable(),this},locked:function(){return!f},fireWith:function(e,t){return!c||a&&!f||(t=[e,(t=t||[]).slice?t.slice():t],o?f.push(t):r(t)),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!a}};return d},w.extend({Deferred:function(e){var o=[["resolve","done",w.Callbacks("once memory"),"resolved"],["reject","fail",w.Callbacks("once memory"),"rejected"],["notify","progress",w.Callbacks("memory")]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var i=arguments;return w.Deferred(function(r){w.each(o,function(e,t){var n=w.isFunction(i[e])&&i[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&w.isFunction(e.promise)?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[t[0]+"With"](this===a?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?w.extend(e,a):a}},s={};return a.pipe=a.then,w.each(o,function(e,t){var n=t[2],r=t[3];a[t[1]]=n.add,r&&n.add(function(){i=r},o[1^e][2].disable,o[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?a:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){function t(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?c.call(arguments):e,r===i?l.
1notifyWith(n,r):--u||l.resolveWith(n,r)}}var i,n,r,o=0,a=c.call(arguments),s=a.length,u=1!==s||e&&w.isFunction(e.promise)?s:0,l=1===u?e:w.Deferred();if(1<s)for(i=new Array(s),n=new Array(s),r=new Array(s);o<s;o++)a[o]&&w.isFunction(a[o].promise)?a[o].promise().done(t(o,r,a)).fail(l.reject).progress(t(o,n,i)):--u;return u||l.resolveWith(r,a),l.promise()}}),w.fn.ready=function(e){return w.ready.promise().done(e),this},w.extend({isReady:!1,readyWait:1,holdReady:function(e){e?w.readyWait++:w.ready(!0)},ready:function(e){if(!0===e?!--w.readyWait:!w.isReady){if(!v.body)return setTimeout(w.ready);(w.isReady=!0)!==e&&0<--w.readyWait||(t.resolveWith(v,[w]),w.fn.triggerHandler&&(w(v).triggerHandler("ready"),w(v).off("ready")))}}}),w.ready.promise=function(e){if(!t)if(t=w.Deferred(),"complete"===v.readyState)setTimeout(w.ready);else if(v.addEventListener)v.addEventListener("DOMContentLoaded",r,!1),p.addEventListener("load",r,!1);else{v.attachEvent("onreadystatechange",r),p.attachEvent("onload",r);var n=!1;try{n=null==p.frameElement&&v.documentElement}catch(e){}n&&n.doScroll&&!function t(){if(!w.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}te(),w.ready()}}()}return t.promise(e)};var ne,y="undefined";for(ne in w(g))break;g.ownLast="0"!==ne,g.inlineBlockNeedsLayout=!1,w(function(){var e,t,n=v.getElementsByTagName("body")[0];n&&n.style&&(e=v.createElement("div"),(t=v.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(t).appendChild(e),typeof e.style.zoom!=y&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",g.inlineBlockNeedsLayout=e=3===e.offsetWidth,e)&&(n.style.zoom=1),n.removeChild(t))});e=v.createElement("div");if(null==g.deleteExpando){g.deleteExpando=!0;try{delete e.test}catch(e){g.deleteExpando=!1}}w.acceptData=function(e){var t=w.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)};var re=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ie=/([A-Z])/g;function oe(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(ie,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:re.test(n)?w.parseJSON(n):n)}catch(e){}w.data(e,t,n)}else n=void 0}return n}function ae(e){for(var t in e)if(("data"!==t||!w.isEmptyObject(e[t]))&&"toJSON"!==t)return;return 1}function se(e,t,n,r){if(w.acceptData(e)){var i,o=w.expando,a=e.nodeType,s=a?w.cache:e,u=a?e[o]:e[o]&&o;if(u&&s[u]&&(r||s[u].data)||void 0!==n||"string"!=typeof t)return s[u=u||(a?e[o]=f.pop()||w.guid++:o)]||(s[u]=a?{}:{toJSON:w.noop}),"object"!=typeof t&&"function"!=typeof t||(r?s[u]=w.extend(s[u],t):s[u].data=w.extend(s[u].data,t)),e=s[u],r||(e.data||(e.data={}),e=e.data),void 0!==n&&(e[w.camelCase(t)]=n),"string"==typeof t?null==(i=e[t])&&(i=e[w.camelCase(t)]):i=e,i}}function ue(e,t,n){if(w.acceptData(e)){var r,i,o=e.nodeType,a=o?w.cache:e,s=o?e[w.expando]:w.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=w.isArray(t)?t.concat(w.map(t,w.camelCase)):t in r||(t=w.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!ae(r):!w.isEmptyObject(r))return}(n||(delete a[s].data,ae(a[s])))&&(o?w.cleanData([e],!0):g.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}w.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?w.cache[e[w.expando]]:e[w.expando])&&!ae(e)},data:function(e,t,n){return se(e,t,n)},removeData:function(e,t){return ue(e,t)},_data:function(e,t,n){return se(e,t,n,!0)},_removeData:function(e,t){return ue(e,t,!0)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0!==e)return"object"==typeof e?this.each(function(){w.data(this,e)}):1<arguments.length?this.each(function(){w.data(this,e,t)}):o?oe(o,e,w.data(o,e)):void 0;if(this.length&&(i=w.data(o),1===o.nodeType)&&!w._data(o,"parsedAttrs")){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&oe(o,r=w.camelCase(r.slice(5)),i[r]);w._data(o,"parsedAttrs",!0)}return i},removeData:function(e){return this.each(function(){w.removeData(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return r=w._data(e,t=(t||"fx")+"queue"),n&&(!r||w.isArray(n)?r=w._data(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){w.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return w._data(e,n)||w._data(e,n,{empty:w.Callbacks("once memory").add(function(){w._removeData(e,t+"queue"),w._removeData(e,n)})})}}),w.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?w.queue(this[0],t):void 0===n?this:this.each(function(){var e=w.queue(this,t,n);w._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&w.dequeue(this,t)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function n(){--i||o.resolveWith(a,[a])}var r,i=1,o=w.Deferred(),a=this,s=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(r=w._data(a[s],e+"queueHooks"))&&r.empty&&(i++,r.empty.add(n));return n(),o.promise(t)}});function $(e,t){return"none"===w.css(e=t||e,"display")||!w.contains(e.ownerDocument,e)}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,s=["Top","Right","Bottom","Left"],u=w.access=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;
1if("object"===w.type(n))for(s in i=!0,n)w.access(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,w.isFunction(r)||(a=!0),t=l?a?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(w(e),n)}):t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},le=/^(?:checkbox|radio)$/i,o=v.createElement("input"),a=v.createElement("div"),l=v.createDocumentFragment();if(a.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",g.leadingWhitespace=3===a.firstChild.nodeType,g.tbody=!a.getElementsByTagName("tbody").length,g.htmlSerialize=!!a.getElementsByTagName("link").length,g.html5Clone="<:nav></:nav>"!==v.createElement("nav").cloneNode(!0).outerHTML,o.type="checkbox",o.checked=!0,l.appendChild(o),g.appendChecked=o.checked,a.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue,l.appendChild(a),a.innerHTML="<input type='radio' checked='checked' name='t'/>",g.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,g.noCloneEvent=!0,a.attachEvent&&(a.attachEvent("onclick",function(){g.noCloneEvent=!1}),a.cloneNode(!0).click()),null==g.deleteExpando){g.deleteExpando=!0;try{delete a.test}catch(e){g.deleteExpando=!1}}var d,ce,fe=v.createElement("div");for(d in{submit:!0,change:!0,focusin:!0})(g[d+"Bubbles"]=(ce="on"+d)in p)||(fe.setAttribute(ce,"t"),g[d+"Bubbles"]=!1===fe.attributes[ce].expando);var de=/^(?:input|select|textarea)$/i,he=/^key/,pe=/^(?:mouse|pointer|contextmenu)|click/,me=/^(?:focusinfocus|focusoutblur)$/,ge=/^([^.]*)(?:\.(.+)|)$/;function ve(){return!0}function h(){return!1}function ye(){try{return v.activeElement}catch(e){}}function $e(e){var t=be.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,p=w._data(e);if(p)for(n.handler&&(n=(s=n).handler,i=s.selector),n.guid||(n.guid=w.guid++),o=(o=p.events)||(p.events={}),(l=p.handle)||((l=p.handle=function(e){return typeof w==y||e&&w.event.triggered===e.type?void 0:w.event.dispatch.apply(l.elem,arguments)}).elem=e),a=(t=(t||"").match(x)||[""]).length;a--;)f=h=(d=ge.exec(t[a])||[])[1],d=(d[2]||"").split(".").sort(),f&&(u=w.event.special[f]||{},f=(i?u.delegateType:u.bindType)||f,u=w.event.special[f]||{},h=w.extend({type:f,origType:h,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:d.join(".")},s),(c=o[f])||((c=o[f]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,r,d,l))||(e.addEventListener?e.addEventListener(f,l,!1):e.attachEvent&&e.attachEvent("on"+f,l)),u.add&&(u.add.call(e,h),h.handler.guid||(h.handler.guid=n.guid)),i?c.splice(c.delegateCount++,0,h):c.push(h),w.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,p,m,g=w.hasData(e)&&w._data(e);if(g&&(c=g.events)){for(l=(t=(t||"").match(x)||[""]).length;l--;)if(h=m=(s=ge.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=w.event.special[h]||{},d=c[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)a=d[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));u&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,g.handle)||w.removeEvent(e,h,g.handle),delete c[h])}else for(h in c)w.event.remove(e,h+t[l],n,r,!0);w.isEmptyObject(c)&&(delete g.handle,w._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,u,l,c=[n||v],f=m.call(e,"type")?e.type:e,d=m.call(e,"namespace")?e.namespace.split("."):[],h=u=n=n||v;if(3!==n.nodeType&&8!==n.nodeType&&!me.test(f+w.event.triggered)&&(0<=f.indexOf(".")&&(f=(d=f.split(".")).shift(),d.sort()),o=f.indexOf(":")<0&&"on"+f,(e=e[w.expando]?e:new w.Event(f,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:w.makeArray(t,[e]),s=w.event.special[f]||{},r||!s.trigger||!1!==s.trigger.apply(n,t))){if(!r&&!s.noBubble&&!w.isWindow(n)){for(a=s.delegateType||f,me.test(a+f)||(h=h.parentNode);h;h=h.parentNode)c.push(h),u=h;
1u===(n.ownerDocument||v)&&c.push(u.defaultView||u.parentWindow||p)}for(l=0;(h=c[l++])&&!e.isPropagationStopped();)e.type=1<l?a:s.bindType||f,(i=(w._data(h,"events")||{})[e.type]&&w._data(h,"handle"))&&i.apply(h,t),(i=o&&h[o])&&i.apply&&w.acceptData(h)&&(e.result=i.apply(h,t),!1===e.result)&&e.preventDefault();if(e.type=f,!r&&!e.isDefaultPrevented()&&(!s._default||!1===s._default.apply(c.pop(),t))&&w.acceptData(n)&&o&&n[f]&&!w.isWindow(n)){(u=n[o])&&(n[o]=null),w.event.triggered=f;try{n[f]()}catch(e){}w.event.triggered=void 0,u&&(n[o]=u)}return e.result}},dispatch:function(e){e=w.event.fix(e);var t,n,r,i,o,a=c.call(arguments),s=(w._data(this,"events")||{})[e.type]||[],u=w.event.special[e.type]||{};if((a[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(o=w.event.handlers.call(this,e,s),t=0;(r=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=r.elem,i=0;(n=r.handlers[i++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(n.namespace)||(e.handleObj=n,e.data=n.data,void 0!==(n=((w.event.special[n.origType]||{}).handle||n.handler).apply(r.elem,a))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(i=[],o=0;o<s;o++)void 0===i[n=(r=t[o]).selector+" "]&&(i[n]=r.needsContext?0<=w(n,this).index(u):w.find(n,this,null,[u]).length),i[n]&&i.push(r);i.length&&a.push({elem:u,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[w.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=pe.test(i)?this.mouseHooks:he.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new w.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];return e.target||(e.target=o.srcElement||v),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||v).documentElement,n=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?t.toElement:o),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ye()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===ye()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(w.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return w.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){e=w.extend(new w.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?w.event.trigger(e,null,t):w.event.dispatch.call(t,e),e.isDefaultPrevented()&&n.preventDefault()}},w.removeEvent=v.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){t="on"+t;e.detachEvent&&(typeof e[t]==y&&(e[t]=null),e.detachEvent(t,n))},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ve:h):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||w.now(),this[w.expando]=!0},w.Event.prototype={isDefaultPrevented:h,isPropagationStopped:h,isImmediatePropagationStopped:h,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ve,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ve,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ve,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
1,w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){w.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||w.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),g.submitBubbles||(w.event.special.submit={setup:function(){if(w.nodeName(this,"form"))return!1;w.event.add(this,"click._submit keypress._submit",function(e){e=e.target,e=w.nodeName(e,"input")||w.nodeName(e,"button")?e.form:void 0;e&&!w._data(e,"submitBubbles")&&(w.event.add(e,"submit._submit",function(e){e._submit_bubble=!0}),w._data(e,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode)&&!e.isTrigger&&w.event.simulate("submit",this.parentNode,e,!0)},teardown:function(){if(w.nodeName(this,"form"))return!1;w.event.remove(this,"._submit")}}),g.changeBubbles||(w.event.special.change={setup:function(){if(de.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(w.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),w.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),w.event.simulate("change",this,e,!0)})),!1;w.event.add(this,"beforeactivate._change",function(e){e=e.target;de.test(e.nodeName)&&!w._data(e,"changeBubbles")&&(w.event.add(e,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||w.event.simulate("change",this.parentNode,e,!0)}),w._data(e,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return w.event.remove(this,"._change"),!de.test(this.nodeName)}}),g.focusinBubbles||w.each({focus:"focusin",blur:"focusout"},function(n,r){function i(e){w.event.simulate(r,e.target,w.event.fix(e),!0)}w.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=w._data(e,r);t||e.addEventListener(n,i,!0),w._data(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=w._data(e,r)-1;t?w._data(e,r,t):(e.removeEventListener(n,i,!0),w._removeData(e,r))}}}),w.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=void 0),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),!1===r)r=h;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),this.each(function(){w.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=h),this.each(function(){w.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i])}return this},trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}});var be="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",we=/ jQuery\d+="(?:null|\d+)"/g,xe=new RegExp("<(?:"+be+")[\\s/>]","i"),ke=/^\s+/,Se=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ce=/<([\w:]+)/,_e=/<tbody/i,Ee=/<|&#?\w+;/,Te=/<(?:script|style|link)/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^$|\/(?:java|ecma)script/i,Oe=/^true\/(.*)/,Ne=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,b={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:g.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},De=$e(v).appendChild(v.createElement("div"));function k(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!=y?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!=y?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);
1i++)!t||w.nodeName(r,t)?o.push(r):w.merge(o,k(r,t));return void 0===t||t&&w.nodeName(e,t)?w.merge([e],o):o}function je(e){le.test(e.type)&&(e.defaultChecked=e.checked)}function Pe(e,t){return w.nodeName(e,"table")&&w.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Le(e){return e.type=(null!==w.find.attr(e,"type"))+"/"+e.type,e}function Ie(e){var t=Oe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Re(e,t){for(var n,r=0;null!=(n=e[r]);r++)w._data(n,"globalEval",!t||w._data(t[r],"globalEval"))}function Fe(e,t){if(1===t.nodeType&&w.hasData(e)){var n,r,i,e=w._data(e),o=w._data(t,e),a=e.events;if(a)for(n in delete o.handle,o.events={},a)for(r=0,i=a[n].length;r<i;r++)w.event.add(t,n,a[n][r]);o.data&&(o.data=w.extend({},o.data))}}b.optgroup=b.option,b.tbody=b.tfoot=b.colgroup=b.caption=b.thead,b.th=b.td,w.extend({clone:function(e,t,n){var r,i,o,a,s,u=w.contains(e.ownerDocument,e);if(g.html5Clone||w.isXMLDoc(e)||!xe.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(De.innerHTML=e.outerHTML,De.removeChild(o=De.firstChild)),!(g.noCloneEvent&&g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(r=k(o),s=k(e),a=0;null!=(i=s[a]);++a)if(r[a]){f=c=l=h=d=void 0;var l,c,f,d=i,h=r[a];if(1===h.nodeType){if(l=h.nodeName.toLowerCase(),!g.noCloneEvent&&h[w.expando]){for(c in(f=w._data(h)).events)w.removeEvent(h,c,f.handle);h.removeAttribute(w.expando)}"script"===l&&h.text!==d.text?(Le(h).text=d.text,Ie(h)):"object"===l?(h.parentNode&&(h.outerHTML=d.outerHTML),g.html5Clone&&d.innerHTML&&!w.trim(h.innerHTML)&&(h.innerHTML=d.innerHTML)):"input"===l&&le.test(d.type)?(h.defaultChecked=h.checked=d.checked,h.value!==d.value&&(h.value=d.value)):"option"===l?h.defaultSelected=h.selected=d.defaultSelected:"input"!==l&&"textarea"!==l||(h.defaultValue=d.defaultValue)}}if(t)if(n)for(s=s||k(e),r=r||k(o),a=0;null!=(i=s[a]);a++)Fe(i,r[a]);else Fe(e,o);return 0<(r=k(o,"script")).length&&Re(r,!u&&k(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,u,l,c,f=e.length,d=$e(t),h=[],p=0;p<f;p++)if((o=e[p])||0===o)if("object"===w.type(o))w.merge(h,o.nodeType?[o]:o);else if(Ee.test(o)){for(s=s||d.appendChild(t.createElement("div")),u=(Ce.exec(o)||["",""])[1].toLowerCase(),s.innerHTML=(c=b[u]||b._default)[1]+o.replace(Se,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!g.leadingWhitespace&&ke.test(o)&&h.push(t.createTextNode(ke.exec(o)[0])),!g.tbody)for(i=(o="table"!==u||_e.test(o)?"<table>"!==c[1]||_e.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)w.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l);for(w.merge(h,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=d.lastChild}else h.push(t.createTextNode(o));for(s&&d.removeChild(s),g.appendChecked||w.grep(k(h,"input"),je),p=0;o=h[p++];)if((!r||-1===w.inArray(o,r))&&(a=w.contains(o.ownerDocument,o),s=k(d.appendChild(o),"script"),a&&Re(s),n))for(i=0;o=s[i++];)Me.test(o.type||"")&&n.push(o);return s=null,d},cleanData:function(e,t){for(var n,r,i,o,a=0,s=w.expando,u=w.cache,l=g.deleteExpando,c=w.event.special;null!=(n=e[a]);a++)if((t||w.acceptData(n))&&(o=(i=n[s])&&u[i])){if(o.events)for(r in o.events)c[r]?w.event.remove(n,r):w.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l?delete n[s]:typeof n.removeAttribute!=y?n.removeAttribute(s):n[s]=null,f.push(i))}}}),w.fn.extend({text:function(e){return u(this,function(e){return void 0===e?w.text(this):this.empty().append((this[0]&&this[0].ownerDocument||v).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Pe(this,e)).insertBefore(e,t.firstChild)})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?w.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||w.cleanData(k(n)),n.parentNode&&(t&&w.contains(n.ownerDocument,n)&&Re(k(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&w.cleanData(k(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&w.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return u(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(we,""):void 0;if("string"==typeof e&&!Te.test(e)&&(g.htmlSerialize||!xe.test(e))&&(g.leadingWhitespace||!ke.test(e))&&!b[(Ce.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Se,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(k(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,w.cleanData(k(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,r){n=R.apply([],n);var e,t,i,o,a,s,u=0,l=this.length,c=this,f=l-1,d=n[0],h=w.isFunction(d);if(h||1<l&&"string"==typeof d&&!g.checkClone&&Ae.test(d))return this.each(function(e){var t=c.eq(e);h&&(n[0]=d.call(this,e,t.html())),t.domManip(n,r)});if(l&&(e=(s=w.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===s.childNodes.length&&(s=e),e)){for(i=(o=w.map(k(s,"script"),Le)).length;u<l;
1u++)t=s,u!==f&&(t=w.clone(t,!0,!0),i)&&w.merge(o,k(t,"script")),r.call(this[u],t,u);if(i)for(a=o[o.length-1].ownerDocument,w.map(o,Ie),u=0;u<i;u++)t=o[u],Me.test(t.type||"")&&!w._data(t,"globalEval")&&w.contains(a,t)&&(t.src?w._evalUrl&&w._evalUrl(t.src):w.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Ne,"")));s=null}return this}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){w.fn[e]=function(e){for(var t,n=0,r=[],i=w(e),o=i.length-1;n<=o;n++)t=n===o?this:this.clone(!0),w(i[n])[a](t),F.apply(r,t.get());return this.pushStack(r)}});var He,S,qe={};function Ue(e,t){e=w(t.createElement(e)).appendTo(t.body),t=p.getDefaultComputedStyle&&(t=p.getDefaultComputedStyle(e[0]))?t.display:w.css(e[0],"display");return e.detach(),t}function Ve(e){var t=v,n=qe[e];return n||("none"!==(n=Ue(e,t))&&n||((t=((He=(He||w("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||He[0].contentDocument).document).write(),t.close(),n=Ue(e,t),He.detach()),qe[e]=n),n}g.shrinkWrapBlocks=function(){var e,t,n;return null!=S?S:(S=!1,(t=v.getElementsByTagName("body")[0])&&t.style?(e=v.createElement("div"),(n=v.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),typeof e.style.zoom!=y&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(v.createElement("div")).style.width="5px",S=3!==e.offsetWidth),t.removeChild(n),S):void 0)};var C,_,Ye,We,Be,ze,Ge=/^margin/,Ze=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Je=/^(top|right|bottom|left)$/;function Xe(t,n){return{get:function(){var e=t();if(null!=e){if(!e)return(this.get=n).apply(this,arguments);delete this.get}}}}function Ke(){var e,t,n,r=v.getElementsByTagName("body")[0];r&&r.style&&(e=v.createElement("div"),(t=v.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",r.appendChild(t).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",Ye=We=!1,ze=!0,p.getComputedStyle&&(Ye="1%"!==(p.getComputedStyle(e,null)||{}).top,We="4px"===(p.getComputedStyle(e,null)||{width:"4px"}).width,(n=e.appendChild(v.createElement("div"))).style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",e.style.width="1px",ze=!parseFloat((p.getComputedStyle(n,null)||{}).marginRight),e.removeChild(n)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(Be=0===n[0].offsetHeight)&&(n[0].style.display="",n[1].style.display="none",Be=0===n[0].offsetHeight),r.removeChild(t))}p.getComputedStyle?(C=function(e){return(e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView:p).getComputedStyle(e,null)},_=function(e,t,n){var r,i=e.style,o=(n=n||C(e))?n.getPropertyValue(t)||n[t]:void 0;return n&&(""!==o||w.contains(e.ownerDocument,e)||(o=w.style(e,t)),Ze.test(o))&&Ge.test(t)&&(e=i.width,t=i.minWidth,r=i.maxWidth,i.minWidth=i.maxWidth=i.width=o,o=n.width,i.width=e,i.minWidth=t,i.maxWidth=r),void 0===o?o:o+""}):v.documentElement.currentStyle&&(C=function(e){return e.currentStyle},_=function(e,t,n){var r,i,o,a=e.style;return null==(n=(n=n||C(e))?n[t]:void 0)&&a&&a[t]&&(n=a[t]),Ze.test(n)&&!Je.test(t)&&(r=a.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left
1=e.currentStyle.left),a.left="fontSize"===t?"1em":n,n=a.pixelLeft+"px",a.left=r,o)&&(i.left=o),void 0===n?n:n+""||"auto"}),(o=v.createElement("div")).innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(l=(l=o.getElementsByTagName("a")[0])&&l.style)&&(l.cssText="float:left;opacity:.5",g.opacity="0.5"===l.opacity,g.cssFloat=!!l.cssFloat,o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===o.style.backgroundClip,g.boxSizing=""===l.boxSizing||""===l.MozBoxSizing||""===l.WebkitBoxSizing,w.extend(g,{reliableHiddenOffsets:function(){return null==Be&&Ke(),Be},boxSizingReliable:function(){return null==We&&Ke(),We},pixelPosition:function(){return null==Ye&&Ke(),Ye},reliableMarginRight:function(){return null==ze&&Ke(),ze}})),w.swap=function(e,t,n,r){var i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=n.apply(e,r||[]),t)e.style[i]=o[i];return n};var Qe=/alpha\([^)]*\)/i,et=/opacity\s*=\s*([^)]*)/,tt=/^(none|table(?!-c[ea]).+)/,nt=new RegExp("^("+e+")(.*)$","i"),rt=new RegExp("^([+-])=("+e+")","i"),it={position:"absolute",visibility:"hidden",display:"block"},ot={letterSpacing:"0",fontWeight:"400"},at=["Webkit","O","Moz","ms"];function st(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=at.length;i--;)if((t=at[i]+n)in e)return t;return r}function ut(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=w._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&$(r)&&(o[a]=w._data(r,"olddisplay",Ve(r.nodeName)))):(i=$(r),(n&&"none"!==n||!i)&&w._data(r,"olddisplay",i?n:w.css(r,"display"))));for(a=0;a<s;a++)!(r=e[a]).style||t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none");return e}function lt(e,t,n){var r=nt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function ct(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=w.css(e,n+s[o],!0,i)),r?("content"===n&&(a-=w.css(e,"padding"+s[o],!0,i)),"margin"!==n&&(a-=w.css(e,"border"+s[o]+"Width",!0,i))):(a+=w.css(e,"padding"+s[o],!0,i),"padding"!==n&&(a+=w.css(e,"border"+s[o]+"Width",!0,i)));return a}function ft(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=C(e),a=g.boxSizing&&"border-box"===w.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=_(e,t,o))<0||null==i)&&(i=e.style[t]),Ze.test(i))return i;r=a&&(g.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+ct(e,t,n||(a?"border":"content"),r,o)+"px"}function E(e,t,n,r,i){return new E.prototype.init(e,t,n,r,i)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=_(e,"opacity"))?"1":t}}},cssNumber:{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:{float:g.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=w.camelCase(t),u=e.style;if(t=w.cssProps[s]||(w.cssProps[s]=st(u,s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if("string"===(o=typeof n)&&(i=rt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(w.css(e,t)),o="number"),null!=n&&n==n&&("number"!==o||w.cssNumber[s]||(n+="px"),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o=w.camelCase(t);return t=w.cssProps[o]||(w.cssProps[o]=st(e.style,o)),"normal"===(i=void 0===(i=(o=w.cssHooks[t]||w.cssHooks[o])&&"get"in o?o.get(e,!0,n):i)?_(e,t,r):i)&&t in ot&&(i=ot[t]),(""===n||n)&&(o=parseFloat(i),!0===n||w.isNumeric(o))?o||0:i}}),w.each(["height","width"],function(e,i){w.cssHooks[i]={get:function(e,t,n){if(t)return tt.test(w.css(e,"display"))&&0===e.offsetWidth?w.swap(e,it,function(){return ft(e,i,n)}):ft(e,i,n)},set:function(e,t,n){var r=n&&C(e);return lt(0,t,n?ct(e,i,n,g.boxSizing&&"border-box"===w.css(e,"boxSizing",!1,r),r):0)}}}),g.opacity||(w.cssHooks.opacity={get:function(e,t){return et.test((t&&e.currentStyle?e.currentStyle:e.style).filter||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,e=e.currentStyle,r=w.isNumeric(t)?"alpha(opacity="+100*t+")":"",i=e&&e.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===w.trim(i.replace(Qe,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||e&&!e.filter)||(n.filter=Qe.test(i)?i.replace(Qe,r):i+" "+r)}}
vendor: 8,410 bytes, line 1
1),w.cssHooks.marginRight=Xe(g.reliableMarginRight,function(e,t){if(t)return w.swap(e,{display:"inline-block"},_,[e,"marginRight"])}),w.each({margin:"",padding:"",border:"Width"},function(i,o){w.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+s[t]+o]=r[t]||r[t-2]||r[0];return n}},Ge.test(i)||(w.cssHooks[i+o].set=lt)}),w.fn.extend({css:function(e,t){return u(this,function(e,t,n){var r,i,o={},a=0;if(w.isArray(t)){for(r=C(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,1<arguments.length)},show:function(){return ut(this,!0)},hide:function(){return ut(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){$(this)?w(this).show():w(this).hide()})}}),((w.Tween=E).prototype={constructor:E,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=E.propHooks[this.prop];return(e&&e.get?e:E.propHooks._default).get(this)},run:function(e){var t,n=E.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:E.propHooks._default).set(this),this}}).init.prototype=E.prototype,(E.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[w.cssProps[e.prop]]||w.cssHooks[e.prop])?w.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}}).scrollTop=E.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},w.fx=E.prototype.init,w.fx.step={};var T,dt,A,ht=/^(?:toggle|show|hide)$/,pt=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),mt=/queueHooks$/,gt=[function(t,e,n){var r,i,o,a,s,u,l,c=this,f={},d=t.style,h=t.nodeType&&$(t),p=w._data(t,"fxshow");n.queue||(null==(s=w._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,w.queue(t,"fx").length||s.empty.fire()})}));1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],l=w.css(t,"display"),"inline"===("none"===l?w._data(t,"olddisplay")||Ve(t.nodeName):l))&&"none"===w.css(t,"float")&&(g.inlineBlockNeedsLayout&&"inline"!==Ve(t.nodeName)?d.zoom=1:d.display="inline-block");n.overflow&&(d.overflow="hidden",g.shrinkWrapBlocks()||c.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in e)if(i=e[r],ht.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!p||void 0===p[r])continue;h=!0}f[r]=p&&p[r]||w.style(t,r)}else l=void 0;if(w.isEmptyObject(f))"inline"===("none"===l?Ve(t.nodeName):l)&&(d.display=l);else for(r in p?"hidden"in p&&(h=p.hidden):p=w._data(t,"fxshow",{}),o&&(p.hidden=!h),h?w(t).show():c.done(function(){w(t).hide()}),c.done(function(){for(var e in w._removeData(t,"fxshow"),f)w.style(t,e,f[e])}),f)a=$t(h?p[r]:0,r,c),r in p||(p[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}],M={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),t=pt.exec(t),i=t&&t[3]||(w.cssNumber[e]?"":"px"),o=(w.cssNumber[e]||"px"!==i&&+r)&&pt.exec(w.css(n.elem,e)),a=1,s=20;if(o&&o[3]!==i)for(i=i||o[3],t=t||[],o=+r||1;o/=a=a||".5",w.style(n.elem,e,o+i),a!==(a=n.cur()/r)&&1!==a&&--s;);return t&&(o=n.start=+o||+r||0,n.unit=i,n.end=t[1]?o+(t[1]+1)*t[2]:+t[2]),n}]};function vt(){return setTimeout(function(){T=void 0}),T=w.now()}function yt(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=s[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function $t(e,t,n){for(var r,i=(M[t]||[]).concat(M["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function bt(i,e,t){var n,o,r,a,s,u,l,c=0,f=gt.length,d=w.Deferred().always(function(){delete h.elem}),h=function(){if(o)return!1;for(var e=T||vt(),e=Math.max(0,p.startTime+p.duration-e),t=1-(e/p.duration||0),n=0,r=p.tweens.length;n<r;n++)p.tweens[n].run(t);return d.notifyWith(i,[p,t,e]),t<1&&r?e:(d.resolveWith(i,[p]),!1)},p=d.promise({elem:i,props:w.extend({},e),opts:w.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:T||vt(),duration:t.duration,tweens:[],createTween:function(e,t){t=w.Tween(i,p.opts,e,t,p.opts.specialEasing[e]||p.opts.easing);return p.tweens.push(t),t},stop:function(e){var t=0,n=e?p.tweens.length:0;if(!o){for(o=!0;t<n;t++)p.tweens[t].run(1);e?d.resolveWith(i,[p,e]):d.rejectWith(i,[p,e])}return this}}),m=p.props,g=m,v=p.opts.specialEasing;for(r in g)if(s=v[a=w.camelCase(r)],u=g[r],w.isArray(u)&&(s=u[1],u=g[r]=u[0]),r!==a&&(g[a]=u,delete g[r]),(l=w.cssHooks[a])&&"expand"in l)for(r in u=l.expand(u),delete g[a],u)r in g||(g[r]=u[r],v[r]=s);else v[a]=s;for(;c<f;c++)if(n=gt[c].call(p,i,m,p.opts))return n;return w.map(m,$t,p),w.isFunction(p.opts.start)&&p.opts.start.call(i,p),w.fx.timer(w.extend(h,{elem:i,anim:p,queue:p.opts.queue})),p.progress(p.opts.progress).done(p.opts.done,p.opts.complete).fail(p.opts.fail).always(p.opts.always)}w.Animation=w.extend(bt,{tweener:function(e,t){for(var n,r=0,i=(e=w.isFunction(e)?(t=e,["*"]):e.split(" ")).length;r<i;r++)n=e[r],M[n]=M[n]||[],M[n].unshift(t)},prefilter:function(e,t){t?gt.unshift(e):gt.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||w.isFunction(e)&&e,duration:e,easing:n&&t||t&&!w.isFunction(t)&&t};return r.duration=w.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in w.fx.speeds?w.fx.speeds[r.duration]:w.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){w.isFunction(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter($).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){function i(){var e=bt(this,w.extend({},t),a);(o||w._data(this,"finish"))&&e.stop(!0)}var o=w.isEmptyObject(t),a=w.speed(e,n,r);return i.finish=i,o||!1===a.queue?this.each(i):this.queue(a.queue,i)},stop:function(i,e,o){function a(e){var t=e.stop;delete e.stop,t(o)}return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=w.timers,r=w._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&mt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||w.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=w._data(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=w.timers,o=n?n.length:0;for(t.finish=!0,w.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),w.each(["toggle","show","hide"],function(e,r){var i=w.fn[r];w.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(yt(r,!0),e,t,n)}}),w.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){w.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),w.timers=[],w.fx.tick=function(){var e,t=w.timers,n=0;for(T=w.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||w.fx.stop(),T=void 0},w.fx.timer=function(e){w.timers.push(e),e()?w.fx.start():w.timers.pop()},w.fx.interval=13,w.fx.start=function(){dt=dt||setInterval(w.fx.tick,w.fx.interval)},w.fx.stop=function(){clearInterval(dt),dt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(r,e){return r=w.fx&&w.fx.speeds[r]||r,this.queue(e=e||"fx",function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},(a=v.createElement("div")).setAttribute("className","t"),a.innerHTML=" <link/><table></table><a href='/a'>a</a>
1<input type='checkbox'/>",o=a.getElementsByTagName("a")[0],e=(l=v.createElement("select")).appendChild(v.createElement("option")),A=a.getElementsByTagName("input")[0],o.style.cssText="top:1px",g.getSetAttribute="t"!==a.className,g.style=/top/.test(o.getAttribute("style")),g.hrefNormalized="/a"===o.getAttribute("href"),g.checkOn=!!A.value,g.optSelected=e.selected,g.enctype=!!v.createElement("form").enctype,l.disabled=!0,g.optDisabled=!e.disabled,(A=v.createElement("input")).setAttribute("value",""),g.input=""===A.getAttribute("value"),A.value="t",A.setAttribute("type","radio"),g.radioValue="t"===A.value;var wt=/\r/g;w.fn.extend({val:function(t){var n,e,r,i=this[0];return arguments.length?(r=w.isFunction(t),this.each(function(e){1!==this.nodeType||(null==(e=r?t.call(this,e,w(this).val()):t)?e="":"number"==typeof e?e+="":w.isArray(e)&&(e=w.map(e,function(e){return null==e?"":e+""})),(n=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value"))||(this.value=e)})):i?(n=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in n&&void 0!==(e=n.get(i,"value"))?e:"string"==typeof(e=i.value)?e.replace(wt,""):null==e?"":e:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:w.trim(w.text(e))}},select:{get:function(e){for(var t,n=e.options,r=e.selectedIndex,i="select-one"===e.type||r<0,o=i?null:[],a=i?r+1:n.length,s=r<0?a:i?r:0;s<a;s++)if(((t=n[s]).selected||s===r)&&(g.optDisabled?!t.disabled:null===t.getAttribute("disabled"))&&(!t.parentNode.disabled||!w.nodeName(t.parentNode,"optgroup"))){if(t=w(t).val(),i)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,o=w.makeArray(t),a=i.length;a--;)if(r=i[a],0<=w.inArray(w.valHooks.option.get(r),o))try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(w.isArray(t))return e.checked=0<=w.inArray(w(e).val(),t)}},g.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var O,xt,N=w.expr.attrHandle,kt=/^(?:checked|selected)$/i,D=g.getSetAttribute,St=g.input,Ct=(w.fn.extend({attr:function(e,t){return u(this,w.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute==y?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(t=t.toLowerCase(),r=w.attrHooks[t]||(w.expr.match.bool.test(t)?xt:O)),void 0===n?!(r&&"get"in r&&null!==(i=r.get(e,t)))&&null==(i=w.find.attr(e,t))?void 0:i:null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void w.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(x);if(o&&1===e.nodeType)for(;n=o[i++];)r=w.propFix[n]||n,w.expr.match.bool.test(n)?St&&D||!kt.test(n)?e[r]=!1:e[w.camelCase("default-"+n)]=e[r]=!1:w.attr(e,n,""),e.removeAttribute(D?n:r)},attrHooks:{type:{set:function(e,t){var n;if(!g.radioValue&&"radio"===t&&w.nodeName(e,"input"))return n=e.value,e.setAttribute("type",t),n&&(e.value=n),t}}}}),xt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):St&&D||!kt.test(n)?e.setAttribute(!D&&w.propFix[n]||n,n):e[w.camelCase("default-"+n)]=e[n]=!0,n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var o=N[t]||w.find.attr;N[t]=St&&D||!kt.test(t)?function(e,t,n){var r,i;return n||(i=N[t],N[t]=r,r=null!=o(e,t,n)?t.toLowerCase():null,N[t]=i),r}:function(e,t,n){if(!n)return e[w.camelCase("default-"+t)]?t.toLowerCase():null}}),St&&D||(w.attrHooks.value={set:function(e,t,n){if(!w.nodeName(e,"input"))return O&&O.set(e,t,n);e.defaultValue=t}}),D||(O={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},N.id=N.name=N.coords=function(e,t,n){if(!n)return(n=e.getAttributeNode(t))&&""!==n.value?n.value:null},w.valHooks.button={get:function(e,t){e=e.getAttributeNode(t);if(e&&e.specified)return e.value},set:O.set},w.attrHooks.contenteditable={set:function(e,t,n){O.set(e,""!==t&&t,n)}},w.each(["width","height"],function(e,n){w.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),g.style||(w.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}}),/^(?:input|select|textarea|button|object)$/i),_t=/^(?:a|area)$/i,Et=(w.fn.extend({prop:function(e,t){return u(this,w.prop,e,t,1<arguments.length)},removeProp:function(e){return e=w.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),w.extend({propFix:{for:"htmlFor",class:"className"}
1,prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!w.isXMLDoc(e))&&(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}}}),g.hrefNormalized||w.each(["href","src"],function(e,t){w.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),g.optSelected||(w.propHooks.selected={get:function(e){e=e.parentNode;return e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex,null}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this}),g.enctype||(w.propFix.enctype="encoding"),/[\t\r\n\f]/g),Tt=(w.fn.extend({addClass:function(t){var e,n,r,i,o,a,s=0,u=this.length,l="string"==typeof t&&t;if(w.isFunction(t))return this.each(function(e){w(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(x)||[];s<u;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(Et," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=w.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(t){var e,n,r,i,o,a,s=0,u=this.length,l=0===arguments.length||"string"==typeof t&&t;if(w.isFunction(t))return this.each(function(e){w(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(x)||[];s<u;s++)if(r=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(Et," "):"")){for(o=0;i=e[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");a=t?w.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(i,t){var o=typeof i;return"boolean"==typeof t&&"string"==o?t?this.addClass(i):this.removeClass(i):w.isFunction(i)?this.each(function(e){w(this).toggleClass(i.call(this,e,this.className,t),t)}):this.each(function(){if("string"==o)for(var e,t=0,n=w(this),r=i.match(x)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else o!=y&&"boolean"!=o||(this.className&&w._data(this,"__className__",this.className),this.className=!this.className&&!1!==i&&w._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(Et," ").indexOf(t))return!0;return!1}}),w.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){w.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.now()),At=/\?/,Mt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;w.parseJSON=function(e){var i,o,t;return p.JSON&&p.JSON.parse?p.JSON.parse(e+""):(o=null,(t=w.trim(e+""))&&!w.trim(t.replace(Mt,function(e,t,n,r){return 0===(o=i&&t?0:o)?e:(i=n||t,o+=!r-!n,"")}))?Function("return "+t)():w.error("Invalid JSON: "+e))},w.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{p.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+e),t};var j,P,Ot=/#.*$/,Nt=/([?&])_=[^&]*/,Dt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,jt=/^(?:GET|HEAD)$/,Pt=/^\/\//,Lt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,It={},Rt={},Ft="*/".concat("*");try{P=location.href}catch(e){(P=v.createElement("a")).href="",P=P.href}function Ht(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(x)||[];if(w.isFunction(t))for(;n=i[r++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function qt(t,r,i,o){var a={},s=t===Rt;function u(e){var n;return a[e]=!0,w.each(t[e]||[],function(e,t){t=t(r,i,o);return"string"!=typeof t||s||a[t]?s?!(n=t):void 0:(r.dataTypes.unshift(t),u(t),!1)}),n}return u(r.dataTypes[0])||!a["*"]&&u("*")}function Ut(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n=n||{})[r]=t[r]);return n&&w.extend(!0,e,n),e}j=Lt.exec(P.toLowerCase())||[],w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:P,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(j[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":w.parseJSON,"text xml":w.parseXML}
vendor: 5,731 bytes, line 1
1,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,w.ajaxSettings),t):Ut(w.ajaxSettings,e)},ajaxPrefilter:Ht(It),ajaxTransport:Ht(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var n,u,l,c,f,d,r,h=w.ajaxSetup({},t=t||{}),p=h.context||h,m=h.context&&(p.nodeType||p.jquery)?w(p):w.event,g=w.Deferred(),v=w.Callbacks("once memory"),y=h.statusCode||{},i={},o={},$=0,a="canceled",b={readyState:0,getResponseHeader:function(e){var t;if(2===$){if(!r)for(r={};t=Dt.exec(l);)r[t[1].toLowerCase()]=t[2];t=r[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===$?l:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return $||(e=o[n]=o[n]||e,i[e]=t),this},overrideMimeType:function(e){return $||(h.mimeType=e),this},statusCode:function(e){if(e)if($<2)for(var t in e)y[t]=[y[t],e[t]];else b.always(e[b.status]);return this},abort:function(e){e=e||a;return d&&d.abort(e),s(0,e),this}};if(g.promise(b).complete=v.add,b.success=b.done,b.error=b.fail,h.url=((e||h.url||P)+"").replace(Ot,"").replace(Pt,j[1]+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=w.trim(h.dataType||"*").toLowerCase().match(x)||[""],null==h.crossDomain&&(e=Lt.exec(h.url.toLowerCase()),h.crossDomain=!(!e||e[1]===j[1]&&e[2]===j[2]&&(e[3]||("http:"===e[1]?"80":"443"))===(j[3]||("http:"===j[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),qt(It,h,t,b),2!==$){for(n in(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!jt.test(h.type),u=h.url,h.hasContent||(h.data&&(u=h.url+=(At.test(u)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=Nt.test(u)?u.replace(Nt,"$1_="+Tt++):u+(At.test(u)?"&":"?")+"_="+Tt++)),h.ifModified&&(w.lastModified[u]&&b.setRequestHeader("If-Modified-Since",w.lastModified[u]),w.etag[u])&&b.setRequestHeader("If-None-Match",w.etag[u]),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&b.setRequestHeader("Content-Type",h.contentType),b.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ft+"; q=0.01":""):h.accepts["*"]),h.headers)b.setRequestHeader(n,h.headers[n]);if(h.beforeSend&&(!1===h.beforeSend.call(p,b,h)||2===$))return b.abort();for(n in a="abort",{success:1,error:1,complete:1})b[n](h[n]);if(d=qt(Rt,h,t,b)){b.readyState=1,f&&m.trigger("ajaxSend",[b,h]),h.async&&0<h.timeout&&(c=setTimeout(function(){b.abort("timeout")},h.timeout));try{$=1,d.send(i,s)}catch(e){if(!($<2))throw e;s(-1,e)}}else s(-1,"No Transport")}return b;function s(e,t,n,r){var i,o,a,s=t;2!==$&&($=2,c&&clearTimeout(c),d=void 0,l=r||"",b.readyState=0<e?4:0,r=200<=e&&e<300||304===e,n&&(a=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r=r||a}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,b,n)),a=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(h,a,b,r),r?(h.ifModified&&((n=b.getResponseHeader("Last-Modified"))&&(w.lastModified[u]=n),n=b.getResponseHeader("etag"))&&(w.etag[u]=n),204===e||"HEAD"===h.type?s="nocontent":304===e?s="notmodified":(s=a.state,i=a.data,r=!(o=a.error))):(o=s,!e&&s||(s="error",e<0&&(e=0))),b.status=e,b.statusText=(t||s)+"",r?g.resolveWith(p,[i,s,b]):g.rejectWith(p,[b,s,o]),b.statusCode(y),y=void 0,f&&m.trigger(r?"ajaxSuccess":"ajaxError",[b,h,r?i:o]),v.fireWith(p,[b,s]),f)&&(m.trigger("ajaxComplete",[b,h]),--w.active||w.event.trigger("ajaxStop"))}},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,i){w[i]=function(e,t,n,r){return w.isFunction(t)&&(r=r||n,n=t,t=void 0),w.ajax({url:e,type:i,dataType:r,data:t,success:n})}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},w.fn.extend({wrapAll:function(t){var e;return w.isFunction(t)?this.each(function(e){w(this).wrapAll(t.call(this,e))}):(this[0]&&(e=w(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this)},wrapInner:function(n){return w.isFunction(n)?this.each(function(e){w(this).wrapInner(n.call(this,e))}):this.each(function(){var e=w(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=w.isFunction(t);return this.each(function(e){w(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){w.nodeName(this,"body")||w(this).replaceWith(this.childNodes)}).end()}}),w.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!g.reliableHiddenOffsets()&&"none"===(e.style&&e.style.display||w.css(e,"display"))},w.expr.filters.visible=function(e){return!w.expr.filters.hidden(e)};var Vt=/%20/g,Yt=/\[\]$/,Wt=/\r?\n/g,Bt=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;
1w.param=function(e,t){function n(e,t){t=w.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)}var r,i=[];if(void 0===t&&(t=w.ajaxSettings&&w.ajaxSettings.traditional),w.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){n(this.name,this.value)});else for(r in e)!function n(r,e,i,o){if(w.isArray(e))w.each(e,function(e,t){i||Yt.test(r)?o(r,t):n(r+"["+("object"==typeof t?e:"")+"]",t,i,o)});else if(i||"object"!==w.type(e))o(r,e);else for(var t in e)n(r+"["+t+"]",e[t],i,o)}(r,e[r],t,n);return i.join("&").replace(Vt,"+")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&zt.test(this.nodeName)&&!Bt.test(e)&&(this.checked||!le.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:w.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Wt,"\r\n")}}):{name:t.name,value:n.replace(Wt,"\r\n")}}).get()}}),w.ajaxSettings.xhr=void 0!==p.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Jt()||function(){try{return new p.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}()}:Jt;var Gt=0,Zt={},a=w.ajaxSettings.xhr();function Jt(){try{return new p.XMLHttpRequest}catch(e){}}p.attachEvent&&p.attachEvent("onunload",function(){for(var e in Zt)Zt[e](void 0,!0)}),g.cors=!!a&&"withCredentials"in a,(g.ajax=!!a)&&w.ajaxTransport(function(u){var l;if(!u.crossDomain||g.cors)return{send:function(e,o){var t,a=u.xhr(),s=++Gt;if(a.open(u.type,u.url,u.async,u.username,u.password),u.xhrFields)for(t in u.xhrFields)a[t]=u.xhrFields[t];for(t in u.mimeType&&a.overrideMimeType&&a.overrideMimeType(u.mimeType),u.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)void 0!==e[t]&&a.setRequestHeader(t,e[t]+"");a.send(u.hasContent&&u.data||null),l=function(e,t){var n,r,i;if(l&&(t||4===a.readyState))if(delete Zt[s],l=void 0,a.onreadystatechange=w.noop,t)4!==a.readyState&&a.abort();else{i={},n=a.status,"string"==typeof a.responseText&&(i.text=a.responseText);try{r=a.statusText}catch(e){r=""}n||!u.isLocal||u.crossDomain?1223===n&&(n=204):n=i.text?200:404}i&&o(n,r,i,a.getAllResponseHeaders())},u.async?4===a.readyState?setTimeout(l):a.onreadystatechange=Zt[s]=l:l()},abort:function(){l&&l(void 0,!0)}}}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),w.ajaxTransport("script",function(t){var r,i;if(t.crossDomain)return i=v.head||w("head")[0]||v.documentElement,{send:function(e,n){(r=v.createElement("script")).async=!0,t.scriptCharset&&(r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){!t&&r.readyState&&!/loaded|complete/.test(r.readyState)||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,t)||n(200,"success")},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(void 0,!0)}}});var Xt=[],Kt=/(=)\?(?=&|$)|\?\?/,Qt=(w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||w.expando+"_"+Tt++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=w.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Kt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||w.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=p[r],p[r]=function(){o=arguments},n.always(function(){p[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&w.isFunction(i)&&i(o[0]),o=i=void 0}),"script"}),w.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||v;var r=z.exec(e),n=!n&&[];return r?[t.createElement(r[1])]:(r=w.buildFragment([e],t,n),n&&n.length&&w(n).remove(),w.merge([],r.childNodes))}
1,w.fn.load),en=(w.fn.load=function(e,t,n){var r,i,o,a,s;return"string"!=typeof e&&Qt?Qt.apply(this,arguments):(a=this,0<=(s=e.indexOf(" "))&&(r=w.trim(e.slice(s,e.length)),e=e.slice(0,s)),w.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&w.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this)},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.filters.animated=function(t){return w.grep(w.timers,function(e){return t===e.elem}).length},p.document.documentElement);function tn(e){return w.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}w.offset={setOffset:function(e,t,n){var r,i,o,a,s=w.css(e,"position"),u=w(e),l={};"static"===s&&(e.style.position="relative"),o=u.offset(),r=w.css(e,"top"),a=w.css(e,"left"),s=("absolute"===s||"fixed"===s)&&-1<w.inArray("auto",[r,a])?(i=(s=u.position()).top,s.left):(i=parseFloat(r)||0,parseFloat(a)||0),null!=(t=w.isFunction(t)?t.call(e,n,o):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+s),"using"in t?t.using.call(e,l):u.css(l)}},w.fn.extend({offset:function(t){var e,n,r,i;return arguments.length?void 0===t?this:this.each(function(e){w.offset.setOffset(this,t,e)}):(n={top:0,left:0},(i=(r=this[0])&&r.ownerDocument)?(e=i.documentElement,w.contains(e,r)?(typeof r.getBoundingClientRect!=y&&(n=r.getBoundingClientRect()),r=tn(i),{top:n.top+(r.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(r.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0)},position:function(){var e,t,n,r;if(this[0])return n={top:0,left:0},r=this[0],"fixed"===w.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),(n=w.nodeName(e[0],"html")?n:e.offset()).top+=w.css(e[0],"borderTopWidth",!0),n.left+=w.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-w.css(r,"marginTop",!0),left:t.left-n.left-w.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||en;e&&!w.nodeName(e,"html")&&"static"===w.css(e,"position");)e=e.offsetParent;return e||en})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);w.fn[t]=function(e){return u(this,function(e,t,n){var r=tn(e);if(void 0===n)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?w(r).scrollLeft():n,o?n:w(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),w.each(["top","left"],function(e,n){w.cssHooks[n]=Xe(g.pixelPosition,function(e,t){if(t)return t=_(e,n),Ze.test(t)?w(e).position()[n]+"px":t})}),w.each({Height:"height",Width:"width"},function(o,a){w.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){w.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return u(this,function(e,t,n){var r;return w.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?w.css(e,t,i):w.style(e,t,n,i)},a,n?e:void 0,n,null)}})}),w.fn.size=function(){return this.length},w.fn.andSelf=w.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var nn=p.jQuery,rn=p.$;return w.noConflict=function(e){return p.$===w&&(p.$=rn),e&&p.jQuery===w&&(p.jQuery=nn),w},typeof L==y&&(p.jQuery=p.$=w),w}),function(g){"use strict";function b(o,a){return a=a||Error,function(){for(var n=arguments,e=n[0],t="["+(o?o+":":"")+e+"] ",t=(t+=n[1].replace(/\{\d+\}/g,function(e){var t=2+ +e.slice(1,-1);return t<n.length?Ge(n[t]):e}))+("\nhttp://errors.angularjs.org/1.5.8/"+(o?o+"/":"")+e),r=2,i="?";r<n.length;r++,i="&")t+=i+"p"+(r-2)+"="+encodeURIComponent(Ge(n[r]));return new a(t)}}var c=/^\/(.+)\/([a-z]*)$/,f="validity",H=Object.prototype.hasOwnProperty,_=function(e){return V(e)?e.toLowerCase():e},S=function(e){return V(e)?e.toUpperCase():e};"i"!=="I".toLowerCase()&&(_=function(e){return V(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},S=function(e){return V(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e});var _e,he,i,m,p=[].slice,n=[].splice,r=[].push,w=Object.prototype.toString,$=Object.getPrototypeOf,T=b("ng"),C=g.angular||(g.angular={}),A=0;function j(e){var t;return null!=e&&!Y(e)&&(ye(e)||V(e)||he&&e instanceof he||x(t="length"in Object(e)&&e.length)&&(0<=t&&(t-1 in e||e instanceof Array)||"function"==typeof e.item))}function pe(e,t,n){if(e)if($e(e))for(i in e)"prototype"==i||"length"==i||"n
1ame"==i||e.hasOwnProperty&&!e.hasOwnProperty(i)||t.call(n,e[i],i,e);else if(ye(e)||j(e))for(var r="object"!=typeof e,i=0,o=e.length;i<o;i++)(r||i in e)&&t.call(n,e[i],i,e);else if(e.forEach&&e.forEach!==pe)e.forEach(t,n,e);else if(R(e))for(i in e)t.call(n,e[i],i,e);else if("function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else for(i in e)H.call(e,i)&&t.call(n,e[i],i,e);return e}function M(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i])}function O(n){return function(e,t){n(t,e)}}function N(){return++A}function D(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function P(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(ve(a)||$e(a))for(var s=Object.keys(a),u=0,l=s.length;u<l;u++){var c=s[u],f=a[c];n&&ve(f)?y(f)?e[c]=new Date(f.valueOf()):F(f)?e[c]=new RegExp(f):f.nodeName?e[c]=f.cloneNode(!0):G(f)?e[c]=f.clone():(ve(e[c])||(e[c]=ye(f)?[]:{}),P(e[c],[f],!0)):e[c]=f}}return D(e,r),e}function me(e){return P(e,p.call(arguments,1),!1)}function L(e){return P(e,p.call(arguments,1),!0)}function v(e){return parseInt(e,10)}function Ee(e,t){return me(Object.create(e),t)}function q(){}function Te(e){return e}function E(e){return function(){return e}}function I(e){return $e(e.toString)&&e.toString!==w}function ge(e){return void 0===e}function U(e){return void 0!==e}function ve(e){return null!==e&&"object"==typeof e}function R(e){return null!==e&&"object"==typeof e&&!$(e)}function V(e){return"string"==typeof e}function x(e){return"number"==typeof e}function y(e){return"[object Date]"===w.call(e)}_e=g.document.documentMode,q.$inject=[],Te.$inject=[];var ye=Array.isArray;function $e(e){return"function"==typeof e}function F(e){return"[object RegExp]"===w.call(e)}function Y(e){return e&&e.window===e}function Ae(e){return e&&e.$evalAsync&&e.$watch}function Me(e){return"boolean"==typeof e}function W(e){return e&&$e(e.then)}var B=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/;var be=function(e){return V(e)?e.trim():e},z=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function G(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function we(e){return _(e.nodeName||e[0]&&e[0].nodeName)}function Oe(e,t){t=e.indexOf(t);return 0<=t&&e.splice(t,1),t}function Z(e,n){var t,r=[],i=[];if(n){if((t=n)&&x(t.length)&&B.test(w.call(t))||"[object ArrayBuffer]"===w.call(n))throw T("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===n)throw T("cpi","Can't copy! Source and destination are identical.");return ye(n)?n.length=0:pe(n,function(e,t){"$$hashKey"!==t&&delete n[t]}),r.push(e),i.push(n),o(e,n)}return a(e);function o(e,t){var n,r=t.$$hashKey;if(ye(e))for(var i=0,o=e.length;i<o;i++)t.push(a(e[i]));else if(R(e))for(n in e)t[n]=a(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=a(e[n]));else for(n in e)H.call(e,n)&&(t[n]=a(e[n]));return D(t,r),t}function a(e){if(!ve(e))return e;var t=r.indexOf(e);if(-1!==t)return i[t];if(Y(e)||Ae(e))throw T("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var t=!1,n=function(e){switch(w.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(a(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":return e.slice?e.slice(0):(t=new ArrayBuffer(e.byteLength),new Uint8Array(t).set(new Uint8Array(e)),t);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var t=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return t.lastIndex=e.lastIndex,t;case"[object Blob]":return new e.constructor([e],{type:e.type})}if($e(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===n&&(n=ye(e)?[]:Object.create($(e)),t=!0),r.push(e),i.push(n),t?o(e,n):n}}function xe(e,t){if(e===t)return!0;
1if(null!==e&&null!==t){if(e!=e&&t!=t)return!0;var n,r,i,o=typeof e;if(o==typeof t&&"object"==o){if(!ye(e)){if(y(e))return!!y(t)&&xe(e.getTime(),t.getTime());if(F(e))return!!F(t)&&e.toString()==t.toString();if(Ae(e)||Ae(t)||Y(e)||Y(t)||ye(t)||y(t)||F(t))return!1;for(r in i=Se(),e)if("$"!==r.charAt(0)&&!$e(e[r])){if(!xe(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&U(t[r])&&!$e(t[r]))return!1;return!0}if(!ye(t))return!1;if((n=e.length)==t.length){for(r=0;r<n;r++)if(!xe(e[r],t[r]))return!1;return!0}}}return!1}var J=function(){var e;return U(J.rules)||((e=g.document.querySelector("[ng-csp]")||g.document.querySelector("[data-ng-csp]"))?(e=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp"),J.rules={noUnsafeEval:!e||-1!==e.indexOf("no-unsafe-eval"),noInlineStyle:!e||-1!==e.indexOf("no-inline-style")}):J.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}),J.rules},X=function(){if(U(X.name_))return X.name_;for(var e,t,n,r=le.length,i=0;i<r;++i)if(t=le[i],e=g.document.querySelector("["+t.replace(":","\\:")+"jq]")){n=e.getAttribute(t+"jq");break}return X.name_=n};function K(e,t,n){return e.concat(p.call(t,n))}function Ne(e,t){return p.call(e,t||0)}function De(e,t){var n=2<arguments.length?Ne(arguments,2):[];return!$e(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,K(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Q(e,t){var n=t;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?n=void 0:Y(t)?n="$WINDOW":t&&g.document===t?n="$DOCUMENT":Ae(t)&&(n="$SCOPE"),n}function ee(e,t){if(!ge(e))return x(t)||(t=t?2:null),JSON.stringify(e,Q,t)}function te(e){return V(e)?JSON.parse(e):e}var ne=/:/g;function re(e,t){e=e.replace(ne,"");e=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(e)?t:e}function ie(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),t=re(t,r);return e=e,n=n*(t-r),(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}function ke(e){e=he(e).clone();try{e.empty()}catch(e){}var t=he("<div>").append(e).html();try{return e[0].nodeType===Ye?_(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+_(t)})}catch(e){return _(t)}}function oe(e){try{return decodeURIComponent(e)}catch(e){}}function ae(e){var i={};return pe((e||"").split("&"),function(e){var t,n,r;e&&(n=e=e.replace(/\+/g,"%20"),-1!==(t=e.indexOf("="))&&(n=e.substring(0,t),r=e.substring(t+1)),U(n=oe(n)))&&(r=!U(r)||oe(r),H.call(i,n)?ye(i[n])?i[n].push(r):i[n]=[i[n],r]:i[n]=r)}),i}function se(e){var n=[];return pe(e,function(e,t){ye(e)?pe(e,function(e){n.push(o(t,!0)+(!0===e?"":"="+o(e,!0)))}):n.push(o(t,!0)+(!0===e?"":"="+o(e,!0)))}),n.length?n.join("&"):""}function ue(e){return o(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function o(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var le=["ng-","data-ng-","ng:","x-ng-"];function ce(n,e){var r,i,t={};pe(le,function(e){e+="app";!r&&n.hasAttribute&&n.hasAttribute(e)&&(i=(r=n).getAttribute(e))}),pe(le,function(e){var t,e=e+"app";!r&&(t=n.querySelector("["+e.replace(":","\\:")+"]"))&&(i=(r=t).getAttribute(e))}),r&&(t.strictDi=null!==function(e,t){for(var n,r=le.length,i=0;i<r;++i)if(n=le[i]+t,V(n=e.getAttribute(n)))return n;return null}(r,"strict-di"),e(r,i?[i]:[],t))}function fe(t,n,r){function i(){if((t=he(t)).injector())throw e=t[0]===g.document?"document":ke(t),T("btstrpd","App already bootstrapped with this element '{0}'",e.replace(/</,"<").replace(/>/,">"));(n=n||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var e=Zt(n,r.strictDi);return e.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),e}r=me({strictDi:!1},r=ve(r)?r:{});var e=/^NG_ENABLE_DEBUG_INFO!/,o=/^NG_DEFER_BOOTSTRAP!/;if(g&&e.test(g.name)&&(r.debugInfoEnabled=!0,g.name=g.name.replace(e,"")),g&&!
1o.test(g.name))return i();g.name=g.name.replace(o,""),C.resumeBootstrap=function(e){return pe(e,function(e){n.push(e)}),i()},$e(C.resumeDeferredBootstrap)&&C.resumeDeferredBootstrap()}function de(){g.name="NG_ENABLE_DEBUG_INFO!"+g.name,g.location.reload()}function je(e){e=C.element(e).injector();if(e)return e.get("$$testability");throw T("test","no injector found for element argument to getTestability")}var Pe=/[A-Z]/g;function Le(e,n){return n=n||"_",e.replace(Pe,function(e,t){return(t?n:"")+e.toLowerCase()})}var Ie=!1;function Re(e,t,n){if(!e)throw T("areq","Argument '{0}' is {1}",t||"?",n||"required")}function Fe(e,t,n){Re($e(e=n&&ye(e)?e[e.length-1]:e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e))}function He(e,t){if("hasOwnProperty"===e)throw T("badname","hasOwnProperty is not a valid {0} name",t)}function qe(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s<a;s++)r=i[s],e=e&&(o=e)[r];return!n&&$e(e)?De(o,e):e}function Ue(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)!t&&e[i]===n||(t=t||he(p.call(e,0,i))).push(n);return t||e}function Se(){return Object.create(null)}var Ve=1,Ye=3,We=8,Be=9;function ze(e){var c=b("$injector"),n=b("ng");function r(e,t,n){return e[t]||(e[t]=n())}e=r(e,"angular",Object);return e.$$minErr=e.$$minErr||b,r(e,"module",function(){var t={};return function(s,u,l){var e="module";if("hasOwnProperty"===s)throw n("badname","hasOwnProperty is not a valid {0} name",e);return u&&t.hasOwnProperty(s)&&(t[s]=null),r(t,s,function(){var i,e,t,n,o;if(u)return i=[],n=r("$injector","invoke","push",e=[]),o={_invokeQueue:i,_configBlocks:e,_runBlocks:t=[],requires:u,name:s,provider:a("$provide","provider"),factory:a("$provide","factory"),service:a("$provide","service"),value:r("$provide","value"),constant:r("$provide","constant","unshift"),decorator:a("$provide","decorator"),animation:a("$animateProvider","register"),filter:a("$filterProvider","register"),controller:a("$controllerProvider","register"),directive:a("$compileProvider","directive"),component:a("$compileProvider","component"),config:n,run:function(e){return t.push(e),this}},l&&n(l),o;throw c("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",s);function r(e,t,n,r){return r=r||i,function(){return r[n||"push"]([e,t,arguments]),o}}function a(n,r){return function(e,t){return t&&$e(t)&&(t.$$moduleName=s),i.push([n,r,arguments]),o}}})}})}function k(e,t){if(ye(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(ve(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function Ge(e){var n;return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):ge(e)?"undefined":"string"!=typeof e?(n=[],JSON.stringify(e,function(e,t){if(ve(t=Q(e,t))){if(0<=n.indexOf(t))return"...";n.push(t)}return t})):e}var Ze={full:"1.5.8",major:1,minor:5,dot:8,codeName:"arbitrary-fallbacks"};s.expando="ng339";function Je(e,t,n){e.addEventListener(t,n,!1)}var Xe=s.cache={},Ke=1,Qe=function(e,t,n){e.removeEventListener(t,n,!1)};s._data=function(e){return this.cache[e[this.expando]]||{}};
1var et=/([\:\-\_]+(.))/g,tt=/^moz([A-Z])/,nt={mouseleave:"mouseout",mouseenter:"mouseover"},rt=b("jqLite");function it(e){return e.replace(et,function(e,t,n,r){return r?n.toUpperCase():n}).replace(tt,"Moz$1")}var ot=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,at=/<|&#?\w+;/,st=/<([\w:-]+)/,ut=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,a={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 lt(e){return!at.test(e)}function ct(e){e=e.nodeType;return e===Ve||!e||e===Be}function ft(e,t){var n,r,i=t.createDocumentFragment(),o=[];if(lt(e))o.push(t.createTextNode(e));else{for(n=i.appendChild(t.createElement("div")),t=(st.exec(e)||["",""])[1].toLowerCase(),t=a[t]||a._default,n.innerHTML=t[1]+e.replace(ut,"<$1></$2>")+t[2],r=t[0];r--;)n=n.lastChild;o=K(o,n.childNodes),(n=i.firstChild).textContent=""}return i.textContent="",i.innerHTML="",pe(o,function(e){i.appendChild(e)}),i}function dt(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}a.optgroup=a.option,a.tbody=a.tfoot=a.colgroup=a.caption=a.thead,a.th=a.td;var ht=g.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function s(e){if(e instanceof s)return e;var t,n,r;if(V(e)&&(e=be(e),t=!0),!(this instanceof s)){if(t&&"<"!=e.charAt(0))throw rt("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new s(e)}kt(this,t?(t=e,n=n||g.document,(r=ot.exec(t))?[n.createElement(r[1])]:(r=ft(t,n))?r.childNodes:[]):e)}function pt(e){return e.cloneNode(!0)}function mt(e,t){if(t||vt(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r<i;r++)vt(n[r])}function gt(n,e,r,t){if(U(t))throw rt("offargs","jqLite#off() does not support the `selector` argument");var t=yt(n),i=t&&t.events,o=t&&t.handle;if(o)if(e){var a=function(e){var t=i[e];U(r)&&Oe(t||[],r),U(r)&&t&&0<t.length||(Qe(n,e,o),delete i[e])};pe(e.split(" "),function(e){a(e),nt[e]&&a(nt[e])})}else for(e in i)"$destroy"!==e&&Qe(n,e,o),delete i[e]}function vt(e,t){var n=e.ng339,r=n&&Xe[n];r&&(t?delete r.data[t]:(r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),gt(e)),delete Xe[n],e.ng339=void 0))}function yt(e,t){var n=e.ng339,r=n&&Xe[n];return t&&!r&&(e.ng339=n=++Ke,r=Xe[n]={events:{},data:{},handle:void 0}),r}function $t(e,t,n){if(ct(e)){var r=U(n),i=!r&&t&&!ve(t),o=!t,e=yt(e,!i),e=e&&e.data;if(!r)return o?e:i?e&&e[t]:void me(e,t);e[t]=n}}function bt(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function wt(t,e){e&&t.setAttribute&&pe(e.split(" "),function(e){t.setAttribute("class",be((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+be(e)+" "," ")))})}function xt(e,t){var n;t&&e.setAttribute&&(n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),pe(t.split(" "),function(e){e=be(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",be(n)))}function kt(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function St(e,t){return Ct(e,"$"+(t||"ngController")+"Controller")}function Ct(e,t,n){e.nodeType==Be&&(e=e.documentElement);for(var r=ye(t)?t:[t];e;){for(var i=0,o=r.length;i<o;i++)if(U(n=he.data(e,r[i])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function _t(e){for(mt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Et(e,t){t||mt(e);t=e.parentNode;t&&t.removeChild(e)}var Tt=s.prototype={ready:function(e){var t=!1;function n(){t||(t=!0,e())}"complete"===g.document.readyState?g.setTimeout(n):(this.on("DOMContentLoaded",n),s(g).on("load",n))},toString:function(){var t=[];return pe(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(e){return he(0<=e?this[e]:this[this.length+e])},length:0,push:r,sort:[].sort,splice:[].splice},At={},Mt=(pe("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){At[_(e)]=e}),{}),Ot=(pe("input,select,option,textarea,button,form,details".split(","),function(e){Mt[e]=!0}),{ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"});function Nt(e,t){t=At[t.toLowerCase()];return t&&Mt[we(e)]&&t}function Dt(e,t){var n;if(ge(t))return(n=e.nodeType)===Ve||n===Ye?e.textContent:"";e.textContent=t}function jt(s,u){function e(e,t){e.isDefaultPrevented=function(){return e.defaultPrevented};var n=u[t||e.type],r=n?n.length:0;if(r){ge(e.immediatePropagationStopped)&&(i=e.stopImmediatePropagation,e.stopImmediatePropagation=function(){e.immediatePropagationStopped=!0,e.stopPropagation&&e.stopPropagation(),i&&i.call(e)}),e.isImmediatePropagationStopped=function(){return!0===e.immediatePropagationStopped};var i,o=n.specialHandlerWrapper||Pt;1<r&&(n=k(n));for(var a=0;a<r;a++)e.isImmediatePropagationStopped()||o(s,e,n[a])}}return e.elem=s,e}function Pt(e,t,n){n.call(e,t)}function Lt(e,t,n){var r=t.relatedTarget;r&&(r===e||ht.call(e,r))||n.call(e,t)}function It(){this.$get=function(){return me(s,{hasClass:function(e,t){return bt(e=e.attr?e[0]:e,t)},addClass:function(e,t){return xt(e=e.attr?e[0]:e,t)},removeClass:function(e,t){return wt(e=e.attr?e[0]:e,t)}})}}function Rt(e,t){var n=e&&e.$$hashKey;return n?"function"==typeof n?e.$$hashKey():n:"function"==(n=typeof e)||"object"==n&&null!==e?e.$$hashKey=n+":"+(t||N)():n+":"+e}function Ft(e,t){var n;t&&(n=0,this.nextUid=function(){return++n}),pe(e,this.put,this)}pe({data:$t,removeData:vt,hasData:function(e){for(var t in Xe[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)vt(e[t])}},function(e,t){s[t]=e}),pe({data:$t,inheritedData:Ct,scope:function(e){return he.data(e,"$scope")||Ct(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return he.data(e,"$isolateScope")||he.data(e,"$isolateScopeNoTemplate")},controller:St,injector:function(e){return Ct(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:bt,css:function(e,t,n){if(t=it(t),!U(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r=e.nodeType;if(r!==Ye&&2!==r&&r!==We){var r=_(t);if(At[r]){if(!U(n))return e[t]||(e.attributes.getNamedItem(t)||q).specified?r:void 0;n?(e[t]=!0,e.setAttribute(t,r)):(e[t]=!1,e.removeAttribute(r))}else{if(!U(n))return!e.getAttribute||null===(r=e.getAttribute(t,2))?void 0:r;e.setAttribute(t,n)}}},prop:function(e,t,n){if(!U(n))return e[t];e[t]=n},text:(Dt.$dv="",Dt),val:function(e,t){var n;if(ge(t))return e.multiple&&"select"===we(e)?(n=[],pe(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n):e.value;e.value=t},html:function(e,t){if(ge(t))return e.innerHTML;mt(e,!0),e.innerHTML=t},empty:_t},function(l,e){s.prototype[e]=function(e,t){var n,r,i=this.length;if(l!==_t&&ge(2==l.length&&l!==bt&&l!==St?e:t)){if(ve(e)){for(n=0;n<i;n++)if(l===$t)l(this[n],e);else for(r in e)l(this[n],r,e[r]);return this}for(var o=ge(u=l.$dv)?Math.min(i,1):i,a=0;a<o;a++)var s=l(this[a],e,t),u=u?u+s:s;return u}for(n=0;n<i;n++)l(this[n],e,t);return this}}),pe({removeData:vt,on:function(i,e,o,t){if(U(t))throw rt("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ct(i))for(var t=yt(i,!0),a=t.events,s=(s=t.handle)||(t.handle=jt(i,a)),n=0<=e.indexOf(" ")?e.split(" "):[e],r=n.length,u=function(e,t,n){var r=a[e];r||((r=a[e]=[]).specialHandlerWrapper=t,"$destroy"===e)||n||Je(i,e,s),r.push(o)};r--;)e=n[r],nt[e]?(u(nt[e],Lt),u(e,void 0,!0)):u(e)},off:gt,one:function(t,n,r){(t=he(t)).on(n,function e(){t.off(n,r),t.off(n,e)}),t.on(n,r)},replaceWith:function(t,e){var n,r=t.parentNode;mt(t),pe(new s(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(e){var t=[];return pe(e.childNodes,function(e){e.nodeType===Ve&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Ve||11===n)for(var r=0,i=(t=new s(t)).length;r<i;r++){var o=t[r];e.appendChild(o)}},prepend:function(t,e){var n;t.nodeType===Ve&&(n=t.firstChild,pe(new s(e),function(e){t.insertBefore(e,n)}))},wrap:function(e,t){dt(e,he(t).eq(0).clone()[0])},remove:Et,detach:function(e){Et(e,!0)},after:function(e,t){for(var n=e,r=e.parentNode,i=0,o=(t=new s(t)).length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:xt,removeClass:wt,toggleClass:function(n,e,r){e&&pe(e.split(" "),function(e){var t=r;((t=ge(r)?!bt(n,e):t)?xt:wt)(n,e)})},parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:pt,triggerHandler:function(t,e,n){var r,i,o=e.type||e,a=yt(t),a=a&&a.events,a=a&&a[o];a&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:q,type:o,target:t},e.type&&(r=me(r,e)),o=k(a),i=n?[r].concat(n):[r],pe(o,function(e){r.isImmediatePropagationStopped()||e.apply(t,i)}))}},function(a,e){s.prototype[e]=function(e,t,n){for(var r,i=0,o=this.length;i<o;
1i++)ge(r)?U(r=a(this[i],e,t,n))&&(r=he(r)):kt(r,a(this[i],e,t,n));return U(r)?r:this},s.prototype.bind=s.prototype.on,s.prototype.unbind=s.prototype.off}),Ft.prototype={put:function(e,t){this[Rt(e,this.nextUid)]=t},get:function(e){return this[Rt(e,this.nextUid)]},remove:function(e){var t=this[e=Rt(e,this.nextUid)];return delete this[e],t}};var Ht=[function(){this.$get=[function(){return Ft}]}],qt=/^([^\(]+?)=>/,Ut=/^[^\(]*\(\s*([^\)]*)\)/m,Vt=/,/,Yt=/^\s*(_?)(\S+?)\1\s*$/,Wt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Bt=b("$injector");function zt(e){return Function.prototype.toString.call(e)+" "}function Gt(e){e=zt(e).replace(Wt,"");return e.match(qt)||e.match(Ut)}function Zt(e,l){l=!0===l;var o={},a="Provider",s=[],u=new Ft([],!0),c={$provide:{provider:r(h),factory:r(i),service:r(function(e,t){return i(e,["$injector",function(e){return e.instantiate(t)}])}),value:r(function(e,t){return i(e,E(t),!1)}),constant:r(function(e,t){He(e,"constant"),c[e]=t,n[e]=t}),decorator:function(e,t){var n=f.get(e+a),r=n.$get;n.$get=function(){var e=d.invoke(r,n);return d.invoke(t,null,{$delegate:e})}}}},f=c.$injector=p(c,function(e,t){throw C.isString(t)&&s.push(t),Bt("unpr","Unknown provider: {0}",s.join(" <- "))}),n={},t=p(n,function(e,t){t=f.get(e+a,t);return d.invoke(t.$get,t,void 0,e)}),d=t,e=(c["$injector"+a]={$get:E(t)},function n(e){Re(ge(e)||ye(e),"modulesToLoad","not an array");var r,i=[];pe(e,function(t){if(!u.get(t)){u.put(t,!0);try{V(t)?(r=m(t),i=i.concat(n(r.requires)).concat(r._runBlocks),e(r._invokeQueue),e(r._configBlocks)):$e(t)||ye(t)?i.push(f.invoke(t)):Fe(t,"module")}catch(e){throw ye(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1==e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Bt("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function e(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=f.get(r[0]);i[r[1]].apply(i,r[2])}}});return i}(e));return(d=t.get("$injector")).strictDi=l,pe(e,function(e){e&&d.invoke(e)}),d;function r(n){return function(e,t){if(!ve(e))return n(e,t);pe(e,O(n))}}function h(e,t){if(He(e,"service"),(t=$e(t)||ye(t)?f.instantiate(t):t).$get)return c[e+a]=t;throw Bt("pget","Provider '{0}' must define $get factory method.",e)}function i(e,t,n){return h(e,{$get:!1!==n?(r=e,i=t,function(){var e=d.invoke(i,this);if(ge(e))throw Bt("undef","Provider '{0}' must return a value from $get factory method.",r);return e}):t});var r,i}function p(n,r){function u(t,e){if(n.hasOwnProperty(t)){if(n[t]===o)throw Bt("cdep","Circular dependency found: {0}",t+" <- "+s.join(" <- "));return n[t]}try{return s.unshift(t),n[t]=o,n[t]=r(t,e)}catch(e){throw n[t]===o&&delete n[t],e}finally{s.shift()}}function i(e,t,n){for(var r=[],i=Zt.$$annotate(e,l,n),o=0,a=i.length;o<a;o++){var s=i[o];if("string"!=typeof s)throw Bt("itkn","Incorrect injection token! Expected service name as string, got {0}",s);r.push(t&&t.hasOwnProperty(s)?t[s]:u(s,n))}return r}return{invoke:function(e,t,n,r){return"string"==typeof n&&(r=n,n=null),n=i(e,n,r),ye(e)&&(e=e[e.length-1]),r=e,_e<=11||"function"!=typeof r||!/^(?:class\b|constructor\()/.test(zt(r))?e.apply(t,n):(n.unshift(null),new(Function.prototype.bind.apply(e,n)))},instantiate:function(e,t,n){var r=ye(e)?e[e.length-1]:e;return(e=i(e,t,n)).unshift(null),new(Function.prototype.bind.apply(r,e))},get:u,annotate:Zt.$$annotate,has:function(e){return c.hasOwnProperty(e+a)||n.hasOwnProperty(e)}}}}function Jt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(r,i,o){var a=r.document;function s(e){var t,n;e?(e.scrollIntoView(),$e(n=u.yOffset)?n=n():G(n)?(t=n[0],n="fixed"!==r.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom):x(n)||(n=0),(t=n)&&(n=e.getBoundingClientRect().top,r.scrollBy(0,n-t))):r.scrollTo(0,0)}function u(e){var t,n;(e=V(e)?e:i.hash())?(t=a.getElementById(e))?s(t):(t=a.getElementsByName(e),n=null,Array.prototype.some.call(t,function(e){if("a"===we(e))return n=e,!0}),n?s(n):"top"===e&&s(null)):s(null)}return e&&o.$watch(function(){return i.hash()},function(e,t){var n;e===t&&""===e||(t=function(){o.$evalAsync(u)},"complete"===(n=n||g).document.readyState?n.setTimeout(t):he(n).on("load",t))}),u}]}Zt.$$annotate=function(e,t,n){var r;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw V(n)&&n||(n=e.name||((t=Gt(t=e))?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn")),Bt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);pe(Gt(e)[1].split(Vt),function(e){e.replace(Yt,function(e,t,n){r.push(n)})})}e.$inject=r}}else ye(e)?(t=e.length-1,Fe(e[t],"fn"),r=e.slice(0,t)):Fe(e,"fn",!0);return r};var Xt=b("$animate"),Kt=1,Qt="ng-animate";
1function en(e,t){return e||t?e?t?(e=ye(e)?e.join(" "):e)+" "+(t=ye(t)?t.join(" "):t):e:t:""}function tn(e){return ve(e)?e:{}}function nn(){this.$get=q}function rn(){var l=new Ft,c=[];this.$get=["$$AnimateRunner","$rootScope",function(o,a){return{enabled:q,on:q,off:q,pin:q,push:function(e,t,n,r){r&&r(),(n=n||{}).from&&e.css(n.from),n.to&&e.css(n.to),(n.addClass||n.removeClass)&&(r=e,e=n.addClass,n=n.removeClass,i=l.get(r)||{},e=s(i,e,!0),n=s(i,n,!1),e||n)&&(l.put(r,i),c.push(r),1===c.length)&&a.$$postDigest(u);var i,e=new o;return e.complete(),e}};function s(t,e,n){var r=!1;return e&&pe(e=V(e)?e.split(" "):ye(e)?e:[],function(e){e&&(r=!0,t[e]=n)}),r}function u(){pe(c,function(e){var n,r,i,t,o,a=l.get(e);a&&(V(t=e.attr("class"))&&(t=t.split(" ")),o=Se(),pe(t,function(e){e.length&&(o[e]=!0)}),n=o,i=r="",pe(a,function(e,t){e!==!!n[t]&&(e?r+=(r.length?" ":"")+t:i+=(i.length?" ":"")+t)}),pe(e,function(e){r&&xt(e,r),i&&wt(e,i)}),l.remove(e))}),c.length=0}}]}function on(){this.$get=["$$rAF",function(t){var n=[];function r(e){n.push(e),1<n.length||t(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}return function(){var t=!1;return r(function(){t=!0}),function(e){t?e():r(e)}}}]}function an(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(t,e,r,i,o){function n(e){this.setHost(e);var n=r();this._doneCallbacks=[],this._tick=function(e){var t=i[0];t&&t.hidden?o(e,0,!1):n(e)},this._state=0}return n.chain=function(e,n){var r=0;!function t(){if(r===e.length)return void n(!0);e[r](function(e){!1===e?n(!1):(r++,t())})}()},n.all=function(t,n){var r=0,i=!0;function o(e){i=i&&e,++r===t.length&&n(i)}pe(t,function(e){e.done(o)})},n.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:q,getPromise:function(){var e;return this.promise||((e=this).promise=t(function(t,n){e.done(function(e){(!1===e?n:t)()})})),this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(t){2!==this._state&&(pe(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},n}]}function sn(){this.$get=["$$rAF","$q","$$AnimateRunner",function(a,e,s){return function(e,t){var n=t||{};(n=n.$$prepared?n:Z(n)).cleanupStyles&&(n.from=n.to=null),n.from&&(e.css(n.from),n.from=null);var r,i=new s;return{start:o,end:o};function o(){return a(function(){n.addClass&&(e.addClass(n.addClass),n.addClass=null),n.removeClass&&(e.removeClass(n.removeClass),n.removeClass=null),n.to&&(e.css(n.to),n.to=null),r||i.complete(),r=!0}),i}}}]}var un=["$provide",function(r){var i=this;this.$$registeredAnimations=Object.create(null),this.register=function(e,t){if(e&&"."!==e.charAt(0))throw Xt("notcsel","Expecting class selector starting with '.' got '{0}'.",e);var n=e+"-animation";i.$$registeredAnimations[e.substr(1)]=n,r.factory(n,t)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter&&new RegExp("(\\s+|\\/)"+Qt+"(\\s+|\\/)").test(this.$$classNameFilter.toString())))throw Xt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Qt);return this.$$classNameFilter},this.$get=["$$animateQueue",function(o){function i(e,t,n){var r;(n=!n||!(r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Kt)return n}}(n))||r.parentNode||r.previousElementSibling?n:null)?n.after(e):t.prepend(e)}return{on:o.on,off:o.off,pin:o.pin,enabled:o.enabled,cancel:function(e){e.end&&e.end()},enter:function(e,t,n,r){return t=t&&he(t),n=n&&he(n),i(e,t=t||n.parent(),n),o.push(e,"enter",tn(r))},move:function(e,t,n,r){return t=t&&he(t),n=n&&he(n),i(e,t=t||n.parent(),n),o.push(e,"move",tn(r))},leave:function(e,t){return o.push(e,"leave",tn(t),function(){e.remove()})},addClass:function(e,t,n){return(n=tn(n)).addClass=en(n.addclass,t),o.push(e,"addClass",n)},removeClass:function(e,t,n){return(n=tn(n)).removeClass=en(n.removeClass,t),o.push(e,"removeClass",n)},setClass:function(e,t,n,r){return(r=tn(r)).addClass=en(r.addClass,t),r.removeClass=en(r.removeClass,n),o.push(e,"setClass",r)},animate:function(e,t,n,r,i){return(i=tn(i)).from=i.from?me(i.from,t):t,i.to=i.to?me(i.to,n):n,i.tempClasse
1s=en(i.tempClasses,r=r||"ng-inline-animate"),o.push(e,"animate",i)}}}]}];function ln(o,e,t,a){var s=this,u=o.location,l=o.history,r=o.setTimeout,n=o.clearTimeout,i={},c=(s.isMock=!1,0),f=[];function d(e){try{e.apply(null,Ne(arguments,1))}finally{if(0===--c)for(;f.length;)try{f.pop()()}catch(e){t.error(e)}}}s.$$completeOutstandingRequest=d,s.$$incOutstandingRequestCount=function(){c++},s.notifyWhenNoOutstandingRequests=function(e){0===c?e():f.push(e)};var h,p,m=u.href,g=e.find("base"),v=null,y=a.history?function(){try{return l.state}catch(e){}}:q,$=(k(),p=h,s.url=function(e,t,n){var r,i;return ge(n)&&(n=null),u!==o.location&&(u=o.location),l!==o.history&&(l=o.history),e?(r=p===n,(m!==e||a.history&&!r)&&(i=m&&rr(m)===rr(e),m=e,p=n,!a.history||i&&r?(i||(v=e),t?u.replace(e):i?u.hash=-1===(i=(r=e).indexOf("#"))?"":r.substr(i):u.href=e,u.href!==e&&(v=e)):(l[t?"replaceState":"pushState"](n,"",e),k(),p=h),v=v&&e),s):v||u.href.replace(/%27/g,"'")},s.state=function(){return h},[]),b=!1;function w(){v=null,k(),S()}var x=null;function k(){xe(h=ge(h=y())?null:h,x)&&(h=x),x=h}function S(){m===s.url()&&p===h||(m=s.url(),p=h,pe($,function(e){e(s.url(),h)}))}s.onUrlChange=function(e){return b||(a.history&&he(o).on("popstate",w),he(o).on("hashchange",w),b=!0),$.push(e),e},s.$$applicationDestroyed=function(){he(o).off("hashchange popstate",w)},s.$$checkUrlChange=S,s.baseHref=function(){var e=g.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},s.defer=function(e,t){var n;return c++,n=r(function(){delete i[n],d(e)},t||0),i[n]=!0,n},s.defer.cancel=function(e){return!!i[e]&&(delete i[e],n(e),d(q),!0)}}function cn(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new ln(e,r,t,n)}]}function fn(){this.$get=function(){var f={};function e(e,t){if(e in f)throw b("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var n=0,r=me({},t,{id:e}),i=Se(),o=t&&t.capacity||Number.MAX_VALUE,a=Se(),s=null,u=null;return f[e]={put:function(e,t){if(!ge(t))return o<Number.MAX_VALUE&&l(a[e]||(a[e]={key:e})),e in i||n++,i[e]=t,o<n&&this.remove(u.key),t},get:function(e){if(o<Number.MAX_VALUE){var t=a[e];if(!t)return;l(t)}return i[e]},remove:function(e){if(o<Number.MAX_VALUE){var t=a[e];if(!t)return;t==s&&(s=t.p),t==u&&(u=t.n),c(t.n,t.p),delete a[e]}e in i&&(delete i[e],n--)},removeAll:function(){i=Se(),n=0,a=Se(),s=u=null},destroy:function(){a=r=i=null,delete f[e]},info:function(){return me({},r,{size:n})}};function l(e){e!=s&&(u?u==e&&(u=e.n):u=e,c(e.n,e.p),c(e,s),(s=e).n=null)}function c(e,t){e!=t&&(e&&(e.p=t),t)&&(t.n=e)}}return e.info=function(){var n={};return pe(f,function(e,t){n[t]=e.info()}),n},e.get=function(e){return f[e]},e}}function dn(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var Ce=b("$compile");var hn=new function(){};function pn(i,t){var j={},P="Directive",L=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,I=/(([\w\-]+)(?:\:([^;]+))?;?)/,R=function(e){for(var t={},n=e.split(","),r=0;r<n.length;r++)t[n[r]]=!0;return t}("ngSrc,ngSrcset,src,srcset"),f=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,F=/^(on[a-z]+|formaction)$/,s=Se();function m(e,r,i){var o=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,a=Se();return pe(e,function(e,t){if(e in s)a[t]=s[e];else{var n=e.match(o);if(!n)throw Ce("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",r,t,e,i?"controller bindings definition":"isolate scope definition");a[t]={mode:n[1][0],collection:"*"===n[2],optional:"?"===n[3],attrName:n[4]||t},n[4]&&(s[e]=a[t])}}),a}this.directive=function e(u,t){if(He(u,"directive"),V(u)){var n=u,r=n.charAt(0);if(!r||r!==_(r))throw Ce("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",n);if(n!==n.trim())throw Ce("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",n);Re(t,"directiveFactory"),j.hasOwnProperty(u)||(j[u]=[],i.factory(u+P,["$injector","$exceptionHandler",function(o,a){var s=[];return pe(j[u],function(e,t){try{var n=o.invoke(e);$e(n)?n={compile:E(n)}:!n.compile&&n.link&&(n.compile=E(n.link)),n.priority=n.priority||0,n.index=t,n.name=n.name||u,
1n.require=(i=(r=n).require||r.controller&&r.name,!ye(i)&&ve(i)&&pe(i,function(e,t){var n=e.match(f);e.substring(n[0].length)||(i[t]=n[0]+t)}),i),n.restrict=n.restrict||"EA",n.$$moduleName=e.$$moduleName,s.push(n)}catch(e){a(e)}var r,i}),s}])),j[u].push(t)}else pe(u,O(e));return this},this.component=function(e,i){var o=i.controller||function(){};function n(r){function e(n){return $e(n)||ye(n)?function(e,t){return r.invoke(n,this,{$element:e,$attrs:t})}:n}var t=i.template||i.templateUrl?i.template:"",n={controller:o,controllerAs:xn(i.controller)||i.controllerAs||"$ctrl",template:e(t),templateUrl:e(i.templateUrl),transclude:i.transclude,scope:{},bindToController:i.bindings||{},restrict:"E",require:i.require};return pe(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e)}),n}return pe(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e,$e(o))&&(o[t]=e)}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return U(e)?(t.aHrefSanitizationWhitelist(e),this):t.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return U(e)?(t.imgSrcSanitizationWhitelist(e),this):t.imgSrcSanitizationWhitelist()};var u=!0,l=(this.debugInfoEnabled=function(e){return U(e)?(u=e,this):u},10);this.onChangesTtl=function(e){return arguments.length?(l=e,this):l},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(E,T,Y,W,v,B,o,A,r,d){var a,p=/^\w/,h=g.document.createElement("div"),e=l;function s(){try{if(!--e)throw a=void 0,Ce("infchng","{0} $onChanges() iterations reached. Aborting!\n",l);o.$apply(function(){for(var t=[],e=0,n=a.length;e<n;++e)try{a[e]()}catch(e){t.push(e)}if(a=void 0,t.length)throw t})}finally{e++}}function z(e,t){if(t)for(var n,r=Object.keys(t),i=0,o=r.length;i<o;i++)this[n=r[i]]=t[n];else this.$attr={};this.$$element=e}function G(e,t){try{e.addClass(t)}catch(e){}}z.prototype={$normalize:vn,$addClass:function(e){e&&0<e.length&&r.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&r.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=yn(e,t),n=(n&&n.length&&r.addClass(this.$$element,n),yn(t,e));n&&n.length&&r.removeClass(this.$$element,n)},$set:function(e,t,n,r){var i=Nt(this.$$element[0],e),o=Ot[e],a=e;if(i?(this.$$element.prop(e,t),r=i):o&&(this[o]=t,a=o),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=Le(e,"-")),"a"===(i=we(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===i&&"src"===e)this[e]=t=d(t,"src"===e);else if("img"===i&&"srcset"===e&&U(t)){for(var s="",o=be(t),i=/\s/.test(o)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,u=o.split(i),l=Math.floor(u.length/2),c=0;c<l;c++)var f=2*c,s=(s+=d(be(u[f]),!0))+(" "+be(u[1+f]));o=be(u[2*c]).split(/\s/);s+=d(be(o[0]),!0),2===o.length&&(s+=" "+be(o[1])),this[e]=t=s}!1!==n&&(null===t||ge(t)?this.$$element.removeAttr(r):p.test(r)?this.$$element.attr(r,t):(i=this.$$element[0],o=r,e=t,h.innerHTML="<span "+o+">",o=h.firstChild.attributes,n=o[0],o.removeNamedItem(n.name),n.value=e,i.attributes.setNamedItem(n)));r=this.$$observers;r&&pe(r[a],function(e){try{e(t)}catch(e){Y(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=Se()),i=r[e]||(r[e]=[]);return i.push(t),o.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||ge(n[e])||t(n[e])}),function(){Oe(i,t)}}};var t=T.startSymbol(),n=T.endSymbol(),Z="{{"==t&&"}}"==n?Te:function(e){return e.replace(/\{\{/g,t).replace(/}}/g,n)},O=/^ngAttr[A-Z]/,N=/^(.+)Start$/;return J.$$addBindingInfo=u?function(e,t){var n=e.data("$binding")||[];ye(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:q,J.$$addBindingClass=u?function(e){G(e,"ng-binding")}:q,J.$$addScopeInfo=u?function(e,t,n,r){e.data(n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:q,J.$$addScopeClass=u?function(e,t){G(e,t?"ng-isolate-scope":"ng-scope")}:q,J.$$createComment=function(e,t){var n="";return u&&(n=" "+(e||"")+": ",t)&&(n+=t+" "),g.document.createComment(n)},J;function J(s,e,t,n,u){for(var r=/\S+/,i=0,o=(s=s instanceof he?s:he(s)).length;i<o;i++){var a=s[i];a.nodeType===Ye&&a.nodeValue.match(r)&&dt(a,s[i]=g.document.createElement("span"))}
1var l=X(s,e,s,t,n,u),c=(J.$$addScopeClass(s),null);return function(e,t,n){Re(e,"scope"),u&&u.needsNewScope&&(e=e.$parent.$new());var r,i=(n=n||{}).parentBoundTranscludeFn,o=n.transcludeControllers,n=n.futureParentElement;if(i&&i.$$boundTransclude&&(i=i.$$boundTransclude),r="html"!==(c=c||function(e){e=e&&e[0];return e&&"foreignobject"!==we(e)&&w.call(e).match(/SVG/)?"svg":"html"}(n))?he(ue(c,he("<div>").append(s).html())):t?Tt.clone.call(s):s,o)for(var a in o)r.data("$"+a+"Controller",o[a].instance);return J.$$addScopeInfo(r,e),t&&t(r,e),l&&l(e,r,r,i),r}}function X(e,p,t,n,r,i){for(var o,a,s,m,g=[],u=0;u<e.length;u++)a=new z,(o=(o=Q(e[u],[],a,0===u?n:void 0,r)).length?re(o,e[u],a,p,t,null,[],[],i):null)&&o.scope&&J.$$addScopeClass(a.$$element),a=o&&o.terminal||!(a=e[u].childNodes)||!a.length?null:X(a,o?(o.transcludeOnThisElement||!o.templateOnThisElement)&&o.transclude:p),(o||a)&&(g.push(u,o,a),s=!0,m=m||o),i=null;return s?function(e,t,n,r){var i,o,a,s,u,l,c,f,d;if(m){var h=t.length;for(d=new Array(h),u=0;u<g.length;u+=3)d[c=g[u]]=t[c]}else d=t;for(u=0,l=g.length;u<l;)a=d[g[u++]],i=g[u++],o=g[u++],i?(i.scope?(s=e.$new(),J.$$addScopeInfo(he(a),s)):s=e,f=i.transcludeOnThisElement?K(e,i.transclude,r):!i.templateOnThisElement&&r?r:!r&&p?K(e,p):null,i(o,s,a,n,f)):o&&o(e,a.childNodes,void 0,r)}:null}function K(o,a,s){function e(e,t,n,r,i){return e||((e=o.$new(!1,i)).$$transcluded=!0),a(e,t,{parentBoundTranscludeFn:s,transcludeControllers:n,futureParentElement:r})}var t,n=e.$$slots=Se();for(t in a.$$slots)a.$$slots[t]?n[t]=K(o,a.$$slots[t],s):n[t]=null;return e}function Q(e,t,n,r,i){var o,a,s,u=e.nodeType,l=n.$attr;switch(u){case Ve:M(t,vn(we(e)),"E",r,i);for(var c,f,d=e.attributes,h=0,p=d&&d.length;h<p;h++){var m=!1,g=!1,v=(y=d[h]).name,y=be(y.value),$=vn(v),$=((f=O.test($))&&(v=v.replace(gn,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()})),$.match(N));$&&function(e){if(j.hasOwnProperty(e))for(var t=E.get(e+P),n=0,r=t.length;n<r;n++)if(t[n].multiElement)return 1;return}($[1])&&(g=(m=v).substr(0,v.length-5)+"end",v=v.substr(0,v.length-6)),l[c=vn(v.toLowerCase())]=v,!f&&n.hasOwnProperty(c)||(n[c]=y,Nt(e,c)&&(n[c]=!0)),!function(e,t,o,a,s){var u=function(e,t){if("srcdoc"==t)return A.HTML;e=we(e);if("xlinkHref"==t||"form"==e&&"action"==t||"img"!=e&&("src"==t||"ngSrc"==t))return A.RESOURCE_URL}(e,a),l=(s=R[a]||s,T(o,!0,u,s));if(l){if("multiple"===a&&"select"===we(e))throw Ce("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",ke(e));t.push({priority:100,compile:function(){return{pre:function(e,t,n){var r=n.$$observers||(n.$$observers=Se());if(F.test(a))throw Ce("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var i=n[a];i!==o&&(l=i&&T(i,!0,u,s),o=i),l&&(n[a]=l(e),(r[a]||(r[a]=[])).$$inter=!0,(n.$$observers&&n.$$observers[a].$$scope||e).$watch(l,function(e,t){"class"===a&&e!=t?n.$updateClass(e,t):n.$set(a,e)}))}}}})}}(e,t,y,c,f),M(t,c,"A",r,i,m,g)}if(V(a=ve(a=e.className)?a.animVal:a)&&""!==a)for(;o=I.exec(a);)M(t,c=vn(o[2]),"C",r,i)&&(n[c]=be(o[3])),a=a.substr(o.index+o[0].length);break;case Ye:if(11===_e)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===Ye;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);w=t,b=e.nodeValue,(s=T(b,!0))&&w.push({priority:0,compile:function(e){var e=e.parent(),r=!!e.length;return r&&J.$$addBindingClass(e),function(e,t){var n=t.parent();r||J.$$addBindingClass(n),J.$$addBindingInfo(n,s.expressions),e.$watch(s,function(e){t[0].nodeValue=e})}}});break;case We:var b=e,w=t,x=n,k=r,S=i;try{var C,_=L.exec(b.nodeValue);_&&(C=vn(_[1]),M(w,C,"M",k,S))&&(x[C]=be(_[2]))}catch(e){}}return t.sort(D),t}function ee(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Ce("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n)}while(e.nodeType==Ve&&(e.hasAttribute(t)&&i++,e.hasAttribute(n))&&i--,r.push(e),e=e.nextSibling,0<i)}else r.push(e);return he(r)}function te(o,a,s){return function(e,t,n,r,i){return t=ee(t[0],a,s),o(e,t,n,r,i)}}function ne(e,t,n,r,i,o){var a;return e?J(t,n,r,i,o):function(){return a||(a=J(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function re(e,w,x,t,n,L,k,S,r){r=r||{};for(var i,o,a=-Number.MAX_VALUE,C=r.newScopeDirective,_=r.controllerDirectives,E=r.newIsolateScopeDirective,T=r.templateDirective,s=r.nonTlbTranscludeDirective,u=!1,l=!1,A=r.hasElementTranscludeDirective,c=x.$$element=he(w),f=L,d=t,I=!1,h=!1,p=0,m=e.length;p<m;p++){var g,v=(g=e[p]).$$start,y=g.$$end;if(v&&(c=ee(w,v,y)),O=void 0,a>g.priority)break;if((o=g.scope)&&(g.templateUrl||(ve(o)?(se("new/isolated scope",E||C,g,c),E=g):se("new/isolated scope",E,g,c)),C=C||g),i=g.name,!I&&(g.replace&&(g.templateUrl||g.template)||g.transclude&&!g.$$tlb)){for(var $,R=p+1;$=e[R++];)if($.transclude&&!$.$$tlb||$.replace&&($.templateUrl||$.template)){h=!0;break}I=!0}if(!g.templateUrl&&g.controller&&(o=g.controller,_=_||Se(),se("'"+i+"' controller",_[i],g,c),_[i]=g),o=g.transclude)if(u=!0,g.$$tlb||(se("transclusion",s,g,c),s=g),"element"==o)A=!0,a=g.priority,O=c,c=x.$$element=he(J.$$createComment(i,x[i])),w=c[0],le(n,Ne(O),w),O[0].$$parentNode=O[0].parentNode,d=ne(h,O,t,a,f&&f.name,{nonTlbTranscludeDirective:s});else{var b=Se();if(O=he(pt(w)).contents(),ve(o)){var M,O=[],F=Se(),N=Se();for(M in pe(o,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,F[e]=t,b[t]=null,N[t]=n}),pe(c.contents(),function(e){var t=F[vn(we(e))];(t?(N[t]=!0,b[t]=b[t]||[],b[t]):O).push(e)}),pe(N,function(e,t){if(!e)throw Ce("reqslot","Required transclusion slot `{0}` was not filled.",t)}
1),b)b[M]&&(b[M]=ne(h,b[M],t))}c.empty(),(d=ne(h,O,t,void 0,void 0,{needsNewScope:g.$$isolateScope||g.$$newScope})).$$slots=b}if(g.template)if(l=!0,se("template",T,g,c),o=$e((T=g).template)?g.template(c,x):g.template,o=Z(o),g.replace){if(f=g,O=lt(o)?[]:$n(ue(g.templateNamespace,be(o))),w=O[0],1!=O.length||w.nodeType!==Ve)throw Ce("tplrt","Template for directive '{0}' must have exactly one root element. {1}",i,"");le(n,c,w);var H={$attr:{}},q=Q(w,[],H),U=e.splice(p+1,e.length-(p+1));(E||C)&&oe(q,E,C),e=e.concat(q).concat(U),ae(x,H),m=e.length}else c.html(o);if(g.templateUrl)l=!0,se("template",T,g,c),(T=g).replace&&(f=g),P=function(c,f,d,h,p,m,g,v){var y,$,b=[],w=f[0],x=c.shift(),k=Ee(x,{templateUrl:null,transclude:null,replace:null,$$originalDirective:x}),S=$e(x.templateUrl)?x.templateUrl(f,d):x.templateUrl,C=x.templateNamespace;return f.empty(),W(S).then(function(e){var n,t;if(e=Z(e),x.replace){if(t=lt(e)?[]:$n(ue(C,be(e))),n=t[0],1!=t.length||n.nodeType!==Ve)throw Ce("tplrt","Template for directive '{0}' must have exactly one root element. {1}",x.name,S);t={$attr:{}},le(h,f,n);var r=Q(n,[],t);ve(x.scope)&&oe(r,!0),c=r.concat(c),ae(d,t)}else n=w,f.html(e);for(c.unshift(k),y=re(c,n,d,p,f,x,m,g,v),pe(h,function(e,t){e==n&&(h[t]=f[0])}),$=X(f[0].childNodes,p);b.length;){var i,o=b.shift(),a=b.shift(),s=b.shift(),u=b.shift(),l=f[0];o.$$destroyed||(a!==w&&(i=a.className,v.hasElementTranscludeDirective&&x.replace||(l=pt(n)),le(s,he(a),l),G(he(l),i)),s=y.transcludeOnThisElement?K(o,y.transclude,u):u,y($,o,l,h,s))}b=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(b?b.push(t,n,r,o):(y.transcludeOnThisElement&&(o=K(t,y.transclude,i)),y($,t,n,r,o)))}}(e.splice(p,e.length-p),c,x,n,u&&d,k,S,{controllerDirectives:_,newScopeDirective:C!==g&&C,newIsolateScopeDirective:E,templateDirective:T,nonTlbTranscludeDirective:s}),m=e.length;else if(g.compile)try{var D=g.compile(c,x,d),j=g.$$originalDirective||g;$e(D)?V(null,De(j,D),v,y):D&&V(De(j,D.pre),De(j,D.post),v,y)}catch(e){Y(e,ke(c))}g.terminal&&(P.terminal=!0,a=Math.max(a,g.priority))}return P.scope=C&&!0===C.scope,P.transcludeOnThisElement=u,P.templateOnThisElement=l,P.transclude=d,r.hasElementTranscludeDirective=A,P;function V(e,t,n,r){e&&((e=n?te(e,n,r):e).require=g.require,e.directiveName=i,E!==g&&!g.$$isolateScope||(e=ce(e,{isolateScope:!0})),k.push(e)),t&&((t=n?te(t,n,r):t).require=g.require,t.directiveName=i,E!==g&&!g.$$isolateScope||(t=ce(t,{isolateScope:!0})),S.push(t))}function P(e,t,n,r,a){var i,o,s,u,l,c,f,d,h,p,m;for(m in w===n?d=(h=x).$$element:h=new z(d=he(n),x),l=t,E?u=t.$new(!0):C&&(l=t.$parent),a&&((f=function(e,t,n,r){var i;Ae(e)||(r=n,n=t,t=e,e=void 0);A&&(i=c);n=n||(A?d.parent():d);{if(!r)return a(e,t,i,n,b);var o=a.$$slots[r];if(o)return o(e,t,i,n,b);if(ge(o))throw Ce("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,ke(d))}}).$$boundTransclude=a,f.isSlotFilled=function(e){return!!a.$$slots[e]}),_&&(c=function(e,t,n,r,i,o,a){var s,u=Se();for(s in r){var l=r[s],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller,f=("@"==f&&(f=t[l.name]),B(f,c,!0,l.controllerAs));u[l.name]=f,e.data("$"+l.name+"Controller",f.instance)}return u}(d,h,f,_,u,t,E)),E&&(J.$$addScopeInfo(d,u,!0,!(T&&(T===E||T===E.$$originalDirective))),J.$$addScopeClass(d,!0),u.$$isolateBindings=E.$$isolateBindings,(p=de(t,h,u,u.$$isolateBindings,E)).removeWatches)&&u.$on("$destroy",p.removeWatches),c){var g=_[m],v=c[m],y=g.$$bindings.bindToController,$=(v.identifier&&y?v.bindingInfo=de(l,h,v.instance,y,g):v.bindingInfo={},v());$!==v.instance&&(v.instance=$,d.data("$"+g.name+"Controller",$),v.bindingInfo.removeWatches&&v.bindingInfo.removeWatches(),v.bindingInfo=de(l,h,v.instance,y,g))}for(pe(_,function(e,t){var n=e.require;e.bindToController&&!ye(n)&&ve(n)&&me(c[t].instance,ie(t,n,d,c))}),pe(c,function(e){var t=e.instance;if($e(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){Y(e)}if($e(t.$onInit))try{t.$onInit()}catch(e){Y(e)}$e(t.$doCheck)&&(l.$watch(function(){t.$doCheck()}),t.$doCheck()),$e(t.$onDestroy)&&l.$on("$destroy",function(){t.$onDestroy()})}),i=0,o=k.length;i<o;i++)fe(s=k[i],s.isolateScope?u:t,d,h,s.require&&ie(s.directiveName,s.require,d,c),f);var b=t;for(E&&(E.template||null===E.templateUrl)&&(b=u),e&&e(b,n.childNodes,void 0,a),i=S.length-1;0<=i;i--)fe(s=S[i],s.isolateScope?u:t,d,h,s.require&&ie(s.directiveName,s.require,d,c),f);pe(c,function(e){e=e.instance;$e(e.$postLink)&&e.$postLink()})}}function ie(n,e,r,i){if(V(e)){var t,o,a=e.match(f),s=e.substring(a[0].length),u=a[1]||a[3],a="?"===a[2];if("^^"===u?r=r.parent():o=(o=i&&i[s])&&o.instance,o||(t="$"+s+"Controller",o=u?r.inheritedData(t):r.data(t)),!o&&!a)throw Ce("
1ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,n)}else if(ye(e)){o=[];for(var l=0,c=e.length;l<c;l++)o[l]=ie(n,e[l],r,i)}else ve(e)&&(o={},pe(e,function(e,t){o[t]=ie(n,e,r,i)}));return o||null}function oe(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=Ee(e[r],{$$isolateScope:t,$$newScope:n})}function M(e,t,n,r,i,o,a){if(t!==i){var s=null;if(j.hasOwnProperty(t))for(var u=E.get(t+P),l=0,c=u.length;l<c;l++)try{var f,d=u[l];(ge(r)||r>d.priority)&&-1!=d.restrict.indexOf(n)&&((d=o?Ee(d,{$$start:o,$$end:a}):d).$$bindings||(f=d.$$bindings=function(e,t){var n={isolateScope:null,bindToController:null};if(ve(e.scope)&&(!0===e.bindToController?(n.bindToController=m(e.scope,t,!0),n.isolateScope={}):n.isolateScope=m(e.scope,t,!1)),ve(e.bindToController)&&(n.bindToController=m(e.bindToController,t,!0)),ve(n.bindToController)){var r=e.controller,e=e.controllerAs;if(!r)throw Ce("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!xn(r,e))throw Ce("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}(d,d.name),ve(f.isolateScope)&&(d.$$isolateBindings=f.isolateScope)),e.push(d),s=d)}catch(e){Y(e)}return s}}function ae(n,r){var i=r.$attr,o=n.$attr;n.$$element;pe(n,function(e,t){"$"!=t.charAt(0)&&(r[t]&&r[t]!==e&&(e+=("style"===t?";":" ")+r[t]),n.$set(t,e,!0,i[t]))}),pe(r,function(e,t){n.hasOwnProperty(t)||"$"===t.charAt(0)||(n[t]=e,"class"!==t&&"style"!==t&&(o[t]=i[t]))})}function D(e,t){var n=t.priority-e.priority;return 0!=n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function se(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Ce("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,ke(r))}function ue(e,t){switch(e=_(e||"html")){case"svg":case"math":var n=g.document.createElement("div");return n.innerHTML="<"+e+">"+t+"</"+e+">",n.childNodes[0].childNodes;default:return t}}function le(e,t,n){var r,i=t[0],o=t.length,a=i.parentNode;if(e)for(f=0,r=e.length;f<r;f++)if(e[f]==i){e[f++]=n;for(var s=f,u=s+o-1,l=e.length;s<l;s++,u++)u<l?e[s]=e[u]:delete e[s];e.length-=o-1,e.context===i&&(e.context=n);break}a&&a.replaceChild(n,i);for(var c=g.document.createDocumentFragment(),f=0;f<o;f++)c.appendChild(t[f]);for(he.hasData(i)&&(he.data(n,he.data(i)),he(i).off("$destroy")),he.cleanData(c.querySelectorAll("*")),f=1;f<o;f++)delete t[f];t[0]=n,t.length=1}function ce(e,t){return me(function(){return e.apply(null,arguments)},e,t)}function fe(e,t,n,r,i,o){try{e(t,n,r,i,o)}catch(e){Y(e,ke(n))}}function de(c,f,d,e,h){var r,p=[],m={};function g(e,t,n){$e(d.$onChanges)&&t!==n&&(a||(c.$$postDigest(s),a=[]),r||(r={},a.push(i)),r[e]&&(n=r[e].previousValue),r[e]=new mn(n,t))}function i(){d.$onChanges(r),r=void 0}return pe(e,function(e,n){var t,r,i,o,a,s,u=e.attrName,l=e.optional;switch(e.mode){case"@":l||H.call(f,u)||(d[n]=f[u]=void 0),f.$observe(u,function(e){var t;(V(e)||Me(e))&&(t=d[n],g(n,e,t),d[n]=e)}),f.$$observers[u].$$scope=c,V(o=f[u])?d[n]=T(o)(c):Me(o)&&(d[n]=o),m[n]=new mn(hn,d[n]);break;case"=":if(!H.call(f,u)){if(l)break;f[u]=void 0}l&&!f[u]||(r=(t=v(f[u])).literal?xe:function(e,t){return e===t||e!=e&&t!=t},i=t.assign||function(){throw o=d[n]=t(c),Ce("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",f[u],u,h.name)},o=d[n]=t(c),(a=function(e){return r(e,d[n])||(r(e,o)?i(c,e=d[n]):d[n]=e),o=e}).$stateful=!0,a=e.collection?c.$watchCollection(f[u],a):c.$watch(v(f[u],a),null,t.literal),p.push(a));break;case"<":if(!H.call(f,u)){if(l)break;f[u]=void 0}l&&!f[u]||(t=v(f[u]),s=d[n]=t(c),m[n]=new mn(hn,d[n]),a=c.$watch(t,function(e,t){if(t===e){if(t===s)return;t=s}g(n,e,t),d[n]=e},t.literal),p.push(a));break;case"&":(t=f.hasOwnProperty(u)?v(f[u]):q)===q&&l||(d[n]=function(e){return t(c,e)})}}),{initialChanges:m,removeWatches:p.length&&function(){for(var e=0,t=p.length;e<t;++e)p[e]()}}}}]}function mn(e,t){this.previousValue=e,this.currentValue=t}pn.$inject=["$provide","$$sanitizeUriProvider"],mn.prototype.isFirstChange=function(){return this.previousValue===hn};var gn=/^((?:x|data)[\:\-_])/i;function vn(e){return it(e.replace(gn,""))}function yn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;
1s++)if(a==i[s])continue e;n+=(0<n.length?" ":"")+a}return n}function $n(e){var t=(e=he(e)).length;if(!(t<=1))for(;t--;)e[t].nodeType===We&&n.call(e,t,1);return e}var bn=b("$controller"),wn=/^(\S+)(\s+as\s+([\w$]+))?$/;function xn(e,t){if(t&&V(t))return t;if(V(e)){t=wn.exec(e);if(t)return t[3]}}function kn(){var c={},f=!1;this.has=function(e){return c.hasOwnProperty(e)},this.register=function(e,t){He(e,"controller"),ve(e)?me(c,e):c[e]=t},this.allowGlobals=function(){f=!0},this.$get=["$injector","$window",function(s,u){return function(t,n,e,r){var i,o,a;if(e=!0===e,r&&V(r)&&(o=r),V(t)){if(!(r=t.match(wn)))throw bn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);i=r[1],o=o||r[3],Fe(t=c.hasOwnProperty(i)?c[i]:qe(n.$scope,i,!0)||(f?qe(u,i,!0):void 0),i,!0)}return e?(r=(ye(t)?t[t.length-1]:t).prototype,a=Object.create(r||null),o&&l(n,o,a,i||t.name),me(function(){var e=s.invoke(t,a,n,i);return e!==a&&(ve(e)||$e(e))&&(a=e,o)&&l(n,o,a,i||t.name),a},{instance:a,identifier:o})):(a=s.instantiate(t,n,i),o&&l(n,o,a,i||t.name),a)};function l(e,t,n,r){if(!e||!ve(e.$scope))throw b("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function Sn(){this.$get=["$window",function(e){return he(e.document)}]}function Cn(){this.$get=["$log",function(n){return function(e,t){n.error.apply(n,arguments)}}]}function _n(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof he&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]}var En="application/json",Tn={"Content-Type":En+";charset=utf-8"},An=/^\[|^\{(?!\{)/,Mn={"[":/]$/,"{":/}$/},On=/^\)\]\}',?\n/,Nn=b("$http"),Dn=function(e){return function(){throw Nn("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}};function jn(e){return ve(e)?y(e)?e.toISOString():ee(e):e}function Pn(){this.$get=function(){return function(e){var n;return e?(n=[],M(e,function(e,t){null===e||ge(e)||(ye(e)?pe(e,function(e){n.push(o(t)+"="+o(jn(e)))}):n.push(o(t)+"="+o(jn(e))))}),n.join("&")):""}}}function Ln(){this.$get=function(){return function(e){var t;return e?(t=[],function n(e,r,i){if(null===e||ge(e))return;ye(e)?pe(e,function(e,t){n(e,r+"["+(ve(e)?t:"")+"]")}):ve(e)&&!y(e)?M(e,function(e,t){n(e,r+(i?"":"[")+t+(i?"":"]"))}):t.push(o(r)+"="+o(jn(e)))}(e,"",!0),t.join("&")):""}}}function In(e,t){var n,r;return e=V(e)&&(n=e.replace(On,"").trim())&&((t=t("Content-Type"))&&0===t.indexOf(En)||(r=(t=n).match(An))&&Mn[r[0]].test(t))?te(n):e}function Rn(e){var t,n=Se();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return V(e)?pe(e.split("\n"),function(e){t=e.indexOf(":"),r(_(be(e.substr(0,t))),be(e.substr(t+1)))}):ve(e)&&pe(e,function(e,t){r(_(t),be(e))}),n}function Fn(t){var n;return function(e){return n=n||Rn(t),e?void 0===(e=n[_(e)])?null:e:n}}function Hn(t,n,r,e){return $e(e)?e(t,n,r):(pe(e,function(e){t=e(t,n,r)}),t)}function qn(e){return 200<=e&&e<300}function Un(){var y=this.defaults={transformResponse:[In],transformRequest:[function(e){return ve(e)&&"[object File]"!==w.call(e)&&"[object Blob]"!==w.call(e)&&"[object FormData]"!==w.call(e)?ee(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:k(Tn),put:k(Tn),patch:k(Tn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},$=!1,l=(this.useApplyAsync=function(e){return U(e)?($=!!e,this):$},!0),t=(this.useLegacyPromiseExtensions=function(e){return U(e)?(l=!!e,this):l},this.interceptors=[]);this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(d,h,e,p,m,s){var g=e("$http"),u=(y.paramSerializer=V(y.paramSerializer)?s.get(y.paramSerializer):y.paramSerializer,[]);function v(e){if(!ve(e))throw b("$http")("badreq","Http request configuration must be an object. Received: {0}",e);var n,t,r,i;if(V(e.url))return(n=me({method:"get",transformRequest:y.transformRequest,transformResponse:y.transformResponse,paramSerializer:y.paramSerializer},e)).headers=function(e){var t,n,r,i=y.headers,o=me({},e.headers);
1e:for(t in i=me({},i.common,i[_(e.method)])){for(r in n=_(t),o)if(_(r)===n)continue e;o[t]=i[t]}return function(e,n){var r,i={};return pe(e,function(e,t){$e(e)?null!=(r=e(n))&&(i[t]=r):i[t]=e}),i}(o,k(e))}(e),n.method=S(n.method),n.paramSerializer=V(n.paramSerializer)?s.get(n.paramSerializer):n.paramSerializer,t=[],r=[],i=m.when(n),pe(u,function(e){(e.request||e.requestError)&&t.unshift(e.request,e.requestError),(e.response||e.responseError)&&r.push(e.response,e.responseError)}),i=o(i,t),i=o(i=i.then(function(e){var n=e.headers,t=Hn(e.data,Fn(n),void 0,e.transformRequest);ge(t)&&pe(n,function(e,t){"content-type"===_(t)&&delete n[t]});ge(e.withCredentials)&&!ge(y.withCredentials)&&(e.withCredentials=y.withCredentials);return function(i,e){var o,a=m.defer(),t=a.promise,n=i.headers,s=function(e,t){0<t.length&&(e+=(-1==e.indexOf("?")?"?":"&")+t);return e}(i.url,i.paramSerializer(i.params));v.pendingRequests.push(i),t.then(f,f),!i.cache&&!y.cache||!1===i.cache||"GET"!==i.method&&"JSONP"!==i.method||(o=ve(i.cache)?i.cache:ve(y.cache)?y.cache:g);o&&(U(r=o.get(s))?W(r)?r.then(c,c):ye(r)?l(r[1],r[0],k(r[2]),r[3]):l(r,200,{},"OK"):o.put(s,t));{var r;ge(r)&&((r=ni(i.url)?h()[i.xsrfCookieName||y.xsrfCookieName]:void 0)&&(n[i.xsrfHeaderName||y.xsrfHeaderName]=r),d(i.method,s,e,function(e,t,n,r){o&&(qn(e)?o.put(s,[e,t,Rn(n),r]):o.remove(s));function i(){l(t,e,n,r)}$?p.$applyAsync(i):(i(),p.$$phase||p.$apply())},n,i.timeout,i.withCredentials,i.responseType,u(i.eventHandlers),u(i.uploadEventHandlers)))}return t;function u(e){var t;if(e)return t={},pe(e,function(n,e){t[e]=function(e){function t(){n(e)}$?p.$applyAsync(t):p.$$phase?t():p.$apply(t)}}),t}function l(e,t,n,r){(qn(t=-1<=t?t:0)?a.resolve:a.reject)({data:e,status:t,headers:Fn(n),config:i,statusText:r})}function c(e){l(e.data,e.status,k(e.headers()),e.statusText)}function f(){var e=v.pendingRequests.indexOf(i);-1!==e&&v.pendingRequests.splice(e,1)}}(e,t).then(a,a)}),r),l?(i.success=function(t){return Fe(t,"fn"),i.then(function(e){t(e.data,e.status,e.headers,n)}),i},i.error=function(t){return Fe(t,"fn"),i.then(null,function(e){t(e.data,e.status,e.headers,n)}),i}):(i.success=Dn("success"),i.error=Dn("error")),i;throw b("$http")("badreq","Http request configuration url must be a string. Received: {0}",e.url);function o(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function a(e){var t=me({},e);return t.data=Hn(e.data,e.headers,e.status,n.transformResponse),qn(e.status)?t:m.reject(t)}}return pe(t,function(e){u.unshift(V(e)?s.get(e):s.invoke(e))}),v.pendingRequests=[],function(){pe(arguments,function(n){v[n]=function(e,t){return v(me({},t||{},{method:n,url:e}))}})}("get","delete","head","jsonp"),function(){pe(arguments,function(r){v[r]=function(e,t,n){return v(me({},n||{},{method:r,url:e,data:t}))}})}("post","put","patch"),v.defaults=y,v}]}function Vn(){this.$get=function(){return function(){return new g.XMLHttpRequest}}}function Yn(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return x=r,k=(w=e).defer,S=t,C=n[0],function(e,r,t,i,n,o,a,s,u,l){if(w.$$incOutstandingRequestCount(),r=r||w.url(),"jsonp"===_(e))var c=S.createCallback(r),f=(p=c,m=function(e,t){var n=200===e&&S.getResponse(c);b(i,e,n,"",t),S.removeCallback(c)},h=(h=r).replace("JSON_CALLBACK",p),g=C.createElement("script"),v=null,g.type="text/javascript",g.src=h,g.async=!0,Je(g,"load",v=function(e){Qe(g,"load",v),Qe(g,"error",v),C.body.removeChild(g),g=null;var t=-1,n="unknown";e&&(n=(e="load"!==e.type||S.wasCalled(p)?e:{type:"error"}).type,t="error"===e.type?404:200),m&&m(t,n)}),Je(g,"error",v),C.body.appendChild(g),v);else{var d=x(e,r),h=(d.open(e,r,!0),pe(n,function(e,t){U(e)&&d.setRequestHeader(t,e)}),d.onload=function(){var e=d.statusText||"",t="response"in d?d.response:d.responseText,n=1223===d.status?204:d.status;0===n&&(n=t?200:"file"==ti(r).protocol?404:0),b(i,n,t,d.getAllResponseHeaders(),e)},function(){b(i,-1,null,null,"")});if(d.onerror=h,d.onabort=h,pe(u,function(e,t){d.addEventListener(t,e)}),pe(l,function(e,t){d.upload.addEventListener(t,e)}),a&&(d.withCredentials=!0),s)try{d.responseType=s}catch(e){if("json"!==s)throw e}d.send(ge(t)?null:t)}var h,p,m,g,v,y;function $(){f&&f(),d&&d.abort()}function b(e,t,n,r,i){U(y)&&k.cancel(y),f=d=null,e(t,n,r,i),w.$$completeOutstandingRequest(q)}0<o?y=k($,o):W(o)&&o.then($)};var w,x,k,S,C}]}var Wn=C.$interpolateMinErr=b("$interpolate");function Bn(){var k="{{",S="}}";this.startSymbol=function(e){return e?(k=e,this):k},this.endSymbol=function(e){return e?(S=e,this):S},this.$get=["$parse","$exceptionHandler","$sce",function(g,v,y){var $=k.length,b=S.length,t=new RegExp(k.replace(/./g,e),"g"),n=new RegExp(S.replace(/./g,e),"g");function e(e){return"\\\\\\"+e}function w(e){return e.replace(t,k).replace(n,S)}function x(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function r(i,e,t,r){var n;if(!i.length||-1===i.indexOf(k))return e||((n=E(w(i))).exp=i,n.expressions=[],n.$$watchDelegate=x),n;r=!!r;for(var o,a,s,u,l=0,c=[],f=[],d=i.length,h=[],p=[];l<d;){if(-1==(a=i.indexOf(k,l))||-1==(o=i.indexOf(S,a+$))){l!==d&&h.push(w(i.substring(l)));break}l!==a&&h.push(w(i.substring(l,a))),a=i.substring(a+$,o),c.push(a),f.push(g(a,m)),l=o+b,p.push(h.length),h.push("")}return t&&1<h.length&&Wn.throwNoconcat(i),!e||c.length?(s=function(e){for(var t=0,n=c.length;t<n;t++){if(r&&ge(e[t]))return;h[p[t]]=e[t]}return h.join("")},u=function(e){return t?y.getTrusted(t,e):y.valueOf(e)},me(function(e){var t=0,n=c.length,r=new Array(n);try{for(;t<n;t++)r[t]=f[t](e);return s(r)}catch(e){v(Wn.interr(i,e))}}
1,{exp:i,expressions:c,$$watchDelegate:function(r,i){var o;return r.$watchGroup(f,function(e,t){var n=s(e);$e(i)&&i.call(this,n,e!==t?o:n,r),o=n})}})):void 0;function m(e){try{if(e=u(e),r&&!U(e))return e;var t=e;if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=ee(t)}return t}catch(e){v(Wn.interr(i,e))}}}return r.startSymbol=function(){return k},r.endSymbol=function(){return S},r}]}function zn(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(h,p,m,g,v){var y={};function e(e,t,n,r){var i=4<arguments.length,o=i?Ne(arguments,4):[],a=p.setInterval,s=p.clearInterval,u=0,l=U(r)&&!r,c=(l?g:m).defer(),f=c.promise;return n=U(n)?n:0,f.$$intervalId=a(function(){l?v.defer(d):h.$evalAsync(d),c.notify(u++),0<n&&n<=u&&(c.resolve(u),s(f.$$intervalId),delete y[f.$$intervalId]),l||h.$apply()},t),y[f.$$intervalId]=c,f;function d(){i?e.apply(null,o):e(u)}}return e.cancel=function(e){return!!(e&&e.$$intervalId in y)&&(y[e.$$intervalId].reject("canceled"),p.clearInterval(e.$$intervalId),delete y[e.$$intervalId],!0)},e}]}Wn.throwNoconcat=function(e){throw Wn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},Wn.interr=function(e,t){return Wn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};function Gn(){this.$get=["$window",function(e){var i=e.angular.callbacks,o={};function a(e){function t(e){t.data=e,t.called=!0}return t.id=e,t}return{createCallback:function(e){var t="_"+(i.$$counter++).toString(36),n="angular.callbacks."+t,r=a(t);return o[n]=i[t]=r,n},wasCalled:function(e){return o[e].called},getResponse:function(e){return o[e].data},removeCallback:function(e){delete i[o[e].id],delete o[e]}}}]}var Zn=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Jn={http:80,https:443,ftp:21},Xn=b("$location");function Kn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ue(t[n]);return t.join("/")}function Qn(e,t){e=ti(e);t.$$protocol=e.protocol,t.$$host=e.hostname,t.$$port=v(e.port)||Jn[e.protocol]||null}function er(e,t){var n="/"!==e.charAt(0),e=ti(e=n?"/"+e:e);t.$$path=decodeURIComponent(n&&"/"===e.pathname.charAt(0)?e.pathname.substring(1):e.pathname),t.$$search=ae(e.search),t.$$hash=decodeURIComponent(e.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function tr(e,t){return 0===e.lastIndexOf(t,0)}function nr(e,t){if(tr(t,e))return t.substr(e.length)}function rr(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function ir(e){return e.replace(/(#.+)|#$/,"$1")}function or(r,i,o){this.$$html5=!0,o=o||"",Qn(r,this),this.$$parse=function(e){var t=nr(i,e);if(!V(t))throw Xn("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,i);er(t,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=se(this.$$search),t=this.$$hash?"#"+ue(this.$$hash):"";this.$$url=Kn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=i+this.$$url.substr(1)},this.$$parseLinkUrl=function(e,t){var n;return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(U(t=nr(r,e))?n=U(t=nr(o,n=t))?i+(nr("/",t)||t):r+n:U(t=nr(i,e))?n=i+t:i==e+"/"&&(n=i),n&&this.$$parse(n),!!n)}}function ar(r,i,o){Qn(r,this),this.$$parse=function(e){var t,n=nr(r,e)||nr(i,e);ge(n)||"#"!==n.charAt(0)?this.$$html5?t=n:(t="",ge(n)&&(r=e,this.replace())):ge(t=nr(o,n))&&(t=n),er(t,this),this.$$path=function(e,t,n){var r=/^\/[A-Z]:(\/.*)/;tr(t,n)&&(t=t.replace(n,""));if(r.exec(t))return e;return(n=r.exec(e))?n[1]:e}(this.$$path,t,r),this.$$compose()},this.$$compose=function(){var e=se(this.$$search),t=this.$$hash?"#"+ue(this.$$hash):"";this.$$url=Kn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+(this.$$url?o+this.$$url:"")},this.$$parseLinkUrl=function(e,t){return rr(r)==rr(e)&&(this.$$parse(e),!0)}}function sr(r,i,o){this.$$html5=!0,ar.apply(this,arguments),this.$$parseLinkUrl=function(e,t){var n;return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(r==rr(e)?n=e:(t=nr(i,e))?n=r+o+t:i===e+"/"&&(n=i),n&&this.$$parse(n),!!n)},this.$$compose=function(){var e=se(this.$$search),t=this.$$hash?"#"+ue(this.$$hash):"";this.$$url=Kn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+o+this.$$url}}var ur={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:lr("$$absUrl"),url:function(e){var t;return ge(e)?this.$$url:(!(t=Zn.exec(e))[1]&&""!==e||this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this)},protocol:lr("$$protocol"),host:lr("$$host"),port:lr("$$port"),path:cr("$$path",function(e){return"/"==(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(n,e){switch(arguments.length){case 0:return this.$$search;case 1:if(V(n)||x(n))n=n.toString(),this.$$search=ae(n);else{if(!ve(n))throw Xn("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");pe(n=Z(n,{}),function(e,t){null==e&&delete n[t]}),this.$$search=n}break;default:ge(e)||null===e?delete this.$$search[n]:this.$$search[n]=e}return this.$$compose(),this},hash:cr("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};function lr(e){return function(){return this[e]}}function cr(t,n){return function(e){return ge(e)?this[t]:(this[t]=n(e),this.$$compose(),this)}}function fr(){var m="",g={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return U(e)?(m=e,this):m},this.html5Mode=function(e){return Me(e)?(g.enabled=e,this):ve(e)?(Me(e.enabled)&&(g.enabled=e.enabled),Me(e.requireBase)&&(g.requireBase=e.requireBase),Me(e.rewriteLinks)&&(g.rewriteLinks=e.rewriteLinks),this):g},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(a,s,t,i,o){var e,n,r=s.baseHref(),u=s.url();if(g.enabled){if(!r&&g.requireBase)throw Xn("nobase","$location in HTML5 mode requires a <base> tag to be present!");
1n=u.substring(0,u.indexOf("/",u.indexOf("//")+2))+(r||"/"),e=t.history?or:sr}else n=rr(u),e=ar;var l,c=(r=n).substr(0,rr(r).lastIndexOf("/")+1),f=((l=new e(n,c,"#"+m)).$$parseLinkUrl(u,u),l.$$state=s.state(),/^\s*(javascript|mailto):/i);function d(e,t,n){var r=l.url(),i=l.$$state;try{s.url(e,t,n),l.$$state=s.state()}catch(e){throw l.url(r),l.$$state=i,e}}i.on("click",function(e){if(g.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var t=he(e.target);"a"!==we(t[0]);)if(t[0]===i[0]||!(t=t.parent())[0])return;var n=t.prop("href"),r=t.attr("href")||t.attr("xlink:href");ve(n)&&"[object SVGAnimatedString]"===n.toString()&&(n=ti(n.animVal).href),f.test(n)||!n||t.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(n,r)&&(e.preventDefault(),l.absUrl()!=s.url())&&(a.$apply(),o.angular["ff-684208-preventDefault"]=!0)}}),ir(l.absUrl())!=ir(u)&&s.url(l.absUrl(),!0);var h=!0;return s.onUrlChange(function(r,i){ge(nr(c,r))?o.location.href=r:(a.$evalAsync(function(){var e,t=l.absUrl(),n=l.$$state;r=ir(r),l.$$parse(r),l.$$state=i,e=a.$broadcast("$locationChangeStart",r,t,i,n).defaultPrevented,l.absUrl()===r&&(e?(l.$$parse(t),l.$$state=n,d(t,!1,n)):(h=!1,p(t,n)))}),a.$$phase||a.$digest())}),a.$watch(function(){var n=ir(s.url()),e=ir(l.absUrl()),r=s.state(),i=l.$$replace,o=n!==e||l.$$html5&&t.history&&r!==l.$$state;(h||o)&&(h=!1,a.$evalAsync(function(){var e=l.absUrl(),t=a.$broadcast("$locationChangeStart",e,n,l.$$state,r).defaultPrevented;l.absUrl()===e&&(t?(l.$$parse(n),l.$$state=r):(o&&d(e,i,r===l.$$state?null:l.$$state),p(n,r)))})),l.$$replace=!1}),l;function p(e,t){a.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}}]}function dr(){var r=!0,i=this;this.debugEnabled=function(e){return U(e)?(r=e,this):r},this.$get=["$window",function(t){return{log:n("log"),info:n("info"),warn:n("warn"),error:n("error"),debug:(e=n("debug"),function(){r&&e.apply(i,arguments)})};var e;function n(e){var n=t.console||{},r=n[e]||n.log||q,e=!1;try{e=!!r.apply}catch(e){}return e?function(){var t=[];return pe(arguments,function(e){t.push(((e=e)instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e))}),r.apply(n,t)}:function(e,t){r(e,null==t?"":t)}}}]}pe([sr,ar,or],function(t){t.prototype=Object.create(ur),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t===or&&this.$$html5)return this.$$state=ge(e)?null:e,this;throw Xn("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API")}});var d=b("$parse");function hr(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw d("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function pr(e){return e+""}function mr(e,t){if(e){if(e.constructor===e)throw d("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw d("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw d("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw d("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}var gr=Function.prototype.call,vr=Function.prototype.apply,yr=Function.prototype.bind;function $r(e,t){if(e){if(e.constructor===e)throw d("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===gr||e===vr||e===yr)throw d("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function br(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw d("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}var wr=Se(),xr=(pe("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){wr[e]=!0}),{n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'}),kr=function(e){this.options=e},h=(kr.prototype={constructor:kr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t,n,r,i,o,a=this.text.charAt(this.index);'"'===a||"'"===a?this.readString(a):this.isNumber(a)||"."===a&&this.isNumber(this.peek())?this.readNumber():this.isIdentifierStart(this.peekMultichar())?this.readIdent():this.is(a,"(){}[].,;:?")?(this.tokens.push({index:this.index,text:a}),this.index++):this.isWhitespace(a)?this.index++:(n=(t=a+this.peek())+this.peek(2),o=wr[a],r=wr[t],i=wr[n],o||r||i?(this.tokens.push({index:this.index,text:o=i?n:r?t:a,operator:!0}),this.index+=o.length):this.throwError("Unexpected next character ",this.index,this.index+1))}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){e=e||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||"Â "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.co
1dePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e,t,n=this.text.charAt(this.index),r=this.peek();return r&&(e=n.charCodeAt(0),t=r.charCodeAt(0),55296<=e)&&e<=56319&&56320<=t&&t<=57343?n+r:n},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;t=U(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw d("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=_(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){for(var t=this.index,n=(this.index++,""),r=e,i=!1;this.index<this.text.length;){var o,a=this.text.charAt(this.index);if(r+=a,i)"u"===a?((o=this.text.substring(this.index+1,this.index+5)).match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+o+"]"),this.index+=4,n+=String.fromCharCode(parseInt(o,16))):n+=xr[a]||a,i=!1;else if("\\"===a)i=!0;else{if(a===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=a}this.index++}this.throwError("Unterminated quote",t)}},function(e,t){this.lexer=e,this.options=t});function Sr(e,t){return void 0!==e?e:t}function Cr(e,t){return void 0===e?t:void 0===t?e:e+t}function _r(e,t){return!e(t).$stateful}function u(e,t){var n,r;switch(e.type){case h.Program:n=!0,pe(e.body,function(e){u(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;
1case h.Literal:e.constant=!0,e.toWatch=[];break;case h.UnaryExpression:u(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case h.BinaryExpression:u(e.left,t),u(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case h.LogicalExpression:u(e.left,t),u(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case h.ConditionalExpression:u(e.test,t),u(e.alternate,t),u(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case h.Identifier:e.constant=!1,e.toWatch=[e];break;case h.MemberExpression:u(e.object,t),e.computed&&u(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case h.CallExpression:n=!!e.filter&&_r(t,e.callee.name),r=[],pe(e.arguments,function(e){u(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&_r(t,e.callee.name)?r:[e];break;case h.AssignmentExpression:u(e.left,t),u(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case h.ArrayExpression:n=!0,r=[],pe(e.elements,function(e){u(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case h.ObjectExpression:n=!0,r=[],pe(e.properties,function(e){u(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case h.ThisExpression:case h.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Er(e){var t;return 1==e.length&&(1!==(t=(e=e[0].expression).toWatch).length||t[0]!==e)?t:void 0}function Tr(e){return e.type===h.Identifier||e.type===h.MemberExpression}function Ar(e){if(1===e.body.length&&Tr(e.body[0].expression))return{type:h.AssignmentExpression,left:e.body[0].expression,right:{type:h.NGValueParameter},operator:"="}}function Mr(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===h.Literal||e.body[0].expression.type===h.ArrayExpression||e.body[0].expression.type===h.ObjectExpression)}function Or(e){return e.constant}function Nr(e,t){this.astBuilder=e,this.$filter=t}function Dr(e,t){this.astBuilder=e,this.$filter=t}h.Program="Program",h.ExpressionStatement="ExpressionStatement",h.AssignmentExpression="AssignmentExpression",h.ConditionalExpression="ConditionalExpression",h.LogicalExpression="LogicalExpression",h.BinaryExpression="BinaryExpression",h.UnaryExpression="UnaryExpression",h.CallExpression="CallExpression",h.MemberExpression="MemberExpression",h.Identifier="Identifier",h.Literal="Literal",h.ArrayExpression="ArrayExpression",h.Property="Property",h.ObjectExpression="ObjectExpression",h.ThisExpression="ThisExpression",h.LocalsExpression="LocalsExpression",h.NGValueParameter="NGValueParameter",h.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:h.Program,body:e}},expressionStatement:function(){return{type:h.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return e=this.expect("=")?{type:h.AssignmentExpression,left:e,right:this.assignment(),operator:"="}:e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:h.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:h.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:h.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:h.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:h.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:h.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:h.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:h.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=Z(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:h.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:h.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:h.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:h.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],e={type:h.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return e},parseArguments:function(){var e=[];
1if(")"!==this.peekToken().text)for(;e.push(this.filterChain()),this.expect(","););return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:h.Identifier,name:e.text}},constant:function(){return{type:h.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)for(;!this.peek("]")&&(e.push(this.expression()),this.expect(",")););return this.consume("]"),{type:h.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)for(;!this.peek("}")&&(e={type:h.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e),this.expect(",")););return this.consume("}"),{type:h.ObjectExpression,properties:t}},throwError:function(e,t){throw d("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw d("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw d("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var e=this.tokens[e],o=e.text;if(o===t||o===n||o===r||o===i||!t&&!n&&!r&&!i)return e}return!1},expect:function(e,t,n,r){e=this.peek(e,t,n,r);return!!e&&(this.tokens.shift(),e)},selfReferential:{this:{type:h.ThisExpression},$locals:{type:h.LocalsExpression}}},Nr.prototype={compile:function(e,t){var i=this,n=this.astBuilder.ast(e),t=(this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},u(n,i.$filter),""),r=(this.stage="assign",(r=Ar(n))&&(this.state.computing="assign",o=this.nextId(),this.recurse(r,o),this.return_(o),t="fn.assign="+this.generateFunction("assign","s,v,l")),Er(n.body)),o=(i.stage="inputs",pe(r,function(e,t){var n="fn"+t,r=(i.state[n]={vars:[],body:[],own:{}},i.state.computing=n,i.nextId());i.recurse(e,r),i.return_(r),i.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(n),'"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+t+this.watchFns()+"return fn;"),r=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",o)(this.$filter,hr,mr,$r,pr,br,Sr,Cr,e);return this.state=this.stage=void 0,r.literal=Mr(n),r.constant=Or(n),r},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return pe(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var n=[],r=this;return pe(this.state.filters,function(e,t){n.push(e+"=$filter("+r.escape(t)+")")}),n.length?"var "+n.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(n,t,e,r,i,o){var a,s,u,l,c,f=this;if(r=r||q,!o&&U(n.watchId))t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",n.watchId)),this.lazyRecurse(n,t,e,r,i,!0));else switch(n.type){case h.Program:pe(n.body,function(e,t){f.recurse(e.expression,void 0,void 0,function(e){s=e}),t!==n.body.length-1?f.current().body.push(s,";"):f.return_(s)});break;
1case h.Literal:l=this.escape(n.value),this.assign(t,l),r(l);break;case h.UnaryExpression:this.recurse(n.argument,void 0,void 0,function(e){s=e}),l=n.operator+"("+this.ifDefined(s,0)+")",this.assign(t,l),r(l);break;case h.BinaryExpression:this.recurse(n.left,void 0,void 0,function(e){a=e}),this.recurse(n.right,void 0,void 0,function(e){s=e}),l="+"===n.operator?this.plus(a,s):"-"===n.operator?this.ifDefined(a,0)+n.operator+this.ifDefined(s,0):"("+a+")"+n.operator+"("+s+")",this.assign(t,l),r(l);break;case h.LogicalExpression:t=t||this.nextId(),f.recurse(n.left,t),f.if_("&&"===n.operator?t:f.not(t),f.lazyRecurse(n.right,t)),r(t);break;case h.ConditionalExpression:t=t||this.nextId(),f.recurse(n.test,t),f.if_(t,f.lazyRecurse(n.alternate,t),f.lazyRecurse(n.consequent,t)),r(t);break;case h.Identifier:t=t||this.nextId(),e&&(e.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",n.name)+"?l:s"),e.computed=!1,e.name=n.name),hr(n.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",n.name)),function(){f.if_("inputs"===f.stage||"s",function(){i&&1!==i&&f.if_(f.not(f.nonComputedMember("s",n.name)),f.lazyAssign(f.nonComputedMember("s",n.name),"{}")),f.assign(t,f.nonComputedMember("s",n.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",n.name))),(f.state.expensiveChecks||Pr(n.name))&&f.addEnsureSafeObject(t),r(t);break;case h.MemberExpression:a=e&&(e.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(n.object,a,void 0,function(){f.if_(f.notNull(a),function(){i&&1!==i&&f.addEnsureSafeAssignContext(a),n.computed?(s=f.nextId(),f.recurse(n.property,s),f.getStringValue(s),f.addEnsureSafeMemberName(s),i&&1!==i&&f.if_(f.not(f.computedMember(a,s)),f.lazyAssign(f.computedMember(a,s),"{}")),l=f.ensureSafeObject(f.computedMember(a,s)),f.assign(t,l),e&&(e.computed=!0,e.name=s)):(hr(n.property.name),i&&1!==i&&f.if_(f.not(f.nonComputedMember(a,n.property.name)),f.lazyAssign(f.nonComputedMember(a,n.property.name),"{}")),l=f.nonComputedMember(a,n.property.name),(f.state.expensiveChecks||Pr(n.property.name))&&(l=f.ensureSafeObject(l)),f.assign(t,l),e&&(e.computed=!1,e.name=n.property.name))},function(){f.assign(t,"undefined")}),r(t)},!!i);break;case h.CallExpression:t=t||this.nextId(),n.filter?(s=f.filter(n.callee.name),u=[],pe(n.arguments,function(e){var t=f.nextId();f.recurse(e,t),u.push(t)}),l=s+"("+u.join(",")+")",f.assign(t,l),r(t)):(s=f.nextId(),a={},u=[],f.recurse(n.callee,s,a,function(){f.if_(f.notNull(s),function(){f.addEnsureSafeFunction(s),pe(n.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){u.push(f.ensureSafeObject(e))})}),l=a.name?(f.state.expensiveChecks||f.addEnsureSafeObject(a.context),f.member(a.context,a.name,a.computed)+"("+u.join(",")+")"):s+"("+u.join(",")+")",l=f.ensureSafeObject(l),f.assign(t,l)},function(){f.assign(t,"undefined")}),r(t)}));break;case h.AssignmentExpression:if(s=this.nextId(),a={},!Tr(n.left))throw d("lval","Trying to assign a value to a non l-value");this.recurse(n.left,void 0,a,function(){f.if_(f.notNull(a.context),function(){f.recurse(n.right,s),f.addEnsureSafeObject(f.member(a.context,a.name,a.computed)),f.addEnsureSafeAssignContext(a.context),l=f.member(a.context,a.name,a.computed)+n.operator+s,f.assign(t,l),r(t||l)})},1);break;case h.ArrayExpression:u=[],pe(n.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){u.push(e)})}),l="["+u.join(",")+"]",this.assign(t,l),r(l);break;case h.ObjectExpression:c=!(u=[]),pe(n.properties,function(e){e.computed&&(c=!0)}),c?(t=t||this.nextId(),this.assign(t,"{}"),pe(n.properties,function(e){e.computed?(a=f.nextId(),f.recurse(e.key,a)):a=e.key.type===h.Identifier?e.key.name:""+e.key.value,s=f.nextId(),f.recurse(e.value,s),f.assign(f.member(t,a,e.computed),s)})):(pe(n.properties,function(t){f.recurse(t.value,n.constant?void 0:f.nextId(),void 0,function(e){u.push(f.escape(t.key.type===h.Identifier?t.key.name:""+t.key.value)+":"+e)})}),l="{"+u.join(",")+"}",this.assign(t,l)),r(t||l);break;case h.ThisExpression:this.assign(t,"s"),r("s");break;case h.LocalsExpression:this.assign(t,"l"),r("l");break;case h.NGValueParameter:this.assign(t,"v"),r("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){var r;!0===e?t():((r=this.current().body).push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}")))},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/[$_a-zA-Z][$_a-zA-Z0-9]*/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(V(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw d("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},Dr.prototype={compile:function(e,t){var r,i,o=this,n=this.astBuilder.ast(e),t=(this.expression=e,this.expensiveChecks=t,u(n,o.$filter),(e=Ar(n))&&(r=this.recurse(e)),Er(n.body)),a=(t&&(i=[],pe(t,function(e,t){var n=o.recurse(e);e.input=n,i.push(n),e.watchId=t})),[]),e=(pe(n.body,function(e){a.push(o.recurse(e.expression))}),0===n.body.length?q:1===n.body.length?a[0]:function(t,n){var r;return pe(a,function(e){r=e(t,n)}),r});return r&&(e.assign=function(e,t,n){return r(e,n,t)}
1),i&&(e.inputs=i),e.literal=Mr(n),e.constant=Or(n),e},recurse:function(e,u,t){var o,l,c,f=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case h.Literal:return this.value(e.value,u);case h.UnaryExpression:return l=this.recurse(e.argument),this["unary"+e.operator](l,u);case h.BinaryExpression:case h.LogicalExpression:return o=this.recurse(e.left),l=this.recurse(e.right),this["binary"+e.operator](o,l,u);case h.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),u);case h.Identifier:return hr(e.name,f.expression),f.identifier(e.name,f.expensiveChecks||Pr(e.name),u,t,f.expression);case h.MemberExpression:return o=this.recurse(e.object,!1,!!t),e.computed||(hr(e.property.name,f.expression),l=e.property.name),e.computed&&(l=this.recurse(e.property)),e.computed?this.computedMember(o,l,u,t,f.expression):this.nonComputedMember(o,l,f.expensiveChecks,u,t,f.expression);case h.CallExpression:return c=[],pe(e.arguments,function(e){c.push(f.recurse(e))}),e.filter&&(l=this.$filter(e.callee.name)),e.filter||(l=this.recurse(e.callee,!0)),e.filter?function(e,t,n,r){for(var i=[],o=0;o<c.length;++o)i.push(c[o](e,t,n,r));var a=l.apply(void 0,i,r);return u?{context:void 0,name:void 0,value:a}:a}:function(e,t,n,r){var i,o=l(e,t,n,r);if(null!=o.value){mr(o.context,f.expression),$r(o.value,f.expression);for(var a=[],s=0;s<c.length;++s)a.push(mr(c[s](e,t,n,r),f.expression));i=mr(o.value.apply(o.context,a),f.expression)}return u?{value:i}:i};case h.AssignmentExpression:return o=this.recurse(e.left,!0,1),l=this.recurse(e.right),function(e,t,n,r){var i=o(e,t,n,r),e=l(e,t,n,r);return mr(i.value,f.expression),br(i.context),i.context[i.name]=e,u?{value:e}:e};case h.ArrayExpression:return c=[],pe(e.elements,function(e){c.push(f.recurse(e))}),function(e,t,n,r){for(var i=[],o=0;o<c.length;++o)i.push(c[o](e,t,n,r));return u?{value:i}:i};case h.ObjectExpression:return c=[],pe(e.properties,function(e){e.computed?c.push({key:f.recurse(e.key),computed:!0,value:f.recurse(e.value)}):c.push({key:e.key.type===h.Identifier?e.key.name:""+e.key.value,computed:!1,value:f.recurse(e.value)})}),function(e,t,n,r){for(var i={},o=0;o<c.length;++o)c[o].computed?i[c[o].key(e,t,n,r)]=c[o].value(e,t,n,r):i[c[o].key]=c[o].value(e,t,n,r);return u?{value:i}:i};case h.ThisExpression:return function(e){return u?{value:e}:e};case h.LocalsExpression:return function(e,t){return u?{value:t}:t};case h.NGValueParameter:return function(e,t,n){return u?{value:n}:n}}},"unary+":function(i,o){return function(e,t,n,r){e=U(e=i(e,t,n,r))?+e:0;return o?{value:e}:e}},"unary-":function(i,o){return function(e,t,n,r){e=U(e=i(e,t,n,r))?-e:0;return o?{value:e}:e}},"unary!":function(i,o){return function(e,t,n,r){e=!i(e,t,n,r);return o?{value:e}:e}},"binary+":function(i,o,a){return function(e,t,n,r){e=Cr(i(e,t,n,r),o(e,t,n,r));return a?{value:e}:e}},"binary-":function(o,a,s){return function(e,t,n,r){var i=o(e,t,n,r),e=a(e,t,n,r),t=(U(i)?i:0)-(U(e)?e:0);return s?{value:t}:t}},"binary*":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)*o(e,t,n,r);return a?{value:e}:e}},"binary/":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)/o(e,t,n,r);return a?{value:e}:e}},"binary%":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)%o(e,t,n,r);return a?{value:e}:e}},"binary===":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)===o(e,t,n,r);return a?{value:e}:e}},"binary!==":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)!==o(e,t,n,r);return a?{value:e}:e}},"binary==":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)==o(e,t,n,r);return a?{value:e}:e}},"binary!=":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)!=o(e,t,n,r);return a?{value:e}:e}},"binary<":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)<o(e,t,n,r);return a?{value:e}:e}},"binary>":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)>o(e,t,n,r);return a?{value:e}:e}},"binary<=":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)<=o(e,t,n,r);return a?{value:e}:e}},"binary>=":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)>=o(e,t,n,r);return a?{value:e}:e}},"binary&&":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)&&o(e,t,n,r);return a?{value:e}:e}},"binary||":function(i,o,a){return function(e,t,n,r){e=i(e,t,n,r)||o(e,t,n,r);return a?{value:e}:e}},"ternary?:":function(i,o,a,s){return function(e,t,n,r){e=(i(e,t,n,r)?o:a)(e,t,n,r);return s?{value:e}:e}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(i,o,a,s,u){return function(e,t,n,r){t=t&&i in t?t:e,s&&1!==s&&t&&!t[i]&&(t[i]={}),e=t?t[i]:void 0;return o&&mr(e,u),a?{context:t,name:i,value:e}:e}},computedMember:function(s,u,l,c,f){return function(e,t,n,r){var i,o,a=s(e,t,n,r);return null!=a&&(i=u(e,t,n,r),hr(i+="",f),c&&1!==c&&(br(a),a)&&!a[i]&&(a[i]={}),mr(o=a[i],f)),l?{context:a,name:i,value:o}:o}},nonComputedMember:function(i,o,a,s,u,l){return function(e,t,n,r){e=i(e,t,n,r),u&&1!==u&&(br(e),e)&&!e[o]&&
1(e[o]={}),t=null!=e?e[o]:void 0;return(a||Pr(o))&&mr(t,l),s?{context:e,name:o,value:t}:t}},inputs:function(i,o){return function(e,t,n,r){return r?r[o]:i(e,t,n)}}};var jr=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new h(e,n),this.astCompiler=new(n.csp?Dr:Nr)(this.ast,t)};function Pr(e){return"constructor"==e}jr.prototype={constructor:jr,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var Lr=Object.prototype.valueOf;function Ir(e){return $e(e.valueOf)?e.valueOf():Lr.call(e)}function Rr(){var n,r,$=Se(),b=Se(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(e,t){return n=e,r=t,this},this.$get=["$filter",function(l){var e=J().noUnsafeEval,c={csp:e,expensiveChecks:!1,literals:Z(i),isIdentifierStart:$e(n)&&n,isIdentifierContinue:$e(r)&&r},f={csp:e,expensiveChecks:!0,literals:Z(i),isIdentifierStart:$e(n)&&n,isIdentifierContinue:$e(r)&&r},d=!1;return t.$$runningExpensiveChecks=function(){return d},t;function t(e,t,n){var r;switch(n=n||d,typeof e){case"string":e=e.trim();var i,o,a,s,u=n?b:$;return(s=u[i=e])||(":"===e.charAt(0)&&":"===e.charAt(1)&&(r=!0,e=e.substring(2)),a=new kr(o=n?f:c),(s=new jr(a,l,o).parse(e)).constant?s.$$watchDelegate=v:r?s.$$watchDelegate=s.literal?g:m:s.inputs&&(s.$$watchDelegate=p),n&&(s=function e(o){if(!o)return o;n.$$watchDelegate=o.$$watchDelegate;n.assign=e(o.assign);n.constant=o.constant;n.literal=o.literal;for(var t=0;o.inputs&&t<o.inputs.length;++t)o.inputs[t]=e(o.inputs[t]);n.inputs=o.inputs;return n;function n(e,t,n,r){var i=d;d=!0;try{return o(e,t,n,r)}finally{d=i}}}(s)),u[i]=s),y(s,t);case"function":return y(e,t);default:return y(q,t)}}function h(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=Ir(e)))&&(e===t||e!=e&&t!=t)}function p(e,t,n,o,r){var a,i,s=o.inputs;if(1===s.length)return i=h,s=s[0],e.$watch(function(e){var t=s(e);return h(t,i)||(a=o(e,void 0,void 0,[t]),i=t&&Ir(t)),a},t,n,r);for(var u=[],l=[],c=0,f=s.length;c<f;c++)u[c]=h,l[c]=null;return e.$watch(function(e){for(var t=!1,n=0,r=s.length;n<r;n++){var i=s[n](e);(t=t||!h(i,u[n]))&&(u[n]=(l[n]=i)&&Ir(i))}return a=t?o(e,void 0,void 0,l):a},t,n,r)}function m(e,r,t,n){var i,o;return i=e.$watch(function(e){return n(e)},function(e,t,n){o=e,$e(r)&&r.apply(this,arguments),U(e)&&n.$$postDigest(function(){U(o)&&i()})},t)}function g(e,r,t,n){var i,o;return i=e.$watch(function(e){return n(e)},function(e,t,n){o=e,$e(r)&&r.call(this,e,t,n),a(e)&&n.$$postDigest(function(){a(o)&&i()})},t);function a(e){var t=!0;return pe(e,function(e){U(e)||(t=!1)}),t}}function v(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function y(i,o){var a,e;return o?(e=i.$$watchDelegate,a=!1,e=e!==g&&e!==m?function(e,t,n,r){n=a&&r?r[0]:i(e,t,n,r);return o(n,e,t)}:function(e,t,n,r){n=i(e,t,n,r),r=o(n,e,t);return U(n)?r:n},i.$$watchDelegate&&i.$$watchDelegate!==p?e.$$watchDelegate=i.$$watchDelegate:o.$stateful||(e.$$watchDelegate=p,a=!i.inputs,e.inputs=i.inputs||[i]),e):i}}]}function Fr(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return qr(function(e){t.$evalAsync(e)},e)}]}function Hr(){this.$get=["$browser","$exceptionHandler",function(t,e){return qr(function(e){t.defer(e)},e)}]}function qr(e,s){function n(){var e=new u;return e.resolve=o(e,e.resolve),e.reject=o(e,e.reject),e.notify=o(e,e.notify),e}var r=b("$q",TypeError);function t(){this.$$state={status:0}}function o(t,n){return function(e){n.call(t,e)}}function a(a){!a.processScheduled&&a.pending&&(a.processScheduled=!0,e(function(){var e,t,n=a,r=n.pending;n.processScheduled=!1,n.pending=void 0;for(var i=0,o=r.length;i<o;++i){t=r[i][0],e=r[i][n.status];try{$e(e)?t.resolve(e(n.value)):1===n.status?t.resolve(n.value):t.reject(n.value)}catch(e){t.reject(e),s(e)}}}))}function u(){this.promise=new t}me(t.prototype,{then:function(e,t,n){var r;return ge(e)&&ge(t)&&ge(n)?this:(r=new u,this.$$state.pending=this.$$
1state.pending||[],this.$$state.pending.push([r,e,t,n]),0<this.$$state.status&&a(this.$$state),r.promise)},catch:function(e){return this.then(null,e)},finally:function(t,e){return this.then(function(e){return c(e,!0,t)},function(e){return c(e,!1,t)},e)}}),me(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(r("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var t,n=this,r=!1;try{(ve(e)||$e(e))&&(t=e&&e.then),$e(t)?(this.promise.$$state.status=-1,t.call(e,function(e){r||(r=!0,n.$$resolve(e))},i,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,a(this.promise.$$state))}catch(e){i(e),s(e)}function i(e){r||(r=!0,n.$$reject(e))}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,a(this.promise.$$state)},notify:function(i){var o=this.promise.$$state.pending;this.promise.$$state.status<=0&&o&&o.length&&e(function(){for(var e,t,n=0,r=o.length;n<r;n++){t=o[n][0],e=o[n][3];try{t.notify($e(e)?e(i):i)}catch(e){s(e)}}})}});function i(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise}function l(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)}var c=function(e,t,n){var r=null;try{$e(n)&&(r=n())}catch(e){return i(e,!1)}return W(r)?r.then(function(){return i(e,t)},function(e){return i(e,!1)}):i(e,t)},f=l;function d(e){var t;if($e(e))return t=new u,e(function(e){t.resolve(e)},function(e){t.reject(e)}),t.promise;throw r("norslvr","Expected resolverFn, got '{0}'",e)}return d.prototype=t.prototype,d.defer=n,d.reject=function(e){var t=new u;return t.reject(e),t.promise},d.when=l,d.resolve=f,d.all=function(e){var n=new u,r=0,i=ye(e)?[]:{};return pe(e,function(e,t){r++,l(e).then(function(e){i.hasOwnProperty(t)||(i[t]=e,--r)||n.resolve(i)},function(e){i.hasOwnProperty(t)||n.reject(e)})}),0===r&&n.resolve(i),n.promise},d.race=function(e){var t=n();return pe(e,function(e){l(e).then(t.resolve,t.reject)}),t.promise},d}function Ur(){this.$get=["$window","$timeout",function(e,n){var r=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,e=!!r,t=e?function(e){var t=r(e);return function(){i(t)}}:function(e){var t=n(e,16.66,!1);return function(){n.cancel(t)}};return t.supported=e,t}]}function Vr(){var S=10,C=b("$rootScope"),_=null,E=null;this.digestTtl=function(e){return S=arguments.length?e:S},this.$get=["$exceptionHandler","$parse","$browser",function(h,p,m){function i(e){e.currentScope.$$destroyed=!0}function o(){this.$id=++A,this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,(this.$root=this).$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}o.prototype={constructor:o,$new:function(e,t){var n;function r(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=++A,this.$$ChildScope=null}return t=t||this,e?(n=new o).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=(r.prototype=this,r)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,!e&&t==this||n.$on("$destroy",i),n},$watch:function(e,t,n,r){var i,o,a,s=p(e);return s.$$watchDelegate?s.$$watchDelegate(this,t,n,s,e):(o=(i=this).$$watchers,a={fn:t,last:x,get:s,exp:r||e,eq:!!n},_=null,$e(t)||(a.fn=q),(o=o||(i.$$watchers=[])).unshift(a),u(this,1),function(){0<=Oe(o,a)&&u(i,-1),_=null})},$watchGroup:function(e,r){var t,i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,n=!0;return e.length?1===e.length?this.$watch(e[0],function(e,t,n){o[0]=e,i[0]=t,r(o,e===t?o:i,n)}):(pe(e,function(e,n){e=s.$watch(e,function(e,t){o[n]=e,i[n]=t,u||(u=!0,s.$evalAsync(l))});a.push(e)}),function(){for(;a.length;)a.shift()()}):(t=!0,s.$evalAsync(function(){t&&r(o,o,s)}),function(){t=!1});function l(){u=!1,n?(n=!1,r(o,o,s)):r(o,i,s)}},$watchCollection:function(e,n){t.$stateful=!0;var a,s,r,i=this,o=1<n.length,u=0,e=p(e,t),l=[],c={},f=!0,d=0;function t(e){var t,n,r,i;if(!ge(a=e)){if(ve(a))if(j(a)){s!==l&&(d=(s=l).length=0,u++),t=a.length,d!==t&&(u++,s.length=d=t);for(var o=0;o<t;o++)i=s[o],r=a[o],i!=i&&r!=r||i===r||(u++,s[o]=r)}else{for(n in s!==c&&(s=c={},d=0,u++),t=0,a)H.call(a,n)&&(t++,r=a[n],i=s[n],n in s?i!=i&&r!=r||i===r||(u++,s[n]=r):(d++,s[n]=r,u++));if(t<d)for(n in u++,s)H.call(a,n)||(d--,delete s[n])}else s!==a&&(s=a,u++);return u}}return this.$watch(e,function(){if(f?(f=!1,n(a,a,i)):n(a,r,i),o)if(ve(a))if(j(a)){r=new Array(a.length);for(var e=0;e<a.length;e++)r[e]=a[e]}else for(var t in r={},a)H.call(a,t)&&(r[t]=a[t]);else r=a})},$digest:function(){var e,t,n,r,i,o,a,s,u=S,l=[];b("$digest"),m.$$checkUrlChange(),this===g&&null!==E&&(m.defer.cancel(E),k()),_=null;do{for(var c=!1,f=this,d=0;d<v.length;d++){try{(s=v[d]).scope.$eval(s.expression,s.locals)}catch(e){h(e)}_=null}v.length=0;e:do{if(r=f.$$watchers)for(i=r.length;i--;)try{if(e=r[i])if((t=(0,e.get)(f))===(n=e.last)||(e.eq?xe(t,n):"number"==typeof t&&"number"==typeof n&&isNaN(t)&&isNaN(n))){if(e===_){c=!1;break e}}else c=!0,(_=e).last=e.eq?Z(t,null):t,(0,e.fn)(t,n===x?t:n,f),u<5&&(l[a=4-u]||(l[a]=[]),l[a].push({msg:$e(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:t,oldVal:n}))}catch(e){h(e)}if(!(o=f.$$watchersCount&&f.$$childHead||f!==this&&f.$$nextSibling))for(;f!==this&&!(o=f.$$nextSibling);)f=f.$parent}while(f=o);if((c||v.length)&&!u--)throw w(),C("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",S,l)}while(c||v.length);for(w();$<y.length;)try{y[$++]()}catch(e){h(e)}y.length=$=0},$destroy:function(){if(!this.$$destroyed){var e,t=this.$parent;for(e in this.$broadcast("$destroy"),this.$$destroyed=!0,this===g&&m.$$applicationDestroyed(),u(this,-this.$$wat
1chersCount),this.$$listenerCount)a(this,this.$$listenerCount[e],e);t&&t.$$childHead==this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail==this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=q,this.$on=this.$watch=this.$watchGroup=function(){return q},this.$$listeners={},this.$$nextSibling=null,!function e(t){9===_e&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling)&&e(t.$$nextSibling),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return p(e)(this,t)},$evalAsync:function(e,t){g.$$phase||v.length||m.defer(function(){v.length&&g.$digest()}),v.push({scope:this,expression:p(e),locals:t})},$$postDigest:function(e){y.push(e)},$apply:function(e){try{b("$apply");try{return this.$eval(e)}finally{w()}}catch(e){h(e)}finally{try{g.$digest()}catch(e){throw h(e),e}}},$applyAsync:function(e){var t=this;e&&n.push(function(){t.$eval(e)}),e=p(e),null===E&&(E=m.defer(function(){g.$apply(k)}))},$on:function(t,n){for(var r=this.$$listeners[t],e=(r||(this.$$listeners[t]=r=[]),r.push(n),this);e.$$listenerCount[t]||(e.$$listenerCount[t]=0),e.$$listenerCount[t]++,e=e.$parent;);var i=this;return function(){var e=r.indexOf(n);-1!==e&&(r[e]=null,a(i,1,t))}},$emit:function(e,t){var n,r,i,o=[],a=this,s=!1,u={name:e,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=K([u],arguments,1);do{for(n=a.$$listeners[e]||o,u.currentScope=a,r=0,i=n.length;r<i;r++)if(n[r])try{n[r].apply(null,l)}catch(e){h(e)}else n.splice(r,1),r--,i--;if(s)return u.currentScope=null,u}while(a=a.$parent);return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=this,i={name:e,targetScope:this,preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1};if(this.$$listenerCount[e]){for(var o,a,s,u=K([i],arguments,1);n=r;){for(a=0,s=(o=(i.currentScope=n).$$listeners[e]||[]).length;a<s;a++)if(o[a])try{o[a].apply(null,u)}catch(e){h(e)}else o.splice(a,1),a--,s--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}i.currentScope=null}return i}};var g=new o,v=g.$$asyncQueue=[],y=g.$$postDigestQueue=[],n=g.$$applyAsyncQueue=[],$=0;return g;function b(e){if(g.$$phase)throw C("inprog","{0} already in progress",g.$$phase);g.$$phase=e}function w(){g.$$phase=null}function u(e,t){for(;e.$$watchersCount+=t,e=e.$parent;);}function a(e,t,n){for(;e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n],e=e.$parent;);}function x(){}function k(){for(;n.length;)try{n.shift()()}catch(e){h(e)}E=null}}]}function Yr(){var r=/^\s*(https?|ftp|mailto|tel|file):/,i=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return U(e)?(r=e,this):r},this.imgSrcSanitizationWhitelist=function(e){return U(e)?(i=e,this):i},this.$get=function(){return function(e,t){var t=t?i:r,n=ti(e).href;return""===n||n.match(t)?e:"unsafe:"+n}}}var Wr=b("$sce"),l={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function Br(e){var t=[];return U(e)&&pe(e,function(e){t.push(function(e){if("self"===e)return e;if(V(e)){if(-1<e.indexOf("***"))throw Wr("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=z(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(F(e))return new RegExp("^"+e.source+"$");throw Wr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))}),t}function zr(){this.SCE_CONTEXTS=l;var a=["self"],s=[];this.resourceUrlWhitelist=function(e){return a=arguments.length?Br(e):a},this.resourceUrlBlacklist=function(e){return s=arguments.length?Br(e):s},this.$get=["$injector",function(e){var r=function(e){throw Wr("unsafe","Attempting to use an unsafe value in a safe context.")};function o(e,t){return"self"===e?ni(t):e.exec(t.href)}function t(e){function t(e){this.$$unwrapTrustedValue=function(){return e}}return(t.prototype=e?new e:t.prototype).valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}e.has("$sanitize")&&(r=e.get("$sanitize"));var n=t(),i={};return i[l.HTML]=t(n),i[l.CSS]=t(n),i[l.URL]=t(n),i[l.JS]=t(n),i[l.RESOURCE_URL]=t(i[l.URL]),{trustAs:function(e,t){var n=i.hasOwnProperty(e)?i[e]:null;
1if(!n)throw Wr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||ge(t)||""===t)return t;if("string"!=typeof t)throw Wr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,t){if(null===t||ge(t)||""===t)return t;var n=i.hasOwnProperty(e)?i[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===l.RESOURCE_URL){if(function(e){for(var t=ti(e.toString()),n=!1,r=0,i=a.length;r<i;r++)if(o(a[r],t)){n=!0;break}if(n)for(r=0,i=s.length;r<i;r++)if(o(s[r],t)){n=!1;break}return n}(t))return t;throw Wr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===l.HTML)return r(t);throw Wr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof n?e.$$unwrapTrustedValue():e}}}]}function Gr(){var t=!0;this.enabled=function(e){return t=arguments.length?!!e:t},this.$get=["$parse","$sceDelegate",function(r,e){if(t&&_e<8)throw Wr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=k(l),n=(i.isEnabled=function(){return t},i.trustAs=e.trustAs,i.getTrusted=e.getTrusted,i.valueOf=e.valueOf,t||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=Te),i.parseAs=function(t,e){var n=r(e);return n.literal&&n.constant?n:r(e,function(e){return i.getTrusted(t,e)})},i.parseAs),o=i.getTrusted,a=i.trustAs;return pe(l,function(t,e){e=_(e);i[it("parse_as_"+e)]=function(e){return n(t,e)},i[it("get_trusted_"+e)]=function(e){return o(t,e)},i[it("trust_as_"+e)]=function(e){return a(t,e)}}),i}]}function Zr(){this.$get=["$window","$document",function(e,t){var n,r={},i=!(e.chrome&&e.chrome.app&&e.chrome.app.runtime)&&e.history&&e.history.pushState,o=v((/android (\d+)/.exec(_((e.navigator||{}).userAgent))||[])[1]),e=/Boxee/i.test((e.navigator||{}).userAgent),a=t[0]||{},s=/^(Moz|webkit|ms)(?=[A-Z])/,t=a.body&&a.body.style,u=!1,l=!1;if(t){for(var c in t)if(c=s.exec(c)){n=(n=c[0])[0].toUpperCase()+n.substr(1);break}n=n||"WebkitOpacity"in t&&"webkit",u=!!("transition"in t||n+"Transition"in t),l=!!("animation"in t||n+"Animation"in t),!o||u&&l||(u=V(t.webkitTransition),l=V(t.webkitAnimation))}return{history:!(!i||o<4||e),hasEvent:function(e){var t;return!("input"===e&&_e<=11)&&(ge(r[e])&&(t=a.createElement("div"),r[e]="on"+e in t),r[e])},csp:J(),vendorPrefix:n,transitions:u,animations:l,android:o}}]}var Jr=b("$compile");function Xr(){var u;this.httpOptions=function(e){return e?(u=e,this):u},this.$get=["$templateCache","$http","$q","$sce",function(r,i,o,a){function s(t,n){s.totalPendingRequests++,V(t)&&!ge(r.get(t))||(t=a.getTrustedResourceUrl(t));var e=i.defaults&&i.defaults.transformResponse;return ye(e)?e=e.filter(function(e){return e!==In}):e===In&&(e=null),i.get(t,me({cache:r,transformResponse:e},u)).finally(function(){s.totalPendingRequests--}).then(function(e){return r.put(t,e.data),e.data},function(e){if(n)return o.reject(e);throw Jr("tpload","Failed to load template: {0} (HTTP status: {1} {2})",t,e.status,e.statusText)})}return s.totalPendingRequests=0,s}]}function Kr(){this.$get=["$rootScope","$browser","$location",function(t,n,r){var e={findBindings:function(e,n,r){var e=e.getElementsByClassName("ng-binding"),i=[];return pe(e,function(t){var e=C.element(t).data("$binding");e&&pe(e,function(e){r?new RegExp("(^|\\s)"+z(n)+"(\\s|\\||$)").test(e)&&i.push(t):-1!=e.indexOf(n)&&i.push(t)})}),i},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=e.querySelectorAll("["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]');if(o.length)return o}},getLocation:function(){return r.url()},setLocation:function(e){e!==r.url()&&(r.url(e),t.$digest())},whenStable:function(e){n.notifyWhenNoOutstandingRequests(e)}};return e}]}function Qr(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(s,u,l,c,f){var d={};function e(e,t,n){$e(e)||(n=t,t=e,e=q);var r=Ne(arguments,3),i=U(n)&&!n,o=(i?c:l).defer(),a=o.promise,n=u.defer(function(){try{o.resolve(e.apply(null,r))}catch(e){o.reject(e),f(e)}finally{delete d[a.$$timeoutId]}i||s.$apply()},t);return a.$$timeoutId=n,d[n]=o,a}return e.cancel=function(e){return!!(e&&e.$$timeoutId in d)&&(d[e.$$timeoutId].reject("canceled"),delete d[e.$$timeoutId],u.defer.cancel(e.$$timeoutId))},e}]}var t=g.document.createElement("a"),ei=ti(g.location.href);function ti(e){return _e&&(t.setAttribute("href",e),e=t.href),t.setAttribute("href",e),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}function ni(e){e=V(e)?ti(e):e;return e.protocol===ei.protocol&&e.host===ei.host}function ri(){this.$get=E(g)}function ii(e){var a=e[0]||{},s={},u="";function l(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){var e,t,n,r,i,o=a.cookie||"";if(o!==u)for(e=(u=o).split("; "),s={},n=0;n<e.length;n++)0<(r=(t=e[n]).indexOf("="))&&(i=l(t.substring(0,r)),ge(s[i]))&&(s[i]=l(t.substring(r+1)));return s}}function oi(){this.$get=ii}function ai(r){function i(e,t){var n;return ve(e)?(n={},pe(e,function(e,t){n[t]=i(t,e)}),n):r.factory(e+"Filter",t)}this.register=i,this.$get=["$injector",function(t){return function(e){return t.get(e+"Filter")}}],i("currency",fi),i("date",xi),i("filter",si),i("json",ki),i("limitTo",_i),i("lowercase",Si),i("number",di),i("orderBy",Ti),i("uppercase",Ci)}function si(){return function(e,t,n,r){if(!j(e)){if(null==e)return e;throw b("filter")("notarray","Expected array but received: {0}",e)}var i,o;switch(r=r||"$",li(t)){case"function":i=t;break;case"boolean":case"null":case"number":case"string":o=!0;case"object":i=function(t,n,r,i){var o=ve(t)&&r in t;!0===n?n=xe:$e(n)||(n=function(e,t){return!(ge(e)||(null===e||null===t?e!==t:ve(t)||ve(e)&&!I(e)||(e=_(""+e),t=_(""+t),-1===e.indexOf(t))))});return function(e){return o&&!ve(e)?ui(e,t[r],n,r,!1):ui(e,t,n,r,i)}}(t,n,r,o);break;default:return e}return Array.prototype.filter.call(e,i)}}function ui(e,t,n,r,i,o){var a,s=li(e),u=li(t);if("string"===u&&"!"===t.charAt(0))return!ui(e,t.substring(1),n,r,i);if(ye(e))return e.some(function(e){return ui(e,t,n,r,i)});switch(s){case"object":if(i){for(a in e)if("$"!==a.charAt(0)&&ui(e[a],t,n,r,!0))return!0;return!o&&ui(e,t,n,r,!1)}if("object"!==u)return n(e,t);for(a in t){var l=t[a];if(!$e(l)&&!ge(l)){var c=a===r;
1if(!ui(c?e:e[a],l,n,r,c,c))return!1}}return!0;case"function":return!1;default:return n(e,t)}}function li(e){return null===e?"null":typeof e}ii.$inject=["$document"],ai.$inject=["$provide"];var ci="0";function fi(e){var r=e.NUMBER_FORMATS;return function(e,t,n){return ge(t)&&(t=r.CURRENCY_SYM),ge(n)&&(n=r.PATTERNS[1].maxFrac),null==e?e:hi(e,r.PATTERNS[1],r.GROUP_SEP,r.DECIMAL_SEP,n).replace(/\u00A4/g,t)}}function di(e){var n=e.NUMBER_FORMATS;return function(e,t){return null==e?e:hi(e,n.PATTERNS[0],n.GROUP_SEP,n.DECIMAL_SEP,t)}}function hi(e,t,n,r,i){if(!V(e)&&!x(e)||isNaN(e))return"";var o=!isFinite(e),a=!1,s=Math.abs(e)+"",u="";if(o)u="â";else{var l=o=function(e){var t,n,r,i,o,a=0;for(0<(r=(e=-1<(n=e.indexOf("."))?e.replace(".",""):e).search(/e/i))?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)==ci;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==ci;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return 22<n&&(t=t.splice(0,21),a=n-1,n=1),{d:t,e:a,i:n}}(s),c=i,s=t.minFrac,i=t.maxFrac,f=l.d,d=f.length-l.i,h=(c=ge(c)?Math.min(Math.max(s,d),i):+c)+l.i,s=f[h];if(0<h){f.splice(Math.max(l.i,h));for(var p=h;p<f.length;p++)f[p]=0}else{d=Math.max(0,d),l.i=1,f.length=Math.max(1,h=c+1),f[0]=0;for(var m=1;m<h;m++)f[m]=0}if(5<=s)if(h-1<0){for(var g=0;h<g;g--)f.unshift(0),l.i++;f.unshift(1),l.i++}else f[h-1]++;for(;d<Math.max(0,c);d++)f.push(0);(i=f.reduceRight(function(e,t,n,r){return r[n]=(t+=e)%10,Math.floor(t/10)},0))&&(f.unshift(i),l.i++);for(var v=o.d,y=o.i,s=o.e,i=[],a=v.reduce(function(e,t){return e&&!t},!0);y<0;)v.unshift(0),y++;0<y?i=v.splice(y,v.length):(i=v,v=[0]);var $=[];for(v.length>=t.lgSize&&$.unshift(v.splice(-t.lgSize,v.length).join(""));v.length>t.gSize;)$.unshift(v.splice(-t.gSize,v.length).join(""));v.length&&$.unshift(v.join("")),u=$.join(n),i.length&&(u+=r+i.join("")),s&&(u+="e+"+s)}return e<0&&!a?t.negPre+u+t.negSuf:t.posPre+u+t.posSuf}function pi(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=ci+e;return i+(e=n?e.substr(e.length-t):e)}function e(t,n,r,i,o){return r=r||0,function(e){e=e["get"+t]();return(0<r||-r<e)&&(e+=r),pi(e=0===e&&-12==r?12:e,n,i,o)}}function mi(n,r,i){return function(e,t){e=e["get"+n]();return t[S((i?"STANDALONE":"")+(r?"SHORT":"")+n)][e]}}function gi(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function vi(n){return function(e){var t=gi(e.getFullYear()),e=(e=e,new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay())));return pi(1+Math.round((+e-+t)/6048e5),n)}}function yi(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}fi.$inject=["$locale"];var $i={yyyy:e("FullYear",4,0,!(di.$inject=["$locale"]),!0),yy:e("FullYear",2,0,!0,!0),y:e("FullYear",1,0,!1,!0),MMMM:mi("Month"),MMM:mi("Month",!0),MM:e("Month",2,1),M:e("Month",1,1),LLLL:mi("Month",!1,!0),dd:e("Date",2),d:e("Date",1),HH:e("Hours",2),H:e("Hours",1),hh:e("Hours",2,-12),h:e("Hours",1,-12),mm:e("Minutes",2),m:e("Minutes",1),ss:e("Seconds",2),s:e("Seconds",1),sss:e("Milliseconds",3),EEEE:mi("Day"),EEE:mi("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=0<=(n=-1*n)?"+":"";return r+=pi(Math[0<n?"floor":"ceil"](n/60),2)+pi(Math.abs(n%60),2)},ww:vi(2),w:vi(1),G:yi,GG:yi,GGG:yi,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},bi=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,wi=/^\-?\d+$/;function xi(m){var g=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(t,e,n){var r,i,o,a,s,u,l,c,f,d="",h=[];if(e=m.DATETIME_FORMATS[e=e||"mediumDate"]||e,!y(t=x(t=V(t)?wi.test(t)?v(t):(f=(o=t).match(g))?(a=new Date(0),c=l=0,u=f[8]?a.setUTCFullYear:a.setFullYear,s=f[8]?a.setUTCHours:a.setHours,f[9]&&(l=v(f[9]+f[10]),c=v(f[9]+f[11])),u.call(a,v(f[1]),v(f[2])-1,v(f[3])),u=v(f[4]||0)-l,l=v(f[5]||0)-c,c=v(f[6]||0),f=Math.round(1e3*parseFloat("0."+(f[7]||0))),s.call(a,u,l,c,f),a):o:t)?new Date(t):t)||!isFinite(t.getTime()))return t;for(;e;)e=(i=bi.exec(e))?(h=K(h,i,1)).pop():(h.push(e),null);var p=t.getTimezoneOffset();return n&&(p=re(n,p),t=ie(t,n,!0)),pe(h,function(e){r=$i[e],d+=r?r(t,m.DATETIME_FORMATS,p):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}}function ki(){return function(e,t){return ee(e,t=ge(t)?2:t)}}xi.$inject=["$locale"];var Si=E(_),Ci=E(S);function _i(){return function(e,t,n){return t=(Math.abs(Number(t))===1/0?Number:v)(t),!isNaN(t)&&j(e=x(e)?e.toString():e)?(n=(n=!n||isNaN(n)?0:v(n))<0?Math.max(0,e.length+n):n,0<=t?Ei(e,n,n+t):0===n?Ei(e,t,e.length):Ei(e,Math.max(0,n+t),n)):e}}function Ei(e,t,n){return V(e)?e.slice(t,n):p.call(e,t,n)}function Ti(i){return function(e,t,n,r){if(null!=e){if(!j(e))throw b("orderBy")("notarray","Expected array but received: {0}",e);var o=(t=0===(t=ye(t)?t:[t]).length?["+"]:t).map(function(e){var t,n=1,r=Te;return $e(e)?r=e:V(e)&&("+"!=e.charAt(0)&&"-"!=e.charAt(0)||(n="-"==e.charAt(0)?-1:1,e=e.substring(1)),""!==e)&&(r=i(e)).constant&&(t=r(),r=function(e){return e[t]}),{get:r,descending:n}}),a=n?-1:1,s=$e(r)?r:l,t=Array.prototype.map.call(e,function(r,i){return{value:r,tieBreaker:{value:i,type:"number",index:i},predicateValues:o.map(function(e){var e=e.get(r),t=i,n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=function(e){if($e(e.valueOf)&&u(e=e.valueOf()))return e;I(e)&&u(e=e.toString());return e}(e)),{value:e,type:n,index:t}})}});t.sort(function(e,t){for(var n=0,r=o.length;n<r;n++){var i=s(e.predicateValues[n],t.predicateValues[n]);if(i)return i*o[n].descending*a}return s(e.tieBreaker,t.tieBreaker)*a}),e=t.map(function(e){return e.value})}return e};function u(e){switch(typeof e){case"number":case"boolean":case"string":return 1;default:return}}function l(e,t){var n,r,i=0,o=e.type,a=t.type;return o===a?(n=e.value,r=t.value,"string"===o?(n=n.toLowerCase(),r=r.toLowerCase()):"object"===o&&(ve(n)&&(n=e.index),ve(r))&&(r=t.index),n!==r&&(i=n<r?-1:1)):i=o<a?-1:1,i}}function Ai(e){return(e=$e(e)?{link:e}:e).restrict=e.restrict||"AC",E(e)}Ti.$inject=["$parse"];var Mi=E({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){var n;"a"===t[0].nodeName.toLowerCase()&&(n="[object SVGAnimatedString]"===w.call(t.prop("href"))?"xlink:href":"href",t.on("click",function(e){t.attr(n)||e.preventDefault()}))}}}),Oi={},Ni=(pe(At,function(e,r){var i,t;function o(e,t,n){e.$watch(n[i],function(e){n.$set(r,!!e)})}"multiple"!=e&&(i=vn("ng-"+r),t="checked"===e?function(e,t,n){n.ngModel!==n[i]&&o(e,0,n)}:o,Oi[i]=function(){return{restrict:"A",priority:100,link:t}})}),pe(Ot,function(e,i){Oi[i]=function(){return{priority:100,link:function(e,t,n){if("ngPattern"===i&&"/"==n.ngPattern.charAt(0)){var r=n.ngPattern.match(c);if(r)return void n.$set("ngPattern",new RegExp(r[1],r[2]))}e.$watch(n[i],function(e){n.$set(i,e)})}}}}),pe(["src","srcset","href"],function(o){var a=vn("ng-"+o);Oi[a]=function(){return{priority:99,link:function(e,t,n){var r=o,i=o;"href"===o&&"[object SVGAnimatedString]"===w.call(t.prop("href"))&&(i="xlinkHref",n.$attr[i]="xlink:href",r=null),n.$observe(a,function(e){e?(n.$set(i,e),_e&&r&&t.prop(r,n[i])):"href"===o&&n.$set(i,null)})}}}}),{$addControl:q,$$renameControl:function(e,t){e.$name=t},$removeControl:q,$setValidity:q,$setDirty:q,$setPristine:q,$setSubmitted:q}),Di="ng-submitted";function ji(e,t,n,r,i){var o=this,a=[];o.$error={},o.$$success={},o.$pending=void 0,o.$name=i(t.name||t.ngForm||"")(n),o.$dirty=!1,o.$pristine=!0,o.$valid=!0,o.$invalid=!1,o.$submitted=!1,o.$$parentForm=Ni,o.$rollbackViewValue=function(){pe(a,function(e){e.$rollbackViewValue()})},o.$commitViewValue=function(){pe(a,function(e){e.$commitViewValue()})},o.$addControl=function(e){He(e.$name,"input"),a.push(e),e.$name&&(o[e.$name]=e),e.$$parentForm=o},o.$$renameControl=function(e,t){var n=e.$name;o[n]===e&&delete o[n],(o[t]=e).$name=t},o.$removeControl=function(n){n.$name&&o[n.$name]===n&&delete o[n.$name],pe(o.$pending,function(e,t){o.$setValidity(t,null,n)}),pe(o.$error,function(e,t){o.$setValidity(t,null,n)}),pe(o.$$success,function(e,t){o.$setValidity(t,null,n)}),Oe(a,n),n.$$parentForm=Ni},Lo({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(Oe(r,n),0===r.length)&&delete e[t]},$animate:r}),o.$setDirty=function(){r.removeClass(e,Co),r.addClass(e,_o),o.$dirty=!0,o.$pristine=!1,o.$$parentForm.$setDirty()},o.$setPristine=function(){r.setClass(e,Co,_o+" "+Di),o.$dirty=!1,o.$pristine=!0,o.$submitted=!1,pe(a,function(e){e.$setPristine()})},o.$setUntouched=function(){pe(a,function(e){e.$setUntouched()})},o.$setSubmitted=function(){r.addClass(e,Di),o.$submitted=!0,o.$$parentForm.$setSubmitted()}}ji.$inject=["$element","$attrs","$scope","$animate","$interpolate"];function Pi(n){return["$timeout","$parse",function(u,t){return{name:"form",restrict:n?"EAC":"E",require:["form","^^?form"],controller:ji,compile:function(e,t){e.addClass(Co).addClass(ko);var s=t.name?"name":!(!n||!t.ngForm)&&"ngForm";return{pre:function(t,e,n,r){var i,o=r[0];"action"in n||(Je(e[0],"submit",i=function(e){t.$apply(function(){o.$commitViewValue(),o.$setSubmitted()}),e.preventDefault()}),e.on("$destroy",function(){u(function(){Qe(e[0],"submit",i)},0,!1)}));(r[1]||o.$$parentForm).$addControl(o);var a=s?l(o.$name):q;s&&(a(t,o),n.$observe(s,function(e){o.$name!==e&&(a(t,void 0),o.$$parentForm.$$renameControl(o,e),(a=l(o.$name))(t,o))})),e.on("$destroy",function(){o.$$parentForm.$removeControl(o),a(t,void 0),me(o,Ni)})}}}};function l(e){return""===e?t('this[""]').assign:t(e).assign||q}}]}var Li=Pi(),Ii=Pi(!0),Ri=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Fi=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Hi=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,qi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,r=/^(\d{4,})-(\d{2})-(\d{2})$/,Ui=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Vi=/^(\d{4,})-W(\d\d)$/,Yi=/^(\d{4,})-(\d\d)$/,Wi=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Bi="keydown wheel mousedown",zi=Se(),Gi=(pe("date,datetime-local,month,time,week".split(","),function(e){zi[e]=!0}),{text:function(e,t,n,r,i,o){Ji(0,t,n,r,i,o),Zi(r)},date:Ki("date",r,Xi(r,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Ki("datetimelocal",Ui,Xi(Ui,["yyyy","MM","dd","HH","mm","ss","
1sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Ki("time",Wi,Xi(Wi,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Ki("week",Vi,function(e,t){if(y(e))return e;if(V(e)){Vi.lastIndex=0;var n,r,i,o,a,s,e=Vi.exec(e);if(e)return n=+e[1],e=+e[2],a=o=i=r=0,s=gi(n),e=7*(e-1),t&&(r=t.getHours(),i=t.getMinutes(),o=t.getSeconds(),a=t.getMilliseconds()),new Date(n,0,s.getDate()+e,r,i,o,a)}return NaN},"yyyy-Www"),month:Ki("month",Yi,Xi(Yi,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,o){{var a;Qi(0,t,0,r),Ji(0,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:qi.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw No("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),(U(n.min)||n.ngMin)&&(r.$validators.min=function(e){return r.$isEmpty(e)||ge(a)||a<=e},n.$observe("min",function(e){U(e)&&!x(e)&&(e=parseFloat(e)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()}))}{var s;(U(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||ge(s)||e<=s},n.$observe("max",function(e){U(e)&&!x(e)&&(e=parseFloat(e)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()}))}},url:function(e,t,n,r,i,o){Ji(0,t,n,r,i,o),Zi(r),r.$$parserName="url",r.$validators.url=function(e,t){e=e||t;return r.$isEmpty(e)||Fi.test(e)}},email:function(e,t,n,r,i,o){Ji(0,t,n,r,i,o),Zi(r),r.$$parserName="email",r.$validators.email=function(e,t){e=e||t;return r.$isEmpty(e)||Hi.test(e)}},radio:function(e,t,n,r){ge(n.name)&&t.attr("name",++A);t.on("click",function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)}),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)},checkbox:function(e,t,n,r,i,o,a,s){var u=eo(s,e,"ngTrueValue",n.ngTrueValue,!0),l=eo(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("click",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return xe(e,u)}),r.$parsers.push(function(e){return e?u:l})},hidden:q,button:q,submit:q,reset:q,file:q});function Zi(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function Ji(e,n,r,i,t,o){var a,s,u,l=_(n[0].type),c=(t.android||(a=!1,n.on("compositionstart",function(){a=!0}),n.on("compositionend",function(){a=!1,c()})),function(e){var t;s&&(o.defer.cancel(s),s=null),!a&&(t=n.val(),e=e&&e.type,"password"===l||r.ngTrim&&"false"===r.ngTrim||(t=be(t)),i.$viewValue!==t||""===t&&i.$$hasNativeValidators)&&i.$setViewValue(t,e)});t.hasEvent("input")?n.on("input",c):(u=function(e,t,n){s=s||o.defer(function(){s=null,t&&t.value===n||c(e)})},n.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||u(e,this,this.value)}),t.hasEvent("paste")&&n.on("paste cut",u)),n.on("change",c),zi[l]&&i.$$hasNativeValidators&&l===r.type&&n.on(Bi,function(e){var t,n,r;s||(t=this[f],n=t.badInput,r=t.typeMismatch,s=o.defer(function(){s=null,t.badInput===n&&t.typeMismatch===r||c(e)}))}),i.$render=function(){var e=i.$isEmpty(i.$viewValue)?"":i.$viewValue;n.val()!==e&&n.val(e)}}function Xi(r,i){return function(e,t){var n;if(y(e))return e;if(V(e)){if('"'==e.charAt(0)&&'"'==e.charAt(e.length-1)&&(e=e.substring(1,e.length-1)),Ri.test(e))return new Date(e);if(r.lastIndex=0,e=r.exec(e))return e.shift(),n=t?{yyyy:t.getFullYear(),MM:t.getMonth()+1,dd:t.getDate(),HH:t.getHours(),mm:t.getMinutes(),ss:t.getSeconds(),sss:t.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},pe(e,function(e,t){t<i.length&&(n[i[t]]=+e)}),new Date(n.yyyy,n.MM-1,n.dd,n.HH,n.mm,n.ss||0,1e3*n.sss||0)}return NaN}}function Ki(h,p,m,g){return function(e,t,n,r,i,o,a){Qi(0,t,0,r),Ji(0,t,n,r,i,o);var s,u,l,c=r&&r.$options&&r.$options.timezone;function f(e){return e&&(!e.getTime||e.getTime()===e.getTime())}function d(e){return U(e)&&!y(e)?m(e)||void 0:e}r.$$parserName=h,r.$parsers.push(function(e){return r.$isEmpty(e)?null:p.test(e)?(e=m(e,s),c?ie(e,c):e):void 0}),r.$formatters.push(function(e){if(e&&!y(e))throw No("datefmt","Expected `{0}` to be a date",e);return f(e)?((s=e)&&c&&(s=ie(s,c,!0)),a("date")(e,g,c)):(s=null,"")}),(U(n.min)||n.ngMin)&&(r.$validators.min=function(e){return!f(e)||ge(u)||m(e)>=u},n.$observe("min",function(e){u=d(e),r.$validate()})),(U(n.max)||n.ngMax)&&(r.$validators.max=function(e){return!f(e)||ge(l)||m(e)<=l},n.$observe("max",function(e){l=d(e),r.$validate()}))}}function Qi(e,n,t,r){var i=n[0];(r.$$hasNativeValidators=ve(i.validity))&&r.$parsers.push(function(e){var t=n.prop(f)||{};return t.badInput||t.typeMismatch?void 0:e})}function eo(e,t,n,r,i){if(U(r)){if((e=e(r)).constant)return e(t);throw No("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r)}return i}function to(){return{restrict:"A",priority:100,compile:function(e,t){return ro.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}}var no=["$browser","$sniffer","$filter","$parse",function(i,o,a,s){return{restrict:"E",require:["?ngModel"],link:{pre:function(e,t,n,r){r[0]&&(Gi[_(n.type)]||Gi.text)(e,t,n,r[0],o,i,a,s)}}}}],ro=/^(true|false|\d+)$/,io=["$compile",function(r){return{restrict:"AC",compile:function(e){return r.$$addBindingClass(e),function(e,t,n){r.$$addBindingInfo(t,n.ngBind),t=t[0],e.$watch(n.ngBind,function(e){t.textContent=ge(e)?"":e})}}}}],oo=["$interpolate","$compile",function(i,o){return{compile:function(e){return o.$$addBindingClass(e),function(e,t,n){var r=i(t.attr(n.$attr.ngBindTemplate));o.$$addBindingInfo(t,r.expressions),t=t[0],n.$observe("ngBindTemplate",function(e){t.textContent=ge(e)?"":e})}}}}],ao=["$sce","$parse","$compile",function(o,n,a){return{restrict:"A",compile:function(e,t){var r=n(t.ngBindHtml),i=n(t.ngBindHtml,function(e){return o.valueOf(e)});return a.$$addBindingClass(e),function(t,n,e){a.$$addBindingInfo(n,e.ngBindHtml),t.$watch(i,function(){var e=r(t);n.html(o.getTrustedHtml(e)||"")})}}}}],so=E({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function uo(r,h){return r="ngClass"+r,["$animate",function(c){return{restrict:"AC",link:function(o,a,n){var s;function u(e){e=l(e,1);n.$addClass(e)}function l(e,t){var n=a.data("$classCounts")||Se(),r=[];return pe(e,function(e){(0<t||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(0<t))&&r.push(e)}),a.data("$classCounts",n),r.join(" ")}function t(e){var t,n,r,i;!0!==h&&(1&o.$index)!==h||(t=d(e||[]),s?xe(e,s)||(n=d(s),i=f(r=t,n=n),n=f(n,r),i=l(i,1),n=l(n,-1),i&&i.length&&c.addClass(a,i),n&&n.length&&c.removeClass(a,n)):u(t)),s=ye(e)?e.map(function(e){return k(e)}):k(e)}o.$watch(n[r],t,!0),n.$observe("class",function(e){t(o.$eval(n[r]))}
1),"ngClass"!==r&&o.$watch("$index",function(e,t){e&=1;e!=(1&t)&&(t=d(o.$eval(n[r])),(e===h?u:function(e){e=l(e,-1);n.$removeClass(e)})(t))})}};function f(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function d(e){var n=[];return ye(e)?(pe(e,function(e){n=n.concat(d(e))}),n):V(e)?e.split(" "):ve(e)?(pe(e,function(e,t){e&&(n=n.concat(t.split(" ")))}),n):e}}]}function lo(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=t.attr(n.$attr.ngList)||", ",o="false"!==n.ngTrim,a=o?be(i):i;r.$parsers.push(function(e){var t;if(!ge(e))return t=[],e&&pe(e.split(a),function(e){e&&t.push(o?be(e):e)}),t}),r.$formatters.push(function(e){if(ye(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}}function co(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=Z(e.$eval(t.ngModelOptions)),U(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=be(this.$options.updateOn.replace(Po,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}}var fo=uo("",!0),ho=uo("Odd",0),po=uo("Even",1),mo=Ai({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),go=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],vo={},yo={blur:!0,focus:!0},$o=(pe("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(o){var a=vn("ng-"+o);vo[a]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(e,t){var r=n(t[a],null,!0);return function(n,e){e.on(o,function(e){function t(){r(n,{$event:e})}yo[o]&&i.$$phase?n.$evalAsync(t):n.$apply(t)})}}}}]}),["$animate","$compile",function(u,l){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(e,n,r,t,i){var o,a,s;e.$watch(r.ngIf,function(e){e?a||i(function(e,t){a=t,e[e.length++]=l.$$createComment("end ngIf",r.ngIf),o={clone:e},u.enter(e,n.parent(),n)}):(s&&(s.remove(),s=null),a&&(a.$destroy(),a=null),o&&(s=Ue(o.clone),u.leave(s).then(function(){s=null}),o=null))})}}}]),bo=["$templateRequest","$anchorScroll","$animate",function(m,g,v){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:C.noop,compile:function(e,t){var n=t.ngInclude||t.src,h=t.onload||"",p=t.autoscroll;return function(o,a,e,s,u){function l(){t&&(t.remove(),t=null),c&&(c.$destroy(),c=null),f&&(v.leave(f).then(function(){t=null}),t=f,f=null)}var c,t,f,d=0;o.$watch(n,function(n){function r(){!U(p)||p&&!o.$eval(p)||g()}var i=++d;n?(m(n,!0).then(function(e){var t;o.$$destroyed||i===d&&(t=o.$new(),s.template=e,e=u(t,function(e){l(),v.enter(e,null,a).then(r)}),f=e,(c=t).$emit("$includeContentLoaded",n),o.$eval(h))},function(){o.$$destroyed||i===d&&(l(),o.$emit("$includeContentError",n))}),o.$emit("$includeContentRequested",n)):(l(),s.template=null)})}}}}],wo=["$compile",function(i){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(e,t,n,r){w.call(t[0]).match(/SVG/)?(t.empty(),i(ft(r.template,g.document).childNodes)(e,function(e){t.append(e)},{futureParentElement:t})):(t.html(r.template),i(t.contents())(e))}}}],xo=Ai({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),ko="ng-valid",So="ng-invalid",Co="ng-pristine",_o="ng-dirty",Eo="ng-untouched",To="ng-touched",Ao="ng-pending",Mo="ng-empty",Oo="ng-not-empty",No=b("ngModel"),Do=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(o,t,i,a,s,n,r,u,l,e){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=e(i.name||"",!1)(o),this.$$parentForm=Ni;var c,f=s(i.ngModel),d=f.assign,h=f,p=d,m=null,g=this,v=(this.$$setOptions=function(e){if((g.$options=e)&&e.getterSetter){var n=s(i.ngModel+"()"),r=s(i.ngModel+"($$$p)");h=function(e){var t=f(e);return t=$e(t)?n(e):t},p=function(e,t){$e(f(e))?r(e,{$$$p:t}):d(e,t)}}else if(!f.assign)throw No("nonassign","Expression '{0}' is non-assignable. Element: {1}",i.ngModel,ke(a))},this.$render=q,this.$isEmpty=function(e){return ge(e)||""===e||null===e||e!=e},this.$$updateEmptyClasses=function(e){g.$isEmpty(e)?(n.removeClass(a,Oo),n.addClass(a,Mo)):(n.removeClass(a,Mo),n.addClass(a,Oo))},0);Lo({ctrl:this,$element:a,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:n}),this.$setPristine=function(){g.$dirty=!1,g.$pristine=!0,n.removeClass(a,_o),n.addClass(a,Co)},this.$setDirty=function(){g.$dirty=!0,g.$pristine=!1,n.removeClass(a,Co),n.addClass(a,_o),g.$$parentForm.$setDirty()},this.$setUntouched=function(){g.$touched=!1,g.$untouched=!0,n.setClass(a,Eo,To)},this.$setTouched=function(){g.$touched=!0,g.$untouched=!1,n.setClass(a,To,Eo)},this.$rollbackViewValue=function(){r.cancel(m),g.$viewValue=g.$$lastCommittedViewValue,g.$render()},this.$validate=function(){var e,t,n,r,i;x(g.$modelValue)&&isNaN(g.$modelValue)||(e=g.$$lastCommittedViewValue,t=g.$$rawModelValue,n=g.$valid,r=g.$modelValue,i=g.$options&&g.$options.allowInvalid,g.$$runValidators(t,e,function(e){i||n===e||(g.$modelValue=e?t:void 0,g.$modelValue!==r&&g.$$writeModelToScope())}))},this.$$runValidators=function(n,r,t){var i,o,a,s=++v;function u(e,t){s===v&&g.$setValidity(e,t)}function e(e){s===v&&t(e)}!function(){var e=g.$$parserName||"parse";{if(!ge(c))return c||(pe(g.$validators,function(e,t){u(t,null)}),pe(g.$asyncValidators,function(e,t){u(t,null)})),u(e,c),c;u(e,null)}return 1}()||(i=!0,pe(g.$validators,function(e,t){e=e(n,r);i=i&&e,u(t,e)}),!i&&(pe(g.$asyncValidators,function(e,t){u(t,null)}),1))?e(!1):(o=[],a=!0,pe(g.$asyncValidators,function(e,t){e=e(n,r);if(!W(e))throw No("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",e);u(t,void 0),o.push(e.then(function(){u(t,!0)},function(){u(t,a=!1)}))}),o.length?l.all(o).then(function(){e(a)},q):e(!0))},this.$commitViewValue=function(){var e=g.$viewValue;
1r.cancel(m),(g.$$lastCommittedViewValue!==e||""===e&&g.$$hasNativeValidators)&&(g.$$updateEmptyClasses(e),g.$$lastCommittedViewValue=e,g.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var t=g.$$lastCommittedViewValue;if(c=!ge(t)||void 0)for(var e=0;e<g.$parsers.length;e++)if(ge(t=g.$parsers[e](t))){c=!1;break}x(g.$modelValue)&&isNaN(g.$modelValue)&&(g.$modelValue=h(o));var n=g.$modelValue,r=g.$options&&g.$options.allowInvalid;function i(){g.$modelValue!==n&&g.$$writeModelToScope()}g.$$rawModelValue=t,r&&(g.$modelValue=t,i()),g.$$runValidators(t,g.$$lastCommittedViewValue,function(e){r||(g.$modelValue=e?t:void 0,i())})},this.$$writeModelToScope=function(){p(o,g.$modelValue),pe(g.$viewChangeListeners,function(e){try{e()}catch(e){t(e)}})},this.$setViewValue=function(e,t){g.$viewValue=e,g.$options&&!g.$options.updateOnDefault||g.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(e){var t=0,n=g.$options;n&&U(n.debounce)&&(x(n=n.debounce)?t=n:x(n[e])?t=n[e]:x(n.default)&&(t=n.default)),r.cancel(m),t?m=r(function(){g.$commitViewValue()},t):u.$$phase?g.$commitViewValue():o.$apply(function(){g.$commitViewValue()})},o.$watch(function(){var e=h(o);if(e!==g.$modelValue&&(g.$modelValue==g.$modelValue||e==e)){g.$modelValue=g.$$rawModelValue=e,c=void 0;for(var t=g.$formatters,n=t.length,r=e;n--;)r=t[n](r);g.$viewValue!==r&&(g.$$updateEmptyClasses(r),g.$viewValue=g.$$lastCommittedViewValue=r,g.$render(),g.$$runValidators(e,r,q))}return e})}],jo=["$rootScope",function(o){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Do,priority:1,compile:function(e){return e.addClass(Co).addClass(Eo).addClass(ko),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm;i.$$setOptions(r[2]&&r[2].$options),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(e,t,n,r){var i=r[0];i.$options&&i.$options.updateOn&&t.on(i.$options.updateOn,function(e){i.$$debounceViewValueCommit(e&&e.type)}),t.on("blur",function(){i.$touched||(o.$$phase?e.$evalAsync(i.$setTouched):e.$apply(i.$setTouched))})}}}}}],Po=/(\s+|^)default(\s+|$)/;function Lo(e){var r=e.ctrl,n=e.$element,i={},o=e.set,a=e.unset,s=e.$animate;function u(e,t){t&&!i[e]?(s.addClass(n,e),i[e]=!0):!t&&i[e]&&(s.removeClass(n,e),i[e]=!1)}function l(e,t){e=e?"-"+Le(e,"-"):"",u(ko+e,!0===t),u(So+e,!1===t)}i[So]=!(i[ko]=n.hasClass(ko)),r.$setValidity=function(e,t,n){(ge(t)?function(e,t,n){r[e]||(r[e]={});o(r[e],t,n)}:function(e,t,n){r[e]&&a(r[e],t,n);Io(r[e])&&(r[e]=void 0)})("$pending",e,n);(Me(t)?t?(a(r.$error,e,n),o):(o(r.$error,e,n),a):(a(r.$error,e,n),a))(r.$$success,e,n);r.$pending?(u(Ao,!0),r.$valid=r.$invalid=void 0,l("",null)):(u(Ao,!1),r.$valid=Io(r.$error),r.$invalid=!r.$valid,l("",r.$valid));t=r.$pending&&r.$pending[e]?void 0:!r.$error[e]&&(!!r.$$success[e]||null);l(e,t),r.$$parentForm.$setValidity(e,t,r)}}function Io(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var Ro=Ai({terminal:!0,priority:1e3}),Fo=b("ngOptions"),Ho=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,qo=["$compile","$document","$parse",function(b,w,x){var k=g.document.createElement("option"),S=g.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=q},post:function(e,o,t,n){for(var a,s=n[0],u=n[1],l=t.multiple,r=0,i=o.children(),c=i.length;r<c;r++)if(""===i[r].value){a=i.eq(r);break}function f(){p||a.remove()}function d(){m.remove()}var h,p=!!a,m=he(k.cloneNode(!1)),g=(m.val("?"),function(e,t,l){var n,r,i,c,o,f,a,d,h,p,m,g,v,s,y,u=e.match(Ho);if(u)return n=u[5]||u[7],r=u[6],i=/ as /.test(u[0])&&u[1],c=u[9],o=x(u[2]?u[1]:n),f=i&&x(i)||o,a=c&&x(c),d=c?function(e,t){return a(l,t)}:function(e){return Rt(e)},h=function(e,t){return d(e,y(e,t))},p=x(u[2]||u[1]),m=x(u[3]||""),g=x(u[4]||""),v=x(u[8]),s={},y=r?function(e,t){return s[r]=t,s[n]=e,s}:function(e){return s[n]=e,s},{trackBy:c,getTrackByValue:h,getWatchables:x(v,function(e){for(var t=[],n=b(e=e||[]),r=n.length,i=0;i<r;i++){var o=e===n?i:n[i],a=e[o],o=y(a,o),a=d(a,o);t.push(a),(u[2]||u[1])&&(a=p(l,o),t.push(a)),u[4]&&(a=g(l,o),t.push(a))}return t}),getOptions:function(){for(var e=[],t={}
1,n=v(l)||[],r=b(n),i=r.length,o=0;o<i;o++){var a=n===r?o:r[o],s=n[a],s=y(s,a),a=f(l,s),u=d(a,s),a=new $(u,a,p(l,s),m(l,s),g(l,s));e.push(a),t[u]=a}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[h(e)]},getViewValueFromOption:function(e){return c?C.copy(e.viewValue):e.viewValue}}}};throw Fo("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,ke(t));function $(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function b(e){var t;if(!r&&j(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}}(t.ngOptions,o,e)),v=w[0].createDocumentFragment();function y(e,t){var n=k.cloneNode(!1),t=(t.appendChild(n),e),e=n;(t.element=e).disabled=t.disabled,t.label!==e.label&&(e.label=t.label,e.textContent=t.label),t.value!==e.value&&(e.value=t.selectValue)}function $(){var e=h&&s.readValue();if(h)for(var t=h.items.length-1;0<=t;t--){var n=h.items[t];U(n.group)?Et(n.element.parentNode):Et(n.element)}h=g.getOptions();var r,i={};p&&o.prepend(a),h.items.forEach(function(e){var t;U(e.group)?((t=i[e.group])||(t=S.cloneNode(!1),v.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),y(e,t)):y(e,v)}),o[0].appendChild(v),u.$render(),u.$isEmpty(e)||(r=s.readValue(),g.trackBy||l?xe(e,r):e===r)||(u.$setViewValue(r),u.$render())}l?(u.$isEmpty=function(e){return!e||0===e.length},s.writeValue=function(e){h.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){e=h.getOptionFromViewValue(e);e&&(e.element.selected=!0)})},s.readValue=function(){var e=o.val()||[],t=[];return pe(e,function(e){e=h.selectValueMap[e];e&&!e.disabled&&t.push(h.getViewValueFromOption(e))}),t},g.trackBy&&e.$watchCollection(function(){if(ye(u.$viewValue))return u.$viewValue.map(function(e){return g.getTrackByValue(e)})},function(){u.$render()})):(s.writeValue=function(e){var t=h.getOptionFromViewValue(e);t?(o[0].value!==t.selectValue&&(d(),f(),o[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):(null===e||p?(d(),p||o.prepend(a),o.val(""),a.prop("selected",!0),a):(f(),o.prepend(m),o.val("?"),m.prop("selected",!0),m)).attr("selected",!0)},s.readValue=function(){var e=h.selectValueMap[o.val()];return e&&!e.disabled?(f(),d(),h.getViewValueFromOption(e)):null},g.trackBy&&e.$watch(function(){return g.getTrackByValue(u.$viewValue)},function(){u.$render()})),p?(a.remove(),b(a)(e),a.removeClass("ng-scope")):a=he(k.cloneNode(!1)),o.empty(),$(),e.$watchCollection(g.getWatchables,$)}}}}],Uo=["$locale","$interpolate","$log",function(p,m,g){var v=/{}/g,y=/^when(Minus)?(.+)$/;return{link:function(r,i,o){var a,e=o.count,s=o.$attr.when&&i.attr(o.$attr.when),u=o.offset||0,l=r.$eval(s)||{},c={},t=m.startSymbol(),n=m.endSymbol(),f=t+e+"-"+u+n,d=C.noop;function h(e){i.text(e||"")}pe(o,function(e,t){var n=y.exec(t);n&&(n=(n[1]?"-":"")+_(n[2]),l[n]=i.attr(o.$attr[t]))}),pe(l,function(e,t){c[t]=m(e.replace(v,f))}
1),r.$watch(e,function(e){var t=parseFloat(e),n=isNaN(t);(t=n||t in l?t:p.pluralCat(t-u))===a||n&&x(a)&&isNaN(a)||(d(),ge(n=c[t])?(null!=e&&g.debug("ngPluralize: no rule defined for '"+t+"' in "+s),d=q,h()):d=r.$watch(n,h),a=t)})}}}],Vo=["$parse","$animate","$compile",function(s,M,u){function O(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))}var N="$$NG_REMOVED",D=b("ngRepeat");return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,t){var x=t.ngRepeat,k=u.$$createComment("end ngRepeat",x),t=x.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!t)throw D("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",x);var n=t[1],r=t[2],S=t[3],i=t[4];if(!(t=n.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/)))throw D("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",n);var o,C,_,E,a,T=t[3]||t[1],A=t[2];if(!S||/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(S)&&!/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(S))return a={$id:Rt},i?o=s(i):(_=function(e,t){return Rt(t)},E=function(e){return e}),function(y,$,e,t,b){o&&(C=function(e,t,n){return A&&(a[A]=e),a[T]=t,a.$index=n,o(y,a)});var w=Se();y.$watchCollection(r,function(e){var n,t,r,i,o,a,s,u,l,c,f,d,h,p,m=$[0],g=Se();if(S&&(y[S]=e),j(e))l=e,u=C||_;else for(var v in u=C||E,l=[],e)H.call(e,v)&&"$"!==v.charAt(0)&&l.push(v);for(i=l.length,f=new Array(i),n=0;n<i;n++)if(o=e===l?n:l[n],a=e[o],s=u(o,a,n),w[s])c=w[s],delete w[s],g[s]=c,f[n]=c;else{if(g[s])throw pe(f,function(e){e&&e.scope&&(w[e.id]=e)}),D("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",x,s,a);f[n]={id:s,scope:void 0,clone:void 0},g[s]=!0}for(h in w){if(d=Ue((c=w[h]).clone),M.leave(d),d[0].parentNode)for(n=0,t=d.length;n<t;n++)d[n][N]=!0;c.scope.$destroy()}for(n=0;n<i;n++)if(o=e===l?n:l[n],a=e[o],(c=f[n]).scope){for(r=m;(r=r.nextSibling)&&r[N];);c.clone[0]!=r&&M.move(Ue(c.clone),null,m),m=(p=c).clone[p.clone.length-1],O(c.scope,n,T,a,A,o,i)}else b(function(e,t){c.scope=t;t=k.cloneNode(!1);e[e.length++]=t,M.enter(e,null,m),m=t,c.clone=e,g[c.id]=c,O(c.scope,n,T,a,A,o,i)});w=g})};throw D("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",S)}}}],Yo="ng-hide",Wo="ng-hide-animate",Bo=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngShow,function(e){r[e?"removeClass":"addClass"](t,Yo,{tempClasses:Wo})})}}}],zo=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngHide,function(e){r[e?"addClass":"removeClass"](t,Yo,{tempClasses:Wo})})}}}],Go=Ai(function(e,n,t){e.$watch(t.ngStyle,function(e,t){t&&e!==t&&pe(t,function(e,t){n.css(t,"")}),e&&n.css(e)},!0)}),Zo=["$animate","$compile",function(l,c){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(e,t,n,i){var o,n=n.ngSwitch||n.on,a=[],s=[],u=[];e.$watch(n,function(e){for(var t=0,n=s.length;t<n;++t)l.cancel(s[t]);for(t=s.length=0,n=u.length;t<n;++t){var r=Ue(a[t].clone);u[t].$destroy(),(s[t]=l.leave(r)).then(function(e,t){return function(){e.splice(t,1)}}(s,t))}a.length=0,u.length=0,(o=i.cases["!"+e]||i.cases["?"])&&pe(o,function(n){n.transclude(function(e,t){u.push(t);t=n.element;e[e.length++]=c.$$createComment("end ngSwitchWhen"),a.push({clone:e}),l.enter(e,t.parent(),t)})})})}}}],Jo=Ai({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),Xo=Ai({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ko=b("ngTransclude"),Qo=["$compile",function(t){return{restrict:"EAC",terminal:!0,compile:function(e){var a=t(e.contents());
1return e.empty(),function(e,n,t,r,i){if(!i)throw Ko("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",ke(n));t.ngTransclude===t.$attr.ngTransclude&&(t.ngTransclude="");t=t.ngTransclude||t.ngTranscludeSlot;function o(){a(e,function(e){n.append(e)})}i(function(e,t){e.length?n.append(e):(o(),t.$destroy())},null,t),t&&!i.isSlotFilled(t)&&o()}}}}],ea=["$templateCache",function(n){return{restrict:"E",terminal:!0,compile:function(e,t){"text/ng-template"==t.type&&(t=t.id,e=e[0].text,n.put(t,e))}}}],ta={$setViewValue:q,$render:q};function na(){return{restrict:"E",require:["select","?ngModel"],controller:ua,priority:1,link:{pre:function(e,n,t,r){var i,o,a,s=r[1];s&&((i=r[0]).ngModelCtrl=s,n.on("change",function(){e.$apply(function(){s.$setViewValue(i.readValue())})}),t.multiple)&&(i.readValue=function(){var t=[];return pe(n.find("option"),function(e){e.selected&&t.push(e.value)}),t},i.writeValue=function(e){var t=new Ft(e);pe(n.find("option"),function(e){e.selected=U(t.get(e.value))})},a=NaN,e.$watch(function(){a!==s.$viewValue||xe(o,s.$viewValue)||(o=k(s.$viewValue),s.$render()),a=s.$viewValue}),s.$isEmpty=function(e){return!e||0===e.length})},post:function(e,t,n,r){var i,o=r[1];o&&(i=r[0],o.$render=function(){i.writeValue(o.$viewValue)})}}}}function ra(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}}function ia(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){var i,o;r&&(o=n.ngPattern||n.pattern,n.$observe("pattern",function(e){if((e=V(e)&&0<e.length?new RegExp("^"+e+"$"):e)&&!e.test)throw b("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",o,e,ke(t));i=e||void 0,r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||ge(i)||i.test(t)})}}}function oa(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){var i;r&&(i=-1,n.$observe("maxlength",function(e){e=v(e);i=isNaN(e)?-1:e,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i})}}}function aa(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){var i;r&&(i=0,n.$observe("minlength",function(e){i=v(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i})}}}var sa,ua=["$element","$scope",function(t,e){var a=this,r=new Ft;a.ngModelCtrl=ta,a.unknownOption=he(g.document.createElement("option")),a.renderUnknownOption=function(e){e="? "+Rt(e)+" ?";a.unknownOption.val(e),t.prepend(a.unknownOption),t.val(e)},e.$on("$destroy",function(){a.renderUnknownOption=q}),a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.readValue=function(){return a.removeUnknownOption(),t.val()},a.writeValue=function(e){a.hasOption(e)?(a.removeUnknownOption(),t.val(e),""===e&&a.emptyOption.prop("selected",!0)):null==e&&a.emptyOption?(a.removeUnknownOption(),t.val("")):a.renderUnknownOption(e)},a.addOption=function(e,t){var n;t[0].nodeType!==We&&(He(e,'"option value"'),""===e&&(a.emptyOption=t),n=r.get(e)||0,r.put(e,n+1),a.ngModelCtrl.$render(),(e=t)[0].hasAttribute("selected"))&&(e[0].selected=!0)},a.removeOption=function(e){var t=r.get(e);t&&(1===t?(r.remove(e),""===e&&(a.emptyOption=void 0)):r.put(e,t-1))},a.hasOption=function(e){return!!r.get(e)},a.registerOption=function(e,n,r,t,i){var o;t?r.$observe("value",function(e){U(o)&&a.removeOption(o),o=e,a.addOption(e,n)}):i?e.$watch(i,function(e,t){r.$set("value",e),t!==e&&a.removeOption(t),a.addOption(e,n)}):a.addOption(r.value,n),n.on("$destroy",function(){a.removeOption(r.value),a.ngModelCtrl.$render()})}}],la=["$interpolate",function(n){return{restrict:"E",priority:100,compile:function(e,t){var o,a;return U(t.value)?o=n(t.value,!0):(a=n(e.text(),!0))||t.$set("value",e.text()),function(e,t,n){var r="$selectController",i=t.parent(),i=i.data(r)||i.parent().data(r);i&&i.registerOption(e,t,n,o,a)}}}}],ca=E({restrict:"E",terminal:!1});g.angular.bootstrap?g.console&&console.log("WARNING: Tried to load angular more than once."):(Ie||(r=X(),(i=ge(r)?g.jQuery:r?g[r]:void 0)&&i.fn.on?(me((he=i).fn,{scope:Tt.scope,isolateScope:Tt.isolateScope,controller:Tt.controller,injector:Tt.injector,inheritedData:Tt.inheritedData}),sa=i.cleanData,i.cleanData=function(e){for(var t,n,r=0;null!=(n=e[r]);r++)(t=i._data(n,"events"))&&t.$destroy&&i(n).triggerHandler("$destroy");sa(e)}
1):he=s,C.element=he,Ie=!0),me(C,{bootstrap:fe,copy:Z,extend:me,merge:L,equals:xe,element:he,forEach:pe,injector:Zt,noop:q,bind:De,toJson:ee,fromJson:te,identity:Te,isUndefined:ge,isDefined:U,isString:V,isFunction:$e,isObject:ve,isNumber:x,isElement:G,isArray:ye,version:Ze,isDate:y,lowercase:_,uppercase:S,callbacks:{$$counter:0},getTestability:je,$$minErr:b,$$csp:J,reloadWithDebugInfo:de}),(m=ze(g))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Yr}),e.provider("$compile",pn).directive({a:Mi,input:no,textarea:no,form:Li,script:ea,select:na,style:ca,option:la,ngBind:io,ngBindHtml:ao,ngBindTemplate:oo,ngClass:fo,ngClassEven:po,ngClassOdd:ho,ngCloak:mo,ngController:go,ngForm:Ii,ngHide:zo,ngIf:$o,ngInclude:bo,ngInit:xo,ngNonBindable:Ro,ngPluralize:Uo,ngRepeat:Vo,ngShow:Bo,ngStyle:Go,ngSwitch:Zo,ngSwitchWhen:Jo,ngSwitchDefault:Xo,ngOptions:qo,ngTransclude:Qo,ngModel:jo,ngList:lo,ngChange:so,pattern:ia,ngPattern:ia,required:ra,ngRequired:ra,minlength:aa,ngMinlength:aa,maxlength:oa,ngMaxlength:oa,ngValue:to,ngModelOptions:co}).directive({ngInclude:wo}).directive(Oi).directive(vo),e.provider({$anchorScroll:Jt,$animate:un,$animateCss:sn,$$animateJs:nn,$$animateQueue:rn,$$AnimateRunner:an,$$animateAsyncRun:on,$browser:cn,$cacheFactory:fn,$controller:kn,$document:Sn,$exceptionHandler:Cn,$filter:ai,$$forceReflow:_n,$interpolate:Bn,$interval:zn,$http:Un,$httpParamSerializer:Pn,$httpParamSerializerJQLike:Ln,$httpBackend:Yn,$xhrFactory:Vn,$jsonpCallbacks:Gn,$location:fr,$log:dr,$parse:Rr,$rootScope:Vr,$q:Fr,$$q:Hr,$sce:Gr,$sceDelegate:zr,$sniffer:Zr,$templateCache:dn,$templateRequest:Xr,$$testability:Kr,$timeout:Qr,$window:ri,$$rAF:Ur,$$jqLite:It,$$HashMap:Ht,$$cookieReader:oi})}]),C.module("ngLocale",[],["$provide",function(e){var o="one",a="other";e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n,r,i=0|e;return e=e,void 0===(t=t)&&(t=Math.min((r=e,-1==(n=(r+="").indexOf("."))?0:r.length-n-1),3)),r=Math.pow(10,t),1==i&&0=={v:t,f:(e*r|0)%r}.v?o:a}})}]),he(g.document).ready(function(){ce(g.document,fe)}))}(window),window.angular.$$csp().noInlineStyle||window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(u){"use strict";function e(e,o,t){var a=t.baseHref(),s=e[0];return function(e,t,n){var r,i;s.cookie=(e=e,t=t,r=(n=(n=n)||{}).expires,i=u.isDefined(n.path)?n.path:a,u.isUndefined(t)&&(r="Thu, 01 Jan 1970 00:00:00 GMT",t=""),u.isString(r)&&(r=new Date(r)),4096<(i=(t=(t=(t=(t=encodeURIComponent(e)+"="+encodeURIComponent(t))+(i?";path="+i:"")+(n.domain?";domain="+n.domain:""))+(r?";expires="+r.toUTCString():""))+(n.secure?";secure":"")).length+1)&&o.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+i+" > 4096 bytes)!"),t)}}u.module("ngCookies",["ng"]).provider("$cookies",[function(){var t=this.defaults={};function i(e){return e?u.extend({},t,e):t}this.$get=["$$cookieReader","$$cookieWriter",function(t,r){return{get:function(e){return t()[e]},getObject:function(e){e=this.get(e);return e&&u.fromJson(e)},getAll:function(){return t()},put:function(e,t,n){r(e,t,i(n))},putObject:function(e,t,n){this.put(e,u.toJson(t),n)},remove:function(e,t){r(e,void 0,i(t))}}}]}]),u.module("ngCookies").factory("$cookieStore",["$cookies",function(n){return{get:function(e){return n.getObject(e)},put:function(e,t){n.putObject(e,t)},remove:function(e){n.remove(e)}}}]),e.$inject=["$document","$log","$browser"],u.module("ngCookies").provider("$$cookieWriter",function(){this.$get=e})}((window,window.angular)),function(P){"use strict";var L=P.$$minErr("$resource"),s=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;function I(e,t){if(null==(n=t)||""===n||"hasOwnProperty"===n||!s.test("."+n))throw L("badmember",'Dotted member path "@{0}
1" is invalid.',t);for(var n,r=t.split("."),i=0,o=r.length;i<o&&P.isDefined(e);i++){var a=r[i];e=null!==e?e[a]:void 0}return e}function R(e,n){for(var t in n=n||{},P.forEach(n,function(e,t){delete n[t]}),e)!e.hasOwnProperty(t)||"$"===t.charAt(0)&&"$"===t.charAt(1)||(n[t]=e[t])}P.module("ngResource",["ng"]).provider("$resource",function(){var c=/^https?:\/\/[^\/]*/,a=this;this.defaults={stripTrailingSlashes:!0,cancellable:!1,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},delete:{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(E,i,T,A){var M=P.noop,O=P.forEach,N=P.extend,D=P.copy,j=P.isFunction;function l(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function o(e,t){this.template=e,this.defaults=N({},a.defaults,t),this.urlParams={}}return o.prototype={setUrlParams:function(n,r,e){var i,o,a=this,s=e||a.template,t="",u=a.urlParams={};O(s.split(/\W/),function(e){if("hasOwnProperty"===e)throw L("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(s)&&(u[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(s)})}),s=(s=s.replace(/\\:/g,":")).replace(c,function(e){return t=e,""}),r=r||{},O(a.urlParams,function(e,t){i=(r.hasOwnProperty(t)?r:a.defaults)[t],s=P.isDefined(i)&&null!==i?(o=e.isQueryParamValue?l(i,!0):l(i,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+"),s.replace(new RegExp(":"+t+"(\\W|$)","g"),function(e,t){return o+t})):s.replace(new RegExp("(/?):"+t+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),s=(s=a.defaults.stripTrailingSlashes?s.replace(/\/+$/,"")||"/":s).replace(/\/\.(?=\w+($|\?))/,"."),n.url=t+s.replace(/\/\\\./,"/."),O(r,function(e,t){a.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},function t(n,k,r,e){var S=new o(n,e);function C(e){return e.resource}function _(e){R(e||{},this)}return r=N({},a.defaults.actions,r),_.prototype.toJSON=function(){var e=N({},this);return delete e.$promise,delete e.$resolved,e},O(r,function(y,$){var b=/^(POST|PUT|PATCH)$/i.test(y.method),w=y.timeout,x=(P.isDefined(y.cancellable)?y:e&&P.isDefined(e.cancellable)?e:a.defaults).cancellable;w&&!P.isNumber(w)&&(i.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete y.timeout,w=null),_[$]=function(e,t,n,r){var i,o,a,s={};switch(arguments.length){case 4:a=r,o=n;case 3:case 2:if(!j(t)){s=e,i=t,o=n;break}if(j(e)){o=e,a=t;break}o=t,a=n;case 1:j(e)?o=e:b?i=e:s=e;break;case 0:break;default:throw L("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var u,l,c,f,d=this instanceof _,h=d?i:y.isArray?[]:new _(i),p={},m=y.interceptor&&y.interceptor.response||C,g=y.interceptor&&y.interceptor.responseError||void 0,v=(O(y,function(e,t){switch(t){default:p[t]=D(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!d&&x&&(u=T.defer(),p.timeout=u.promise,w)&&(l=A(u.resolve,w)),b&&(p.data=i),S.setUrlParams(p,N({},(c=i,v=y.params||{},f={},v=N({},k,v),O(v,function(e,t){j(e)&&(e=e(c)),f[t]=e&&e.charAt&&"@"==e.charAt(0)?I(c,e.substr(1)):e}),f),s),y.url),E(p).then(function(e){var t,n=e.data;if(n){if(P.isArray(n)!==!!y.isArray)throw L("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",$,y.isArray?"array":"object",P.isArray(n)?"array":"object",p.method,p.url);y.isArray?(h.length=0,O(n,function(e){"object"==typeof e?h.push(new _(e)):h.push(e)})):(t=h.$promise,R(n,h),h.$promise=t)}return e.resource=h,e},function(e){return(a||M)(e),T.reject(e)}));return v.finally(function(){h.$resolved=!0,!d&&x&&(h.$cancelRequest=P.noop,A.cancel(l),u=l=p.timeout=null)}),v=v.then(function(e){var t=m(e);return(o||M)(t,e.headers),t},g),d?v:(h.$promise=v,h.$resolved=!1,x&&(h.$cancelRequest=u.resolve),h)},_.prototype["$"+$]=function(e,t,n){return j(e)&&(n=t,t=e,e={}),(e=_[$].call(this,e,this,t,n)).$promise||e}}),_.bind=function(e){return t(n,N({},k,e),r)},_}}]})}((window,window.angular)),function(h){"use strict";var p=h.$$minErr("$sanitize");var m=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,g=/^<\/\s*([\w:-]+)[^>]*>/,v=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,y=/^</,$=/^<\//,b=/<!--(.*?)-->/g,w=/<!DOCTYPE([^>]*?)>/i,x=/<!\[CDATA\[(.*?)]]>/g,t=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n=/([^\#-~| |!])/g,k=i("area,br,col,hr,img,wbr"),e=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),r=i("rp,rt"),S=h.extend({},r,e),C=h.extend({},e,i("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")),_=h.extend({},r,i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),e=i("animate,animateColor,animateMotion,animateTransform,circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,set,stop,svg,switch,text,title,tspan,use"),E=i("script,style"),s=h.extend({},k,C,_,S,e),u=i("background,cite,href,longdesc,src,usemap,xlink:href"),r=i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
1olspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,target,title,type,valign,value,vspace,width"),e=i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,attributeName,attributeType,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode
1-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan"),l=h.extend({},u,e,r);function i(e){for(var t={},n=e.split(","),r=0;r<n.length;r++)t[n[r]]=!0;return t}var o=document.createElement("pre"),a=/^(\s*)([\s\S]*?)(\s*)$/;function T(e){var t,n;return e?(t=(e=a.exec(e))[1],n=e[3],(e=e[2])&&(o.innerHTML=e.replace(/</g,"<"),e="textContent"in o?o.textContent:o.innerText),t+e+n):""}function c(e){return e.replace(/&/g,"&").replace(t,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(n,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function A(e,o){var n=!1,a=h.bind(e,e.push);return{start:function(i,e,t){i=h.lowercase(i),(n=!n&&E[i]?i:n)||!0!==s[i]||(a("<"),a(i),h.forEach(e,function(e,t){var n=h.lowercase(t),r="img"===i&&"src"===n||"background"===n;!0!==l[n]||!0===u[n]&&!o(e,r)||(a(" "),a(t),a('="'),a(c(e)),a('"'))}),a(t?"/>":">"))},end:function(e){e=h.lowercase(e),n||!0!==s[e]||(a("</"),a(e),a(">")),e==n&&(n=!1)},chars:function(e){n||a(c(e))}}}h.module("ngSanitize",[]).provider("$sanitize",function(){this.$get=["$$sanitizeUri",function(d){return function(e){var t,n,r,i,o=[],a=e,s=A(o,function(e,t){return!/^unsafe/.test(d(e,t))}),u=[],l=a="string"!=typeof a?null==a?"":""+a:a;for(u.last=function(){return u[u.length-1]};a;){if(n=!(i=""),u.last()&&E[u.last()]?(a=a.replace(new RegExp("(.*)<\\s*\\/\\s*"+u.last()+"[^>]*>","i"),function(e,t){return t=t.replace(b,"$1").replace(x,"$1"),s.chars&&s.chars(T(t)),""}),f(0,u.last())):(0===a.indexOf("\x3c!--")?0<=(t=a.indexOf("--",4))&&a.lastIndexOf("--\x3e",t)===t&&(s.comment&&s.comment(a.substring(4,t)),a=a.substring(t+3),n=!1):w.test(a)?(r=a.match(w))&&(a=a.replace(r[0],""),n=!1):$.test(a)?(r=a.match(g))&&(a=a.substring(r[0].length),r[0].replace(g,f),n=!1):y.test(a)&&((r=a.match(m))?(r[4]&&(a=a.substring(r[0].length),r[0].replace(m,c)),n=!1):(i+="<",a=a.substring(1))),n&&(t=a.indexOf("<"),i+=t<0?a:a.substring(0,t),a=t<0?"":a.substring(t),s.chars)&&s.chars(T(i))),a==l)throw p("badparse","The sanitizer was unable to parse the following block of html: {0}",a);l=a}function c(e,t,n,r){if(t=h.lowercase(t),C[t])for(;u.last()&&_[u.last()];)f(0,u.last());S[t]&&u.last()==t&&f(0,t),(r=k[t]||!!r)||u.push(t);var o={};n.replace(v,function(e,t,n,r,i){o[t]=T(n||r||i||"")}),s.start&&s.start(t,o,r)}function f(e,t){var n,r=0;if(t=h.lowercase(t))for(r=u.length-1;0<=r&&u[r]!=t;r--);if(0<=r){for(n=u.length-1;r<=n;n--)s.end&&s.end(u[n]);u.length=r}}return f(),o.join("")}}]}),h.module("ngSanitize").filter("linky",["$sanitize",function(c){var f=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"ââ]/,d=/^mailto:/;return function(e,t){if(!e)return e;for(var n,r,i,o=e,a=[];n=o.match(f);){r=n[0],n[2]||n[4]||(r=(n[3]?"http://":"mailto:")+r),i=n.index,l(o.substr(0,i)),u=s=void 0;var s=r,u=n[0].replace(d,"");a.push("<a "),h.isDefined(t)&&a.push('target="',t,'" '),a.push('href="',s.replace(/"/g,"""),'">'),l(u),a.push("</a>"),o=o.substring(i+n[0].length)}return l(o),c(a.join(""));function l(e){var t;e&&a.push((e=e,A(t=[],h.noop).chars(e),t.join("")))}}}])}((window,window.angular)),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(I,b){"use strict";var R,F=I.isDefined,H=I.isFunction,q=I.isString,U=I.isObject,V=I.isArray,Y=I.forEach,W=I.extend,B=I.copy,p=I.toJson;function z(e,t){return W(new(W(function(){},{prototype:e})),t)}function w(n){return Y(arguments,function(e){e!==n&&Y(e,function(e,t){n.hasOwnProperty(t)||(n[t]=e)})}),n}function h(e){var n;return Object.keys?Object.keys(e):(n=[],Y(e,function(e,t){n.push(t)}),n)}function G(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,Number(n)||0);var r=e.length>>>0,i=Number(n)||0;for((i=i<0?Math.ceil(i):Math.floor(i))<0&&(i+=r);i<r;i++)if(i in e&&e[i]===t)return i;return-1}function Z(e,t,n,r){var i,o,a=function(e,t){var n,r=[];for(n in e.path){if(e.path[n]!==t.path[n])break;r.push(e.path[n])}return r}(n,r),s={},u=[];for(o in a)if(a[o]&&a[o].params&&(i=h(a[o].params)).length)for(var l in i)0<=G(u,i[l])||(u.push(i[l]),s[i[l]]=e[i[l]]);return W({},s,t)}function f(e,t,n){if(!n)for(var r in n=[],e)n.push(r);for(var i=0;i<n.length;i++){var o=n[i];if(e[o]!=t[o])return!1}return!0}function J(e,t){var n={};return Y(e,function(e){n[e]=t[e]}),n}function X(t){var n={},e=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1
1));return Y(e,function(e){e in t&&(n[e]=t[e])}),n}function x(e){var t,n={},r=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));for(t in e)-1==G(r,t)&&(n[t]=e[t]);return n}function m(e,n){var r=V(e),i=r?[]:{};return Y(e,function(e,t){n(e,t)&&(i[r?i.length:t]=e)}),i}function y(e,n){var r=V(e)?[]:{};return Y(e,function(e,t){r[t]=n(e,t)}),r}function e(g,v){var e={},u=[],y=e,$=W(g.when(e),{$$promises:e,$$values:e});this.study=function(i){var a,p,o,s;if(U(i))return a=h(i||{}),p=[],o=[],s={},Y(i,function t(e,n){if(2!==s[n]){if(o.push(n),1===s[n])throw o.splice(0,G(o,n)),new Error("Cyclic dependency: "+o.join(" -> "));var r;s[n]=1,q(e)?p.push(n,[function(){return v.get(e)}],u):(r=v.annotate(e),Y(r,function(e){e!==n&&i.hasOwnProperty(e)&&t(i[e],e)}),p.push(n,e,r)),o.pop(),s[n]=2}}),i=o=s=null,function(s,e,u){if(m(s)&&u===b&&(u=e,e=s,s=null),s){if(!U(s))throw new Error("'locals' must be an object")}else s=y;if(e){if(!m(e))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else e=$;var t=g.defer(),l=t.promise,c=l.$$promises={},f=W({},s),n=1+p.length/3,r=!1;function d(){--n||(r||w(f,e.$$values),l.$$values=f,l.$$promises=l.$$promises||!0,delete l.$$inheritedValues,t.resolve(f))}function h(e){l.$$failure=e,t.reject(e)}if(F(e.$$failure))h(e.$$failure);else{e.$$inheritedValues&&w(f,x(e.$$inheritedValues,a)),W(c,e.$$promises),e.$$values?(r=w(f,x(e.$$values,a)),l.$$inheritedValues=x(e.$$values,a),d()):(e.$$inheritedValues&&(l.$$inheritedValues=x(e.$$inheritedValues,a)),e.then(d,h));for(var i=0,o=p.length;i<o;i+=3)s.hasOwnProperty(p[i])?d():function(t,e,n){var r=g.defer(),i=0;function o(e){r.reject(e),h(e)}Y(n,function(t){c.hasOwnProperty(t)&&!s.hasOwnProperty(t)&&(i++,c[t].then(function(e){f[t]=e,--i||a()},o))}),i||a();function a(){if(!F(l.$$failure))try{r.resolve(v.invoke(e,u,f)),r.promise.then(function(e){f[t]=e,d()},o)}catch(e){o(e)}}c[t]=r.promise}(p[i],p[i+1],p[i+2])}return l};throw new Error("'invocables' must be an object");function m(e){return U(e)&&e.then&&e.$$promises}},this.resolve=function(e,t,n,r){return this.study(e)(t,n,r)}}function t(n,r,i){this.fromConfig=function(e,t,n){return F(e.template)?this.fromString(e.template,t):F(e.templateUrl)?this.fromUrl(e.templateUrl,t):F(e.templateProvider)?this.fromProvider(e.templateProvider,t,n):null},this.fromString=function(e,t){return H(e)?e(t):e},this.fromUrl=function(e,t){return null==(e=H(e)?e(t):e)?null:n.get(e,{cache:r,headers:{Accept:"text/html"}}).then(function(e){return e.data})},this.fromProvider=function(e,t,n){return i.invoke(e,null,n||{params:t})}}function u(a,s,e){s=W({params:{}},U(s)?s:{});var t,n,r,i=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,o=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,u="^",l=0,c=this.segments=[],f=e?e.params:{},d=this.params=e?e.params.$$new():new R.ParamSet,h=[];function p(e,t,n,r){if(h.push(e),f[e])return f[e];if(!/^\w+([-.]+\w+)*(?:\[\])?$/.test(e))throw new Error("Invalid parameter name '"+e+"' in pattern '"+a+"'");if(d[e])throw new Error("Duplicate parameter name '"+e+"' in pattern '"+a+"'");return d[e]=new R.Param(e,t,n,r),d[e]}function m(e,t,n,r){var i=["",""],o=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return o;switch(n){case!1:i=["(",")"+(r?"?":"")];break;case!0:o=o.replace(/\/$/,""),i=["(?:/(",")|/)?"];break;default:i=["("+n+"|",")?"]}return o+i[0]+t+i[1]}function g(e,t){var n,r=e[2]||e[3],i=s.params[r],o=a.substring(l,e.index),t=t?e[4]:e[4]||("*"==e[1]?".*":null);return{id:r,regexp:t,segment:o,type:n=t?R.type(t)||z(R.type("string"),{pattern:new RegExp(t,s.caseInsensitive?"i":b)}):n,cfg:i}}for(this.source=a;(t=i.exec(a))&&!(0<=(n=g(t,!1)).segment.indexOf("?"));)r=p(n.id,n.type,n.cfg,"path"),u+=m(n.segment,r.type.pattern.source,r.squash,r.isOptional),c.push(n.segment),l=i.lastIndex;var v=(e=a.substring(l)).indexOf("?");if(0<=v){var y=this.sourceSearch=e.substring(v),e=e.substring(0,v);if(this.sourcePath=a.substring(0,l+v),0<y.length)for(l=0;t=o.exec(y);)r=p((n=g(t,!0)).id,n.type,n.cfg,"search"),l=i.lastIndex}else this.sourcePath=a,this.sourceSearch="";u+=m(e)+(!1===s.strict?"/?":"")+"$",c.push(e),this.regexp=new RegExp(u,s.caseInsensitive?"i":b),this.prefix=c[0],this.$$paramNames=h}function g(e){W(this,e)}function v(){R=this;var n=!1,r=!0,l=!1;function e(e){return null!=e?e.toString().replace(/~/g,"~~").replace(/\//g,"~2F"):e}var c,f={},i=!0,o=[],t={string:{encode:e,decode:function(e){return null!=e?e.toString().replace(/~2F/g,"/").replace(/~~/g,"~"):e},is:function(e){return null==e||!F(e)||"string"==typeof e},pattern:/[^/]*/},int:{encode:e,decode:function(e){return parseInt(e,10)},is:function(e){return F(e)&&this.decode(e.toString())===e},pattern:/\d+/},bool:{encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:function(e){return!0===e||!1===e},pattern:/0|1/},date:{encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):b},decode:function(e){return this.is(e)?e:(e=this.capture.exec(e))?new Date(e[1],e[2]-1,e[3]):b},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(e,t){return this.is(e)&&this.is(t)&&e.toISOString()===t.toISOString()},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/},json:{encode:I.toJson,decode:I.fromJson,is:I.isObject,equals:I.equals,pattern:/[^/]*/},any:{encode:I.identity,decode:I.identity,equals:I.equals,pattern:/.*/}};function d(e){return H(e)||V(e)&&H(e[e.length-1])}function a(){for(;o.length;){var e=o.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");I.extend(f[e.name],c.invoke(e.def))}}function s(e){W(this,e||{})}v.$$getDefaultValue=function(e){if(!d(e.value))return e.value;if(c)return c.invoke(e.value);throw new Error("Injectable functions cannot be called at configuration time")},this.caseInsensitive=function(e){return n=F(e)?e:n},this.strictMode=function(e){return r=F(e)?e:r},this.defaultSquashPolicy=function(e){if(!F(e))return l;if(!0===e||!1===e||q(e))return l=e;throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string")},this.compile=function(e,t){return new u(e,W({strict:r,caseInsensitive:n},t))},this.isMatcher=function(n){var r;return!!U(n)&&(r=!0,Y(u.prototype,function(e,t){H(e)&&(r=r&&F(n[t])&&H(n[t]))}),r)},this.type=function(e,t,n){if(!F(t))return f[e];
1if(f.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return f[e]=new g(W({name:e},t)),n&&(o.push({name:e,def:n}),i||a()),this},Y(t,function(e,t){f[t]=new g(W({name:t},e))}),f=z(f,{}),this.$get=["$injector",function(e){return c=e,i=!1,a(),Y(t,function(e,t){f[t]||(f[t]=new g(e))}),this}],this.Param=function(r,e,i,t){var o=this,n=(i=function(e){var t=U(e)?h(e):[];-1===G(t,"value")&&-1===G(t,"type")&&-1===G(t,"squash")&&-1===G(t,"array")&&(e={value:e});return e.$$fn=d(e.value)?e.value:function(){return e.value},e}(i),e=function(e,t,n){if(e.type&&t)throw new Error("Param '"+r+"' has two type configurations.");return t||(e.type?I.isString(e.type)?f[e.type]:e.type instanceof g?e.type:new g(e.type):"config"===n?f.any:f.string)}(i,e,t),n={array:"search"===t&&"auto"},u=r.match(/\[\]$/)?{array:!0}:{},W(n,u,i).array),a=("string"!==(e=n?e.$asArray(n,"search"===t):e).name||n||"path"!==t||i.value!==b||(i.value=""),i.value!==b),s=function(e,t){e=e.squash;if(!t||!1===e)return!1;if(!F(e)||null==e)return l;if(!0===e||q(e))return e;throw new Error("Invalid squash policy: '"+e+"'. Valid policies: false, true, or arbitrary string")}(i,a),u=function(e,t,n,r){var i,n=[{from:"",to:n||t?b:""},{from:null,to:n||t?b:""}];t=V(e.replace)?e.replace:[],q(r)&&t.push({from:r,to:b});return i=y(t,function(e){return e.from}),m(n,function(e){return-1===G(i,e.from)}).concat(t)}(i,n,a,s);W(this,{id:r,type:e,location:t,array:n,squash:s,replace:u,isOptional:a,value:function(e){var t,n;if(t=e,e=(r=y(m(o.replace,(n=t,function(e){return e.from===n})),function(e){return e.to})).length?r[0]:t,F(e))return o.type.$normalize(e);if(!c)throw new Error("Injectable functions cannot be called at configuration time");var r=c.invoke(i.$$fn);if(null===r||r===b||o.type.is(r))return r;throw new Error("Default value ("+r+") for parameter '"+o.id+"' is not an instance of Type ("+o.type.name+")")},dynamic:b,config:i,toString:function(){return"{Param:"+r+" "+e+" squash: '"+s+"' optional: "+a+"}"}})},s.prototype={$$new:function(){return z(this,W(new s,{$$parent:this}))},$$keys:function(){for(var t=[],e=[],n=this,r=h(s.prototype);n;)e.push(n),n=n.$$parent;return e.reverse(),Y(e,function(e){Y(h(e),function(e){-1===G(t,e)&&-1===G(r,e)&&t.push(e)})}),t},$$values:function(t){var n={},r=this;return Y(r.$$keys(),function(e){n[e]=r[e].value(t&&t[e])}),n},$$equals:function(r,i){var o=!0,a=this;return Y(a.$$keys(),function(e){var t=r&&r[e],n=i&&i[e];a[e].type.equals(t,n)||(o=!1)}),o},$$validates:function(e){for(var t,n,r,i=this.$$keys(),o=0;o<i.length&&(t=this[i[o]],(n=e[i[o]])!==b&&null!==n||!t.isOptional);o++){if(r=t.type.$normalize(n),!t.type.is(r))return!1;if(r=t.type.encode(r),I.isString(r)&&!t.type.pattern.exec(r))return!1}return!0},$$parent:b},this.ParamSet=s}function n(c,s){var f,d=[],h=null,p=!1;function u(e,t,n){return!!n&&(e=e.invoke(t,t,{$match:n}),!F(e)||e)}function e(a,e,i,t,s){var o,u=t.baseHref(),n=a.url();function r(e){if(!e||!e.defaultPrevented){o&&a.url();o=b;for(var t=d.length,n=0;n<t;n++)if(r(d[n]))return;h&&r(h)}function r(e){e=e(i,a);return e&&(q(e)&&a.replace().url(e),1)}}function l(){return f=f||e.$on("$locationChangeSuccess",r)}return p||l(),{sync:function(){r()},listen:l,update:function(e){e?n=a.url():a.url()!==n&&(a.url(n),a.replace())},push:function(e,t,n){e=e.format(t||{});null!==e&&t&&t["#"]&&(e+="#"+t["#"]),a.url(e),o=n&&n.$$avoidResync?a.url():b,n&&n.replace&&a.replace()},href:function(e,t,n){var r,i,o;return e.validates(t)?(r=c.html5Mode(),r=(r=I.isObject(r)?r.enabled:r)&&s.history,e=e.format(t),n=n||{},null!==(e=r||null===e?e:"#"+c.hashPrefix()+e)&&t&&t["#"]&&(e+="#"+t["#"]),t=e,i=r,o=n.absolute,e="/"===u?t:i?u.slice(0,-1)+t:o?u.slice(1)+t:t,n.absolute&&e?(i=!r&&e?"/":"",o=80===(o=a.port())||443===o?"":":"+o,[a.protocol(),"://",a.host(),o,i,e].join("")):e):null}}}this.rule=function(e){if(H(e))return d.push(e),this;throw new Error("'rule' must be a function")},this.otherwise=function(e){if(q(e)){var t=e;e=function(){return t}}else if(!H(e))throw new Error("'rule' must be a function");return h=e,this},this.when=function(e,t){var i,o=q(t);if(q(e)&&(e=s.compile(e)),!o&&!H(t)&&!V(t))throw new Error("invalid 'handler' in when()");var n,r={matcher:function(n,r){return o&&(i=s.compile(r),r=["$match",function(e){return i.format(e)}]),W(function(e,t){return u(e,r,n.exec(t.path(),t.search()))},{prefix:q(n.prefix)?n.prefix:""})},regex:function(n,r){if(n.global||n.sticky)throw new Error("when() RegExp must not be global or sticky");return o&&(i=r,r=["$match",function(e){return n=e,i.replace(/\$(\$|\d{1,2})/,function(e,t){return n["$"===t?0:Number(t)]});var n}]),W(function(e,t){return u(e,r,n.exec(t.path()))},{prefix:null!=(e=/^\^((?:\\[^a-zA-Z0-9]|[^\\\[\]\^$*+?.()|{}]+)*)/.exec((e=n).source))?e[1].replace(/\\(.)/g,"$1"):""});var e}},a={matcher:s.isMatcher(e),regex:e instanceof RegExp};for(n in a)if(a[n])return this.rule(r[n](e,t));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(e){p=e=e===b?!0:e},(this.$get=e).$inject=["$location","$rootScope","$injector","$browser","$sniffer"]}function r(a,r){var D,j,l={},s={},P="abstract",u={parent:function(e){return F(e.parent)&&e.parent?L(e.parent):(e=/^(.+)\.[^.]+$/.exec(e.name))?L(e[1]):D},data:function(e){return e.parent&&e.parent.data&&(e.data=e.self.data=z(e.parent.data,e.data)),e.data},url:function(e){var t=e.url,n={params:e.params||{}};if(q(t))return"^"==t.charAt(0)?r.compile(t.substring(1),n):(e.parent.navigable||D).url.concat(t,n);if(!t||r.isMatcher(t))return t;throw new Error("Invalid url '"+t+"' in state '"+e+"'")},navigable:function(e){return e.url?e:e.parent?e.parent.navigable:null},ownParams:function(e){var n=e.url&&e.url.params||new R.ParamSet;return Y(e.params||{},function(e,t){n[t]||(n[t]=new R.Param(t,null,e,"config"))}),n},params:function(e){var t=X(e.ownParams,e.ownParams.$$keys());return e.parent&&e.parent.params?W(e.parent.params.$$new(),t):new R.ParamSet},views:function(n){var r={};return Y(F(n.views)?n.views:{"":n},function(e,t){t.indexOf("@")<0&&(t+="@"+n.parent.name),r[t]=e}),r},path:function(e){return e.parent?e.parent.path.concat(e):[]},includes:function(e){var t=e.parent?W({},e.parent.includes):{};return t[e.name]=!0,t},$delegates:{}};function L(e,t){if(!e)return b;var n=q(e),r=n?e:e.name;if(0===(u=r).indexOf(".")||0===u.indexOf("^")){if(!t)throw new Error("No reference point given for path '"+r+"'");t=L(t);for(var i=r.split("."),o=0,a=i.length,s=t;o<a;o++)if(""===i[o]&&0===o)s=t;else{if("^"!==i[o])break;if(!s.parent)throw new Error("Path '"+r+"' not valid for state '"+t.name+"'");s=s.parent}i=i.slice(o).join("."),r=s.name+(s.name&&i?".":"")+i}var u=l[r];return!u||!n&&u!==e&&u.self!==e?b:u}function c(n){var e=(n=z(n,{self:n,resolve:n.resolve||{},toString:function(){return this.name}})).name;if(!q(e)||0<=e.indexOf("@"))throw new Error("State must have a valid name");if(l.hasOwnProperty(e))throw new Error("State '"+e+"' is already defined");var t,r,i=-1!==e.indexOf(".")?e.substring(0,e.lastIndexOf(".")):q(n.parent)?n.parent:U(n.parent)&&q(n.parent.name)?n.parent.name:"";if(i&&!l[i])return i=i,t=n.self,s[i]||(s[i]=[]),void s[i].push(t);for(r in u)H(u[r])&&(n[r]=u[r](n,u.$delegates[r]));!(l[e]=n)[P]&&n.url&&a.when(n.url,["$match","$stateParams",function(e,t){j.$current.navigable==n&&f(e,t)||j.transitionTo(n,e,{inherit:!0,location:!1})}]);for(var o=s[e]||[];o.length;)c(o.shift());return n}function e(x,k,S,C,_,E,T,e,t){var A=k.reject(new Error("transition superseded")),M=k.reject(new Error("transition prevented")),O=k.reject(new Error("transition aborted")),N=k.reject(new Error("transition failed"));return D.locals={resolve:null,globals:{$stateParams:{}}},(j={params:{},current:D.self,$current:D,transition:null,reload:function(e){return j.transitionTo(j.current,E,{reload:e||!0,inherit:!1,notify:!0})},go:function(e,t,n){return j.transitionTo(e,t,W({inherit:!0,relative:j.$current},n))}}).transitionTo=function(r,i,o){i=i||{},o=W({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},o||{});var e,t,n,a=j.$current,s=j.params,u=a.path,l=L(r,o.relative),c=i["#"];if(!F(l)){var f={to:r,toParams:i,options:o},d=(e=f,t=a.self,d=o,(t=x.$broadcast("$stateNotFound",e,t,s)).defaultPrevented?(T.update(
1),O):t.retry?d.$retry?(T.update(),N):((n=j.transition=k.when(t.retry)).then(function(){return n!==j.transition?A:(e.options.$retry=!0,j.transitionTo(e.to,e.toParams,e.options))},function(){return O}),T.update(),n):null);if(d)return d;if(r=f.to,i=f.toParams,l=L(r,(o=f.options).relative),!F(l)){if(o.relative)throw new Error("Could not resolve '"+r+"' from state '"+o.relative+"'");throw new Error("No such state '"+r+"'")}}if(l[P])throw new Error("Cannot transition to abstract state '"+r+"'");if(o.inherit&&(i=Z(E,i||{},j.$current,l)),!l.params.$$validates(i))return N;i=l.params.$$values(i);var h=(r=l).path,p=0,m=h[p],g=D.locals,v=[];if(o.reload){if(q(o.reload)||U(o.reload)){if(U(o.reload)&&!o.reload.name)throw new Error("Invalid reload state object");var y=!0===o.reload?u[0]:L(o.reload);if(o.reload&&!y)throw new Error("No such reload state '"+(q(o.reload)?o.reload:o.reload.name)+"'");for(;m&&m===u[p]&&m!==y;)g=v[p]=m.locals,m=h[++p]}}else for(;m&&m===u[p]&&m.ownParams.$$equals(i,s);)g=v[p]=m.locals,m=h[++p];if(function(e,t,n,r,i,o){function a(t,e,n){var r=t.params.$$keys().filter(function(e){return"search"!=t.params[e].location}),r=X.apply({},[t.params].concat(r));return new R.ParamSet(r).$$equals(e,n)}if(!o.reload&&e===n&&(i===n.locals||!1===e.self.reloadOnSearch&&a(n,r,t)))return 1}(r,i,a,s,g,o))return c&&(i["#"]=c),j.params=i,B(j.params,E),B(J(r.params.$$keys(),E),r.locals.globals.$stateParams),o.location&&r.navigable&&r.navigable.url&&(T.push(r.navigable.url,i,{$$avoidResync:!0,replace:"replace"===o.location}),T.update(!0)),j.transition=null,k.when(j.current);if(i=J(r.params.$$keys(),i||{}),c&&(i["#"]=c),o.notify&&x.$broadcast("$stateChangeStart",r.self,i,a.self,s,o).defaultPrevented)return x.$broadcast("$stateChangeCancel",r.self,i,a.self,s),null==j.transition&&T.update(),M;for(var $=k.when(g),b=p;b<h.length;m=h[++b])g=v[b]=z(g),$=function(o,e,t,n,a,s){var u=t?e:J(o.params.$$keys(),e),t={$stateParams:u},e=(a.resolve=_.resolve(o.resolve,t,a.resolve,o),[a.resolve.then(function(e){a.globals=e})]);n&&e.push(n);return k.all(e).then(function(){var e=[];return Y(o.views,function(n,r){var i=n.resolve&&n.resolve!==o.resolve?n.resolve:{};i.$template=[function(){return S.load(r,{view:n,locals:a.globals,params:u,notify:s.notify})||""}],e.push(_.resolve(i,a.globals,a.resolve,o).then(function(e){var t;H(n.controllerProvider)||V(n.controllerProvider)?(t=I.extend({},i,a.globals),e.$$controller=C.invoke(n.controllerProvider,null,t)):e.$$controller=n.controller,e.$$state=o,e.$$controllerAs=n.controllerAs,a[r]=e}))}),k.all(e).then(function(){return a.globals})}).then(function(e){return a})}(m,i,m===r,$,g,o);var w=j.transition=$.then(function(){var e,t,n;if(j.transition!==w)return A;for(e=u.length-1;p<=e;e--)(n=u[e]).self.onExit&&C.invoke(n.self.onExit,n.self,n.locals.globals),n.locals=null;for(e=p;e<h.length;e++)(t=h[e]).locals=v[e],t.self.onEnter&&C.invoke(t.self.onEnter,t.self,t.locals.globals);return j.transition!==w?A:(j.$current=r,j.current=r.self,j.params=i,B(j.params,E),j.transition=null,o.location&&r.navigable&&T.push(r.navigable.url,r.navigable.locals.globals.$stateParams,{$$avoidResync:!0,replace:"replace"===o.location}),o.notify&&x.$broadcast("$stateChangeSuccess",r.self,i,a.self,s),T.update(!0),j.current)},function(e){return j.transition!==w?A:(j.transition=null,x.$broadcast("$stateChangeError",r.self,i,a.self,s,e).defaultPrevented||T.update(),k.reject(e))});return w},j.is=function(e,t,n){e=L(e,(n=W({relative:j.$current},n||{})).relative);return F(e)?j.$current===e&&(!t||f(e.params.$$values(t),E)):b},j.includes=function(e,t,n){if(n=W({relative:j.$current},n||{}),q(e)&&-1<e.indexOf("*")){if(!function(e){for(var t=e.split("."),n=j.$current.name.split("."),r=0,i=t.length;r<i;r++)"*"===t[r]&&(n[r]="*");return"**"===t[0]&&(n=n.slice(G(n,t[1]))).unshift("**"),"**"===t[t.length-1]&&(n.splice(G(n,t[t.length-2])+1,Number.MAX_VALUE),n.push("**")),t.length==n.length&&n.join("")===t.join("")}(e))return!1;e=j.$current.name}e=L(e,n.relative);return F(e)?!!F(j.$current.includes[e.name])&&(!t||f(e.params.$$values(t),E,h(t))):b},j.href=function(e,t,n){e=L(e,(n=W({lossy:!0,inherit:!0,absolute:!1,relative:j.$current},n||{})).relative);if(!F(e))return null;n.inherit&&(t=Z(E,t||{},j.$current,e));
1var r=e&&n.lossy?e.navigable:e;return r&&r.url!==b&&null!==r.url?T.href(r.url,J(e.params.$$keys().concat("#"),t||{}),{absolute:n.absolute}):null},j.get=function(e,t){return 0===arguments.length?y(h(l),function(e){return l[e].self}):(e=L(e,t||j.$current))&&e.self?e.self:null},j}(D=c({name:"",url:"^",views:null,abstract:!0})).navigable=null,this.decorator=function(e,t){return!q(e)||F(t)?(H(t)&&q(e)&&(u[e]&&!u.$delegates[e]&&(u.$delegates[e]=u[e]),u[e]=t),this):u[e]},this.state=function(e,t){U(e)?t=e:t.name=e;return c(t),this},(this.$get=e).$inject=["$rootScope","$q","$view","$injector","$resolve","$stateParams","$urlRouter","$location","$urlMatcherFactory"]}function i(){function e(e,r){return{load:function(e,t){var n;return n=(t=W({template:null,controller:null,view:null,locals:null,notify:!0,async:!0,params:{}},t)).view?r.fromConfig(t.view,t.params,t.locals):n}}}(this.$get=e).$inject=["$rootScope","$templateFactory"]}I.module("ui.router.util",["ng"]),I.module("ui.router.router",["ui.router.util"]),I.module("ui.router.state",["ui.router.router","ui.router.util"]),I.module("ui.router",["ui.router.state"]),I.module("ui.router.compat",["ui.router"]),e.$inject=["$q","$injector"],I.module("ui.router.util").service("$resolve",e),t.$inject=["$http","$templateCache","$injector"],I.module("ui.router.util").service("$templateFactory",t),u.prototype.concat=function(e,t){var n={caseInsensitive:R.caseInsensitive(),strict:R.strictMode(),squash:R.defaultSquashPolicy()};return new u(this.sourcePath+e+this.sourceSearch,W(n,t),this)},u.prototype.toString=function(){return this.source},u.prototype.exec=function(e,t){var n=this.regexp.exec(e);if(!n)return null;t=t||{};var r,i,o,a,s,u=this.parameters(),l=u.length,c=this.segments.length-1,f={};if(c!=n.length-1)throw new Error("Unbalanced capture group in route '"+this.source+"'");function d(e){function t(e){return e.split("").reverse().join("")}e=y(t(e).split(/-(?!\\)/),t);return y(e,function(e){return e.replace(/\\-/g,"-")}).reverse()}for(r=0;r<c;r++){for(o=u[r],a=this.params[o],s=n[r+1],i=0;i<a.replace.length;i++)a.replace[i].from===s&&(s=a.replace[i].to);s&&!0===a.array&&(s=d(s)),F(s)&&(s=a.type.decode(s)),f[o]=a.value(s)}for(;r<l;r++){for(f[o=u[r]]=this.params[o].value(t[o]),a=this.params[o],s=t[o],i=0;i<a.replace.length;i++)a.replace[i].from===s&&(s=a.replace[i].to);F(s)&&(s=a.type.decode(s)),f[o]=a.value(s)}return f},u.prototype.parameters=function(e){return F(e)?this.params[e]||null:this.$$paramNames},u.prototype.validates=function(e){return this.params.$$validates(e)},u.prototype.format=function(e){e=e||{};var t=this.segments,n=this.parameters(),r=this.params;if(!this.validates(e))return null;var i,o=!1,a=t.length-1,s=n.length,u=t[0];function l(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})}for(i=0;i<s;i++){var c,f,d=i<a,h=n[i],p=r[h],m=p.value(e[h]),g=p.isOptional&&p.type.equals(p.value(),m),v=!!g&&p.squash,m=p.type.encode(m);d?(d=t[i+1],c=i+1===a,!1===v?(null!=m&&(V(m)?u+=y(m,l).join("-"):u+=encodeURIComponent(m)),u+=d):!0===v?(f=u.match(/\/$/)?/\/?(.*)/:/(.*)/,u+=d.match(f)[1]):q(v)&&(u+=v+d),c&&!0===p.squash&&"/"===u.slice(-1)&&(u=u.slice(0,-1))):null==m||g&&!1!==v||0!==(m=V(m)?m:[m]).length&&(u+=(o?"&":"?")+h+"="+(m=y(m,encodeURIComponent).join("&"+h+"=")),o=!0)}return u},g.prototype.is=function(e,t){return!0},g.prototype.encode=function(e,t){return e},g.prototype.decode=function(e,t){return e},g.prototype.equals=function(e,t){return e==t},g.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},g.prototype.pattern=/.*/,g.prototype.toString=function(){return"{Type:"+this.name+"}"},g.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},g.prototype.$asArray=function(e,t){if(!e)return this;if("auto"!==e||t)return new function(e,i){function t(e,t){return function(){return e[t].apply(e,arguments)}}function o(e){return V(e)?e:F(e)?[e]:[]}function a(e){return!e}function n(n,r){return function(e){if(V(e)&&0===e.length)return e;e=y(e=o(e),n);if(!0===r)return 0===m(e,a).length;var t=e;switch(t.length){case 0:return b;case 1:return"auto"===i?t[0]:t;default:return t}}}var s;this.encode=n(t(e,"encode")),this.decode=n(t(e,"decode")),this.is=n(t(e,"is"),!0),this.equals=(s=t(e,"equals"),function(e,t){var n=o(e),r=o(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!s(n[i],r[i]))return!1;return!0}),this.pattern=e.pattern,this.$normalize=n(t(e,"$normalize")),this.name=e.name,this.$arrayMode=i}(this,e);throw new Error("'auto' array mode is for query parameters only")},I.module("ui.router.util").provider("$urlMatcherFactory",v),I.module("ui.router.util").run(["$urlMatcherFactory",function(e){}
1]),n.$inject=["$locationProvider","$urlMatcherFactoryProvider"],I.module("ui.router.router").provider("$urlRouter",n),r.$inject=["$urlRouterProvider","$urlMatcherFactoryProvider"],I.module("ui.router.state").factory("$stateParams",function(){return{}}).provider("$state",r),i.$inject=[],I.module("ui.router.state").provider("$view",i),I.module("ui.router.state").provider("$uiViewScroll",function(){var n=!1;this.useAnchorScroll=function(){n=!0},this.$get=["$anchorScroll","$timeout",function(e,t){return n?e:function(e){return t(function(){e[0].scrollIntoView()},0,!1)}}]});var k=I.version.major,S=I.version.minor;function o(v,t,y,$){var e=t.has?function(e){return t.has(e)?t.get(e):null}:function(e){try{return t.get(e)}catch(e){return null}},b=e("$animator"),w=e("$animate");return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(e,t,g){return function(i,o,r){var a,s,u,l,e,t,c,f,d=r.onload||"",h=r.autoscroll,p=(t=i,f={enter:function(e,t,n){t.after(e),n()},leave:function(e,t){e.remove(),t()}},(e=r).noanimation?f:w?{enter:function(e,t,n){m(e)?2<I.version.minor?w.enter(e,null,t).then(n):w.enter(e,null,t,n):f.enter(e,t,n)},leave:function(e,t){m(e)?2<I.version.minor?w.leave(e).then(t):w.leave(e,t):f.leave(e,t)}}:b?(c=b&&b(t,e),{enter:function(e,t,n){c.enter(e,null,t),n()},leave:function(e,t){c.leave(e),t()}}):f);function m(e){return 1===k&&4<=S?w.enabled(e):1===k&&2<=S?w.enabled():b}function n(e){var t=C(i,r,o,$),n=t&&v.$current&&v.$current.locals[t];!e&&n===l||i._willBeDestroyed||(e=i.$new(),l=v.$current.locals[t],e.$emit("$viewContentLoading",t),s=g(e,function(e){function t(){n&&n.remove(),r&&r.$destroy()}var n,r;p.enter(e,o,function(){u&&u.$emit("$viewContentAnimationEnded"),(I.isDefined(h)&&!h||i.$eval(h))&&y(e)}),n=a,(r=u)&&(r._willBeDestroyed=!0),a=s?(p.leave(s,function(){t(),a=null}),s):(t(),null),u=s=null}),(u=e).$emit("$viewContentLoaded",t),u.$eval(d))}i.$on("$stateChangeSuccess",function(){n(!1)}),n(!0)}}}}function a(a,s,u,l){return{restrict:"ECA",priority:-400,compile:function(e){var o=e.html();return function(e,t,n){var r,i=u.$current,n=C(e,n,t,l),i=i&&i.locals[n];i&&(t.data("$uiView",{name:n,state:i.$$state}),t.html(i.$template||o),n=a(t.contents()),i.$$controller&&(i.$scope=e,i.$element=t,r=s(i.$$controller,i),i.$$controllerAs&&(e[i.$$controllerAs]=r),t.data("$ngControllerController",r),t.children().data("$ngControllerController",r)),n(e))}}}}function C(e,t,n,r){r=r(t.uiView||t.name||"")(e),t=n.inheritedData("$uiView");return 0<=r.indexOf("@")?r:r+"@"+(t?t.state.name:"")}function $(e,t){var n=e.match(/^\s*({[^}]*})\s*$/);if((t=(e=n?t+"("+n[1]+")":e).replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/))&&4===t.length)return{state:t[1],paramExpr:t[3]||null};throw new Error("Invalid state ref '"+e+"'")}function _(e){e=e.parent().inheritedData("$uiView");if(e&&e.state&&e.state.name)return e.state}function d(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),n="FORM"===e[0].nodeName;return{attr:n?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!n}}function E(o,a,s,u,l){return function(e){var t,n,r=e.which||e.button,i=l();1<r||e.ctrlKey||e.metaKey||e.shiftKey||o.attr("target")||(t=s(function(){a.go(i.state,i.params,i.options)}),e.preventDefault(),n=u.isAnchor&&!i.href?1:0,e.preventDefault=function(){n--<=0&&s.cancel(t)})}}function l(l,c){return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(e,t,n,r){function i(e){e&&(a.params=I.copy(e)),a.href=l.href(o.state,a.params,a.options),u&&u.$$addStateInfo(o.state,a.params),null!==a.href&&n.$set(s.attr,a.href)}var o=$(n.uiSref,l.current.name),a={state:o.state,href:null,params:null},s=d(t),u=r[1]||r[0];a.options=W((r=l,{relative:_(t)||r.$current,inherit:!0}),n.uiSrefOpts?e.$eval(n.uiSrefOpts):{});o.paramExpr&&(e.$watch(o.paramExpr,function(e){e!==a.params&&i(e)},!0),a.params=I.copy(e.$eval(o.paramExpr))),i(),s.clickable&&t.bind("click",E(t,l,c,s,function(){return a}))}}}function c(u,l){return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(e,t,n,r){var i=d(t),o=r[1]||r[0],r="["+[n.uiState,n.uiStateParams||null,n.uiStateOpts||null].map(function(e){return e||"null"}).join(", ")+"]",a={state:null,params:null,options:null,href:null};function s(e){a.state=e[0],a.params=e[1],a.options=e[2],a.href=u.href(a.state,a.params,a.options),o&&o.$$addStateInfo(a.state,a.params),a.href&&n.$set(i.attr,a.href)}e.$watch(r,s,!0),s(e.$eval(r)),i.clickable&&t.bind("click",E(t,u,l,i,function(){return a}))}}}function s(h,e,t){return{restrict:"A",controller:["$scope","$element","$attrs","$timeout",function(o,a,e,n){var r,s=[],u={},i=t(e.uiSrefActiveEq||"",!1)(o);try{r=o.$eval(e.uiSrefActive)}catch(e){}function l(e,t,n){var r=h.get(e,_(a)),i=function(e,t){if(!q(e))throw new Error("state should be a string");if(U(t))return e+p(t);if(t=o.$eval(t),U(t))return e+p(t);return e}(e,t);s.push({state:r||{name:e},params:t,hash:i}),u[i]=n}function c(){for(var e,t,n=0;n<s.length;n++)e=s[n].state,t=s[n].params,(h.includes(e.name,t)?f:d)(a,u[s[n].hash]),e=s[n].state,t=s[n].params,(h.is(e.name,t)?f:d)(a,i)}function f(e,t){n(function(){e.addClass(t)})}function d(e,t){e.removeClass(t)}r=r||t(e.uiSrefActive||"",!1)(o),U(r)&&Y(r,function(e,t){q(e)&&l((e=$(e,h.current.name)).state,o.$eval(e.paramExpr),t)}),this.$$addStateInfo=function(e,t){U(r)&&0<s.length||(l(e,t,r),c())},o.$on("$stateChangeSuccess",c),c()}]}}function T(n){function e(e,t){return n.is(e,t)}return e.$stateful=!0,e}function A(r){function e(e,t,n){return r.includes(e,t,n)}return e.$stateful=!0,e}o.$inject=["$state","$injector","$uiViewScroll","$interpolate"],a.$inject=["$compile","$controller","$state","$interpolate"],I.module("ui.router.state").directive("uiView",o),I.module("ui.router.state").directive("uiView",a),l.$inject=["$state","$timeout"],c.$inject=["$state","$timeout"],s.$inject=["$state","$stateParams","$interpolate"],I.module("ui.router.state").directive("uiSref",l).directive("uiSrefActive",s).directive("uiSrefActiveEq",s).directive("uiState",c),T.$inject=["$state"],A.$inject=["$state"],I.module("ui.router.state").filter("isState",T).filter("includedByState",A)}((window,window.angular)),function(e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():e()}(function(){function e(t){"use strict";function e(){var e=t.preferredLanguage();angular.isString(e)?t.use(e):r.put(n,t.use())}var n=t.storageKey(),r=t.storage();e.displayName="fallbackFromIncorrectStorageValue",r?r.get(n)?t.use(r.get(n)).catch(e):e():angular.isString(t.preferredLanguage())&&t.use(t.preferredLanguage())}function t(e,s,u,i){"use strict";function t(){if(angular.isFunction(i.getLocale))return i.getLocale();var e,t,n=s.$get().navigator,r=["language","browserLanguage","systemLanguage","userLanguage"];
1if(angular.isArray(n.languages))for(e=0;e<n.languages.length;e++)if((t=n.languages[e])&&t.length)return t;for(e=0;e<r.length;e++)if((t=n[r[e]])&&t.length)return t;return null}function n(){var e=t()||"";return e=a[o]?a[o](e):e}function T(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function A(){return this.toString().replace(/^\s+|\s+$/g,"")}function M(e){for(var t,n,r=[],i=angular.lowercase(e),o=0,a=c.length;o<a;o++)r.push(angular.lowercase(c[o]));if(!(-1<T(r,i))){if(l)for(n in l){var s=!1,u=Object.prototype.hasOwnProperty.call(l,n)&&angular.lowercase(n)===angular.lowercase(e);if("*"===n.slice(-1)&&(s=n.slice(0,-1)===e.slice(0,n.length-1)),(u||s)&&(t=l[n],-1<T(r,angular.lowercase(t))))return t}if(e){i=e.split("_");if(1<i.length&&-1<T(r,angular.lowercase(i[0])))return i[0]}}return e}function O(e,t){if(!e&&!t)return B;if(e&&!t){if(angular.isString(e))return B[e]}else angular.isObject(B[e])||(B[e]={}),angular.extend(B[e],ee(t));return this}function N(e){return e?(z=e,this):r?r+z:z}var D,l,j,P,L,I,R,r,F,H,q,U,V,Y,W,B={},c=[],z=e,G=[],Z="translate-cloak",J=!1,X=!1,K=0,Q=!0,o="default",a={default:function(e){return(e||"").split("-").join("_")},java:function(e){var e=(e||"").split("-").join("_"),t=e.split("_");return 1<t.length?t[0].toLowerCase()+"_"+t[1].toUpperCase():e},bcp47:function(e){var e=(e||"").split("_").join("-"),t=e.split("-");return 1<t.length?t[0].toLowerCase()+"-"+t[1].toUpperCase():e}},ee=(t.displayName="angular-translate/service: getFirstBrowserLanguage",n.displayName="angular-translate/service: getLocale",this.translations=O,this.cloakClassName=function(e){return e?(Z=e,this):Z},function(e,t,n,r){var i,o,a;for(i in t=t||[],n=n||{},e)Object.prototype.hasOwnProperty.call(e,i)&&(a=e[i],angular.isObject(a)?ee(a,t.concat(i),n,i):(o=t.length?t.join(".")+"."+i:i,t.length&&i===r&&(n[""+t.join(".")]="@:"+o),n[o]=a));return n}),te=(ee.displayName="flatObject",this.addInterpolation=function(e){return G.push(e),this},this.useMessageFormatInterpolation=function(){return this.useInterpolation("$translateMessageFormatInterpolation")},this.useInterpolation=function(e){return H=e,this},this.useSanitizeValueStrategy=function(e){return u.useStrategy(e),this},this.preferredLanguage=function(e){return te(e),this},function(e){return D=e?e:D}),ne=(this.translationNotFoundIndicator=function(e){return this.translationNotFoundIndicatorLeft(e),this.translationNotFoundIndicatorRight(e),this},this.translationNotFoundIndicatorLeft=function(e){return e?(V=e,this):V},this.translationNotFoundIndicatorRight=function(e){return e?(Y=e,this):Y},this.fallbackLanguage=function(e){return ne(e),this},function(e){return e?(angular.isString(e)?(P=!0,j=[e]):angular.isArray(e)&&(P=!1,j=e),angular.isString(D)&&T(j,D)<0&&j.push(D),this):P?j[0]:j});this.use=function(e){if(e){if(B[e]||q)return L=e,this;throw new Error("$translateProvider couldn't find translationTable for langKey: '"+e+"'")}return L};this.storageKey=N,this.useUrlLoader=function(e,t){return this.useLoader("$translateUrlLoader",angular.extend({url:e},t))},this.useStaticFilesLoader=function(e){return this.useLoader("$translateStaticFilesLoader",e)},this.useLoader=function(e,t){return q=e,U=t||{},this},this.useLocalStorage=function(){return this.useStorage("$translateLocalStorage")},this.useCookieStorage=function(){return this.useStorage("$translateCookieStorage")},this.useStorage=function(e){return R=e,this},this.storagePrefix=function(e){return e&&(r=e,this)},this.useMissingTranslationHandlerLog=function(){return this.useMissingTranslationHandler("$translateMissingTranslationHandlerLog")},this.useMissingTranslationHandler=function(e){return F=e,this},this.usePostCompiling=function(e){return J=!!e,this},this.forceAsyncReload=function(e){return X=!!e,this},this.uniformLanguageTag=function(e){return e?angular.isString(e)&&(e={standard:e}):e={},o=e.standard,this},this.determinePreferredLanguage=function(e){e=(e&&angular.isFunction(e)?e:n)();return D=c.length?M(e):e,this},this.registerAvailableLanguageKeys=function(e,t){return e?(c=e,t&&(l=t),this):c},this.useLoaderCache=function(e){return!1===e?W=void 0:!0===e?W=!0:void 0===e?W="$translationCache":e&&(W=e),this},this.directivePriority=function(e){return void 0===e?K:(K=e,this)},this.statefulFilter=function(e){return void 0===e?Q:(Q=e,this)},this.$get=["$log","$injector","$rootScope","$q",function(e,o,l,h){function c(e){function t(e,t){v[t].setLocale(L)}L=e,l.$emit("$translateChangeSuccess",{language:e}),R&&p.put($.storageKey(),L),d.setLocale(L),t.displayName="eachInterpolatorLocaleSetter",angular.forEach(v,t),l.$emit("$translateChangeEnd",{language:e})}function f(n){var r,e,t,i;if(n)return r=h.defer(),l.$emit("$translateLoadingStart",{language:n}),g=!0,"string"==typeof(e=W)&&(e=o.get(e)),e=angular.extend({},U,{key:n,$http:angular.extend({},{cache:e},U.$http)}),(t=function(e){var t={};l.$emit("$translateLoadingSuccess",{language:n}),angular.isArray(e)?angular.forEach(e,function(e){angular.extend(t,ee(e))}):angular.extend(t,ee(e)),g=!1,r.resolve({key:n,table:t}),l.$emit("$translateLoadingEnd",{language:n})}).displayName="onLoaderSuccess",(i=function(e){l.$emit("$translateLoadingError",{language:e}),r.reject(e),l.$emit("$translateLoadingEnd",{language:e})}).displayName="onLoaderError",o.get(q)(e).then(t,i),r.promise;throw"No language key specified for loading."}var p,m,u,t,d=o.get(H||"$translateDefaultInterpolation"),g=!1,v={},y={},$=function(e,r,i,o){if(angular.isArray(e)){for(var t=e,a={},n=[],s=function(t){function e(e){a[t]=e,n.resolve([t,e])}var n=h.defer();return $(t,r,i,o).then(e,e),n.promise},u=0,l=t.length;u<l;u++)n.push(s(t[u]));return h.all(n).then(function(){return a})}var c,f=h.defer(),d=(e=e&&A.apply(e),c=D?y[D]:y[L],m=0,R&&!c&&(d=p.get(z),c=y[d],j)&&j.length&&(d=T(j,d),m=0===d?1:0,T(j,D)<0)&&j.push(D),c);return d?((c=function(){C(e,r,i,o).then(f.resolve,f.reject)}).displayName="promiseResolved",d.finally(c,f.reject)):C(e,r,i,o).then(f.resolve,f.reject),f.promise},b=function(e){return V&&(e=[V,e].join(" ")),e=Y?[e,Y].join(" "):e};if(R&&(!(p=o.get(R)).get||!p.put))throw new Error("Couldn't use storage '"+R+"', missing get() or put() method!");G.length&&((t=function(e){e=o.get(e);e.setLocale(D||L),v[e.getInterpolationIdentifier()]=e}).displayName="interpolationFactoryAdder",angular.forEach(G,t));function w(n,r,i,o){function e(e){var t;Object.prototype.hasOwnProperty.call(e,r)?(o.setLocale(n),"@:"===(t=e[r]).substr(0,2)?w(n,t.substr(2),i,o).then(u.resolve,u.reject):u.resolve(o.interpolate(e[r],i)),o.setLocale(L)):u.reject()}var t,a,s,u=h.defer();return e.displayName="fallbackTranslationResolver",t=n,s=h.defer(),Object.prototype.hasOwnProperty.call(B,t)?s.resolve(B[t]):y[t]?((a=function(e){O(e.key,e.table),s.resolve(e.table)}).displayName="translationTableResolver",y[t].then(a,s.reject)):s.reject(),s.promise.then(e,u.reject),u.promise}function a(e,t,n,r){var i,o=B[e];if(o&&Object.prototype.hasOwnProperty.call(o,t)){if(r.setLocale(e),"@:"===(i=r.interpolate(o[t],n)).substr(0,2))return a(e,i.substr(2),n,r);r.setLocale(L)}return i}function x(e,t,n,r,i){var o,a=h.defer();return e<j.length?(o=j[e],w(o,t,n,r).then(a.resolve,function(){x(e+1,t,n,r,i).then(a.resolve)})):i?a.resolve(i):a.resolve(k(t,n)),a.promise}function s(e,t,n,r){var i;return e<j.length&&(i=j[e],i=(i=a(i,t,n,r))||s(e+1,t,n,r)),i}var k=function(e,t){return F&&void 0!==(t=o.get(F)(e,L,t))?t:e},S=function(e,t,n){return s(0<u?u:m,e,t,n)},C=function(e,t,n,r){var i,o=h.defer(),a=L?B[L]:B,s=n?v[n]:d;return a&&Object.prototype.hasOwnProperty.call(a,e)?"@:"===(a=a[e]).substr(0,2)?$(a.substr(2),t,n,r).then(o.resolve,o.reject):o.resolve(s.interpolate(a,t)):(F&&!g&&(i=k(e,t)),L&&j&&j.length?x(0<u?u:m,e,t,s,r).then(function(e){o.resolve(e)},function(e){o.reject(b(e))}):F&&!g&&i?r?o.resolve(r):o.resolve(i):r?o.resolve(r):o.reject(b(e))),o.promise},_=function(e,t,n){var r,i=L?B[L]:B,o=d;return v&&Object.prototype.hasOwnProperty.call(v,n)&&(o=v[n]),i&&Object.prototype.hasOwnProperty.call(i,e)?"@:"===(i=i[e]).substr(0,2)?_(i.substr(2),t,n):o.interpolate(i,t):(F&&!g&&(r=k(e,t)),L&&j&&j.length?(m=0,S(e,t,o)):F&&!g&&r?r:b(e))};if($.preferredLanguage=function(e){return e&&te(e),D},$.cloakClassName=function(){return Z},$.fallbackLanguage=function(e){if(null!=e){if(ne(e),q&&j&&j.length)for(var t=0,n=j.length;t<n;t++)y[j[t]]||(y[j[t]]=f(j[t]));$.use($.use())}return P?j[0]:j},$.useFallbackLanguage=function(e){null!=e&&(e?-1<(e=T(j,e))&&(u=e):u=0)},$.proposedLanguage=function(){return I},$.storage=function(){return p},$.use=function(e){var t,n;return e?(t=h.defer(),l.$emit("$translateChangeStart",{language:e}),(n=M(e))&&(e=n),!X&&B[e]||!q||y[e]?I===e&&y[e]?y[e].then(function(e){return t.resolve(e.key),e},function(e){return t.reject(e),h.reject(e)}):(t.resolve(e),c(e)):(y[I=e]=f(e).then(function(e){return O(e.key,e.table),t.resolve(e.key),c(e.key),e},function(e){return l.$emit("$translateChangeError",{language:e}),t.reject(e),l.$emit("$translateChangeEnd",{language:e}),h.reject(e)}),y[e].finally(function(){I===e&&(I=void 0),y[e]=void 0})),t.promise):L},$.storageKey=function(){return N()},$.isPostCompilingEnabled=function(){return J},$.isForceAsyncReloadEnabled=function(){return X},$.refresh=function(t){if(!q)throw new Error("Couldn't refresh translation table, no loader registered!");var e=h.defer();function n(){e.resolve(),l.$emit("$translateRefreshEnd",{language:t})}function r(){e.reject(),l.$emit("$translateRefreshEnd",{language:t})}if(l.$emit("$translateRefreshStart",{language:t}),t)B[t]?((u=function(e){O(e.key,e.table),t===L&&c(L),n()}).displayName="refreshPostProcessor",f(t).then(u,r)):r();else{var i=[],o={};if(j&&j.length)for(var a=0,s=j.length;a<s;a++)i.push(f(j[a])),o[j[a]]=!0;L&&!o[L]&&i.push(f(L));var u=function(e){B={},angular.forEach(e,function(e){O(e.key,e.table)}),L&&c(L),n()};u.displayName="refreshPostProcessor",h.all(i).then(u,r)}return e.promise},$.instant=function(e,t,n){if(null===e||angular.isUndefined(e))return e;if(angular.isArray(e)){for(var r={},i=0,o=e.length;i<o;i++)r[e[i]]=$.instant(e[i],t,n);return r}if(angular.isString(e)&&e.length<1)return e;e=e&&A.apply(e);var a,s=[];D&&s.push(D),L&&s.push(L);for(var u=0,l=(s=j&&j.length?s.concat(j):s).length;u<l;u++){var c=s[u];if(B[c]&&(void 0!==B[c][e]?a=_(e,t,n):(V||Y)&&(a=b(e))),void 0!==a)break}return a||""===a||(a=d.interpolate(e,t),F&&!g&&(a=k(e,t))),a},$.versionInfo=function(){return"2.7.2"},$.loaderCache=function(){return W},$.directivePriority=function(){return K},$.statefulFilter=function(){return Q},q&&(angular.equals(B,{})&&$.use($.use()),j)&&j.length)for(var n=function(e){return O(e.key,e.table),l.$emit("$translateChangeEnd",{language:e.key}),e},r=0,i=j.length;r<i;r++){var E=j[r];!X&&B[E]||(y[E]=f(E).then(n))}return $}]}function n(n,r){"use strict";var e={};return e.setLocale=function(e){0},e.getInterpolationIdentifier=function(){return"default"}
1,e.useSanitizeValueStrategy=function(e){return r.useStrategy(e),this},e.interpolate=function(e,t){t=r.sanitize(t=t||{},"params");e=n(e)(t);return r.sanitize(e,"text")},e}function r(x,e,k,S,C,_){"use strict";return{restrict:"AE",scope:!0,priority:x.directivePriority(),compile:function(e,g){var v=g.translateValues||void 0,y=g.translateInterpolation||void 0,$=e[0].outerHTML.match(/translate-value-+/i),b="^(.*)("+k.startSymbol()+".*"+k.endSymbol()+")(.*)",w="^(.*)"+k.startSymbol()+"(.*)"+k.endSymbol()+"(.*)";return function(r,s,u){r.interpolateParams={},r.preText="",r.postText="";var n={},i=function(e){var t;angular.isFunction(i._unwatchOld)&&(i._unwatchOld(),i._unwatchOld=void 0),angular.equals(e,"")||!angular.isDefined(e)?(t=function(){return this.toString().replace(/^\s+|\s+$/g,"")}.apply(s.text()).match(b),angular.isArray(t)?(r.preText=t[1],r.postText=t[3],n.translate=k(t[2])(r.$parent),t=s.text().match(w),angular.isArray(t)&&t[2]&&t[2].length&&(i._unwatchOld=r.$watch(t[2],function(e){n.translate=e,h()}))):n.translate=s.text().replace(/^\s+|\s+$/g,"")):n.translate=e,h()},e=r.interpolateParams,t=u,o=g;if(t.translateValues&&angular.extend(e,C(t.translateValues)(r.$parent)),$)for(var a in o)Object.prototype.hasOwnProperty.call(t,a)&&"translateValue"===a.substr(0,14)&&"translateValues"!==a&&(e[angular.lowercase(a.substr(14,1))+a.substr(15)]=o[a]);var l,c=!0;for(l in u.$observe("translate",function(e){void 0===e?i(""):""===e&&c||(n.translate=e,h()),c=!1}),u)u.hasOwnProperty(l)&&"translateAttr"===l.substr(0,13)&&!function(t){u.$observe(t,function(e){n[t]=e,h()})}(l);if(u.$observe("translateDefault",function(e){r.defaultText=e}),v&&u.$observe("translateValues",function(e){e&&r.$parent.$watch(function(){angular.extend(r.interpolateParams,C(e)(r.$parent))})}),$)for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&"translateValue"===f.substr(0,14)&&"translateValues"!==f&&!function(n){u.$observe(n,function(e){var t=angular.lowercase(n.substr(14,1))+n.substr(15);r.interpolateParams[t]=e})}(f);function d(e,t,n,r){var i,o,a;"translate"===r?(n||void 0===t.defaultText||(e=t.defaultText),s.html(t.preText+e+t.postText),a=x.isPostCompilingEnabled(),o=(i=void 0!==g.translateCompile)&&"false"!==g.translateCompile,(a&&!i||o)&&S(s.contents())(t)):(n||void 0===t.defaultText||(e=t.defaultText),a=(a="data-"===(a=u.$attr[r]).substr(0,5)?a.substr(5):a).substr(15),s.attr(a,e))}var h=function(){for(var e in n)n.hasOwnProperty(e)&&void 0!==n[e]&&p(e,n[e],r,r.interpolateParams,r.defaultText)},p=function(t,e,n,r,i){e?x(e,r,y,i).then(function(e){d(e,n,!0,t)},function(e){d(e,n,!1,t)}):d(e,n,!1,t)},m=((v||$||u.translateDefault)&&r.$watch("interpolateParams",h,!0),_.$on("$translateChangeSuccess",h));s.text().length?u.translate?i(u.translate):i(""):u.translate&&i(u.translate),h(),r.$on("$destroy",m)}}}}function i(n,o){"use strict";return{compile:function(e){function r(){e.addClass(o.cloakClassName())}function i(){e.removeClass(o.cloakClassName())}var t=n.$on("$translateChangeEnd",function(){i(),t(),t=null});return r(),function(e,t,n){n.translateCloak&&n.translateCloak.length&&n.$observe("translateCloak",function(e){o(e).then(i,r)})}}}}function o(r,i){"use strict";function e(e,t,n){return angular.isObject(t)||(t=r(t)(this)),i.instant(e,t,n)}return i.statefulFilter()&&(e.$stateful=!0),e}function a(e){"use strict";return e("translations")}return angular.module("pascalprecht.translate",["ng"]).run(e),e.$inject=["$translate"],e.displayName="runTranslate",angular.module("pascalprecht.translate").provider("$translateSanitization",function(){"use strict";var n,a,s=null,u=!1,l=!1,r=((a={sanitize:function(e,t){return e="text"===t?i(e):e},escape:function(e,t){return e="text"===t?r(e):e},sanitizeParameters:function(e,t){return e="params"===t?o(e,i):e},escapeParameters:function(e,t){return e="params"===t?o(e,r):e}}).escaped=a.escapeParameters,this.addStrategy=function(e,t){return a[e]=t,this},this.removeStrategy=function(e){return delete a[e],this},this.useStrategy=function(e){return u=!0,s=e,this},this.$get=["$injector","$log",function(e,o){var t;return e.has("$sanitize")&&(n=e.get("$sanitize")),{useStrategy:(t=this,function(e){t.useStrategy(e)}),sanitize:function(e,t,n){var r,i;return s||u||l||(o.warn("pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details."),l=!0),(n=arguments.length<3?s:n)?(n=angular.isArray(n)?n:[n],r=e,i=t,t=n,angular.forEach(t,function(e){if(angular.isFunction(e))r=e(r,i);else{if(!angular.isFunction(a[e]))throw new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+e+"'");r=a[e](r,i)}}),r):e}}}],function(e){var t=angular.element("<div></div>");return t.text(e),t.html()}),i=function(e){if(n)return n(e);throw new Error("pascalprecht.translate.$translateSanitization: Error cannot find $sanitize service. Either include the ngSanitize module (https://docs.angularjs.org/api/ngSanitize) or use a sanitization strategy which does not depend on $sanitize, such as 'escape'.")},o=function(e,n){var r;return angular.isObject(e)?(r=angular.isArray(e)?[]:{},angular.forEach(e,function(e,t){r[t]=o(e,n)}),r):angular.isNumber(e)?e:n(e)}}),angular.module("pascalprecht.translate").constant("pascalprechtTranslateOverrider",{}
1).provider("$translate",t),t.$inject=["$STORAGE_KEY","$windowProvider","$translateSanitizationProvider","pascalprechtTranslateOverrider"],t.displayName="displayName",angular.module("pascalprecht.translate").factory("$translateDefaultInterpolation",n),n.$inject=["$interpolate","$translateSanitization"],n.displayName="$translateDefaultInterpolation",angular.module("pascalprecht.translate").constant("$STORAGE_KEY","NG_TRANSLATE_LANG_KEY"),angular.module("pascalprecht.translate").directive("translate",r),r.$inject=["$translate","$q","$interpolate","$compile","$parse","$rootScope"],r.displayName="translateDirective",angular.module("pascalprecht.translate").directive("translateCloak",i),i.$inject=["$rootScope","$translate"],i.displayName="translateCloakDirective",angular.module("pascalprecht.translate").filter("translate",o),o.$inject=["$parse","$translate"],o.displayName="translateFilterFactory",angular.module("pascalprecht.translate").factory("$translationCache",a),a.$inject=["$cacheFactory"],a.displayName="$translationCache","pascalprecht.translate"}),function(e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():e()}(function(){function e(n){"use strict";return{get:function(e){return n.get(e)},set:function(e,t){n.put(e,t)},put:function(e,t){n.put(e,t)}}}return angular.module("pascalprecht.translate").factory("$translateCookieStorage",e),e.$inject=["$cookieStore"],e.displayName="$translateCookieStorage","pascalprecht.translate"}),function(e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():e()}(function(){function e(){"use strict";function r(e,t){this.name=e,this.isActive=!0,this.tables={},this.priority=t||0}r.prototype.parseUrl=function(e,t){return angular.isFunction(e)?e(this.name,t):e.replace(/\{part\}/g,this.name).replace(/\{lang\}/g,t)},r.prototype.getTable=function(t,e,n,r,i,o){var a,s=e.defer();return this.tables[t]?s.resolve(this.tables[t]):(a=this,n(angular.extend({method:"GET",url:this.parseUrl(i,t)},r)).success(function(e){a.tables[t]=e,s.resolve(e)}).error(function(){o?o(a.name,t).then(function(e){a.tables[t]=e,s.resolve(e)},function(){s.reject(a.name)}):s.reject(a.name)})),s.promise};var l={};function c(e){return Object.prototype.hasOwnProperty.call(l,e)}function f(e){return angular.isString(e)&&""!==e}function e(e){if(f(e))return c(e)&&l[e].isActive;throw new TypeError("Invalid type of a first argument, a non-empty string expected.")}this.addPart=function(e,t){if(f(e))return c(e)||(l[e]=new r(e,t)),l[e].isActive=!0,this;throw new TypeError("Couldn't add part, part name has to be a string!")},this.setPart=function(e,t,n){if(!f(e))throw new TypeError("Couldn't set part.`lang` parameter has to be a string!");if(!f(t))throw new TypeError("Couldn't set part.`part` parameter has to be a string!");if("object"!=typeof n||null===n)throw new TypeError("Couldn't set part. `table` parameter has to be an object!");return c(t)||(l[t]=new r(t),l[t].isActive=!1),l[t].tables[e]=n,this},this.deletePart=function(e){if(f(e))return c(e)&&(l[e].isActive=!1),this;throw new TypeError("Couldn't delete part, first arg has to be string.")},this.isPartAvailable=e,this.$get=["$rootScope","$injector","$q","$http",function(i,o,a,s){function u(n){if(!f(n.key))throw new TypeError("Unable to load data, a key is not a non-empty string.");if(!f(n.urlTemplate)&&!angular.isFunction(n.urlTemplate))throw new TypeError("Unable to load data, a urlTemplate is not a non-empty string or not a function.");var t=n.loadFailureHandler;if(void 0!==t){if(!angular.isString(t))throw new Error("Unable to load data, a loadFailureHandler is not a string.");t=o.get(t)}var r=[],e=a.defer(),i=function(){var e,t=[];for(e in l)l[e].isActive&&t.push(l[e]);return t.sort(function(e,t){return e.priority-t.priority}),t}();return angular.forEach(i,function(e){r.push(e.getTable(n.key,a,s,n.$http,n.urlTemplate,t)),e.urlTemplate=n.urlTemplate}),a.all(r).then(function(){var t={};angular.forEach(i,function(e){!function e(t,n){for(var r in n)n[r]&&n[r].constructor&&n[r].constructor===Object?(t[r]=t[r]||{},e(t[r],n[r])):t[r]=n[r]}(t,e.tables[n.key])}),e.resolve(t)},function(){e.reject(n.key)}),e.promise}return u.addPart=function(e,t){if(f(e))return c(e)?l[e].isActive||(l[e].isActive=!0,i.$emit("$translateParti
1alLoaderStructureChanged",e)):(l[e]=new r(e,t),i.$emit("$translatePartialLoaderStructureChanged",e)),u;throw new TypeError("Couldn't add part, first arg has to be a string")},u.deletePart=function(n,e){if(!f(n))throw new TypeError("Couldn't delete part, first arg has to be string");if(void 0===e)e=!1;else if("boolean"!=typeof e)throw new TypeError("Invalid type of a second argument, a boolean expected.");var t,r;return c(n)&&(t=l[n].isActive,e?("object"==typeof(r="string"==typeof(r=o.get("$translate").loaderCache())?o.get(r):r)&&angular.forEach(l[n].tables,function(e,t){r.remove(l[n].parseUrl(l[n].urlTemplate,t))}),delete l[n]):l[n].isActive=!1,t)&&i.$emit("$translatePartialLoaderStructureChanged",n),u},u.isPartLoaded=function(e,t){return angular.isDefined(l[e])&&angular.isDefined(l[e].tables[t])},u.getRegisteredParts=function(){var t=[];return angular.forEach(l,function(e){e.isActive&&t.push(e.name)}),t},u.isPartAvailable=e,u}]}return angular.module("pascalprecht.translate").provider("$translatePartialLoader",e),e.displayName="$translateParti
1alLoader","pascalprecht.translate"}),function(e){"use strict";var x=e.isDefined,k=e.isUndefined,S=e.isNumber,C=e.isObject,_=e.isArray,E=e.extend,T=e.toJson;e.module("LocalStorageModule",[]).provider("localStorageService",function(){this.prefix="ls",this.storageType="localStorage",this.cookie={expiry:30,path:"/"},this.notify={setItem:!0,removeItem:!1},this.setPrefix=function(e){return this.prefix=e,this},this.setStorageType=function(e){return this.storageType=e,this},this.setStorageCookie=function(e,t){return this.cookie.expiry=e,this.cookie.path=t,this},this.setStorageCookieDomain=function(e){return this.cookie.domain=e,this},this.setNotify=function(e,t){return this.notify={setItem:e,removeItem:t},this},this.$get=["$rootScope","$window","$document","$parse",function(s,r,u,o){var a,l=this,c=l.prefix,f=l.cookie,i=l.notify,d=l.storageType,h=(u?u[0]&&(u=u[0]):u=document,"."!==c.substr(-1)&&(c=c?c+".":""),function(e){return c+e}),p=function(){try{var e=d in r&&null!==r[d],t=h("__"+Math.round(1e7*Math.random()));return e&&((a=r[d]).setItem(t,""),a.removeItem(t)),e}catch(e){return d="cookie",s.$broadcast("LocalStorageModule.notification.error",e.message),!1}}(),m=function(t,n){if(n=k(n)?null:T(n),!p||"cookie"===l.storageType)return p||s.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),i.setItem&&s.$broadcast("LocalStorageModule.notification.setitem",{key:t,newvalue:n,storageType:"cookie"}),$(t,n);try{a&&a.setItem(h(t),n),i.setItem&&s.$broadcast("LocalStorageModule.notification.setitem",{key:t,newvalue:n,storageType:l.storageType})}catch(e){return s.$broadcast("LocalStorageModule.notification.error",e.message),$(t,n)}return!0},g=function(t){if(!p||"cookie"===l.storageType)return p||s.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),e(t);t=a?a.getItem(h(t)):null;if(!t||"null"===t)return null;try{return JSON.parse(t)}catch(e){return t}},v=function(){for(var t,e=0;e<arguments.length;e++)if(t=arguments[e],p&&"cookie"!==l.storageType)try{a.removeItem(h(t)),i.removeItem&&s.$broadcast("LocalStorageModule.notification.removeitem",{key:t,storageType:l.storageType})}catch(e){s.$broadcast("LocalStorageModule.notification.error",e.message),b(t)}else p||s.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),i.removeItem&&s.$broadcast("LocalStorageModule.notification.removeitem",{key:t,storageType:"cookie"}),b(t)},y=function(){try{return r.navigator.cookieEnabled||"cookie"in u&&(0<u.cookie.length||-1<(u.cookie="test").indexOf.call(u.cookie,"test"))}catch(e){return s.$broadcast("LocalStorageModule.notification.error",e.message),!1}}(),$=function(e,t,n){if(k(t))return!1;if((_(t)||C(t))&&(t=T(t)),!y)return s.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;try{var r,i="",o=new Date,a="";null===t?(o.setTime(o.getTime()+-864e5),i="; expires="+o.toGMTString(),t=""):S(n)&&0!==n?(o.setTime(o.getTime()+24*n*60*60*1e3),i="; expires="+o.toGMTString()):0!==f.expiry&&(o.setTime(o.getTime()+24*f.expiry*60*60*1e3),i="; expires="+o.toGMTString()),e&&(r="; path="+f.path,f.domain&&(a="; domain="+f.domain),u.cookie=h(e)+"="+encodeURIComponent(t)+i+r+a)}catch(e){return s.$broadcast("LocalStorageModule.notification.error",e.message),!1}return!0},e=function(e){if(!y)return s.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;for(var t=u.cookie&&u.cookie.split(";")||[],n=0;n<t.length;n++){for(var r=t[n];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(h(e)+"=")){var i=decodeURIComponent(r.substring(c.length+e.length+1,r.length));try{return JSON.parse(i)}catch(e){return i}}}return null},b=function(e){$(e,null)},w=function(){for(var e=null,t=c.length,n=u.cookie.split(";"),r=0;r<n.length;r++){for(e=n[r];" "===e.charAt(0);)e=e.substring(1,e.length);var i=e.substring(t,e.indexOf("="));b(i)}};return{isSupported:p,getStorageType:function(){return d},set:m,add:m,get:g,keys:function(){if(!p)return s.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),!1;var e,t=c.length,n=[];for(e in a)if(e.substr(0,t)===c)try{n.push(e.substr(t))}catch(e){return s.$broadcast("LocalStorageModule.notification.error",e.Description),[]}return n},remove:v,clearAll:function(e){var t=c?new RegExp("^"+c):new RegExp,n=e?new RegExp(e):new RegExp;if(!p||"cookie"===l.storageType)return p||s.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),w();var r,i=c.length;for(r in a)if(t.test(r)&&n.test(r.substr(i)))try{v(r.substr(i))}catch(e){return s.$broadcast("LocalStorageModule.notification.error",e.message),w()}return!0},bind:function(e,t,n,r){var i=g(r=r||t);return null===i&&x(n)?i=n:C(i)&&C(n)&&(i=E(n,i)),o(t).assign(e,i),e.$watch(t,function(e){m(r,e)},C(e[t]))},deriveKey:h,length:function(){for(var e=0,t=r[d],n=0;n<t.length;n++)0===t.key(n).indexOf(c)&&e++;return e}
vendor: 50,802 bytes, line 1
1,cookie:{isSupported:y,set:$,add:$,get:e,remove:b,clearAll:w}}}]})}((window,window.angular)),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var L;function m(){return L.apply(null,arguments)}function g(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function I(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(d(e,t))return;return 1}function v(e){return void 0===e}function y(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function F(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function H(e,t){for(var n=[],r=e.length,i=0;i<r;++i)n.push(t(e[i],i));return n}function q(e,t){for(var n in t)d(t,n)&&(e[n]=t[n]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,r){return Ot(e,t,n,r,!0).utc()}function $(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function U(e){var t,n,r=e._d&&!isNaN(e._d.getTime());return r&&(t=$(e),n=Y.call(t.parsedDateParts,function(e){return null!=e}),r=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict)&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?r:(e._isValid=r,e._isValid)}function V(e){var t=l(NaN);return null!=e?q($(t),e):$(t).userInvalidated=!0,t}var Y=Array.prototype.some||function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1},W=m.momentProperties=[],B=!1;function z(e,t){var n,r,i,o=W.length;if(v(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),v(t._i)||(e._i=t._i),v(t._f)||(e._f=t._f),v(t._l)||(e._l=t._l),v(t._strict)||(e._strict=t._strict),v(t._tzm)||(e._tzm=t._tzm),v(t._isUTC)||(e._isUTC=t._isUTC),v(t._offset)||(e._offset=t._offset),v(t._pf)||(e._pf=$(t)),v(t._locale)||(e._locale=t._locale),0<o)for(n=0;n<o;n++)v(i=t[r=W[n]])||(e[r]=i);return e}function G(e){z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===B&&(B=!0,m.updateOffset(this),B=!1)}function b(e){return e instanceof G||null!=e&&null!=e._isAMomentObject}function Z(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(o,a){var s=!0;return q(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,o),s){for(var e,t,n=[],r=arguments.length,i=0;i<r;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])d(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];n.push(e)}Z(o+"\nArguments: "+Array.prototype.slice.call(n).join("")+"\n"+(new Error).stack),s=!1}return a.apply(this,arguments)},a)}var J={};function X(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),J[e]||(Z(t),J[e]=!0)}function a(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function K(e,t){var n,r=q({},e);for(n in t)d(t,n)&&(I(e[n])&&I(t[n])?(r[n]={},q(r[n],e[n]),q(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)d(e,n)&&!d(t,n)&&I(e[n])&&(r[n]=q({},r[n]));return r}function Q(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var ee=Object.keys||function(e){var t,n=[];for(t in e)d(e,t)&&n.push(t);return n};function o(e,t,n){var r=""+Math.abs(e);return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}var te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,re={},ie={};function r(e,t,n,r){var i="string"==typeof r?function(){return this[r]()}:r;e&&(ie[e]=i),t&&(ie[t[0]]=function(){return o(i.apply(this,arguments),t[1],t[2])}),n&&(ie[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function oe(e,t){return e.isValid()?(t=ae(t,e.localeData()),re[t]=re[t]||function(r){for(var e,i=r.match(te),t=0,o=i.length;t<o;t++)ie[i[t]]?i[t]=ie[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",n=0;n<o;n++)t+=a(i[n])?i[n].call(e,r):i[n];return t}}(t),re[t](e)):e.localeData().invalidDate()}function ae(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=n&&ne.test(e);)e=e.replace(ne,r),ne.lastIndex=0,--n;return e}var se={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function s(e){return"string"==typeof e?se[e]||se[e.toLowerCase()]:void 0}function ue(e){var t,n,r={};for(n in e)d(e,n)&&(t=s(n))&&(r[t]=e[n]);return r}var le={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var ce=/\d/,t=/\d\d/,fe=/\d{3}/,de=/\d{4}/,he=/[+-]?\d{6}/,n=/\d\d?/,pe=/\d\d\d\d?/,me=/\d\d\d\d\d\d?/,ge=/\d{1,3}/,ve=/\d{1,4}/,ye=/[+-]?\d{1,6}/,$e=/\d+/,be=/[+-]?\d+/,we=/Z|[+-]\d\d:?\d\d/gi,xe=/Z|[+-]\d\d(?::?\d\d)?/gi,i=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,u=/^[1-9]\d?/,c=/^([1-9]\d|\d)/;function f(e,n,r){Se[e]=a(n)?n:function(e,t){return e&&r?r:n}}function ke(e,t){return d(Se,e)?Se[e](t._strict,t._locale):new RegExp(h(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function h(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function p(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?p(e):t}var Se={},Ce={};function x(e,n){var t,r,i=n;for("string"==typeof e&&(e=[e]),y(n)&&(i=function(e,t){t[n]=w(e)}),r=e.length,t=0;t<r;t++)Ce[e[t]]=i}function _e(e,i){x(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}function Ee(e){return e%4==0&&e%100!=0||e%400==0}var k=0,S=1,C=2,_=3,E=4,T=5,Te=6,Ae=7,Me=8;function Oe(e){return Ee(e)?366:365}r("Y",0,0,function(){var e=this.year();return e<=9999?o(e,4):"+"+e}),r(0,["YY",2],0,function(){return this.year()%100}),r(0,["YYYY",4],0,"year"),r(0,["YYYYY",5],0,"year"),r(0,["YYYYYY",6,!0],0,"year"),f("Y",be),f("YY",n,t),f("YYYY",ve,de),f("YYYYY",ye,he),f("YYYYYY",ye,he),x(["YYYYY","YYYYYY"],k),x("YYYY",function(e,t){t[k]=2===e.length?m.parseTwoDigitYear(e):w(e)}),x("YY",function(e,t){t[k]=m.parseTwoDigitYear(e)}),x("Y",function(e,t){t[k]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var A,Ne=De("FullYear",!0);function De(t,n){return function(e){return null!=e?(Pe(this,t,e),m.updateOffset(this,n),this):je(this,t)}}function je(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Pe(e,t,n){var r,i,o;if(e.isValid()&&!isNaN(n)){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return i?r.setUTCMilliseconds(n):r.setMilliseconds(n);case"Seconds":return i?r.setUTCSeconds(n):r.setSeconds(n);case"Minutes":return i?r.setUTCMinutes(n):r.setMinutes(n);case"Hours":return i?r.setUTCHours(n):r.setHours(n);case"Date":return i?r.setUTCDate(n):r.setDate(n);case"FullYear":break;default:return}t=n,o=e.month(),e=29!==(e=e.date())||1!==o||Ee(t)?e:28,i?r.setUTCFullYear(t,o,e):r.setFullYear(t,o,e)}}function Le(e,t){var n;return isNaN(e)||isNaN(t)?NaN:(n=(t%(n=12)+n)%n,e+=(t-n)/12,1==n?Ee(e)?29:28:31-n%7%2)}A=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},r("M",["MM",2],"Mo",function(){return this.month()+1}),r("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),r("MMMM",0,0,function(e){return this.localeData().months(this,e)}),f("M",n,u),f("MM",n,t),f("MMM",function(e,t){return t.monthsShortRegex(e)}),f("MMMM",function(e,t){return t.monthsRegex(e)}),x(["M","MM"],function(e,t){t[S]=w(e)-1}),x(["MMM","MMMM"],function(e,t,n,r){r=n._locale.monthsParse(e,r,n._strict);null!=r?t[S]=r:$(n).invalidMonth=e});var Ie="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,He=i,qe=i;function Ue(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!y(t=e.localeData().monthsParse(t)))return;var n=(n=e.date())<29?n:Math.min(n,Le(e.year(),t));e._isUTC?e._d.setUTCMonth(t,n):e._d.setMonth(t,n)}}function Ve(e){return null!=e?(Ue(this,e),m.updateOffset(this,!0),this):je(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}for(var t,n,r=[],i=[],o=[],a=0;a<12;a++)n=l([2e3,a]),t=h(this.monthsShort(n,"")),n=h(this.months(n,"")),r.push(t),i.push(n),o.push(n),o.push(t);r.sort(e),i.sort(e),o.sort(e),this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function We(e,t,n,r,i,o,a){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function Be(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ze(e,t,n){n=7+t-n;return n-(7+Be(e,0,n).getUTCDay()-t)%7-1}function Ge(e,t,n,r,i){var o,t=1+7*(t-1)+(7+n-r)%7+ze(e,r,i),n=t<=0?Oe(o=e-1)+t:t>Oe(e)?(o=e+1,t-Oe(e)):(o=e,t);return{year:o,dayOfYear:n}}function Ze(e,t,n){var r,i,o=ze(e.year(),t,n),o=Math.floor((e.dayOfYear()-o-1)/7)+1;return o<1?r=o+M(i=e.year()-1,t,n):o>M(e.year(),t,n)?(r=o-M(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function M(e,t,n){var r=ze(e,t,n),t=ze(e+1,t,n);return(Oe(e)-r+t)/7}r("w",["ww",2],"wo","week"),r("W",["WW",2],"Wo","isoWeek"),f("w",n,u),f("ww",n,t),f("W",n,u),f("WW",n,t),_e(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});function Je(e,t){return e.slice(t,7).concat(e.slice(0,t))}r("d",0,"do","day"),r("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),r("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),r("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),r("e",0,0,"weekday"),r("E",0,0,"isoWeekday"),f("d",n),f("e",n),f("E",n),f("dd",function(e,t){return t.weekdaysMinRegex(e)}),f("ddd",function(e,t){return t.weekdaysShortRegex(e)}),f("dddd",function(e,t){return t.weekdaysRegex(e)}),_e(["dd","ddd","dddd"],function(e,t,n,r){r=n._locale.weekdaysParse(e,r,n._strict);null!=r?t.d=r:$(n).invalidWeekday=e}),_e(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var Xe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ke="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=i,tt=i,nt=i;function rt(){function e(e,t){return t.length-e.length}for(var t,n,r,i=[],o=[],a=[],s=[],u=0;u<7;u++)r=l([2e3,1]).day(u),t=h(this.weekdaysMin(r,"")),n=h(this.weekdaysShort(r,"")),r=h(this.weekdays(r,"")),i.push(t),o.push(n),a.push(r),s.push(t),s.push(n),s.push(r);i.sort(e),o.sort(e),a.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function it(){return this.hours()%12||12}function ot(e,t){r(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}r("H",["HH",2],0,"hour"),r("h",["hh",2],0,it),r("k",["kk",2],0,function(){return this.hours()||24}),r("hmm",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)}),r("hmmss",0,0,function(){return""+it.apply(this)+o(this.minutes(),2)+o(this.seconds(),2)}),r("Hmm",0,0,function(){return""+this.hours()+o(this.minutes(),2)}),r("Hmmss",0,0,function(){return""+this.hours()+o(this.minutes(),2)+o(this.seconds(),2)}),ot("a",!0),ot("A",!1),f("a",at),f("A",at),f("H",n,c),f("h",n,u),f("k",n,u),f("HH",n,t),f("hh",n,t),f("kk",n,t),f("hmm",pe),f("hmmss",me),f("Hmm",pe),f("Hmmss",me),x(["H","HH"],_),x(["k","kk"],function(e,t,n){e=w(e);t[_]=24===e?0:e}),x(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),x(["h","hh"],function(e,t,n){t[_]=w(e),$(n).bigHour=!0}),x("hmm",function(e,t,n){var r=e.length-2;t[_]=w(e.substr(0,r)),t[E]=w(e.substr(r)),$(n).bigHour=!0}),x("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_]=w(e.substr(0,r)),t[E]=w(e.substr(r,2)),t[T]=w(e.substr(i)),$(n).bigHour=!0}),x("Hmm",function(e,t,n){var r=e.length-2;t[_]=w(e.substr(0,r)),t[E]=w(e.substr(r))}),x("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[_]=w(e.substr(0,r)),t[E]=w(e.substr(r,2)),t[T]=w(e.substr(i))});i=De("Hours",!0);var st,ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ie,monthsShort:Re,week:{dow:0,doy:6},weekdays:Xe,weekdaysMin:Qe,weekdaysShort:Ke,meridiemParse:/[ap]\.?m?\.?/i},O={},lt={};function ct(e){return e&&e.toLowerCase().replace("_","-")}function ft(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=ct(e[o]).split("-")).length,n=(n=ct(e[o+1]))?n.split("-"):null;0<t;){if(r=dt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r+=1)if(e[r]!==t[r])return r;return n}(i,n)>=t-1)break;t--}o++}return st}function dt(t){var e,n;if(void 0===O[t]&&"undefined"!=typeof module&&module&&module.exports&&(n=t)&&n.match("^[^/\\\\]*$"))try{e=st._abbr,require("./locale/"+t),ht(e)}catch(e){O[t]=null}return O[t]}function ht(e,t){return e&&((t=v(t)?N(e):pt(e,t))?st=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),st._abbr}function pt(e,t){if(null===t)return delete O[e],null;var n,r=ut;if(t.abbr=e,null!=O[e])X("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=O[e]._config;else if(null!=t.parentLocale)if(null!=O[t.parentLocale])r=O[t.parentLocale]._config;else{if(null==(n=dt(t.parentLocale)))return lt[t.parentLocale]||(lt[t.parentLocale]=[]),lt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return O[e]=new Q(K(r,t)),lt[e]&<[e].forEach(function(e){pt(e.name,e.config)}),ht(e),O[e]}function N(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return st;if(!g(e)){if(t=dt(e))return t;e=[e]}return ft(e)}function mt(e){var t=e._a;return t&&-2===$(e).overflow&&(t=t[S]<0||11<t[S]?S:t[C]<1||t[C]>Le(t[k],t[S])?C:t[_]<0||24<t[_]||24===t[_]&&(0!==t[E]||0!==t[T]||0!==t[Te])?_:t[E]<0||59<t[E]?E:t[T]<0||59<t[T]?T:t[Te]<0||999<t[Te]?Te:-1,$(e)._overflowDayOfYear&&(t<k||C<t)&&(t=C),$(e)._overflowWeeks&&-1===t&&(t=Ae),$(e)._overflowWeekday&&-1===t&&(t=Me),$(e).overflow=t),e}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,$t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],bt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wt=/^\/?Date\((-?\d+)/i,xt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t,n,r,i,o,a,s=e._i,u=gt.exec(s)||vt.exec(s),s=$t.length,l=bt.length;if(u){for($(e).iso=!0,t=0,n=s;t<n;t++)if($t[t][1].exec(u[1])){i=$t[t][0],r=!1!==$t[t][2];break}if(null==i)e._isValid=!1;else{if(u[3]){for(t=0,n=l;t<n;t++)if(bt[t][1].exec(u[3])){o=(u[2]||" ")+bt[t][0];break}if(null==o)return void(e._isValid=!1)}if(r||null==o){if(u[4]){if(!yt.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),At(e)}else e._isValid=!1}}else e._isValid=!1}function Ct(e,t,n,r,i,o){e=[function(e){e=parseInt(e,10);{if(e<=49)return 2e3+e;if(e<=999)return 1900+e}return e}(e),Re.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&e.push(parseInt(o,10)),e}function _t(e){var t,n,r=xt.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));r?(t=Ct(r[4],r[3],r[2],r[5],r[6],r[7]),function(e,t,n){if(!e||Ke.indexOf(e)===new Date(t[0],t[1],t[2]).getDay())return 1;$(n).weekdayMismatch=!0,n._isValid=!1}(r[1],t,e)&&(e._a=t,e._tzm=(t=r[8],n=r[9],r=r[10],t?kt[t]:n?0:60*(((t=parseInt(r,10))-(n=t%100))/100)+n),e._d=Be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),$(e).rfc2822=!0)):e._isValid=!1}function Et(e,t,n){return null!=e?e:null!=t?t:n}function Tt(e){var t,n,r,i,o,a,s,u,l,c,f,d=[];if(!e._d){for(r=e,i=new Date(m.now()),n=r._useUTC?[i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()]:[i.getFullYear(),i.getMonth(),i.getDate()],e._w&&null==e._a[C]&&null==e._a[S]&&(null!=(i=(r=e)._w).GG||null!=i.W||null!=i.E?(u=1,l=4,o=Et(i.GG,r._a[k],Ze(D(),1,4).year),a=Et(i.W,1),((s=Et(i.E,1))<1||7<s)&&(c=!0)):(u=r._locale._week.dow,l=r._locale._week.doy,f=Ze(D(),u,l),o=Et(i.gg,r._a[k],f.year),a=Et(i.w,f.week),null!=i.d?((s=i.d)<0||6<s)&&(c=!0):null!=i.e?(s=i.e+u,(i.e<0||6<i.e)&&(c=!0)):s=u),a<1||a>M(o,u,l)?$(r)._overflowWeeks=!0:null!=c?$(r)._overflowWeekday=!0:(f=Ge(o,a,s,u,l),r._a[k]=f.year,r._dayOfYear=f.dayOfYear)),null!=e._dayOfYear&&(i=Et(e._a[k],n[k]),(e._dayOfYear>Oe(i)||0===e._dayOfYear)&&($(e)._overflowDayOfYear=!0),c=Be(i,0,e._dayOfYear),e._a[S]=c.getUTCMonth(),e._a[C]=c.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=n[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[_]&&0===e._a[E]&&0===e._a[T]&&0===e._a[Te]&&(e._nextDay=!0,e._a[_]=0),e._d=(e._useUTC?Be:We).apply(null,d),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[_]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&($(e).weekdayMismatch=!0)}}function At(e){if(e._f===m.ISO_8601)St(e);else if(e._f===m.RFC_2822)_t(e);else{e._a=[],$(e).empty=!0;for(var t,n,r,i,o,a=""+e._i,s=a.length,u=0,l=ae(e._f,e._locale).match(te)||[],c=l.length,f=0;f<c;f++)n=l[f],(t=(a.match(ke(n,e))||[])[0])&&(0<(r=a.substr(0,a.indexOf(t))).length&&$(e).unusedInput.push(r),a=a.slice(a.indexOf(t)+t.length),u+=t.length),ie[n]?(t?$(e).empty=!1:$(e).unusedTokens.push(n),r=n,o=e,null!=(i=t)&&d(Ce,r)&&Ce[r](i,o._a,o,r)):e._strict&&!t&&$(e).unusedTokens.push(n);$(e).charsLeftOver=s-u,0<a.length&&$(e).unusedInput.push(a),e._a[_]<=12&&!0===$(e).bigHour&&0<e._a[_]&&($(e).bigHour=void 0),$(e).parsedDateParts=e._a.slice(0),$(e).meridiem=e._meridiem,e._a[_]=function(e,t,n){if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((e=e.isPM(n))&&t<12&&(t+=12),t=e||12!==t?t:0):t}(e._locale,e._a[_],e._meridiem),null!==(s=$(e).era)&&(e._a[k]=e._locale.erasConvertYear(s,e._a[k])),Tt(e),mt(e)}}function Mt(e){var t,n,r,i=e._i,o=e._f;if(e._locale=e._locale||N(e._l),null===i||void 0===o&&""===i)return V({nullInput:!0});if("string"==typeof i&&(e._i=i=e._locale.preparse(i)),b(i))return new G(mt(i));if(F(i))e._d=i;else if(g(o)){var a,s,u,l,c,f,d=e,h=!1,p=d._f.length;if(0===p)$(d).invalidFormat=!0,d._d=new Date(NaN);else{for(l=0;l<p;l++)c=0,f=!1,a=z({},d),null!=d._useUTC&&(a._useUTC=d._useUTC),a._f=d._f[l],At(a),U(a)&&(f=!0),c=(c+=$(a).charsLeftOver)+10*$(a).unusedTokens.length,$(a).score=c,h?c<u&&(u=c,s=a):(null==u||c<u||f)&&(u=c,s=a,f)&&(h=!0);q(d,s||a)}}else if(o)At(e);else if(v(o=(i=e)._i))i._d=new Date(m.now());else F(o)?i._d=new Date(o.valueOf()):"string"==typeof o?(n=i,null!==(t=wt.exec(n._i))?n._d=new Date(+t[1]):(St(n),!1===n._isValid&&(delete n._isValid,_t(n),!1===n._isValid)&&(delete n._isValid,n._strict?n._isValid=!1:m.createFromInputFallback(n)))):g(o)?(i._a=H(o.slice(0),function(e){return parseInt(e,10)}),Tt(i)):I(o)?(t=i)._d||(r=void 0===(n=ue(t._i)).day?n.date:n.day,t._a=H([n.year,n.month,r,n.hour,n.minute,n.second,n.millisecond],function(e){return e&&parseInt(e,10)}),Tt(t)):y(o)?i._d=new Date(o):m.createFromInputFallback(i);return U(e)||(e._d=null),e}function Ot(e,t,n,r,i){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(I(e)&&R(e)||g(e)&&0===e.length)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(i=new G(mt(Mt(i=o))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function D(e,t,n,r){return Ot(e,t,n,r,!1)}m.createFromInputFallback=e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){};pe=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:V()}),me=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:V()});function Nt(e,t){var n,r;if(!(t=1===t.length&&g(t[0])?t[0]:t).length)return D();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Dt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function jt(e){var e=ue(e),t=e.year||0,n=e.quarter||0,r=e.month||0,i=e.week||e.isoWeek||0,o=e.day||0,a=e.hour||0,s=e.minute||0,u=e.second||0,l=e.millisecond||0;this._isValid=function(e){var t,n,r=!1,i=Dt.length;for(t in e)if(d(e,t)&&(-1===A.call(Dt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[Dt[n]]){if(r)return!1;parseFloat(e[Dt[n]])!==w(e[Dt[n]])&&(r=!0)}return!0}(e),this._milliseconds=+l+1e3*u+6e4*s+1e3*a*60*60,this._days=+o+7*i,this._months=+r+3*n+12*t,this._data={},this._locale=N(),this._bubble()}function Pt(e){return e instanceof jt}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,n){r(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+o(~~(e/60),2)+n+o(~~e%60,2)})}It("Z",":"),It("ZZ",""),f("Z",xe),f("ZZ",xe),x(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ft(xe,e)});var Rt=/([\+\-]|\d\d)/gi;function Ft(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Rt)||["-",0,0])[1]+w(e[2]))?0:"+"===e[0]?t:-t}function Ht(e,t){var n;return t._isUTC?(t=t.clone(),n=(b(e)||F(e)?e:D(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+n),m.updateOffset(t,!1),t):D(e).local()}function qt(e){return-Math.round(e._d.getTimezoneOffset())}function Ut(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Yt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function j(e,t){var n,r=e;return Pt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:y(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(t=Vt.exec(e))?(n="-"===t[1]?-1:1,r={y:0,d:w(t[C])*n,h:w(t[_])*n,m:w(t[E])*n,s:w(t[T])*n,ms:w(Lt(1e3*t[Te]))*n}):(t=Yt.exec(e))?(n="-"===t[1]?-1:1,r={y:Wt(t[2],n),M:Wt(t[3],n),w:Wt(t[4],n),d:Wt(t[5],n),h:Wt(t[6],n),m:Wt(t[7],n),s:Wt(t[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(t=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Ht(t,e),e.isBefore(t)?n=Bt(e,t):((n=Bt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(D(r.from),D(r.to)),(r={}).ms=t.milliseconds,r.M=t.months),n=new jt(r),Pt(e)&&d(e,"_locale")&&(n._locale=e._locale),Pt(e)&&d(e,"_isValid")&&(n._isValid=e._isValid),n}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function Bt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function zt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(X(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Gt(this,j(e,t),r),this}}function Gt(e,t,n,r){var i=t._milliseconds,o=Lt(t._days),t=Lt(t._months);e.isValid()&&(r=null==r||r,t&&Ue(e,je(e,"Month")+t*n),o&&Pe(e,"Date",je(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r)&&m.updateOffset(e,o||t)}j.fn=jt.prototype,j.invalid=function(){return j(NaN)};Ie=zt(1,"add"),Xe=zt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Jt(e){return b(e)||F(e)||Zt(e)||y(e)||function(t){var e=g(t),n=!1;e&&(n=0===t.filter(function(e){return!y(e)&&Zt(t)}).length);return e&&n}(e)||function(e){var t,n,r=I(e)&&!R(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=o.length;for(t=0;t<a;t+=1)n=o[t],i=i||d(e,n);return r&&i}(e)||null==e}function Xt(e,t){var n,r;return e.date()<t.date()?-Xt(t,e):-((n=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(r=e.clone().add(n,"months"))<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(1+n,"months")-r)))||0}function Kt(e){return void 0===e?this._locale._abbr:(null!=(e=N(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Qt(){return this._locale}var en=126227808e5;function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-en:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-en:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){for(var e,t,n,r=[],i=[],o=[],a=[],s=this.eras(),u=0,l=s.length;u<l;++u)e=h(s[u].name),t=h(s[u].abbr),n=h(s[u].narrow),i.push(e),r.push(t),o.push(n),a.push(e),a.push(t),a.push(n);this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function sn(e,t){r(0,[e,e.length],0,t)}function un(e,t,n,r,i){var o;return null==e?Ze(this,r,i).year:(o=M(e,r,i),function(e,t,n,r,i){e=Ge(e,t,n,r,i),t=Be(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t=o<t?o:t,n,r,i))}r("N",0,0,"eraAbbr"),r("NN",0,0,"eraAbbr"),r("NNN",0,0,"eraAbbr"),r("NNNN",0,0,"eraName"),r("NNNNN",0,0,"eraNarrow"),r("y",["y",1],"yo","eraYear"),r("y",["yy",2],0,"eraYear"),r("y",["yyy",3],0,"eraYear"),r("y",["yyyy",4],0,"eraYear"),f("N",on),f("NN",on),f("NNN",on),f("NNNN",function(e,t){return t.erasNameRegex(e)}),f("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),x(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){r=n._locale.erasParse(e,r,n._strict);r?$(n).era=r:$(n).invalidEra=e}),f("y",$e),f("yy",$e),f("yyy",$e),f("yyyy",$e),f("yo",function(e,t){return t._eraYearOrdinalRegex||$e}),x(["y","yy","yyy","yyyy"],k),x(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[k]=n._locale.eraYearOrdinalParse(e,i):t[k]=parseInt(e,10)}),r(0,["gg",2],0,function(){return this.weekYear()%100}),r(0,["GG",2],0,function(){return this.isoWeekYear()%100}),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),f("G",be),f("g",be),f("GG",n,t),f("gg",n,t),f("GGGG",ve,de),f("gggg",ve,de),f("GGGGG",ye,he),f("ggggg",ye,he),_e(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),_e(["gg","GG"],function(e,t,n,r){t[r]=m.parseTwoDigitYear(e)}),r("Q",0,"Qo","quarter"),f("Q",ce),x("Q",function(e,t){t[S]=3*(w(e)-1)}),r("D",["DD",2],"Do","date"),f("D",n,u),f("DD",n,t),f("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),x(["D","DD"],C),x("Do",function(e,t){t[C]=w(e.match(n)[0])});ve=De("Date",!0);r("DDD",["DDDD",3],"DDDo","dayOfYear"),f("DDD",ge),f("DDDD",fe),x(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),r("m",["mm",2],0,"minute"),f("m",n,c),f("mm",n,t),x(["m","mm"],E);var ln,de=De("Minutes",!1),ye=(r("s",["ss",2],0,"second"),f("s",n,c),f("ss",n,t),x(["s","ss"],T),De("Seconds",!1));for(r("S",0,0,function(){return~~(this.millisecond()/100)}),r(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),r(0,["SSS",3],0,"millisecond"),r(0,["SSSS",4],0,function(){return 10*this.millisecond()}),r(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),r(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),r(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),r(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),r(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),f("S",ge,ce),f("SS",ge,t),f("SSS",ge,fe),ln="SSSS";ln.length<=9;ln+="S")f(ln,$e);function cn(e,t){t[Te]=w(1e3*("0."+e))}for(ln="S";ln.length<=9;ln+="S")x(ln,cn);he=De("Milliseconds",!1),r("z",0,0,"zoneAbbr"),r("zz",0,0,"zoneName");u=G.prototype;function fn(e){return e}u.add=Ie,u.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=I(e)&&!R(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<r.length;i+=1)n=n||d(e,r[i]);return t&&n}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||D(),n=Ht(e,this).startOf("day"),n=m.calendarFormat(this,n)||"sameElse",t=t&&(a(t[n])?t[n].call(this,e):t[n]);return this.format(t||this.localeData().calendar(n,this,D(e)))},u.clone=function(){return new G(this)},u.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Ht(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=s(t)){case"year":o=Xt(this,r)/12;break;case"month":o=Xt(this,r);break;case"quarter":o=Xt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:p(o)},u.endOf=function(e){var t,n;if(void 0!==(e=s(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},u.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=oe(this,e),this.localeData().postformat(e)},u.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||D(e).isValid())?j({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},u.fromNow=function(e){return this.from(D(),e)},u.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||D(e).isValid())?j({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},u.toNow=function(e){return this.to(D(),e)},u.get=function(e){return a(this[e=s(e)])?this[e]():this},u.invalidAt=function(){return $(this).overflow},u.isAfter=function(e,t){return e=b(e)?e:D(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=s(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},u.isBefore=function(e,t){return e=b(e)?e:D(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=s(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},u.isBetween=function(e,t,n,r){return e=b(e)?e:D(e),t=b(t)?t:D(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},u.isSame=function(e,t){var e=b(e)?e:D(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=s(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},u.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},u.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},u.isValid=function(){return U(this)},u.lang=Qe,u.locale=Kt,u.localeData=Qt,u.max=me,u.min=pe,u.parsingFlags=function(){return q({},$(this))},u.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t,n=[];for(t in e)d(e,t)&&n.push({unit:t,priority:le[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=ue(e)),r=n.length,i=0;i<r;i++)this[n[i].unit](e[n[i].unit]);else if(a(this[e=s(e)]))return this[e](t);return this},u.startOf=function(e){var t,n;if(void 0!==(e=s(e))&&"millisecond"!==e&&this.isValid()){switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},u.subtract=Xe,u.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},u.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},u.toDate=function(){return new Date(this.valueOf())},u.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?oe(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):a(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",oe(t,"Z")):oe(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},u.inspect=function(){var e,t,n;return this.isValid()?(t="moment",e="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),t="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+(e+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(u[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),u.toJSON=function(){return this.isValid()?this.toISOString():null},u.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},u.unix=function(){return Math.floor(this.valueOf()/1e3)},u.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},u.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},u.eraName=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].name;if(t[n].until<=e&&e<=t[n].since)return t[n].name}return""},u.eraNarrow=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].narrow;if(t[n].until<=e&&e<=t[n].since)return t[n].narrow}return""},u.eraAbbr=function(){for(var e,t=this.localeData().eras(),n=0,r=t.length;n<r;++n){if(e=this.clone().startOf("day").valueOf(),t[n].since<=e&&e<=t[n].until)return t[n].abbr;if(t[n].until<=e&&e<=t[n].since)return t[n].abbr}return""},u.eraYear=function(){for(var e,t,n=this.localeData().eras(),r=0,i=n.length;r<i;++r)if(e=n[r].since<=n[r].until?1:-1,t=this.clone().startOf("day").valueOf(),n[r].since<=t&&t<=n[r].until||n[r].until<=t&&t<=n[r].since)return(this.year()-m(n[r].since).year())*e+n[r].offset;return this.year()},u.year=Ne,u.isLeapYear=function(){return Ee(this.year())},u.weekYear=function(e){return un.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},u.isoWeekYear=function(e){return un.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},u.quarter=u.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},u.month=Ve,u.daysInMonth=function(){return Le(this.year(),this.month())},u.week=u.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},u.isoWeek=u.isoWeeks=function(e){var t=Ze(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},u.weeksInYear=function(){var e=this.localeData()._week;return M(this.year(),e.dow,e.doy)},u.weeksInWeekYear=function(){var e=this.localeData()._week;return M(this.weekYear(),e.dow,e.doy)},u.isoWeeksInYear=function(){return M(this.year(),1,4)},u.isoWeeksInISOWeekYear=function(){return M(this.isoWeekYear(),1,4)},u.date=ve,u.day=u.days=function(e){var t,n,r;return this.isValid()?(t=je(this,"Day"),null!=e?(n=e,r=this.localeData(),e="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=r.weekdaysParse(n))?n:null:parseInt(n,10),this.add(e-t,"d")):t):null!=e?this:NaN},u.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},u.isoWeekday=function(e){var t,n;return this.isValid()?null!=e?(t=e,n=this.localeData(),n="string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?n:n-7)):this.day()||7:null!=e?this:NaN},u.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},u.hour=u.hours=i,u.minute=u.minutes=de,u.second=u.seconds=ye,u.millisecond=u.milliseconds=he,u.utcOffset=function(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:qt(this);if("string"==typeof e){if(null===(e=Ft(xe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=qt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Gt(this,j(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},u.utc=function(e){return this.utcOffset(0,e)},u.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(qt(this),"m"),this},u.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Ft(we,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},u.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60==0)},u.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},u.isLocal=function(){return!!this.isValid()&&!this._isUTC},u.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},u.isUtc=Ut,u.isUTC=Ut,u.zoneAbbr=function(){return this._isUTC?"UTC":""},u.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},u.dates=e("dates accessor is deprecated. Use date instead.",ve),u.months=e("months accessor is deprecated. Use month instead",Ve),u.years=e("years accessor is deprecated. Use year instead",Ne),u.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),u.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return v(this._isDSTShifted)&&(z(e={},this),(e=Mt(e))._a?(t=(e._isUTC?l:D)(e._a),this._isDSTShifted=this.isValid()&&0<function(e,t,n){for(var r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0,a=0;a<r;a++)(n&&e[a]!==t[a]||!n&&w(e[a])!==w(t[a]))&&o++;return o+i}(e._a,t.toArray())):this._isDSTShifted=!1),this._isDSTShifted});c=Q.prototype;function dn(e,t,n,r){var i=N(),r=l().set(r,t);return i[n](r,e)}function hn(e,t,n){if(y(e)&&(t=e,e=void 0),e=e||"",null!=t)return dn(e,t,n,"month");for(var r=[],i=0;i<12;i++)r[i]=dn(e,i,n,"month");return r}function pn(e,t,n,r){t=("boolean"==typeof e?y(t)&&(n=t,t=void 0):(t=e,e=!1,y(n=t)&&(n=t,t=void 0)),t||"");var i,o=N(),a=e?o._week.dow:0,s=[];if(null!=n)return dn(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=dn(t,(i+a)%7,r,"day");return s}c.calendar=function(e,t,n){return a(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,n):e},c.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(te).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},c.invalidDate=function(){return this._invalidDate},c.ordinal=function(e){return this._ordinal.replace("%d",e)},c.preparse=fn,c.postformat=fn,c.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return a(i)?i(e,t,n,r):i.replace(/%d/i,e)},c.pastFuture=function(e,t){return a(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},c.set=function(e){var t,n;for(n in e)d(e,n)&&(a(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},c.eras=function(e,t){for(var n,r=this._eras||N("en")._eras,i=0,o=r.length;i<o;++i)switch("string"==typeof r[i].since&&(n=m(r[i].since).startOf("day"),r[i].since=n.valueOf()),typeof r[i].until){case"undefined":r[i].until=1/0;break;case"string":n=m(r[i].until).startOf("day").valueOf(),r[i].until=n.valueOf()}return r},c.erasParse=function(e,t,n){var r,i,o,a,s,u=this.eras();for(e=e.toUpperCase(),r=0,i=u.length;r<i;++r)if(o=u[r].name.toUpperCase(),a=u[r].abbr.toUpperCase(),s=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return u[r];break;case"NNNN":if(o===e)return u[r];break;case"NNNNN":if(s===e)return u[r]}else if(0<=[o,a,s].indexOf(e))return u[r]},c.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*n},c.erasAbbrRegex=function(e){return d(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},c.erasNameRegex=function(e){return d(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},c.erasNarrowRegex=function(e){return d(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},c.months=function(e,t){return e?(g(this._months)?this._months:this._months[(this._months.isFormat||Fe).test(t)?"format":"standalone"])[e.month()]:g(this._months)?this._months:this._months.standalone},c.monthsShort=function(e,t){return e?(g(this._monthsShort)?this._monthsShort:this._monthsShort[Fe.test(t)?"format":"standalone"])[e.month()]:g(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},c.monthsParse=function(e,t,n){var r,i;if(this._monthsParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=A.call(this._shortMonthsParse,e))?i:null:-1!==(i=A.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=A.call(this._shortMonthsParse,e))||-1!==(i=A.call(this._longMonthsParse,e))?i:null:-1!==(i=A.call(this._longMonthsParse,e))||-1!==(i=A.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=l([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},c.monthsRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=qe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},c.monthsShortRegex=function(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},c.week=function(e){return Ze(e,this._week.dow,this._week.doy).week},c.firstDayOfYear=function(){return this._week.doy},c.firstDayOfWeek=function(){return this._week.dow},c.weekdays=function(e,t){return t=g(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?Je(t,this._week.dow):e?t[e.day()]:t},c.weekdaysMin=function(e){return!0===e?Je(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},c.weekdaysShort=function(e){return!0===e?Je(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},c.weekdaysParse=function(e,t,n){var r,i;if(this._weekdaysParseExact)return function(e,t,n){var r,i,o,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=A.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=A.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=A.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=A.call(this._weekdaysParse,e))||-1!==(i=A.call(this._shortWeekdaysParse,e))||-1!==(i=A.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=A.call(this._shortWeekdaysParse,e))||-1!==(i=A.call(this._weekdaysParse,e))||-1!==(i=A.call(this._minWeekdaysParse,e))?i:null:-1!==(i=A.call(this._minWeekdaysParse,e))||-1!==(i=A.call(this._weekdaysParse,e))||-1!==(i=A.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;
vendor: 6,681 bytes, line 1
1r++){if(i=l([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},c.weekdaysRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},c.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},c.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||rt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},c.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},c.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},ht("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",ht),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",N);var mn=Math.abs;function gn(e,t,n,r){t=j(t,n);return e._milliseconds+=r*t._milliseconds,e._days+=r*t._days,e._months+=r*t._months,e._bubble()}function vn(e){return e<0?Math.floor(e):Math.ceil(e)}function yn(e){return 4800*e/146097}function $n(e){return 146097*e/4800}function bn(e){return function(){return this.as(e)}}ce=bn("ms"),t=bn("s"),ge=bn("m"),fe=bn("h"),Ie=bn("d"),me=bn("w"),pe=bn("M"),Xe=bn("Q"),i=bn("y"),de=ce;function wn(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=wn("milliseconds"),he=wn("seconds"),ve=wn("minutes"),Ne=wn("hours"),c=wn("days"),xn=wn("months"),kn=wn("years");var Sn=Math.round,Cn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function _n(e,t,n,r){var i=j(e).abs(),o=Sn(i.as("s")),a=Sn(i.as("m")),s=Sn(i.as("h")),u=Sn(i.as("d")),l=Sn(i.as("M")),c=Sn(i.as("w")),i=Sn(i.as("y")),o=(o<=n.ss?["s",o]:o<n.s&&["ss",o])||(a<=1?["m"]:a<n.m&&["mm",a])||(s<=1?["h"]:s<n.h&&["hh",s])||(u<=1?["d"]:u<n.d&&["dd",u]);return(o=(o=null!=n.w?o||(c<=1?["w"]:c<n.w&&["ww",c]):o)||(l<=1?["M"]:l<n.M&&["MM",l])||(i<=1?["y"]:["yy",i]))[2]=t,o[3]=0<+e,o[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,o)}var En=Math.abs;function Tn(e){return(0<e)-(e<0)||+e}function An(){var e,t,n,r,i,o,a,s,u,l,c;return this.isValid()?(e=En(this._milliseconds)/1e3,t=En(this._days),n=En(this._months),(s=this.asSeconds())?(r=p(e/60),i=p(r/60),e%=60,r%=60,o=p(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=Tn(this._months)!==Tn(s)?"-":"",l=Tn(this._days)!==Tn(s)?"-":"",c=Tn(this._milliseconds)!==Tn(s)?"-":"",(s<0?"-":"")+"P"+(o?u+o+"Y":"")+(n?u+n+"M":"")+(t?l+t+"D":"")+(i||r||e?"T":"")+(i?c+i+"H":"")+(r?c+r+"M":"")+(e?c+a+"S":"")):"P0D"):this.localeData().invalidDate()}var P=jt.prototype;return P.isValid=function(){return this._isValid},P.abs=function(){var e=this._data;return this._milliseconds=mn(this._milliseconds),this._days=mn(this._days),this._months=mn(this._months),e.milliseconds=mn(e.milliseconds),e.seconds=mn(e.seconds),e.minutes=mn(e.minutes),e.hours=mn(e.hours),e.months=mn(e.months),e.years=mn(e.years),this},P.add=function(e,t){return gn(this,e,t,1)},P.subtract=function(e,t){return gn(this,e,t,-1)},P.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=s(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+yn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round($n(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},P.asMilliseconds=ce,P.asSeconds=t,P.asMinutes=ge,P.asHours=fe,P.asDays=Ie,P.asWeeks=me,P.asMonths=pe,P.asQuarters=Xe,P.asYears=i,P.valueOf=de,P._bubble=function(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data;return 0<=e&&0<=t&&0<=n||e<=0&&t<=0&&n<=0||(e+=864e5*vn($n(n)+t),n=t=0),r.milliseconds=e%1e3,e=p(e/1e3),r.seconds=e%60,e=p(e/60),r.minutes=e%60,e=p(e/60),r.hours=e%24,t+=p(e/24),n+=e=p(yn(t)),t-=vn($n(e)),e=p(n/12),n%=12,r.days=t,r.months=n,r.years=e,this},P.clone=function(){return j(this)},P.get=function(e){return e=s(e),this.isValid()?this[e+"s"]():NaN},P.milliseconds=ye,P.seconds=he,P.minutes=ve,P.hours=Ne,P.days=c,P.weeks=function(){return p(this.days()/7)},P.months=xn,P.years=kn,P.humanize=function(e,t){var n,r;return this.isValid()?(n=!1,r=Cn,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(n=e),"object"==typeof t&&(r=Object.assign({},Cn,t),null!=t.s)&&null==t.ss&&(r.ss=t.s-1),e=this.localeData(),t=_n(this,!n,r,e),n&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},P.toISOString=An,P.toString=An,P.toJSON=An,P.locale=Kt,P.localeData=Qt,P.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",An),P.lang=Qe,r("X",0,0,"unix"),r("x",0,0,"valueOf"),f("x",be),f("X",/[+-]?\d+(\.\d{1,3})?/),x("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),x("x",function(e,t,n){n._d=new Date(w(e))}),m.version="2.30.1",L=D,m.fn=u,m.min=function(){return Nt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Nt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=l,m.unix=function(e){return D(1e3*e)},m.months=function(e,t){return hn(e,t,"months")}
1,m.isDate=F,m.locale=ht,m.invalid=V,m.duration=j,m.isMoment=b,m.weekdays=function(e,t,n){return pn(e,t,n,"weekdays")},m.parseZone=function(){return D.apply(null,arguments).parseZone()},m.localeData=N,m.isDuration=Pt,m.monthsShort=function(e,t){return hn(e,t,"monthsShort")},m.weekdaysMin=function(e,t,n){return pn(e,t,n,"weekdaysMin")},m.defineLocale=pt,m.updateLocale=function(e,t){var n,r;return null!=t?(r=ut,null!=O[e]&&null!=O[e].parentLocale?O[e].set(K(O[e]._config,t)):(t=K(r=null!=(n=dt(e))?n._config:r,t),null==n&&(t.abbr=e),(r=new Q(t)).parentLocale=O[e],O[e]=r),ht(e)):null!=O[e]&&(null!=O[e].parentLocale?(O[e]=O[e].parentLocale,e===ht()&&ht(e)):null!=O[e]&&delete O[e]),O[e]},m.locales=function(){return ee(O)},m.weekdaysShort=function(e,t,n){return pn(e,t,n,"weekdaysShort")},m.normalizeUnits=s,m.relativeTimeRounding=function(e){return void 0===e?Sn:"function"==typeof e&&(Sn=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Cn[e]&&(void 0===t?Cn[e]:(Cn[e]=t,"s"===e&&(Cn.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=u,m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},m}),function(b,w,x){"use strict";!function r(i,o,a){function s(n,e){if(!o[n]){if(!i[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(u)return u(n,!0);e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}t=o[n]={exports:{}};i[n][0].call(t.exports,function(e){var t=i[n][1][e];return s(t||e)},t,t.exports,r,i,o,a)}return o[n].exports}for(var u="function"==typeof require&&require,e=0;e<a.length;e++)s(a[e]);return s}({1:[function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var c,f,i,d,h=e("./modules/handle-dom"),p=e("./modules/utils"),m=e("./modules/handle-swal-dom"),g=e("./modules/handle-click"),v=r(e("./modules/handle-key")),y=r(e("./modules/default-params")),$=r(e("./modules/set-params"));n.default=i=d=function(){function e(e){return(t[e]===x?y.default:t)[e]}var t=arguments[0];if(h.addClass(w.body,"stop-scrolling"),m.resetInput(),t===x)return p.logStr("SweetAlert expects at least 1 attribute!"),!1;var n=p.extend({},y.default);switch(typeof t){case"string":n.title=t,n.text=arguments[1]||"",n.type=arguments[2]||"";break;case"object":if(t.title===x)return p.logStr('Missing "title" argument!'),!1;for(var r in n.title=t.title,y.default)n[r]=e(r);n.confirmButtonText=n.showCancelButton?"Confirm":y.default.confirmButtonText,n.confirmButtonText=e("confirmButtonText"),n.doneFunction=arguments[1]||null;break;default:return p.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof t),!1}$.default(n),m.fixVerticalPosition(),m.openModal(arguments[1]);for(var i=m.getModal(),o=i.querySelectorAll("button"),a=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],s=function(e){return g.handleButton(e,n,i)},u=0;u<o.length;u++)for(var l=0;l<a.length;l++)o[u][a[l]]=s;m.getOverlay().onclick=s,c=b.onkeydown;b.onkeydown=function(e){return v.default(e,n,i)},b.onfocus=function(){setTimeout(function(){f!==x&&(f.focus(),f=x)},0)},d.enableButtons()},i.setDefaults=d.setDefaults=function(e){if(!e)throw new Error("userParams is required");if("object"!=typeof e)throw new Error("userParams has to be a object");p.extend(y.default,e)},i.close=d.close=function(){var t=m.getModal(),e=(h.fadeOut(m.getOverlay(),5),h.fadeOut(t,5),h.removeClass(t,"showSweetAlert"),h.addClass(t,"hideSweetAlert"),h.removeClass(t,"visible"),t.querySelector(".sa-icon.sa-success")),e=(h.removeClass(e,"animate"),h.removeClass(e.querySelector(".sa-tip"),"animateSuccessTip"),h.removeClass(e.querySelector(".sa-long"),"animateSuccessLong"),t.querySelector(".sa-icon.sa-error")),e=(h.removeClass(e,"animateErrorIcon"),h.removeClass(e.querySelector(".sa-x-mark"),"animateXMark"),t.querySelector(".sa-icon.sa-warning"));return h.removeClass(e,"pulseWarning"),h.removeClass(e.querySelector(".sa-body"),"pulseWarningIns"),h.removeClass(e.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var e=t.getAttribute("data-custom-class");h.removeClass(t,e)},300),h.removeClass(w.body,"stop-scrolling"),b.onkeydown=c,b.previousActiveElement&&b.previousActiveElement.focus(),f=x,clearTimeout(t.timeout),!0},i.showInputError=d.showInputError=function(e){var t=m.getModal(),n=t.querySelector(".sa-input-error"),n=(h.addClass(n,"show"),t.querySelector(".sa-error-container"));h.addClass(n,"show"),n.querySelector("p").innerHTML=e,setTimeout(function(){i.enableButtons()}
1,1),t.querySelector("input").focus()},i.resetInputError=d.resetInputError=function(e){if(e&&13===e.keyCode)return!1;var e=m.getModal(),t=e.querySelector(".sa-input-error"),t=(h.removeClass(t,"show"),e.querySelector(".sa-error-container"));h.removeClass(t,"show")},i.disableButtons=d.disableButtons=function(){var e=m.getModal(),t=e.querySelector("button.confirm"),e=e.querySelector("button.cancel");t.disabled=!0,e.disabled=!0},i.enableButtons=d.enableButtons=function(){var e=m.getModal(),t=e.querySelector("button.confirm"),e=e.querySelector("button.cancel");t.disabled=!1,e.disabled=!1},void 0!==b?b.sweetAlert=b.swal=i:p.logStr("SweetAlert is a frontend module!"),t.exports=n.default},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});n.default={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,
1confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1},t.exports=n.default},{}],3:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});function p(e,t){var n=!0;v.hasClass(e,"show-input")&&(n=(n=e.querySelector("input").value)||""),t.doneFunction(n),t.closeOnConfirm&&sweetAlert.close(),t.showLoaderOnConfirm&&sweetAlert.disableButtons()}function m(e,t){var n=String(t.doneFunction).replace(/\s/g,"");"function("===n.substring(0,9)&&")"!==n.substring(9,10)&&t.doneFunction(!1),t.closeOnCancel&&sweetAlert.close()}var g=e("./utils"),v=(e("./handle-swal-dom"),e("./handle-dom"));n.default={handleButton:function(e,t,n){function r(e){u&&t.confirmButtonColor&&(s.style.backgroundColor=e)}var i,o,a,e=e||b.event,s=e.target||e.srcElement,u=-1!==s.className.indexOf("confirm"),l=-1!==s.className.indexOf("sweet-overlay"),c=v.hasClass(n,"visible"),f=t.doneFunction&&"true"===n.getAttribute("data-has-done-function");switch(u&&t.confirmButtonColor&&(i=t.confirmButtonColor,o=g.colorLuminance(i,-.04),a=g.colorLuminance(i,-.14)),e.type){case"mouseover":r(o);break;case"mouseout":r(i);break;case"mousedown":r(a);break;case"mouseup":r(o);break;case"focus":var d=n.querySelector("button.confirm"),h=n.querySelector("button.cancel");u?h.style.boxShadow="none":d.style.boxShadow="none";break;case"click":h=n===s,d=v.isDescendant(n,s);(h||d||!c||t.allowOutsideClick)&&(u&&f&&c?p(n,t):f&&c||l?m(0,t):v.isDescendant(n,s)&&"BUTTON"===s.tagName&&sweetAlert.close())}},handleConfirm:p,handleCancel:m},t.exports=n.default},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});function r(e,t){return new RegExp(" "+t+" ").test(" "+e.className+" ")}function i(e){e.style.opacity="",e.style.display="block"}function o(e){e.style.opacity="",e.style.display="none"}n.hasClass=r,n.addClass=function(e,t){r(e,t)||(e.className+=" "+t)},n.removeClass=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(r(e,t)){for(;0<=n.indexOf(" "+t+" ");)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},n.escapeHtml=function(e){var t=w.createElement("div");return t.appendChild(w.createTextNode(e)),t.innerHTML},n._show=i,n.show=function(e){if(e&&!e.length)return i(e);for(var t=0;t<e.length;++t)i(e[t])},n._hide=o,n.hide=function(e){if(e&&!e.length)return o(e);for(var t=0;t<e.length;++t)o(e[t])},n.isDescendant=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},n.getTopMargin=function(e){e.style.left="-9999px",e.style.display="block";var t=e.clientHeight,n="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(e).getPropertyValue("padding-top"),10):parseInt(e.currentStyle.padding);return e.style.left="",e.style.display="none","-"+parseInt((t+n)/2)+"px"},n.fadeIn=function(e,t){var n,r,i;function o(){return i.apply(this,arguments)}+e.style.opacity<1&&(t=t||16,e.style.opacity=0,e.style.display="block",n=+new Date,i=function(){e.style.opacity=+e.style.opacity+(new Date-n)/100,n=+new Date,+e.style.opacity<1&&setTimeout(r,t)},o.toString=function(){return i.toString()},(r=o)()),e.style.display="block"},n.fadeOut=function(e,t){t=t||16,e.style.opacity=1;var n,r=+new Date,i=(n=function(){e.style.opacity=+e.style.opacity-(new Date-r)/100,r=+new Date,0<+e.style.opacity?setTimeout(i,t):e.style.display="none"},o.toString=function(){return n.toString()},o);function o(){return n.apply(this,arguments)}i()},n.fireClick=function(e){var t;"function"==typeof MouseEvent?(t=new MouseEvent("click",{view:b,bubbles:!1,cancelable:!0}),e.dispatchEvent(t)):w.createEvent?((t=w.createEvent("MouseEvents")).initEvent("click",!1,!1),e.dispatchEvent(t)):w.createEventObject?e.fireEvent("onclick"):"function"==typeof e.onclick&&e.onclick()},n.stopEventPropagation=function(e){"function"==typeof e.stopPropagation?(e.stopPropagation(),e.preventDefault()):b.event&&b.event.hasOwnProperty("cancelBubble")&&(b.event.cancelBubble=!0)}},{}],5:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var c=e("./handle-dom"),f=e("./handle-swal-dom");n.default=function(e,t,n){var e=e||b.event,r=e.keyCode||e.which,i=n.querySelector("button.confirm"),o=n.querySelector("button.cancel"),a=n.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(r)){for(var s=e.target||e.srcElement,u=-1,l=0;l<a.length;l++)if(s===a[l]){u=l;break}9===r?(s=-1===u?i:u===a.length-1?a[0]:a[u+1],c.stopEventPropagation(e),s.focus(),t.confirmButtonColor&&f.setFocusStyle(s,t.confirmButtonColor)):13===r?"INPUT"===s.tagName&&(s=i).focus():27===r&&!0===t.allowEscapeKey&&c.fireClick(s=o,e)}},t.exports=n.default},{"./handle-dom":4,"./handle-swal-dom":6}
1],6:[function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(){var e=w.createElement("div");for(e.innerHTML=d.default;e.firstChild;)w.body.appendChild(e.firstChild)}function o(){var e=h();return e?e.querySelector("input"):void 0}function a(){return w.querySelector(".sweet-overlay")}function s(e){if(e&&13===e.keyCode)return!1;var t=(e=h()).querySelector(".sa-input-error"),t=(c.removeClass(t,"show"),e.querySelector(".sa-error-container"));c.removeClass(t,"show")}Object.defineProperty(n,"__esModule",{value:!0});var u,l=e("./utils"),c=e("./handle-dom"),f=r(e("./default-params")),d=r(e("./injected-html")),h=(u=function(){var e=w.querySelector(".sweet-alert");return e||(i(),e=h()),e},p.toString=function(){return u.toString()},p);function p(){return u.apply(this,arguments)}n.sweetAlertInitialize=i,n.getModal=h,n.getOverlay=a,n.getInput=o,n.setFocusStyle=function(e,t){t=l.hexToRgb(t);e.style.boxShadow="0 0 2px rgba("+t+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)"},n.openModal=function(e){var t=h();c.fadeIn(a(),10),c.show(t),c.addClass(t,"showSweetAlert"),c.removeClass(t,"hideSweetAlert"),b.previousActiveElement=w.activeElement;t.querySelector("button.confirm").focus(),setTimeout(function(){c.addClass(t,"visible")},500);var n,r=t.getAttribute("data-timer");"null"!==r&&""!==r&&(n=e,t.timeout=setTimeout(function(){(n?"true"===t.getAttribute("data-has-done-function"):null)?n(null):sweetAlert.close()},r))},n.resetInput=function(){var e=h(),t=o();c.removeClass(e,"show-input"),t.value=f.default.inputValue,t.setAttribute("type",f.default.inputType),t.setAttribute("placeholder",f.default.inputPlaceholder),s()},n.resetInputError=s,n.fixVerticalPosition=function(){h().style.marginTop=c.getTopMargin(h())}},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});n.default='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">
1\n <span class="sa-x-mark">\n <span class="sa-line sa-left"></span>\n <span class="sa-line sa-right"></span>\n </span>\n </div><div class="sa-icon sa-warning">\n <span class="sa-body"></span>\n <span class="sa-dot"></span>\n </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n <span class="sa-line sa-tip"></span>\n <span class="sa-line sa-long"></span>\n\n <div class="sa-placeholder"></div>\n <div class="sa-fix"></div>\n </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n <p>Text</p>\n <fieldset>\n <input type="text" tabIndex="3" />\n <div class="sa-input-error"></div>\n </fieldset><div class="sa-error-container">\n <div class="icon">!</div>\n <p>Not valid!</p>\n </div><div class="sa-button-container">\n <button class="cancel" tabIndex="2">Cancel</button>\n <div class="sa-confirm-button-container">\n <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n <div></div>\n <div></div>\n <div></div>\n </div>\n </div>\n </div></div>',t.exports=n.default},{}],8:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var l=e("./utils"),c=e("./handle-swal-dom"),f=e("./handle-dom"),d=["error","warning","info","success","input","prompt"];n.default=function(i){var e,t,o=c.getModal(),n=o.querySelector("h2"),r=o.querySelector("p"),a=o.querySelector("button.cancel"),s=o.querySelector("button.confirm");if(n.innerHTML=i.html?i.title:f.escapeHtml(i.title).split("\n").join("<br>"),r.innerHTML=i.html?i.text:f.escapeHtml(i.text||"").split("\n").join("<br>"),i.text&&f.show(r),i.customClass?(f.addClass(o,i.customClass),o.setAttribute("data-custom-class",i.customClass)):(n=o.getAttribute("data-custom-class"),f.removeClass(o,n),o.setAttribute("data-custom-class","")),f.hide(o.querySelectorAll(".sa-icon")),i.type&&!l.isIE8()){var r=function(){for(var e=!1,t=0;t<d.length;t++)if(i.type===d[t]){e=!0;break}if(!e)return logStr("Unknown alert type: "+i.type),{v:!1};var n=x,r=(-1!==["success","error","warning","info"].indexOf(i.type)&&(n=o.querySelector(".sa-icon.sa-"+i.type),f.show(n)),c.getInput());switch(i.type){case"success":f.addClass(n,"animate"),f.addClass(n.querySelector(".sa-tip"),"animateSuccessTip"),f.addClass(n.querySelector(".sa-long"),"animateSuccessLong");break;case"error":f.addClass(n,"animateErrorIcon"),f.addClass(n.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":f.addClass(n,"pulseWarning"),f.addClass(n.querySelector(".sa-body"),"pulseWarningIns"),f.addClass(n.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":r.setAttribute("type",i.inputType),r.value=i.inputValue,r.setAttribute("placeholder",i.inputPlaceholder),f.addClass(o,"show-input"),setTimeout(function(){r.focus(),r.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof r)return r.v}i.imageUrl&&((n=o.querySelector(".sa-icon.sa-custom")).style.backgroundImage="url("+i.imageUrl+")",f.show(n),e=r=80,i.imageSize&&(u=(t=i.imageSize.toString().split("x"))[0],t=t[1],u&&t?(r=u,e=t):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+i.imageSize)),n.setAttribute("style",n.getAttribute("style")+"width:"+r+"px; height:"+e+"px")),o.setAttribute("data-has-cancel-button",i.showCancelButton),i.showCancelButton?a.style.display="inline-block":f.hide(a),o.setAttribute("data-has-confirm-button",i.showConfirmButton),i.showConfirmButton?s.style.display="inline-block":f.hide(s),i.cancelButtonText&&(a.innerHTML=f.escapeHtml(i.cancelButtonText)),i.confirmButtonText&&(s.innerHTML=f.escapeHtml(i.confirmButtonText)),i.confirmButtonColor&&(s.style.backgroundColor=i.confirmButtonColor,s.style.borderLeftColor=i.confirmLoadingButtonColor,s.style.borderRightColor=i.confirmLoadingButtonColor,c.setFocusStyle(s,i.confirmButtonColor)),o.setAttribute("data-allow-outside-click",i.allowOutsideClick);var u=!!i.doneFunction;o.setAttribute("data-has-done-function",u),i.animation?"string"==typeof i.animation?o.setAttribute("data-animation",i.animation):o.setAttribute("data-animation","pop"):o.setAttribute("data-animation","none"),o.setAttribute("data-timer",i.timer)},t.exports=n.default},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});n.extend=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},n.hexToRgb=function(e){e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return e?parseInt(e[1],16)+", "+parseInt(e[2],16)+", "+parseInt(e[3],16):null},n.isIE8=function(){return b.attachEvent&&!b.addEventListener},n.logStr=function(e){b.console&&b.console.log("SweetAlert: "+e)},n.colorLuminance=function(e,t){(e=String(e).replace(/[^0-9a-f]/gi,"")).length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;for(var n,r="#",i=0;i<3;i++)n=parseInt(e.substr(2*i,2),16),r+=("00"+(n=Math.round(Math.min(Math.max(0,n+n*t),255)).toString(16))).substr(n.length);return r}},{}]},{},[1]),"function"==typeof define&&define.amd?define(function(){return sweetAlert}):"undefined"!=typeof module&&module.exports&&(module.exports=sweetAlert)}(window,document),function(h){var e=h.module("blockUI",[]);e.config(["$provide","$httpProvider",function(e,t){e.decorator("$exceptionHandler",["$delegate","$injector",function(n,r){var i,o;return function(t,e){if((o=o||r.get("blockUIConfig")).resetOnException)try{(i=i||r.get("blockUI")).instances.reset()}catch(e){console.log("$exceptionHandler",t)}n(t,e)}}]),t.interceptors.push("blockUIHttpInterceptor")}]),e.run(["$document","blockUIConfig","$templateCache",function(e,t,n){t.autoInjectBodyBlock&&e.find("body").attr("block-ui","main"),t.template&&(t.templateUrl="$$block-ui-template$$",n.put(t.templateUrl,t.template))}]),e.config(["$provide",function(e){e.decorator("$location",t)}]);var t=["$delegate","blockUI","blockUIConfig",function(n,r,e){return e.blockBrowserNavigation&&(r.$_blockLocationChange=!0,h.forEach(["url","path","search","hash","state"],function(e){var t=n[e];n[e]=function(){var e=t.apply(n,arguments);return e===n&&(r.$_blockLocationChange=!1),e}})),n}];function u(e,t,n){function r(){e.$on("$locationChangeStart",function(e){t.$_blockLocationChange&&0<t.state().blockCount&&e.preventDefault()}),e.$on("$locationChangeSuccess",function(){t.$_blockLocationChange=n.blockBrowserNavigation})}var i;n.blockBrowserNavigation&&(!function(e){try{h.module(e)}catch(e){return}return 1}("ngRoute")?r():i=e.$on("$viewContentLoaded",function(){i(),r()}))}e.directive("blockUiContainer",["blockUIConfig","blockUiContainerLinkFn",function(e,t){return{scope:!0,restrict:"A",templateUrl:e.templateUrl,compile:function(e){return t}}}]).factory("blockUiContainerLinkFn",["blockUI","blockUIUtils",function(e,t){return function(e,t,n){t=t.inheritedData("block-ui");if(!t)throw new Error("No parent block-ui service instance located.");e.state=t.state()}}]),e.directive("blockUi",["blockUiCompileFn",function(e){return{scope:!0,restrict:"A",compile:e}}]).factory("blockUiCompileFn",["blockUiPreLinkFn",function(n){return function(e,t){return e.append('<div block-ui-container class="block-ui-container"></div>'),{pre:n}}}]).factory("blockUiPreLinkFn",["blockUI","blockUIUtils","blockUIConfig",function(o,a,s){return function(t,n,e){n.hasClass("block-ui")||n.addClass(s.cssClass),e.$observe("blockUiMessageClass",function(e){t.$_blockUiMessageClass=e});var r=e.blockUi||"_"+t.$id,i=o.instances.get(r),r=("main"===r?u(t,i,s):(r=n.inheritedData("block-ui"))&&(i._parent=r),t.$on("$destroy",function(){i.release()}),i.addRef(),t.$_blockUiState=i.state(),t.$watch("$_blockUiState.blocking",function(e){n.attr("aria-busy",!!e),n.toggleClass("block-ui-visible",!!e)}),t.$watch("$_blockUiState.blockCount > 0",function(e){n.toggleClass("block-ui-active",!!e)}),e.blockUiPattern);r&&(e=a.buildRegExp(r),i.pattern(e)),n.data("block-ui",i)}}]),e.constant("blockUIConfig",{templateUrl:"angular-block-ui/angular-block-ui.ng.html",delay:250,message:"Loading ...",autoBlock:!0,resetOnException:!0,requestFilter:h.noop,autoInjectBodyBlock:!0,cssClass:"block-ui block-ui-anim-fade",blockBrowserNavigation:!1}),e.factory("blockUIHttpInterceptor",["$q","$injector","blockUIConfig","$templateCache",function(t,e,n,r){var i;function o(){i=i||e.get("blockUI")}function a(e){n.autoBlock&&e&&!e.$_noBlock&&e.$_blocks&&(o(),e.$_blocks.stop())}function s(e){try{a(e.config)}catch(e){console.log("httpRequestError",e)}return t.reject(e)}return{request:function(e){var t;return!n.autoBlock||"GET"==e.method&&r.get(e.url)||(!1===(t=n.requestFilter(e))?e.$_noBlock=!0:(o(),e.$_blocks=i.instances.locate(e),e.$_blocks.start(t))),e},requestError:s,response:function(e){return e&&a(e.config),e},responseError:s}}]),e.factory("blockUI",["blockUIConfig","$timeout","blockUIUtils","$document",function(a,s,u,l){var c=l.find("body"),f=["id","blockCount","blocking"];function n(e){var r,i=this,o={id:e,blockCount:0,message:a.message,blocking:!1},n=[];this._id=e,this._refs=0,this.start=function(t){t=t||{},h.isString(t)?t={message:t}
1:h.forEach(f,function(e){if(t[e])throw new Error("The property "+e+" is reserved for the block state.")}),h.extend(o,t),0<o.blockCount?o.message=t.message||o.message||a.message:o.message=t.message||a.message,o.blockCount++;var e=h.element(l[0].activeElement);function n(){r=null,o.blocking=!0}e.length&&u.isElementInBlockScope(e,i)&&(i._restoreFocus=e[0],s(function(){i._restoreFocus&&i._restoreFocus!==c[0]&&i._restoreFocus.blur()})),r||0===a.delay?0===a.delay&&n():r=s(n,a.delay)},this._cancelStartTimeout=function(){r&&(s.cancel(r),r=null)},this.stop=function(){o.blockCount=Math.max(0,--o.blockCount),0===o.blockCount&&i.reset(!0)},this.isBlocking=function(){return o.blocking},this.message=function(e){o.message=e},this.pattern=function(e){return void 0!==e&&(i._pattern=e),i._pattern},this.reset=function(e){if(i._cancelStartTimeout(),o.blockCount=0,o.blocking=!1,i._restoreFocus&&(!l[0].activeElement||l[0].activeElement===c[0])){try{i._restoreFocus.focus()}catch(e){t=i._restoreFocus,s(function(){if(t)try{t.focus()}catch(e){}},100)}i._restoreFocus=null}var t;try{e&&h.forEach(n,function(e){e()})}finally{n.length=0}},this.done=function(e){n.push(e)},this.state=function(){return o},this.addRef=function(){i._refs+=1},this.release=function(){--i._refs<=0&&d.instances._destroy(i)}}var o=[],d=(o.get=function(e){var t;if(isNaN(e))return(t=o[e])||(t=o[e]=new n(e),o.push(t)),t;throw new Error("BlockUI id cannot be a number")},o._destroy=function(e){var t;(e=h.isString(e)?o[e]:e)&&(e.reset(),t=u.indexOf(o,e),o.splice(t,1),delete o[e.state().id])},o.locate=function(e){for(var t=[],n=(u.forEachFnHook(t,"start"),u.forEachFnHook(t,"stop"),o.length);n--;){var r=o[n],i=r._pattern;i&&i.test(e.url)&&t.push(r)}return 0===t.length&&t.push(d),t},u.forEachFnHook(o,"reset"),o.get("main"));return d.addRef(),d.instances=o,d}]),e.factory("blockUIUtils",function(){var a=h.element,s={buildRegExp:function(e){var t=e.match(/^\/(.*)\/([gim]*)$/);if(t)return new RegExp(t[1],t[2]);throw Error("Incorrect regular expression format: "+e)},forEachFn:function(e,t,n){for(var r=e.length;r--;){var i=e[r];i[t].apply(i,n)}},forEachFnHook:function(e,t){e[t]=function(){s.forEachFn(this,t,arguments)}},isElementInBlockScope:function(e,t){for(var n=e.inheritedData("block-ui");n;){if(n===t)return!0;n=n._parent}return!1},findElement:function(e,t,n){var r=null;if(t(e))r=e;else for(var i=n?e.parent():e.children(),o=i.length;!r&&o--;)r=s.findElement(a(i[o]),t,n);return r},indexOf:function(e,t,n){for(var r=n||0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1}};return s}),h.module("blockUI").run(["$templateCache",function(e){e.put("angular-block-ui/angular-block-ui.ng.html",'<div class="block-ui-overlay"></div><div class="block-ui-message-container" aria-live="assertive" aria-atomic="true"><div class="block-ui-message" ng-class="$_blockUiMessageClass">{{ state.message }}</div></div>')}])}(angular),"undefined"!=typeof module&&(module.exports="blockUI"),function(e,t){"function"==typeof define&&define.amd?define(["module","exports","angular","ws"],t):"undefined"!=typeof exports?t(module,exports,require("angular"),require("ws")):(t(t={exports:{}},t.exports,e.angular,e.ws),e.angularWebsocket=t.exports)}(this,function(e,t,n,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=(n=n)&&n.__esModule?n:{default:n};n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};
1if("object"===(void 0===t?"undefined":n(t))&&"function"==typeof require)try{i=r.Client||r.client||r}catch(e){}var i=i||window.WebSocket||window.MozWebSocket,n=s.default.noop,u=Object.freeze||n,l=Object.defineProperty,c=s.default.isString,f=s.default.isFunction,d=s.default.isDefined,h=s.default.isObject,p=s.default.isArray,m=s.default.forEach,g=Array.prototype.slice;function o(r,o,t,a){function i(e,t,n){n||!h(t)||p(t)||(n=t,t=void 0),this.protocols=t,this.url=e||"Missing URL",this.ssl=/(wss)/i.test(this.url),this.scope=n&&n.scope||r,this.rootScopeFailover=n&&n.rootScopeFailover&&!0,this.useApplyAsync=n&&n.useApplyAsync||!1,this.initialTimeout=n&&n.initialTimeout||500,this.maxTimeout=n&&n.maxTimeout||3e5,this.reconnectIfNotNormalClose=n&&n.reconnectIfNotNormalClose||!1,this.binaryType=n&&n.binaryType||"blob",this._reconnectAttempts=0,this.sendQueue=[],this.onOpenCallbacks=[],this.onMessageCallbacks=[],this.onErrorCallbacks=[],this.onCloseCallbacks=[],u(this._readyStateConstants),e?this._connect():this._setInternalState(0)}return i.prototype._readyStateConstants={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3,RECONNECT_ABORTED:4},i.prototype._normalCloseCode=1e3,i.prototype._reconnectableStatusCodes=[4e3],i.prototype.safeDigest=function(e){e&&!this.scope.$$phase&&this.scope.$digest()},i.prototype.bindToScope=function(e){var t=this;return e&&(this.scope=e,this.rootScopeFailover)&&this.scope.$on("$destroy",function(){t.scope=r}),t},i.prototype._connect=function(e){!e&&this.socket&&this.socket.readyState===this._readyStateConstants.OPEN||(this.socket=a.create(this.url,this.protocols),this.socket.onmessage=s.default.bind(this,this._onMessageHandler),this.socket.onopen=s.default.bind(this,this._onOpenHandler),this.socket.onerror=s.default.bind(this,this._onErrorHandler),this.socket.onclose=s.default.bind(this,this._onCloseHandler),this.socket.binaryType=this.binaryType)},i.prototype.fireQueue=function(){for(;this.sendQueue.length&&this.socket.readyState===this._readyStateConstants.OPEN;){var e=this.sendQueue.shift();this.socket.send(c(e.message)||"blob"!=this.binaryType?e.message:JSON.stringify(e.message)),e.deferred.resolve()}},i.prototype.notifyOpenCallbacks=function(e){for(var t=0;t<this.onOpenCallbacks.length;t++)this.onOpenCallbacks[t].call(this,e)},i.prototype.notifyCloseCallbacks=function(e){for(var t=0;t<this.onCloseCallbacks.length;t++)this.onCloseCallbacks[t].call(this,e)},i.prototype.notifyErrorCallbacks=function(e){for(var t=0;t<this.onErrorCallbacks.length;t++)this.onErrorCallbacks[t].call(this,e)},i.prototype.onOpen=function(e){return this.onOpenCallbacks.push(e),this},i.prototype.onClose=function(e){return this.onCloseCallbacks.push(e),this},i.prototype.onError=function(e){return this.onErrorCallbacks.push(e),this},i.prototype.onMessage=function(e,t){if(!f(e))throw new Error("Callback must be a function");if(!t||!d(t.filter)||c(t.filter)||t.filter instanceof RegExp)return this.onMessageCallbacks.push({fn:e,pattern:t?t.filter:void 0,autoApply:!t||t.autoApply}),this;throw new Error("Pattern must be a string or regular expression")},i.prototype._onOpenHandler=function(e){this._reconnectAttempts=0,this.notifyOpenCallbacks(e),this.fireQueue()},i.prototype._onCloseHandler=function(e){var t=this;t.useApplyAsync?t.scope.$applyAsync(function(){t.notifyCloseCallbacks(e)}):(t.notifyCloseCallbacks(e),t.safeDigest(!0)),(this.reconnectIfNotNormalClose&&e.code!==this._normalCloseCode||-1<this._reconnectableStatusCodes.indexOf(e.code))&&this.reconnect()},i.prototype._onErrorHandler=function(e){var t=this;t.useApplyAsync?t.scope.$applyAsync(function(){t.notifyErrorCallbacks(e)}):(t.notifyErrorCallbacks(e),t.safeDigest(!0))},i.prototype._onMessageHandler=function(e){for(var t,n,r=this,i=0;i<r.onMessageCallbacks.length;i++)(!(t=(n=r.onMessageCallbacks[i]).pattern)||c(t)&&e.data===t||t instanceof RegExp&&t.exec(e.data))&&o(n.fn,n.autoApply,e);function o(e,t,n){n=g.call(arguments,2),r.useApplyAsync?r.scope.$applyAsync(function(){e.apply(r,n)}):(e.apply(r,n),r.safeDigest(t))}},i.prototype.close=function(e){return!e&&this.socket.bufferedAmount||this.socket.close(),this},i.prototype.send=function(t){var n=o.defer(),r=this,e=function t(e){e.cancel=i;var n=e.then;e.then=function(){var e=n.apply(this,arguments);return t(e)};return e}(n.promise);function i(e){return r.sendQueue.splice(r.sendQueue.indexOf(t),1),n.reject(e),r}return r.readyState===r._readyStateConstants.RECONNECT_ABORTED?n.reject("Socket connection has been closed"):(r.sendQueue.push({message:t,deferred:n}),r.fireQueue()),a.isMocked&&a.isMocked()&&a.isConnected(this.url)&&this._onMessageHandler(a.mockSend()),e},i.prototype.reconnect=function(){this.close();var e=this._getBackoffDelay(++this._reconnectAttempts);return console.log("Reconnecting in "+e/1e3+" seconds"),t(s.default.bind(this,this._connect),e),this},i.prototype._getBackoffDelay=function(e){var t=Math.random()+1,n=this.initialTimeout,r=this.maxTimeout;return Math.floor(Math.min(t*n*Math.pow(2,e),r))}
1,i.prototype._setInternalState=function(e){if(Math.floor(e)!==e||e<0||4<e)throw new Error("state must be an integer between 0 and 4, got: "+e);l||(this.readyState=e||this.socket.readyState),this._internalConnectionState=e,m(this.sendQueue,function(e){e.deferred.reject("Message cancelled due to closed socket connection")})},l&&l(i.prototype,"readyState",{get:function(){return this._internalConnectionState||this.socket.readyState},set:function(){throw new Error("The readyState property is read-only")}}),function(e,t,n){return new i(e,t,n)}}function a(n){this.create=function(e,t){if(/wss?:\/\//.exec(e))return t?new i(e,t):new i(e);throw new Error("Invalid url provided")},this.createWebSocketBackend=function(e,t){return n.warn("Deprecated: Please use .create(url, protocols)"),this.create(e,t)}}Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length>>>0,n=Number(arguments[1])||0;for((n=n<0?Math.ceil(n):Math.floor(n))<0&&(n+=t);n<t;n++)if(n in this&&this[n]===e)return n;return-1}),s.default.module("ngWebSocket",[]).factory("$websocket",["$rootScope","$q","$timeout","$websocketBackend",o]).factory("WebSocket",["$rootScope","$q","$timeout","WebsocketBackend",o]).service("$websocketBackend",["$log",a]).service("WebSocketBackend",["$log",a]),s.default.module("angular-websocket",["ngWebSocket"]),t.default=s.default.module("ngWebSocket"),e.exports=t.default});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.