vendor: 4,125 bytes, lines 1-9
1/*! 2 * esewaHomeApp v0.0.0 3 * 4 * Copyright (c) 2026 eSewa Developers <[email protected]> 5 * License: eSewa 6+; * Version: 0.0.0 7+; */ 8 9!function(){var e,t;e="undefined"!=typeof window?window:this,t=function(e,t){var n=[],r=n.slice,i=n.concat,a=n.push,o=n.indexOf,s={},l=s.toString,u=s.hasOwnProperty,c={},f=e.document,d=function(e,t){return new d.fn.init(e,t)},h=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,m=/-([\da-z])/gi,g=function(e,t){return t.toUpperCase()};function v(e){var t="length"in e&&e.length,n=d.type(e);return"function"!==n&&!d.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e))}d.fn=d.prototype={jquery:"2.1.4",constructor:d,selector:"",length:0,toArray:function(){return r.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:r.call(this)},pushStack:function(e){var t=d.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return d.each(this,e,t)},map:function(e){return this.pushStack(d.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:a,sort:n.sort,splice:n.splice},d.extend=d.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[s]||{},s++),"object"==typeof o||d.isFunction(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=o[t],o!==(r=e[t])&&(u&&r&&(d.isPlainObject(r)||(i=d.isArray(r)))?(i?(i=!1,a=n&&d.isArray(n)?n:[]):a=n&&d.isPlainObject(n)?n:{},o[t]=d.extend(u,a,r)):void 0!==r&&(o[t]=r));return o},d.extend({expando:"jQuery"+("2.1.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===d.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!d.isArray(e)&&e-parseFloat(e)+1>=0},isPlainObject:function(e){return"object"===d.type(e)&&!e.nodeType&&!d.isWindow(e)&&!(e.constructor&&!u.call(e.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?s[l.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=d.trim(e))&&(1===e.indexOf("use strict")?((t=f.createElement("script")).text=e,f.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(p,"ms-").replace(m,g)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,a=v(e);if(n){if(a)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(a)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(h,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(v(Object(e))?d.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:o.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,a=e.length,o=!n;i<a;i++)!t(e[i],i)!==o&&r.push(e[i]);return r},map:function(e,t,n){var r,a=0,o=e.length,s=[];if(v(e))for(;a<o;a++)null!=(r=t(e[a],a,n))&&s.push(r);else for(a in e)null!=(r=t(e[a],a,n))&&s.push(r);return i.apply([],s)},guid:1,proxy:function(e,t){var n,i,a;if("string"==typeof t&&(n=e[t],t=e,e=n),d.isFunction(e))return i=r.call(arguments,2),(a=function(){return e.apply(t||this,i.concat(r.call(arguments)))}).guid=e.guid=e.guid||d.guid++,a},now:Date.now,support:c}),d.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){s["[object "+t+"]"]=t.toLowerCase()});var y=function(e){var t,n,r,i,a,o,s,l,u,c,f,d,h,p,m,g,v,y,$,b="sizzle"+1*ne
vendor: 5,232 bytes, line 9
9w Date,w=e.document,x=0,_=0,C=oe(),k=oe(),D=oe(),S=function(e,t){return e===t&&(f=!0),0},T=1<<31,E={}.hasOwnProperty,O=[],M=O.pop,A=O.push,I=O.push,P=O.slice,R=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F=L.replace("w","w#"),U="\\["+N+"*("+L+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+N+"*\\]",H=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+U+")*)|.*)\\)|)",q=new RegExp(N+"+","g"),B=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),V=new RegExp("^"+N+"*,"+N+"*"),Y=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),W=new RegExp("="+N+"*([^\\]'\"]*?)"+N+"*\\]","g"),z=new RegExp(H),G=new RegExp("^"+F+"$"),X={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L.replace("w","w*")+")"),ATTR:new RegExp("^"+U),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,ne=new RegExp("\\\\([\\da-f]{1,6}"+N+"?|("+N+")|.)","ig"),re=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ie=function(){d()};try{I.apply(O=P.call(w.childNodes),w.childNodes),O[w.childNodes.length].nodeType}catch(e){I={apply:O.length?function(e,t){A.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,r,i){var a,s,u,c,f,p,v,y,x,_;if((t?t.ownerDocument||t:w)!==h&&d(t),t=t||h,r=r||[],c=t.nodeType,"string"!=typeof e||!e||1!==c&&9!==c&&11!==c)return r;if(!i&&m){if(11!==c&&(a=K.exec(e)))if(u=a[1]){if(9===c){if(!(s=t.getElementById(u))||!s.parentNode)return r;if(s.id===u)return r.push(s),r}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(u))&&$(t,s)&&s.id===u)return r.push(s),r}else{if(a[2])return I.apply(r,t.getElementsByTagName(e)),r;if((u=a[3])&&n.getElementsByClassName)return I.apply(r,t.getElementsByClassName(u)),r}if(n.qsa&&(!g||!g.test(e))){if(y=v=b,x=t,_=1!==c&&e,1===c&&"object"!==t.nodeName.toLowerCase()){for(p=o(e),(v=t.getAttribute("id"))?y=v.replace(te,"\\$&"):t.setAttribute("id",y),y="[id='"+y+"'] ",f=p.length;f--;)p[f]=y+ge(p[f]);x=ee.test(e)&&pe(t.parentNode)||t,_=p.join(",")}if(_)try{return I.apply(r,x.querySelectorAll(_)),r}catch(e){}finally{v||t.removeAttribute("id")}}}return l(e.replace(B,"$1"),t,r,i)}function oe(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[b]=!0,e}function le(e){var t=h.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),i=e.length;i--;)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||T)-(~e.sourceIndex||T);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){for(var i,a=e([],n.length,t),o=a.length;o--;)n[i=a[o]]&&(n[i]=!(r[i]=n[i]))})})}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},a=ae.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=ae.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:w;return o!==h&&9===o.nodeType&&o.documentElement?(h=o,p=o.documentElement,(i=o.defaultView)&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",ie,!1):i.attachEvent&&i.attachEvent("onunload",ie)),m=!a(o),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(o.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Z.test(o.getElementsByClassName),n.getById=le(function(e){return p.appendChild(e).id=b,!o.getElementsByName||!o.getElementsByName(b).length}),n.getById?(r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(ne,re);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(ne,re);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);
vendor: 14,407 bytes, line 9
9if("*"===e){for(;n=a[i++];)1===n.nodeType&&r.push(n);return r}return a},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Z.test(o.querySelectorAll))&&(le(function(e){p.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+N+"*(?:value|"+j+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")}),le(function(e){var t=o.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+N+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Z.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&le(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),v.push("!=",H)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Z.test(p.compareDocumentPosition),$=t||Z.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===o||e.ownerDocument===w&&$(w,e)?-1:t===o||t.ownerDocument===w&&$(w,t)?1:c?R(c,e)-R(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!i||!a)return e===o?-1:t===o?1:i?-1:a?1:c?R(c,e)-R(c,t):0;if(i===a)return ce(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?ce(s[r],l[r]):s[r]===w?-1:l[r]===w?1:0},o):h},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&d(e),t=t.replace(W,"='$1']"),n.matchesSelector&&m&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ae(t,h,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!==h&&d(e),$(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!==h&&d(e);var i=r.attrHandle[t.toLowerCase()],a=i&&E.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==a?a:n.attributes||!m?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,r=[],i=0,a=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),f){for(;t=e[a++];)t===e[a]&&(i=r.push(a));for(;i--;)e.splice(r[i],1)}return c=null,e},i=ae.getText=function(e){var t,n="",r=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ae.selectors={cacheLength:50,createPseudo:se,match:X,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(ne,re),e[3]=(e[3]||e[4]||e[5]||"").replace(ne,re),"~="===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]||ae.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]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=o(n,!0))&&(t=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(ne,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,h,p,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s;if(g){if(a){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[o?g.firstChild:g.lastChild],o&&y){for(h=(u=(c=g[b]||(g[b]={}))[e]||[])[0]===x&&u[1],d=u[0]===x&&u[2],f=h&&g.childNodes[h];f=++h&&f&&f[m]||(d=h=0)||p.pop();)if(1===f.nodeType&&++d&&f===t){c[e]=[x,h,d];break}}else if(y&&(u=(t[b]||(t[b]={}))[e])&&u[0]===x)d=u[1];else for(;(f=++h&&f&&f[m]||(d=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++d||(y&&((f[b]||(f[b]={}))[e]=[x,d]),f!==t)););return(d-=i)===r||d%r==0&&d/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,a=i(e,t),o=a.length;o--;)e[r=R(e,a[o])]=!(n[r]=a[o])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){for(var a,o=r(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,i,a){return t[0]=e,r(t,null,a,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return ae(e,t).length>0}}),contains:se(function(e){return e=e.replace(ne,re),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return G.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(ne,re).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.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!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=de(t);function me(){}function ge(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ve(e,t,n){var r=t.dir,i=n&&"parentNode"===r,a=_++;return t.first?function(t,n,a){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,a)}:function(t,n,o){var s,l,u=[x,a];if(o){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,o))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if((s=(l=t[b]||(t[b]={}))[r])&&s[0]===x&&s[1]===a)return u[2]=s[2];if(l[r]=u,u[2]=e(t,n,o))return!0}}}function ye(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function $e(e,t,n,r,i){for(var a,o=[],s=0,l=e.length,u=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),u&&t.push(s)));return o}function be(e,t,n,r,i,a){return r&&!r[b]&&(r=be(r)),i&&!i[b]&&(i=be(i,a)),se(function(a,o,s,l){var u,c,f,d=[],h=[],p=o.length,m=a||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ae(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!a&&t?m:$e(m,d,e,s,l),v=n?i||(a?e:p||r)?[]:o:g;if(n&&n(g,v,s,l),r)for(u=$e(v,h),r(u,[],s,l),c=u.length;c--;)(f=u[c])&&(v[h[c]]=!(g[h[c]]=f));if(a){if(i||e){if(i){for(u=[],c=v.length;c--;)(f=v[c])&&u.push(g[c]=f);i(null,v=[],u,l)}for(c=v.length;c--;)(f=v[c])&&(u=i?R(a,f):d[c])>-1&&(a[u]=!(o[u]=f))}}else v=$e(v===o?v.splice(p,v.length):v),i?i(null,o,v,l):I.apply(o,v)})}function we(e){for(var t,n,i,a=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,c=ve(function(e){return e===t},s,!0),f=ve(function(e){return R(t,e)>-1},s,!0),d=[function(e,n,r){var i=!o&&(r||n!==u)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];l<a;l++)if(n=r.relative[e[l].type])d=[ve(ye(d),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[b]){for(i=++l;i<a&&!r.relative[e[i].type];i++);return be(l>1&&ye(d),l>1&&ge(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(B,"$1"),n,l<i&&we(e.slice(l,i)),i<a&&we(e=e.slice(i)),i<a&&ge(e))}d.push(n)}return ye(d)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,o=ae.tokenize=function(e,t){var n,i,a,o,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=r.preFilter;s;){for(o in n&&!(i=V.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(a=[])),n=!1,(i=Y.exec(s))&&(n=i.shift(),a.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length)),r.filter)!(i=X[o].exec(s))||u[o]&&!(i=u[o](i))||(n=i.shift(),a.push({value:n,type:o,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ae.error(e):k(e,l).slice(0)},s=ae.compile=function(e,t){var n,i=[],a=[],s=D[e+" "];if(!s){for(t||(t=o(e)),n=t.length;n--;)(s=we(t[n]))[b]?i.push(s):a.push(s);(s=D(e,function(e,t){var n=t.length>0,i=e.length>0,a=function(a,o,s,l,c){var f,d,p,m=0,g="0",v=a&&[],y=[],$=u,b=a||i&&r.find.TAG("*",c),w=x+=null==$?1:Math.random()||.1,_=b.length;for(c&&(u=o!==h&&o);g!==_&&null!=(f=b[g]);g++){if(i&&f){for(d=0;p=e[d++];)if(p(f,o,s)){l.push(f);break}c&&(x=w)}n&&((f=!p&&f)&&m--,a&&v.push(f))}if(m+=g,n&&g!==m){for(d=0;p=t[d++];)p(v,y,o,s);if(a){if(m>0)for(;g--;)v[g]||y[g]||(y[g]=M.call(l));y=$e(y)}I.apply(l,y),c&&!a&&y.length>0&&m+t.length>1&&ae.uniqueSort(l)}return c&&(x=w,u=$),v};return n?se(a):a}(a,i))).selector=e}return s},l=ae.select=function(e,t,i,a){var l,u,c,f,d,h="function"==typeof e&&e,p=!a&&o(e=h.selector||e);if(i=i||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&n.getById&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(ne,re),t)||[])[0]))return i;h&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(l=X.needsContext.test(e)?0:u.length;l--&&(c=u[l],!r.relative[f=c.type]);)if((d=r.find[f])&&(a=d(c.matches[0].replace(ne,re),ee.test(u[0].type)&&pe(t.parentNode)||t))){if(u.splice(l,1),!(e=a.length&&ge(u)))return I.apply(i,a),i;break}}return(h||s(e,p))(a,t,!m,i,ee.test(e)&&pe(t.parentNode)||t),i},n.sortStable=b.split("").sort(S).join("")===b,n.detectDuplicates=!!f,d(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(h.createElement("div"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ue(j,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ae}(e);d.find=y,d.expr=y.selectors,d.expr[":"]=d.expr.pseudos,d.unique=y.uniqueSort,d.text=y.getText,d.isXMLDoc=y.isXML,d.contains=y.contains;var $=d.expr.match.needsContext,b=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(e,t,n){if(d.isFunction(t))return d.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return d.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(w.test(t))return d.filter(t,e,n);t=d.filter(t,e)}return d.grep(e,function(e){return o.call(t,e)>=0!==n})}d.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?d.find.matchesSelector(r,e)?[r]:[]:d.find.matches(e,d.grep(t,function(e){return 1===e.nodeType}))},d.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(d(e).filter(function(){for(t=0;t<n;t++)if(d.contains(i[t],this))return!0}));for(t=0;t<n;t++)d.find(e,i[t],r);return(r=this.pushStack(n>1?d.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(x(this,e||[],!1))},not:function(e){return this.pushStack(x(this,e||[],!0))},is:function(e){return!!x(this,"string"==typeof e&&$.test(e)?d(e):e||[],!1).length}});var _,C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(d.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:C.exec(e))||!n[1]&&t)return!t||t.jquery?(t||_).find(e):this.constructor(t).find(e);
vendor: 4,145 bytes, line 9
9if(n[1]){if(t=t instanceof d?t[0]:t,d.merge(this,d.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:f,!0)),b.test(n[1])&&d.isPlainObject(t))for(n in t)d.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=f.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=f,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):d.isFunction(e)?void 0!==_.ready?_.ready(e):e(d):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),d.makeArray(e,this))}).prototype=d.fn,_=d(f);var k=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function S(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}d.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&d(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),d.fn.extend({has:function(e){var t=d(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(d.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,a=[],o=$.test(e)||"string"!=typeof e?d(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&d.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?d.unique(a):a)},index:function(e){return e?"string"==typeof e?o.call(d(e),this[0]):o.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(d.unique(d.merge(this.get(),d(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),d.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d.dir(e,"parentNode")},parentsUntil:function(e,t,n){return d.dir(e,"parentNode",n)},next:function(e){return S(e,"nextSibling")},prev:function(e){return S(e,"previousSibling")},nextAll:function(e){return d.dir(e,"nextSibling")},prevAll:function(e){return d.dir(e,"previousSibling")},nextUntil:function(e,t,n){return d.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return d.dir(e,"previousSibling",n)},siblings:function(e){return d.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return d.sibling(e.firstChild)},contents:function(e){return e.contentDocument||d.merge([],e.childNodes)}},function(e,t){d.fn[e]=function(n,r){var i=d.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=d.filter(r,i)),this.length>1&&(D[e]||d.unique(i),k.test(e)&&i.reverse()),this.pushStack(i)}});var T,E=/\S+/g,O={};function M(){f.removeEventListener("DOMContentLoaded",M,!1),e.removeEventListener("load",M,!1),d.ready()}d.Callbacks=function(e){var t,n,r,i,a,o,s=[],l=!(e="string"==typeof e?O[e]||function(e){var t=O[e]={};return d.each(e.match(E)||[],function(e,n){t[n]=!0}),t}(e):d.extend({},e)).once&&[],u=function(f){for(t=e.memory&&f,n=!0,o=i||0,i=0,a=s.length,r=!0;s&&o<a;o++)if(!1===s[o].apply(f[0],f[1])&&e.stopOnFalse){t=!1;break}r=!1,s&&(l?l.length&&u(l.shift()):t?s=[]:c.disable())},c={add:function(){if(s){var n=s.length;!function t(n){d.each(n,function(n,r){var i=d.type(r);"function"===i?e.unique&&c.has(r)||s.push(r):r&&r.length&&"string"!==i&&t(r)})}(arguments),r?a=s.length:t&&(i=n,u(t))}return this},remove:function(){return s&&d.each(arguments,function(e,t){for(var n;(n=d.inArray(t,s,n))>-1;)s.splice(n,1),r&&(n<=a&&a--,n<=o&&o--)}),this},has:function(e){return e?d.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],a=0,this},disable:function(){return s=l=t=void 0,this},disabled:function(){return!s},lock:function(){return l=void 0,t||c.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!s||n&&!l||(t=[e,(t=t||[]).slice?t.slice():t],r?l.push(t):u(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},d.extend({Deferred:function(e){var t=[["resolve","done",d.Callbacks("once memory"),"resolved"],["reject","fail",d.Callbacks("once memory"),"rejected"],["notify","progress",d.Callbacks("memory")]],n="pe
9nding",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return d.Deferred(function(n){d.each(t,function(t,a){var o=d.isFunction(e[t])&&e[t];i[a[1]](function(){var e=o&&o.apply(this,arguments);e&&d.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?d.extend(e,r):r}},i={};return r.pipe=r.then,d.each(t,function(e,a){var o=a[2],s=a[3];r[a[1]]=o.add,s&&o.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[a[0]]=function(){return i[a[0]+"With"](this===i?r:this,arguments),this},i[a[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,i,a=0,o=r.call(arguments),s=o.length,l=1!==s||e&&d.isFunction(e.promise)?s:0,u=1===l?e:d.Deferred(),c=function(e,n,i){return function(a){n[e]=this,i[e]=arguments.length>1?r.call(arguments):a,i===t?u.notifyWith(n,i):--l||u.resolveWith(n,i)}};if(s>1)for(t=new Array(s),n=new Array(s),i=new Array(s);a<s;a++)o[a]&&d.isFunction(o[a].promise)?o[a].promise().done(c(a,i,o)).fail(u.reject).progress(c(a,n,t)):--l;return l||u.resolveWith(i,o),u.promise()}}),d.fn.ready=function(e){return d.ready.promise().done(e),this},d.extend({isReady:!1,readyWait:1,holdReady:function(e){e?d.readyWait++:d.ready(!0)},ready:function(e){(!0===e?--d.readyWait:d.isReady)||(d.isReady=!0,!0!==e&&--d.readyWait>0||(T.resolveWith(f,[d]),d.fn.triggerHandler&&(d(f).triggerHandler("ready"),d(f).off("ready"))))}}),d.ready.promise=function(t){return T||(T=d.Deferred(),"complete"===f.readyState?setTimeout(d.ready):(f.addEventListener("DOMContentLoaded",M,!1),e.addEventListener("load",M,!1))),T.promise(t)},d.ready.promise();var A=d.access=function(e,t,n,r,i,a,o){var s=0,l=e.length,u=null==n;if("object"===d.type(n))for(s in i=!0,n)d.access(e,t,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,d.isFunction(r)||(o=!0),u&&(o?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(d(e),n)})),t))for(;s<l;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):a};function I(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=d.expando+I.uid++}d.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},I.uid=1,I.accepts=d.acceptData,I.prototype={key:function(e){if(!I.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=I.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,d.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),a=this.cache[i];if("string"==typeof t)a[t]=n;else if(d.isEmptyObject(a))d.extend(this.cache[i],t);else for(r in t)a[r]=t[r];return a},get:function(e,t){var n=this.cache[this.key(e)];return void 0===t?n:n[t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,d.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,a=this.key(e),o=this.cache[a];if(void 0===t)this.cache[a]={};else{d.isArray(t)?r=t.concat(t.map(d.camelCase)):(i=d.camelCase(t),r=t in o?[t,i]:(r=i)in o?[r]:r.match(E)||[]),n=r.length;for(;n--;)delete o[r[n]]}},hasData:function(e){return!d.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var P=new I,R=new I,j=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function L(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(N,"-$1").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:j.test(n)?d.parseJSON(n):n)}catch(e){}R.set(e,t,n)}else n=void 0;return n}d.extend({hasData:function(e){return R.hasData(e)||P.hasData(e)},data:function(e,t,n){return R.access(e,t,n)},removeData:function(e,t){R.remove(e,t)},_data:function(e,t,n){return P.access(e,t,n)},_removeData:function(e,t){P.remove(e,t)}}),d.fn.extend({data:function(e,t){var n,r,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=R.get(a),1===a.nodeType&&!P.get(a,"hasDataAttrs"))){for(n=o.length;n--;)o[n]&&0===(r=o[n].name).indexOf("data-")&&(r=d.camelCase(r.slice(5)),L(a,r,i[r]));P.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){R.set(this,e)}):A(this,function(t){var n,r=d.camelCase(e);if(a&&void 0===t)return void 0!==(n=R.get(a,e))?n:void 0!==(n=R.get(a,r))?n:void 0!==(n=L(a,r,void 0))?n:void 0;this.each(function(){var n=R.get(this,r);R.set(this,r,t),-1!==e.indexOf("-")&&void 0!==n&&R.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){R.remove(this,e)})}}),d.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=P.get(e,t),n&&(!r||d.isArray(n)?r=P.access(e,t,d.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=d.queue(e,t),r=n.length,i=n.shift(),a=d._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,function(){d.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return P.get(e,n)||P.access(e,n,{empty:d.Callbacks("once memory").add(function(){P.remove(e,[t+"queue",n])})})}}),d.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?d.queue(this[0],e):void 0===t?this:this.each(function(){var n=d.queue(this,e,t);d._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&d.dequeue(this,e)})},dequeue:function(e){return this.each(function(){d.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=d.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=P.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var F,U,H=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,q=["Top","Right","Bottom","Left"],B=function(e,t){return e=t||e,"none"===d.css(e,"display")||!d.contains(e.ownerDocument,e)},V=/^(?:checkbox|radio)$/i;F=f.createDocumentFragment().appendChild(f.createElement("div")),(U=f.createElement("input")).setAttribute("type","radio"),U.setAttribute("checked","checked"),U.setAttribute("name","t"),F.appendChild(U),c.checkClone
vendor: 4,619 bytes, line 9
9=F.cloneNode(!0).cloneNode(!0).lastChild.checked,F.innerHTML="<textarea>x</textarea>",c.noCloneChecked=!!F.cloneNode(!0).lastChild.defaultValue;c.focusinBubbles="onfocusin"in e;var Y=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,z=/^(?:focusinfocus|focusoutblur)$/,G=/^([^.]*)(?:\.(.+)|)$/;function X(){return!0}function J(){return!1}function Q(){try{return f.activeElement}catch(e){}}d.event={global:{},add:function(e,t,n,r,i){var a,o,s,l,u,c,f,h,p,m,g,v=P.get(e);if(v)for(n.handler&&(n=(a=n).handler,i=a.selector),n.guid||(n.guid=d.guid++),(l=v.events)||(l=v.events={}),(o=v.handle)||(o=v.handle=function(t){return void 0!==d&&d.event.triggered!==t.type?d.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(E)||[""]).length;u--;)p=g=(s=G.exec(t[u])||[])[1],m=(s[2]||"").split(".").sort(),p&&(f=d.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=d.event.special[p]||{},c=d.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&d.expr.match.needsContext.test(i),namespace:m.join(".")},a),(h=l[p])||((h=l[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,m,o)||e.addEventListener&&e.addEventListener(p,o,!1)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,c):h.push(c),d.event.global[p]=!0)},remove:function(e,t,n,r,i){var a,o,s,l,u,c,f,h,p,m,g,v=P.hasData(e)&&P.get(e);if(v&&(l=v.events)){for(u=(t=(t||"").match(E)||[""]).length;u--;)if(p=g=(s=G.exec(t[u])||[])[1],m=(s[2]||"").split(".").sort(),p){for(f=d.event.special[p]||{},h=l[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=h.length;a--;)c=h[a],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(h.splice(a,1),c.selector&&h.delegateCount--,f.remove&&f.remove.call(e,c));o&&!h.length&&(f.teardown&&!1!==f.teardown.call(e,m,v.handle)||d.removeEvent(e,p,v.handle),delete l[p])}else for(p in l)d.event.remove(e,p+t[u],n,r,!0);d.isEmptyObject(l)&&(delete v.handle,P.remove(e,"events"))}},trigger:function(t,n,r,i){var a,o,s,l,c,h,p,m=[r||f],g=u.call(t,"type")?t.type:t,v=u.call(t,"namespace")?t.namespace.split("."):[];if(o=s=r=r||f,3!==r.nodeType&&8!==r.nodeType&&!z.test(g+d.event.triggered)&&(g.indexOf(".")>=0&&(g=(v=g.split(".")).shift(),v.sort()),c=g.indexOf(":")<0&&"on"+g,(t=t[d.expando]?t:new d.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=v.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:d.makeArray(n,[t]),p=d.event.special[g]||{},i||!p.trigger||!1!==p.trigger.apply(r,n))){if(!i&&!p.noBubble&&!d.isWindow(r)){for(l=p.delegateType||g,z.test(l+g)||(o=o.parentNode);o;o=o.parentNode)m.push(o),s=o;s===(r.ownerDocument||f)&&m.push(s.defaultView||s.parentWindow||e)}for(a=0;(o=m[a++])&&!t.isPropagationStopped();)t.type=a>1?l:p.bindType||g,(h=(P.get(o,"events")||{})[t.type]&&P.get(o,"handle"))&&h.apply(o,n),(h=c&&o[c])&&h.apply&&d.acceptData(o)&&(t.result=h.apply(o,n),!1===t.result&&t.preventDefault());return t.type=g,i||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(m.pop(),n)||!d.acceptData(r)||c&&d.isFunction(r[g])&&!d.isWindow(r)&&((s=r[c])&&(r[c]=null),d.event.triggered=g,r[g](),d.event.triggered=void 0,s&&(r[c]=s)),t.result}},dispatch:function(e){e=d.event.fix(e);var t,n,i,a,o,s,l=r.call(arguments),u=(P.get(this,"events")||{})[e.type]||[],c=d.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(s=d.event.handlers.call(this,e,u),t=0;(a=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=a.elem,n=0;(o=a.handlers[n++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(i=((d.event.special[o.origType]||{}).handle||o.handler).apply(a.elem,l))&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,a,o=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==e.type){for(r=[],n=0;n<s;n++)void 0===r[i=(a=t[n]).selector+" "]&&(r[i]=a.needsContext?d(i,this).index(l)>=0:d.find(i,this,null,[l]).length),r[i]&&r.push(a);r.length&&o.push({elem:l,handlers:r})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
9,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 offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,a=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||f).documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[d.expando])return e;var t,n,r,i=e.type,a=e,o=this.fixHooks[i];for(o||(this.fixHooks[i]=o=W.test(i)?this.mouseHooks:Y.test(i)?this.keyHooks:{}),r=o.props?this.props.concat(o.props):this.props,e=new d.Event(a),t=r.length;t--;)e[n=r[t]]=a[n];return e.target||(e.target=f),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Q()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Q()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&d.nodeName(this,"input"))return this.click(),!1},_default:function(e){return d.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){var i=d.extend(new d.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?d.event.trigger(i,null,t):d.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},d.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},d.Event=function(e,t){if(!(this instanceof d.Event))return new d.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?X:J):this.type=e,t&&d.extend(this,t),this.timeStamp=e&&e.timeStamp||d.now(),this[d.expando]=!0},d.Event.prototype={isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=X,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=X,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=X,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
vendor: 4,179 bytes, line 9
9,d.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){d.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||d.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),c.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){d.event.simulate(t,e.target,d.event.fix(e),!0)};d.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=P.access(r,t);i||r.addEventListener(e,n,!0),P.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=P.access(r,t)-1;i?P.access(r,t,i):(r.removeEventListener(e,n,!0),P.remove(r,t))}}}),d.fn.extend({on:function(e,t,n,r,i){var a,o;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=J;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return d().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=d.guid++)),this.each(function(){d.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)return r=e.handleObj,d(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=J),this.each(function(){d.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){d.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return d.event.trigger(e,t,n,!0)}});var Z=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,K=/<([\w:]+)/,ee=/<|&#?\w+;/,te=/<(?:script|style|link)/i,ne=/checked\s*(?:[^=]|=\s*.checked.)/i,re=/^$|\/(?:java|ecma)script/i,ie=/^true\/(.*)/,ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,oe={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 se(e,t){return d.nodeName(e,"table")&&d.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!==e.getAttribute("type"))+"/"+e.type,e}function ue(e){var t=ie.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ce(e,t){for(var n=0,r=e.length;n<r;n++)P.set(e[n],"globalEval",!t||P.get(t[n],"globalEval"))}function fe(e,t){var n,r,i,a,o,s,l,u;if(1===t.nodeType){if(P.hasData(e)&&(a=P.access(e),o=P.set(t,a),u=a.events))for(i in delete o.handle,o.events={},u)for(n=0,r=u[i].length;n<r;n++)d.event.add(t,i,u[i][n]);R.hasData(e)&&(s=R.access(e),l=d.extend({},s),R.set(t,l))}}function de(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&d.nodeName(e,t)?d.merge([e],n):n}oe.optgroup=oe.option,oe.tbody=oe.tfoot=oe.colgroup=oe.caption=oe.thead,oe.th=oe.td,d.extend({clone:function(e,t,n){var r,i,a,o,s,l,u,f=e.cloneNode(!0),h=d.contains(e.ownerDocument,e);if(!(c.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||d.isXMLDoc(e)))for(o=de(f),r=0,i=(a=de(e)).length;r<i;r++)s=a[r],l=o[r],void 0,"input"===(u=l.nodeName.toLowerCase())&&V.test(s.type)?l.checked=s.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=s.defaultValue);if(t)if(n)for(a=a||de(e),o=o||de(f),r=0,i=a.length;r<i;r++)fe(a[r],o[r]);else fe(e,f);return(o=de(f,"script")).length>0&&ce(o,!h&&de(e,"script")),f},buildFragment:function(e,t,n,r){for(var i,a,o,s,l,u,c=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((i=e[h])||0===i)if("object"===d.type(i))d.merge(f,i.nodeType?[i]:i);else if(ee.test(i)){for(a=a||c.appendChild(t.createElement("div")),o=(K.exec(i)||["",""])[1].toLowerCase(),s=oe[o]||oe._default,a.innerHTML=s[1]+i.replace(Z,"<$1></$2>")+s[2],u=s[0];u--;)a=a.lastChild;
vendor: 12,338 bytes, line 9
9d.merge(f,a.childNodes),(a=c.firstChild).textContent=""}else f.push(t.createTextNode(i));for(c.textContent="",h=0;i=f[h++];)if((!r||-1===d.inArray(i,r))&&(l=d.contains(i.ownerDocument,i),a=de(c.appendChild(i),"script"),l&&ce(a),n))for(u=0;i=a[u++];)re.test(i.type||"")&&n.push(i);return c},cleanData:function(e){for(var t,n,r,i,a=d.event.special,o=0;void 0!==(n=e[o]);o++){if(d.acceptData(n)&&(i=n[P.expando])&&(t=P.cache[i])){if(t.events)for(r in t.events)a[r]?d.event.remove(n,r):d.removeEvent(n,r,t.handle);P.cache[i]&&delete P.cache[i]}delete R.cache[n[R.expando]]}}}),d.fn.extend({text:function(e){return A(this,function(e){return void 0===e?d.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||se(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=se(this,e);t.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?d.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||d.cleanData(de(n)),n.parentNode&&(t&&d.contains(n.ownerDocument,n)&&ce(de(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(d.cleanData(de(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return d.clone(this,e,t)})},html:function(e){return A(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!te.test(e)&&!oe[(K.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Z,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(d.cleanData(de(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,d.cleanData(de(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=i.apply([],e);var n,r,a,o,s,l,u=0,f=this.length,h=this,p=f-1,m=e[0],g=d.isFunction(m);if(g||f>1&&"string"==typeof m&&!c.checkClone&&ne.test(m))return this.each(function(n){var r=h.eq(n);g&&(e[0]=m.call(this,n,r.html())),r.domManip(e,t)});if(f&&(r=(n=d.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===n.childNodes.length&&(n=r),r)){for(o=(a=d.map(de(n,"script"),le)).length;u<f;u++)s=n,u!==p&&(s=d.clone(s,!0,!0),o&&d.merge(a,de(s,"script"))),t.call(this[u],s,u);if(o)for(l=a[a.length-1].ownerDocument,d.map(a,ue),u=0;u<o;u++)s=a[u],re.test(s.type||"")&&!P.access(s,"globalEval")&&d.contains(l,s)&&(s.src?d._evalUrl&&d._evalUrl(s.src):d.globalEval(s.textContent.replace(ae,"")))}return this}}),d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){d.fn[e]=function(e){for(var n,r=[],i=d(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),d(i[s])[t](n),a.apply(r,n.get());return this.pushStack(r)}});var he,pe={};function me(t,n){var r,i=d(n.createElement(t)).appendTo(n.body),a=e.getDefaultComputedStyle&&(r=e.getDefaultComputedStyle(i[0]))?r.display:d.css(i[0],"display");return i.detach(),a}function ge(e){var t=f,n=pe[e];return n||("none"!==(n=me(e,t))&&n||((t=(he=(he||d("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=me(e,t),he.detach()),pe[e]=n),n}var ve=/^margin/,ye=new RegExp("^("+H+")(?!px)[a-z%]+$","i"),$e=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):e.getComputedStyle(t,null)};function be(e,t,n){var r,i,a,o,s=e.style;return(n=n||$e(e))&&(o=n.getPropertyValue(t)||n[t]),n&&(""!==o||d.contains(e.ownerDocument,e)||(o=d.style(e,t)),ye.test(o)&&ve.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function we(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var t,n,r=f.documentElement,i=f.createElement("div"),a=f.createElement("div");function o(){a.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",a.innerHTML="",r.appendChild(i);var o=e.getComputedStyle(a,null);t="1%"!==o.top,n="4px"===o.width,r.removeChild(i)}a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",c.clearCloneStyle="content-box"===a.style.backgroundClip,i.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",i.appendChild(a),e.getComputedStyle&&d.extend(c,{pixelPosition:function(){return o(),t},boxSizingReliable:function(){return null==n&&o(),n},reliableMarginRight:function(){var t,n=a.appendChild(f.createElement("div"));return n.style.cssText=a.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",a.style.width="1px",r.appendChild(i),t=!parseFloat(e.getComputedStyle(n,null).marginRight),r.removeChild(i),a.removeChild(n),t}}))}(),d.swap=function(e,t,n,r){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in i=n.apply(e,r||[]),t)e.style[a]=o[a];return i};var xe=/^(none|table(?!-c[ea]).+)/,_e=new RegExp("^("+H+")(.*)$","i"),Ce=new RegExp("^([+-])=("+H+")","i"),ke={position:"absolute",visibility:"hidden",display:"block"},De={letterSpacing:"0",fontWeight:"400"},Se=["Webkit","O","Moz","ms"];function Te(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=Se.length;i--;)if((t=Se[i]+n)in e)return t;return r}function Ee(e,t,n){var r=_e.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Oe(e,t,n,r,i){for(var a=n===(r?"border":"content")?4:"width"===t?1:0,o=0;a<4;a+=2)"margin"===n&&(o+=d.css(e,n+q[a],!0,i)),r?("content"===n&&(o-=d.css(e,"padding"+q[a],!0,i)),"margin"!==n&&(o-=d.css(e,"border"+q[a]+"Width",!0,i))):(o+=d.css(e,"padding"+q[a],!0,i),"padding"!==n&&(o+=d.css(e,"border"+q[a]+"Width",!0,i)));return o}function Me(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=$e(e),o="border-box"===d.css(e,"boxSizing",!1,a);if(i<=0||null==i){if(((i=be(e,t,a))<0||null==i)&&(i=e.style[t]),ye.test(i))return i;r=o&&(c.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Oe(e,t,n||(o?"border":"content"),r,a)+"px"}function Ae(e,t){for(var n,r,i,a=[],o=0,s=e.length;o<s;o++)(r=e[o]).style&&(a[o]=P.get(r,"olddisplay"),n=r.style.display,t?(a[o]||"none"!==n||(r.style.display=""),""===r.style.display&&B(r)&&(a[o]=P.access(r,"olddisplay",ge(r.nodeName)))):(i=B(r),"none"===n&&i||P.set(r,"olddisplay",i?n:d.css(r,"display"))));for(o=0;o<s;o++)(r=e[o]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?a[o]||"":"none"));return e}function Ie(e,t,n,r,i){return new Ie.prototype.init(e,t,n,r,i)}d.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=be(e,"opacity");return""===n?"1":n}}}},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:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=d.camelCase(t),l=e.style;if(t=d.cssProps[s]||(d.cssProps[s]=Te(l,s)),o=d.cssHooks[t]||d.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:l[t];"string"===(a=typeof n)&&(i=Ce.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(d.css(e,t)),a="number"),null!=n&&n==n&&("number"!==a||d.cssNumber[s]||(n+="px"),c.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l[t]=n))}},css:function(e,t,n,r){var i,a,o,s=d.camelCase(t);return t=d.cssProps[s]||(d.cssProps[s]=Te(e.style,s)),(o=d.cssHooks[t]||d.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=be(e,t,r)),"normal"===i&&t in De&&(i=De[t]),""===n||n?(a=parseFloat(i),!0===n||d.isNumeric(a)?a||0:i):i}}),d.each(["height","width"],function(e,t){d.cssHooks[t]={get:function(e,n,r){if(n)return xe.test(d.css(e,"display"))&&0===e.offsetWidth?d.swap(e,ke,function(){return Me(e,t,r)}):Me(e,t,r)},set:function(e,n,r){var i=r&&$e(e);return Ee(0,n,r?Oe(e,t,r,"border-box"===d.css(e,"boxSizing",!1,i),i):0)}}}),d.cssHooks.marginRight=we(c.reliableMarginRight,function(e,t){if(t)return d.swap(e,{display:"inline-block"},be,[e,"marginRight"])}),d.each({margin:"",padding:"",border:"Width"},function(e,t){d.cssHooks[e+t]={expand:function(n){for(var r=0,i={},a="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+q[r]+t]=a[r]||a[r-2]||a[0];return i}},ve.test(e)||(d.cssHooks[e+t].set=Ee)}),d.fn.extend({css:function(e,t){return A(this,function(e,t,n){var r,i,a={},o=0;if(d.isArray(t)){for(r=$e(e),i=t.length;o<i;o++)a[t[o]]=d.css(e,t[o],!1,r);return a}return void 0!==n?d.style(e,t,n):d.css(e,t)},e,t,arguments.length>1)},show:function(){return Ae(this,!0)},hide:function(){return Ae(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){B(this)?d(this).show():d(this).hide()})}}),d.Tween=Ie,Ie.prototype={constructor:Ie,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(d.cssNumber[n]?"":"px")},cur:function(){var e=Ie.propHooks[this.prop];return e&&e.get?e.get(this):Ie.propHooks._default.get(this)},run:function(e){var t,n=Ie.propHooks[this.prop];return this.options.duration?this.pos=t=d.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.set(this):Ie.propHooks._default.set(this),this}},Ie.prototype.init.prototype=Ie.prototype,Ie.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=d.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){d.fx.step[e.prop]?d.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[d.cssProps[e.prop]]||d.cssHooks[e.prop])?d.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Ie.propHooks.scrollTop=Ie.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},d.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},d.fx=Ie.prototype.init,d.fx.step={};var Pe,Re,je=/^(?:toggle|show|hide)$/,Ne=new RegExp("^(?:([+-])=|)("+H+")([a-z%]*)$","i"),Le=/queueHooks$/,Fe=[function(e,t,n){var r,i,a,o,s,l,u,c=this,f={},h=e.style,p=e.nodeType&&B(e),m=P.get(e,"fxshow");n.queue||(null==(s=d._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,d.queue(e,"fx").length||s.empty.fire()})}));1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=d.css(e,"display"),"inline"===("none"===u?P.get(e,"olddisplay")||ge(e.nodeName):u)&&"none"===d.css(e,"float")&&(h.display="inline-block"));n.overflow&&(h.overflow="hidden",c.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],je.exec(i)){if(delete t[r],a=a||"toggle"===i,i===(p?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;p=!0}f[r]=m&&m[r]||d.style(e,r)}else u=void 0;if(d.isEmptyObject(f))"inline"===("none"===u?ge(e.nodeName):u)&&(h.display=u);else for(r in m?"hidden"in m&&(p=m.hidden):m=P.access(e,"fxshow",{}),a&&(m.hidden=!p),p?d(e).show():c.done(function(){d(e).hide()}),c.done(function(){var t;for(t in P.remove(e,"fxshow"),f)d.style(e,t,f[t])}),f)o=Be(p?m[r]:0,r,c),r in m||(m[r]=o.start,p&&(o.end=o.start,o.start="width"===r||"he
9ight"===r?1:0))}],Ue={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Ne.exec(t),a=i&&i[3]||(d.cssNumber[e]?"":"px"),o=(d.cssNumber[e]||"px"!==a&&+r)&&Ne.exec(d.css(n.elem,e)),s=1,l=20;if(o&&o[3]!==a){a=a||o[3],i=i||[],o=+r||1;do{o/=s=s||".5",d.style(n.elem,e,o+a)}while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(o=n.start=+o||+r||0,n.unit=a,n.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),n}]};function He(){return setTimeout(function(){Pe=void 0}),Pe=d.now()}function qe(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Be(e,t,n){for(var r,i=(Ue[t]||[]).concat(Ue["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function Ve(e,t,n){var r,i,a=0,o=Fe.length,s=d.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=Pe||He(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),a=0,o=u.tweens.length;a<o;a++)u.tweens[a].run(r);return s.notifyWith(e,[u,r,n]),r<1&&o?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:d.extend({},t),opts:d.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Pe||He(),duration:n.duration,tweens:[],createTween:function(t,n){var r=d.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(!function(e,t){var n,r,i,a,o;for(n in e)if(i=t[r=d.camelCase(n)],a=e[n],d.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(o=d.cssHooks[r])&&"expand"in o)for(n in a=o.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(c,u.opts.specialEasing);a<o;a++)if(r=Fe[a].call(u,e,c,u.opts))return r;return d.map(c,Be,u),d.isFunction(u.opts.start)&&u.opts.start.call(e,u),d.fx.timer(d.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}d.Animation=d.extend(Ve,{tweener:function(e,t){d.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],Ue[n]=Ue[n]||[],Ue[n].unshift(t)},prefilter:function(e,t){t?Fe.unshift(e):Fe.push(e)}}),d.speed=function(e,t,n){var r=e&&"object"==typeof e?d.extend({},e):{complete:n||!n&&t||d.isFunction(e)&&e,duration:e,easing:n&&t||t&&!d.isFunction(t)&&t};return r.duration=d.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in d.fx.speeds?d.fx.speeds[r.duration]:d.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){d.isFunction(r.old)&&r.old.call(this),r.queue&&d.dequeue(this,r.queue)},r},d.fn.extend({fadeTo:function(e,t,n,r){return this.filter(B).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=d.isEmptyObject(e),a=d.speed(t,n,r),o=function(){var t=Ve(this,d.extend({},e),a);(i||P.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",a=d.timers,o=P.get(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&Le.test(i)&&r(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(n),t=!1,a.splice(i,1));!t&&n||d.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=P.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],a=d.timers,o=r?r.length:0;for(n.finish=!0,d.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),d.each(["toggle","show","hide"],function(e,t){var n=d.fn[t];d.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(qe(t,!0),e,r,i)}}),d.each({slideDown:qe("show"),slideUp:qe("hide"),slideToggle:qe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){d.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),d.timers=[],d.fx.tick=function(){var e,t=0,n=d.timers;for(Pe=d.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||d.fx.stop(),Pe=void 0},d.fx.timer=function(e){d.timers.push(e),e()?d.fx.start():d.timers.pop()},d.fx.interval=13,d.fx.start=function(){Re||(Re=setInterval(d.fx.tick,d.fx.interval))},d.fx.stop=function(){clearInterval(Re),Re=null},d.fx.speeds={slow:600,fast:200,_default:400},d.fn.delay=function(e,t){return e=d.fx&&d.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e=f.createElement("input"),t=f.createElement("select"),n=t.appendChild(f.createElement("option"));e.type="checkbox",c.checkOn=""!==e.value,c.optSelected=n.selected,t.disabled=!0,c.optDisabled=!n.disabled,(e=f.createElement("input")).value="t",e.type="radio",c.radioValue="t"===e.value}();var Ye,We=d.expr.attrHandle;d.fn.extend({attr:function(e,t){return A(this,d.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){d.removeAttr(this,e)})}}
9),d.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?d.prop(e,t,n):(1===a&&d.isXMLDoc(e)||(t=t.toLowerCase(),r=d.attrHooks[t]||(d.expr.match.bool.test(t)?Ye:void 0)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=d.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 d.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,a=t&&t.match(E);if(a&&1===e.nodeType)for(;n=a[i++];)r=d.propFix[n]||n,d.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!c.radioValue&&"radio"===t&&d.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),Ye={set:function(e,t,n){return!1===t?d.removeAttr(e,n):e.setAttribute(n,n),n}},d.each(d.expr.match.bool.source.match(/\w+/g),function(e,t){var n=We[t]||d.find.attr;We[t]=function(e,t,r){var i,a;return r||(a=We[t],We[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,We[t]=a),i}});var ze=/^(?:input|select|textarea|button)$/i;d.fn.extend({prop:function(e,t){return A(this,d.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[d.propFix[e]||e]})}}),d.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,n){var r,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return(1!==a||!d.isXMLDoc(e))&&(t=d.propFix[t]||t,i=d.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){return e.hasAttribute("tabindex")||ze.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),c.optSelected||(d.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),d.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){d.propFix[this.toLowerCase()]=this});var Ge=/[\t\r\n\f]/g;d.fn.extend({addClass:function(e){var t,n,r,i,a,o,s="string"==typeof e&&e,l=0,u=this.length;if(d.isFunction(e))return this.each(function(t){d(this).addClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(E)||[];l<u;l++)if(r=1===(n=this[l]).nodeType&&(n.className?(" "+n.className+" ").replace(Ge," "):" ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o=d.trim(r),n.className!==o&&(n.className=o)}return this},removeClass:function(e){var t,n,r,i,a,o,s=0===arguments.length||"string"==typeof e&&e,l=0,u=this.length;if(d.isFunction(e))return this.each(function(t){d(this).removeClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(E)||[];l<u;l++)if(r=1===(n=this[l]).nodeType&&(n.className?(" "+n.className+" ").replace(Ge," "):"")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");o=e?d.trim(r):"",n.className!==o&&(n.className=o)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):d.isFunction(e)?this.each(function(n){d(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,i=d(this),a=e.match(E)||[];t=a[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else"undefined"!==n&&"boolean"!==n||(this.className&&P.set(this,"__className__",this.className),this.className=this.className||!1===e?"":P.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Ge," ").indexOf(t)>=0)return!0;return!1}});var Xe=/\r/g;d.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=d.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,d(this).val()):e)?i="":"number"==typeof i?i+="":d.isArray(i)&&(i=d.map(i,function(e){return null==e?"":e+""})),(t=d.valHooks[this.type]||d.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=d.valHooks[i.type]||d.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Xe,""):null==n?"":n:void 0}}),d.extend({valHooks:{option:{get:function(e){var t=d.find.attr(e,"value");return null!=t?t:d.trim(d.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type||i<0,o=a?null:[],s=a?i+1:r.length,l=i<0?s:a?i:0;l<s;l++)if(((n=r[l]).selected||l===i)&&(c.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!d.nodeName(n.parentNode,"optgroup"))){if(t=d(n).val(),a)return t;o.push(t)}return o}
vendor: 5,042 bytes, line 9
9,set:function(e,t){for(var n,r,i=e.options,a=d.makeArray(t),o=i.length;o--;)((r=i[o]).selected=d.inArray(r.value,a)>=0)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),d.each(["radio","checkbox"],function(){d.valHooks[this]={set:function(e,t){if(d.isArray(t))return e.checked=d.inArray(d(e).val(),t)>=0}},c.checkOn||(d.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),d.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,t){d.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),d.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)}});var Je=d.now(),Qe=/\?/;d.parseJSON=function(e){return JSON.parse(e+"")},d.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||d.error("Invalid XML: "+e),t};var Ze=/#.*$/,Ke=/([?&])_=[^&]*/,et=/^(.*?):[ \t]*([^\r\n]*)$/gm,tt=/^(?:GET|HEAD)$/,nt=/^\/\//,rt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,it={},at={},ot="*/".concat("*"),st=e.location.href,lt=rt.exec(st.toLowerCase())||[];function ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,a=t.toLowerCase().match(E)||[];if(d.isFunction(n))for(;r=a[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function ct(e,t,n,r){var i={},a=e===at;function o(s){var l;return i[s]=!0,d.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||a||i[u]?a?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),l}return o(t.dataTypes[0])||!i["*"]&&o("*")}function ft(e,t){var n,r,i=d.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&d.extend(!0,e,r),e}d.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:st,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(lt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ot,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":d.parseJSON,"text xml":d.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ft(ft(e,d.ajaxSettings),t):ft(d.ajaxSettings,e)},ajaxPrefilter:ut(it),ajaxTransport:ut(at),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,i,a,o,s,l,u,c=d.ajaxSetup({},t),f=c.context||c,h=c.context&&(f.nodeType||f.jquery)?d(f):d.event,p=d.Deferred(),m=d.Callbacks("once memory"),g=c.statusCode||{},v={},y={},$=0,b="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===$){if(!a)for(a={};t=et.exec(i);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===$?i:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return $||(e=y[n]=y[n]||e,v[e]=t),this},overrideMimeType:function(e){return $||(c.mimeType=e),this},statusCode:function(e){var t;if(e)if($<2)for(t in e)g[t]=[g[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||b;return n&&n.abort(t),x(0,t),this}};if(p.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,c.url=((e||c.url||st)+"").replace(Ze,"").replace(nt,lt[1]+"//"),c.type=t.method||t.type||c.method||c.type,c.dataTypes=d.trim(c.dataType||"*").toLowerCase().match(E)||[""],null==c.crossDomain&&(s=rt.exec(c.url.toLowerCase()),c.crossDomain=!(!s||s[1]===lt[1]&&s[2]===lt[2]&&(s[3]||("http:"===s[1]?"80":"443"))===(lt[3]||("http:"===lt[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=d.param(c.data,c.traditional)),ct(it,c,t,w),2===$)return w;for(u in(l=d.event&&c.global)&&0==d.active++&&d.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!tt.test(c.type),r=c.url,c.hasContent||(c.data&&(r=c.url+=(Qe.test(r)?"&":"?")+c.data,delete c.data),!1===c.cache&&(c.url=Ke.test(r)?r.replace(Ke,"$1_="+Je++):r+(Qe.test(r)?"&":"?")+"_="+Je++)),c.ifModified&&(d.lastModified[r]&&w.setRequestHeader("If-Modified-Since",d.lastModified[r]),d.etag[r]&&w.setRequestHeader("If-None-Match",d.etag[r])),(c.data&&c.hasContent&&!1!==c.contentType||t.contentType)&&w.setRequestHeader("Content-Type",c.contentType),w.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+ot+"; q=0.01":""):c.accepts["*"]),c.headers)w.setRequestHeader(u,c.headers[u]);
vendor: 4,510 bytes, line 9
9if(c.beforeSend&&(!1===c.beforeSend.call(f,w,c)||2===$))return w.abort();for(u in b="abort",{success:1,error:1,complete:1})w[u](c[u]);if(n=ct(at,c,t,w)){w.readyState=1,l&&h.trigger("ajaxSend",[w,c]),c.async&&c.timeout>0&&(o=setTimeout(function(){w.abort("timeout")},c.timeout));try{$=1,n.send(v,x)}catch(e){if(!($<2))throw e;x(-1,e)}}else x(-1,"No Transport");function x(e,t,a,s){var u,v,y,b,x,_=t;2!==$&&($=2,o&&clearTimeout(o),n=void 0,i=s||"",w.readyState=e>0?4:0,u=e>=200&&e<300||304===e,a&&(b=function(e,t,n){for(var r,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){l.unshift(i);break}if(l[0]in n)a=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),n[a]}(c,w,a)),b=function(e,t,n,r){var i,a,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=u[l+" "+a]||u["* "+a]))for(i in u)if((s=i.split(" "))[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[i]:!0!==u[i]&&(a=s[0],c.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(c,b,w,u),u?(c.ifModified&&((x=w.getResponseHeader("Last-Modified"))&&(d.lastModified[r]=x),(x=w.getResponseHeader("etag"))&&(d.etag[r]=x)),204===e||"HEAD"===c.type?_="nocontent":304===e?_="notmodified":(_=b.state,v=b.data,u=!(y=b.error))):(y=_,!e&&_||(_="error",e<0&&(e=0))),w.status=e,w.statusText=(t||_)+"",u?p.resolveWith(f,[v,_,w]):p.rejectWith(f,[w,_,y]),w.statusCode(g),g=void 0,l&&h.trigger(u?"ajaxSuccess":"ajaxError",[w,c,u?v:y]),m.fireWith(f,[w,_]),l&&(h.trigger("ajaxComplete",[w,c]),--d.active||d.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,n){return d.get(e,t,n,"json")},getScript:function(e,t){return d.get(e,void 0,t,"script")}}),d.each(["get","post"],function(e,t){d[t]=function(e,n,r,i){return d.isFunction(n)&&(i=i||r,r=n,n=void 0),d.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),d._evalUrl=function(e){return d.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},d.fn.extend({wrapAll:function(e){var t;return d.isFunction(e)?this.each(function(t){d(this).wrapAll(e.call(this,t))}):(this[0]&&(t=d(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return d.isFunction(e)?this.each(function(t){d(this).wrapInner(e.call(this,t))}):this.each(function(){var t=d(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=d.isFunction(e);return this.each(function(n){d(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()}}),d.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},d.expr.filters.visible=function(e){return!d.expr.filters.hidden(e)};var dt=/%20/g,ht=/\[\]$/,pt=/\r?\n/g,mt=/^(?:submit|button|image|reset|file)$/i,gt=/^(?:input|select|textarea|keygen)/i;function vt(e,t,n,r){var i;if(d.isArray(t))d.each(t,function(t,i){n||ht.test(e)?r(e,i):vt(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==d.type(t))r(e,t);else for(i in t)vt(e+"["+i+"]",t[i],n,r)}d.param=function(e,t){var n,r=[],i=function(e,t){t=d.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=d.ajaxSettings&&d.ajaxSettings.traditional),d.isArray(e)||e.jquery&&!d.isPlainObject(e))d.each(e,function(){i(this.name,this.value)});else for(n in e)vt(n,e[n],t,i);return r.join("&").replace(dt,"+")},d.fn.extend({serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=d.prop(this,"elements");return e?d.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!d(this).is(":disabled")&>.test(this.nodeName)&&!mt.test(e)&&(this.checked||!V.test(e))}).map(function(e,t){var n=d(this).val();return null==n?null:d.isArray(n)?d.map(n,function(e){return{name:t.name,value:e.replace(pt,"\r\n")}}):{name:t.name,value:n.replace(pt,"\r\n")}}).get()}}
vendor: 3,740 bytes, line 9
9),d.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var yt=0,$t={},bt={0:200,1223:204},wt=d.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in $t)$t[e]()}),c.cors=!!wt&&"withCredentials"in wt,c.ajax=wt=!!wt,d.ajaxTransport(function(e){var t;if(c.cors||wt&&!e.crossDomain)return{send:function(n,r){var i,a=e.xhr(),o=++yt;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)a[i]=e.xhrFields[i];for(i in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)a.setRequestHeader(i,n[i]);t=function(e){return function(){t&&(delete $t[o],t=a.onload=a.onerror=null,"abort"===e?a.abort():"error"===e?r(a.status,a.statusText):r(bt[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:void 0,a.getAllResponseHeaders()))}},a.onload=t(),a.onerror=t("error"),t=$t[o]=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return d.globalEval(e),e}}}),d.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),d.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,i){t=d("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),f.head.appendChild(t[0])},abort:function(){n&&n()}}});var xt=[],_t=/(=)\?(?=&|$)|\?\?/;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=xt.pop()||d.expando+"_"+Je++;return this[e]=!0,e}}),d.ajaxPrefilter("json jsonp",function(t,n,r){var i,a,o,s=!1!==t.jsonp&&(_t.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&_t.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=d.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(_t,"$1"+i):!1!==t.jsonp&&(t.url+=(Qe.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||d.error(i+" was not called"),o[0]},t.dataTypes[0]="json",a=e[i],e[i]=function(){o=arguments},r.always(function(){e[i]=a,t[i]&&(t.jsonpCallback=n.jsonpCallback,xt.push(i)),o&&d.isFunction(a)&&a(o[0]),o=a=void 0}),"script"}),d.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||f;var r=b.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=d.buildFragment([e],t,i),i&&i.length&&d(i).remove(),d.merge([],r.childNodes))};var Ct=d.fn.load;d.fn.load=function(e,t,n){if("string"!=typeof e&&Ct)return Ct.apply(this,arguments);var r,i,a,o=this,s=e.indexOf(" ");return s>=0&&(r=d.trim(e.slice(s)),e=e.slice(0,s)),d.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&d.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){a=arguments,o.html(r?d("<div>").append(d.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){o.each(n,a||[e.responseText,t,e])}),this},d.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){d.fn[t]=function(e){return this.on(t,e)}}),d.expr.filters.animated=function(e){return d.grep(d.timers,function(t){return e===t.elem}).length};var kt=e.document.documentElement;function Dt(e){return d.isWindow(e)?e:9===e.nodeType&&e.defaultView}d.offset={setOffset:function(e,t,n){var r,i,a,o,s,l,u=d.css(e,"position"),c=d(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),a=d.css(e,"to
9p"),l=d.css(e,"left"),("absolute"===u||"fixed"===u)&&(a+l).indexOf("auto")>-1?(o=(r=c.position()).top,i=r.left):(o=parseFloat(a)||0,i=parseFloat(l)||0),d.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+o),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},d.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){d.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},a=r&&r.ownerDocument;return a?(t=a.documentElement,d.contains(t,r)?(void 0!==r.getBoundingClientRect&&(i=r.getBoundingClientRect()),n=Dt(a),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===d.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),d.nodeName(e[0],"html")||(r=e.offset()),r.top+=d.css(e[0],"borderTopWidth",!0),r.left+=d.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-d.css(n,"marginTop",!0),left:t.left-r.left-d.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||kt;e&&!d.nodeName(e,"html")&&"static"===d.css(e,"position");)e=e.offsetParent;return e||kt})}}),d.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var r="pageYOffset"===n;d.fn[t]=function(i){return A(this,function(t,i,a){var o=Dt(t);if(void 0===a)return o?o[n]:t[i];o?o.scrollTo(r?e.pageXOffset:a,r?a:e.pageYOffset):t[i]=a},t,i,arguments.length,null)}}),d.each(["top","left"],function(e,t){d.cssHooks[t]=we(c.pixelPosition,function(e,n){if(n)return n=be(e,t),ye.test(n)?d(e).position()[t]+"px":n})}),d.each({Height:"height",Width:"width"},function(e,t){d.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){d.fn[r]=function(r,i){var a=arguments.length&&(n||"boolean"!=typeof r),o=n||(!0===r||!0===i?"margin":"border");return A(this,function(t,n,r){var i;return d.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?d.css(t,n,o):d.style(t,n,r,o)},t,a?r:void 0,a,null)}})}),d.fn.size=function(){return this.length},d.fn.andSelf=d.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return d});var St=e.jQuery,Tt=e.$;return d.noConflict=function(t){return e.$===d&&(e.$=Tt),t&&e.jQuery===d&&(e.jQuery=St),d},void 0===t&&(e.jQuery=e.$=d),d},"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}(),function(e,t,n){"use strict";function r(e,t){return t=t||Error,function(){var n,r,i=arguments,a=i[0],o="["+(e?e+":":"")+a+"] ";for(o+=i[1].replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1)+2;return t<i.length?He(i[t]):e}),o+="\nhttp://errors.angularjs.org/1.4.0/"+(e?e+"/":"")+a,r=2,n="?";r<i.length;r++,n="&")o+=n+"p"+(r-2)+"="+encodeURIComponent(He(i[r]));return new t(o)}}var i=/^\/(.+)\/([a-z]*)$/,a="validity",o=function(e){return F(e)?e.toLowerCase():e},s=Object.prototype.hasOwnProperty,l=function(e){return F(e)?e.toUpperCase():e};"i"!=="I".toLowerCase()&&(o=function(e){return F(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},l=function(e){return F(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e});var u,c,f,d,h=[].slice,p=[].splice,m=[].push,g=Object.prototype.toString,v=Object.getPrototypeOf,y=r("ng"),$=e.angular||(e.angular={}),b=0;function w(e){if(null==e||Y(e))return!1;var t="length"in Object(e)&&e.length;return!(e.nodeType!==je||!t)||F(e)||q(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function x(e,t,n){var r,i;if(e)if(B(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(q(e)||w(e)){var a="object"!=typeof e;for(r=0,i=e.length;r<i;r++)(a||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==x)e.forEach(t,n,e);else if(L(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)s.call(e,r)&&t.call(n,e[r],r,e);return e}function _(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function C(e){return function(t,n){e(n,t)}}function k(){return++b}function D(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function S(e,t,n){for(var r=e.$$hashKey,i=0,a=t.length;i<a;++i){var o=t[i];if(N(o)||B(o))for(var s=Object.keys(o),l=0,u=s.length;l<u;l++){var c=s[l],f=o[c];n&&N(f)?(N(e[c])||(e[c]=q(f)?[]:{}),S(e[c],[f],!0)):e[c]=f}}return D(e,r),e}
9function T(e){return S(e,h.call(arguments,1),!1)}function E(e){return S(e,h.call(arguments,1),!0)}function O(e){return parseInt(e,10)}function M(e,t){return T(Object.create(e),t)}function A(){}function I(e){return e}function P(e){return function(){return e}}function R(e){return void 0===e}function j(e){return void 0!==e}function N(e){return null!==e&&"object"==typeof e}function L(e){return null!==e&&"object"==typeof e&&!v(e)}function F(e){return"string"==typeof e}function U(e){return"number"==typeof e}function H(e){return"[object Date]"===g.call(e)}u=t.documentMode,A.$inject=[],I.$inject=[];var q=Array.isArray;function B(e){return"function"==typeof e}function V(e){return"[object RegExp]"===g.call(e)}function Y(e){return e&&e.window===e}function W(e){return e&&e.$evalAsync&&e.$watch}function z(e){return"boolean"==typeof e}function G(e){return e&&B(e.then)}var X=/^\[object (Uint8(Clamped)?)|(Uint16)|(Uint32)|(Int8)|(Int16)|(Int32)|(Float(32)|(64))Array\]$/;function J(e){return X.test(g.call(e))}var Q=function(e){return F(e)?e.trim():e},Z=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function K(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function ee(e){return o(e.nodeName||e[0]&&e[0].nodeName)}function te(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function ne(e,t,n,r){if(Y(e)||W(e))throw y("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(J(t))throw y("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t){if(e===t)throw y("cpi","Can't copy! Source and destination are identical.");if(n=n||[],r=r||[],N(e)){var i=n.indexOf(e);if(-1!==i)return r[i];n.push(e),r.push(t)}var a,o;if(q(e)){t.length=0;for(var l=0;l<e.length;l++)a=ne(e[l],null,n,r),N(e[l])&&(n.push(e[l]),r.push(a)),t.push(a)}else{var u=t.$$hashKey;if(q(t)?t.length=0:x(t,function(e,n){delete t[n]}),L(e))for(o in e)f(o,e[o],t,n,r);else if(e&&"function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&f(o,e[o],t,n,r);else for(o in e)s.call(e,o)&&f(o,e[o],t,n,r);D(t,u)}}else if(t=e,e)if(q(e))t=ne(e,[],n,r);else if(J(e))t=new e.constructor(e);else if(H(e))t=new Date(e.getTime());else if(V(e))(t=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0])).lastIndex=e.lastIndex;else if(N(e)){var c=Object.create(v(e));t=ne(e,c,n,r)}return t;function f(e,t,n,r,i){var a=ne(t,null,r,i);N(t)&&(r.push(t),i.push(a)),n[e]=a}}function re(e,t){if(q(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(N(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function ie(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var r,i,a,o=typeof e;if(o==typeof t&&"object"==o){if(!q(e)){if(H(e))return!!H(t)&&ie(e.getTime(),t.getTime());if(V(e))return!!V(t)&&e.toString()==t.toString();if(W(e)||W(t)||Y(e)||Y(t)||q(t)||H(t)||V(t))return!1;for(i in a=Re(),e)if("$"!==i.charAt(0)&&!B(e[i])){if(!ie(e[i],t[i]))return!1;a[i]=!0}for(i in t)if(!(i in a||"$"===i.charAt(0)||t[i]===n||B(t[i])))return!1;return!0}if(!q(t))return!1;if((r=e.length)==t.length){for(i=0;i<r;i++)if(!ie(e[i],t[i]))return!1;return!0}}return!1}var ae=function(){if(j(ae.isActive_))return ae.isActive_;var e=!(!t.querySelector("[ng-csp]")&&!t.querySelector("[data-ng-csp]"));if(!e)try{new Function("")}catch(t){e=!0}return ae.isActive_=e},oe=function(){if(j(oe.name_))return oe.name_;var e,n,r,i,a=we.length;for(n=0;n<a;++n)if(r=we[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return oe.name_=i};function se(e,t,n){return e.concat(h.call(t,n))}function le(e,t){return h.call(e,t||0)}function ue(e,t){var n=arguments.length>2?le(arguments,2):[];return!B(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,se(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function ce(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:Y(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":W(r)&&(i="$SCOPE"),i}function fe(e,t){return void 0===e?n:(U(t)||(t=t?2:null),JSON.stringify(e,ce,t))}function de(e){return F(e)?JSON.parse(e):e}function he(e,t){var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function pe(e,t,n){return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,(n=n?-1:1)*(he(t,e.getTimezoneOffset())-e.getTimezoneOffset()))}function me(e){e=c(e).clone();try{e.empty()}catch(e){}var t=c("<div>").append(e).html();try{return e[0].nodeType===Ne?o(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+o(t)})}catch(e){return o(t)}}function ge(e){try{return decodeURIComponent(e)}catch(e){}}function ve(e){var t,n,r={};return x((e||"").split("&"),function(e){if(e&&(t=e.replace(/\+/g,"%20").split("="),j(n=ge(t[0])
9))){var i=!j(t[1])||ge(t[1]);s.call(r,n)?q(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function ye(e){var t=[];return x(e,function(e,n){q(e)?x(e,function(e){t.push(be(n,!0)+(!0===e?"":"="+be(e,!0)))}):t.push(be(n,!0)+(!0===e?"":"="+be(e,!0)))}),t.length?t.join("&"):""}function $e(e){return be(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function be(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 we=["ng-","data-ng-","ng:","x-ng-"];function xe(e,t){var n,r,i={};x(we,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),x(we,function(t){var i,a=t+"app";!n&&(i=e.querySelector("["+a.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(a))}),n&&(i.strictDi=null!==function(e,t){var n,r,i=we.length;for(r=0;r<i;++r)if(n=we[r]+t,F(n=e.getAttribute(n)))return n;return null}(n,"strict-di"),t(n,r?[r]:[],i))}function _e(n,r,i){N(i)||(i={}),i=T({strictDi:!1},i);var a=function(){if((n=c(n)).injector()){var e=n[0]===t?"document":me(n);throw y("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(/</,"<").replace(/>/,">"))}(r=r||[]).unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var a=Rt(r,i.strictDi);return a.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),a},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&o.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(o,"")),e&&!s.test(e.name))return a();e.name=e.name.replace(s,""),$.resumeBootstrap=function(e){return x(e,function(e){r.push(e)}),a()},B($.resumeDeferredBootstrap)&&$.resumeDeferredBootstrap()}function Ce(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ke(e){var t=$.element(e).injector();if(!t)throw y("test","no injector found for element argument to getTestability");return t.get("$$testability")}var De=/[A-Z]/g;function Se(e,t){return t=t||"_",e.replace(De,function(e,n){return(n?t:"")+e.toLowerCase()})}var Te,Ee=!1;function Oe(e,t,n){if(!e)throw y("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function Me(e,t,n){return n&&q(e)&&(e=e[e.length-1]),Oe(B(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function Ae(e,t){if("hasOwnProperty"===e)throw y("badname","hasOwnProperty is not a valid {0} name",t)}function Ie(e,t,n){if(!t)return e;for(var r,i=t.split("."),a=e,o=i.length,s=0;s<o;s++)r=i[s],e&&(e=(a=e)[r]);
9return!n&&B(e)?ue(a,e):e}function Pe(e){var t=e[0],n=e[e.length-1],r=[t];do{if(!(t=t.nextSibling))break;r.push(t)}while(t!==n);return c(r)}function Re(){return Object.create(null)}var je=1,Ne=3,Le=8,Fe=9,Ue=11;function He(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):void 0===e?"undefined":"string"!=typeof e?function(e){var t=[];return JSON.stringify(e,function(e,n){if(N(n=ce(e,n))){if(t.indexOf(n)>=0)return"<<already seen>>";t.push(n)}return n})}(e):e}var qe={full:"1.4.0",major:1,minor:4,dot:0,codeName:"jaracimrman-existence"};ot.expando="ng339";var Be=ot.cache={},Ve=1,Ye=function(e,t,n){e.addEventListener(t,n,!1)},We=function(e,t,n){e.removeEventListener(t,n,!1)};ot._data=function(e){return this.cache[e[this.expando]]||{}};var ze=/([\:\-\_]+(.))/g,Ge=/^moz([A-Z])/,Xe={mouseleave:"mouseout",mouseenter:"mouseover"},Je=r("jqLite");function Qe(e){return e.replace(ze,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Ge,"Moz$1")}var Ze=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Ke=/<|&#?\w+;/,et=/<([\w:]+)/,tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,nt={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 rt(e){return!Ke.test(e)}function it(e){var t=e.nodeType;return t===je||!t||t===Fe}function at(e,t){var n,r,i,a,o=t.createDocumentFragment(),s=[];if(rt(e))s.push(t.createTextNode(e));else{for(n=n||o.appendChild(t.createElement("div")),r=(et.exec(e)||["",""])[1].toLowerCase(),i=nt[r]||nt._default,n.innerHTML=i[1]+e.replace(tt,"<$1></$2>")+i[2],a=i[0];a--;)n=n.lastChild;s=se(s,n.childNodes),(n=o.firstChild).textContent=""}return o.textContent="",o.innerHTML="",x(s,function(e){o.appendChild(e)}),o}function ot(e){if(e instanceof ot)return e;var n,r,i,a;if(F(e)&&(e=Q(e),n=!0),!(this instanceof ot)){if(n&&"<"!=e.charAt(0))throw Je("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ot(e)}gt(this,n?(r=e,i=i||t,(a=Ze.exec(r))?[i.createElement(a[1])]:(a=at(r,i))?a.childNodes:[]):e)}function st(e){return e.cloneNode(!0)}function lt(e,t){if(t||ct(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r<i;r++)ct(n[r])}function ut(e,t,n,r){if(j(r))throw Je("offargs","jqLite#off() does not support the `selector` argument");var i=ft(e),a=i&&i.events,o=i&&i.handle;if(o)if(t)x(t.split(" "),function(t){if(j(n)){var r=a[t];if(te(r||[],n),r&&r.length>0)return}We(e,t,o),delete a[t]});else for(t in a)"$destroy"!==t&&We(e,t,o),delete a[t]}function ct(e,t){var r=e.ng339,i=r&&Be[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),ut(e)),delete Be[r],e.ng339=n}}function ft(e,t){var r=e.ng339,i=r&&Be[r];return t&&!i&&(e.ng339=r=++Ve,i=Be[r]={events:{},data:{},handle:n}),i}function dt(e,t,n){if(it(e)){var r=j(n),i=!r&&t&&!N(t),a=!t,o=ft(e,!i),s=o&&o.data;if(r)s[t]=n;else{if(a)return s;if(i)return s&&s[t];T(s,t)}}}function ht(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function pt(e,t){t&&e.setAttribute&&x(t.split(" "),function(t){e.setAttribute("class",Q((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Q(t)+" "," ")))})}function mt(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");x(t.split(" "),function(e){e=Q(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Q(n))}}function gt(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 vt(e,t){return yt(e,"$"+(t||"ngController")+"Controller")}function yt(e,t,r){e.nodeType==Fe&&(e=e.documentElement);for(var i=q(t)?t:[t];e;){for(var a=0,o=i.length;a<o;a++)if((r=c.data(e,i[a]))!==n)return r;e=e.parentNode||e.nodeType===Ue&&e.host}}function $t(e){for(lt(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function bt(e,t){t||lt(e);var n=e.parentNode;n&&n.removeChild(e)}nt.optgroup=nt.option,nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td;var wt=ot.prototype={ready:function(n){var r=!1;function i(){r||(r=!0,n())}"complete"===t.readyState?setTimeout(i):(this.on("DOMContentLoaded",i),ot(e).on("load",i))},toString:function(){var e=[];return x(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return c(e>=0?this[e]:this[this.length+e])},length:0,push:m,sort:[].sort,splice:[].splice},xt={};x("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){xt[o(e)]=e});var _t={};x("input,select,option,textarea,button,form,details".split(","),function(e){_t[e]=!0});var Ct={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function kt(e,t){var n=xt[t.toLowerCase()];return n&&_t[ee(e)]&&n}function Dt(){this.$get=function(){return T(ot,{hasClass:function(e,t){return e.attr&&(e=e[0]),ht(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),mt(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),pt(e,t)}})}}function St(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||k)():r+":"+e}function Tt(e,t){if(t){var n=0;this.nextUid=function(){return++n}}x(e,this.put,this)}x({data:dt,removeData:ct},function(e,t){ot[t]=e}),x({data:dt,inheritedData:yt,scope:function(e){return c.data(e,"$scope")||yt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return c.data(e,"$isolateScope")||c.data(e,"$isolateScopeNoTemplate")},controller:vt,injector:function(e){return yt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:ht,css:function(e,t,n){if(t=Qe(t),!j(n))return e.style[t];e.style[t]=n},attr:function(e,t,r){var i=e.nodeType;if(i!==Ne&&2!==i&&i!==Le){var a=o(t);if(xt[a]){if(!j(r))return e[t]||(e.attributes.getNamedItem(t)||A).specified?a:n;r?(e[t]=!0,e.setAttribute(t,a)):(e[t]=!1,e.removeAttribute(a))}else if(j(r))e.setAttribute(t,r);else if(e.getAttribute){var s=e.getAttribute(t,2);return null===s?n:s}}},prop:function(e,t,n){if(!j(n))return e[t];e[t]=n}
9,text:function(){return e.$dv="",e;function e(e,t){if(R(t)){var n=e.nodeType;return n===je||n===Ne?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(R(t)){if(e.multiple&&"select"===ee(e)){var n=[];return x(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(R(t))return e.innerHTML;lt(e,!0),e.innerHTML=t},empty:$t},function(e,t){ot.prototype[t]=function(t,r){var i,a,o=this.length;if(e!==$t&&(2==e.length&&e!==ht&&e!==vt?t:r)===n){if(N(t)){for(i=0;i<o;i++)if(e===dt)e(this[i],t);else for(a in t)e(this[i],a,t[a]);return this}for(var s=e.$dv,l=s===n?Math.min(o,1):o,u=0;u<l;u++){var c=e(this[u],t,r);s=s?s+c:c}return s}for(i=0;i<o;i++)e(this[i],t,r);return this}}),x({removeData:ct,on:function e(t,n,r,i){if(j(i))throw Je("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(it(t)){var a=ft(t,!0),o=a.events,s=a.handle;s||(s=a.handle=function(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],a=i?i.length:0;if(a){if(R(n.immediatePropagationStopped)){var o=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),o&&o.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped},a>1&&(i=re(i));for(var s=0;s<a;s++)n.isImmediatePropagationStopped()||i[s].call(e,n)}};return n.elem=e,n}(t,o));for(var l=n.indexOf(" ")>=0?n.split(" "):[n],u=l.length;u--;){var c=o[n=l[u]];c||(o[n]=[],"mouseenter"===n||"mouseleave"===n?e(t,Xe[n],function(e){var t=e.relatedTarget;t&&(t===this||this.contains(t))||s(e,n)}):"$destroy"!==n&&Ye(t,n,s),c=o[n]),c.push(r)}}},off:ut,one:function(e,t,n){(e=c(e)).on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;lt(e),x(new ot(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return x(e.childNodes,function(e){e.nodeType===je&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===je||n===Ue)for(var r=0,i=(t=new ot(t)).length;r<i;r++){var a=t[r];e.appendChild(a)}},prepend:function(e,t){if(e.nodeType===je){var n=e.firstChild;x(new ot(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=c(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:bt,detach:function(e){bt(e,!0)},after:function(e,t){for(var n=e,r=e.parentNode,i=0,a=(t=new ot(t)).length;i<a;i++){var o=t[i];r.insertBefore(o,n.nextSibling),n=o}},addClass:mt,removeClass:pt,toggleClass:function(e,t,n){t&&x(t.split(" "),function(t){var r=n;R(r)&&(r=!ht(e,t)),(r?mt:pt)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Ue?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:st,triggerHandler:function(e,t,n){var r,i,a,o=t.type||t,s=ft(e),l=s&&s.events,u=l&&l[o];u&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:A,type:o,target:e},t.type&&(r=T(r,t)),i=re(u),a=n?[r].concat(n):[r],x(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){ot.prototype[t]=function(t,n,r){for(var i,a=0,o=this.length;a<o;a++)R(i)?j(i=e(this[a],t,n,r))&&(i=c(i)):gt(i,e(this[a],t,n,r));return j(i)?i:this},ot.prototype.bind=ot.prototype.on,ot.prototype.unbind=ot.prototype.off}),Tt.prototype={put:function(e,t){this[St(e,this.nextUid)]=t},get:function(e){return this[St(e,this.nextUid)]},remove:function(e){var t=this[e=St(e,this.nextUid)];return delete this[e],t}};var Et=[function(){this.$get=[function(){return Tt}]}],Ot=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Mt=/,/,At=/^\s*(_?)(\S+?)\1\s*$/,It=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Pt=r("$injector");function Rt(e,t){t=!0===t;var r={},i="Provider",a=[],o=new Tt([],!0),s={$provide:{provider:f(h),factory:f(p),service:f(function(e,t){return p(e,["$injector",function(e){return e.instantiate(t)}])}),value:f(function(e,t){return p(e,P(t),!1)}),constant:f(function(e,t){Ae(e,"constant"),s[e]=t,u[e]=t}),decorator:function(e,t){var n=l.get(e+i),r=n.$get;n.$get=function(){var e=c.invoke(r,n);return c.invoke(t,null,{$delegate:e})}}}},l=s.$injector=m(s,function(e,t){throw $.isString(t)&&a.push(t),Pt("unpr","Unknown provider: {0}",a.join(" <- "))}),u={},c=u.$injector=m(u,function(e,t){var r=l.get(e+i,t);return c.invoke(r.$get,r,n,e)});return x(function e(t){var n,r=[];return x(t,function(t){if(!o.get(t)){o.put(t,!0);try{F(t)?(n=d(t),r=r.concat(e(n.requires)).concat(n._runBlocks),i(n._invokeQueue),i(n._configBlocks)):B(t)?r.push(l.invoke(t)):q(t)?r.push(l.invoke(t)):Me(t,"module")}catch(e){throw q(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1==e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Pt("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function i(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=l.get(r[0]);i[r[1]].apply(i,r[2])}}}),r}(e),function(e){c.invoke(e||A)}),c;function f(e){return function(t,n){if(!N(t))return e(t,n);x(t,C(e))}}function h(e,t){if(Ae(e,"service"),(B(t)||q(t))&&(t=l.instantiate(t)),!t.$get)throw Pt("pget","Provider '{0}' must define $get factory method.",e);return s[e+i]=t}function p(e,t,n){return h(e,{$get:!1!==n?function(e,t){return function(){var n=c.invoke(t,this);if(R(n))throw Pt("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}(e,t):t})}function m(e,n){function o(t,i){if(e.hasOwnProperty(t)){if(e[t]===r)throw Pt("cdep","Circular dependency foun
9d: {0}",t+" <- "+a.join(" <- "));return e[t]}try{return a.unshift(t),e[t]=r,e[t]=n(t,i)}catch(n){throw e[t]===r&&delete e[t],n}finally{a.shift()}}function l(e,n,r,i){"string"==typeof r&&(i=r,r=null);var a,s,l,u=[],c=Rt.$$annotate(e,t,i);for(s=0,a=c.length;s<a;s++){if("string"!=typeof(l=c[s]))throw Pt("itkn","Incorrect injection token! Expected service name as string, got {0}",l);u.push(r&&r.hasOwnProperty(l)?r[l]:o(l,i))}return q(e)&&(e=e[a]),e.apply(n,u)}return{invoke:l,instantiate:function(e,t,n){var r=Object.create((q(e)?e[e.length-1]:e).prototype||null),i=l(e,r,t,n);return N(i)||B(i)?i:r},get:o,annotate:Rt.$$annotate,has:function(t){return s.hasOwnProperty(t+i)||e.hasOwnProperty(t)}}}}function jt(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(n,r,i){var a=n.document;function o(e){if(e){e.scrollIntoView();var t=function(){var e=s.yOffset;if(B(e))e=e();else if(K(e)){var t=e[0];e="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else U(e)||(e=0);return e}();if(t){var r=e.getBoundingClientRect().top;n.scrollBy(0,r-t)}}else n.scrollTo(0,0)}function s(e){var t,n,i;(e=F(e)?e:r.hash())?(t=a.getElementById(e))?o(t):(n=a.getElementsByName(e),i=null,Array.prototype.some.call(n,function(e){if("a"===ee(e))return i=e,!0}),(t=i)?o(t):"top"===e&&o(null)):o(null)}return t&&i.$watch(function(){return r.hash()},function(t,n){var r,a;t===n&&""===t||(r=function(){i.$evalAsync(s)},"complete"===(a=a||e).document.readyState?a.setTimeout(r):c(a).on("load",r))}),s}]}Rt.$$annotate=function(e,t,n){var r,i;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw F(n)&&n||(n=e.name||function(e){var t=e.toString().replace(It,"").match(Ot);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),Pt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);x(e.toString().replace(It,"").match(Ot)[1].split(Mt),function(e){e.replace(At,function(e,t,n){r.push(n)})})}e.$inject=r}}else q(e)?(Me(e[i=e.length-1],"fn"),r=e.slice(0,i)):Me(e,"fn",!0);return r};var Nt=r("$animate"),Lt=1;function Ft(e,t){return e||t?e?t?(q(e)&&(e=e.join(" ")),q(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Ut(e){return N(e)?e:{}}var Ht=function(){this.$get=["$q","$$rAF",function(e,t){function n(){}return n.all=A,n.chain=A,n.prototype={end:A,cancel:A,resume:A,pause:A,complete:A,then:function(n,r){return e(function(e){t(function(){e()})}).then(n,r)}},n}]},qt=function(){var e=new Tt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:A,on:A,off:A,pin:A,push:function(i,a,o,s){return s&&s(),(o=o||{}).from&&i.css(o.from),o.to&&i.css(o.to),(o.addClass||o.removeClass)&&function(n,i,a){var o=e.get(n);o||(e.put(n,o={}),t.push(n)),i&&x(i.split(" "),function(e){e&&(o[e]=!0)}),a&&x(a.split(" "),function(e){e&&(o[e]=!1)}),t.length>1||r.$$postDigest(function(){x(t,function(t){var n=e.get(t);if(n){var r=function(e){F(e)&&(e=e.split(" "));var t=Re();return x(e,function(e){e.length&&(t[e]=!0)}),t}(t.attr("class")),i="",a="";x(n,function(e,t){var n=!!r[t];e!==n&&(e?i+=(i.length?" ":"")+t:a+=(a.length?" ":"")+t)}),x(t,function(e){i&&mt(e,i),a&&pt(e,a)}),e.remove(t)}}),t.length=0})}(i,o.addClass,o.removeClass),new n}}}]},Bt=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Nt("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter&&new RegExp("(\\s+|\\/)ng-animate(\\s+|\\/)").test(this.$$classNameFilter.toString())))throw Nt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate");return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Lt)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,a){return r=r&&c(r),i=i&&c(i),t(n,r=r||i.parent(),i),e.push(n,"enter",Ut(a))},move:function(n,r,i,a){return r=r&&c(r),i=i&&c(i),t(n,r=r||i.parent(),i),e.push(n,"move",Ut(a))},leave:function(t,n){return e.push(t,"leave",Ut(n),function(){t.remove()})},addClass:function(t,n,r){return(r=Ut(r)).addClass=Ft(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return(r=Ut(r)).removeClass=Ft(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return(i=Ut(i)).addClass=Ft(i.addClass,n),i.removeClass=Ft(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,a){return(a=Ut(a)).from=a.from?T(a.from,n):n,a.to=a.to?T(a.to,r):r,i=i||"ng-inline-animate",a.tempClasse
9s=Ft(a.tempClasses,i),e.push(t,"animate",a)}}}]}];function Vt(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function Yt(e,t,n,r){var i=this,a=(t[0],e.location),o=e.history,s=e.setTimeout,l=e.clearTimeout,u={};i.isMock=!1;var f=0,d=[];function h(e){try{e.apply(null,le(arguments,1))}finally{if(0==--f)for(;d.length;)try{d.pop()()}catch(e){n.error(e)}}}i.$$completeOutstandingRequest=h,i.$$incOutstandingRequestCount=function(){f++},i.notifyWhenNoOutstandingRequests=function(e){0===f?e():d.push(e)};var p,m,g=a.href,v=t.find("base"),y=null;C(),m=p,i.url=function(t,n,s){if(R(s)&&(s=null),a!==e.location&&(a=e.location),o!==e.history&&(o=e.history),t){var l=m===s;if(g===t&&(!r.history||l))return i;var u=g&&Pn(g)===Pn(t);return g=t,m=s,!r.history||u&&l?(u||(y=t),n?a.replace(t):u?a.hash=function(e){var t=e.indexOf("#");return-1===t?"":e.substr(t+1)}(t):a.href=t):(o[n?"replaceState":"pushState"](s,"",t),C(),m=p),i}return y||a.href.replace(/%27/g,"'")},i.state=function(){return p};var $=[],b=!1;function w(){C(),k()}var _=null;function C(){ie(p=R(p=function(){try{return o.state}catch(e){}}())?null:p,_)&&(p=_),_=p}function k(){g===i.url()&&m===p||(g=i.url(),m=p,x($,function(e){e(i.url(),p)}))}i.onUrlChange=function(t){return b||(r.history&&c(e).on("popstate",w),c(e).on("hashchange",w),b=!0),$.push(t),t},i.$$applicationDestroyed=function(){c(e).off("hashchange popstate",w)},i.$$checkUrlChange=k,i.baseHref=function(){var e=v.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},i.defer=function(e,t){var n;return f++,n=s(function(){delete u[n],h(e)},t||0),u[n]=!0,n},i.defer.cancel=function(e){return!!u[e]&&(delete u[e],l(e),h(A),!0)}}function Wt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new Yt(e,r,t,n)}]}function zt(){this.$get=function(){var e={};function t(t,n){if(t in e)throw r("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var i=0,a=T({},n,{id:t}),o={},s=n&&n.capacity||Number.MAX_VALUE,l={},u=null,c=null;return e[t]={put:function(e,t){if(!R(t))return s<Number.MAX_VALUE&&f(l[e]||(l[e]={key:e})),e in o||i++,o[e]=t,i>s&&this.remove(c.key),t},get:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;f(t)}return o[e]},remove:function(e){if(s<Number.MAX_VALUE){var t=l[e];if(!t)return;t==u&&(u=t.p),t==c&&(c=t.n),d(t.n,t.p),delete l[e]}delete o[e],i--},removeAll:function(){o={},i=0,l={},u=c=null},destroy:function(){o=null,a=null,l=null,delete e[t]},info:function(){return T({},a,{size:i})}};function f(e){e!=u&&(c?c==e&&(c=e.n):c=e,d(e.n,e.p),d(e,u),(u=e).n=null)}function d(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}}return t.info=function(){var t={};return x(e,function(e,n){t[n]=e.info()}),t},t.get=function(t){return e[t]},t}}function Gt(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var Xt=r("$compile");function Jt(e,r){var i={},a="Directive",s=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,l=/(([\w\-]+)(?:\:([^;]+))?;?)/,u=function(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),d=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,h=/^(on[a-z]+|formaction)$/;function p(e,t,n){var r=/^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/,i={};return x(e,function(e,a){var o=e.match(r);if(!o)throw Xt("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,a,e,n?"controller bindings definition":"isolate scope definition");i[a]={mode:o[1][0],collection:"*"===o[2],optional:"?"===o[3],attrName:o[4]||a}}),i}function m(e,t){var n={isolateScope:null,bindToController:null};if(N(e.scope)&&(!0===e.bindToController?(n.bindToController=p(e.scope,t,!0),n.isolateScope={}):n.isolateScope=p(e.scope,t,!1)),N(e.bindToController)&&(n.bindToController=p(e.bindToController,t,!0)),N(n.bindToController)){var r=e.controller,i=e.controllerAs;if(!r)throw Xt("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!function(e,t){if(t&&F(t))return t;if(F(e)){var n=nn.exec(e);if(n)return n[3]}}(r,i))throw Xt("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}this.directive=function t(n,r){return Ae(n,"directive"),F(n)?(function(e){var t=e.charAt(0);if(!t||t!==o(t))throw Xt("baddir","Directive name '{0}
9' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Xt("baddir","Directive name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(n),Oe(r,"directiveFactory"),i.hasOwnProperty(n)||(i[n]=[],e.factory(n+a,["$injector","$exceptionHandler",function(e,t){var r=[];return x(i[n],function(i,a){try{var o=e.invoke(i);B(o)?o={compile:P(o)}:!o.compile&&o.link&&(o.compile=P(o.link)),o.priority=o.priority||0,o.index=a,o.name=o.name||n,o.require=o.require||o.controller&&o.name,o.restrict=o.restrict||"EA";var s=o.$$bindings=m(o,o.name);N(s.isolateScope)&&(o.$$isolateBindings=s.isolateScope),r.push(o)}catch(e){t(e)}}),r}])),i[n].push(r)):x(n,C(t)),this},this.aHrefSanitizationWhitelist=function(e){return j(e)?(r.aHrefSanitizationWhitelist(e),this):r.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return j(e)?(r.imgSrcSanitizationWhitelist(e),this):r.imgSrcSanitizationWhitelist()};var g=!0;this.debugInfoEnabled=function(e){return j(e)?(g=e,this):g},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(e,r,p,m,v,y,$,b,w,_,C){var k=function(e,t){if(t){var n,r,i,a=Object.keys(t);for(n=0,r=a.length;n<r;n++)this[i=a[n]]=t[i]}else this.$attr={};this.$$element=e};function D(e,t){try{e.addClass(t)}catch(e){}}k.prototype={$normalize:Zt,$addClass:function(e){e&&e.length>0&&_.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&_.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Kt(e,t);n&&n.length&&_.addClass(this.$$element,n);var r=Kt(t,e);r&&r.length&&_.removeClass(this.$$element,r)},$set:function(e,t,r,i){var a,o=this.$$element[0],s=kt(o,e),l=function(e,t){var n=e.nodeName;return("INPUT"===n||"TEXTAREA"===n)&&Ct[t]}(o,e),u=e;if(s?(this.$$element.prop(e,t),i=s):l&&(this[l]=t,u=l),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e])||(this.$attr[e]=i=Se(e,"-")),"a"===(a=ee(this.$$element))&&"href"===e||"img"===a&&"src"===e)this[e]=t=C(t,"src"===e);else if("img"===a&&"srcset"===e){for(var c="",f=Q(t),d=/\s/.test(f)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,h=f.split(d),m=Math.floor(h.length/2),g=0;g<m;g++){var v=2*g;c+=C(Q(h[v]),!0),c+=" "+Q(h[v+1])}var y=Q(h[2*g]).split(/\s/);c+=C(Q(y[0]),!0),2===y.length&&(c+=" "+Q(y[1])),this[e]=t=c}!1!==r&&(null===t||t===n?this.$$element.removeAttr(i):this.$$element.attr(i,t));var $=this.$$observers;$&&x($[u],function(e){try{e(t)}catch(e){p(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=Re()),i=r[e]||(r[e]=[]);return i.push(t),$.$evalAsync(function(){!i.$$inter&&n.hasOwnProperty(e)&&t(n[e])}),function(){te(i,t)}}};var S=r.startSymbol(),E=r.endSymbol(),O="{{"==S||"}}"==E?I:function(e){return e.replace(/\{\{/g,S).replace(/}}/g,E)},P=/^ngAttr[A-Z]/;return R.$$addBindingInfo=g?function(e,t){var n=e.data("$binding")||[];q(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:A,R.$$addBindingClass=g?function(e){D(e,"ng-binding")}:A,R.$$addScopeInfo=g?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:A,R.$$addScopeClass=g?function(e,t){D(e,t?"ng-isolate-scope":"ng-scope")}:A,R;function R(e,t,n,r,i){e instanceof c||(e=c(e)),x(e,function(t,n){t.nodeType==Ne&&t.nodeValue.match(/\S+/)&&(e[n]=c(t).wrap("<span></span>").parent()[0])});var a=j(e,t,e,n,r,i);R.$$addScopeClass(e);var o=null;return function(t,n,r){Oe(t,"scope");var i,s,l,u=(r=r||{}).parentBoundTranscludeFn,f=r.transcludeControllers,d=r.futureParentElement;if(u&&u.$$boundTransclude&&(u=u.$$boundTransclude),o||(s=(i=d)&&i[0],o=s&&"foreignobject"!==ee(s)&&s.toString().match(/SVG/)?"svg":"html"),l="html"!==o?c(re(o,c("<div>").append(e).html())):n?wt.clone.call(e):e,f)for(var h in f)l.data("$"+h+"Controller",f[h].instance);return R.$$addScopeInfo(l,t),n&&n(l,t),a&&a(t,l,l,u),l}}function j(e,t,r,i,a,o){for(var s,l,u,f,d,h,p,m=[],g=0;g<e.length;g++)s=new k,(u=(l=U(e[g],[],s,0===g?i:n,a)).length?Y(l,e[g],s,t,r,null,[],[],o):null)&&u.scope&&R.$$addScopeClass(s.$$element),d=u&&u.terminal||!(f=e[g].childNodes)||!f.length?null:j(f,u?(u.transcludeOnThisElement||!u.templateOnThisElement)&&u.transclude:t),(u||d)&&(m.push(g,u,d),h=!0,p=p||u),o=null;return h?function(e,r,i,a){var o,s,l,u,f,d,h,g,v;if(p){var y=r.length;for(v=new Array(y),f=0;f<m.length;f+=3)h=m[f],v[h]=r[h]}else v=r;
9for(f=0,d=m.length;f<d;)if(l=v[m[f++]],o=m[f++],s=m[f++],o){if(o.scope){u=e.$new(),R.$$addScopeInfo(c(l),u);var $=o.$$destroyBindings;$&&(o.$$destroyBindings=null,u.$on("$destroyed",$))}else u=e;g=o.transcludeOnThisElement?L(e,o.transclude,a,o.elementTranscludeOnThisElement):!o.templateOnThisElement&&a?a:!a&&t?L(e,t):null,o(s,u,l,i,g,o)}else s&&s(e,l.childNodes,n,a)}:null}function L(e,t,n,r){return function(r,i,a,o,s){return r||((r=e.$new(!1,s)).$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:a,futureParentElement:o})}}function U(e,t,n,i,a){var o,u,c=e.nodeType,f=n.$attr;switch(c){case je:G(t,Zt(ee(e)),"E",i,a);for(var d,h,p,m,g,v,y=e.attributes,$=0,b=y&&y.length;$<b;$++){var w=!1,x=!1;h=(d=y[$]).name,g=Q(d.value),m=Zt(h),(v=P.test(m))&&(h=h.replace(Qt,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var _=m.replace(/(Start|End)$/,"");X(_)&&m===_+"Start"&&(w=h,x=h.substr(0,h.length-5)+"end",h=h.substr(0,h.length-6)),f[p=Zt(h.toLowerCase())]=h,!v&&n.hasOwnProperty(p)||(n[p]=g,kt(e,p)&&(n[p]=!0)),ae(e,t,g,p,v),G(t,p,"A",i,a,w,x)}if(N(u=e.className)&&(u=u.animVal),F(u)&&""!==u)for(;o=l.exec(u);)G(t,p=Zt(o[2]),"C",i,a)&&(n[p]=Q(o[3])),u=u.substr(o.index+o[0].length);break;case Ne:!function(e,t){var n=r(t,!0);n&&e.push({priority:0,compile:function(e){var t=e.parent(),r=!!t.length;return r&&R.$$addBindingClass(t),function(e,t){var i=t.parent();r||R.$$addBindingClass(i),R.$$addBindingInfo(i,n.expressions),e.$watch(n,function(e){t[0].nodeValue=e})}}})}(t,e.nodeValue);break;case Le:try{(o=s.exec(e.nodeValue))&&G(t,p=Zt(o[1]),"M",i,a)&&(n[p]=Q(o[2]))}catch(e){}}return t.sort(K),t}function H(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw Xt("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==je&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0);else r.push(e);return c(r)}function V(e,t,n){return function(r,i,a,o,s){return i=H(i[0],t,n),e(r,i,a,o,s)}}function Y(e,r,i,a,o,s,l,u,f){f=f||{};for(var h,m,g,v,$,b,w=-Number.MAX_VALUE,x=f.controllerDirectives,_=f.newIsolateScopeDirective,C=f.templateDirective,D=f.nonTlbTranscludeDirective,S=!1,T=!1,E=f.hasElementTranscludeDirective,M=i.$$element=c(r),A=s,I=a,P=0,j=e.length;P<j;P++){var L=(m=e[P]).$$start,Y=m.$$end;if(L&&(M=H(r,L,Y)),v=n,w>m.priority)break;if((b=m.scope)&&(m.templateUrl||(N(b)?(ne("new/isolated scope",_||h,m,M),_=m):ne("new/isolated scope",_,m,M)),h=h||m),g=m.name,!m.templateUrl&&m.controller&&(b=m.controller,x=x||Re(),ne("'"+g+"' controller",x[g],m,M),x[g]=m),(b=m.transclude)&&(S=!0,m.$$tlb||(ne("transclusion",D,m,M),D=m),"element"==b?(E=!0,w=m.priority,v=M,M=i.$$element=c(t.createComment(" "+g+": "+i[g]+" ")),r=M[0],oe(o,le(v),r),I=R(v,a,w,A&&A.name,{nonTlbTranscludeDirective:D})):(v=c(st(r)).contents(),M.empty(),I=R(v,a))),m.template)if(T=!0,ne("template",C,m,M),C=m,b=B(m.template)?m.template(M,i):m.template,b=O(b),m.replace){if(A=m,v=rt(b)?[]:en(re(m.templateNamespace,Q(b))),r=v[0],1!=v.length||r.nodeType!==je)throw Xt("tplrt","Template for directive '{0}' must have exactly one root element. {1}",g,"");oe(o,M,r);var G={$attr:{}},X=U(r,[],G),K=e.splice(P+1,e.length-(P+1));_&&z(X),e=e.concat(X).concat(K),J(i,G),j=e.length}else M.html(b);if(m.templateUrl)T=!0,ne("template",C,m,M),C=m,m.replace&&(A=m),ie=Z(e.splice(P,e.length-P),M,i,o,S&&I,l,u,{controllerDirectives:x,newIsolateScopeDirective:_,templateDirective:C,nonTlbTranscludeDirective:D}),j=e.length;else if(m.compile)try{B($=m.compile(M,i,I))?ee(null,$,L,Y):$&&ee($.pre,$.post,L,Y)}catch(e){p(e,me(M))}m.terminal&&(ie.terminal=!0,w=Math.max(w,m.priority))}return ie.scope=h&&!0===h.scope,ie.transcludeOnThisElement=S,ie.elementTranscludeOnThisElement=E,ie.templateOnThisElement=T,ie.transclude=I,f.hasElementTranscludeDirective=E,ie;function ee(e,t,n,r){e&&(n&&(e=V(e,n,r)),e.require=m.require,e.directiveName=g,(_===m||m.$$isolateScope)&&(e=se(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=V(t,n,r)),t.require=m.require,t.directiveName=g,(_===m||m.$$isolateScope)&&(t=se(t,{isolateScope:!0})),u.push(t))}function te(e,t,n,r){var i;if(F(t)){var a=t.match(d),o=t.substring(a[0].length),s=a[1]||a[3],l="?"===a[2];
9if("^^"===s?n=n.parent():i=(i=r&&r[o])&&i.instance,!i){var u="$"+o+"Controller";i=s?n.inheritedData(u):n.data(u)}if(!i&&!l)throw Xt("ctreq","Controller '{0}', required by directive '{1}', can't be found!",o,e)}else if(q(t)){i=[];for(var c=0,f=t.length;c<f;c++)i[c]=te(e,t[c],n,r)}return i||null}function ie(e,t,a,o,s,f){var d,p,g,v,$,b,w,D,S;if(r===a?(S=i,D=i.$$element):(D=c(a),S=new k(D,i)),_&&($=t.$new(!0)),s&&((w=function(e,t,r){var i;return W(e)||(r=t,t=e,e=n),E&&(i=b),r||(r=E?D.parent():D),s(e,t,i,r,I)}).$$boundTransclude=s),x&&(b=function(e,t,n,r,i,a){var o=Re();for(var s in r){var l=r[s],u={$scope:l===_||l.$$isolateScope?i:a,$element:e,$attrs:t,$transclude:n},c=l.controller;"@"==c&&(c=t[l.name]);var f=y(c,u,!0,l.controllerAs);o[l.name]=f,E||e.data("$"+l.name+"Controller",f.instance)}return o}(D,S,w,x,$,t)),_&&(R.$$addScopeInfo(D,$,!0,!(C&&(C===_||C===_.$$originalDirective))),R.$$addScopeClass(D,!0),$.$$isolateBindings=_.$$isolateBindings,ce(t,S,$,$.$$isolateBindings,_,$)),b){var T,O,M=_||h;for(d in M&&b[M.name]&&(T=M.$$bindings.bindToController,(v=b[M.name])&&v.identifier&&T&&(O=v,f.$$destroyBindings=ce(t,S,v.instance,T,M))),b){var A=(v=b[d])();A!==v.instance&&(v.instance=A,D.data("$"+m.name+"Controller",A),v===O&&(f.$$destroyBindings(),f.$$destroyBindings=ce(t,S,A,T,M)))}}for(d=0,p=l.length;d<p;d++)ue(g=l[d],g.isolateScope?$:t,D,S,g.require&&te(g.directiveName,g.require,D,b),w);var I=t;for(_&&(_.template||null===_.templateUrl)&&(I=$),e&&e(I,a.childNodes,n,s),d=u.length-1;d>=0;d--)ue(g=u[d],g.isolateScope?$:t,D,S,g.require&&te(g.directiveName,g.require,D,b),w)}}function z(e){for(var t=0,n=e.length;t<n;t++)e[t]=M(e[t],{$$isolateScope:!0})}function G(t,r,o,s,l,u,c){if(r===l)return null;var f=null;if(i.hasOwnProperty(r))for(var d,h=e.get(r+a),m=0,g=h.length;m<g;m++)try{d=h[m],(s===n||s>d.priority)&&-1!=d.restrict.indexOf(o)&&(u&&(d=M(d,{$$start:u,$$end:c})),t.push(d),f=d)}catch(e){p(e)}return f}function X(t){if(i.hasOwnProperty(t))for(var n=e.get(t+a),r=0,o=n.length;r<o;r++)if(n[r].multiElement)return!0;return!1}function J(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;x(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),x(t,function(t,a){"class"==a?(D(i,t),e.class=(e.class?e.class+" ":"")+t):"style"==a?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==a.charAt(0)||e.hasOwnProperty(a)||(e[a]=t,r[a]=n[a])})}function Z(e,t,n,r,i,a,o,s){var l,u,f=[],d=t[0],h=e.shift(),p=M(h,{templateUrl:null,transclude:null,replace:null,$$originalDirective:h}),g=B(h.templateUrl)?h.templateUrl(t,n):h.templateUrl,v=h.templateNamespace;return t.empty(),m(w.getTrustedResourceUrl(g)).then(function(m){var y,$,b,w;if(m=O(m),h.replace){if(b=rt(m)?[]:en(re(v,Q(m))),y=b[0],1!=b.length||y.nodeType!==je)throw Xt("tplrt","Template for directive '{0}' must have exactly one root element. {1}",h.name,g);$={$attr:{}},oe(r,t,y);var _=U(y,[],$);N(h.scope)&&z(_),e=_.concat(e),J(n,$)}else y=d,t.html(m);for(e.unshift(p),l=Y(e,y,n,i,t,h,a,o,s),x(r,function(e,n){e==y&&(r[n]=t[0])}),u=j(t[0].childNodes,i);f.length;){var C=f.shift(),k=f.shift(),S=f.shift(),T=f.shift(),E=t[0];if(!C.$$destroyed){if(k!==d){var M=k.className;s.hasElementTranscludeDirective&&h.replace||(E=st(y)),oe(S,c(k),E),D(c(E),M)}w=l.transcludeOnThisElement?L(C,l.transclude,T):T,l(u,C,E,r,w,l)}}f=null}),function(e,t,n,r,i){var a=i;t.$$destroyed||(f?f.push(t,n,r,a):(l.transcludeOnThisElement&&(a=L(t,l.transclude,i)),l(u,t,n,r,a,l)))}}function K(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 ne(e,t,n,r){if(t)throw Xt("multidir","Multiple directives [{0}, {1}] asking for {2} on: {3}",t.name,n.name,e,me(r))}function re(e,n){switch(e=o(e||"html")){case"svg":case"math":var r=t.createElement("div");return r.innerHTML="<"+e+">"+n+"</"+e+">",r.childNodes[0].childNodes;default:return n}}function ae(e,t,n,i,a){var o=function(e,t){if("srcdoc"==t)return w.HTML;var n=ee(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?w.RESOURCE_URL:void 0}(e,i);a=u[i]||a;var s=r(n,!0,o,a);if(s){if("multiple"===i&&"select"===ee(e))throw Xt("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",me(e));t.push({priority:100,compile:function(){return{pre:function(e,t,l){var u=l.$$observers||(l.$$observers={});if(h.test(i))throw Xt("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=l[i];c!==n&&(s=c&&r(c,!0,o,a),n=c),s&&(l[i]=s(e),(u[i]||(u[i]=[])).$$inter=!0,(l.$$observers&&l.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?l.$updateClass(e,t):l.$set(i,e)}))}}}})}}function oe(e,n,r){var i,a,o=n[0],s=n.length,l=o.parentNode;if(e)for(i=0,a=e.length;i<a;i++)if(e[i]==o){e[i++]=r;for(var u=i,d=u+s-1,h=e.length;u<h;u++,d++)d<h?e[u]=e[d]:delete e[u];e.length-=s-1,e.context===o&&(e.context=r);break}l&&l.replaceChild(r,o);var p=t.createDocumentFragment();p.appendChild(o),c(r).data(c(o).data()),f?(Te=!0,f.cleanData([o])):delete c.cache[o[c.expando]];for(var m=1,g=n.length;m<g;m++){var v=n[m];c(v).remove(),p.appendChild(v),delete n[m]}n[0]=r,n.length=1}function se(e,t){return T(function(){return e.apply(null,arguments)},e,t)}function ue(e,t,n,r,i,a){try{e(t,n,r,i,a)}catch(e){p(e,me(n))}}function ce(e,t,n,i,a,o){var s;x(i,function(i,o){var l,u,c,f,d=i.attrName,h=i.optional;switch(i.mode){case"@":t.$observe(d,function(e){n[o]=e}
9),t.$$observers[d].$$scope=e,t[d]&&(n[o]=r(t[d])(e));break;case"=":if(h&&!t[d])return;u=v(t[d]),f=u.literal?ie:function(e,t){return e===t||e!=e&&t!=t},c=u.assign||function(){throw l=n[o]=u(e),Xt("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",t[d],a.name)},l=n[o]=u(e);var p,m=function(t){return f(t,n[o])||(f(t,l)?c(e,t=n[o]):n[o]=t),l=t};m.$stateful=!0,p=i.collection?e.$watchCollection(t[d],m):e.$watch(v(t[d],m),null,u.literal),(s=s||[]).push(p);break;case"&":if(!t.hasOwnProperty(d)&&h)break;if((u=v(t[d]))===A&&h)break;n[o]=function(t){return u(e,t)}}});var l=s?function(){for(var e=0,t=s.length;e<t;++e)s[e]()}:A;return o&&l!==A?(o.$on("$destroy",l),A):l}}]}Jt.$inject=["$provide","$$sanitizeUriProvider"];var Qt=/^((?:x|data)[\:\-_])/i;function Zt(e){return Qe(e.replace(Qt,""))}function Kt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var a=0;a<r.length;a++){for(var o=r[a],s=0;s<i.length;s++)if(o==i[s])continue e;n+=(n.length>0?" ":"")+o}return n}function en(e){var t=(e=c(e)).length;if(t<=1)return e;for(;t--;)e[t].nodeType===Le&&p.call(e,t,1);return e}var tn=r("$controller"),nn=/^(\S+)(\s+as\s+(\w+))?$/;function rn(){var e={},t=!1;this.register=function(t,n){Ae(t,"controller"),N(t)?T(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(i,a){return function(r,s,l,u){var c,f,d,h;if(l=!0===l,u&&F(u)&&(h=u),F(r)){if(!(f=r.match(nn)))throw tn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);d=f[1],h=h||f[3],Me(r=e.hasOwnProperty(d)?e[d]:Ie(s.$scope,d,!0)||(t?Ie(a,d,!0):n),d,!0)}if(l){var p=(q(r)?r[r.length-1]:r).prototype;return c=Object.create(p||null),h&&o(s,h,c,d||r.name),T(function(){var e=i.invoke(r,c,s,d);return e!==c&&(N(e)||B(e))&&(c=e,h&&o(s,h,c,d||r.name)),c},{instance:c,identifier:h})}return c=i.instantiate(r,s,d),h&&o(s,h,c,d||r.name),c};function o(e,t,n,i){if(!e||!N(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}}]}function an(){this.$get=["$window",function(e){return c(e.document)}]}function on(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var sn="application/json",ln={"Content-Type":sn+";charset=utf-8"},un=/^\[|^\{(?!\{)/,cn={"[":/]$/,"{":/}$/},fn=/^\)\]\}',?\n/;function dn(e){return N(e)?H(e)?e.toISOString():fe(e):e}function hn(){this.$get=function(){return function(e){if(!e)return"";var t=[];
9return _(e,function(e,n){null===e||R(e)||(q(e)?x(e,function(e,r){t.push(be(n)+"="+be(dn(e)))}):t.push(be(n)+"="+be(dn(e))))}),t.join("&")}}}function pn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(n,r,i){null===n||R(n)||(q(n)?x(n,function(t){e(t,r+"[]")}):N(n)&&!H(n)?_(n,function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))}):t.push(be(r)+"="+be(dn(n))))}(e,"",!0),t.join("&")}}}function mn(e,t){if(F(e)){var n=e.replace(fn,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(sn)||(a=(i=n).match(un))&&cn[a[0]].test(i))&&(e=de(n))}}var i,a;return e}function gn(e){var t,n=Re();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return F(e)?x(e.split("\n"),function(e){t=e.indexOf(":"),r(o(Q(e.substr(0,t))),Q(e.substr(t+1)))}):N(e)&&x(e,function(e,t){r(o(t),Q(e))}),n}function vn(e){var t;return function(n){if(t||(t=gn(e)),n){var r=t[o(n)];return void 0===r&&(r=null),r}return t}}function yn(e,t,n,r){return B(r)?r(e,t,n):(x(r,function(r){e=r(e,t,n)}),e)}function $n(e){return 200<=e&&e<300}function bn(){var e=this.defaults={transformResponse:[mn],transformRequest:[function(e){return!N(e)||(t=e,"[object File]"===g.call(t))||function(e){return"[object Blob]"===g.call(e)}(e)||function(e){return"[object FormData]"===g.call(e)}(e)?e:fe(e);var t}],headers:{common:{Accept:"application/json, text/plain, */*"},post:re(ln),put:re(ln),patch:re(ln)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return j(e)?(t=!!e,this):t};var i=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){var h=u("$http");e.paramSerializer=F(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var p=[];function m(i){if(!$.isObject(i))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",i);var u=T({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},i);u.headers=function(t){var n,r,i,a=e.headers,s=T({},t.headers);a=T({},a.common,a[o(t.method)]);e:for(n in a){for(i in r=o(n),s)if(o(i)===r)continue e;s[n]=a[n]}return function(e,t){var n,r={};return x(e,function(e,i){B(e)?null!=(n=e(t))&&(r[i]=n):r[i]=e}),r}(s,re(t))}(i),u.method=l(u.method),u.paramSerializer=F(u.paramSerializer)?d.get(u.paramSerializer):u.paramSerializer;var g=[function(r){var i=r.headers,l=yn(r.data,vn(i),n,r.transformRequest);return R(l)&&x(i,function(e,t){"content-type"===o(t)&&delete i[t]}),R(r.withCredentials)&&!R(e.withCredentials)&&(r.withCredentials=e.withCredentials),function(r,i){var o,l,u=f.defer(),d=u.promise,p=r.headers,g=function(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}(r.url,r.paramSerializer(r.params));if(m.pendingRequests.push(r),d.then(b,b),!r.cache&&!e.cache||!1===r.cache||"GET"!==r.method&&"JSONP"!==r.method||(o=N(r.cache)?r.cache:N(e.cache)?e.cache:h),o&&(j(l=o.get(g))?G(l)?l.then($,$):q(l)?y(l[1],l[0],re(l[2]),l[3]):y(l,200,{},"OK"):o.put(g,d)),R(l)){var v=Nr(r.url)?s()[r.xsrfCookieName||e.xsrfCookieName]:n;v&&(p[r.xsrfHeaderName||e.xsrfHeaderName]=v),a(r.method,g,i,function(e,n,r,i){function a(){y(n,e,r,i)}o&&($n(e)?o.put(g,[e,n,gn(r),i]):o.remove(g)),t?c.$applyAsync(a):(a(),c.$$phase||c.$apply())},p,r.timeout,r.withCredentials,r.responseType)}return d;function y(e,t,n,i){($n(t=Math.max(t,0))?u.resolve:u.reject)({data:e,status:t,headers:vn(n),config:r,statusText:i})}function $(e){y(e.data,e.status,re(e.headers()),e.statusText)}function b(){var e=m.pendingRequests.indexOf(r);-1!==e&&m.pendingRequests.splice(e,1)}}(r,l).then(w,w)},n],v=f.when(u);for(x(p,function(e){(e.request||e.requestError)&&g.unshift(e.request,e.requestError),(e.response||e.responseError)&&g.push(e.response,e.responseError)});g.length;){var y=g.shift(),b=g.shift();v=v.then(y,b)}return v.success=function(e){return Me(e,"fn"),v.then(function(t){e(t.data,t.status,t.headers,u)}),v},v.error=function(e){return Me(e,"fn"),v.then(null,function(t){e(t.data,t.status,t.headers,u)}),v},v;function w(e){var t=T({},e);return e.data?t.data=yn(e.data,e.headers,e.status,u.transformResponse):t.data=e.data,$n(e.status)?t:f.reject(t)}}return x(i,function(e){p.unshift(F(e)?d.get(e):d.invoke(e))}),m.pendingRequests=[],function(e){x(arguments,function(e){m[e]=function(t,n){return m(T({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){x(arguments,function(e){m[e]=function(t,n,r){return m(T({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),m.defaults=e,m}]}function wn(){return new e.XMLHttpRequest}function xn(){this.$get=["$browser","$window","$document",function(e,t,r){return function(e,t,r,i,a){return function(s,l,u,c,f,d,h,p){if(e.$$incOutstandingRequestCount(),l=l||e.url(),"jsonp"==o(s)){var m="_"+(i.counter++).toString(36);i[m]=function(e){i[m].data=e,i[m].called=!0};var g=function(e,t,n){var r=a.createElement("script"),o=null;return r.type="text/javascript",r.src=e,r.async=!0,o=function(e){We(r,"load",o),We(r,"error",o),a.body.removeChild(r),r=null;var s=-1,l="unknown";
9e&&("load"!==e.type||i[t].called||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),n&&n(s,l)},Ye(r,"load",o),Ye(r,"error",o),a.body.appendChild(r),o}(l.replace("JSON_CALLBACK","angular.callbacks."+m),m,function(e,t){w(c,e,i[m].data,"",t),i[m]=A})}else{var v=t();v.open(s,l,!0),x(f,function(e,t){j(e)&&v.setRequestHeader(t,e)}),v.onload=function(){var e=v.statusText||"",t="response"in v?v.response:v.responseText,n=1223===v.status?204:v.status;0===n&&(n=t?200:"file"==jr(l).protocol?404:0),w(c,n,t,v.getAllResponseHeaders(),e)};var y=function(){w(c,-1,null,null,"")};if(v.onerror=y,v.onabort=y,h&&(v.withCredentials=!0),p)try{v.responseType=p}catch(e){if("json"!==p)throw e}v.send(u)}if(d>0)var $=r(b,d);else G(d)&&d.then(b);function b(){g&&g(),v&&v.abort()}function w(t,i,a,o,s){$!==n&&r.cancel($),g=v=null,t(i,a,o,s),e.$$completeOutstandingRequest(A)}}}(e,wn,e.defer,t.angular.callbacks,r[0])}]}var _n=$.$interpolateMinErr=r("$interpolate");function Cn(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){var a=e.length,o=t.length,s=new RegExp(e.replace(/./g,u),"g"),l=new RegExp(t.replace(/./g,u),"g");function u(e){return"\\\\\\"+e}function c(n){return n.replace(s,e).replace(l,t)}function f(s,l,u,f){f=!!f;for(var d,h,p,m=0,g=[],v=[],y=s.length,$=[],b=[];m<y;){if(-1==(d=s.indexOf(e,m))||-1==(h=s.indexOf(t,d+a))){m!==y&&$.push(c(s.substring(m)));break}m!==d&&$.push(c(s.substring(m,d))),p=s.substring(d+a,h),g.push(p),v.push(n(p,_)),m=h+o,b.push($.length),$.push("")}if(u&&$.length>1&&_n.throwNoconcat(s),!l||g.length){var w=function(e){for(var t=0,n=g.length;t<n;t++){if(f&&R(e[t]))return;$[b[t]]=e[t]}return $.join("")},x=function(e){return u?i.getTrusted(u,e):i.valueOf(e)};return T(function(e){var t=0,n=g.length,i=new Array(n);try{for(;t<n;t++)i[t]=v[t](e);return w(i)}catch(e){r(_n.interr(s,e))}},{exp:s,expressions:g,$$watchDelegate:function(e,t){var n;return e.$watchGroup(v,function(r,i){var a=w(r);B(t)&&t.call(this,a,r!==i?n:a,e),n=a})}})}function _(e){try{return e=x(e),f&&!j(e)?e:function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=fe(e)}return e}(e)}catch(e){r(_n.interr(s,e))}}}return f.startSymbol=function(){return e},f.endSymbol=function(){return t},f}]}function kn(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,r){var i={};function a(a,o,s,l){var u=arguments.length>4,c=u?le(arguments,4):[],f=t.setInterval,d=t.clearInterval,h=0,p=j(l)&&!l,m=(p?r:n).defer(),g=m.promise;return s=j(s)?s:0,g.then(null,null,u?function(){a.apply(null,c)}:a),g.$$intervalId=f(function(){m.notify(h++),s>0&&h>=s&&(m.resolve(h),d(g.$$intervalId),delete i[g.$$intervalId]),p||e.$apply()},o),i[g.$$intervalId]=m,g}return a.cancel=function(e){return!!(e&&e.$$intervalId in i)&&(i[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete i[e.$$intervalId],!0)},a}]}function Dn(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a",short:"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a",ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"]},pluralCat:function(e){return 1===e?"one":"other"}}}}_n.throwNoconcat=function(e){throw _n("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)},_n.interr=function(e,t){return _n("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Sn=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Tn={http:80,https:443,ftp:21},En=r("$location");function On(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=$e(t[n]);return t.join("/")}function Mn(e,t){var n=jr(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=O(n.port)||Tn[n.protocol]||null}function An(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=jr(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=ve(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function In(e,t){if(0===t.indexOf(e))return t.substr(e.length)}function Pn(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function Rn(e){return e.replace(/(#.+)|#$/,"$1")}function jn(e){return e.substr(0,Pn(e).lastIndexOf("/")+1)}function Nn(e,t){this.$$html5=!0,t=t||"";var r=jn(e);Mn(e,this),this.$$parse=function(e){var t=In(r,e);if(!F(t))throw En("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,r);An(t,this),this.$$path||(this.$$path="/"),this.$$compose()}
9,this.$$compose=function(){var e=ye(this.$$search),t=this.$$hash?"#"+$e(this.$$hash):"";this.$$url=On(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+this.$$url.substr(1)},this.$$parseLinkUrl=function(i,a){return a&&"#"===a[0]?(this.hash(a.slice(1)),!0):((o=In(e,i))!==n?(s=o,l=(o=In(t,o))!==n?r+(In("/",o)||o):e+s):(o=In(r,i))!==n?l=r+o:r==i+"/"&&(l=r),l&&this.$$parse(l),!!l);var o,s,l}}function Ln(e,t){var n=jn(e);Mn(e,this),this.$$parse=function(r){var i,a=In(e,r)||In(n,r);"#"===a.charAt(0)?R(i=In(t,a))&&(i=a):i=this.$$html5?a:"",An(i,this),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e))?r[1]:e}(this.$$path,i,e),this.$$compose()},this.$$compose=function(){var n=ye(this.$$search),r=this.$$hash?"#"+$e(this.$$hash):"";this.$$url=On(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Pn(e)==Pn(t)&&(this.$$parse(t),!0)}}function Fn(e,t){this.$$html5=!0,Ln.apply(this,arguments);var n=jn(e);this.$$parseLinkUrl=function(r,i){return i&&"#"===i[0]?(this.hash(i.slice(1)),!0):(e==Pn(r)?a=r:(o=In(n,r))?a=e+t+o:n===r+"/"&&(a=n),a&&this.$$parse(a),!!a);var a,o},this.$$compose=function(){var n=ye(this.$$search),r=this.$$hash?"#"+$e(this.$$hash):"";this.$$url=On(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+t+this.$$url}}var Un={$$html5:!1,$$replace:!1,absUrl:Hn("$$absUrl"),url:function(e){if(R(e))return this.$$url;var t=Sn.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Hn("$$protocol"),host:Hn("$$host"),port:Hn("$$port"),path:qn("$$path",function(e){return"/"==(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(F(e)||U(e))e=e.toString(),this.$$search=ve(e);else{if(!N(e))throw En("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");x(e=ne(e,{}),function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:R(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:qn("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};function Hn(e){return function(){return this[e]}}function qn(e,t){return function(n){return R(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Bn(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return j(t)?(e=t,this):e},this.html5Mode=function(e){return z(e)?(t.enabled=e,this):N(e)?(z(e.enabled)&&(t.enabled=e.enabled),z(e.requireBase)&&(t.requireBase=e.requireBase),z(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,a,o){var s,l,u,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw En("nobase","$location in HTML5 mode requires a <base> tag to be present!");u=(f=h).substring(0,f.indexOf("/",f.indexOf("//")+2))+(d||"/"),l=i.history?Nn:Fn}else u=Pn(h),l=Ln;(s=new l(u,"#"+e)).$$parseLinkUrl(h,h),s.$$state=r.state();var p=/^\s*(javascript|mailto):/i;function m(e,t,n){var i=s.url(),a=s.$$state;try{r.url(e,t,n),s.$$state=r.state()}catch(e){throw s.url(i),s.$$state=a,e}}a.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=c(e.target);"a"!==ee(i[0]);
9)if(i[0]===a[0]||!(i=i.parent())[0])return;var l=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");N(l)&&"[object SVGAnimatedString]"===l.toString()&&(l=jr(l.animVal).href),p.test(l)||!l||i.attr("target")||e.isDefaultPrevented()||s.$$parseLinkUrl(l,u)&&(e.preventDefault(),s.absUrl()!=r.url()&&(n.$apply(),o.angular["ff-684208-preventDefault"]=!0))}}),Rn(s.absUrl())!=Rn(h)&&r.url(s.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){n.$evalAsync(function(){var r,i=s.absUrl(),a=s.$$state;s.$$parse(e),s.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,a).defaultPrevented,s.absUrl()===e&&(r?(s.$$parse(i),s.$$state=a,m(i,!1,a)):(g=!1,v(i,a)))}),n.$$phase||n.$digest()}),n.$watch(function(){var e=Rn(r.url()),t=Rn(s.absUrl()),a=r.state(),o=s.$$replace,l=e!==t||s.$$html5&&i.history&&a!==s.$$state;(g||l)&&(g=!1,n.$evalAsync(function(){var t=s.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,s.$$state,a).defaultPrevented;s.absUrl()===t&&(r?(s.$$parse(e),s.$$state=a):(l&&m(t,o,a===s.$$state?null:s.$$state),v(e,a)))})),s.$$replace=!1}),s;function v(e,t){n.$broadcast("$locationChangeSuccess",s.absUrl(),e,s.$$state,t)}}]}function Vn(){var e=!0,t=this;this.debugEnabled=function(t){return j(t)?(e=t,this):e},this.$get=["$window",function(n){return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:(r=i("debug"),function(){e&&r.apply(t,arguments)})};var r;function i(e){var t=n.console||{},r=t[e]||t.log||A,i=!1;try{i=!!r.apply}catch(e){}return i?function(){var e=[];return x(arguments,function(t){e.push(function(e){return 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}(t))}),r.apply(t,e)}:function(e,t){r(e,null==t?"":t)}}}]}x([Fn,Ln,Nn],function(e){e.prototype=Object.create(Un),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==Nn||!this.$$html5)throw En("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=R(t)?null:t,this}});var Yn=r("$parse");function Wn(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw Yn("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function zn(e,t){if(e){if(e.constructor===e)throw Yn("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw Yn("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw Yn("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw Yn("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}var Gn=Function.prototype.call,Xn=Function.prototype.apply,Jn=Function.prototype.bind;function Qn(e,t){if(e){if(e.constructor===e)throw Yn("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===Gn||e===Xn||e===Jn)throw Yn("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}var Zn=Re();x("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Zn[e]=!0});var Kn={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},er=function(e){this.options=e};er.prototype={constructor:er,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(t))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=Zn[t],a=Zn[n],o=Zn[r];if(i||a||o){var s=o?r:a?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else 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){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},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},isIdent:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=j(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Yn("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=o(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(){for(var e=this.index;this.index<this.text.length;){var t=this.text.charAt(this.index);if(!this.isIdent(t)&&!this.isNumber(t))break;this.index++}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var a=this.text.charAt(this.index);if(r+=a,i){if("u"===a){var o=this.text.substring(this.index+1,this.index+5);o.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+o+"]"),this.index+=4,n+=String.fromCharCode(parseInt(o,16))}else n+=Kn[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)}};var tr=function(e,t){this.lexer=e,this.options=t};function nr(e,t){return void 0!==e?e:t}function rr(e,t){return void 0===e?t:void 0===t?e:e+t}function ir(e,t){return!e(t).$stateful}function ar(e,t){var n,r;switch(e.type){case tr.Program:n=!0,x(e.body,function(e){ar(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case tr.Literal:e.constant=!0,e.toWatch=[];break;case tr.UnaryExpression:ar(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case tr.BinaryExpression:ar(e.left,t),ar(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case tr.LogicalExpression:ar(e.left,t),ar(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case tr.ConditionalExpression:ar(e.test,t),ar(e.alternate,t),ar(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case tr.Identifier:e.constant=!1,e.toWatch=[e];break;
9case tr.MemberExpression:ar(e.object,t),e.computed&&ar(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case tr.CallExpression:n=!!e.filter&&ir(t,e.callee.name),r=[],x(e.arguments,function(e){ar(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&ir(t,e.callee.name)?r:[e];break;case tr.AssignmentExpression:ar(e.left,t),ar(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case tr.ArrayExpression:n=!0,r=[],x(e.elements,function(e){ar(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case tr.ObjectExpression:n=!0,r=[],x(e.properties,function(e){ar(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case tr.ThisExpression:e.constant=!1,e.toWatch=[]}}function or(e){if(1==e.length){var t=e[0].expression,r=t.toWatch;return 1!==r.length?r:r[0]!==t?r:n}}function sr(e){return e.type===tr.Identifier||e.type===tr.MemberExpression}function lr(e){if(1===e.body.length&&sr(e.body[0].expression))return{type:tr.AssignmentExpression,left:e.body[0].expression,right:{type:tr.NGValueParameter},operator:"="}}function ur(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===tr.Literal||e.body[0].expression.type===tr.ArrayExpression||e.body[0].expression.type===tr.ObjectExpression)}function cr(e){return e.constant}function fr(e,t){this.astBuilder=e,this.$filter=t}function dr(e,t){this.astBuilder=e,this.$filter=t}tr.Program="Program",tr.ExpressionStatement="ExpressionStatement",tr.AssignmentExpression="AssignmentExpression",tr.ConditionalExpression="ConditionalExpression",tr.LogicalExpression="LogicalExpression",tr.BinaryExpression="BinaryExpression",tr.UnaryExpression="UnaryExpression",tr.CallExpression="CallExpression",tr.MemberExpression="MemberExpression",tr.Identifier="Identifier",tr.Literal="Literal",tr.ArrayExpression="ArrayExpression",tr.Property="Property",tr.ObjectExpression="ObjectExpression",tr.ThisExpression="ThisExpression",tr.NGValueParameter="NGValueParameter",tr.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:tr.Program,body:e}},expressionStatement:function(){return{type:tr.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 this.expect("=")&&(e={type:tr.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:tr.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:tr.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:tr.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:tr.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:tr.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:tr.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:tr.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:tr.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.constants.hasOwnProperty(this.peek().text)?e=ne(this.constants[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:tr.CallExpression,callee:e,arguments:this.parseArguments()}
9,this.consume(")")):"["===t.text?(e={type:tr.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:tr.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:tr.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.expression())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:tr.Identifier,name:e.text}},constant:function(){return{type:tr.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:tr.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:tr.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:tr.ObjectExpression,properties:t}},throwError:function(e,t){throw Yn("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 Yn("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 Yn("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 a=this.tokens[e],o=a.text;if(o===t||o===n||o===r||o===i||!t&&!n&&!r&&!i)return a}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},constants:{true:{type:tr.Literal,value:!0},false:{type:tr.Literal,value:!1},null:{type:tr.Literal,value:null},undefined:{type:tr.Literal,value:n},this:{type:tr.ThisExpression}}},fr.prototype={compile:function(e,t){var r=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ar(i,r.$filter);var a,o="";if(this.stage="assign",a=lr(i)){this.state.computing="assign";var s=this.nextId();this.recurse(a,s),o="fn.assign="+this.generateFunction("assign","s,v,l")}var l=or(i.body);r.stage="inputs",x(l,function(e,t){var n="fn"+t;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(e,i),r.return_(i),r.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","ifDefined","plus","text",u)(this.$filter,Wn,zn,Qn,nr,rr,e);return this.state=this.stage=n,c.literal=ur(i),c.constant=cr(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return x(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return x(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.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(e,t,r,i,a,o){var s,l,u,c,f=this;if(i=i||A,!o&&j(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.wat
9chId)),this.lazyRecurse(e,t,r,i,a,!0));switch(e.type){case tr.Program:x(e.body,function(t,r){f.recurse(t.expression,n,n,function(e){l=e}),r!==e.body.length-1?f.current().body.push(l,";"):f.return_(l)});break;case tr.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case tr.UnaryExpression:this.recurse(e.argument,n,n,function(e){l=e}),c=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,c),i(c);break;case tr.BinaryExpression:this.recurse(e.left,n,n,function(e){s=e}),this.recurse(e.right,n,n,function(e){l=e}),c="+"===e.operator?this.plus(s,l):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(l,0):"("+s+")"+e.operator+"("+l+")",this.assign(t,c),i(c);break;case tr.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),i(t);break;case tr.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),i(t);break;case tr.Identifier:t=t||this.nextId(),r&&(r.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),r.computed=!1,r.name=e.name),Wn(e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){a&&1!==a&&f.if_(f.not(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),(f.state.expensiveChecks||mr(e.name))&&f.addEnsureSafeObject(t),i(t);break;case tr.MemberExpression:s=r&&(r.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,n,function(){f.if_(f.notNull(s),function(){e.computed?(l=f.nextId(),f.recurse(e.property,l),f.addEnsureSafeMemberName(l),a&&1!==a&&f.if_(f.not(f.computedMember(s,l)),f.lazyAssign(f.computedMember(s,l),"{}")),c=f.ensureSafeObject(f.computedMember(s,l)),f.assign(t,c),r&&(r.computed=!0,r.name=l)):(Wn(e.property.name),a&&1!==a&&f.if_(f.not(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),c=f.nonComputedMember(s,e.property.name),(f.state.expensiveChecks||mr(e.property.name))&&(c=f.ensureSafeObject(c)),f.assign(t,c),r&&(r.computed=!1,r.name=e.property.name)),i(t)})},!!a);break;case tr.CallExpression:t=t||this.nextId(),e.filter?(l=f.filter(e.callee.name),u=[],x(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),u.push(t)}),c=l+"("+u.join(",")+")",f.assign(t,c),i(t)):(l=f.nextId(),s={},u=[],f.recurse(e.callee,l,s,function(){f.if_(f.notNull(l),function(){f.addEnsureSafeFunction(l),x(e.arguments,function(e){f.recurse(e,f.nextId(),n,function(e){u.push(f.ensureSafeObject(e))})}),s.name?(f.state.expensiveChecks||f.addEnsureSafeObject(s.context),c=f.member(s.context,s.name,s.computed)+"("+u.join(",")+")"):c=l+"("+u.join(",")+")",c=f.ensureSafeObject(c),f.assign(t,c),i(t)})}));break;case tr.AssignmentExpression:if(l=this.nextId(),s={},!sr(e.left))throw Yn("lval","Trying to assing a value to a non l-value");this.recurse(e.left,n,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,l),f.addEnsureSafeObject(f.member(s.context,s.name,s.computed)),c=f.member(s.context,s.name,s.computed)+e.operator+l,f.assign(t,c),i(t||c)})},1);break;case tr.ArrayExpression:u=[],x(e.elements,function(e){f.recurse(e,f.nextId(),n,function(e){u.push(e)})}),c="["+u.join(",")+"]",this.assign(t,c),i(c);break;case tr.ObjectExpression:u=[],x(e.properties,function(e){f.recurse(e.value,f.nextId(),n,function(t){u.push(f.escape(e.key.type===tr.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+u.join(",")+"}",this.assign(t,c),i(c);break;case tr.ThisExpression:this.assign(t,"s"),i("s");break;case tr.NGValueParameter:this.assign(t,"v"),i("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){if(!0===e)t();else{var r=this.current().body;r.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 e+"."+t},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),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},lazyRecurse:function(e,t,n,r,i,a){var o=this;return function(){o.recurse(e,t,n,r,i,a)}},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(F(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(U(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 Yn("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 n,r,i=this,a=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ar(a,i.$filter),(n=lr(a))&&(r=this.recurse(n));var o,s=or(a.body);s&&(o=[],x(s,function(e,t){var n=i.recurse(e);e.input=n,o.push(n),e.watchId=t}));var l=[];x(a.body,function(e){l.push(i.recurse(e.expression))});var u=0===a.body.length?function(){}:1===a.body.length?l[0]:function(e,t){var n;return x(l,function(r){n=r(e,t)}),n};return r&&(u.assign=function(e,t,n){return r(e,n,t)}
9),o&&(u.inputs=o),u.literal=ur(a),u.constant=cr(a),u},recurse:function(e,t,r){var i,a,o,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case tr.Literal:return this.value(e.value,t);case tr.UnaryExpression:return a=this.recurse(e.argument),this["unary"+e.operator](a,t);case tr.BinaryExpression:case tr.LogicalExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case tr.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case tr.Identifier:return Wn(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||mr(e.name),t,r,s.expression);case tr.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Wn(e.property.name,s.expression),a=e.property.name),e.computed&&(a=this.recurse(e.property)),e.computed?this.computedMember(i,a,t,r,s.expression):this.nonComputedMember(i,a,s.expensiveChecks,t,r,s.expression);case tr.CallExpression:return o=[],x(e.arguments,function(e){o.push(s.recurse(e))}),e.filter&&(a=this.$filter(e.callee.name)),e.filter||(a=this.recurse(e.callee,!0)),e.filter?function(e,r,i,s){for(var l=[],u=0;u<o.length;++u)l.push(o[u](e,r,i,s));var c=a.apply(n,l,s);return t?{context:n,name:n,value:c}:c}:function(e,n,r,i){var l,u=a(e,n,r,i);if(null!=u.value){zn(u.context,s.expression),Qn(u.value,s.expression);for(var c=[],f=0;f<o.length;++f)c.push(zn(o[f](e,n,r,i),s.expression));l=zn(u.value.apply(u.context,c),s.expression)}return t?{value:l}:l};case tr.AssignmentExpression:return i=this.recurse(e.left,!0,1),a=this.recurse(e.right),function(e,n,r,o){var l=i(e,n,r,o),u=a(e,n,r,o);return zn(l.value,s.expression),l.context[l.name]=u,t?{value:u}:u};case tr.ArrayExpression:return o=[],x(e.elements,function(e){o.push(s.recurse(e))}),function(e,n,r,i){for(var a=[],s=0;s<o.length;++s)a.push(o[s](e,n,r,i));return t?{value:a}:a};case tr.ObjectExpression:return o=[],x(e.properties,function(e){o.push({key:e.key.type===tr.Identifier?e.key.name:""+e.key.value,value:s.recurse(e.value)})}),function(e,n,r,i){for(var a={},s=0;s<o.length;++s)a[o[s].key]=o[s].value(e,n,r,i);return t?{value:a}:a};case tr.ThisExpression:return function(e){return t?{value:e}:e};case tr.NGValueParameter:return function(e,n,r,i){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,a){var o=e(n,r,i,a);return o=j(o)?+o:0,t?{value:o}:o}},"unary-":function(e,t){return function(n,r,i,a){var o=e(n,r,i,a);return o=j(o)?-o:0,t?{value:o}:o}},"unary!":function(e,t){return function(n,r,i,a){var o=!e(n,r,i,a);return t?{value:o}:o}},"binary+":function(e,t,n){return function(r,i,a,o){var s=rr(e(r,i,a,o),t(r,i,a,o));return n?{value:s}:s}},"binary-":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o),l=t(r,i,a,o),u=(j(s)?s:0)-(j(l)?l:0);return n?{value:u}:u}},"binary*":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)*t(r,i,a,o);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)/t(r,i,a,o);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)%t(r,i,a,o);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)===t(r,i,a,o);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)!==t(r,i,a,o);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)==t(r,i,a,o);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)!=t(r,i,a,o);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)<t(r,i,a,o);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)>t(r,i,a,o);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)<=t(r,i,a,o);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)>=t(r,i,a,o);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)&&t(r,i,a,o);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,a,o){var s=e(r,i,a,o)||t(r,i,a,o);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,a,o,s){var l=e(i,a,o,s)?t(i,a,o,s):n(i,a,o,s);return r?{value:l}:l}},value:function(e,t){return function(){return t?{context:n,name:n,value:e}:e}},identifier:function(e,t,r,i,a){return function(o,s,l,u){var c=s&&e in s?s:o;i&&1!==i&&c&&!c[e]&&(c[e]={});var f=c?c[e]:n;return t&&zn(f,a),r?{context:c,name:e,value:f}:f}},computedMember:function(e,t,n,r,i){return function(a,o,s,l){var u,c,f=e(a,o,s,l);return null!=f&&(Wn(u=t(a,o,s,l),i),r&&1!==r&&f&&!f[u]&&(f[u]={}),zn(c=f[u],i)),n?{context:f,name:u,value:c}:c}},nonComputedMember:function(e,t,r,i,a,o){return function(s,l,u,c){var f=e(s,l,u,c);a&&1!==a&&f&&!f[t]&&(f[t]={});var d=null!=f?f[t]:n;return(r||mr(t))&&zn(d,o),i?{context:f,name:t,value:d}:d}},inputs:function(e,t){return function(n,r,i,a){return a?a[t]:e(n,r,i)}}};var hr=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new tr(this.lexer),this.astCompiler=n.csp?new dr(this.ast,t):new fr(this.ast,t)};function pr(e,t,n,r){zn(e,r);for(var i,a=t.split("."),o=0;a.length>1;o++){var s=zn(e[i=Wn(a.shift(),r)],r);
9s||(s={},e[i]=s),e=s}return zn(e[i=Wn(a.shift(),r)],r),e[i]=n,n}function mr(e){return"constructor"==e}hr.prototype={constructor:hr,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}},Re(),Re();var gr=Object.prototype.valueOf;function vr(e){return B(e.valueOf)?e.valueOf():gr.call(e)}function yr(){var e=Re(),t=Re();this.$get=["$filter","$sniffer",function(r,i){var a={csp:i.csp,expensiveChecks:!1},o={csp:i.csp,expensiveChecks:!0};return function(n,i,s){var h,p,m;switch(typeof n){case"string":m=n=n.trim();var g=s?t:e;if(!(h=g[m])){":"===n.charAt(0)&&":"===n.charAt(1)&&(p=!0,n=n.substring(2));var v=s?o:a,y=new er(v);(h=new hr(y,r,v).parse(n)).constant?h.$$watchDelegate=f:p?h.$$watchDelegate=h.literal?c:u:h.inputs&&(h.$$watchDelegate=l),g[m]=h}return d(h,i);case"function":return d(n,i);default:return A}};function s(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=vr(e)))&&(e===t||e!=e&&t!=t)}function l(e,t,r,i,a){var o,l=i.inputs;if(1===l.length){var u=s;return l=l[0],e.$watch(function(e){var t=l(e);return s(t,u)||(o=i(e,n,n,[t]),u=t&&vr(t)),o},t,r,a)}for(var c=[],f=[],d=0,h=l.length;d<h;d++)c[d]=s,f[d]=null;return e.$watch(function(e){for(var t=!1,r=0,a=l.length;r<a;r++){var u=l[r](e);(t||(t=!s(u,c[r])))&&(f[r]=u,c[r]=u&&vr(u))}return t&&(o=i(e,n,n,f)),o},t,r,a)}function u(e,t,n,r){var i,a;return i=e.$watch(function(e){return r(e)},function(e,n,r){a=e,B(t)&&t.apply(this,arguments),j(e)&&r.$$postDigest(function(){j(a)&&i()})},n)}function c(e,t,n,r){var i,a;return i=e.$watch(function(e){return r(e)},function(e,n,r){a=e,B(t)&&t.call(this,e,n,r),o(e)&&r.$$postDigest(function(){o(a)&&i()})},n);function o(e){var t=!0;return x(e,function(e){j(e)||(t=!1)}),t}}function f(e,t,n,r){var i;return i=e.$watch(function(e){return r(e)},function(e,n,r){B(t)&&t.apply(this,arguments),i()},n)}function d(e,t){if(!t)return e;var n=e.$$watchDelegate,r=n!==c&&n!==u?function(n,r,i,a){var o=e(n,r,i,a);return t(o,n,r)}:function(n,r,i,a){var o=e(n,r,i,a),s=t(o,n,r);return j(o)?s:o};return e.$$watchDelegate&&e.$$watchDelegate!==l?r.$$watchDelegate=e.$$watchDelegate:t.$stateful||(r.$$watchDelegate=l,r.inputs=e.inputs?e.inputs:[e]),r}}]}function $r(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return wr(function(t){e.$evalAsync(t)},t)}]}function br(){this.$get=["$browser","$exceptionHandler",function(e,t){return wr(function(t){e.defer(t)},t)}]}function wr(e,t){var i=r("$q",TypeError);function a(){this.$$state={status:0}}function o(e,t){return function(n){t.call(e,n)}}function s(r){!r.processScheduled&&r.pending&&(r.processScheduled=!0,e(function(){!function(e){var r,i,a;a=e.pending,e.processScheduled=!1,e.pending=n;for(var o=0,s=a.length;o<s;++o){i=a[o][0],r=a[o][e.status];try{B(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(e){i.reject(e),t(e)}}}(r)}))}function l(){this.promise=new a,this.resolve=o(this,this.resolve),this.reject=o(this,this.reject),this.notify=o(this,this.notify)}a.prototype={then:function(e,t,n){var r=new l;
9return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&s(this.$$state),r.promise},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return c(t,!0,e)},function(t){return c(t,!1,e)},t)}},l.prototype={resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(i("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var n,r;r=function(e,t,n){var r=!1;function i(t){return function(n){r||(r=!0,t.call(e,n))}}return[i(t),i(n)]}(this,this.$$resolve,this.$$reject);try{(N(e)||B(e))&&(n=e&&e.then),B(n)?(this.promise.$$state.status=-1,n.call(e,r[0],r[1],this.notify)):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(e){r[1](e),t(e)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,a=0,o=r.length;a<o;a++){i=r[a][0],e=r[a][3];try{i.notify(B(e)?e(n):n)}catch(e){t(e)}}})}};var u=function(e,t){var n=new l;return t?n.resolve(e):n.reject(e),n.promise},c=function(e,t,n){var r=null;try{B(n)&&(r=n())}catch(e){return u(e,!1)}return G(r)?r.then(function(){return u(e,t)},function(e){return u(e,!1)}):u(e,t)},f=function(e,t,n,r){var i=new l;return i.resolve(e),i.promise.then(t,n,r)},d=function e(t){if(!B(t))throw i("norslvr","Expected resolverFn, got '{0}'",t);if(!(this instanceof e))return new e(t);var n=new l;return t(function(e){n.resolve(e)},function(e){n.reject(e)}),n.promise};return d.defer=function(){return new l},d.reject=function(e){var t=new l;return t.reject(e),t.promise},d.when=f,d.all=function(e){var t=new l,n=0,r=q(e)?[]:{};return x(e,function(e,i){n++,f(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise},d}function xr(){this.$get=["$window","$timeout",function(e,t){var n,r=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,a=!!r,o=a?function(e){var t=r(e);return function(){i(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};c.supported=a;var s=0,l=[];return c;function u(){for(var e=0;e<l.length;e++){var t=l[e];t&&(l[e]=null,t())}s=l.length=0}function c(e){var t=l.length;return s++,l.push(e),0===t&&(n=o(u)),function(){t>=0&&(l[t]=null,t=null,0==--s&&n&&(n(),n=null,l.length=0))}}}]}function _r(){var e=10,t=r("$rootScope"),n=null,i=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(r,a,o,l){function u(e){e.currentScope.$$destroyed=!0}function c(){this.$id=k(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}c.prototype={constructor:c,$new:function(e,t){var n;return t=t||this,e?(n=new c).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=k(),this.$$ChildScope=null}return t.prototype=e,t}(this)),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",u),n},$watch:function(e,t,r,i){var a=o(e);
9if(a.$$watchDelegate)return a.$$watchDelegate(this,t,r,a,e);var s=this,l=s.$$watchers,u={fn:t,last:$,get:a,exp:i||e,eq:!!r};return n=null,B(t)||(u.fn=A),l||(l=s.$$watchers=[]),l.unshift(u),v(this,1),function(){te(l,u)>=0&&v(s,-1),n=null}},$watchGroup:function(e,t){var n=new Array(e.length),r=new Array(e.length),i=[],a=this,o=!1,s=!0;if(!e.length){var l=!0;return a.$evalAsync(function(){l&&t(r,r,a)}),function(){l=!1}}if(1===e.length)return this.$watch(e[0],function(e,i,a){r[0]=e,n[0]=i,t(r,e===i?r:n,a)});function u(){o=!1,s?(s=!1,t(r,r,a)):t(r,n,a)}return x(e,function(e,t){var s=a.$watch(e,function(e,i){r[t]=e,n[t]=i,o||(o=!0,a.$evalAsync(u))});i.push(s)}),function(){for(;i.length;)i.shift()()}},$watchCollection:function(e,t){m.$stateful=!0;var n,r,i,a=this,l=t.length>1,u=0,c=o(e,m),f=[],d={},h=!0,p=0;function m(e){var t,i,a,o;if(!R(n=e)){if(N(n))if(w(n)){r!==f&&(p=(r=f).length=0,u++),t=n.length,p!==t&&(u++,r.length=p=t);for(var s=0;s<t;s++)o=r[s],a=n[s],o!=o&&a!=a||o===a||(u++,r[s]=a)}else{for(i in r!==d&&(r=d={},p=0,u++),t=0,n)n.hasOwnProperty(i)&&(t++,a=n[i],o=r[i],i in r?o!=o&&a!=a||o===a||(u++,r[i]=a):(p++,r[i]=a,u++));if(p>t)for(i in u++,r)n.hasOwnProperty(i)||(p--,delete r[i])}else r!==n&&(r=n,u++);return u}}return this.$watch(c,function(){if(h?(h=!1,t(n,n,a)):t(n,i,a),l)if(N(n))if(w(n)){i=new Array(n.length);for(var e=0;e<n.length;e++)i[e]=n[e]}else for(var r in i={},n)s.call(n,r)&&(i[r]=n[r]);else i=n})},$digest:function(){var r,o,s,u,c,p,v,y,w,x,_=e,C=[];m("$digest"),l.$$checkUrlChange(),this===f&&null!==i&&(l.defer.cancel(i),b()),n=null;do{for(p=!1,y=this;d.length;){try{(x=d.shift()).scope.$eval(x.expression,x.locals)}catch(e){a(e)}n=null}e:do{if(u=y.$$watchers)for(c=u.length;c--;)try{if(r=u[c])if((o=r.get(y))===(s=r.last)||(r.eq?ie(o,s):"number"==typeof o&&"number"==typeof s&&isNaN(o)&&isNaN(s))){if(r===n){p=!1;break e}}else p=!0,n=r,r.last=r.eq?ne(o,null):o,r.fn(o,s===$?o:s,y),_<5&&(C[w=4-_]||(C[w]=[]),C[w].push({msg:B(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,newVal:o,oldVal:s}))}catch(e){a(e)}if(!(v=y.$$watchersCount&&y.$$childHead||y!==this&&y.$$nextSibling))for(;y!==this&&!(v=y.$$nextSibling);)y=y.$parent}while(y=v);if((p||d.length)&&!_--)throw g(),t("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",e,C)}while(p||d.length);for(g();h.length;)try{h.shift()()}catch(e){a(e)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===f&&l.$$applicationDestroyed(),v(this,-this.$$watchersCount),this.$$listenerCount)y(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$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=A,this.$on=this.$watch=this.$watchGroup=function(){return A},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}},$eval:function(e,t){return o(e)(this,t)},$evalAsync:function(e,t){f.$$phase||d.length||l.defer(function(){d.length&&f.$digest()}),d.push({scope:this,expression:e,locals:t})},$$postDigest:function(e){h.push(e)},$apply:function(e){try{return m("$apply"),this.$eval(e)}catch(e){a(e)}finally{g();try{f.$digest()}catch(e){throw a(e),e}}},$applyAsync:function(e){var t=this;e&&p.push(function(){t.$eval(e)}),null===i&&(i=l.defer(function(){f.$apply(b)}))},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do{r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++}while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,y(i,1,e))}},$emit:function(e,t){var n,r,i,o=[],s=this,l=!1,u={name:e,targetScope:s,stopPropagation:function(){l=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},c=se([u],arguments,1);do{for(n=s.$$listeners[e]||o,u.currentScope=s,r=0,i=n.length;r<i;r++)if(n[r])try{n[r].apply(null,c)}catch(e){a(e)}else n.splice(r,1),r--,i--;if(l)return u.currentScope=null,u;s=s.$parent}while(s);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])return i;
9for(var o,s,l,u=se([i],arguments,1);n=r;){for(i.currentScope=n,s=0,l=(o=n.$$listeners[e]||[]).length;s<l;s++)if(o[s])try{o[s].apply(null,u)}catch(e){a(e)}else o.splice(s,1),s--,l--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return i.currentScope=null,i}};var f=new c,d=f.$$asyncQueue=[],h=f.$$postDigestQueue=[],p=f.$$applyAsyncQueue=[];return f;function m(e){if(f.$$phase)throw t("inprog","{0} already in progress",f.$$phase);f.$$phase=e}function g(){f.$$phase=null}function v(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function y(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function $(){}function b(){for(;p.length;)try{p.shift()()}catch(e){a(e)}i=null}}]}function Cr(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return j(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return j(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,a=r?t:e;return""===(i=jr(n).href)||i.match(a)?n:"unsafe:"+i}}}var kr=r("$sce"),Dr={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function Sr(e){var t=[];return j(e)&&x(e,function(e){t.push(function(e){if("self"===e)return e;if(F(e)){if(e.indexOf("***")>-1)throw kr("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Z(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(V(e))return new RegExp("^"+e.source+"$");throw kr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))}),t}function Tr(){this.SCE_CONTEXTS=Dr;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Sr(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Sr(e)),t},this.$get=["$injector",function(r){var i=function(e){throw kr("unsafe","Attempting to use an unsafe value in a safe context.")};function a(e,t){return"self"===e?Nr(t):!!e.exec(t.href)}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}r.has("$sanitize")&&(i=r.get("$sanitize"));var s=o(),l={};return l[Dr.HTML]=o(s),l[Dr.CSS]=o(s),l[Dr.URL]=o(s),l[Dr.JS]=o(s),l[Dr.RESOURCE_URL]=o(l[Dr.URL]),{trustAs:function(e,t){var r=l.hasOwnProperty(e)?l[e]:null;if(!r)throw kr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||t===n||""===t)return t;if("string"!=typeof t)throw kr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new r(t)},getTrusted:function(r,o){if(null===o||o===n||""===o)return o;var s=l.hasOwnProperty(r)?l[r]:null;if(s&&o instanceof s)return o.$$unwrapTrustedValue();if(r===Dr.RESOURCE_URL){if(function(n){var r,i,o=jr(n.toString()),s=!1;for(r=0,i=e.length;r<i;r++)if(a(e[r],o)){s=!0;break}if(s)for(r=0,i=t.length;r<i;r++)if(a(t[r],o)){s=!1;break}return s}(o))return o;throw kr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",o.toString())}if(r===Dr.HTML)return i(o);throw kr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof s?e.$$unwrapTrustedValue():e}}}]}function Er(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&u<8)throw kr("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 r=re(Dr);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=I),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return x(Dr,function(e,t){var n=o(t);r[Qe("parse_as_"+n)]=function(t){return i(e,t)},r[Qe("get_trusted_"+n)]=function(t){return a(e,t)},r[Qe("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Or(){this.$get=["$window","$document",function(e,t){var n,r,i={},a=O((/android (\d+)/.exec(o((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,f=l.body&&l.body.style,d=!1,h=!1;if(f){for(var p in f)if(r=c.exec(p)){n=(n=r[0]).substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in f&&"webkit"),d=!!("transition"in f||n+"Transition"in f),h=!!("animation"in f||n+"Animation"in f),!a||d&&h||(d=F(f.webkitTransition),h=F(f.
9webkitAnimation))}return{history:!(!e.history||!e.history.pushState||a<4||s),hasEvent:function(e){if("input"===e&&u<=11)return!1;if(R(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:ae(),vendorPrefix:n,transitions:d,animations:h,android:a}}]}function Mr(){this.$get=["$templateCache","$http","$q",function(e,t,n){function r(i,a){r.totalPendingRequests++;var o=t.defaults&&t.defaults.transformResponse;q(o)?o=o.filter(function(e){return e!==mn}):o===mn&&(o=null);var s={cache:e,transformResponse:o};return t.get(i,s).finally(function(){r.totalPendingRequests--}).then(function(t){return e.put(i,t.data),t.data},function(e){if(!a)throw Xt("tpload","Failed to load template: {0} (HTTP status: {1} {2})",i,e.status,e.statusText);return n.reject(e)})}return r.totalPendingRequests=0,r}]}function Ar(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={findBindings:function(e,t,n){var r=[];return x(e.getElementsByClassName("ng-binding"),function(e){var i=$.element(e).data("$binding");i&&x(i,function(i){n?new RegExp("(^|\\s)"+Z(t)+"(\\s|\\||$)").test(i)&&r.push(e):-1!=i.indexOf(t)&&r.push(e)})}),r},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var a="["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]',o=e.querySelectorAll(a);if(o.length)return o}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}};return r}]}function Ir(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){var a={};function o(o,s,l){B(o)||(l=s,s=o,o=A);var u,c=le(arguments,3),f=j(l)&&!l,d=(f?r:n).defer(),h=d.promise;return u=t.defer(function(){try{d.resolve(o.apply(null,c))}catch(e){d.reject(e),i(e)}finally{delete a[h.$$timeoutId]}f||e.$apply()},s),h.$$timeoutId=u,a[u]=d,h}return o.cancel=function(e){return!!(e&&e.$$timeoutId in a)&&(a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId))},o}]}Xt=r("$compile");var Pr=t.createElement("a"),Rr=jr(e.location.href);function jr(e){var t=e;return u&&(Pr.setAttribute("href",t),t=Pr.href),Pr.setAttribute("href",t),{href:Pr.href,protocol:Pr.protocol?Pr.protocol.replace(/:$/,""):"",host:Pr.host,search:Pr.search?Pr.search.replace(/^\?/,""):"",hash:Pr.hash?Pr.hash.replace(/^#/,""):"",hostname:Pr.hostname,port:Pr.port,pathname:"/"===Pr.pathname.charAt(0)?Pr.pathname:"/"+Pr.pathname}}function Nr(e){var t=F(e)?jr(e):e;return t.protocol===Rr.protocol&&t.host===Rr.host}function Lr(){this.$get=P(e)}function Fr(e){var t=e[0]||{},r={},i="";function a(e){try{return decodeURIComponent(e)}catch(t){return e}}return function(){var e,o,s,l,u,c=t.cookie||"";if(c!==i)for(e=(i=c).split("; "),r={},s=0;s<e.length;s++)(l=(o=e[s]).indexOf("="))>0&&(u=a(o.substring(0,l)),r[u]===n&&(r[u]=a(o.substring(l+1))));return r}}function Ur(){this.$get=Fr}function Hr(e){var t="Filter";function n(r,i){if(N(r)){var a={};return x(r,function(e,t){a[t]=n(t,e)}),a}return e.factory(r+t,i)}this.register=n,this.$get=["$injector",function(e){return function(n){return e.get(n+t)}}],n("currency",Yr),n("date",ii),n("filter",qr),n("json",ai),n("limitTo",li),n("lowercase",oi),n("number",Wr),n("orderBy",ui),n("uppercase",si)}function qr(){return function(e,t,n){if(!w(e)){if(null==e)return e;throw r("filter")("notarray","Expected array but received: {0}",e)}var i,a;switch(Vr(t)){case"function":i=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":i=function(e,t,n){var r=N(e)&&"$"in e;return!0===t?t=ie:B(t)||(t=function(e,t){return!(R(e)||(null===e||null===t?e!==t:N(t)||N(e)&&(!B((n=e).toString)||n.toString===Object.prototype.toString)||(e=o(""+e),t=o(""+t),-1===e.indexOf(t))));var n}),function(i){return r&&!N(i)?Br(i,e.$,t,!1):Br(i,e,t,n)}}(t,n,a);break;default:return e}return Array.prototype.filter.call(e,i)}}function Br(e,t,n,r,i){var a=Vr(e),o=Vr(t);if("string"===o&&"!"===t.charAt(0))return!Br(e,t.substring(1),n,r);if(q(e))return e.some(function(e){return Br(e,t,n,r)});switch(a){case"object":var s;
9if(r){for(s in e)if("$"!==s.charAt(0)&&Br(e[s],t,n,!0))return!0;return!i&&Br(e,t,n,!1)}if("object"===o){for(s in t){var l=t[s];if(!B(l)&&!R(l)){var u="$"===s;if(!Br(u?e:e[s],l,n,u,u))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Vr(e){return null===e?"null":typeof e}function Yr(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return R(n)&&(n=t.CURRENCY_SYM),R(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gr(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Wr(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Gr(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}Fr.$inject=["$document"],Hr.$inject=["$provide"],Yr.$inject=["$locale"],Wr.$inject=["$locale"];var zr=".";function Gr(e,t,n,r,i){if(N(e))return"";var a=e<0,o=(e=Math.abs(e))===1/0;if(!o&&!isFinite(e))return"";var s=e+"",l="",u=!1,c=[];if(o&&(l="â"),!o&&-1!==s.indexOf("e")){var f=s.match(/([\d\.]+)e(-?)(\d+)/);f&&"-"==f[2]&&f[3]>i+1?e=0:(l=s,u=!0)}if(o||u)i>0&&e<1&&(l=e.toFixed(i),e=parseFloat(l));else{var d=(s.split(zr)[1]||"").length;R(i)&&(i=Math.min(Math.max(t.minFrac,d),t.maxFrac));var h=(""+(e=+(Math.round(+(e.toString()+"e"+i)).toString()+"e"+-i))).split(zr),p=h[0];h=h[1]||"";var m,g=0,v=t.lgSize,y=t.gSize;if(p.length>=v+y)for(g=p.length-v,m=0;m<g;m++)(g-m)%y==0&&0!==m&&(l+=n),l+=p.charAt(m);for(m=g;m<p.length;m++)(p.length-m)%v==0&&0!==m&&(l+=n),l+=p.charAt(m);for(;h.length<i;)h+="0";i&&"0"!==i&&(l+=r+h.substr(0,i))}return 0===e&&(a=!1),c.push(a?t.negPre:t.posPre,l,a?t.negSuf:t.posSuf),c.join("")}function Xr(e,t,n){var r="";for(e<0&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function Jr(e,t,n,r){return n=n||0,function(i){var a=i["get"+e]();return(n>0||a>-n)&&(a+=n),0===a&&-12==n&&(a=12),Xr(a,t,r)}}function Qr(e,t){return function(n,r){var i=n["get"+e]();return r[l(t?"SHORT"+e:e)][i]}}function Zr(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function Kr(e){return function(t){var n,r=Zr(t.getFullYear()),i=(n=t,+new Date(n.getFullYear(),n.getMonth(),n.getDate()+(4-n.getDay()))-+r);return Xr(1+Math.round(i/6048e5),e)}}function ei(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}var ti={yyyy:Jr("FullYear",4),yy:Jr("FullYear",2,0,!0),y:Jr("FullYear",1),MMMM:Qr("Month"),MMM:Qr("Month",!0),MM:Jr("Month",2,1),M:Jr("Month",1,1),dd:Jr("Date",2),d:Jr("Date",1),HH:Jr("Hours",2),H:Jr("Hours",1),hh:Jr("Hours",2,-12),h:Jr("Hours",1,-12),mm:Jr("Minutes",2),m:Jr("Minutes",1),ss:Jr("Seconds",2),s:Jr("Seconds",1),sss:Jr("Milliseconds",3),EEEE:Qr("Day"),EEE:Qr("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Xr(Math[r>0?"floor":"ceil"](r/60),2)+Xr(Math.abs(r%60),2)},ww:Kr(2),w:Kr(1),G:ei,GG:ei,GGG:ei,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},ni=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,ri=/^\-?\d+$/;function ii(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var a,o,s="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,F(n)&&(n=ri.test(n)?O(n):function(e){var n;if(n=e.match(t)){var r=new Date(0),i=0,a=0,o=n[8]?r.setUTCFullYear:r.setFullYear,s=n[8]?r.setUTCHours:r.setHours;n[9]&&(i=O(n[9]+n[10]),a=O(n[9]+n[11])),o.call(r,O(n[1]),O(n[2])-1,O(n[3]));var l=O(n[4]||0)-i,u=O(n[5]||0)-a,c=O(n[6]||0),f=Math.round(1e3*parseFloat("0."+(n[7]||0)));return s.call(r,l,u,c,f),r}return e}(n)),U(n)&&(n=new Date(n)),!H(n)||!isFinite(n.getTime()))return n;for(;r;)(o=ni.exec(r))?r=(l=se(l,o,1)).pop():(l.push(r),r=null);var u=n.getTimezoneOffset();return i&&(u=he(i,n.getTimezoneOffset()),n=pe(n,i,!0)),x(l,function(t){a=ti[t],s+=a?a(n,e.DATETIME_FORMATS,u):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),s}}function ai(){return function(e,t){return R(t)&&(t=2),fe(e,t)}}ii.$inject=["$locale"];var oi=P(o),si=P(l);function li(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):O(t),isNaN(t)?e:(U(e)&&(e=e.toString()),q(e)||F(e)?(n=(n=!n||isNaN(n)?0:O(n))<0&&n>=-e.length?e.length+n:n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ui(e){return function(t,n,r){return w(t)?(0===(n=q(n)?n:[n]).length&&(n=["+"]),n=n.map(function(t){var n=!1,r=t||I;if(F(t)){if("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(n="-"==t.charAt(0),t=t.substring(1)),""===t)return i(s,n);
9if((r=e(t)).constant){var a=r();return i(function(e,t){return s(e[a],t[a])},n)}}return i(function(e,t){return s(r(e),r(t))},n)}),h.call(t).sort(i(function(e,t){for(var r=0;r<n.length;r++){var i=n[r](e,t);if(0!==i)return i}return 0},r))):t;function i(e,t){return t?function(t,n){return e(n,t)}:e}function a(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return null===e?"null":"function"==typeof e.valueOf&&a(e=e.valueOf())?e:"function"==typeof e.toString&&a(e=e.toString())?e:""}function s(e,t){var n=typeof e,r=typeof t;return n===r&&"object"===n&&(e=o(e),t=o(t)),n===r?("string"===n&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:e<t?-1:1):n<r?-1:1}}}function ci(e){return B(e)&&(e={link:e}),e.restrict=e.restrict||"AC",P(e)}ui.$inject=["$parse"];var fi=P({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===g.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),di={};x(xt,function(e,t){if("multiple"!=e){var n=Zt("ng-"+t),r=i;"checked"===e&&(r=function(e,t,r){r.ngModel!==r[n]&&i(e,0,r)}),di[n]=function(){return{restrict:"A",priority:100,link:r}}}function i(e,r,i){e.$watch(i[n],function(e){i.$set(t,!!e)})}}),x(Ct,function(e,t){di[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var a=r.ngPattern.match(i);if(a)return void r.$set("ngPattern",new RegExp(a[1],a[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),x(["src","srcset","href"],function(e){var t=Zt("ng-"+e);di[t]=function(){return{priority:99,link:function(n,r,i){var a=e,o=e;"href"===e&&"[object SVGAnimatedString]"===g.call(r.prop("href"))&&(o="xlinkHref",i.$attr[o]="xlink:href",a=null),i.$observe(t,function(t){t?(i.$set(o,t),u&&a&&r.prop(a,i[o])):"href"===e&&i.$set(o,null)})}}}});var hi={$addControl:A,$$renameControl:function(e,t){e.$name=t},$removeControl:A,$setValidity:A,$setDirty:A,$setPristine:A,$setSubmitted:A},pi="ng-submitted";function mi(e,t,r,i,a){var o=this,s=[],l=o.$$parentForm=e.parent().controller("form")||hi;o.$error={},o.$$success={},o.$pending=n,o.$name=a(t.name||t.ngForm||"")(r),o.$dirty=!1,o.$pristine=!0,o.$valid=!0,o.$invalid=!1,o.$submitted=!1,l.$addControl(o),o.$rollbackViewValue=function(){x(s,function(e){e.$rollbackViewValue()})},o.$commitViewValue=function(){x(s,function(e){e.$commitViewValue()})},o.$addControl=function(e){Ae(e.$name,"input"),s.push(e),e.$name&&(o[e.$name]=e)},o.$$renameControl=function(e,t){var n=e.$name;o[n]===e&&delete o[n],o[t]=e,e.$name=t},o.$removeControl=function(e){e.$name&&o[e.$name]===e&&delete o[e.$name],x(o.$pending,function(t,n){o.$setValidity(n,null,e)}),x(o.$error,function(t,n){o.$setValidity(n,null,e)}),x(o.$$success,function(t,n){o.$setValidity(n,null,e)}),te(s,e)},fa({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&&(te(r,n),0===r.length&&delete e[t])},parentForm:l,$animate:i}),o.$setDirty=function(){i.removeClass(e,ra),i.addClass(e,ia),o.$dirty=!0,o.$pristine=!1,l.$setDirty()},o.$setPristine=function(){i.setClass(e,ra,ia+" "+pi),o.$dirty=!1,o.$pristine=!0,o.$submitted=!1,x(s,function(e){e.$setPristine()})},o.$setUntouched=function(){x(s,function(e){e.$setUntouched()})},o.$setSubmitted=function(){i.addClass(e,pi),o.$submitted=!0,l.$setSubmitted()}}mi.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var gi=function(e){return["$timeout",function(t){return{name:"form",restrict:e?"EAC":"E",controller:mi,compile:function(r,i){r.addClass(ra).addClass(ta);var a=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,r,i,o){if(!("action"in i)){var s=function(t){e.$apply(function(){o.$commitViewValue(),o.$setSubmitted()}),t.preventDefault()};Ye(r[0],"submit",s),r.on("$destroy",function(){t(function(){We(r[0],"submit",s)},0,!1)})}var l=o.$$parentForm;a&&(pr(e,o.$name,o,o.$name),i.$observe(a,function(t){o.$name!==t&&(pr(e,o.$name,n,o.$name),l.$$renameControl(o,t),pr(e,o.$name,o,o.$name))})),r.on("$destroy",function(){l.$removeControl(o),a&&pr(e,i[a],n,o.$name),T(o,hi)})}}}}}]},vi=gi(),yi=gi(!0),$i=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,bi=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,wi=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,xi=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,_i=/^(\d{4})-(\d{2})-(\d{2})$/,Ci=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ki=/^(\d{4})-W(\d\d)$/,Di=/^(\d{4})-(\d\d)$/,Si=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Ti={text:function(e,t,n,r,i,a){Oi(0,t,n,r,i,a),Ei(r)},date:Ai("date",_i,Mi(_i,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Ai("datetimelocal",Ci,Mi(Ci,["yyyy","MM","dd","HH","mm","ss","
9sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Ai("time",Si,Mi(Si,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Ai("week",ki,function(e,t){if(H(e))return e;if(F(e)){ki.lastIndex=0;var n=ki.exec(e);if(n){var r=+n[1],i=+n[2],a=0,o=0,s=0,l=0,u=Zr(r),c=7*(i-1);return t&&(a=t.getHours(),o=t.getMinutes(),s=t.getSeconds(),l=t.getMilliseconds()),new Date(r,0,u.getDate()+c,a,o,s,l)}}return NaN},"yyyy-Www"),month:Ai("month",Di,Mi(Di,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,r,i,a,o){var s,l;(Ii(0,t,0,i),Oi(0,t,r,i,a,o),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:xi.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!U(e))throw oa("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),j(r.min)||r.ngMin)&&(i.$validators.min=function(e){return i.$isEmpty(e)||R(s)||e>=s},r.$observe("min",function(e){j(e)&&!U(e)&&(e=parseFloat(e,10)),s=U(e)&&!isNaN(e)?e:n,i.$validate()}));(j(r.max)||r.ngMax)&&(i.$validators.max=function(e){return i.$isEmpty(e)||R(l)||e<=l},r.$observe("max",function(e){j(e)&&!U(e)&&(e=parseFloat(e,10)),l=U(e)&&!isNaN(e)?e:n,i.$validate()}))},url:function(e,t,n,r,i,a){Oi(0,t,n,r,i,a),Ei(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||bi.test(n)}},email:function(e,t,n,r,i,a){Oi(0,t,n,r,i,a),Ei(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||wi.test(n)}},radio:function(e,t,n,r){R(n.name)&&t.attr("name",k()),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,a,o,s){var l=Pi(s,e,"ngTrueValue",n.ngTrueValue,!0),u=Pi(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 ie(e,l)}),r.$parsers.push(function(e){return e?l:u})},hidden:A,button:A,submit:A,reset:A,file:A};function Ei(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Oi(e,t,n,r,i,a){var s=o(t[0].type);if(!i.android){var l=!1;t.on("compositionstart",function(e){l=!0}),t.on("compositionend",function(){l=!1,u()})}var u=function(e){if(c&&(a.defer.cancel(c),c=null),!l){var i=t.val(),o=e&&e.type;"password"===s||n.ngTrim&&"false"===n.ngTrim||(i=Q(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,o)}};if(i.hasEvent("input"))t.on("input",u);else{var c,f=function(e,t,n){c||(c=a.defer(function(){c=null,t&&t.value===n||u(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||f(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",f)}t.on("change",u),r.$render=function(){t.val(r.$isEmpty(r.$viewValue)?"":r.$viewValue)}}function Mi(e,t){return function(n,r){var i,a;if(H(n))return n;if(F(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),$i.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0}
9,x(i,function(e,n){n<t.length&&(a[t[n]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function Ai(e,t,r,i){return function(a,o,s,l,u,c,f){Ii(0,o,0,l),Oi(0,o,s,l,u,c);var d,h,p,m=l&&l.$options&&l.$options.timezone;function g(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function v(e){return j(e)?H(e)?e:r(e):n}l.$$parserName=e,l.$parsers.push(function(e){if(l.$isEmpty(e))return null;if(t.test(e)){var i=r(e,d);return m&&(i=pe(i,m)),i}return n}),l.$formatters.push(function(e){if(e&&!H(e))throw oa("datefmt","Expected `{0}` to be a date",e);return g(e)?((d=e)&&m&&(d=pe(d,m,!0)),f("date")(e,i,m)):(d=null,"")}),(j(s.min)||s.ngMin)&&(l.$validators.min=function(e){return!g(e)||R(h)||r(e)>=h},s.$observe("min",function(e){h=v(e),l.$validate()})),(j(s.max)||s.ngMax)&&(l.$validators.max=function(e){return!g(e)||R(p)||r(e)<=p},s.$observe("max",function(e){p=v(e),l.$validate()}))}}function Ii(e,t,r,i){var o=t[0];(i.$$hasNativeValidators=N(o.validity))&&i.$parsers.push(function(e){var r=t.prop(a)||{};return r.badInput&&!r.typeMismatch?n:e})}function Pi(e,t,n,i,a){var o;if(j(i)){if(!(o=e(i)).constant)throw r("ngModel")("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,i);return o(t)}return a}var Ri=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,a,s,l){l[0]&&(Ti[o(s.type)]||Ti.text)(i,a,s,l[0],t,e,n,r)}}}}],ji=/^(true|false|\d+)$/,Ni=function(){return{restrict:"A",priority:100,compile:function(e,t){return ji.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)})}}}},Li=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,r,i){e.$$addBindingInfo(r,i.ngBind),r=r[0],t.$watch(i.ngBind,function(e){r.textContent=e===n?"":e})}}}}],Fi=["$interpolate","$compile",function(e,t){return{compile:function(r){return t.$$addBindingClass(r),function(r,i,a){var o=e(i.attr(a.$attr.ngBindTemplate));t.$$addBindingInfo(i,o.expressions),i=i[0],a.$observe("ngBindTemplate",function(e){i.textContent=e===n?"":e})}}}}],Ui=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var a=t(i.ngBindHtml),o=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(o,function(){r.html(e.getTrustedHtml(a(t))||"")})}}}}],Hi=P({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function qi(e,t){return e="ngClass"+e,["$animate",function(n){return{restrict:"AC",link:function(a,o,s){var l;function u(e){var t=c(e,1);s.$addClass(t)}function c(e,t){var n=o.data("$classCounts")||Re(),r=[];return x(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),o.data("$classCounts",n),r.join(" ")}function f(e){if(!0===t||a.$index%2===t){var s=i(e||[]);l?ie(e,l)||function(e,t){var i=r(t,e),a=r(e,t);i=c(i,1),a=c(a,-1),i&&i.length&&n.addClass(o,i),a&&a.length&&n.removeClass(o,a)}(i(l),s):u(s)}l=re(e)}a.$watch(s[e],f,!0),s.$observe("class",function(t){f(a.$eval(s[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var l=i(a.$eval(s[e]));o===t?u(l):function(e){var t=c(e,-1);s.$removeClass(t)}(l)}})}};function r(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],a=0;a<t.length;a++)if(i==t[a])continue e;n.push(i)}return n}function i(e){var t=[];return q(e)?(x(e,function(e){t=t.concat(i(e))}),t):F(e)?e.split(" "):N(e)?(x(e,function(e,n){e&&(t=t.concat(n.split(" ")))}),t):e}}]}var Bi=qi("",!0),Vi=qi("Odd",0),Yi=qi("Even",1),Wi=ci({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),zi=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Gi={},Xi={blur:!0,focus:!0};x("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Zt("ng-"+e);Gi[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,a){var o=n(a[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){o(t,{$event:n})};Xi[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var Ji=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,a,o){var s,l,u;n.$watch(i.ngIf,function(n){n?l||o(function(n,a){l=a,n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)}):(u&&(u.remove(),u=null),l&&(l.$destroy(),l=null),s&&(u=Pe(s.clone),e.leave(u).then(function(){u=null}),s=null))})}}}],Qi=["$templateRequest","$anchorScroll","$animate","$sce",function(e,t,n,r){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:$.noop,compile:function(i,a){var o=a.ngInclude||a.src,s=a.onload||"",l=a.autoscroll;return function(i,a,u,c,f){var d,h,p,m=0,g=function(){h&&(h.remove(),h=null),d&&(d.$destroy(),d=null),p&&(n.leave(p).then(function(){h=null}),h=p,p=null)};i.$watch(r.parseAsResourceUrl(o),function(r){var o=function(){!j(l)||l&&!i.$eval(l)||t()},u=++m;r?(e(r,!0).then(function(e){if(u===m){var t=i.$new();c.template=e;var l=f(t,function(e){g(),n.enter(e,null,a).then(o)});p=l,(d=t).$emit("$includeContentLoaded",r),i.$eval(s)}},function(){u===m&&(g(),i.$emit("$includeContentError",r))}),i.$emit("$includeContentRequested",r)):(g(),c.template=null)})}}}}],Zi=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,a){if(
9/SVG/.test(r[0].toString()))return r.empty(),void e(at(a.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(a.template),e(r.contents())(n)}}}],Ki=ci({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),ea=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var a=t.attr(r.$attr.ngList)||", ",o="false"!==r.ngTrim,s=o?Q(a):a;i.$parsers.push(function(e){if(!R(e)){var t=[];return e&&x(e.split(s),function(e){e&&t.push(o?Q(e):e)}),t}}),i.$formatters.push(function(e){return q(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},ta="ng-valid",na="ng-invalid",ra="ng-pristine",ia="ng-dirty",aa="ng-pending",oa=new r("ngModel"),sa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,a,o,s,l,u,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,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=n,this.$name=c(r.name||"",!1)(e);var f,d=a(r.ngModel),h=d.assign,p=d,m=h,g=null,v=this;this.$$setOptions=function(e){if(v.$options=e,e&&e.getterSetter){var t=a(r.ngModel+"()"),n=a(r.ngModel+"($$$p)");p=function(e){var n=d(e);return B(n)&&(n=t(e)),n},m=function(e,t){B(d(e))?n(e,{$$$p:v.$modelValue}):h(e,v.$modelValue)}}else if(!d.assign)throw oa("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,me(i))},this.$render=A,this.$isEmpty=function(e){return R(e)||""===e||null===e||e!=e};var y=i.inheritedData("$formController")||hi,$=0;fa({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},parentForm:y,$animate:o}),this.$setPristine=function(){v.$dirty=!1,v.$pristine=!0,o.removeClass(i,ia),o.addClass(i,ra)},this.$setDirty=function(){v.$dirty=!0,v.$pristine=!1,o.removeClass(i,ra),o.addClass(i,ia),y.$setDirty()},this.$setUntouched=function(){v.$touched=!1,v.$untouched=!0,o.setClass(i,"ng-untouched","ng-touched")},this.$setTouched=function(){v.$touched=!0,v.$untouched=!1,o.setClass(i,"ng-touched","ng-untouched")},this.$rollbackViewValue=function(){s.cancel(g),v.$viewValue=v.$$lastCommittedViewValue,v.$render()},this.$validate=function(){if(!U(v.$modelValue)||!isNaN(v.$modelValue)){var e=v.$$lastCommittedViewValue,t=v.$$rawModelValue,r=v.$valid,i=v.$modelValue,a=v.$options&&v.$options.allowInvalid;v.$$runValidators(t,e,function(e){a||r===e||(v.$modelValue=e?t:n,v.$modelValue!==i&&v.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){var i,a,o,s,l=++$;function c(e,t){l===$&&v.$setValidity(e,t)}function d(e){l===$&&r(e)}s=v.$$parserName||"parse",(f!==n?(f||(x(v.$validators,function(e,t){c(t,null)}),x(v.$asyncValidators,function(e,t){c(t,null)})),c(s,f),f):(c(s,null),1))?(o=!0,x(v.$validators,function(n,r){var i=n(e,t);o=o&&i,c(r,i)}),!o&&(x(v.$asyncValidators,function(e,t){c(t,null)}),1)?d(!1):(i=[],a=!0,x(v.$asyncValidators,function(r,o){var s=r(e,t);if(!G(s))throw oa("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",s);c(o,n),i.push(s.then(function(){c(o,!0)},function(e){a=!1,c(o,!1)}))}),i.length?u.all(i).then(function(){d(a)},A):d(!0))):d(!1)},this.$commitViewValue=function(){var e=v.$viewValue;s.cancel(g),(v.$$lastCommittedViewValue!==e||""===e&&v.$$hasNativeValidators)&&(v.$$lastCommittedViewValue=e,v.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var t=v.$$lastCommittedViewValue;if(f=!R(t)||n)for(var r=0;r<v.$parsers.length;r++)if(R(t=v.$parsers[r](t))){f=!1;break}U(v.$modelValue)&&isNaN(v.$modelValue)&&(v.$modelValue=p(e));var i=v.$modelValue,a=v.$options&&v.$options.allowInvalid;function o(){v.$modelValue!==i&&v.$$writeModelToScope()}v.$$rawModelValue=t,a&&(v.$modelValue=t,o()),v.$$runValidators(t,v.$$lastCommittedViewValue,function(e){a||(v.$modelValue=e?t:n,o())})},this.$$writeModelToScope=function(){m(e,v.$modelValue),x(v.$viewChangeListeners,function(e){try{e()}catch(e){t(e)}})},this.$setViewValue=function(e,t){v.$viewValue=e,v.$options&&!v.$options.updateOnDefault||v.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(t){var n,r=0,i=v.$options;i&&j(i.debounce)&&(U(n=i.debounce)?r=n:U(n[t])?r=n[t]:U(n.default)&&(r=n.default)),s.cancel(g),r?g=s(function(){v.$commitViewValue()},r):l.$$phase?v.$commitViewValue():e.$apply(function(){v.$commitViewValue()})},e.$watch(function(){var t=p(e);if(t!==v.$modelValue&&(v.$modelValue==v.$modelValue||t==t)){v.$modelValue=v.$$rawModelValue=t,f=n;for(var r=v.$formatters,i=r.length,a=t;i--;)a=r[i](a);v.$viewValue!==a&&(v.$viewValue=v.$$lastCommittedViewValue=a,v.$render(),v.$$runValidators(t,a,A))}return t})}],la=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:sa,priority:1,compile:function(t){return t.addClass(ra).addClass("ng-untouched").addClass(ta),{pre:function(e,t,n,r){var i=r[0],a=r[1]||hi;i.$$setOptions(r[2]&&r[2].$options),a.$addControl(i),n.$observe("name",function(e){i.$name!==e&&a.$$renameControl(i,e)}),e.$on("$destroy",function(){a.$removeControl(i)})},post:function(t,n,r,i){var a=i[0];a.$options&&a.$options.updateOn&&n.on(a.$options.updateOn,function(e){a.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(n){a.$touched||(e.$$phase?t.$evalAsync(a.$setTouched):t.$apply(a.$setTouched))})}}}}}],ua=/(\s+|^)default(\s+|$)/,ca=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var r=this;this.$options=ne(e.$eval(t.ngModelOptions)),this.$options.updateOn!==n?(this.$options.updateOnDefault=!1,this.$options.updateOn=Q(this.$options.updateOn.replace(ua,function(){return r.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}};function fa(e){var t=e.ctrl,r=e.$element,i={},a=e.set,o=e.unset,s=e.parentForm,l=e.$animate;function u(e,t){t&&!i[e]?(l.addClass(r,e),i[e]=!0):!t&&i[e]&&(l.removeClass(r,e),i[e]=!1)}function c(e,t){e=e?"-"+Se(e,"-"):"",u(ta+e,!0===t),u(na+e,!1===t)}i[na]=!(i[ta]=r.hasClass(ta)),t.$setValidity=function(e,r,i){var l;r===n?function(e,n,r){t[e]||(t[e]={}),a(t[e],n,r)}("$pending",e,i):function(e,r,i){t[e]&&o(t[e],r,i),da(t[e])&&(t[e]=n)}("$pending",e,i),z(r)?r?(o(t.$error,e,i),a(t.$$success,e,i)):(a(t.$error,e,i),o(t.$$success,e,i)):(o(t.$error,e,i),o(t.$$success,e,i)),t.$pen
9ding?(u(aa,!0),t.$valid=t.$invalid=n,c("",null)):(u(aa,!1),t.$valid=da(t.$error),t.$invalid=!t.$valid,c("",t.$valid)),l=t.$pending&&t.$pending[e]?n:!t.$error[e]&&(!!t.$$success[e]||null),c(e,l),s.$setValidity(e,l,t)}}function da(e){if(e)for(var t in e)return!1;return!0}var ha=ci({terminal:!0,priority:1e3}),pa=r("ngOptions"),ma=/^\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]+?))?$/,ga=["$compile","$parse",function(e,n){var r=t.createElement("option"),i=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","?ngModel"],link:function(t,a,s,l){var u=l[1];if(u){for(var f,d=l[0],h=s.multiple,p=0,m=a.children(),g=m.length;p<g;p++)if(""===m[p].value){f=m.eq(p);break}var v,y=!!f,b=c(r.cloneNode(!1));b.val("?");var _=function(e,t,r){var i=e.match(ma);if(!i)throw pa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,me(t));var a=i[5]||i[7],o=i[6],s=/ as /.test(i[0])&&i[1],l=i[9],u=n(i[2]?i[1]:a),c=s&&n(s)||u,f=l&&n(l),d=l?function(e,t){return f(r,t)}:function(e){return St(e)},h=function(e,t){return d(e,b(e,t))},p=n(i[2]||i[1]),m=n(i[3]||""),g=n(i[4]||""),v=n(i[8]),y={},b=o?function(e,t){return y[o]=t,y[a]=e,y}:function(e){return y[a]=e,y};function x(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}return{trackBy:l,getTrackByValue:h,getWatchables:n(v,function(e){var t=[];return e=e||[],Object.keys(e).forEach(function(n){var a=b(e[n],n),o=d(e[n],a);if(t.push(o),i[2]||i[1]){var s=p(r,a);t.push(s)}if(i[4]){var l=g(r,a);t.push(l)}}),t}),getOptions:function(){var e,t=[],n={},i=v(r)||[];if(!o&&w(i))e=i;else for(var a in e=[],i)i.hasOwnProperty(a)&&"$"!==a.charAt(0)&&e.push(a);for(var s=e.length,u=0;u<s;u++){var f=i===e?u:e[u],y=i[f],_=b(y,f),C=c(r,_),k=d(C,_),D=new x(k,C,p(r,_),m(r,_),g(r,_));t.push(D),n[k]=D}return{items:t,selectValueMap:n,getOptionFromViewValue:function(e){return n[h(e)]},getViewValueFromOption:function(e){return l?$.copy(e.viewValue):e.viewValue}}}}}(s.ngOptions,a,t),C=function(){y||f.remove()},k=function(){b.remove()};h?(u.$isEmpty=function(e){return!e||0===e.length},d.writeValue=function(e){v.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=v.getOptionFromViewValue(e);t&&!t.disabled&&(t.element.selected=!0)})},d.readValue=function(){var e=[];return x(a.val()||[],function(t){var n=v.selectValueMap[t];n.disabled||e.push(v.getViewValueFromOption(n))}),e},_.trackBy&&t.$watchCollection(function(){if(q(u.$viewValue))return u.$viewValue.map(function(e){return _.getTrackByValue(e)})},function(){u.$render()})):(d.writeValue=function(e){var t=v.getOptionFromViewValue(e);t&&!t.disabled?a[0].value!==t.selectValue&&(k(),C(),a[0].value=t.selectValue,t.element.selected=!0,t.element.setAttribute("selected","selected")):null===e||y?(k(),y||a.prepend(f),a.val(""),f.prop("selected",!0),f.attr("selected",!0)):(C(),a.prepend(b),a.val("?"),b.prop("selected",!0),b.attr("selected",!0))},d.readValue=function(){var e=v.selectValueMap[a.val()];return e&&!e.disabled?(C(),k(),v.getViewValueFromOption(e)):null},_.trackBy&&t.$watch(function(){return _.getTrackByValue(u.$viewValue)},function(){u.$render()})),y?(f.remove(),e(f)(t),f.removeClass("ng-scope")):f=c(r.cloneNode(!1)),E(),t.$watchCollection(_.getWatchables,E)}function D(e,t){e.element=t,t.disabled=e.disabled,e.value!==t.value&&(t.value=e.selectValue),e.label!==t.label&&(t.label=e.label,t.textContent=e.label)}function S(e,t,n,r){var i;return t&&o(t.nodeName)===n?i=t:(i=r.cloneNode(!1),t?e.insertBefore(i,t):e.appendChild(i)),i}function T(e){for(var t;e;)t=e.nextSibling,bt(e),e=t}function E(){var e=v&&d.readValue();v=_.getOptions();var t={},n=a[0].firstChild;if(y&&a.prepend(f),n=function(e){var t=f&&f[0],n=b&&b[0];if(t||n)for(;e&&(e===t||e===n);)e=e.nextSibling;return e}(n),v.items.forEach(function(e){var o,s,l;e.group?((o=t[e.group])||(s=S(a[0],n,"optgroup",i),n=s.nextSibling,s.label=e.group,o=t[e.group]={groupElement:s,currentOptionElement:s.firstChild}),D(e,l=S(o.groupElement,o.currentOptionElement,"option",r)),o.currentOptionElement=l.nextSibling):(D(e,l=S(a[0],n,"option",r)),n=l.nextSibling)}),Object.keys(t).forEach(function(e){T(t[e].currentOptionElement)}),T(n),u.$render(),!u.$isEmpty(e)){var o=d.readValue();(_.trackBy&&!ie(e,o)||e!==o)&&(u.$setViewValue(o),u.$render())}}}}}
9],va=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,l){var u,c=l.count,f=l.$attr.when&&s.attr(l.$attr.when),d=l.offset||0,h=a.$eval(f)||{},p={},m=t.startSymbol(),g=t.endSymbol(),v=m+c+"-"+d+g,y=$.noop;function b(e){s.text(e||"")}x(l,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+o(n[2]);h[r]=s.attr(l.$attr[t])}}),x(h,function(e,n){p[n]=t(e.replace(r,v))}),a.$watch(c,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in h||(r=e.pluralCat(r-d)),r!==u&&!(i&&U(u)&&isNaN(u))){y();var o=p[r];R(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+f),y=A,b()):y=a.$watch(o,b),u=r}})}}}],ya=["$parse","$animate",function(e,i){var a=r("ngRepeat"),o=function(e,t,n,r,i,a,o){e[n]=r,i&&(e[i]=a),e.$index=t,e.$first=0===t,e.$last=t===o-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},s=function(e){return e.clone[0]},l=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,u){var f=u.ngRepeat,d=t.createComment(" end ngRepeat: "+f+" "),h=f.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!h)throw a("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",f);var p=h[1],m=h[2],g=h[3],v=h[4];if(!(h=p.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/)))throw a("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",p);var y,$,b,_,C=h[3]||h[1],k=h[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw a("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);var D={$id:St};return v?y=e(v):(b=function(e,t){return St(t)},_=function(e){return e}),function(e,t,r,u,h){y&&($=function(t,n,r){return k&&(D[k]=t),D[C]=n,D.$index=r,y(e,D)});var p=Re();e.$watchCollection(m,function(r){var u,m,v,y,D,S,T,E,O,M,A,I,P=t[0],R=Re();if(g&&(e[g]=r),w(r))O=r,E=$||b;else for(var j in E=$||_,O=[],r)r.hasOwnProperty(j)&&"$"!==j.charAt(0)&&O.push(j);for(y=O.length,A=new Array(y),u=0;u<y;u++)if(D=r===O?u:O[u],S=r[D],T=E(D,S,u),p[T])M=p[T],delete p[T],R[T]=M,A[u]=M;else{if(R[T])throw x(A,function(e){e&&e.scope&&(p[e.id]=e)}),a("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",f,T,S);A[u]={id:T,scope:n,clone:n},R[T]=!0}for(var N in p){if(I=Pe((M=p[N]).clone),i.leave(I),I[0].parentNode)for(u=0,m=I.length;u<m;u++)I[u].$$NG_REMOVED=!0;M.scope.$destroy()}for(u=0;u<y;u++)if(D=r===O?u:O[u],S=r[D],(M=A[u]).scope){v=P;do{v=v.nextSibling}while(v&&v.$$NG_REMOVED);s(M)!=v&&i.move(Pe(M.clone),null,c(P)),P=l(M),o(M.scope,u,C,S,k,D,y)}else h(function(e,t){M.scope=t;var n=d.cloneNode(!1);e[e.length++]=n,i.enter(e,null,c(P)),P=n,M.clone=e,R[M.id]=M,o(M.scope,u,C,S,k,D,y)});p=R})}}}}],$a=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],ba=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}
9],wa=ci(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&x(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),xa=["$animate",function(e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var o=i.ngSwitch||i.on,s=[],l=[],u=[],c=[],f=function(e,t){return function(){e.splice(t,1)}};n.$watch(o,function(n){var r,i;for(r=0,i=u.length;r<i;++r)e.cancel(u[r]);for(u.length=0,r=0,i=c.length;r<i;++r){var o=Pe(l[r].clone);c[r].$destroy(),(u[r]=e.leave(o)).then(f(u,r))}l.length=0,c.length=0,(s=a.cases["!"+n]||a.cases["?"])&&x(s,function(n){n.transclude(function(r,i){c.push(i);var a=n.element;r[r.length++]=t.createComment(" end ngSwitchWhen: ");var o={clone:r};l.push(o),e.enter(r,a.parent(),a)})})})}}}],_a=ci({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})}}),Ca=ci({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})}}),ka=ci({restrict:"EAC",link:function(e,t,n,i,a){if(!a)throw r("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",me(t));a(function(e){t.empty(),t.append(e)})}}),Da=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Sa={$setViewValue:A,$render:A},Ta=["$element","$scope","$attrs",function(e,r,i){var a=this,o=new Tt;a.ngModelCtrl=Sa,a.unknownOption=c(t.createElement("option")),a.renderUnknownOption=function(t){var n="? "+St(t)+" ?";a.unknownOption.val(n),e.prepend(a.unknownOption),e.val(n)},r.$on("$destroy",function(){a.renderUnknownOption=A}),a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.readValue=function(){return a.removeUnknownOption(),e.val()},a.writeValue=function(t){a.hasOption(t)?(a.removeUnknownOption(),e.val(t),""===t&&a.emptyOption.prop("selected",!0)):null==t&&a.emptyOption?(a.removeUnknownOption(),e.val("")):a.renderUnknownOption(t)},a.addOption=function(e,t){Ae(e,'"option value"'),""===e&&(a.emptyOption=t);var n=o.get(e)||0;o.put(e,n+1)},a.removeOption=function(e){var t=o.get(e);t&&(1===t?(o.remove(e),""===e&&(a.emptyOption=n)):o.put(e,t-1))},a.hasOption=function(e){return!!o.get(e)}}],Ea=function(){return{restrict:"E",require:["select","?ngModel"],controller:Ta,link:function(e,t,n,r){var i=r[1];if(i){var a=r[0];if(a.ngModelCtrl=i,i.$render=function(){a.writeValue(i.$viewValue)},t.on("change",function(){e.$apply(function(){i.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return x(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Tt(e);x(t.find("option"),function(e){e.selected=j(n.get(e.value))})};var o,s=NaN;e.$watch(function(){s!==i.$viewValue||ie(o,i.$viewValue)||(o=re(i.$viewValue),i.$render()),s=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}}}},Oa=["$interpolate",function(e){function t(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}return{restrict:"E",priority:100,compile:function(n,r){if(R(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var a=n.parent(),o=a.data("$selectController")||a.parent().data("$selectController");o&&o.ngModelCtrl&&(i?e.$watch(i,function(e,i){r.$set("value",e),i!==e&&o.removeOption(i),o.addOption(e,n),o.ngModelCtrl.$render(),t(n)}):(o.addOption(r.value,n),o.ngModelCtrl.$render(),t(n)),n.on("$destroy",function(){o.removeOption(r.value),o.ngModelCtrl.$render()}))}}}}],Ma=P({restrict:"E",terminal:!1}),Aa=function(){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()}))}}},Ia=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,a){if(a){var o,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(F(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,me(t));o=e||n,a.$validate()}),a.$validators.pattern=function(e){return a.$isEmpty(e)||R(o)||o.test(e)}}}}},Pa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=O(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},Ra=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=O(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};e.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):(function(){var t;if(!Ee){var r=oe();f=e.jQuery,j(r)&&(f=null===r?n:e[r]),f&&f.fn.on?(c=f,T(f.fn,{scope:wt.scope,isolateScope:wt.
9isolateScope,controller:wt.controller,injector:wt.injector,inheritedData:wt.inheritedData}),t=f.cleanData,f.cleanData=function(e){var n;if(Te)Te=!1;else for(var r,i=0;null!=(r=e[i]);i++)(n=f._data(r,"events"))&&n.$destroy&&f(r).triggerHandler("$destroy");t(e)}):c=ot,$.element=c,Ee=!0}}(),function(t){T(t,{bootstrap:_e,copy:ne,extend:T,merge:E,equals:ie,element:c,forEach:x,injector:Rt,noop:A,bind:ue,toJson:fe,fromJson:de,identity:I,isUndefined:R,isDefined:j,isString:F,isFunction:B,isObject:N,isNumber:U,isElement:K,isArray:q,version:qe,isDate:H,lowercase:o,uppercase:l,callbacks:{counter:0},getTestability:ke,$$minErr:r,$$csp:ae,reloadWithDebugInfo:Ce}),d=function(e){var t=r("$injector"),n=r("ng");function i(e,t,n){return e[t]||(e[t]=n())}var a=i(e,"angular",Object);return a.$$minErr=a.$$minErr||r,i(a,"module",function(){var e={};return function(r,a,o){return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name",t)}(r,"module"),a&&e.hasOwnProperty(r)&&(e[r]=null),i(e,r,function(){if(!a)throw t("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.",r);var e=[],n=[],i=[],s=u("$injector","invoke","push",n),l={_invokeQueue:e,_configBlocks:n,_runBlocks:i,requires:a,name:r,provider:u("$provide","provider"),factory:u("$provide","factory"),service:u("$provide","service"),value:u("$provide","value"),constant:u("$provide","constant","unshift"),decorator:u("$provide","decorator"),animation:u("$animateProvider","register"),filter:u("$filterProvider","register"),controller:u("$controllerProvider","register"),directive:u("$compileProvider","directive"),config:s,run:function(e){return i.push(e),this}};return o&&s(o),l;function u(t,n,r,i){return i||(i=e),function(){return i[r||"push"]([t,n,arguments]),l}}})}})}(e);try{d("ngLocale")}catch(e){d("ngLocale",[]).provider("$locale",Dn)}d("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Cr}),e.provider("$compile",Jt).directive({a:fi,input:Ri,textarea:Ri,form:vi,script:Da,select:Ea,style:Ma,option:Oa,ngBind:Li,ngBindHtml:Ui,ngBindTemplate:Fi,ngClass:Bi,ngClassEven:Yi,ngClassOdd:Vi,ngCloak:Wi,ngController:zi,ngForm:yi,ngHide:ba,ngIf:Ji,ngInclude:Qi,ngInit:Ki,ngNonBindable:ha,ngPluralize:va,ngRepeat:ya,ngShow:$a,ngStyle:wa,ngSwitch:xa,ngSwitchWhen:_a,ngSwitchDefault:Ca,ngOptions:ga,ngTransclude:ka,ngModel:la,ngList:ea,ngChange:Hi,pattern:Ia,ngPattern:Ia,required:Aa,ngRequired:Aa,minlength:Ra,ngMinlength:Ra,maxlength:Pa,ngMaxlength:Pa,ngValue:Ni,ngModelOptions:ca}).directive({ngInclude:Zi}).directive(di).directive(Gi),e.provider({$anchorScroll:jt,$animate:Bt,$$animateQueue:qt,$$AnimateRunner:Ht,$browser:Wt,$cacheFactory:zt,$controller:rn,$document:an,$exceptionHandler:on,$filter:Hr,$interpolate:Cn,$interval:kn,$http:bn,$httpParamSerializer:hn,$httpParamSerializerJQLike:pn,$httpBackend:xn,$location:Bn,$log:Vn,$parse:yr,$rootScope:_r,$q:$r,$$q:br,$sce:Er,$sceDelegate:Tr,$sniffer:Or,$templateCache:Gt,$templateRequest:Mr,$$testability:Ar,$timeout:Ir,$window:Lr,$$rAF:xr,$$asyncCallback:Vt,$$jqLite:Dt,$$HashMap:Et,$$cookieReader:Ur})}])}($),c(t).ready(function(){xe(t,_e)}))}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("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(e,t){"use strict";var n,r,i,a,o=1,s="-add",l="-remove",u="ng-",c="ng-animate",f="$$ngAnimateChildren";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(n="WebkitTransition",r="webkitTransitionEnd transitionend"):(n="transition",r="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(i="WebkitAnimation",a="webkitAnimationEnd animationend"):(i="animation",a="animationend");var d="Duration",h="TimingFunction",p="PlayState",m=i+"Delay",g=i+d,v=n+"Delay",y=n+d,$=t.$$minErr("ng");function b(e,t,n){if(!e)throw $("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function w(e,t){return e||t?e?t?(Q(e)&&(e=e.join(" ")),Q(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function x(e,t,n){var r="";return e=Q(e)?e:e&&ne(e)&&e.length?e.split(/\s+/):[],J(e,function(e,i){e&&e.length>0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function _(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===o)return n}}function C(e){return function(t,n){n.addClass&&(function(e,t,n){J(t,function(t){e.addClass(t,n)})}(e,t,n.addClass),n.addClass=null),n.removeClass&&(function(e,t,n){J(t,function(t){e.removeClass(t,n)})}(e,t,n.removeClass),n.removeClass=null)}}function k(e){if(!(e=e||{}).$$prepared){var t=e.domOperation||ae;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=ae},e.$$prepared=!0}return e}function D(e,t){S(e,t),T(e,t)}function S(e,t){t.from&&(e.css(t.from),t.from=null)}function T(e,t){t.to&&(e.css(t.to),t.to=null)}function E(e,t,n){var r=t.options||{},i=n.options||{},a=(r.addClass||"")+" "+(i.addClass||""),o=(r.removeClass||"")+" "+(i.removeClass||""),u=function(e,t,n){var r={};e=a(e),t=a(t),J(t,function(e,t){r[t]=1}),n=a(n),J(n,function(e,t){r[t]=1===r[t]?null:-1});var i={addClass:"",removeClass:""};function a(e){ne(e)&&(e=e.split(" "));var t={};return J(e,function(e){e.length&&(t[e]=!0)}),t}return J(r,function(t,n){var r,a;1===t?(r="addClass",a=!e[n]||e[n+l]):-1===t&&(r="removeClass",a=e[n]||e[n+s]),a&&(i[r].length&&(i[r]+=" "),i[r]+=n)}),i}(e.attr("class"),a,o);i.preparationClasses&&(r.preparationClasses=P(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var c=r.domOperation!==ae?r.domOperation:null;return X(r,i),c&&(r.domOperation=c),u.addClass?r.addClass=u.addClass:r.addClass=null,u.removeClass?r.removeClass=u.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function O(e){return e instanceof ie?e[0]:e}function M(e,t){var n=t?"-"+t+"s":"";return I(e,[v,n]),[v,n]}function A(e,t){var n=t?"paused":"",r=i+p;return I(e,[r,n]),[r,n]}function I(e,t){var n=t[0],r=t[1];e.style[n]=r}function P(e,t){return e?t?e+" "+t:e:t}var R=["$interpolate",function(e){return{link:function(t,n,r){var i=r.ngAnimateChildren;function a(e){e="on"===e||"true"===e,n.data(f,e)}ne(i)&&0===i.length?n.data(f,!0):(a(e(i)(t)),r.$observe("ngAnimateChildren",a))}}}],j="$$animateCss",N=1e3,L=3,F=1.5,U={transitionDuration:y,transitionDelay:v,transitionProperty:n+"Property",animationDuration:g,animationDelay:m,animationIterationCount:i+"IterationCount"},H={transitionDuration:y,transitionDelay:v,animationDuration:g,animationDelay:m};function q(e,t){return[t?m:v,e+"s"]}function B(e,t,n){var r=Object.create(null),i=e.getComputedStyle(t)||{};return J(n,function(e,t){var n,a,o=i[e];if(o){var s=o.charAt(0);("-"===s||"+"===s||s>=0)&&(n=0,a=o.split(/\s*,\s*/),J(a,function(e){"s"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,n=n?Math.max(e,n):e}),o=n),0===o&&(o=null),r[t]=o}}),r}function V(e){return 0===e||null!=e}function Y(e,t){var r=n,i=e+"s";return t?r+=d:i+=" linear all",[r,i]}function W(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function z(e,t,n){J(n,function(n){e[n]=Z(e[n])?e[n]:t.style.getPropertyValue(n)})}var G,X,J,Q,Z,K,ee,te,ne,re,ie,ae,oe=["$animateProvider",function(e){var t=W(),o=W();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(e,c,f,d,p,m,v,y){var $=C(c),b=0;function w(e,t){var n="$$ngAnimateParentKey",r=e.parentNode;return(r[n]||(r[n]=++b))+"-"+e.getAttribute("class")+"-"+t}var _=[];function E(e){_.push(e),v.waitUntilQuiet(function(){t.flush(),o.flush();for(var e=p(),n=0;n<_.length;n++)_[n](e);_.length=0})}function P(n,r,i){var a=function(n,r,i,a){var o=t.get(i);return o||"infinite"===(o=B(e,n,a)).animationIterationCount&&(o.animationIterationCount=1),t.put(i,o),o}(n,0,i,U),o=a.animationDelay,s=a.transitionDelay;return a.maxDelay=o&&s?Math.max(o,s):o||s,a.maxDuration=Math.max(a.animationDuration*a.animationIterationCount,a.transitionDuration),a}return function(p,v){var b=v||{};b.$$prepared||(b=k(G(b)));var _={},C=O(p);if(!C||!C.parentNode||!y.enabled())return Ie();var R,U,W,X,Z,K,ee,te,ne,re,ie=[],oe=p.attr("class"),se=function(e){var t={};return e&&(e.to||e.from)&&(t.to=e.to,t.from=e.from),t}(b),le=[];
9if(0===b.duration||!m.animations&&!m.transitions)return Ie();var ue=b.event&&Q(b.event)?b.event.join(" "):b.event,ce="",fe="";ue&&b.structural?ce=x(ue,u,!0):ue&&(ce=ue),b.addClass&&(fe+=x(b.addClass,s)),b.removeClass&&(fe.length&&(fe+=" "),fe+=x(b.removeClass,l)),b.applyClassesEarly&&fe.length&&$(p,b);var de,he,pe,me=[ce,fe].join(" ").trim(),ge=oe+" "+me,ve=x(me,"-active"),ye=se.to&&Object.keys(se.to).length>0;if(!((b.keyframeStyle||"").length>0||ye||me))return Ie();if(b.stagger>0){var $e=parseFloat(b.stagger);he={transitionDelay:$e,animationDelay:$e,transitionDuration:0,animationDuration:0}}else de=w(C,ge),he=function(n,r,i,a){var s;if(t.count(i)>0&&!(s=o.get(i))){var l=x(r,"-stagger");c.addClass(n,l),(s=B(e,n,a)).animationDuration=Math.max(s.animationDuration,0),s.transitionDuration=Math.max(s.transitionDuration,0),c.removeClass(n,l),o.put(i,s)}return s||{}}(C,me,de,H);if(b.$$skipPreparationClasses||c.addClass(p,me),b.transitionStyle){var be=[n,b.transitionStyle];I(C,be),ie.push(be)}if(b.duration>=0){pe=C.style[n].length>0;var we=Y(b.duration,pe);I(C,we),ie.push(we)}if(b.keyframeStyle){var xe=[i,b.keyframeStyle];I(C,xe),ie.push(xe)}var _e=he?b.staggerIndex>=0?b.staggerIndex:t.count(de):0,Ce=0===_e;Ce&&!b.skipBlocking&&M(C,9999);var ke=P(C,0,de),De=ke.maxDelay;K=Math.max(De,0),te=ke.maxDuration;var Se,Te={};return Te.hasTransitions=ke.transitionDuration>0,Te.hasAnimations=ke.animationDuration>0,Te.hasTransitionAll=Te.hasTransitions&&"all"===ke.transitionProperty,Te.applyTransitionDuration=ye&&(Te.hasTransitions&&!Te.hasTransitionAll||Te.hasAnimations&&!Te.hasTransitions),Te.applyAnimationDuration=b.duration&&Te.hasAnimations,Te.applyTransitionDelay=V(b.delay)&&(Te.applyTransitionDuration||Te.hasTransitions),Te.applyAnimationDelay=V(b.delay)&&Te.hasAnimations,Te.recalculateTimingStyles=fe.length>0,(Te.applyTransitionDuration||Te.applyAnimationDuration)&&(te=b.duration?parseFloat(b.duration):te,Te.applyTransitionDuration&&(Te.hasTransitions=!0,ke.transitionDuration=te,pe=C.style[n+"Property"].length>0,ie.push(Y(te,pe))),Te.applyAnimationDuration&&(Te.hasAnimations=!0,ke.animationDuration=te,ie.push([g,te+"s"]))),0!==te||Te.recalculateTimingStyles?(null!=b.delay&&("boolean"!=typeof b.delay&&(Se=parseFloat(b.delay),K=Math.max(Se,0)),Te.applyTransitionDelay&&ie.push(q(Se)),Te.applyAnimationDelay&&ie.push(q(Se,!0))),null==b.duration&&ke.transitionDuration>0&&(Te.recalculateTimingStyles=Te.recalculateTimingStyles||Ce),ee=K*N,ne=te*N,b.skipBlocking||(Te.blockTransition=ke.transitionDuration>0,Te.blockKeyframeAnimation=ke.animationDuration>0&&he.animationDelay>0&&0===he.animationDuration),b.from&&(b.cleanupStyles&&z(_,C,Object.keys(b.from)),S(p,b)),Te.blockTransition||Te.blockKeyframeAnimation?Ae(te):b.skipBlocking||M(C,!1),{$$willAnimate:!0,end:Ee,start:function(){if(!R)return X=new f(Z={end:Ee,cancel:Oe,resume:null,pause:null}),E(Re),X}}):Ie();function Ee(){Me()}function Oe(){Me(!0)}function Me(e){if(!(R||W&&U)){R=!0,U=!1,b.$$skipPreparationClasses||c.removeClass(p,me),c.removeClass(p,ve),A(C,!1),M(C,!1),J(ie,function(e){C.style[e[0]]=""}),$(p,b),D(p,b),Object.keys(_).length&&J(_,function(e,t){e?C.style.setProperty(t,e):C.style.removeProperty(t)}),b.onDone&&b.onDone(),le&&le.length&&p.off(le.join(" "),Pe);var t=p.data(j);t&&(d.cancel(t[0].timer),p.removeData(j)),X&&X.complete(!e)}}function Ae(e){Te.blockTransition&&M(C,e),Te.blockKeyframeAnimation&&A(C,!!e)}function Ie(){return X=new f({end:Ee,cancel:Oe}),E(ae),Me(),{$$willAnimate:!1,start:function(){return X},end:Ee}}function Pe(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(L));Math.max(n-re,0)>=ee&&r>=te&&(W=!0,Me())}function Re(){if(!R)if(C.parentNode){var e=function(e){if(W)U&&e&&(U=!1,Me());else if(U=!e,ke.animationDuration){var t=A(C,U);U?ie.push(t):(r=t,i=(n=ie).indexOf(r),r>=0&&n.splice(i,1))}var n,r,i},t=_e>0&&(ke.transitionDuration&&0===he.transitionDuration||ke.animationDuration&&0===he.animationDuration)&&Math.max(he.animationDelay,he.transitionDelay);t?d(o,Math.floor(t*_e*N),!1):o(),Z.resume=function(){e(!0)},Z.pause=function(){e(!1)}}else Me();function o(){if(!R){if(Ae(!1),J(ie,function(e){var t=e[0],n=e[1];C.style[t]=n}
9),$(p,b),c.addClass(p,ve),Te.recalculateTimingStyles){if(ge=C.className+" "+me,de=w(C,ge),ke=P(C,0,de),De=ke.maxDelay,K=Math.max(De,0),0===(te=ke.maxDuration))return void Me();Te.hasTransitions=ke.transitionDuration>0,Te.hasAnimations=ke.animationDuration>0}if(Te.applyAnimationDelay&&(De="boolean"!=typeof b.delay&&V(b.delay)?parseFloat(b.delay):De,K=Math.max(De,0),ke.animationDelay=De,Se=q(De,!0),ie.push(Se),C.style[Se[0]]=Se[1]),ee=K*N,ne=te*N,b.easing){var e,t=b.easing;Te.hasTransitions&&(e=n+h,ie.push([e,t]),C.style[e]=t),Te.hasAnimations&&(e=i+h,ie.push([e,t]),C.style[e]=t)}ke.transitionDuration&&le.push(r),ke.animationDuration&&le.push(a),re=Date.now();var o=ee+F*ne,l=re+o,u=p.data(j)||[],f=!0;if(u.length){var m=u[0];(f=l>m.expectedEndTime)?d.cancel(m.timer):u.push(Me)}if(f){var g=d(s,o,!1);u[0]={timer:g,expectedEndTime:l},u.push(Me),p.data(j,u)}le.length&&p.on(le.join(" "),Pe),b.to&&(b.cleanupStyles&&z(_,C,Object.keys(b.to)),T(p,b))}}function s(){var e=p.data(j);if(e){for(var t=1;t<e.length;t++)e[t]();p.removeData(j)}}}}}]}],se=["$$animationProvider",function(e){e.drivers.push("$$animateCssDriver");var t="ng-animate-shim",n="ng-anchor",r="ng-anchor-out",i="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,o,s,l,u,c){if(!l.animations&&!l.transitions)return ae;var f,d=c[0].body,h=O(s),p=ie((f=h).parentNode&&11===f.parentNode.nodeType||d.contains(h)?h:d);return function(a){return a.from&&a.to?function(a,s,l,u){var c=v(a),f=v(s),h=[];if(J(u,function(a){var s=function(a,s,l){var u=ie(O(s).cloneNode(!0)),c=m(b(u));s.addClass(t),l.addClass(t),u.addClass(n),p.append(u);var f,h,v=(h=e(u,{addClass:r,delay:!0,from:$(s)})).$$willAnimate?h:null;if(!v&&!(f=w()))return x();var y=v||f;return{start:function(){var e,t=y.start();return t.done(function(){if(t=null,!f&&(f=w()))return(t=f.start()).done(function(){t=null,x(),e.complete()}),t;x(),e.complete()}),e=new o({end:n,cancel:n});function n(){t&&t.end()}}};function $(e){var t={},n=O(e).getBoundingClientRect();return J(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=d.scrollTop;break;case"left":r+=d.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function b(e){return e.attr("class")||""}function w(){var t=m(b(l)),n=g(t,c),a=g(c,t),o=e(u,{to:$(l),addClass:i+" "+n,removeClass:r+" "+a,delay:!0});return o.$$willAnimate?o:null}function x(){u.remove(),s.removeClass(t),l.removeClass(t)}}(0,a.out,a.in);s&&h.push(s)}),c||f||0!==h.length)return{start:function(){var e=[];c&&e.push(c.start()),f&&e.push(f.start()),J(h,function(t){e.push(t.start())});var t=new o({end:n,cancel:n});return o.all(e,function(e){t.complete(e)}),t;function n(){J(e,function(e){e.end()})}}}}(a.from,a.to,a.classes,a.anchors):v(a)};function m(e){return e.replace(/\bng-\S+\b/g,"")}function g(e,t){return ne(e)&&(e=e.split(" ")),ne(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=P(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}}]}],le=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){var i=C(r);return function(r,a,o,s){var l=!1;3===arguments.length&&te(o)&&(s=o,o=null),s=k(s),o||(o=r.attr("class")||"",s.addClass&&(o+=" "+s.addClass),s.removeClass&&(o+=" "+s.removeClass));var u,c,f,d,h,p=s.addClass,m=s.removeClass,g=function(n){n=Q(n)?n:n.split(" ");for(var r=[],i={},a=0;a<n.length;a++){var o=n[a],s=e.$$registeredAnimations[o];s&&!i[o]&&(r.push(t.get(s)),i[o]=!0)}return r}(o);if(g.length&&("leave"===a?(d="leave",f="afterLeave"):(d="before"+a.charAt(0).toUpperCase()+a.substr(1),f=a),"enter"!==a&&"move"!==a&&(u=b(r,a,s,g,d)),c=b(r,a,s,g,f)),u||c)return{$$willAnimate:!0,end:function(){return h?h.end():(y(),(h=new n).complete(!0)),h},start:function(){if(h)return h;var e;h=new n;var t=[];return u&&t.push(function(t){e=u(t)}),t.length?t.push(function(e){v(),e(!0)}
9):v(),c&&t.push(function(t){e=c(t)}),h.setHost({end:function(){i()},cancel:function(){i(!0)}}),n.chain(t,r),h;function r(e){y(),h.complete(e)}function i(t){l||((e||ae)(t),r(t))}}};function v(){s.domOperation(),i(r,s)}function y(){l=!0,v(),D(r,s)}function $(e,t,r,i,a){var o=[];return J(i,function(i){var s=i[a];s&&o.push(function(){var i,a,o=!1,l=function(e){o||(o=!0,(a||ae)(e),i.complete(!e))};return i=new n({end:function(){l()},cancel:function(){l(!0)}}),a=function(e,t,r,i,a){var o;switch(r){case"animate":o=[t,i.from,i.to,a];break;case"setClass":o=[t,p,m,a];break;case"addClass":o=[t,p,a];break;case"removeClass":o=[t,m,a];break;default:o=[t,a]}o.push(i);var s=e.apply(e,o);if(s)if(ee(s.start)&&(s=s.start()),s instanceof n)s.done(a);else if(ee(s))return s;return ae}(s,e,t,r,function(e){l(!1===e)}),i})}),o}function b(e,t,r,i,a){var o,s,l=$(e,t,r,i,a);if(0===l.length&&("beforeSetClass"===a?(o=$(e,"removeClass",r,i,"beforeRemoveClass"),s=$(e,"addClass",r,i,"beforeAddClass")):"setClass"===a&&(o=$(e,"removeClass",r,i,"removeClass"),s=$(e,"addClass",r,i,"addClass")),o&&(l=l.concat(o)),s&&(l=l.concat(s))),0!==l.length)return function(e){var t=[];return l.length&&J(l,function(e){t.push(e())}),t.length?n.all(t,e):e(),function(e){J(t,function(t){e?t.cancel():t.end()})}}}}}]}],ue=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(e,t){return function(e){if(e.from&&e.to){var r=n(e.from),i=n(e.to);if(!r&&!i)return;return{start:function(){var e=[];r&&e.push(r.start()),i&&e.push(i.start()),t.all(e,function(e){n.complete(e)});var n=new t({end:a(),cancel:a()});return n;function a(){return function(){J(e,function(e){e.end()})}}}}}return n(e)};function n(t){var n=t.element,r=t.event,i=t.options,a=t.classes;return e(n,r,a,i)}}]}],ce="data-ng-animate",fe="$ngAnimatePin",de=["$animateProvider",function(t){var n=1,r=2,i=" ",a=this.rules={skip:[],cancel:[],join:[]};function c(e,t){if(e&&t){var n=function(e){if(!e)return null;var t=e.split(i),n=Object.create(null);return J(t,function(e){n[e]=!0}),n}(t);return e.split(i).some(function(e){return n[e]})}}function d(e,t,n,r){return a[e].some(function(e){return e(t,n,r)})}function h(e,t){var n=(e.addClass||"").length>0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}a.join.push(function(e,t,n){return!t.structural&&h(t)}),a.skip.push(function(e,t,n){return!t.structural&&!h(t)}),a.skip.push(function(e,t,n){return"leave"===n.event&&t.structural}),a.skip.push(function(e,t,n){return n.structural&&n.state===r&&!t.structural}),a.cancel.push(function(e,t,n){return n.structural&&t.structural}),a.cancel.push(function(e,t,n){return n.state===r&&t.structural}),a.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,o=n.removeClass;return!(re(r)&&re(i)||re(a)&&re(o))&&(c(r,o)||c(i,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(i,a,c,p,m,g,v,y,$,w){var S=new m,T=new m,M=null,A=a.$watch(function(){return 0===y.totalPendingRequests},function(e){e&&(A(),a.$$postDigest(function(){a.$$postDigest(function(){null===M&&(M=!0)})}))}),I=Object.create(null),R=t.classNameFilter(),j=R?function(e){return R.test(e)}:function(){return!0},N=C($);function L(e,t){return E(e,t,{})}var F=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))};function U(e,t,n){var r=_(t);return e.filter(function(e){return!(e.node===r&&(!n||e.callback===n))})}function H(e,t){"close"!==e||t[0].parentNode||q.off(t)}var q={on:function(e,t,n){var r=_(t);I[e]=I[e]||[],I[e].push({node:r,callback:n}),ie(t).on("$destroy",function(){S.get(r)||q.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ne(arguments[0])){var r=I[e];r&&(I[e]=1===arguments.length?null:U(r,t,n))}else for(var i in t=arguments[0],I)I[i]=U(I[i],t)},pin:function(e,t){b(K(e),"element","not an element"),b(K(t),"parentElement","not an element"),e.data(fe,t)},push:function(e,t,m,y){return(m=m||{}).domOperation=y,function(e,t,m){var y,$,b=G(m);(e=function(e){if(e instanceof ie)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===o)return e;break;default:return ie(_(e))}if(e.nodeType===o)return ie(e)}(e))&&(y=O(e),$=e.parent()),b=k(b);var w,C=new v,A=(w=!1,function(e){w?e():a.$$postDigest(function(){w=!0,e(
9)})});if(Q(b.addClass)&&(b.addClass=b.addClass.join(" ")),b.addClass&&!ne(b.addClass)&&(b.addClass=null),Q(b.removeClass)&&(b.removeClass=b.removeClass.join(" ")),b.removeClass&&!ne(b.removeClass)&&(b.removeClass=null),b.from&&!te(b.from)&&(b.from=null),b.to&&!te(b.to)&&(b.to=null),!y)return de(),C;var R=[y.className,b.addClass,b.removeClass].join(" ");if(!j(R))return de(),C;var U=["enter","move","leave"].indexOf(t)>=0,q=p[0].hidden,W=!M||q||T.get(y),z=!W&&S.get(y)||{},X=!!z.state;if(W||X&&z.state===n||(W=!function(e,t,n){var r,i=ie(p[0].body),a=V(e,i)||"HTML"===e[0].nodeName,s=V(e,c),l=!1,u=T.get(O(e)),d=ie.data(e[0],fe);for(d&&(t=d),t=O(t);t&&(s||(s=V(t,c)),t.nodeType===o);){var h=S.get(t)||{};if(!l){var m=T.get(t);if(!0===m&&!1!==u){u=!0;break}!1===m&&(u=!1),l=h.structural}if(re(r)||!0===r){var g=ie.data(t,f);Z(g)&&(r=g)}if(l&&!1===r)break;if(a||(a=V(t,i)),a&&s)break;t=s||!(d=ie.data(t,fe))?t.parentNode:O(d)}return(!l||r)&&!0!==u&&s&&a}(e,$)),W)return q&&ue(C,t,"start"),de(),q&&ue(C,t,"close"),C;U&&function(e){var t=O(e).querySelectorAll("["+ce+"]");J(t,function(e){var t=parseInt(e.getAttribute(ce),10),i=S.get(e);if(i)switch(t){case r:i.runner.end();case n:S.remove(e)}})}(e);var K={structural:U,element:e,event:t,addClass:b.addClass,removeClass:b.removeClass,close:de,options:b,runner:C};if(X){var ee=d("skip",e,K,z);if(ee)return z.state===r?(de(),C):(E(e,z,K),z.runner);var ae=d("cancel",e,K,z);if(ae)if(z.state===r)z.runner.end();else{if(!z.structural)return E(e,z,K),z.runner;z.close()}else{var oe=d("join",e,K,z);if(oe){if(z.state!==r)return function(e,t,n){var r="";t&&(r=x(t,u,!0)),n.addClass&&(r=P(r,x(n.addClass,s))),n.removeClass&&(r=P(r,x(n.removeClass,l))),r.length&&(n.preparationClasses=r,e.addClass(r))}(e,U?t:null,b),t=K.event=z.event,b=E(e,z,K),z.runner;L(e,K)}}}else L(e,K);var se=K.structural;if(se||(se="animate"===K.event&&Object.keys(K.options.to||{}).length>0||h(K)),!se)return de(),B(e),C;var le=(z.counter||0)+1;return K.counter=le,Y(e,n,K),a.$$postDigest(function(){var n=S.get(y),i=!n;n=n||{};var a=(e.parent()||[]).length>0&&("animate"===n.event||n.structural||h(n));if(i||n.counter!==le||!a)return i&&(N(e,b),D(e,b)),(i||U&&n.event!==t)&&(b.domOperation(),C.end()),void(a||B(e));t=!n.structural&&h(n,!0)?"setClass":n.event,Y(e,r);var o=g(e,t,n.options);C.setHost(o),ue(C,t,"start",{}),o.done(function(n){de(!n);var r=S.get(y);r&&r.counter===le&&B(O(e)),ue(C,t,"close",{})})}),C;function ue(t,n,r,a){A(function(){var t=function(e,t,n){var r=O(t),i=O(e),a=[],o=I[n];return o&&J(o,function(e){F.call(e.node,r)?a.push(e.callback):"leave"===n&&F.call(e.node,i)&&a.push(e.callback)}),a}($,e,n);t.length?i(function(){J(t,function(t){t(e,r,a)}),H(r,e)}):H(r,e)}),t.progress(n,r,a)}function de(t){!function(e,t){t.preparationClasses&&(e.removeClass(t.preparationClasses),t.preparationClasses=null),t.activeClasses&&(e.removeClass(t.activeClasses),t.activeClasses=null)}(e,b),N(e,b),D(e,b),b.domOperation(),C.complete(!t)}}(e,t,m)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!M;else if(K(e)){var r=O(e);1===n?t=!T.get(r):T.put(r,!t)}else t=M=!!e;return t}};return q;function B(e){var t=O(e);t.removeAttribute(ce),S.remove(t)}function V(e,t){return O(e)===O(t)}function Y(e,t,n){(n=n||{}).state=t;var r=O(e);r.setAttribute(ce,t);var i=S.get(r),a=i?X(i,n):n;S.put(r,a)}}]}],he=["$animateProvider",function(e){var t="ng-animate-ref",n=this.drivers=[],r="$$animationRunner";function i(e){return e.data(r)}this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,a,o,s,l,u){var f=[],d=C(e);return function(h,p,m){m=k(m);var g=["enter","move","leave"].indexOf(p)>=0,v=new s({end:function(){_()},cancel:function(){_(!0)}});if(!n.length)return _(),v;!function(e,t){e.data(r,t)}(h,v);var y,$=w(h.attr("class"),w(m.addClass,m.removeClass)),b=m.tempClasses;return b&&($+=" "+b,m.tempClasses=null),g&&(y="ng-"+p+"-prepare",e.addClass(h,y)),f.push({element:h,classes:$,event:p,structural:g,options:m,beforeStart:function(){h.addClass(c),b&&e.addClass(h,b),y&&(e.removeClass(h,y),y=null)},close:_}),h.on("$destroy",x),f.length>1?v:(a.$$postDigest(function(){var e=[];J(f,function(t){i(t.element)?e.push(t):t.close()}),f.length=0;var r=function(e){var n=[],r={};J(e,function(e,i){var a=e.element,o=O(a),s=e.event,l=["enter","move"].indexOf(s)>=0,u=e.structural?function(e){var n="["+t+"]",r=e.hasAttribute(t)?[e]:e.querySelectorAll(n),i=[];return J(r,function(e){var n=e.getAttribute(t);n&&n.length&&i.push(e)}),i}(o):[];if(u.length){var c=l?"to":"from";J(u,function(e){var n=e.getAttribute(t);r[n]=r[n]||{},r[n][c]={animationID:i,element:ie(e)}})}else n.push(e)});var i={},a={};return J(r,function(t,r){var o=t.from,s=t.to;if(o&&s){var l=e[o.animationID],u=e[s.animationID],c=o.animationID.toString();
9if(!a[c]){var f=a[c]={structural:!0,beforeStart:function(){l.beforeStart(),u.beforeStart()},close:function(){l.close(),u.close()},classes:function(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var a=0;a<t.length;a++)if(i===t[a]){n.push(i);break}}return n.join(" ")}(l.classes,u.classes),from:l,to:u,anchors:[]};f.classes.length?n.push(f):(n.push(l),n.push(u))}a[c].anchors.push({out:o.element,in:s.element})}else{var d=o?o.animationID:s.animationID,h=d.toString();i[h]||(i[h]=!0,n.push(e[d]))}}),n}(e),a=[];J(r,function(e){a.push({domNode:O(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,r=e.close;if(i(e.anchors?e.from.element||e.to.element:e.element)){var a=function(e){for(var t=n.length-1;t>=0;t--){var r=n[t],i=o.get(r),a=i(e);if(a)return a}}(e);a&&(t=a.start)}if(t){var s=t();s.done(function(e){r(!e)}),function(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}(e,s)}else r()}})}),u(function(e){var t,n={children:[]},r=new l;for(t=0;t<e.length;t++){var i=e[t];r.put(i.domNode,e[t]={domNode:i.domNode,fn:i.fn,children:[]})}for(t=0;t<e.length;t++)a(e[t]);return function(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,a=0,o=[];for(t=0;t<r.length;t++){var s=r[t];i<=0&&(i=a,a=0,n.push(o),o=[]),o.push(s.fn),s.children.forEach(function(e){a++,r.push(e)}),i--}return o.length&&n.push(o),n}(n);function a(e){if(e.processed)return e;e.processed=!0;var t,i=e.domNode,o=i.parentNode;for(r.put(i,e);o;){if(t=r.get(o)){t.processed||(t=a(t));break}o=o.parentNode}return(t||n).children.push(e),e}}(a))}),v);function x(){var e=i(h);!e||"leave"===p&&m.$$domOperationFired||e.end()}function _(t){h.off("$destroy",x),function(e){e.removeData(r)}(h),d(h,m),D(h,m),m.domOperation(),b&&e.removeClass(h,b),h.removeClass(c),v.complete(!t)}}}]}];t.module("ngAnimate",[],function(){ae=t.noop,G=t.copy,X=t.extend,ie=t.element,J=t.forEach,Q=t.isArray,ne=t.isString,te=t.isObject,re=t.isUndefined,Z=t.isDefined,ee=t.isFunction,K=t.isElement}).directive("ngAnimateSwap",["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,a){var o,s;t.$watchCollection(r.ngAnimateSwap||r.for,function(r){o&&e.leave(o),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),a(s,function(t){o=t,e.enter(t,null,n)}))})}}}]).directive("ngAnimateChildren",R).factory("$$rAFScheduler",["$$rAF",function(e){var t,n;function r(e){t=t.concat(e),i()}return t=r.queue=[],r.waitUntilQuiet=function(t){n&&n(),n=e(function(){n=null,t(),i()})},r;function i(){if(t.length){for(var r=t.shift(),a=0;a<r.length;a++)r[a]();n||e(function(){n||i()})}}}]).provider("$$animateQueue",de).provider("$$animation",he).provider("$animateCss",oe).provider("$$animateCssDriver",se).provider("$$animateJs",le).provider("$$animateJsDriver",ue)}(window,window.angular),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.bindHtml","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.position","ui.bootstrap.datepicker","ui.bootstrap.dropdown","ui.bootstrap.modal","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.transition","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["template/accordion/accordion-group.html","template/accordion/accordion.html","template/alert/alert.html","template/carousel/carousel.html","template/carousel/slide.html","template/datepicker/datepicker.html","template/datepicker/day.html","template/datepicker/month.html","template/datepicker/popup.html","template/datepicker/year.html","template/modal/backdrop.html","template/modal/window.html","template/pagination/pager.html","template/pagination/pagination.html","template/tooltip/tooltip-html-popup.html","template/tooltip/tooltip-html-unsafe-popup.html","template/tooltip/tooltip-popup.html","template/tooltip/tooltip-template-popup.html","template/popover/popover-html.html","template/popover/popover-template.html","template/popover/popover.html","template/progressbar/bar.html","template/progressbar/progress.html","template/progressbar/progressbar.html","template/rating/rating.html","template/tabs/tab.html","template/tabs/tabset.html","template/timepicker/timepicker.html","template/typeahead/typeahead-match.html","template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("collapse",["$animate",function(e){return{link:function(t,n,r){function i(){n.removeClass("collapsing"),n.css({height:"auto"})}function a(){n.css({height:"0"}),n.removeClass("collapsing"),n.addClass("collapse")}t.$watch(r.collapse,function(t){t?function(){if(!n.hasClass("collapse")&&!n.hasClass("in"))return a();n.css({height:n[0].scrollHeight+"px"}).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),e.removeClass(n,"in",{to:{height:"0"}}).then(a)}():(n.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),e.addClass(n,"in",{to:{height:n[0].scrollHeight+"px"}}).then(i))})}}}]),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse"]).constant("accordionConfig",{closeOthers:!0}).controller("AccordionController",["$scope","$attrs","accordionConfig",function(e,t,n){this.groups=[],this.closeOthers=function(r){(angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers)&&angular.forEach(this.groups,function(e){e!==r&&(e.isOpen=!1)})},this.addGroup=function(e){var t=this;this.groups.push(e),e.$on("$destroy",function(n){t.removeGroup(e)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("accordion",function(){return{restrict:"EA",controller:"AccordionController",controllerAs:"accordion",transclude:!0,replace:!1,templateUrl:function(e,t){return t.templateUrl||"template/accordion/accordion.html"}}}).directive("accordionGroup",function(){return{require:"^accordion",restrict:"EA",transclude:!0,replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/accordion/accordion-group.html"},scope:{heading:"@",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(e,t,n,r){r.addGroup(e),e.openClass=n.openClass||"panel-open",e.panelClass=n.panelClass,e.$watch("isOpen",function(n){t.toggleClass(e.openClass,n),n&&r.closeOthers(e)}),e.toggleOpen=function(t){e.isDisabled||t&&32!==t.which||(e.isOpen=!e.isOpen)}}}}).directive("accordionHeading",function(){return{restrict:"EA",transclude:!0,template:"",replace:!0,require:"^accordionGroup",link:function(e,t,n,r,i){r.setHeading(i(e,angular.noop))}}}).directive("accordionTransclude",function(){return{require:"^accordionGroup",link:function(e,t,n,r){e.$watch(function(){return r[n.accordionTransclude]},function(e){e&&(t.find("span").html(""),t.find("span").append(e))})}}}
9),angular.module("ui.bootstrap.alert",[]).controller("AlertController",["$scope","$attrs",function(e,t){e.closeable=!!t.close,this.close=e.close}]).directive("alert",function(){return{controller:"AlertController",controllerAs:"alert",templateUrl:function(e,t){return t.templateUrl||"template/alert/alert.html"},transclude:!0,replace:!0,scope:{type:"@",close:"&"}}}).directive("dismissOnTimeout",["$timeout",function(e){return{require:"alert",link:function(t,n,r,i){e(function(){i.close()},parseInt(r.dismissOnTimeout,10))}}}]),angular.module("ui.bootstrap.bindHtml",[]).value("$bindHtmlUnsafeSuppressDeprecated",!1).directive("bindHtmlUnsafe",["$log","$bindHtmlUnsafeSuppressDeprecated",function(e,t){return function(n,r,i){t||e.warn("bindHtmlUnsafe is now deprecated. Use ngBindHtml instead"),r.addClass("ng-binding").data("$binding",i.bindHtmlUnsafe),n.$watch(i.bindHtmlUnsafe,function(e){r.html(e||"")})}}]),angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("btnRadio",function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",controllerAs:"buttons",link:function(e,t,n,r){var i=r[0],a=r[1];t.find("input").css({display:"none"}),a.$render=function(){t.toggleClass(i.activeClass,angular.equals(a.$modelValue,e.$eval(n.btnRadio)))},t.bind(i.toggleEvent,function(){if(!n.disabled){var r=t.hasClass(i.activeClass);r&&!angular.isDefined(n.uncheckable)||e.$apply(function(){a.$setViewValue(r?null:e.$eval(n.btnRadio)),a.$render()})}})}}}).directive("btnCheckbox",["$document",function(e){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",controllerAs:"button",link:function(t,n,r,i){var a=i[0],o=i[1];function s(){return u(r.btnCheckboxTrue,!0)}function l(){return u(r.btnCheckboxFalse,!1)}function u(e,n){var r=t.$eval(e);return angular.isDefined(r)?r:n}n.find("input").css({display:"none"}),o.$render=function(){n.toggleClass(a.activeClass,angular.equals(o.$modelValue,s()))},n.bind(a.toggleEvent,function(){r.disabled||t.$apply(function(){o.$setViewValue(n.hasClass(a.activeClass)?l():s()),o.$render()})}),n.on("keypress",function(i){r.disabled||32!==i.which||e[0].activeElement!==n[0]||t.$apply(function(){o.$setViewValue(n.hasClass(a.activeClass)?l():s()),o.$render()})})}}}]),angular.module("ui.bootstrap.carousel",[]).controller("CarouselController",["$scope","$element","$interval","$animate",function(e,t,n,r){var i,a,o=this,s=o.slides=e.slides=[],l=angular.version.minor>=4,u="uib-slideDirection",c=-1;o.currentSlide=null;var f=!1;function d(e){if(angular.isUndefined(s[e].index))return s[e];var t;for(s.length,t=0;t<s.length;++t)if(s[t].index==e)return s[t]}function h(){p();var t=+e.interval;!isNaN(t)&&t>0&&(i=n(m,t))}function p(){i&&(n.cancel(i),i=null)}function m(){var t=+e.interval;a&&!isNaN(t)&&t>0&&s.length?e.next():e.pause()}o.select=e.select=function(t,n){var i=e.indexOfSlide(t);void 0===n&&(n=i>o.getCurrentIndex()?"next":"prev"),t&&t!==o.currentSlide&&!e.$currentTransition&&function(t,n,i){f||(angular.extend(t,{direction:i,active:!0}),angular.extend(o.currentSlide||{},{direction:i,active:!1}),r.enabled()&&!e.noTransition&&!e.$currentTransition&&t.$element&&o.slides.length>1&&(t.$element.data(u,t.direction),o.currentSlide&&o.currentSlide.$element&&o.currentSlide.$element.data(u,t.direction),e.$currentTransition=!0,l?r.on("addClass",t.$element,function(t,n){"close"===n&&(e.$currentTransition=null,r.off("addClass",t))}):t.$element.one("$animate:close",function(){e.$currentTransition=null})),o.currentSlide=t,c=n,h())}(t,i,n)},e.$on("$destroy",function(){f=!0}),o.getCurrentIndex=function(){return o.currentSlide&&angular.isDefined(o.currentSlide.index)?+o.currentSlide.index:c},e.indexOfSlide=function(e){return angular.isDefined(e.index)?+e.index:s.indexOf(e)},e.next=function(){var t=(o.getCurrentIndex()+1)%s.length;if(0!==t||!e.noWrap())return o.select(d(t),"next");e.pause()},e.prev=function(){var t=o.getCurrentIndex()-1<0?s.length-1:o.getCurrentIndex()-1;if(!e.noWrap()||t!==s.length-1)return o.select(d(t),"prev");e.pause()},e.isActive=function(e){return o.currentSlide===e},e.$watch("interval",h),e.$on("$destroy",p),e.play=function(){a||(a=!0,h())},e.pause=function(){e.noPause||(a=!1,p())},o.addSlide=function(t,n){t.$element=n,s.push(t),1===s.length||t.active?(o.select(s[s.length-1]),1==s.length&&e.play()):t.active=!1},o.removeSlide=function(e){angular.isDefined(e.index)&&s.sort(function(e,t){return+e.index>
9+t.index});var t=s.indexOf(e);s.splice(t,1),s.length>0&&e.active?t>=s.length?o.select(s[t-1]):o.select(s[t]):c>t&&c--,0===s.length&&(o.currentSlide=null)},e.$watch("noTransition",function(e){t.data("uib-noTransition",e)})}]).directive("carousel",[function(){return{restrict:"EA",transclude:!0,replace:!0,controller:"CarouselController",controllerAs:"carousel",require:"carousel",templateUrl:function(e,t){return t.templateUrl||"template/carousel/carousel.html"},scope:{interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}]).directive("slide",function(){return{require:"^carousel",restrict:"EA",transclude:!0,replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/carousel/slide.html"},scope:{active:"=?",actual:"=?",index:"=?"},link:function(e,t,n,r){r.addSlide(e,t),e.$on("$destroy",function(){r.removeSlide(e)}),e.$watch("active",function(t){t&&r.select(e)})}}}).animation(".item",["$injector","$animate",function(e,t){var n=null;function r(e,t,n){e.removeClass(t),n&&n()}return e.has("$animateCss")&&(n=e.get("$animateCss")),{beforeAddClass:function(e,i,a){if("active"==i&&e.parent()&&!e.parent().data("uib-noTransition")){var o=!1,s=e.data("uib-slideDirection"),l="next"==s?"left":"right",u=r.bind(this,e,l+" "+s,a);return e.addClass(s),n?n(e,{addClass:l}).start().done(u):t.addClass(e,l).then(function(){o||u(),a()}),function(){o=!0}}a()},beforeRemoveClass:function(e,i,a){if("active"===i&&e.parent()&&!e.parent().data("uib-noTransition")){var o=!1,s="next"==e.data("uib-slideDirection")?"left":"right",l=r.bind(this,e,s,a);return n?n(e,{addClass:s}).start().done(l):t.addClass(e,s).then(function(){o||l(),a()}),function(){o=!0}}a()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("dateParser",["$log","$locale","orderByFilter",function(e,t,n){var r=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.parsers={};var i={yyyy:{regex:"\\d{4}",apply:function(e){this.year=+e}},yy:{regex:"\\d{2}",apply:function(e){this.year=+e+2e3}},y:{regex:"\\d{1,4}",apply:function(e){this.year=+e}},MMMM:{regex:t.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.MONTH.indexOf(e)}},MMM:{regex:t.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.SHORTMONTH.indexOf(e)}},MM:{regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1}},M:{regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1}},dd:{regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e}},d:{regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e}},EEEE:{regex:t.DATETIME_FORMATS.DAY.join("|")},EEE:{regex:t.DATETIME_FORMATS.SHORTDAY.join("|")},HH:{regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e}},hh:{regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e}},H:{regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e}},h:{regex:"[0-9]|1[0-2]",apply:function(e){this.hours=+e}},mm:{regex:"[0-5][0-9]",apply:function(e){this.minutes=+e}},m:{regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e}},sss:{regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e}},ss:{regex:"[0-5][0-9]",apply:function(e){this.seconds=+e}},s:{regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e}},a:{regex:t.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)}}};this.parse=function(a,o,s){if(!angular.isString(a)||!o)return a;o=(o=t.DATETIME_FORMATS[o]||o).replace(r,"\\$&"),this.parsers[o]||(this.parsers[o]=function(e){var t=[],r=e.split("");return angular.forEach(i,function(n,i){var a=e.indexOf(i);if(a>-1){e=e.split(""),r[a]="("+n.regex+")",e[a]="$";for(var o=a+1,s=a+i.length;o<s;o++)r[o]="",e[o]="$";e=e.join(""),t.push({index:a,apply:n.apply})}}),{regex:new RegExp("^"+r.join("")+"$"),map:n(t,"index")}}(o));var l,u,c,f=this.parsers[o],d=f.regex,h=f.map,p=a.match(d);if(p&&p.length){var m,g;angular.isDate(s)&&!isNaN(s.getTime())?m={year:s.getFullYear(),month:s.getMonth(),date:s.getDate(),hours:s.getHours(),minutes:s.getMinutes(),seconds:s.getSeconds(),milliseconds:s.getMilliseconds()}:(s&&e.warn("dateparser:","baseDate is not a valid date"),m={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var v=1,y=p.length;v<y;v++){var $=h[v-1];$.apply&&$.apply.call(m,p[v])}return l=m.year,u=m.month,!((c=m.date)<1)&&(1===u&&c>28?29===c&&(l%4==0&&l%100!=0||l%400==0):3!==u&&5!==u&&8!==u&&10!==u||c<31)&&(g=new Date(m.year,m.month,m.date,m.hours,m.minutes,m.seconds,m.milliseconds||0)),g}}}]),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(e,t){function n(e){return"static"===(r="position",((n=e).currentStyle?n.currentStyle[r]:t.getComputedStyle?t.getComputedStyle(n)[r]:n.style[r])||"static");var n,r}return{position:function(t){var r=this.offset(t),i={top:0,left:0},a=function(t){for(var r=e[0],i=t.offsetParent||r;i&&i!==r&&n(i);)i=i.offsetParent;return i||r}(t[0]);a!=e[0]&&((i=this.offset(angular.element(a))).top+=a.clientTop-a.scrollTop,i.left+=a.clientLeft-a.scrollLeft);var o=t[0].getBoundingClientRect();return{width:o.width||t.prop("offsetWidth"),height:o.height||t.prop("offsetHeight"),top:r.top-i.top,left
9:r.left-i.left}},offset:function(n){var r=n[0].getBoundingClientRect();return{width:r.width||n.prop("offsetWidth"),height:r.height||n.prop("offsetHeight"),top:r.top+(t.pageYOffset||e[0].documentElement.scrollTop),left:r.left+(t.pageXOffset||e[0].documentElement.scrollLeft)}},positionElements:function(e,t,n,r){var i,a,o,s,l=n.split("-"),u=l[0],c=l[1]||"center";i=r?this.offset(e):this.position(e),a=t.prop("offsetWidth"),o=t.prop("offsetHeight");var f={center:function(){return i.left+i.width/2-a/2},left:function(){return i.left},right:function(){return i.left+i.width}},d={center:function(){return i.top+i.height/2-o/2},top:function(){return i.top},bottom:function(){return i.top+i.height}};switch(u){case"right":s={top:d[c](),left:f[u]()};break;case"left":s={top:d[c](),left:i.left-a};break;case"bottom":s={top:d[u](),left:f[c]()};break;default:s={top:i.top-o,left:f[c]()}}return s}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.position"]).value("$datepickerSuppressError",!1).constant("datepickerConfig",{formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",datepickerMode:"day",minMode:"day",maxMode:"year",showWeeks:!0,startingDay:0,yearRange:20,minDate:null,maxDate:null,shortcutPropagation:!1}).controller("DatepickerController",["$scope","$attrs","$parse","$interpolate","$log","dateFilter","datepickerConfig","$datepickerSuppressError",function(e,t,n,r,i,a,o,s){var l=this,u={$setViewValue:angular.noop};this.modes=["day","month","year"],angular.forEach(["formatDay","formatMonth","formatYear","formatDayHeader","formatDayTitle","formatMonthTitle","showWeeks","startingDay","yearRange","shortcutPropagation"],function(n,i){l[n]=angular.isDefined(t[n])?i<6?r(t[n])(e.$parent):e.$parent.$eval(t[n]):o[n]}),angular.forEach(["minDate","maxDate"],function(r){t[r]?e.$parent.$watch(n(t[r]),function(e){l[r]=e?new Date(e):null,l.refreshView()}):l[r]=o[r]?new Date(o[r]):null}),angular.forEach(["minMode","maxMode"],function(r){t[r]?e.$parent.$watch(n(t[r]),function(n){l[r]=angular.isDefined(n)?n:t[r],e[r]=l[r],("minMode"==r&&l.modes.indexOf(e.datepickerMode)<l.modes.indexOf(l[r])||"maxMode"==r&&l.modes.indexOf(e.datepickerMode)>l.modes.indexOf(l[r]))&&(e.datepickerMode=l[r])}):(l[r]=o[r]||null,e[r]=l[r])}),e.datepickerMode=e.datepickerMode||o.datepickerMode,e.uniqueId="datepicker-"+e.$id+"-"+Math.floor(1e4*Math.random()),angular.isDefined(t.initDate)?(this.activeDate=e.$parent.$eval(t.initDate)||new Date,e.$parent.$watch(t.initDate,function(e){e&&(u.$isEmpty(u.$modelValue)||u.$invalid)&&(l.activeDate=e,l.refreshView())})):this.activeDate=new Date,e.isActive=function(t){return 0===l.compare(t.date,l.activeDate)&&(e.activeDateId=t.uid,!0)},this.init=function(e){(u=e).$render=function(){l.render()}},this.render=function(){if(u.$viewValue){var e=new Date(u.$viewValue);isNaN(e)?s||i.error('Datepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.'):this.activeDate=e}this.refreshView()},this.refreshView=function(){if(this.element){this._refreshView();var e=u.$viewValue?new Date(u.$viewValue):null;u.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e))}},this.createDateObject=function(e,t){var n=u.$viewValue?new Date(u.$viewValue):null;return{date:e,label:a(e,t),selected:n&&0===this.compare(e,n),disabled:this.isDisabled(e),current:0===this.compare(e,new Date),customClass:this.customClass(e)}},this.isDisabled=function(n){return this.minDate&&this.compare(n,this.minDate)<0||this.maxDate&&this.compare(n,this.maxDate)>0||t.dateDisabled&&e.dateDisabled({date:n,mode:e.datepickerMode})},this.customClass=function(t){return e.customClass({date:t,mode:e.datepickerMode})},this.split=function(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n},this.fixTimeZone=function(e){var t=e.getHours();e.setHours(23===t?t+2:0)},e.select=function(t){if(e.datepickerMode===l.minMode){var n=u.$viewValue?new Date(u.$viewValue):new Date(0,0,0,0,0,0,0);n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),u.$setViewValue(n),u.$render()}else l.activeDate=t,e.datepickerMode=l.modes[l.modes.indexOf(e.datepickerMode)-1]},e.move=function(e){var t=l.activeDate.getFullYear()+e*(l.step.years||0),n=l.activeDate.getMonth()+e*(l.step.months||0);l.activeDate.setFullYear(t,n,1),l.refreshView()},e.toggleMode=function(t){t=t||1,e.datepickerMode===l.maxMode&&1===t||e.datepickerMode===l.minMode&&-1===t||(e.datepickerMode=l.modes[l.modes.indexOf(e.datepickerMode)+t])},e.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var c=function(){l.element[0].focus()};e.$on("datepicker.focus",c),e.keydown=function(t){var n=e.keys[t.which];if(n&&!t.shiftKey&&!t.altKey)if(t.preventDefault(),l.shortcutPropagation||t.stopPropagation(),"enter"
9===n||"space"===n){if(l.isDisabled(l.activeDate))return;e.select(l.activeDate),c()}else!t.ctrlKey||"up"!==n&&"down"!==n?(l.handleKeyDown(n,t),l.refreshView()):(e.toggleMode("up"===n?1:-1),c())}}]).directive("datepicker",function(){return{restrict:"EA",replace:!0,templateUrl:function(e,t){return t.templateUrl||"template/datepicker/datepicker.html"},scope:{datepickerMode:"=?",dateDisabled:"&",customClass:"&",shortcutPropagation:"&?"},require:["datepicker","^ngModel"],controller:"DatepickerController",controllerAs:"datepicker",link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}).directive("daypicker",["dateFilter",function(e){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/day.html",require:"^datepicker",link:function(t,n,r,i){t.showWeeks=i.showWeeks,i.step={months:1},i.element=n;var a=[31,28,31,30,31,30,31,31,30,31,30,31];function o(e,t){return 1!==t||e%4!=0||e%100==0&&e%400!=0?a[t]:29}function s(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}i._refreshView=function(){var n=i.activeDate.getFullYear(),r=i.activeDate.getMonth(),a=new Date(n,r,1),o=i.startingDay-a.getDay(),l=o>0?7-o:-o,u=new Date(a);l>0&&u.setDate(1-l);for(var c=function(e,t){for(var n,r=new Array(t),a=new Date(e),o=0;o<t;)n=new Date(a),i.fixTimeZone(n),r[o++]=n,a.setDate(a.getDate()+1);return r}(u,42),f=0;f<42;f++)c[f]=angular.extend(i.createDateObject(c[f],i.formatDay),{secondary:c[f].getMonth()!==r,uid:t.uniqueId+"-"+f});t.labels=new Array(7);for(var d=0;d<7;d++)t.labels[d]={abbr:e(c[d].date,i.formatDayHeader),full:e(c[d].date,"EEEE")};if(t.title=e(i.activeDate,i.formatDayTitle),t.rows=i.split(c,7),t.showWeeks){t.weekNumbers=[];for(var h=(11-i.startingDay)%7,p=t.rows.length,m=0;m<p;m++)t.weekNumbers.push(s(t.rows[m][h].date))}},i.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},i.handleKeyDown=function(e,t){var n=i.activeDate.getDate();if("left"===e)n-=1;else if("up"===e)n-=7;else if("right"===e)n+=1;else if("down"===e)n+=7;else if("pageup"===e||"pagedown"===e){var r=i.activeDate.getMonth()+("pageup"===e?-1:1);i.activeDate.setMonth(r,1),n=Math.min(o(i.activeDate.getFullYear(),i.activeDate.getMonth()),n)}else"home"===e?n=1:"end"===e&&(n=o(i.activeDate.getFullYear(),i.activeDate.getMonth()));i.activeDate.setDate(n)},i.refreshView()}}}]).directive("monthpicker",["dateFilter",function(e){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/month.html",require:"^datepicker",link:function(t,n,r,i){i.step={years:1},i.element=n,i._refreshView=function(){for(var n,r=new Array(12),a=i.activeDate.getFullYear(),o=0;o<12;o++)n=new Date(a,o,1),i.fixTimeZone(n),r[o]=angular.extend(i.createDateObject(n,i.formatMonth),{uid:t.uniqueId+"-"+o});t.title=e(i.activeDate,i.formatMonthTitle),t.rows=i.split(r,3)},i.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth())-new Date(t.getFullYear(),t.getMonth())},i.handleKeyDown=function(e,t){var n=i.activeDate.getMonth();if("left"===e)n-=1;else if("up"===e)n-=3;else if("right"===e)n+=1;else if("down"===e)n+=3;else if("pageup"===e||"pagedown"===e){var r=i.activeDate.getFullYear()+("pageup"===e?-1:1);i.activeDate.setFullYear(r)}else"home"===e?n=0:"end"===e&&(n=11);i.activeDate.setMonth(n)},i.refreshView()}}}]).directive("yearpicker",["dateFilter",function(e){return{restrict:"EA",replace:!0,templateUrl:"template/datepicker/year.html",require:"^datepicker",link:function(e,t,n,r){var i=r.yearRange;function a(e){return parseInt((e-1)/i,10)*i+1}r.step={years:i},r.element=t,r._refreshView=function(){for(var t,n=new Array(i),o=0,s=a(r.activeDate.getFullYear());o<i;o++)t=new Date(s+o,0,1),r.fixTimeZone(t),n[o]=angular.extend(r.createDateObject(t,r.formatYear),{uid:e.uniqueId+"-"+o});e.title=[n[0].label,n[i-1].label].join(" - "),e.rows=r.split(n,5)},r.compare=function(e,t){return e.getFullYear()-t.getFullYear()},r.handleKeyDown=function(e,t){var n=r.activeDate.getFullYear();"left"===e?n-=1:"up"===e?n-=5:"right"===e?n+=1:"down"===e?n+=5:"pageup"===e||"pagedown"===e?n+=("pageup"===e?-1:1)*r.step.years:"home"===e?n=a(r.activeDate.getFullYear()):"end"===e&&(n=a(r.activeDate.getFullYear())+i-1),r.activeDate.setFullYear(n)},r.refreshView()}}}]).constant("datepickerPopupConfig",{datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"template/datepicker/popup.html",datepickerTemplateUrl:"template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},currentText:"Today",clearText:"Clear",closeText:"Done",closeOnDateSelection:!0,appendToBody:!1,showButtonBar:!0,onOpenFocus:!0}).directive("datepickerPopup",["$compile","$parse","$document","$rootScope","$position","dateFilter","dateParser","datepickerPopupConfig","$timeout",function(e,t,n,r,i,a,o,s,l){return{restrict:"EA",require:"ngModel",scope:{isOpen:"=?",currentText:"@",clearText:"@",closeText:"@",dateDisabled:"&",customClass:"&"},link:function(u,c,f,d){var h,p=angular.isDefined(f.closeOnDateSelection)?u.$parent.$eval(f.closeOnDateSelection):s.closeOnDateSelection,m=angular.isDefined(f.datepickerAppendToBody)?u.$parent.$eval(f.datepickerAppendToBody):s.appendToBody,g=angular.isDefined(f.onOpenFocus)?u.$parent.$eval(f.onOpenFocus):s.onOpenFocus,v=angular.isDefined(f.datepickerPopupTemplateUrl)?f.datepickerPopupTemplateUrl:s.datepickerPopupTemplateUrl,y=angular.isDefined(f.datepickerTemplateUrl)?f.datepickerTemplateUrl:s.datepickerTemplateUrl,$={};u.showButtonBar=angular.isDefined(f.showButtonBar)?u.$parent.$eval(f.showButtonBar):s.showButtonBar,u.getText=function(e){return u[e+"Text"]||s[e+"Text"]},u.isDisabled=function(e){return"today"===e&&(e=new Date),u.watchData.minDate&&u.compare(e,$.minDate)<0||u.watchData.maxDate&&u.compare(e,$.maxDate)>0},u.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())};var b=!1;if(s.html5Types[f.type]?(h=s.html5Types[f.type],b=!0):(h=f.datepickerPopup||s.datepickerPopup,f.$observe("datepickerPopup",function(e,t){var n=e||s.datepickerPopup;if(n!==h&&(h=n,d.$modelValue=null,!h))throw new Error("datepickerPopup must have a date format specified.")})),!h)throw new Error("datepickerPopup must have a date format specified.");if(b&&f.datepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");var w=angular.element("<div datepicker-popup-wrap><div datepicker></div></div>");function x(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}w.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":v});var _=angular.element(w.children()[0]);if(_.attr("template-url",y),b&&"month"===f.type&&(_.attr("datepicker-mode",'"month"'),_.attr("min-mode","month")),f.datepickerOptions){var C=u.$parent.$eval(f.datepickerOptions);C&&C.initDate&&(u.initDate=C.initDate,_.attr("init-date","initDate"),delete C.initDate),angular.forEach(C,function(e,t){_.attr(x(t),e)})}u.watchData={},angular.forEach(["minMode","maxMode","minDate","maxDate","datepickerMode","initDate","shortcutPropagation"],function(e){if(f[e]){var n=t(f[e]);
9if(u.$parent.$watch(n,function(t){u.watchData[e]=t,"minDate"!==e&&"maxDate"!==e||($[e]=new Date(t))}),_.attr(x(e),"watchData."+e),"datepickerMode"===e){var r=n.assign;u.$watch("watchData."+e,function(e,t){angular.isFunction(r)&&e!==t&&r(u.$parent,e)})}}}),f.dateDisabled&&_.attr("date-disabled","dateDisabled({ date: date, mode: mode })"),f.showWeeks&&_.attr("show-weeks",f.showWeeks),f.customClass&&_.attr("custom-class","customClass({ date: date, mode: mode })"),b?d.$formatters.push(function(e){return u.date=e,e}):(d.$$parserName="date",d.$validators.date=function(e,t){var n=e||t;if(!f.ngRequired&&!n)return!0;if(angular.isNumber(n)&&(n=new Date(n)),n){if(angular.isDate(n)&&!isNaN(n))return!0;if(angular.isString(n)){var r=o.parse(n,h);return!isNaN(r)}return!1}return!0},d.$parsers.unshift(function(e){if(angular.isNumber(e)&&(e=new Date(e)),!e)return null;if(angular.isDate(e)&&!isNaN(e))return e;if(angular.isString(e)){var t=o.parse(e,h,u.date);return isNaN(t)?void 0:t}}),d.$formatters.push(function(e){return u.date=e,d.$isEmpty(e)?e:a(e,h)})),u.dateSelection=function(e){angular.isDefined(e)&&(u.date=e);var t=u.date?a(u.date,h):null;c.val(t),d.$setViewValue(t),p&&(u.isOpen=!1,c[0].focus())},d.$viewChangeListeners.push(function(){u.date=o.parse(d.$viewValue,h,u.date)});var k=function(e){!u.isOpen||c[0].contains(e.target)||w[0].contains(e.target)||u.$apply(function(){u.isOpen=!1})},D=function(e){27===e.which&&u.isOpen?(e.preventDefault(),e.stopPropagation(),u.$apply(function(){u.isOpen=!1}),c[0].focus()):40!==e.which||u.isOpen||(e.preventDefault(),e.stopPropagation(),u.$apply(function(){u.isOpen=!0}))};c.bind("keydown",D),u.keydown=function(e){27===e.which&&(u.isOpen=!1,c[0].focus())},u.$watch("isOpen",function(e){e?(u.position=m?i.offset(c):i.position(c),u.position.top=u.position.top+c.prop("offsetHeight"),l(function(){g&&u.$broadcast("datepicker.focus"),n.bind("click",k)},0,!1)):n.unbind("click",k)}),u.select=function(e){if("today"===e){var t=new Date;angular.isDate(u.date)?(e=new Date(u.date)).setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):e=new Date(t.setHours(0,0,0,0))}u.dateSelection(e)},u.close=function(){u.isOpen=!1,c[0].focus()};var S=e(w)(u);w.remove(),m?n.find("body").append(S):c.after(S),u.$on("$destroy",function(){!0===u.isOpen&&(r.$$phase||u.$apply(function(){u.isOpen=!1})),S.remove(),c.unbind("keydown",D),n.unbind("click",k)})}}}]).directive("datepickerPopupWrap",function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"template/datepicker/popup.html"}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.position"]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document","$rootScope",function(e,t){var n=null;this.open=function(t){n||(e.bind("click",r),e.bind("keydown",i)),n&&n!==t&&(n.isOpen=!1),n=t},this.close=function(t){n===t&&(n=null,e.unbind("click",r),e.unbind("keydown",i))};var r=function(e){if(n&&(!e||"disabled"!==n.getAutoClose())){var r=n.getToggleElement();if(!(e&&r&&r[0].contains(e.target))){var i=n.getDropdownElement();e&&"outsideClick"===n.getAutoClose()&&i&&i[0].contains(e.target)||(n.isOpen=!1,t.$$phase||n.$apply())}}},i=function(e){27===e.which?(n.focusToggleElement(),r()):n.isKeynavEnabled()&&/(38|40)/.test(e.which)&&n.isOpen&&(e.preventDefault(),e.stopPropagation(),n.focusDropdownEntry(e.which))}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate","$position","$document","$compile","$templateRequest",function(e,t,n,r,i,a,o,s,l,u){var c,f,d=this,h=e.$new(),p=r.openClass,m=angular.noop,g=t.onToggle?n(t.onToggle):angular.noop,v=!1,y=!1,$=s.find("body");this.init=function(r){d.$element=r,t.isOpen&&(f=n(t.isOpen),m=f.assign,e.$watch(f,function(e){h.isOpen=!!e})),v=angular.isDefined(t.dropdownAppendToBody),y=angular.isDefined(t.keyboardNav),v&&d.dropdownMenu&&($.append(d.dropdownMenu),$.addClass("dropdown"),r.on("$destroy",function(){d.dropdownMenu.remove()}))},this.toggle=function(e){return h.isOpen=arguments.length?!!e:!h.isOpen},this.isOpen=function(){return h.isOpen},h.getToggleElement=function(){return d.toggleElement},h.getAutoClose=function(){return t.autoClose||"always"},h.getElement=function(){return d.$element},h.isKeynavEnabled=function(){return y},h.focusDropdownEntry=function(e){var t=d.dropdownMenu?angular.element(d.dropdownMenu).find("a"):angular.element(d.$element).find("ul").eq(0).find("a");switch(e){case 40:angular.isNumber(d.selectedOption)?d.selectedOption=d.selectedOption===t.length-1?d.selectedOption:d.selectedOption+1:d.selectedOption=0;break;case 38:angular.isNumber(d.selectedOption)?d.selectedOption=0===d.selectedOption?0:d.selectedOption-1:d.selectedOption=t.length-1}t[d.selectedOption].focus()},h.getDropdownElement=function(){return d.dropdownMenu},h.focusToggleElement=function(){d.toggleElement&&d.toggleElement[0].focus()},h.$watch("isOpen",function(t,n){if(v&&d.dropdownMenu){var r=o.positionElements(d.$element,d.dropdownMenu,"bottom-left",!0),s={top:r.top+"px",display:t?"block":"none"};d.dropdownMenu.hasClass("dropdown-menu-right")?(s.left="auto",s.right=window.innerWidth-(r.left+d.$element.prop("offsetWidth"))+"px"):(s.left=r.left+"px",s.right="auto"),d.dropdownMenu.css(s)}var f=v?$:d.$element;if(a[t?"addClass":"removeClass"](f,p).then(function(){angular.isDefined(t)&&t!==n&&g(e,{open:!!t})}),t)d.dropdownMenuTemplateUrl&&u(d.dropdownMenuTemplateUrl).then(function(e){c=h.$new(),l(e.trim())(c,function(e){var t=e;d.dropdownMenu.replaceWith(t),d.dropdownMenu=t})}),h.focusToggleElement(),i.open(h);else{if(d.dropdownMenuTemplateUrl){c&&c.$destroy();var y=angular.element('<ul class="dropdown-menu"></ul>');d.dropdownMenu.replaceWith(y),d.dropdownMenu=y}i.close(h),d.selectedOption=null}angular.isFunction(m)&&m(e,t)}),e.$on("$locationChangeSuccess",function(){"disabled"!==h.getAutoClose()&&(h.isOpen=!1)});var b=e.$on("$destroy",function(){h.$destroy()});h.$on("$destroy",b)}]).directive("dropdown",function(){return{controller:"DropdownController",link:function(e,t,n,r){r.init(t),t.addClass("dropdown")}}}).directive("dropdownMenu",function(){return{restrict:"AC",require:"?^dropdown",link:function(e,t,n,r){if(r){var i=n.templateUrl;i&&(r.dropdownMenuTemplateUrl=i),r.dropdownMenu||(r.dropdownMenu=t)}}}}).directive("keyboardNav",function(){return{restrict:"A",require:"?^dropdown",link:function(e,t,n,r){t.bind("keydown",function(e){if(-1!==[38,40].indexOf(e.which)){e.preventDefault(),e.stopPropagation();var t=r.dropdownMenu.find("a");switch(e.which){case 40:angular.isNumber(r.selectedOption)?r.selectedOption=r.selectedOption===t.length-1?r.selectedOption:r.selectedOption+1:r.selectedOption=0;break;case 38:angular.isNumber(r.selectedOption)?r.selectedOption=0===r.selectedOption?0:r.selectedOption-1:r.selectedOption=t.length-1}t[r.selectedOption].focus()}})}}}).directive("dropdownToggle",function(){return{require:"?^dropdown",link:function(e,t,n,r){if(r){t.addClass("dropdown-toggle"),r.toggleElement=t;var i=function(i){i.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply(function(){r.toggle(
9)})};t.bind("click",i),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(r.isOpen,function(e){t.attr("aria-expanded",!!e)}),e.$on("$destroy",function(){t.unbind("click",i)})}}}}),angular.module("ui.bootstrap.modal",[]).factory("$$stackedMap",function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n<e.length;n++)if(t==e[n].key)return e[n]},keys:function(){for(var t=[],n=0;n<e.length;n++)t.push(e[n].key);return t},top:function(){return e[e.length-1]},remove:function(t){for(var n=-1,r=0;r<e.length;r++)if(t==e[r].key){n=r;break}return e.splice(n,1)[0]},removeTop:function(){return e.splice(e.length-1,1)[0]},length:function(){return e.length}}}}}).factory("$$multiMap",function(){return{createNew:function(){var e={};return{entries:function(){return Object.keys(e).map(function(t){return{key:t,value:e[t]}})},get:function(t){return e[t]},hasKey:function(t){return!!e[t]},keys:function(){return Object.keys(e)},put:function(t,n){e[t]||(e[t]=[]),e[t].push(n)},remove:function(t,n){var r=e[t];if(r){var i=r.indexOf(n);-1!==i&&r.splice(i,1),r.length||delete e[t]}}}}}}).directive("modalBackdrop",["$animate","$injector","$modalStack",function(e,t,n){var r=null;return t.has("$animateCss")&&(r=t.get("$animateCss")),{restrict:"EA",replace:!0,templateUrl:"template/modal/backdrop.html",compile:function(e,t){return e.addClass(t.backdropClass),i}};function i(t,i,a){a.modalInClass&&(r?r(i,{addClass:a.modalInClass}).start():e.addClass(i,a.modalInClass),t.$on(n.NOW_CLOSING_EVENT,function(t,n){var o=n();r?r(i,{removeClass:a.modalInClass}).start().then(o):e.removeClass(i,a.modalInClass).then(o)}))}}]).directive("modalWindow",["$modalStack","$q","$animate","$injector",function(e,t,n,r){var i=null;return r.has("$animateCss")&&(i=r.get("$animateCss")),{restrict:"EA",scope:{index:"@"},replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"template/modal/window.html"},link:function(r,a,o){a.addClass(o.windowClass||""),r.size=o.size,r.close=function(t){var n=e.getTop();n&&n.value.backdrop&&"static"!==n.value.backdrop&&t.target===t.currentTarget&&(t.preventDefault(),t.stopPropagation(),e.dismiss(n.key,"backdrop click"))},r.$isRendered=!0;var s=t.defer();o.$observe("modalRender",function(e){"true"==e&&s.resolve()}),s.promise.then(function(){var s=null;o.modalInClass&&(s=i?i(a,{addClass:o.modalInClass}).start():n.addClass(a,o.modalInClass),r.$on(e.NOW_CLOSING_EVENT,function(e,t){var r=t();i?i(a,{removeClass:o.modalInClass}).start().then(r):n.removeClass(a,o.modalInClass).then(r)})),t.when(s).then(function(){var e=a[0].querySelectorAll("[autofocus]");e.length?e[0].focus():a[0].focus()});var l=e.getTop();l&&e.modalRendered(l.key)})}}}]).directive("modalAnimationClass",[function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.modalAnimationClass)}}}]).directive("modalTransclude",function(){return{link:function(e,t,n,r,i){i(e.$parent,function(e){t.empty(),t.append(e)})}}}).factory("$modalStack",["$animate","$timeout","$document","$compile","$rootScope","$q","$injector","$$multiMap","$$stackedMap",function(e,t,n,r,i,a,o,s,l){var u=null;o.has("$animateCss")&&(u=o.get("$animateCss"));var c,f,d,h="modal-open",p=l.createNew(),m=s.createNew(),g={NOW_CLOSING_EVENT:"modal.stack.now-closing"};function v(){for(var e=-1,t=p.keys(),n=0;n<t.length;n++)p.get(t[n]).value.backdrop&&(e=n);return e}function y(e,t){var r=n.find("body").eq(0),i=p.get(e).value;p.remove(e),$(i.modalDomEl,i.modalScope,function(){var t=i.openedClass||h;m.remove(t,e),r.toggleClass(t,m.hasKey(t))}),c&&-1==v()&&($(c,f,function(){}),c=void 0,f=void 0),t&&t.focus?t.focus():r.focus()}function $(t,n,r){var i,o=null;return n.$broadcast(g.NOW_CLOSING_EVENT,function(){return i||(i=a.defer(),o=i.promise),function(){i.resolve()}}),a.when(o).then(function i(){i.done||(i.done=!0,u?u(t,{event:"leave"}).start().then(function(){t.remove()}):e.leave(t),n.$destroy(),r&&r())})}function b(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}return i.$watch(v,function(e){f&&(f.index=e)}),n.bind("keydown",function(e){if(e.isDefaultPrevented())return e;var t=p.top();if(t&&t.value.keyboard)switch(e.which){case 27:e.preventDefault(),i.$apply(function(){g.dismiss(t.key,"escape key press")});break;case 9:g.loadFocusElementList(t);var n=!1;e.shiftKey?g.isFocusInFirstItem(e)&&(n=g.focusLastFocusableElement()):g.isFocusInLastItem(e)&&(n=g.focusFirstFocusableElement()),n&&(e.preventDefault(),e.stopPropagation())}}),g.open=function(e,t){var a=n[0].activeElement,o=t.openedClass||h;p.add(e,{deferred:t.deferred,renderDeferred:t.renderDeferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard,openedClass:t.openedClass}),m.put(o,e);var s=n.find("body").eq(0),l=v();if(l>=0&&!c){(f=i.$new(!0)).index=l;var u=angular.element('<div modal-backdrop="modal-backdrop"></div>');u.attr("backdrop-class",t.backdropClass),t.animation&&u.attr("modal-animation","true"),c=r(u)(f),s.append(c)}var d=angular.element('<div modal-window="modal-window"></div>');d.attr({"template-url":t.windowTemplateUrl,"window-class":t.windowClass,size:t.size,index:
9p.length()-1,animate:"animate"}).html(t.content),t.animation&&d.attr("modal-animation","true");var y=r(d)(t.scope);p.top().value.modalDomEl=y,p.top().value.modalOpener=a,s.append(y),s.addClass(o),g.clearFocusListCache()},g.close=function(e,t){var n=p.get(e);return n&&b(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),y(e,n.value.modalOpener),!0):!n},g.dismiss=function(e,t){var n=p.get(e);return n&&b(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),y(e,n.value.modalOpener),!0):!n},g.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},g.getTop=function(){return p.top()},g.modalRendered=function(e){var t=p.get(e);t&&t.value.renderDeferred.resolve()},g.focusFirstFocusableElement=function(){return d.length>0&&(d[0].focus(),!0)},g.focusLastFocusableElement=function(){return d.length>0&&(d[d.length-1].focus(),!0)},g.isFocusInFirstItem=function(e){return d.length>0&&(e.target||e.srcElement)==d[0]},g.isFocusInLastItem=function(e){return d.length>0&&(e.target||e.srcElement)==d[d.length-1]},g.clearFocusListCache=function(){d=[]},g.loadFocusElementList=function(e){if((void 0===d||!d.length0)&&e){var t=e.value.modalDomEl;t&&t.length&&(d=t[0].querySelectorAll("a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]"))}},g}]).provider("$modal",function(){var e={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$templateRequest","$controller","$modalStack",function(t,n,r,i,a,o){var s={},l=null;return s.getPromiseChain=function(){return l},s.open=function(s){var u=r.defer(),c=r.defer(),f=r.defer(),d={result:u.promise,opened:c.promise,rendered:f.promise,close:function(e){return o.close(d,e)},dismiss:function(e){return o.dismiss(d,e)}};if((s=angular.extend({},e.options,s)).resolve=s.resolve||{},!s.template&&!s.templateUrl)throw new Error("One of template or templateUrl options is required.");var h,p,m,g,v=r.all([(m=s,m.template?r.when(m.template):i(angular.isFunction(m.templateUrl)?m.templateUrl():m.templateUrl))].concat((h=s.resolve,p=[],angular.forEach(h,function(e){angular.isFunction(e)||angular.isArray(e)?p.push(r.when(t.invoke(e))):angular.isString(e)?p.push(r.when(t.get(e))):p.push(r.when(e))}),p)));return g=l=r.all([l]).then(function(){return v},function(){return v}).then(function(e){var t=(s.scope||n).$new();t.$close=d.close,t.$dismiss=d.dismiss,t.$on("$destroy",function(){t.$$uibDestructionScheduled||t.$dismiss("$uibUnscheduledDestruction")});var r,i={},l=1;s.controller&&(i.$scope=t,i.$modalInstance=d,angular.forEach(s.resolve,function(t,n){i[n]=e[l++]}),r=a(s.controller,i),s.controllerAs&&(s.bindToController&&angular.extend(r,t),t[s.controllerAs]=r)),o.open(d,{scope:t,deferred:u,renderDeferred:f,content:e[0],animation:s.animation,backdrop:s.backdrop,keyboard:s.keyboard,backdropClass:s.backdropClass,windowClass:s.windowClass,windowTemplateUrl:s.windowTemplateUrl,size:s.size,openedClass:s.openedClass}),c.resolve(!0)},function(e){c.reject(e),u.reject(e)}).finally(function(){l===g&&(l=null)}),d},s}]};return e}),angular.module("ui.bootstrap.pagination",[]).controller("PaginationController",["$scope","$attrs","$parse",function(e,t,n){var r=this,i={$setViewValue:angular.noop},a=t.numPages?n(t.numPages).assign:angular.noop;this.init=function(o,s){i=o,this.config=s,i.$render=function(){r.render()},t.itemsPerPage?e.$parent.$watch(n(t.itemsPerPage),function(t){r.itemsPerPage=parseInt(t,10),e.totalPages=r.calculateTotalPages()}):this.itemsPerPage=s.itemsPerPage,e.$watch("totalItems",function(){e.totalPages=r.calculateTotalPages()}),e.$watch("totalPages",function(t){a(e.$parent,t),e.page>t?e.selectPage(t):i.$render()})},this.calculateTotalPages=function(){var t=this.itemsPerPage<1?1:Math.ceil(e.totalItems/this.itemsPerPage);return Math.max(t||0,1)},this.render=function(){e.page=parseInt(i.$viewValue,10)||1},e.selectPage=function(t,n){n&&n.preventDefault(),(!e.ngDisabled||!n)&&e.page!==t&&t>0&&t<=e.totalPages&&(n&&n.target&&n.target.blur(),i.$setViewValue(t),i.$render())},e.getText=function(t){return e[t+"Text"]||r.config[t+"Text"]},e.noPrevious=function(){return 1===e.page},e.noNext=function(){return e.page===e.totalPages}}]).constant("paginationConfig",{itemsPerPage:10,boundaryLinks:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0}).directive("pagination",["$parse","paginationConfig",function(e,t){return{restrict:"EA",scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["pagination","?ngModel"],controller:"PaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"template/pagination/pagination.html"},replace:!0,link:function(n,r,i,a){var o=a[0],s=a[1];if(s){var l=angular.isDefined(i.maxSize)?n.$parent.$eval(i.maxSize):t.maxSize,u=angular.isDefined(i.rotate)?n.$parent.$eval(i.rotate):t.rotate;n.boundaryLinks=angular.isDefined(i.boundaryLinks)?n.$parent.$eval(i.boundaryLinks):t.boundaryLinks,n.directionLinks=angular.isDefined(i.directionLinks)?n.$parent.$eval(i.directionLinks):t.directionLinks,o.init(s,t),i.maxSize&&n.$parent.$watch(e(i.maxSize),function(e){l=parseInt(e,10),o.render()});var c=o.render;o.render=function(){c(),n.page>0&&n.page<=n.totalPages&&(n.pages=function(e,t){var n=[],r=1,i=t,a=angular.isDefined(l)&&l<t;a&&(u?(i=(r=Math.max(e-Math.floor(l/2),1))+l-1)>t&&(r=(i=t)-l+1):(r=(Math.ceil(e/l)-1)*l+1,i=Math.min(r+l-1,t)));for(var o=r;o<=i;o++){var s=f(o,o,o===e);n.push(s)}
9if(a&&!u){if(r>1){var c=f(r-1,"...",!1);n.unshift(c)}if(i<t){var d=f(i+1,"...",!1);n.push(d)}}return n}(n.page,n.totalPages))}}function f(e,t,n){return{number:e,text:t,active:n}}}}}]).constant("pagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("pager",["pagerConfig",function(e){return{restrict:"EA",scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["pager","?ngModel"],controller:"PaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"template/pagination/pager.html"},replace:!0,link:function(t,n,r,i){var a=i[0],o=i[1];o&&(t.align=angular.isDefined(r.align)?t.$parent.$eval(r.align):e.align,a.init(o,e))}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){var e={placement:"top",animation:!0,popupDelay:0,useContentExp:!1},t={mouseenter:"mouseleave",click:"click",focus:"blur",none:""},n={};this.options=function(e){angular.extend(n,e)},this.setTriggers=function(e){angular.extend(t,e)},this.$get=["$window","$compile","$timeout","$document","$position","$interpolate","$rootScope","$parse",function(r,i,a,o,s,l,u,c){return function(r,f,d,h){function p(e){var n=(e||h.trigger||d).split(" ");return{show:n,hide:n.map(function(e){return t[e]||e})}}h=angular.extend({},e,n,h);var m=r.replace(/[A-Z]/g,function(e,t){return(t?"-":"")+e.toLowerCase()}),g=l.startSymbol(),v=l.endSymbol(),y="<div "+m+'-popup title="'+g+"title"+v+'" '+(h.useContentExp?'content-exp="contentExp()" ':'content="'+g+"content"+v+'" ')+'placement="'+g+"placement"+v+'" popup-class="'+g+"popupClass"+v+'" animation="animation" is-open="isOpen"origin-scope="origScope" ></div>';return{restrict:"EA",compile:function(e,t){var n=i(y);return function(e,t,i,l){var d,m,g,v,y,$=!!angular.isDefined(h.appendToBody)&&h.appendToBody,b=p(void 0),w=angular.isDefined(i[f+"Enable"]),x=e.$new(!0),_=!1,C=!!angular.isDefined(i[f+"IsOpen"])&&c(i[f+"IsOpen"]),k=function(){d&&(y||(y=a(function(){d.css({top:0,left:0,width:"auto",height:"auto"});var e=s.position(d),n=s.positionElements(t,d,x.placement,$);n.top+="px",n.left+="px",n.width=e.width+"px",n.height=e.height+"px",d.css(n),y=null},0,!1)))};function D(){x.isOpen?T():S()}function S(){var t,n;w&&!e.$eval(i[f+"Enable"])||(x.popupClass=i[f+"Class"],A(),t=i[f+"PopupDelay"],n=parseInt(t,10),x.popupDelay=isNaN(n)?h.popupDelay:n,x.popupDelay?v||(v=a(E,x.popupDelay,!1)):E())}function T(){O(),u.$$phase||u.$digest()}function E(){if(v=null,g&&(a.cancel(g),g=null),!(h.useContentExp?x.contentExp():x.content))return angular.noop;d&&M(),m=x.$new(),d=n(m,function(e){$?o.find("body").append(e):t.after(e)}),h.useContentExp&&(m.$watch("contentExp()",function(e){!e&&x.isOpen&&O()}),m.$watch(function(){_||(_=!0,m.$$postDigest(function(){_=!1,x.isOpen&&k()}))})),x.isOpen=!0,C&&C.assign(x.origScope,x.isOpen),u.$$phase||x.$apply(),d.css({display:"block"}),k()}function O(){x.isOpen=!1,C&&C.assign(x.origScope,x.isOpen),a.cancel(v),v=null,a.cancel(y),y=null,x.animation?g||(g=a(M,500)):M()}function M(){g=null,d&&(d.remove(),d=null),m&&(m.$destroy(),m=null)}function A(){var e=i[f+"Placement"];x.placement=angular.isDefined(e)?e:h.placement}x.origScope=e,x.isOpen=!1,x.contentExp=function(){return e.$eval(i[r])},h.useContentExp||i.$observe(r,function(e){x.content=e,!e&&x.isOpen?O():k()}),i.$observe("disabled",function(e){v&&e&&(a.cancel(v),v=null),e&&x.isOpen&&O()}),i.$observe(f+"Title",function(e){x.title=e,k()}),i.$observe(f+"Placement",function(){x.isOpen&&(A(),k())}),C&&e.$watch(C,function(e){e!==x.isOpen&&D()});var I,P=function(){b.show.forEach(function(e){t.unbind(e,S)}),b.hide.forEach(function(e){t.unbind(e,T)})};I=i[f+"Trigger"],P(),"none"!==(b=p(I)).show&&b.show.forEach(function(e,n){e===b.hide[n]?t[0].addEventListener(e,D):e&&(t[0].addEventListener(e,S),t[0].addEventListener(b.hide[n],T))});var R=e.$eval(i[f+"Animation"]);x.animation=angular.isDefined(R)?!!R:h.animation;var j=e.$eval(i[f+"AppendToBody"]);($=angular.isDefined(j)?j:$)&&e.$on("$locationChangeSuccess",function(){x.isOpen&&O()}),e.$on("$destroy",function(){a.cancel(g),a.cancel(v),a.cancel(y),P(),M(),x=null})}}}}}]}).directive("tooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(e,t,n,r){return{link:function(i,a,o){var s,l,u,c=i.$eval(o.tooltipTemplateTranscludeScope),f=0,d=function(){l&&(l.remove(),l=null),s&&(s.$destroy(),s=null),u&&(e.leave(u).then(function(){l=null}),l=u,u=null)};i.$watch(t.parseAsResourceUrl(o.tooltipTemplateTransclude),function(t){var o=++f;t?(r(t,!0).then(function(r){if(o===f){var i=c.$new(),l=n(r)(i,function(t){d(),e.enter(t,a)});u=l,(s=i).$emit("$includeContentLoaded",t)}},function(){o===f&&(d(),i.$emit("$includeContentError",t))}),i.$emit("$includeContentRequested",t)):d()}),i.$on("$destroy",d)}}}]).directive("tooltipClasses",function(){return{restrict:"A",link:function(e,t,n){e.placement&&t.addClass(e.placement),e.popupClass&&t.addClass(e.popupClass),e.animation()&&t.addClass(n.tooltipAnimationClass)}}}).directive("tooltipPopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function(e){return e("tooltip","tooltip","mouseenter")}]).directive("tooltipTemplatePopup",function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"template/tooltip/tooltip-template-popup.html"}}).directive("tooltipTemplate",["$tooltip",function(e){return e("tooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlPopup",function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-popup.html"}}).directive("tooltipHtml",["$tooltip",function(e){return e("tooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).value("tooltipHtmlUnsafeSuppressDeprecated",!1).directive("tooltipHtmlUnsafe",["$tooltip","tooltipHtmlUnsafeSuppressDeprecated","$log",function(e,t,n){return t||n.warn("tooltip-html-unsafe is now deprecated. Use tooltip-html or tooltip-template instead."),e("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("popoverTemplatePopup",function(){return{restrict:"EA",replace:!0,scope:{title:"@",contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"template/popover/popover-template.html"}}).directive("popoverTemplate",["$tooltip",function(e){return e("popoverTemplate","popover","click",{useContentExp:!0})}]).directive("popoverHtmlPopup",function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",title:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover-html.html"}}).directive("popoverHtml",["$tooltip",function(e){return e("popoverHtml","popover","click",{useContentExp:!0})}]).directive("popoverPopup",function(){return{restrict:"EA",replace:!0,scope:{title:"@",content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/popover/popover.html"}}).directive("popover",["$tooltip",function(e){return e("popover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("progressConfig",{animate:!0,max:100}).value("$progressSuppressWarning",!1).controller("ProgressController",["$scope","$attrs","progressConfig",function(e,t,n){var r=this,i=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;this.bars=[],e.max=angular.isDefined(e.max)?e.max:n.max,this.addBar=function(t,n){i||n.css({transition:"none"}),this.bars.push(t),t.max=e.max,t.$watch("value",function(e){t.recalculatePercentage()}),t.recalculatePercentage=function(){t.percent=+(100*t.value/t.max).toFixed(2);var e=r.bars.reduce(function(e,t){return e+t.percent},0);e>100&&(t.percent-=e-100)},t.$on("$destroy",function(){n=null,r.removeBar(t)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1)}
9,e.$watch("max",function(t){r.bars.forEach(function(t){t.max=e.max,t.recalculatePercentage()})})}]).directive("uibProgress",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",require:"uibProgress",scope:{max:"=?"},templateUrl:"template/progressbar/progress.html"}}).directive("progress",["$log","$progressSuppressWarning",function(e,t){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",require:"progress",scope:{max:"=?"},templateUrl:"template/progressbar/progress.html",link:function(){t&&e.warn("progress is now deprecated. Use uib-progress instead")}}}]).directive("uibBar",function(){return{restrict:"EA",replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function(e,t,n,r){r.addBar(e,t)}}}).directive("bar",["$log","$progressSuppressWarning",function(e,t){return{restrict:"EA",replace:!0,transclude:!0,require:"^progress",scope:{value:"=",type:"@"},templateUrl:"template/progressbar/bar.html",link:function(n,r,i,a){t&&e.warn("bar is now deprecated. Use uib-bar instead"),a.addBar(n,r)}}}]).directive("progressbar",function(){return{restrict:"EA",replace:!0,transclude:!0,controller:"ProgressController",scope:{value:"=",max:"=?",type:"@"},templateUrl:"template/progressbar/progressbar.html",link:function(e,t,n,r){r.addBar(e,angular.element(t.children()[0]))}}}),angular.module("ui.bootstrap.rating",[]).constant("ratingConfig",{max:5,stateOn:null,stateOff:null,titles:["one","two","three","four","five"]}).controller("RatingController",["$scope","$attrs","ratingConfig",function(e,t,n){var r={$setViewValue:angular.noop};this.init=function(i){(r=i).$render=this.render,r.$formatters.push(function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e}),this.stateOn=angular.isDefined(t.stateOn)?e.$parent.$eval(t.stateOn):n.stateOn,this.stateOff=angular.isDefined(t.stateOff)?e.$parent.$eval(t.stateOff):n.stateOff;var a=angular.isDefined(t.titles)?e.$parent.$eval(t.titles):n.titles;this.titles=angular.isArray(a)&&a.length>0?a:n.titles;var o=angular.isDefined(t.ratingStates)?e.$parent.$eval(t.ratingStates):new Array(angular.isDefined(t.max)?e.$parent.$eval(t.max):n.max);e.range=this.buildTemplateObjects(o)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;t<n;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},e.rate=function(t){!e.readonly&&t>=0&&t<=e.range.length&&(r.$setViewValue(r.$viewValue===t?0:t),r.$render())},e.enter=function(t){e.readonly||(e.value=t),e.onHover({value:t})},e.reset=function(){e.value=r.$viewValue,e.onLeave()},e.onKeydown=function(t){/(37|38|39|40)/.test(t.which)&&(t.preventDefault(),t.stopPropagation(),e.rate(e.value+(38===t.which||39===t.which?1:-1)))},this.render=function(){e.value=r.$viewValue}}]).directive("rating",function(){return{restrict:"EA",require:["rating","ngModel"],scope:{readonly:"=?",onHover:"&",onLeave:"&"},controller:"RatingController",templateUrl:"template/rating/rating.html",replace:!0,link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}),angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function(e){var t,n=this,r=n.tabs=e.tabs=[];n.select=function(e){angular.forEach(r,function(t){t.active&&t!==e&&(t.active=!1,t.onDeselect(),e.selectCalled=!1)}),e.active=!0,e.selectCalled||(e.onSelect(),e.selectCalled=!0)},n.addTab=function(e){r.push(e),1===r.length&&!1!==e.active?e.active=!0:e.active?n.select(e):e.active=!1},n.removeTab=function(e){var i=r.indexOf(e);if(e.active&&r.length>1&&!t){var a=i==r.length-1?i-1:i+1;n.select(r[a])}r.splice(i,1)},e.$on("$destroy",function(){t=!0})}]).directive("tabset",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function(e,t,n){e.vertical=!!angular.isDefined(n.vertical)&&e.$parent.$eval(n.vertical),e.justified=!!angular.isDefined(n.justified)&&e.$parent.$eval(n.justified)}}}).directive("tab",["$parse","$log",function(e,t){return{require:"^tabset",restrict:"EA",replace:!0,templateUrl:"template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},link:function(n,r,i,a,o){n.$watch("active",function(e){e&&a.select(n)}),n.disabled=!1,i.disable&&n.$parent.$watch(e(i.disable),function(e){n.disabled=!!e}),i.disabled&&(t.warn('Use of "disabled" attribute has been deprecated, please use "disable"'),n.$parent.$watch(e(i.disabled),function(e){n.disabled=!!e})),n.select=function(){n.disabled||(n.active=!0)},a.addTab(n),n.$on("$destroy",function(){a.removeTab(n)}),n.$transcludeFn=o}}}]).directive("tabHeadingTransclude",function(){return{restrict:"A",require:"^tab",link:function(e,t,n,r){e.$watch("headingElement",function(e){e&&(t.html(""),t.append(e))})}}}).directive("tabContentTransclude",function(){return{restrict:"A",require:"^tabset",link:function(e,t,n){var r=e.$eval(n.tabContentTransclude);r.$transcludeFn(r.$parent,function(e){angular.forEach(e,function(e){!function(e){return e.tagName&&(e.hasAttribute("tab-heading")||e.hasAttribute("data-tab-heading")||e.hasAttribute("x-tab-heading")||"tab-heading"===e.tagName.toLowerCase()||"data-tab-heading"===e.tagName.toLowerCase()||"x-tab-heading"===e.tagName.toLowerCase())}(e)?t.append(e):r.headingElement=e})})}}}
9),angular.module("ui.bootstrap.timepicker",[]).constant("timepickerConfig",{hourStep:1,minuteStep:1,showMeridian:!0,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0}).controller("TimepickerController",["$scope","$attrs","$parse","$log","$locale","timepickerConfig",function(e,t,n,r,i,a){var o=new Date,s={$setViewValue:angular.noop},l=angular.isDefined(t.meridians)?e.$parent.$eval(t.meridians):a.meridians||i.DATETIME_FORMATS.AMPMS;this.init=function(n,r){(s=n).$render=this.render,s.$formatters.unshift(function(e){return e?new Date(e):null});var i=r.eq(0),o=r.eq(1);(angular.isDefined(t.mousewheel)?e.$parent.$eval(t.mousewheel):a.mousewheel)&&this.setupMousewheelEvents(i,o),(angular.isDefined(t.arrowkeys)?e.$parent.$eval(t.arrowkeys):a.arrowkeys)&&this.setupArrowkeyEvents(i,o),e.readonlyInput=angular.isDefined(t.readonlyInput)?e.$parent.$eval(t.readonlyInput):a.readonlyInput,this.setupInputEvents(i,o)};var u=a.hourStep;t.hourStep&&e.$parent.$watch(n(t.hourStep),function(e){u=parseInt(e,10)});var c,f,d=a.minuteStep;function h(){var t=parseInt(e.hours,10);if(e.showMeridian?t>0&&t<13:t>=0&&t<24)return e.showMeridian&&(12===t&&(t=0),e.meridian===l[1]&&(t+=12)),t}function p(){var t=parseInt(e.minutes,10);return t>=0&&t<60?t:void 0}function m(e){return angular.isDefined(e)&&e.toString().length<2?"0"+e:e.toString()}function g(e){v(),s.$setViewValue(new Date(o)),y(e)}function v(){s.$setValidity("time",!0),e.invalidHours=!1,e.invalidMinutes=!1}function y(t){var n=o.getHours(),r=o.getMinutes();e.showMeridian&&(n=0===n||12===n?12:n%12),e.hours="h"===t?n:m(n),"m"!==t&&(e.minutes=m(r)),e.meridian=o.getHours()<12?l[0]:l[1]}function $(e,t){var n=new Date(e.getTime()+6e4*t),r=new Date(e);return r.setHours(n.getHours(),n.getMinutes()),r}function b(e){o=$(o,e),g()}t.minuteStep&&e.$parent.$watch(n(t.minuteStep),function(e){d=parseInt(e,10)}),e.$parent.$watch(n(t.min),function(e){var t=new Date(e);c=isNaN(t)?void 0:t}),e.$parent.$watch(n(t.max),function(e){var t=new Date(e);f=isNaN(t)?void 0:t}
9),e.noIncrementHours=function(){var e=$(o,60*u);return e>f||e<o&&e<c},e.noDecrementHours=function(){var e=$(o,60*-u);return e<c||e>o&&e>f},e.noIncrementMinutes=function(){var e=$(o,d);return e>f||e<o&&e<c},e.noDecrementMinutes=function(){var e=$(o,-d);return e<c||e>o&&e>f},e.noToggleMeridian=function(){return o.getHours()<13?$(o,720)>f:$(o,-720)<c},e.showMeridian=a.showMeridian,t.showMeridian&&e.$parent.$watch(n(t.showMeridian),function(t){if(e.showMeridian=!!t,s.$error.time){var n=h(),r=p();angular.isDefined(n)&&angular.isDefined(r)&&(o.setHours(n),g())}else y()}),this.setupMousewheelEvents=function(t,n){var r=function(e){e.originalEvent&&(e=e.originalEvent);var t=e.wheelDelta?e.wheelDelta:-e.deltaY;return e.detail||t>0};t.bind("mousewheel wheel",function(t){e.$apply(r(t)?e.incrementHours():e.decrementHours()),t.preventDefault()}),n.bind("mousewheel wheel",function(t){e.$apply(r(t)?e.incrementMinutes():e.decrementMinutes()),t.preventDefault()})},this.setupArrowkeyEvents=function(t,n){t.bind("keydown",function(t){38===t.which?(t.preventDefault(),e.incrementHours(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementHours(),e.$apply())}),n.bind("keydown",function(t){38===t.which?(t.preventDefault(),e.incrementMinutes(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementMinutes(),e.$apply())})},this.setupInputEvents=function(t,n){if(e.readonlyInput)return e.updateHours=angular.noop,void(e.updateMinutes=angular.noop);var r=function(t,n){s.$setViewValue(null),s.$setValidity("time",!1),angular.isDefined(t)&&(e.invalidHours=t),angular.isDefined(n)&&(e.invalidMinutes=n)};e.updateHours=function(){var e=h(),t=p();angular.isDefined(e)&&angular.isDefined(t)?(o.setHours(e),o<c||o>f?r(!0):g("h")):r(!0)},t.bind("blur",function(t){!e.invalidHours&&e.hours<10&&e.$apply(function(){e.hours=m(e.hours)})}),e.updateMinutes=function(){var e=p(),t=h();angular.isDefined(e)&&angular.isDefined(t)?(o.setMinutes(e),o<c||o>f?r(void 0,!0):g("m")):r(void 0,!0)},n.bind("blur",function(t){!e.invalidMinutes&&e.minutes<10&&e.$apply(function(){e.minutes=m(e.minutes)})})},this.render=function(){var t=s.$viewValue;isNaN(t)?(s.$setValidity("time",!1),r.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(t&&(o=t),o<c||o>f?(s.$setValidity("time",!1),e.invalidHours=!0,e.invalidMinutes=!0):v(),y())},e.showSpinners=angular.isDefined(t.showSpinners)?e.$parent.$eval(t.showSpinners):a.showSpinners,e.incrementHours=function(){e.noIncrementHours()||b(60*u)},e.decrementHours=function(){e.noDecrementHours()||b(60*-u)},e.incrementMinutes=function(){e.noIncrementMinutes()||b(d)},e.decrementMinutes=function(){e.noDecrementMinutes()||b(-d)},e.toggleMeridian=function(){e.noToggleMeridian()||b(720*(o.getHours()<12?1:-1))}}]).directive("timepicker",function(){return{restrict:"EA",require:["timepicker","?^ngModel"],controller:"TimepickerController",controllerAs:"timepicker",replace:!0,scope:{},templateUrl:function(e,t){return t.templateUrl||"template/timepicker/timepicker.html"},link:function(e,t,n,r){var i=r[0],a=r[1];a&&i.init(a,t.find("input"))}}}),angular.module("ui.bootstrap.transition",[]).value("$transitionSuppressDeprecated",!1).factory("$transition",["$q","$timeout","$rootScope","$log","$transitionSuppressDeprecated",function(e,t,n,r,i){i||r.warn("$transition is now deprecated. Use $animate from ngAnimate instead.");var a=function(r,i,o){o=o||{};var s=e.defer(),l=a[o.animation?"animationEndEventName":"transitionEndEventName"],u=function(e){n.$apply(function(){r.unbind(l,u),s.resolve(r)})};return l&&r.bind(l,u),t(function(){angular.isString(i)?r.addClass(i):angular.isFunction(i)?i(r):angular.isObject(i)&&r.css(i),l||s.resolve(r)}),s.promise.cancel=function(){l&&r.unbind(l,u),s.reject("Transition cancelled")},s.promise},o=document.createElement("trans");function s(e){for(var t in e)if(void 0!==o.style[t])return e[t]}return a.transitionEndEventName=s({WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}),a.animationEndEventName=s({WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"}),a}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.position"]).factory("typeaheadParser",["$parse",function(e){var t=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*
9))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var r=n.match(t);if(!r)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:r[3],source:e(r[4]),viewMapper:e(r[2]||r[1]),modelMapper:e(r[1])}}}}]).directive("typeahead",["$compile","$parse","$q","$timeout","$document","$window","$rootScope","$position","typeaheadParser",function(e,t,n,r,i,a,o,s,l){var u=[9,13,27,38,40],c=200;return{require:["ngModel","^?ngModelOptions"],link:function(f,d,h,p){var m=p[0],g=p[1],v=f.$eval(h.typeaheadMinLength);v||0===v||(v=1);var y,$,b=f.$eval(h.typeaheadWaitMs)||0,w=!1!==f.$eval(h.typeaheadEditable),x=t(h.typeaheadLoading).assign||angular.noop,_=t(h.typeaheadOnSelect),C=!!angular.isDefined(h.typeaheadSelectOnBlur)&&f.$eval(h.typeaheadSelectOnBlur),k=t(h.typeaheadNoResults).assign||angular.noop,D=h.typeaheadInputFormatter?t(h.typeaheadInputFormatter):void 0,S=!!h.typeaheadAppendToBody&&f.$eval(h.typeaheadAppendToBody),T=!1!==f.$eval(h.typeaheadFocusFirst),E=!!h.typeaheadSelectOnExact&&f.$eval(h.typeaheadSelectOnExact),O=t(h.ngModel),M=t(h.ngModel+"($$$p)"),A=l.parse(h.typeahead),I=f.$new(),P=f.$on("$destroy",function(){I.$destroy()});I.$on("$destroy",P);var R="typeahead-"+I.$id+"-"+Math.floor(1e4*Math.random());d.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":R});var j=angular.element("<div typeahead-popup></div>");j.attr({id:R,matches:"matches",active:"activeIdx",select:"select(activeIdx)","move-in-progress":"moveInProgress",query:"query",position:"position"}),angular.isDefined(h.typeaheadTemplateUrl)&&j.attr("template-url",h.typeaheadTemplateUrl),angular.isDefined(h.typeaheadPopupTemplateUrl)&&j.attr("popup-template-url",h.typeaheadPopupTemplateUrl);var N=function(){I.matches=[],I.activeIdx=-1,d.attr("aria-expanded",!1)},L=function(e){return R+"-option-"+e};I.$watch("activeIdx",function(e){e<0?d.removeAttr("aria-activedescendant"):d.attr("aria-activedescendant",L(e))});var F,U,H=function(e){var t={$viewValue:e};x(f,!0),k(f,!1),n.when(A.source(f,t)).then(function(n){var r=e===m.$viewValue;if(r&&y)if(n&&n.length>0){I.activeIdx=T?0:-1,k(f,!1),I.matches.length=0;for(var i=0;i<n.length;i++)t[A.itemName]=n[i],I.matches.push({id:L(i),label:A.viewMapper(I,t),model:n[i]});I.query=e,B(),d.attr("aria-expanded",!0),E&&1===I.matches.length&&function(e,t){return!!(I.matches.length>t&&e)&&e.toUpperCase()===I.matches[t].label.toUpperCase()}(e,0)&&I.select(0)}else N(),k(f,!0);r&&x(f,!1)},function(){N(),x(f,!1),k(f,!0)})};function q(){I.moveInProgress||(I.moveInProgress=!0,I.$digest()),F&&r.cancel(F),F=r(function(){I.matches.length&&B(),I.moveInProgress=!1,I.$digest()},c)}function B(){I.position=S?s.offset(d):s.position(d),I.position.top+=d.prop("offsetHeight")}S&&(angular.element(a).bind("resize",q),i.find("body").bind("scroll",q)),I.moveInProgress=!1,N(),I.query=void 0;var V=function(){U&&r.cancel(U)};m.$parsers.unshift(function(e){return y=!0,0===v||e&&e.length>=v?b>0?(V(),function(e){U=r(function(){H(e)},b)}(e)):H(e):(x(f,!1),V(),N()),w?e:e?void m.$setValidity("editable",!1):(m.$setValidity("editable",!0),null)}),m.$formatters.push(function(e){var t,n={};return w||m.$setValidity("editable",!0),D?(n.$model=e,D(f,n)):(n[A.itemName]=e,t=A.viewMapper(f,n),n[A.itemName]=void 0,t!==A.viewMapper(f,n)?t:e)}),I.select=function(e){var t,n,i={};$=!0,i[A.itemName]=n=I.matches[e].model,t=A.modelMapper(f,i),function(e,t){angular.isFunction(O(f))&&g&&g.$options&&g.$options.getterSetter?M(e,{$$$p:t}):O.assign(e,t)}(f,t),m.$setValidity("editable",!0),m.$setValidity("parse",!0),_(f,{$item:n,$model:t,$label:A.viewMapper(f,i)}),N(),!1!==I.$eval(h.typeaheadFocusOnSelect)&&r(function(){d[0].focus()},0,!1)},d.bind("keydown",function(e){if(0!==I.matches.length&&-1!==u.indexOf(e.which)){if(-1===I.activeIdx&&(9===e.which||13===e.which))return N(),void I.$digest();e.preventDefault(),40===e.which?(I.activeIdx=(I.activeIdx+1)%I.matches.length,I.$digest()):38===e.which?(I.activeIdx=(I.activeIdx>0?I.activeIdx:I.matches.length)-1,I.$digest()):13===e.which||9===e.which?I.$apply(function(){I.select(I.activeIdx)}):27===e.which&&(e.stopPropagation(),N(),I.$digest())}}),d.bind("blur",function(){C&&I.matches.length&&-1!==I.activeIdx&&!$&&($=!0,I.$apply(function(){I.select(I.activeIdx)}
9)),y=!1,$=!1});var Y=function(e){d[0]!==e.target&&3!==e.which&&0!==I.matches.length&&(N(),o.$$phase||I.$digest())};i.bind("click",Y),f.$on("$destroy",function(){i.unbind("click",Y),S&&W.remove(),j.remove()});var W=e(j)(I);S?i.find("body").append(W):d.after(W)}}}]).directive("typeaheadPopup",function(){return{restrict:"EA",scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&"},replace:!0,templateUrl:function(e,t){return t.popupTemplateUrl||"template/typeahead/typeahead-popup.html"},link:function(e,t,n){e.templateUrl=n.templateUrl,e.isOpen=function(){return e.matches.length>0},e.isActive=function(t){return e.active==t},e.selectActive=function(t){e.active=t},e.selectMatch=function(t){e.select({activeIdx:t})}}}}).directive("typeaheadMatch",["$templateRequest","$compile","$parse",function(e,t,n){return{restrict:"EA",scope:{index:"=",match:"=",query:"="},link:function(r,i,a){var o=n(a.templateUrl)(r.$parent)||"template/typeahead/typeahead-match.html";e(o).then(function(e){t(e.trim())(r,function(e){i.replaceWith(e)})})}}}]).filter("typeaheadHighlight",["$sce","$injector","$log",function(e,t,n){var r;return r=t.has("$sanitize"),function(t,i){return!r&&function(e){return/<.*>/g.test(e)}(t)&&n.warn("Unsafe use of typeahead please use ngSanitize"),t=i?(""+t).replace(new RegExp(i.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"gi"),"<strong>$&</strong>"):t,r||(t=e.trustAsHtml(t)),t}}]),angular.module("template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("template/accordion/accordion-group.html",'<div class="panel {{panelClass || \'panel-default\'}}">\n <div class="panel-heading" ng-keypress="toggleOpen($event)">\n <h4 class="panel-title">\n <a href tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" accordion-transclude="heading"><span ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n </h4>\n </div>\n <div class="panel-collapse collapse" collapse="!isOpen">\n\t <div class="panel-body" ng-transclude></div>\n </div>\n</div>\n')}]),angular.module("template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("template/accordion/accordion.html",'<div class="panel-group" ng-transclude></div>')}]),angular.module("template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("template/alert/alert.html",'<div class="alert" ng-class="[\'alert-\' + (type || \'warning\'), closeable ? \'alert-dismissible\' : null]" role="alert">\n <button ng-show="closeable" type="button" class="close" ng-click="close($event)">\n <span aria-hidden="true">×</span>\n <span class="sr-only">Close</span>\n </button>\n <div ng-transclude></div>\n</div>\n')}]),angular.module("template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("template/carousel/carousel.html",'<div ng-mouseenter="pause()" ng-mouseleave="play()" class="carousel" ng-swipe-right="prev()" ng-swipe-left="next()">\n <ol class="carousel-indicators" ng-show="slides.length > 1">\n <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{active: isActive(slide)}" ng-click="select(slide)"></li>\n </ol>\n <div class="carousel-inner" ng-transclude></div>\n <a class="left carousel-control" ng-click="prev()" ng-show="slides.length > 1"><span class="glyphicon glyphicon-chevron-left"></span></a>\n <a class="right carousel-control" ng-click="next()" ng-show="slides.length > 1"><span class="glyphicon glyphicon-chevron-right"></span></a>\n</div>\n')}]),angular.module("template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("template/carousel/slide.html",'<div ng-class="{\n \'active\': active\n }" class="item text-center" ng-transclude></div>\n')}]),angular.module("template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/datepicker.html",'<div ng-switch="datepickerMode" role="application" ng-keydown="keydown($event)">\n <daypicker ng-switch-when="day" tabindex="0"></daypicker>\n <monthpicker ng-switch-when="month" tabindex="0"></monthpicker>\n <yearpicker ng-switch-when="year" tabindex="0"></yearpicker>\n</div>')}]),angular.module("template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/day.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm" ng-click="toggleMode()" ng-disabled="datepickerMode === max
9Mode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n </tr>\n <tr>\n <th ng-if="showWeeks" class="text-center"></th>\n <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="row in rows track by $index">\n <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n <td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}" ng-class="::dt.customClass">\n <button type="button" style="min-width:100%;" class="btn btn-default btn-sm" ng-class="{\'btn-info\': dt.selected, active: isActive(dt)}" ng-click="select(dt.date)" ng-disabled="dt.disabled" tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/month.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n <th><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="row in rows track by $index">\n <td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}" ng-class="::dt.customClass">\n <button type="button" style="min-width:100%;" class="btn btn-default" ng-class="{\'btn-info\': dt.selected, active: isActive(dt)}" ng-click="select(dt.date)" ng-disabled="dt.disabled" tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("template/datepicker/popup.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/popup.html",'<ul class="dropdown-menu" ng-if="isOpen" style="display: block" ng-style="{top: position.top+\'px\', left: position.left+\'px\'}" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n\t<li ng-transclude></li>\n\t<li ng-if="showButtonBar" style="padding:10px 9px 2px">\n\t\t<span class="btn-group pull-left">\n\t\t\t<button type="button" class="btn btn-sm btn-info" ng-click="select(\'today\')" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n\t\t\t<button type="button" class="btn btn-sm btn-danger" ng-click="select(null)">{{ getText(\'clear\') }}</button>\n\t\t</span>\n\t\t<button type="button" class="btn btn-sm btn-success pull-right" ng-click="close()">{{ getText(\'close\') }}</button>\n\t</li>\n</ul>\n')}]),angular.module("template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("template/datepicker/year.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left" ng-click="move(-1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-left"></i></button></th>\n <th colspan="3"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm" ng-click="toggleMode()" ng-disabled="datepickerMode === max
9Mode" tabindex="-1" style="width:100%;"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right" ng-click="move(1)" tabindex="-1"><i class="glyphicon glyphicon-chevron-right"></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="row in rows track by $index">\n <td ng-repeat="dt in row track by dt.date" class="text-center" role="gridcell" id="{{::dt.uid}}">\n <button type="button" style="min-width:100%;" class="btn btn-default" ng-class="{\'btn-info\': dt.selected, active: isActive(dt)}" ng-click="select(dt.date)" ng-disabled="dt.disabled" tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("template/modal/backdrop.html",[]).run(["$templateCache",function(e){e.put("template/modal/backdrop.html",'<div class="modal-backdrop"\n modal-animation-class="fade"\n modal-in-class="in"\n ng-style="{\'z-index\': 1040 + (index && 1 || 0) + index*10}"\n></div>\n')}]),angular.module("template/modal/window.html",[]).run(["$templateCache",function(e){e.put("template/modal/window.html",'<div modal-render="{{$isRendered}}" tabindex="-1" role="dialog" class="modal"\n modal-animation-class="fade"\n modal-in-class="in"\n\tng-style="{\'z-index\': 1050 + index*10, display: \'block\'}" ng-click="close($event)">\n <div class="modal-dialog" ng-class="size ? \'modal-\' + size : \'\'"><div class="modal-content" modal-transclude></div></div>\n</div>\n')}]),angular.module("template/pagination/pager.html",[]).run(["$templateCache",function(e){e.put("template/pagination/pager.html",'<ul class="pager">\n <li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)">{{::getText(\'previous\')}}</a></li>\n <li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)">{{::getText(\'next\')}}</a></li>\n</ul>\n')}]),angular.module("template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("template/pagination/pagination.html",'<ul class="pagination">\n <li ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)">{{::getText(\'first\')}}</a></li>\n <li ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)">{{::getText(\'previous\')}}</a></li>\n <li ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)">{{page.text}}</a></li>\n <li ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)">{{::getText(\'next\')}}</a></li>\n <li ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)">{{::getText(\'last\')}}</a></li>\n</ul>\n')}]),angular.module("template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-html-popup.html",'<div class="tooltip"\n tooltip-animation-class="fade"\n tooltip-classes\n ng-class="{ in: isOpen() }">\n <div class="tooltip-arrow"></div>\n <div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-html-unsafe-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-html-unsafe-popup.html",'<div class="tooltip"\n tooltip-animation-class="fade"\n tooltip-classes\n ng-class="{ in: isOpen() }">\n <div class="tooltip-arrow"></div>\n <div class="tooltip-inner" bind-html-unsafe="content"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-popup.html",'<div class="tooltip"\n tooltip-animation-class="fade"\n tooltip-classe
9s\n ng-class="{ in: isOpen() }">\n <div class="tooltip-arrow"></div>\n <div class="tooltip-inner" ng-bind="content"></div>\n</div>\n')}]),angular.module("template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("template/tooltip/tooltip-template-popup.html",'<div class="tooltip"\n tooltip-animation-class="fade"\n tooltip-classes\n ng-class="{ in: isOpen() }">\n <div class="tooltip-arrow"></div>\n <div class="tooltip-inner"\n tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("template/popover/popover-html.html",'<div class="popover"\n tooltip-animation-class="fade"\n tooltip-classes\n ng-class="{ in: isOpen() }">\n <div class="arrow"></div>\n\n <div class="popover-inner">\n <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n <div class="popover-content" ng-bind-html="contentExp()"></div>\n </div>\n</div>\n')}]),angular.module("template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("template/popover/popover-template.html",'<div class="popover"\n tooltip-animation-class="fade"\n tooltip-classes\n ng-class="{ in: isOpen() }">\n <div class="arrow"></div>\n\n <div class="popover-inner">\n <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n <div class="popover-content"\n tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n </div>\n</div>\n')}]),angular.module("template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("template/popover/popover.html",'<div class="popover"\n tooltip-animation-class="fade"\n tooltip-classes\n ng-class="{ in: isOpen() }">\n <div class="arrow"></div>\n\n <div class="popover-inner">\n <h3 class="popover-title" ng-bind="title" ng-if="title"></h3>\n <div class="popover-content" ng-bind="content"></div>\n </div>\n</div>\n')}]),angular.module("template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" style="min-width: 0;" ng-transclude></div>\n')}]),angular.module("template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("template/progressbar/progress.html",'<div class="progress" ng-transclude></div>')}]),angular.module("template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("template/progressbar/progressbar.html",'<div class="progress">\n <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" style="min-width: 0;" ng-transclude></div>\n</div>\n')}]),angular.module("template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}">\n <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}" ></i>\n</span>\n')}]),angular.module("template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("template/tabs/tab.html",'<li ng-class="{active: active, disabled: disabled}">\n <a href ng-click="select()" tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("template/tabs/tabset.html",'<div>\n <ul class="nav nav-{{type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n <div class="tab-content">\n <div class="tab-pane" \n ng-repeat="tab in tabs" \n ng-class="{active: tab.active}"\n tab-content-transclude="tab">\n </div>\n </div>\n</div>\n')}]),angular.module("template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("template/timepicker/timepicker.html",'<table>\n <tbody>\n <tr class="text-center" ng-show="::showSpinners">\n <td><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td> </td>\n <td><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n <tr>\n <td class="form-group" ng-class="{\'has-error\': invalidHours}">\n <input style="width:50px;" type="text" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2">\n </td>\n <td>:</td>\n <td class="form-group" ng-class="{\'has-error\': invalidMinutes}">\n <input style="width:50px;" type="text" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2">\n </td>\n <td ng-show="showMeridian"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()">{{meridian}}</button></td>\n </tr>\n <tr class="text-center" ng-show="::showSpinners">\n <td><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td> </td>\n <td><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("template/typeahead/typeahead-match.html",'<a href tabindex="-1" ng-bind-html="match.label | typeaheadHighlight:query"></a>\n')}]),angular.module("template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" style="display: block;" role="listbox" aria-hidden="{{!isOpen()}}">\n <li ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index)" role="option" id="{{::match.id}}">\n <div typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n </li>\n</ul>\n')}]),!angular.$$csp()&&angular.element(document).find("head").prepend('<style type="text/css">
9.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),function(e,t,n){"use strict";var r=t.isArray,i=t.forEach,a=t.isString,o=t.element;function s(e){return["$animate",function(e){return{restrict:"AE",transclude:"element",terminal:!0,require:"^^ngMessages",link:function(t,n,i,a,o){var s,l,u,c=n[0],f=i.ngMessage||i.when,d=i.ngMessageExp||i.whenExp,h=function(e){s=e?r(e)?e:e.split(/[\s,]+/):null,a.reRender()};d?(h(t.$eval(d)),t.$watchCollection(d,h)):h(f),a.register(c,u={test:function(e){return function(e,t){if(e)return r(e)?e.indexOf(t)>=0:e.hasOwnProperty(t)}(s,e)},attach:function(){l||o(t,function(t){e.enter(t,null,n);var r=(l=t).$$attachId=a.getAttachId();l.on("$destroy",function(){l&&l.$$attachId===r&&(a.deregister(c),u.detach())})})},detach:function(){if(l){var t=l;l=null,e.leave(t)}}})}}}]}t.module("ngMessages",[]).directive("ngMessages",["$animate",function(e){return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(r,a,o){var s=this,l=0,u=0;this.getAttachId=function(){return u++};var c,f,d=this.messages={};function h(e,t){for(var n=t,r=[];n&&n!==e;){var i=n.$$ngMessageNode;if(i&&i.length)return d[i];n.childNodes.length&&-1==r.indexOf(n)?(r.push(n),n=n.childNodes[n.childNodes.length-1]):n=n.previousSibling||n.parentNode}}this.render=function(l){c=!1,f=l=l||{};for(var u=t(a,o.ngMessagesMultiple)||t(a,o.multiple),d=[],h={},p=s.head,m=!1,g=0;null!=p;){g++;var v=p.message,y=!1;m||i(l,function(e,t){if(!y&&n(e)&&v.test(t)){if(h[t])return;h[t]=!0,y=!0,v.attach()}}),y?m=!u:d.push(v),p=p.next}i(d,function(e){e.detach()}),d.length!==g?e.setClass(r,"ng-active","ng-inactive"):e.setClass(r,"ng-inactive","ng-active")},a.$watchCollection(o.ngMessages||o.for,s.render),this.reRender=function(){c||(c=!0,a.$evalAsync(function(){c&&f&&s.render(f)}))},this.register=function(e,t){var n=l.toString();d[n]={message:t},function(e,t,n){var r=d[n];if(s.head){var i=h(e,t);i?(r.next=i.next,i.next=r):(r.next=s.head,s.head=r)}else s.head=r}(r[0],e,n),e.$$ngMessageNode=n,l++,s.reRender()},this.deregister=function(e){var t=e.$$ngMessageNode;delete e.$$ngMessageNode,function(e,t,n){var r=d[n],i=h(e,t);i?i.next=r.next:s.head=r.next}(r[0],e,t),delete d[t],s.reRender()}}]};function t(e,t){return a(t)&&0===t.length||n(e.$eval(t))}function n(e){return a(e)?e.length:!!e}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(e,t,n){return{restrict:"AE",require:"^^ngMessages",link:function(r,i,a){var s=a.ngMessagesInclude||a.src;e(s).then(function(e){n(e)(r,function(e){i.after(e);var n=o(t[0].createComment(" ngMessagesInclude: "+s+" "));i.after(n),i.remove()})})}}}]).directive("ngMessage",s()).directive("ngMessageExp",s())}(window,window.angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(e,t,n){"use strict";var r,i=t.isDefined,a=t.isFunction,o=t.isString,s=t.isObject,l=t.isArray,u=t.forEach,c=t.extend,f=t.copy,d=t.toJson;function h(e,t){return c(new(c(function(){},{prototype:e})),t)}function p(e){return u(arguments,function(t){t!==e&&u(t,function(t,n){e.hasOwnProperty(n)||(e[n]=t)})}),e}function m(e){if(Object.keys)return Object.keys(e);var t=[];return u(e,function(e,n){t.push(n)}),t}function g(e,t){if(Array.prototype.indexOf)return e.indexOf(t,Number(arguments[2])||0);var n=e.length>>>0,r=Number(arguments[2])||0;for((r=r<0?Math.ceil(r):Math.floor(r))<0&&(r+=n);r<n;r++)if(r in e&&e[r]===t)return r;return-1}function v(e,t,n,r){var i,a=function(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}(n,r),o={},s=[];for(var l in a)if(a[l]&&a[l].params&&(i=m(a[l].params)).length)for(var u in i)g(s,i[u])>=0||(s.push(i[u]),o[i[u]]=e[i[u]]);return c({},o,t)}function y(e,t,n){if(!n)for(var r in n=[],e)n.push(r);for(var i=0;i<n.length;i++){var a=n[i];if(e[a]!=t[a])return!1}return!0}function $(e,t){var n={};return u(e,function(e){n[e]=t[e]}),n}function b(e){var t={},n=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1
9));return u(n,function(n){n in e&&(t[n]=e[n])}),t}function w(e){var t={},n=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));for(var r in e)-1==g(n,r)&&(t[r]=e[r]);return t}function x(e,t){var n=l(e),r=n?[]:{};return u(e,function(e,i){t(e,i)&&(r[n?r.length:i]=e)}),r}function _(e,t){var n=l(e)?[]:{};return u(e,function(e,r){n[r]=t(e,r)}),n}function C(e,t){var r=1,a=2,l={},f=[],d=l,h=c(e.when(l),{$$promises:l,$$values:l});this.study=function(l){if(!s(l))throw new Error("'invocables' must be an object");var v=m(l||{}),y=[],$=[],b={};function x(e){return s(e)&&e.then&&e.$$promises}return u(l,function e(n,i){if(b[i]!==a){if($.push(i),b[i]===r)throw $.splice(0,g($,i)),new Error("Cyclic dependency: "+$.join(" -> "));if(b[i]=r,o(n))y.push(i,[function(){return t.get(n)}],f);else{var s=t.annotate(n);u(s,function(t){t!==i&&l.hasOwnProperty(t)&&e(l[t],t)}),y.push(i,n,s)}$.pop(),b[i]=a}}),l=$=b=null,function(r,a,o){if(x(r)&&o===n&&(o=a,a=r,r=null),r){if(!s(r))throw new Error("'locals' must be an object")}else r=d;if(a){if(!x(a))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else a=h;var l=e.defer(),f=l.promise,m=f.$$promises={},g=c({},r),$=1+y.length/3,b=!1;function _(){--$||(b||p(g,a.$$values),f.$$values=g,f.$$promises=f.$$promises||!0,delete f.$$inheritedValues,l.resolve(g))}function C(e){f.$$failure=e,l.reject(e)}if(i(a.$$failure))return C(a.$$failure),f;a.$$inheritedValues&&p(g,w(a.$$inheritedValues,v)),c(m,a.$$promises),a.$$values?(b=p(g,w(a.$$values,v)),f.$$inheritedValues=w(a.$$values,v),_()):(a.$$inheritedValues&&(f.$$inheritedValues=w(a.$$inheritedValues,v)),a.then(_,C));for(var k=0,D=y.length;k<D;k+=3)r.hasOwnProperty(y[k])?_():S(y[k],y[k+1],y[k+2]);function S(n,a,s){var l=e.defer(),c=0;function d(e){l.reject(e),C(e)}function h(){if(!i(f.$$failure))try{l.resolve(t.invoke(a,o,g)),l.promise.then(function(e){g[n]=e,_()},d)}catch(e){d(e)}}u(s,function(e){m.hasOwnProperty(e)&&!r.hasOwnProperty(e)&&(c++,m[e].then(function(t){g[e]=t,--c||h()},d))}),c||h(),m[n]=l.promise}return f}},this.resolve=function(e,t,n,r){return this.study(e)(t,n,r)}}function k(e,t,n){this.fromConfig=function(e,t,n){return i(e.template)?this.fromString(e.template,t):i(e.templateUrl)?this.fromUrl(e.templateUrl,t):i(e.templateProvider)?this.fromProvider(e.templateProvider,t,n):null},this.fromString=function(e,t){return a(e)?e(t):e},this.fromUrl=function(n,r){return a(n)&&(n=n(r)),null==n?null:e.get(n,{cache:t,headers:{Accept:"text/html"}}).then(function(e){return e.data})},this.fromProvider=function(e,t,r){return n.invoke(e,null,r||{params:t})}}function D(e,t,i){t=c({params:{}},s(t)?t:{});var a,o,l,u,f=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,d=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,p="^",m=0,g=this.segments=[],v=i?i.params:{},y=this.params=i?i.params.$$new():new r.ParamSet,$=[];function b(t,n,i,a){if($.push(t),v[t])return v[t];if(!/^\w+([-.]+\w+)*(?:\[\])?$/.test(t))throw new Error("Invalid parameter name '"+t+"' in pattern '"+e+"'");if(y[t])throw new Error("Duplicate parameter name '"+t+"' in pattern '"+e+"'");return y[t]=new r.Param(t,n,i,a),y[t]}function w(e,t,n,r){var i=["",""],a=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return a;switch(n){case!1:i=["(",")"+(r?"?":"")];break;case!0:a=a.replace(/\/$/,""),i=["(?:/(",")|/)?"];break;default:i=["("+n+"|",")?"]}return a+i[0]+t+i[1]}function x(i,a){var o,s,l,u,c;return o=i[2]||i[3],c=t.params[o],l=e.substring(m,i.index),(s=a?i[4]:i[4]||("*"==i[1]?".*":null))&&(u=r.type(s)||h(r.type("string"),{pattern:new RegExp(s,t.caseInsensitive?"i":n)})),{id:o,regexp:s,segment:l,type:u,cfg:c}}for(this.source=e;(a=f.exec(e))&&!((o=x(a,!1)).segment.indexOf("?")>=0);)l=b(o.id,o.type,o.cfg,"path"),p+=w(o.segment,l.type.pattern.source,l.squash,l.isOptional),g.push(o.segment),m=f.lastIndex;var _=(u=e.substring(m)).indexOf("?");if(_>=0){var C=this.sourceSearch=u.substring(_);if(u=u.substring(0,_),this.sourcePath=e.substring(0,m+_),C.length>0)for(m=0;a=d.exec(C);)l=b((o=x(a,!0)).id,o.type,o.cfg,"search"),m=f.lastIndex}else this.sourcePath=e,this.sourceSearch="";p+=w(u)+(!1===t.strict?"/?":"")+"$",g.push(u),this.regexp=new RegExp(p,t.caseInsensitive?"i":n),this.prefix=g[0],this.$$paramNames=$}function S(e){c(this,e)}function T(e,r){var s,u=[],f=null,d=!1;function h(e,t,n){if(!n)return!1;var r=e.invoke(t,t,{$match:n}
9);return!i(r)||r}function p(r,i,a,l,c){var h,p=l.baseHref(),m=r.url();function g(e){if(!e||!e.defaultPrevented){h&&r.url(),h=n;var t,i=u.length;for(t=0;t<i;t++)if(s(u[t]))return;f&&s(f)}function s(e){var t=e(a,r);return!!t&&(o(t)&&r.replace().url(t),!0)}}function v(){return s=s||i.$on("$locationChangeSuccess",g)}return d||v(),{sync:function(){g()},listen:function(){return v()},update:function(e){e?m=r.url():r.url()!==m&&(r.url(m),r.replace())},push:function(e,t,i){var a=e.format(t||{});null!==a&&t&&t["#"]&&(a+="#"+t["#"]),r.url(a),h=i&&i.$$avoidResync?r.url():n,i&&i.replace&&r.replace()},href:function(n,i,a){if(!n.validates(i))return null;var o=e.html5Mode();t.isObject(o)&&(o=o.enabled),o=o&&c.history;var s=n.format(i);if(a=a||{},o||null===s||(s="#"+e.hashPrefix()+s),null!==s&&i&&i["#"]&&(s+="#"+i["#"]),s=function(e,t,n){return"/"===p?e:t?p.slice(0,-1)+e:n?p.slice(1)+e:e}(s,o,a.absolute),!a.absolute||!s)return s;var l=!o&&s?"/":"",u=r.port();return u=80===u||443===u?"":":"+u,[r.protocol(),"://",r.host(),u,l,s].join("")}}}this.rule=function(e){if(!a(e))throw new Error("'rule' must be a function");return u.push(e),this},this.otherwise=function(e){if(o(e)){var t=e;e=function(){return t}}else if(!a(e))throw new Error("'rule' must be a function");return f=e,this},this.when=function(e,t){var n,i=o(t);if(o(e)&&(e=r.compile(e)),!i&&!a(t)&&!l(t))throw new Error("invalid 'handler' in when()");var s={matcher:function(e,t){return i&&(n=r.compile(t),t=["$match",function(e){return n.format(e)}]),c(function(n,r){return h(n,t,e.exec(r.path(),r.search()))},{prefix:o(e.prefix)?e.prefix:""})},regex:function(e,t){if(e.global||e.sticky)throw new Error("when() RegExp must not be global or sticky");return i&&(n=t,t=["$match",function(e){return t=e,n.replace(/\$(\$|\d{1,2})/,function(e,n){return t["$"===n?0:Number(n)]});var t}]),c(function(n,r){return h(n,t,e.exec(r.path()))},{prefix:(r=e,a=/^\^((?:\\[^a-zA-Z0-9]|[^\\\[\]\^$*+?.()|{}]+)*)/.exec(r.source),null!=a?a[1].replace(/\\(.)/g,"$1"):"")});var r,a}},u={matcher:r.isMatcher(e),regex:e instanceof RegExp};for(var f in u)if(u[f])return this.rule(s[f](e,t));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(e){e===n&&(e=!0),d=e},this.$get=p,p.$inject=["$location","$rootScope","$injector","$browser","$sniffer"]}function E(e,d){var p,w,x={},C={},k="abstract",D={parent:function(e){if(i(e.parent)&&e.parent)return S(e.parent);var t=/^(.+)\.[^.]+$/.exec(e.name);return t?S(t[1]):p},data:function(e){return e.parent&&e.parent.data&&(e.data=e.self.data=h(e.parent.data,e.data)),e.data},url:function(e){var t=e.url,n={params:e.params||{}};if(o(t))return"^"==t.charAt(0)?d.compile(t.substring(1),n):(e.parent.navigable||p).url.concat(t,n);if(!t||d.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 t=e.url&&e.url.params||new r.ParamSet;return u(e.params||{},function(e,n){t[n]||(t[n]=new r.Param(n,null,e,"config"))}),t},params:function(e){var t=b(e.ownParams,e.ownParams.$$keys());return e.parent&&e.parent.params?c(e.parent.params.$$new(),t):new r.ParamSet},views:function(e){var t={};return u(i(e.views)?e.views:{"":e},function(n,r){r.indexOf("@")<0&&(r+="@"+e.parent.name),t[r]=n}),t},path:function(e){return e.parent?e.parent.path.concat(e):[]},includes:function(e){var t=e.parent?c({},e.parent.includes):{};return t[e.name]=!0,t},$delegates:{}};function S(e,t){if(!e)return n;var r,i=o(e),a=i?e:e.name;if(0===(r=a).indexOf(".")||0===r.indexOf("^")){if(!t)throw new Error("No reference point given for path '"+a+"'");t=S(t);for(var s=a.split("."),l=0,u=s.length,c=t;l<u;l++)if(""!==s[l]||0!==l){if("^"!==s[l])break;if(!c.parent)throw new Error("Path '"+a+"' not valid for state '"+t.name+"'");c=c.parent}else c=t;s=s.slice(l).join("."),a=c.name+(c.name&&s?".":"")+s}var f=x[a];return!f||!i&&(i||f!==e&&f.self!==e)?n:f}function T(t){var n=(t=h(t,{self:t,resolve:t.resolve||{},toString:function(){return this.name}})).name;if(!o(n)||n.indexOf("@")>=0)throw new Error("State must have a valid name");if(x.hasOwnProperty(n))throw new Error("State '"+n+"' is already defined");var r=-1!==n.indexOf(".")?n.substring(0,n.lastIndexOf(".")):o(t.parent)?t.parent:s(t.parent)&&o(t.parent.name)?t.parent.name:"";if(r&&!x[r])return function(e,t){C[e]||(C[e]=[]),C[e].push(t)}(r,t.self);for(var i in D)a(D[i])&&(t[i]=D[i](t,D.$delegates[i]));return x[n]=t,!t[k]&&t.url&&e.when(t.url,["$match","$stateParams",function(e,n){w.$current.navigable==t&&y(e,n)||w.transitionTo(t,e,{inherit:!0,location:!1})}]),function(e){for(var t=C[e]||[];t.length;)T(t.shift())}(n),t}function E(e,d,C,D,T,E,O,M,A){var I=d.reject(new Error("transition superseded")),P=d.reject(new Error("transition prevented")),R=d.reject(new Error("transition aborted")),j=d.reject(new Error("transition failed"));function N(e,n,r,i,o,s){var c=r?n:$(e.params.$$keys(),n),f={$stateParams:c};o.resolve=T.resolve(e.resolve,f,o.resolve,e);var h=[o.resolve.then(function(e){o.globals=e})];return i&&h.push(i),d.all(h).then(function(){var n=[];return u(e.views,function(r,i){var u=r.resolve&&r.resolve!==e.resolve?r.resolve:{};u.$template=[function(){return C.load(i,{view:r,locals:o.globals,params:c,notify:s.notify})||""}],n.push(T.resolve(u,o.globals,o.resolve,e).then(function(n){if(a(r.controllerProvider)||l(r.controllerProvider)){var s=t.extend({},u,o.globals);n.$$controller=D.invoke(r.controllerProvider,null,s)}else n.$$controller=r.controller;n.$$state=e,n.$$controllerAs=r.controllerAs,o[i]=n}))}),d.all(n).then(function(){return o.globals})}).then(function(e){return o}
9)}return p.locals={resolve:null,globals:{$stateParams:{}}},(w={params:{},current:p.self,$current:p,transition:null}).reload=function(e){return w.transitionTo(w.current,E,{reload:e||!0,inherit:!1,notify:!0})},w.go=function(e,t,n){return w.transitionTo(e,t,c({inherit:!0,relative:w.$current},n))},w.transitionTo=function(t,n,a){n=n||{},a=c({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},a||{});var l=w.$current,u=w.params,m=l.path,g=S(t,a.relative),y=n["#"];if(!i(g)){var x={to:t,toParams:n,options:a},_=function(t,n,r,i){var a=e.$broadcast("$stateNotFound",t,n,r);if(a.defaultPrevented)return O.update(),R;if(!a.retry)return null;if(i.$retry)return O.update(),j;var o=w.transition=d.when(a.retry);return o.then(function(){return o!==w.transition?I:(t.options.$retry=!0,w.transitionTo(t.to,t.toParams,t.options))},function(){return R}),O.update(),o}(x,l.self,u,a);if(_)return _;if(n=x.toParams,g=S(t=x.to,(a=x.options).relative),!i(g)){if(!a.relative)throw new Error("No such state '"+t+"'");throw new Error("Could not resolve '"+t+"' from state '"+a.relative+"'")}}if(g[k])throw new Error("Cannot transition to abstract state '"+t+"'");if(a.inherit&&(n=v(E,n||{},w.$current,g)),!g.params.$$validates(n))return j;n=g.params.$$values(n);var C=(t=g).path,T=0,M=C[T],A=p.locals,L=[];if(a.reload){if(o(a.reload)||s(a.reload)){if(s(a.reload)&&!a.reload.name)throw new Error("Invalid reload state object");var F=!0===a.reload?m[0]:S(a.reload);if(a.reload&&!F)throw new Error("No such reload state '"+(o(a.reload)?a.reload:a.reload.name)+"'");for(;M&&M===m[T]&&M!==F;)A=L[T]=M.locals,M=C[++T]}}else for(;M&&M===m[T]&&M.ownParams.$$equals(n,u);)A=L[T]=M.locals,M=C[++T];if(function(e,t,n,i,a,o){if(!o.reload&&e===n&&(a===n.locals||!1===e.self.reloadOnSearch&&function(e,t,n){var i=e.params.$$keys().filter(function(t){return"search"!=e.params[t].location}),a=b.apply({},[e.params].concat(i));return new r.ParamSet(a).$$equals(t,n)}(n,i,t)))return!0}(t,n,l,u,A,a))return y&&(n["#"]=y),w.params=n,f(w.params,E),f($(t.params.$$keys(),E),t.locals.globals.$stateParams),a.location&&t.navigable&&t.navigable.url&&(O.push(t.navigable.url,n,{$$avoidResync:!0,replace:"replace"===a.location}),O.update(!0)),w.transition=null,d.when(w.current);if(n=$(t.params.$$keys(),n||{}),y&&(n["#"]=y),a.notify&&e.$broadcast("$stateChangeStart",t.self,n,l.self,u,a).defaultPrevented)return e.$broadcast("$stateChangeCancel",t.self,n,l.self,u),null==w.transition&&O.update(),P;for(var U=d.when(A),H=T;H<C.length;M=C[++H])A=L[H]=h(A),U=N(M,n,M===t,U,A,a);var q=w.transition=U.then(function(){var r,i,o;if(w.transition!==q)return I;for(r=m.length-1;r>=T;r--)(o=m[r]).self.onExit&&D.invoke(o.self.onExit,o.self,o.locals.globals),o.locals=null;for(r=T;r<C.length;r++)(i=C[r]).locals=L[r],i.self.onEnter&&D.invoke(i.self.onEnter,i.self,i.locals.globals);return w.transition!==q?I:(w.$current=t,w.current=t.self,w.params=n,f(w.params,E),w.transition=null,a.location&&t.navigable&&O.push(t.navigable.url,t.navigable.locals.globals.$stateParams,{$$avoidResync:!0,replace:"replace"===a.location}),a.notify&&e.$broadcast("$stateChangeSuccess",t.self,n,l.self,u),O.update(!0),w.current)},function(r){return w.transition!==q?I:(w.transition=null,e.$broadcast("$stateChangeError",t.self,n,l.self,u,r).defaultPrevented||O.update(),d.reject(r))});return q},w.is=function(e,t,r){var a=S(e,(r=c({relative:w.$current},r||{})).relative);return i(a)?w.$current===a&&(!t||y(a.params.$$values(t),E)):n},w.includes=function(e,t,r){if(r=c({relative:w.$current},r||{}),o(e)&&e.indexOf("*")>-1){if(!function(e){for(var t=e.split("."),n=w.$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=w.$current.name}var a=S(e,r.relative);return i(a)?!!i(w.$current.includes[a.name])&&(!t||y(a.params.$$values(t),E,m(t))):n},w.href=function(e,t,r){var a=S(e,(r=c({lossy:!0,inherit:!0,absolute:!1,relative:w.$current},r||{})).relative);if(!i(a))return null;r.inherit&&(t=v(E,t||{},w.$current,a));var o=a&&r.lossy?a.navigable:a;return o&&o.url!==n&&null!==o.url?O.href(o.url,$(a.params.$$keys().concat("#"),t||{}),{absolute:r.absolute}):null},w.get=function(e,t){if(0===arguments.length)return _(m(x),function(e){return x[e].self});var n=S(e,t||w.$current);return n&&n.self?n.self:null},w}(p=T({name:"",url:"^",views:null,abstract:!0})).navigable=null,this.decorator=function(e,t){return o(e)&&!i(t)?D[e]:a(t)&&o(e)?(D[e]&&!D.$delegates[e]&&(D.$delegates[e]=D[e]),D[e]=t,this):this},this.state=function(e,t){return s(e)?t=e:t.name=e,T(t),this},this.$get=E,E.$inject=["$rootScope","$q","$view","$injector","$resolve","$stateParams","$urlRouter","$location","$urlMatcherFactory"]}function O(){function e(e,t){return{load:function(e,n){var r;return(n=c({template:null,controller:null,view:null,locals:null,notify:!0,async:!0,params:{}},n)).view&&(r=t.fromConfig(n.view,n.params,n.locals)),r}}}this.$get=e,e.$inject=["$rootScope","$templateFactory"]}t.module("ui.router.util",["ng"]),t.module("ui.router.router",["ui.router.util"]),t.module("ui.router.state",["ui.router.router","ui.router.util"]),t.module("ui.router",["ui.router.state"]),t.module("ui.router.compat",["ui.router"]),C.$inject=["$q","$injector"],t.module("ui.router.util").service("$resolve",C),k.$inject=["$http","$templateCache","$injector"],t.module("ui.router.util").service("$templateFactory",k),D.prototype.concat=function(e,t){var n={caseInsensitive:r.caseInsensitive(),strict:r.strictMode(),squash:r.defaultSquashPolicy()};return new D(this.sourcePath+e+this.sourceSearch,c(n,t),this)},D.prototype.toString=function(){return this.source},D.prototype.exec=function(e,t){var n=this.regexp.exec(e);if(!n)return null;t=t||{};var r,a,o,s,l,u=this.parameters(),c=u.length,f=this.segments.length-1,d={};if(f!==n.length-1)throw new Error("Unbalanced capture group in route '"+this.source+"'");function h(e){function t(e){return e.split("").reverse().join("")}return _(_(t(e).split(/-(?!\\)/),t),function(e){return e.replace(/\\-/g,"-")}).reverse()}for(r=0;r<f;
9r++){for(o=u[r],s=this.params[o],l=n[r+1],a=0;a<s.replace.length;a++)s.replace[a].from===l&&(l=s.replace[a].to);l&&!0===s.array&&(l=h(l)),i(l)&&(l=s.type.decode(l)),d[o]=s.value(l)}for(;r<c;r++){for(d[o=u[r]]=this.params[o].value(t[o]),s=this.params[o],l=t[o],a=0;a<s.replace.length;a++)s.replace[a].from===l&&(l=s.replace[a].to);i(l)&&(l=s.type.decode(l)),d[o]=s.value(l)}return d},D.prototype.parameters=function(e){return i(e)?this.params[e]||null:this.$$paramNames},D.prototype.validates=function(e){return this.params.$$validates(e)},D.prototype.format=function(e){e=e||{};var t=this.segments,n=this.parameters(),r=this.params;if(!this.validates(e))return null;var i,a=!1,s=t.length-1,u=n.length,c=t[0];function f(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})}for(i=0;i<u;i++){var d=i<s,h=n[i],p=r[h],m=p.value(e[h]),g=p.isOptional&&p.type.equals(p.value(),m),v=!!g&&p.squash,y=p.type.encode(m);if(d){var $=t[i+1],b=i+1===s;if(!1===v)null!=y&&(l(y)?c+=_(y,f).join("-"):c+=encodeURIComponent(y)),c+=$;else if(!0===v){var w=c.match(/\/$/)?/\/?(.*)/:/(.*)/;c+=$.match(w)[1]}else o(v)&&(c+=v+$);b&&!0===p.squash&&"/"===c.slice(-1)&&(c=c.slice(0,-1))}else{if(null==y||g&&!1!==v)continue;if(l(y)||(y=[y]),0===y.length)continue;y=_(y,encodeURIComponent).join("&"+h+"="),c+=(a?"&":"?")+h+"="+y,a=!0}}return c},S.prototype.is=function(e,t){return!0},S.prototype.encode=function(e,t){return e},S.prototype.decode=function(e,t){return e},S.prototype.equals=function(e,t){return e==t},S.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},S.prototype.pattern=/.*/,S.prototype.toString=function(){return"{Type:"+this.name+"}"},S.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},S.prototype.$asArray=function(e,t){if(!e)return this;if("auto"===e&&!t)throw new Error("'auto' array mode is for query parameters only");return new function(e,t){function r(e,t){return function(){return e[t].apply(e,arguments)}}function a(e){return l(e)?e:i(e)?[e]:[]}function o(e){return!e}function s(e,r){return function(i){if(l(i)&&0===i.length)return i;var s=_(i=a(i),e);return!0===r?0===x(s,o).length:function(e){switch(e.length){case 0:return n;case 1:return"auto"===t?e[0]:e;default:return e}}(s)}}var u;this.encode=s(r(e,"encode")),this.decode=s(r(e,"decode")),this.is=s(r(e,"is"),!0),this.equals=(u=r(e,"equals"),function(e,t){var n=a(e),r=a(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!u(n[i],r[i]))return!1;return!0}),this.pattern=e.pattern,this.$normalize=s(r(e,"$normalize")),this.name=e.name,this.$arrayMode=t}(this,e)},t.module("ui.router.util").provider("$urlMatcherFactory",function e(){r=this;var f=!1,d=!0,p=!1;function v(e){return null!=e?e.toString().replace(/~/g,"~~").replace(/\//g,"~2F"):e}var y,$={},b=!0,w=[],C={string:{encode:v,decode:function(e){return null!=e?e.toString().replace(/~2F/g,"/").replace(/~~/g,"~"):e},is:function(e){return null==e||!i(e)||"string"==typeof e},pattern:/[^/]*/},int:{encode:v,decode:function(e){return parseInt(e,10)},is:function(e){return i(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("-"):n},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):n},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:t.toJson,decode:t.fromJson,is:t.isObject,equals:t.equals,pattern:/[^/]*/},any:{encode:t.identity,decode:t.identity,equals:t.equals,pattern:/.*/}};function k(e){return a(e)||l(e)&&a(e[e.length-1])}function T(){for(;w.length;){var e=w.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");t.extend($[e.name],y.invoke(e.def))}}function E(e){c(this,e||{})}e.$$getDefaultValue=function(e){if(!k(e.value))return e.value;if(!y)throw new Error("Injectable functions cannot be called at configuration time");return y.invoke(e.value)},this.caseInsensitive=function(e){return i(e)&&(f=e),f},this.strictMode=function(e){return i(e)&&(d=e),d},this.defaultSquashPolicy=function(e){if(!i(e))return p;if(!0!==e&&!1!==e&&!o(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return p=e,e},this.compile=function(e,t){return new D(e,c({strict:d,caseInsensitive:f},t))},this.isMatcher=function(e){if(!s(e))return!1;var t=!0;return u(D.prototype,function(n,r){a(n)&&(t=t&&i(e[r])&&a(e[r]))}),t},this.type=function(e,t,n){if(!i(t))return $[e];
9if($.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return $[e]=new S(c({name:e},t)),n&&(w.push({name:e,def:n}),b||T()),this},u(C,function(e,t){$[t]=new S(c({name:t},e))}),$=h($,{}),this.$get=["$injector",function(e){return y=e,b=!1,T(),u(C,function(e,t){$[t]||($[t]=new S(e))}),this}],this.Param=function(e,r,a,u){var f=this;a=function(e){var t=s(e)?m(e):[];return-1===g(t,"value")&&-1===g(t,"type")&&-1===g(t,"squash")&&-1===g(t,"array")&&(e={value:e}),e.$$fn=k(e.value)?e.value:function(){return e.value},e}(a),r=function(n,r,i){if(n.type&&r)throw new Error("Param '"+e+"' has two type configurations.");return r||(n.type?t.isString(n.type)?$[n.type]:n.type instanceof S?n.type:new S(n.type):"config"===i?$.any:$.string)}(a,r,u);var d,h,v=(d={array:"search"===u&&"auto"},h=e.match(/\[\]$/)?{array:!0}:{},c(d,h,a).array);"string"!==(r=v?r.$asArray(v,"search"===u):r).name||v||"path"!==u||a.value!==n||(a.value="");var b=a.value!==n,w=function(e,t){var n=e.squash;if(!t||!1===n)return!1;if(!i(n)||null==n)return p;if(!0===n||o(n))return n;throw new Error("Invalid squash policy: '"+n+"'. Valid policies: false, true, or arbitrary string")}(a,b),C=function(e,t,r,i){var a,s,u=[{from:"",to:r||t?n:""},{from:null,to:r||t?n:""}];return a=l(e.replace)?e.replace:[],o(i)&&a.push({from:i,to:n}),s=_(a,function(e){return e.from}),x(u,function(e){return-1===g(s,e.from)}).concat(a)}(a,v,b,w);c(this,{id:e,type:r,location:u,array:v,squash:w,replace:C,isOptional:b,value:function(e){return e=function(e){var t,n=_(x(f.replace,(t=e,function(e){return e.from===t})),function(e){return e.to});return n.length?n[0]:e}(e),i(e)?f.type.$normalize(e):function(){if(!y)throw new Error("Injectable functions cannot be called at configuration time");var e=y.invoke(a.$$fn);if(null!==e&&e!==n&&!f.type.is(e))throw new Error("Default value ("+e+") for parameter '"+f.id+"' is not an instance of Type ("+f.type.name+")");return e}()},dynamic:n,config:a,toString:function(){return"{Param:"+e+" "+r+" squash: '"+w+"' optional: "+b+"}"}})},E.prototype={$$new:function(){return h(this,c(new E,{$$parent:this}))},$$keys:function(){for(var e=[],t=[],n=this,r=m(E.prototype);n;)t.push(n),n=n.$$parent;return t.reverse(),u(t,function(t){u(m(t),function(t){-1===g(e,t)&&-1===g(r,t)&&e.push(t)})}),e},$$values:function(e){var t={},n=this;return u(n.$$keys(),function(r){t[r]=n[r].value(e&&e[r])}),t},$$equals:function(e,t){var n=!0,r=this;return u(r.$$keys(),function(i){var a=e&&e[i],o=t&&t[i];r[i].type.equals(a,o)||(n=!1)}),n},$$validates:function(e){var r,i,a,o,s,l=this.$$keys();for(r=0;r<l.length&&(i=this[l[r]],(a=e[l[r]])!==n&&null!==a||!i.isOptional);r++){if(o=i.type.$normalize(a),!i.type.is(o))return!1;if(s=i.type.encode(o),t.isString(s)&&!i.type.pattern.exec(s))return!1}return!0},$$parent:n},this.ParamSet=E}),t.module("ui.router.util").run(["$urlMatcherFactory",function(e){}]),T.$inject=["$locationProvider","$urlMatcherFactoryProvider"],t.module("ui.router.router").provider("$urlRouter",T),E.$inject=["$urlRouterProvider","$urlMatcherFactoryProvider"],t.module("ui.router.state").factory("$stateParams",function(){return{}}).provider("$state",E),O.$inject=[],t.module("ui.router.state").provider("$view",O),t.module("ui.router.state").provider("$uiViewScroll",function(){var e=!1;this.useAnchorScroll=function(){e=!0},this.$get=["$anchorScroll","$timeout",function(t,n){return e?t:function(e){return n(function(){e[0].scrollIntoView()},0,!1)}}]});var M=t.version.major,A=t.version.minor;function I(e,n,r,i){var a=n.has?function(e){return n.has(e)?n.get(e):null}:function(e){try{return n.get(e)}catch(e){return null}},o=a("$animator"),s=a("$animate");return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(n,a,l){return function(n,a,u){var c,f,d,h,p=u.onload||"",m=u.autoscroll,g=function(e,n){var r={enter:function(e,t,n){t.after(e),n()},leave:function(e,t){e.remove(),t()}};if(e.noanimation)return r;function i(e){return 1===M&&A>=4?!!s.enabled(e):1===M&&A>=2?!!s.enabled():!!o}if(s)return{enter:function(e,n,a){i(e)?t.version.minor>2?s.enter(e,null,n).then(a):s.enter(e,null,n,a):r.enter(e,n,a)},leave:function(e,n){i(e)?t.version.minor>2?s.leave(e).then(n):s.leave(e,n):r.leave(e,n)}};if(o){var a=o&&o(n,e);return{enter:function(e,t,n){a.enter(e,null,t),n()},leave:function(e,t){a.leave(e),t()}}}return r}(u,n);function v(o){var s,v=R(n,u,a,i),y=v&&e.$current&&e.$current.locals[v];if((o||y!==h)&&!n._willBeDestroyed){s=n.$new(),h=e.$current.locals[v],s.$emit("$viewContentLoading",v);var $=l(s,function(e){g.enter(e,a,function(){d&&d.$emit("$viewContentAnimationEnded"),(t.isDefined(m)&&!m||n.$eval(m))&&r(e)}),function(){var e=c,t=d;
9function n(){e&&e.remove(),t&&t.$destroy()}t&&(t._willBeDestroyed=!0),f?(g.leave(f,function(){n(),c=null}),c=f):(n(),c=null),f=null,d=null}()});f=$,(d=s).$emit("$viewContentLoaded",v),d.$eval(p)}}n.$on("$stateChangeSuccess",function(){v(!1)}),v(!0)}}}}function P(e,t,n,r){return{restrict:"ECA",priority:-400,compile:function(i){var a=i.html();return function(i,o,s){var l=n.$current,u=R(i,s,o,r),c=l&&l.locals[u];if(c){o.data("$uiView",{name:u,state:c.$$state}),o.html(c.$template?c.$template:a);var f=e(o.contents());if(c.$$controller){c.$scope=i,c.$element=o;var d=t(c.$$controller,c);c.$$controllerAs&&(i[c.$$controllerAs]=d),o.data("$ngControllerController",d),o.children().data("$ngControllerController",d)}f(i)}}}}}function R(e,t,n,r){var i=r(t.uiView||t.name||"")(e),a=n.inheritedData("$uiView");return i.indexOf("@")>=0?i:i+"@"+(a?a.state.name:"")}function j(e,t){var n,r=e.match(/^\s*({[^}]*})\s*$/);if(r&&(e=t+"("+r[1]+")"),!(n=e.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/))||4!==n.length)throw new Error("Invalid state ref '"+e+"'");return{state:n[1],paramExpr:n[3]||null}}function N(e){var t=e.parent().inheritedData("$uiView");if(t&&t.state&&t.state.name)return t.state}function L(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 F(e,t,n,r,i){return function(a){var o=a.which||a.button,s=i();if(!(o>1||a.ctrlKey||a.metaKey||a.shiftKey||e.attr("target"))){var l=n(function(){t.go(s.state,s.params,s.options)});a.preventDefault();var u=r.isAnchor&&!s.href?1:0;a.preventDefault=function(){u--<=0&&n.cancel(l)}}}}function U(e,n){return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(r,i,a,o){var s=j(a.uiSref,e.current.name),l={state:s.state,href:null,params:null},u=L(i),f=o[1]||o[0];l.options=c(function(e,t){return{relative:N(e)||t.$current,inherit:!0}}(i,e),a.uiSrefOpts?r.$eval(a.uiSrefOpts):{});var d=function(n){n&&(l.params=t.copy(n)),l.href=e.href(s.state,l.params,l.options),f&&f.$$addStateInfo(s.state,l.params),null!==l.href&&a.$set(u.attr,l.href)};s.paramExpr&&(r.$watch(s.paramExpr,function(e){e!==l.params&&d(e)},!0),l.params=t.copy(r.$eval(s.paramExpr))),d(),u.clickable&&i.bind("click",F(i,e,n,u,function(){return l}))}}}function H(e,t){return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(n,r,i,a){var o=L(r),s=a[1]||a[0],l="["+[i.uiState,i.uiStateParams||null,i.uiStateOpts||null].map(function(e){return e||"null"}).join(", ")+"]",u={state:null,params:null,options:null,href:null};function c(t){u.state=t[0],u.params=t[1],u.options=t[2],u.href=e.href(u.state,u.params,u.options),s&&s.$$addStateInfo(u.state,u.params),u.href&&i.$set(o.attr,u.href)}n.$watch(l,c,!0),c(n.$eval(l)),o.clickable&&r.bind("click",F(r,e,t,o,function(){return u}))}}}function q(e,t,n){return{restrict:"A",controller:["$scope","$element","$attrs","$timeout",function(t,r,i,a){var l,c,f=[],h={};l=n(i.uiSrefActiveEq||"",!1)(t);try{c=t.$eval(i.uiSrefActive)}catch(e){}function p(n,i,a){var l=e.get(n,N(r)),u=function(e,n){if(!o(e))throw new Error("state should be a string");return s(n)?e+d(n):(n=t.$eval(n),s(n)?e+d(n):e)}(n,i);f.push({state:l||{name:n},params:i,hash:u}),h[u]=a}function m(){for(var t=0;t<f.length;t++)n=f[t].state,i=f[t].params,e.includes(n.name,i)?g(r,h[f[t].hash]):v(r,h[f[t].hash]),y(f[t].state,f[t].params)?g(r,l):v(r,l);var n,i}function g(e,t){a(function(){e.addClass(t)})}function v(e,t){e.removeClass(t)}function y(t,n){return e.is(t.name,n)}c=c||n(i.uiSrefActive||"",!1)(t),s(c)&&u(c,function(n,r){if(o(n)){var i=j(n,e.current.name);p(i.state,t.$eval(i.paramExpr),r)}}),this.$$addStateInfo=function(e,t){s(c)&&f.length>0||(p(e,t,c),m())},t.$on("$stateChangeSuccess",m),m()}]}}function B(e){var t=function(t,n){return e.is(t,n)};return t.$stateful=!0,t}function V(e){var t=function(t,n,r){return e.includes(t,n,r)};return t.$stateful=!0,t}I.$inject=["$state","$injector","$uiViewScroll","$interpolate"],P.$inject=["$compile","$controller","$state","$interpolate"],t.module("ui.router.state").directive("uiView",I),t.module("ui.router.state").directive("uiView",P),U.$inject=["$state","$timeout"],H.$inject=["$state","$timeout"],q.$inject=["$state","$stateParams","$interpolate"],t.module("ui.router.state").directive("uiSref",U).directive("uiSrefActive",q).directive("uiSrefActiveEq",q).directive("uiState",H),B.$inject=["$state"],V.$inject=["$state"],t.module("ui.router.state").filter("isState",B).filter("includedByState",V)}(window,window.angular),function(){if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(e){"use strict";var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||t[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||e(r).trigger(e.support.transition.end)},t),this},e(function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.VERSION="3.4.1",n.TRANSITION_DURATION=150,n.prototype.close=function(t){var r=e(this),i=r.attr("data-target");
vendor: 4,438 bytes, line 9
9i||(i=(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),i="#"===i?[]:i;var a=e(document).find(i);function o(){a.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),a.length||(a=r.closest(".alert")),a.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(a.removeClass("in"),e.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o())};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),"string"==typeof t&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.bs.alert.data-api",t,n.prototype.close)}(jQuery),function(e){"use strict";var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each(function(){var r=e(this),i=r.data("bs.button"),a="object"==typeof n&&n;i||r.data("bs.button",i=new t(this,a)),"toggle"==n?i.toggle():n&&i.setState(n)})}t.VERSION="3.4.1",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",a=r.data();t+="Text",null==a.resetText&&r.data("resetText",r[i]()),setTimeout(e.proxy(function(){r[i](null==a[t]?this.options[t]:a[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},t.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=n,e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=e(t.target).closest(".btn");n.call(r,"toggle"),e(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};function n(n){return this.each(function(){var r=e(this),i=r.data("bs.carousel"),a=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n),o="string"==typeof n?n:a.slide;i||r.data("bs.carousel",i=new t(this,a)),"number"==typeof n?i.to(n):o?i[o]():a.interval&&i.pause().cycle()})}t.VERSION="3.4.1",t.TRANSITION_DURATION=600,t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},t.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},t.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},t.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r=(n+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(r)},t.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".
9item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){if(!this.sliding)return this.slide("next")},t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},t.prototype.slide=function(n,r){var i=this.$element.find(".item.active"),a=r||this.getItemForDirection(n,i),o=this.interval,s="next"==n?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var u=a[0],c=e.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var f=e(this.$indicators.children()[this.getItemIndex(a)]);f&&f.addClass("active")}var d=e.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(a.addClass(n),"object"==typeof a&&a.length&&a[0].offsetWidth,i.addClass(s),a.addClass(s),i.one("bsTransitionEnd",function(){a.removeClass([n,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(d)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(i.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(d)),o&&this.cycle(),this}};var r=e.fn.carousel;e.fn.carousel=n,e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=r,this};var i=function(t){var r=e(this),i=r.attr("href");i&&(i=i.replace(/.*(?=#[^\s]+$)/,""));var a=r.attr("data-target")||i,o=e(document).find(a);if(o.hasClass("carousel")){var s=e.extend({},o.data(),r.data()),l=r.attr("data-slide-to");l&&(s.interval=!1),n.call(o,s),l&&o.data("bs.carousel").to(l),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery),function(e){"use strict";var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.$trigger=e('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(document).find(r)}function r(n){return this.each(function(){var r=e(this),i=r.data("bs.collapse"),a=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n);!i&&a.toggle&&/show|hide/.test(n)&&(a.toggle=!1),i||r.data("bs.collapse",i=new t(this,a)),"string"==typeof n&&i[n]()})}t.VERSION="3.4.1",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},t.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(n=i.data("bs.collapse"))&&n.transitioning)){var a=e.Event("show.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){i&&i.length&&(r.call(i,"hide"),n||i.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[o](this.$element[0][l])}}}},t.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=e.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return i.call(this);this.$element[r](0).one("bsTransitionEnd",e.proxy(i,this)).emulateTransitionEnd(t.TRANSITION_DURATION)}}},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},t.prototype.getParent=function(){return e(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(t,r){var i=e(r);this.addAriaAndCollapsedClass(n(i),i)},this)).end()},t.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=e.fn.collapse;e.fn.collapse=r,e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=i,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var i=e(this);i.attr("data-target")||t.preventDefault();var a=n(i),o=a.data("bs.collapse")?"toggle":i.data();r.call(a,o)})}(jQuery),function(e){"use strict";var t=".dropdown-backdrop",n='[data-toggle="dropdown"]',r=function(t){e(t).on("click.bs.dropdown",this.toggle)};function i(t){var n=t.attr("data-target");n||(n=(n=t.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));
vendor: 4,294 bytes, line 9
9var r="#"!==n?e(document).find(n):null;return r&&r.length?r:t.parent()}function a(r){r&&3===r.which||(e(t).remove(),e(n).each(function(){var t=e(this),n=i(t),a={relatedTarget:this};n.hasClass("open")&&(r&&"click"==r.type&&/input|textarea/i.test(r.target.tagName)&&e.contains(n[0],r.target)||(n.trigger(r=e.Event("hide.bs.dropdown",a)),r.isDefaultPrevented()||(t.attr("aria-expanded","false"),n.removeClass("open").trigger(e.Event("hidden.bs.dropdown",a)))))}))}r.VERSION="3.4.1",r.prototype.toggle=function(t){var n=e(this);if(!n.is(".disabled, :disabled")){var r=i(n),o=r.hasClass("open");if(a(),!o){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",a);var s={relatedTarget:this};if(r.trigger(t=e.Event("show.bs.dropdown",s)),t.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(e.Event("shown.bs.dropdown",s))}return!1}},r.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var r=e(this);if(t.preventDefault(),t.stopPropagation(),!r.is(".disabled, :disabled")){var a=i(r),o=a.hasClass("open");if(!o&&27!=t.which||o&&27==t.which)return 27==t.which&&a.find(n).trigger("focus"),r.trigger("click");var s=a.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(t.target);38==t.which&&l>0&&l--,40==t.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var o=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var n=e(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new r(this)),"string"==typeof t&&i[t].call(n)})},e.fn.dropdown.Constructor=r,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=o,this},e(document).on("click.bs.dropdown.data-api",a).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",n,r.prototype.toggle).on("keydown.bs.dropdown.data-api",n,r.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",r.prototype.keydown)}(jQuery),function(e){"use strict";var t=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function n(n,r){return this.each(function(){var i=e(this),a=i.data("bs.modal"),o=e.extend({},t.DEFAULTS,i.data(),"object"==typeof n&&n);a||i.data("bs.modal",a=new t(this,o)),"string"==typeof n?a[n](r):o.show&&a.show(r)})}t.VERSION="3.4.1",t.TRANSITION_DURATION=300,t.BACKDROP_TRANSITION_DURATION=150,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},t.prototype.show=function(n){var r=this,i=e.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=e.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var a=e.Event("shown.bs.modal",{relatedTarget:n});i?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(a)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(a)}))},t.prototype.hide=function(n){n&&n.preventDefault(),n=e.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("
9click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())},t.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},t.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(n){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var a=e.support.transition&&i;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),a&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;a?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){r.removeBackdrop(),n&&n()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):o()}else n&&n()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},t.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",t+n),e(this.fixedContent).each(function(t,r){var i=r.style.paddingRight,a=e(r).css("padding-right");e(r).data("padding-right",i).css("padding-right",parseFloat(a)+n+"px")}))},t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),e(this.fixedContent).each(function(t,n){var r=e(n).data("padding-right");e(n).removeData("padding-right"),n.style.paddingRight=r||""})},t.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var r=e.fn.modal;e.fn.modal=n,e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=r,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=e(this),i=r.attr("href"),a=r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),o=e(document).find(a),s=o.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},o.data(),r.data());r.is("a")&&t.preventDefault(),o.one("show.bs.modal",function(e){e.isDefaultPrevented()||o.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),n.call(o,s,this)})}(jQuery),function(e){"use strict";
vendor: 4,580 bytes, line 9
9var t=["sanitize","whiteList","sanitizeFn"],n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],r={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},i=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,a=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function o(t,r){var o=t.nodeName.toLowerCase();if(-1!==e.inArray(o,r))return-1===e.inArray(o,n)||Boolean(t.nodeValue.match(i)||t.nodeValue.match(a));for(var s=e(r).filter(function(e,t){return t instanceof RegExp}),l=0,u=s.length;l<u;l++)if(o.match(s[l]))return!0;return!1}function s(t,n,r){if(0===t.length)return t;if(r&&"function"==typeof r)return r(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;var i=document.implementation.createHTMLDocument("sanitization");i.body.innerHTML=t;for(var a=e.map(n,function(e,t){return t}),s=e(i.body).find("*"),l=0,u=s.length;l<u;l++){var c=s[l],f=c.nodeName.toLowerCase();if(-1!==e.inArray(f,a))for(var d=e.map(c.attributes,function(e){return e}),h=[].concat(n["*"]||[],n[f]||[]),p=0,m=d.length;p<m;p++)o(d[p],h)||c.removeAttribute(d[p].nodeName);else c.parentNode.removeChild(c)}return i.body.innerHTML}var l=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:r},l.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(document).find(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var i=this.options.trigger.split(" "),a=i.length;a--;){var o=i[a];if("click"==o)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=o){var s="hover"==o?"mouseenter":"focusin",l="hover"==o?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(n){var r=this.$element.data();for(var i in r)r.hasOwnProperty(i)&&-1!==e.inArray(i,t)&&delete r[i];return(n=e.extend({},this.getDefaults(),r,n)).delay&&"number"==typeof n.delay&&(n.delay={show:n.delay,hide:n.delay}),n.sanitize&&(n.template=s(n.template,n.whiteList,n.sanitizeFn)),n},l.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},l.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},l.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focu
9s":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},l.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var n=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!n)return;var r=this,i=this.tip(),a=this.getUID(this.type);this.setContent(),i.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&i.addClass("fade");var o="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,u=s.test(o);u&&(o=o.replace(s,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?i.appendTo(e(document).find(this.options.container)):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),f=i[0].offsetWidth,d=i[0].offsetHeight;if(u){var h=o,p=this.getPosition(this.$viewport);o="bottom"==o&&c.bottom+d>p.bottom?"top":"top"==o&&c.top-d<p.top?"bottom":"right"==o&&c.right+f>p.width?"left":"left"==o&&c.left-f<p.left?"right":o,i.removeClass(h).addClass(o)}var m=this.getCalculatedOffset(o,c,f,d);this.applyPlacement(m,o);var g=function(){var e=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==e&&r.leave(r)};e.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",g).emulateTransitionEnd(l.TRANSITION_DURATION):g()}},l.prototype.applyPlacement=function(t,n){var r=this.tip(),i=r[0].offsetWidth,a=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(s)&&(s=0),t.top+=o,t.left+=s,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var l=r[0].offsetWidth,u=r[0].offsetHeight;"top"==n&&u!=a&&(t.top=t.top+a-u);var c=this.getViewportAdjustedDelta(n,t,l,u);c.left?t.left+=c.left:t.top+=c.top;var f=/top|bottom/.test(n),d=f?2*c.left-i+l:2*c.top-a+u,h=f?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(d,r[0][h],f)},l.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},l.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();this.options.html?(this.options.sanitize&&(t=s(t,this.options.whiteList,this.options.sanitizeFn)),e.find(".tooltip-inner").html(t)):e.find(".tooltip-inner").text(t),e.removeClass("fade in top bottom left right")},l.prototype.hide=function(t){var n=this,r=e(this.$tip),i=e.Event("hide.bs."+this.type);function a(){"in"!=n.hoverState&&r.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),t&&t()}if(this.$element.trigger(i),!i.isDefaultPrevented())return r.removeClass("in"),e.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",a).emulateTransitionEnd(l.TRANSITION_DURATION):a(),this.hoverState=null,this},l.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(t){var n=(t=t||this.$element)[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=e.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var a=window.SVGElement&&n instanceof window.SVGElement,o=r?{top:0,left:0}:a?null:t.offset(),s={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=r?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},i,s,l,o)},l.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},l.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-o.scroll,l=t.top+a-o.scroll+r;s<o.top?i.top=o.top-s:l>o.top+o.height&&(i.top=o.top+o.height-l)}else{var u=t.left-a,c=t.left+a+n;u<o.left?i.left=o.left-u:c>
vendor: 10,680 bytes, line 9
9o.right&&(i.left=o.left+o.width-c)}return i},l.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},l.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},l.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})},l.prototype.sanitizeHtml=function(e){return s(e,this.options.whiteList,this.options.sanitizeFn)};var u=e.fn.tooltip;e.fn.tooltip=function(t){return this.each(function(){var n=e(this),r=n.data("bs.tooltip"),i="object"==typeof t&&t;!r&&/destroy|hide/.test(t)||(r||n.data("bs.tooltip",r=new l(this,i)),"string"==typeof t&&r[t]())})},e.fn.tooltip.Constructor=l,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=u,this}}(jQuery),function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.4.1",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();if(this.options.html){var r=typeof n;this.options.sanitize&&(t=this.sanitizeHtml(t),"string"===r&&(n=this.sanitizeHtml(n))),e.find(".popover-title").html(t),e.find(".popover-content").children().detach().end()["string"===r?"html":"append"](n)}else e.find(".popover-title").text(t),e.find(".popover-content").children().detach().end().text(n);e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("bs.popover"),a="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.popover",i=new t(this,a)),"string"==typeof n&&i[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery),function(e){"use strict";function t(n,r){this.$body=e(document.body),this.$scrollElement=e(n).is(document.body)?e(window):e(n),this.options=e.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=e(this),i=r.data("bs.scrollspy"),a="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new t(this,a)),"string"==typeof n&&i[n]()})}t.VERSION="3.4.1",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),i=t.data("target")||t.attr("href"),a=/^#./.test(i)&&e(i);return a&&a.length&&a.is(":visible")&&[[a[n]().top+r,i]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return o!=(e=a[a.length-1])&&this.activate(e);if(o&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)o!=a[e]&&t>=i[e]&&(void 0===i[e+1]||t<i[e+1])&&this.activate(a[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',r=e(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=r,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery),function(e){"use strict";var t=function(t){this.element=e(t)};function n(n){return this.each(function(){var r=e(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new t(this)),"string"==typeof n&&i[n]()})}t.VERSION="3.4.1",t.TRANSITION_DURATION=150,t.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.data("target");if(r||(r=(r=t.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var i=n.find(".active:last a"),a=e.Event("hide.bs.tab",{relatedTarget:t[0]}),o=e.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(a),t.trigger(o),!o.isDefaultPrevented()&&!a.isDefaultPrevented()){var s=e(document).find(r);this.activate(t.closest("li"),n),this.activate(s,s.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},t.prototype.activate=function(n,r,i){var a=r.find("> .active"),o=i&&e.support.transition&&(a.length&&a.hasClass("fade")||!!r.find("> .fade").length);function s(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}a.length&&o?a.one("bsTransitionEnd",s).emulateTransitionEnd(t.TRANSITION_DURATION):s(),a.removeClass("in")};var r=e.fn.tab;e.fn.tab=n,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var i=function(t){t.preventDefault(),n.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(e){"use strict";var t=function(n,r){this.options=e.extend({},t.DEFAULTS,r);var i=this.options.target===t.DEFAULTS.target?e(this.options.target):e(document).find(this.options.target);this.$target=i.on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each(function(){var r=e(this),i=r.data("bs.affix"),a="object"==typeof n&&n;i||r.data("bs.affix",i=new t(this,a)),"string"==typeof n&&i[n]()})}t.VERSION="3.4.1",t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0,target:window},t.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=a.top)&&"bottom":!(i+o<=e-r)&&"bottom";var s=null==this.affixed,l=s?i:a.top;return null!=n&&i<=n?"top":null!=r&&l+(s?o:t)>=e-r&&"bottom"},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var e=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-e},t.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,i=r.top,a=r.bottom,o=Math.max(e(document).height(),e(document.body).height());"object"!=typeof r&&(a=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof a&&(a=r.bottom(this.$element));var s=this.getState(o,n,i,a);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=e.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:o-n-a})}};var r=e.fn.affix;e.fn.affix=n,e.fn.affix.Constructor=t,e.fn.affix.noConflict=function(){return e.fn.affix=r,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),r=t.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(t,r)})})}(jQuery)}(),angular.module("checklist-model",[]).directive("checklistModel",["$parse","$compile",function(e,t){function n(e,t){if(angular.isArray(e))for(var n=e.length;n--;)if(angular.equals(e[n],t))return!0;return!1}function r(r,i,a){t(i)(r);var o=e(a.checklistModel),s=o.assign,l=e(a.checklistChange),u=e(a.checklistValue)(r.$parent);function c(e,t){r.checked=n(e,u)}r.$watch("checked",function(e,t){if(e!==t){var i,a,c=o(r.$parent);
9s(r.$parent,!0===e?(i=c,a=u,n(i=angular.isArray(i)?i:[],a)||i.push(a),i):function(e,t){if(angular.isArray(e))for(var n=e.length;n--;)if(angular.equals(e[n],t)){e.splice(n,1);break}return e}(c,u)),l&&l(r)}}),angular.isFunction(r.$parent.$watchCollection)?r.$parent.$watchCollection(a.checklistModel,c):r.$parent.$watch(a.checklistModel,c,!0)}return{restrict:"A",priority:1e3,terminal:!0,scope:!0,compile:function(e,t){if("INPUT"!==e[0].tagName||"checkbox"!==t.type)throw'checklist-model should be applied to `input[type="checkbox"]`.';if(!t.checklistValue)throw"You should provide `checklist-value`.";return e.removeAttr("checklist-model"),e.attr("ng-model","checked"),r}}}]),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,n,r,i){return jQuery.easing[jQuery.easing.def](e,t,n,r,i)},easeInQuad:function(e,t,n,r,i){return r*(t/=i)*t+n},easeOutQuad:function(e,t,n,r,i){return-r*(t/=i)*(t-2)+n},easeInOutQuad:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t+n:-r/2*(--t*(t-2)-1)+n},easeInCubic:function(e,t,n,r,i){return r*(t/=i)*t*t+n},easeOutCubic:function(e,t,n,r,i){return r*((t=t/i-1)*t*t+1)+n},easeInOutCubic:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t+n:r/2*((t-=2)*t*t+2)+n},easeInQuart:function(e,t,n,r,i){return r*(t/=i)*t*t*t+n},easeOutQuart:function(e,t,n,r,i){return-r*((t=t/i-1)*t*t*t-1)+n},easeInOutQuart:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t+n:-r/2*((t-=2)*t*t*t-2)+n},easeInQuint:function(e,t,n,r,i){return r*(t/=i)*t*t*t*t+n},easeOutQuint:function(e,t,n,r,i){return r*((t=t/i-1)*t*t*t*t+1)+n},easeInOutQuint:function(e,t,n,r,i){return(t/=i/2)<1?r/2*t*t*t*t*t+n:r/2*((t-=2)*t*t*t*t+2)+n},easeInSine:function(e,t,n,r,i){return-r*Math.cos(t/i*(Math.PI/2))+r+n},easeOutSine:function(e,t,n,r,i){return r*Math.sin(t/i*(Math.PI/2))+n},easeInOutSine:function(e,t,n,r,i){return-r/2*(Math.cos(Math.PI*t/i)-1)+n},easeInExpo:function(e,t,n,r,i){return 0==t?n:r*Math.pow(2,10*(t/i-1))+n},easeOutExpo:function(e,t,n,r,i){return t==i?n+r:r*(1-Math.pow(2,-10*t/i))+n},easeInOutExpo:function(e,t,n,r,i){return 0==t?n:t==i?n+r:(t/=i/2)<1?r/2*Math.pow(2,10*(t-1))+n:r/2*(2-Math.pow(2,-10*--t))+n},easeInCirc:function(e,t,n,r,i){return-r*(Math.sqrt(1-(t/=i)*t)-1)+n},easeOutCirc:function(e,t,n,r,i){return r*Math.sqrt(1-(t=t/i-1)*t)+n},easeInOutCirc:function(e,t,n,r,i){return(t/=i/2)<1?-r/2*(Math.sqrt(1-t*t)-1)+n:r/2*(Math.sqrt(1-(t-=2)*t)+1)+n},easeInElastic:function(e,t,n,r,i){var a=1.70158,o=0,s=r;return 0==t?n:1==(t/=i)?n+r:(o||(o=.3*i),s<Math.abs(r)?(s=r,a=o/4):a=o/(2*Math.PI)*Math.asin(r/s),-s*Math.pow(2,10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)+n)},easeOutElastic:function(e,t,n,r,i){var a=1.70158,o=0,s=r;return 0==t?n:1==(t/=i)?n+r:(o||(o=.3*i),s<Math.abs(r)?(s=r,a=o/4):a=o/(2*Math.PI)*Math.asin(r/s),s*Math.pow(2,-10*t)*Math.sin((t*i-a)*(2*Math.PI)/o)+r+n)},easeInOutElastic:function(e,t,n,r,i){var a=1.70158,o=0,s=r;return 0==t?n:2==(t/=i/2)?n+r:(o||(o=i*(.3*1.5)),s<Math.abs(r)?(s=r,a=o/4):a=o/(2*Math.PI)*Math.asin(r/s),t<1?s*Math.pow(2,10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)*-.5+n:s*Math.pow(2,-10*(t-=1))*Math.sin((t*i-a)*(2*Math.PI)/o)*.5+r+n)},easeInBack:function(e,t,n,r,i,a){return void 0==a&&(a=1.70158),r*(t/=i)*t*((a+1)*t-a)+n},easeOutBack:function(e,t,n,r,i,a){return void 0==a&&(a=1.70158),r*((t=t/i-1)*t*((a+1)*t+a)+1)+n},easeInOutBack:function(e,t,n,r,i,a){return void 0==a&&(a=1.70158),(t/=i/2)<1?r/2*(t*t*((1+(a*=1.525))*t-a))+n:r/2*((t-=2)*t*((1+(a*=1.525))*t+a)+2)+n},easeInBounce:function(e,t,n,r,i){return r-jQuery.easing.easeOutBounce(e,i-t,0,r,i)+n},easeOutBounce:function(e,t,n,r,i){return(t/=i)<1/2.75?r*(7.5625*t*t)+n:t<2/2.75?r*(7.5625*(t-=1.5/2.75)*t+.75)+n:t<2.5/2.75?r*(7.5625*(t-=2.25/2.75)*t+.9375)+n:r*(7.5625*(t-=2.625/2.75)*t+.984375)+n},easeInOutBounce:function(e,t,n,r,i){return t<i/2?.5*jQuery.easing.easeInBounce(e,2*t,0,r,i)+n:.5*jQuery.easing.easeOutBounce(e,2*t-i,0,r,i)+.5*r+n}}),function(){(function(){function e(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function t(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function n(e,t){for(var n=-1,r=null==e?0:e.length;
vendor: 14,105 bytes, line 9
9++n<r&&!1!==t(e[n],n,e););return e}function r(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function i(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function a(e,t){return!(null==e||!e.length)&&m(e,t,0)>-1}function o(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function s(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function l(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function u(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function c(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function f(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function d(e){return e.match(_t)||[]}function h(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function p(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function m(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):p(e,v,n)}function g(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function v(e){return e!=e}function y(e,t){var n=null==e?0:e.length;return n?x(e,t)/n:$e}function $(e){return function(t){return null==t?H:t[e]}}function b(e){return function(t){return null==e?H:e[t]}}function w(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}function x(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==H&&(n=n===H?a:n+a)}return n}function _(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function C(e){return e?e.slice(0,F(e)+1).replace(yt,""):e}function k(e){return function(t){return e(t)}}function D(e,t){return s(t,function(t){return e[t]})}function S(e,t){return e.has(t)}function T(e,t){for(var n=-1,r=e.length;++n<r&&m(t,e[n],0)>-1;);return n}function E(e,t){for(var n=e.length;n--&&m(t,e[n],0)>-1;);return n}function O(e){return"\\"+_n[e]}function M(e){return vn.test(e)}function A(e){return yn.test(e)}function I(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function P(e,t){return function(n){return e(t(n))}}function R(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];o!==t&&o!==G||(e[n]=G,a[i++]=n)}return a}function j(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function N(e){return M(e)?function(e){for(var t=mn.lastIndex=0;mn.test(e);)++t;return t}(e):Un(e)}function L(e){return M(e)?function(e){return e.match(mn)||[]}(e):function(e){return e.split("")}(e)}function F(e){for(var t=e.length;t--&&$t.test(e.charAt(t)););return t}function U(e){return e.match(gn)||[]}var H,q=200,B="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",V="Expected a function",Y="Invalid `variable` option passed into `_.template`",W="__lodash_hash_undefined__",z=500,G="__lodash_placeholder__",X=1,J=2,Q=4,Z=1,K=2,ee=1,te=2,ne=4,re=8,ie=16,ae=32,oe=64,se=128,le=256,ue=512,ce=30,fe="...",de=800,he=16,pe=1,me=2,ge=1/0,ve=9007199254740991,ye=1.7976931348623157e308,$e=NaN,be=4294967295,we=be-1,xe=be>>>1,_e=[["ary",se],["bind",ee],["bindKey",te],["curry",re],["curryRight",ie],["flip",ue],["partial",ae],["partialRight",oe],["rearg",le]],Ce="[object Arguments]",ke="[object Array]",De="[object AsyncFunction]",Se="[object Boolean]",Te="[object Date]",Ee="[object DOMException]",Oe="[object Error]",Me="[object Function]",Ae="[object GeneratorFunction]",Ie="[object Map]",Pe="[object Number]",Re="[object Null]",je="[object Object]",Ne="[object Promise]",Le="[object Proxy]",Fe="[object RegExp]",Ue="[object Set]",He="[object String]",qe="[object Symbol]",Be="[object Undefined]",Ve="[object WeakMap]",Ye="[object WeakSet]",We="[object ArrayBuffer]",ze="[object DataView]",Ge="[object Float32Array]",Xe="[object Float64Array]",Je="[object Int8Array]",Qe="[object Int16Array]",Ze="[object Int32Array]",Ke="[object Uint8Array]",et="[object Uint8ClampedArray]",tt="[object Uint16Array]",nt="[object Uint32Array]",rt=/\b__p \+= '';/g,it=/\b(__p \+=) '' \+/g,at=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ot=/&(?:amp|lt|gt|quot|#39);/g,st=/[&<>"']/g,lt=RegExp(ot.source),ut=RegExp(st.source),ct=/<%-([\s\S]+?)%>/g,ft=/<%([\s\S]+?)%>/g,dt=/<%=([\s\S]+?)%>/g,ht=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pt=/^\w*$/,mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gt=/[\\^$.*+?()[\]{}|]/g,vt=RegExp(gt.source),yt=/^\s+/,$t=/\s/,bt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,wt=/\{\n\/\* \[wrapped with (.+)\] \*/,xt=/,? & /,_t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ct=/[()=,{}\[\]\/\s]/,kt=/\\(\\)?/g,Dt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,St=/\w*$/,Tt=/^[-+]0x[0-9a-f]+$/i,Et=/^0b[01]+$/i,Ot=/^\[object .+?Constructor\]$/,Mt=/^0o[0-7]+$/i,At=/^(?:0|[1-9]\d*)$/,It=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pt=/($^)/,Rt=/['\n\r\u2028\u2029\\]/g,jt="\\ud800-\\udfff",Nt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Lt="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",Ut="A-Z\\xc0-\\xd6\\xd8-\\xde",Ht="\\ufe0e\\ufe0f",qt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Bt="['â]",Vt="["+jt+"]",Yt="["+qt+"]",Wt="["+Nt+"]",zt="\\d+",Gt="["+Lt+"]",Xt="["+Ft+"]",Jt="[^"+jt+qt+zt+Lt+Ft+Ut+"]",Qt="\\ud83c[\\udffb-\\udfff]",Zt="[^"+jt+"]",Kt="(?:\\ud83c[\\udde6-\\uddff]){2}",en="[\\ud800-\\udbff][\\udc00-\\udfff]",tn="["+Ut+"]",nn="\\u200d",rn="(?:"+Xt+"|"+Jt+")",an="(?:"+tn+"|"+Jt+")",on="(?:['â](?:d|ll|m|re|s|t|ve))?",sn="(?:['â](?:D|LL|M|RE|S|T|VE))?",ln="(?:"+Wt+"|"+Qt+")"+"?",un="["+Ht+"]?",cn=un+ln+("(?:"+nn+"(?:"+[Zt,Kt,en].join("|")+")"+un+ln+")*"),fn="(?:"+[Gt,Kt,en].join("|")+")"+cn,dn="(?:"+[Zt+Wt+"?",Wt,Kt,en,Vt].join("|")+")",hn=RegExp(Bt,"g"),pn=RegExp(Wt,"g"),mn=RegExp(Qt+"(?="+Qt+")|"+dn+cn,"g"),gn=RegExp([tn+"?"+Xt+"+"+on+"(?="+[Yt,tn,"$"].join("|")+")",an+"+"+sn+"(?="+[Yt,tn+rn,"$"].join("|")+")",tn+"?"+rn+"+"+on,tn+"+"+sn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",zt,fn].join("|"),"g"),vn=RegExp("["+nn+jt+Nt+Ht+"]"),yn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$n=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],bn=-1,wn={};wn[Ge]=wn[Xe]=wn[Je]=wn[Qe]=wn[Ze]=wn[Ke]=wn[et]=wn[tt]=wn[nt]=!0,wn[Ce]=wn[ke]=wn[We]=wn[Se]=wn[ze]=wn[Te]=wn[Oe]=wn[Me]=wn[Ie]=wn[Pe]=wn[je]=wn[Fe]=wn[Ue]=wn[He]=wn[Ve]=!1;var xn={};xn[Ce]=xn[ke]=xn[We]=xn[ze]=xn[Se]=xn[Te]=xn[Ge]=xn[Xe]=xn[Je]=xn[Qe]=xn[Ze]=xn[Ie]=xn[Pe]=xn[je]=xn[Fe]=xn[Ue]=xn[He]=xn[qe]=xn[Ke]=xn[et]=xn[tt]=xn[nt]=!0,xn[Oe]=xn[Me]=xn[Ve]=!1;var _n={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cn=parseFloat,kn=parseInt,Dn="object"==typeof global&&global&&global.Object===Object&&global,Sn="object"==typeof self&&self&&self.Object===Object&&self,Tn=Dn||Sn||Function("return this")(),En="object"==typeof exports&&exports&&!exports.nodeType&&exports,On=En&&"object"==typeof module&&module&&!module.nodeType&&module,Mn=On&&On.exports===En,An=Mn&&Dn.process,In=function(){try{var e=On&&On.require&&On.require("util").types;return e||An&&An.binding&&An.binding("util")}catch(e){}}(),Pn=In&&In.isArrayBuffer,Rn=In&&In.isDate,jn=In&&In.isMap,Nn=In&&In.isRegExp,Ln=In&&In.isSet,Fn=In&&In.isTypedArray,Un=$("length"),Hn=b({"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"}),qn=b({"&":"&","<":"<",">":">",'"':""","'":"'"}),Bn=b({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Vn=function b($t){function _t(e){if(sa(e)&&!Qs(e)&&!(e instanceof Lt)){if(e instanceof Nt)return e;if(Ja.call(e,"__wrapped__"))return Ii(e)}return new Nt(e)}function jt(){}function Nt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=H}function Lt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=be,this.__views__=[]}function Ft(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ut(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ht(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ht;++t<n;)this.add(e[t])}function Bt(e){this.size=(this.__data__=new Ut(e)).size}function Vt(e,t){var n=Qs(e),r=!n&&Js(e),i=!n&&!r&&Ks(e),a=!n&&!r&&!i&&il(e),o=n||r||i||a,s=o?_(e.length,Ba):[],l=s.length;for(var u in e)!t&&!Ja.call(e,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||vi(u,l))||s.push(u);return s}function Yt(e){var t=e.length;return t?e[rr(0,t-1)]:H}function Wt(e,t,n){(n===H||Ki(e[t],n))&&(n!==H||t in e)||Qt(e,t,n)}function zt(e,t,n){var r=e[t];Ja.call(e,t)&&Ki(r,n)&&(n!==H||t in e)||Qt(e,t,n)}function Gt(e,t){for(var n=e.length;n--;)if(Ki(e[n][0],t))return n;return-1}function Xt(e,t,n,r){return Xo(e,function(e,i,a){t(r,e,n(e),a)}),r}function Jt(e,t){return e&&Ar(t,wa(t),e)}function Qt(e,t,n){"__proto__"==t&&mo?mo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Zt(e,t){for(var n=-1,r=t.length,i=ja(r),a=null==e;++n<r;)i[n]=a?H:$a(e,t[n]);return i}function Kt(e,t,n){return e==e&&(n!==H&&(e=e<=n?e:n),t!==H&&(e=e>=t?e:t)),e}function en(e,t,r,i,a,o){var s,l=t&X,u=t&J,c=t&Q;if(r&&(s=a?r(e,i,a,o):r(e)),s!==H)return s;if(!oa(e))return e;var f=Qs(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Ja.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Mr(e,s)}else{var d=ss(e),h=d==Me||d==Ae;if(Ks(e))return kr(e,l);if(d==je||d==Ce||h&&!a){if(s=u||h?{}:mi(e),!l)return u?function(e,t){return Ar(e,os(e),t)}(e,function(e,t){return e&&Ar(t,xa(t),e)}(s,e)):function(e,t){return Ar(e,as(e),t)}(e,Jt(s,e))}else{if(!xn[d])return a?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case We:return Dr(e);case Se:case Te:return new r(+e);case ze:return function(e,t){return new e.constructor(t?Dr(e.buffer):e.buffer,e.byteOffset,e.byteLength)}(e,n);case Ge:case Xe:case Je:case Qe:case Ze:case Ke:case et:case tt:case nt:return Sr(e,n);case Ie:return new r;case Pe:case He:return new r(e);case Fe:return function(e){var t=new e.constructor(e.source,St.exec(e));return t.lastIndex=e.lastIndex,t}(e);case Ue:return new r;case qe:return function(e){return Wo?Ha(Wo.call(e)):{}}(e)}}(e,d,l)}}o||(o=new Bt);var p=o.get(e);if(p)return p;o.set(e,s),rl(e)?e.forEach(function(n){s.add(en(n,t,r,n,e,o))}):tl(e)&&e.forEach(function(n,i){s.set(i,en(n,t,r,i,e,o))});var m=f?H:(c?u?si:oi:u?xa:wa)(e);return n(m||e,function(n,i){m&&(n=e[i=n]),zt(s,i,en(n,t,r,i,e,o))}),s}function tn(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ha(e);r--;){var i=n[r],a=t[i],o=e[i];if(o===H&&!(i in e)||!a(o))return!1}return!0}function nn(e,t,n){if("function"!=typeof e)throw new Va(V);return cs(function(){e.apply(H,n)},t)}function rn(e,t,n,r){var i=-1,l=a,u=!0,c=e.length,f=[],d=t.length;if(!c)return f;n&&(t=s(t,k(n))),r?(l=o,u=!1):t.length>=q&&(l=S,u=!1,t=new qt(t));e:for(;++i<c;){var h=e[i],p=null==n?h:n(h);if(h=r||0!==h?h:0,u&&p==p){for(var m=d;m--;)if(t[m]===p)continue e;f.push(h)}else l(t,p,r)||f.push(h)}return f}function an(e,t){var n=!0;return Xo(e,function(e,r,i){return n=!!t(e,r,i)}),n}function on(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(null!=o&&(s===H?o==o&&!fa(o):n(o,s)))var s=o,l=a}return l}function sn(e,t){var n=[];return Xo(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function ln(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=gi),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?ln(s,t-1,n,r,i):l(i,s):r||(i[i.length]=s)}return i}function un(e,t){return e&&Qo(e,t,wa)}function cn(e,t){return e&&Zo(e,t,wa)}function fn(e,t){return i(t,function(t){return ra(e[t])})}function dn(e,t){for(var n=0,r=(t=_r(t,e)).length;null!=e&&n<r;)e=e[Oi(t[n++])];return n&&n==r?e:H}
vendor: 1,856 bytes, line 9
9function mn(e,t,n){var r=t(e);return Qs(e)?r:l(r,n(e))}function gn(e){return null==e?e===H?Be:Re:po&&po in Ha(e)?function(e){var t=Ja.call(e,po),n=e[po];try{e[po]=H;var r=!0}catch(e){}var i=Ka.call(e);return r&&(t?e[po]=n:delete e[po]),i}(e):function(e){return Ka.call(e)}(e)}function vn(e,t){return e>t}function yn(e,t){return null!=e&&Ja.call(e,t)}function _n(e,t){return null!=e&&t in Ha(e)}function Dn(e,t,n){for(var r=n?o:a,i=e[0].length,l=e.length,u=l,c=ja(l),f=1/0,d=[];u--;){var h=e[u];u&&t&&(h=s(h,k(t))),f=So(h.length,f),c[u]=!n&&(t||i>=120&&h.length>=120)?new qt(u&&h):H}h=e[0];var p=-1,m=c[0];e:for(;++p<i&&d.length<f;){var g=h[p],v=t?t(g):g;if(g=n||0!==g?g:0,!(m?S(m,v):r(d,v,n))){for(u=l;--u;){var y=c[u];if(!(y?S(y,v):r(e[u],v,n)))continue e}m&&m.push(v),d.push(g)}}return d}function Sn(t,n,r){var i=null==(t=ki(t,n=_r(n,t)))?t:t[Oi(Li(n))];return null==i?H:e(i,t,r)}function En(e){return sa(e)&&gn(e)==Ce}function On(e,t,n,r,i){return e===t||(null==e||null==t||!sa(e)&&!sa(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var o=Qs(e),s=Qs(t),l=o?ke:ss(e),u=s?ke:ss(t),c=(l=l==Ce?je:l)==je,f=(u=u==Ce?je:u)==je,d=l==u;if(d&&Ks(e)){if(!Ks(t))return!1;o=!0,c=!1}if(d&&!c)return a||(a=new Bt),o||il(e)?ii(e,t,n,r,i,a):function(e,t,n,r,i,a,o){switch(n){case ze:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case We:return!(e.byteLength!=t.byteLength||!a(new ao(e),new ao(t)));case Se:case Te:case Pe:return Ki(+e,+t);case Oe:return e.name==t.name&&e.message==t.message;case Fe:case He:return e==t+"";case Ie:var s=I;case Ue:var l=r&Z;if(s||(s=j),e.size!=t.size&&!l)return!1;var u=o.get(e);if(u)return u==t;r|=K,o.set(e,t);var c=ii(s(e),s(t),r,i,a,o);return o.delete(e),c;case qe:if(Wo)return Wo.call(e)==Wo.call(t)}return!1}(e,t,l,n,r,i,a);if(!(n&Z)){var h=c&&Ja.call(e,"__wrapped__"),p=f&&Ja.call(t,"__wrapped__");
vendor: 5,131 bytes, line 9
9if(h||p){var m=h?e.value():e,g=p?t.value():t;return a||(a=new Bt),i(m,g,n,r,a)}}return!!d&&(a||(a=new Bt),function(e,t,n,r,i,a){var o=n&Z,s=oi(e),l=s.length;if(l!=oi(t).length&&!o)return!1;for(var u=l;u--;){var c=s[u];if(!(o?c in t:Ja.call(t,c)))return!1}var f=a.get(e),d=a.get(t);if(f&&d)return f==t&&d==e;var h=!0;a.set(e,t),a.set(t,e);for(var p=o;++u<l;){c=s[u];var m=e[c],g=t[c];if(r)var v=o?r(g,m,c,t,e,a):r(m,g,c,e,t,a);if(!(v===H?m===g||i(m,g,n,r,a):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var y=e.constructor,$=t.constructor;y!=$&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof $&&$ instanceof $)&&(h=!1)}return a.delete(e),a.delete(t),h}(e,t,n,r,i,a))}(e,t,n,r,On,i))}function An(e,t,n,r){var i=n.length,a=i,o=!r;if(null==e)return!a;for(e=Ha(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var l=(s=n[i])[0],u=e[l],c=s[1];if(o&&s[2]){if(u===H&&!(l in e))return!1}else{var f=new Bt;if(r)var d=r(u,c,l,e,t,f);if(!(d===H?On(c,u,Z|K,r,f):d))return!1}}return!0}function In(e){return!(!oa(e)||function(e){return!!Za&&Za in e}(e))&&(ra(e)?no:Ot).test(Mi(e))}function Un(e){return"function"==typeof e?e:null==e?Ea:"object"==typeof e?Qs(e)?Jn(e[0],e[1]):Xn(e):Ia(e)}function Yn(e){if(!wi(e))return ko(e);var t=[];for(var n in Ha(e))Ja.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Wn(e){if(!oa(e))return function(e){var t=[];if(null!=e)for(var n in Ha(e))t.push(n);return t}(e);var t=wi(e),n=[];for(var r in e)("constructor"!=r||!t&&Ja.call(e,r))&&n.push(r);return n}function zn(e,t){return e<t}function Gn(e,t){var n=-1,r=ea(e)?ja(e.length):[];return Xo(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Xn(e){var t=di(e);return 1==t.length&&t[0][2]?_i(t[0][0],t[0][1]):function(n){return n===e||An(n,e,t)}}function Jn(e,t){return $i(e)&&xi(t)?_i(Oi(e),t):function(n){var r=$a(n,e);return r===H&&r===t?ba(n,e):On(t,r,Z|K)}}function Qn(e,t,n,r,i){e!==t&&Qo(t,function(a,o){if(i||(i=new Bt),oa(a))!function(e,t,n,r,i,a,o){var s=Di(e,n),l=Di(t,n),u=o.get(l);if(u)return Wt(e,n,u),H;var c=a?a(s,l,n+"",e,t,o):H,f=c===H;if(f){var d=Qs(l),h=!d&&Ks(l),p=!d&&!h&&il(l);c=l,d||h||p?Qs(s)?c=s:ta(s)?c=Mr(s):h?(f=!1,c=kr(l,!0)):p?(f=!1,c=Sr(l,!0)):c=[]:ua(l)||Js(l)?(c=s,Js(s)?c=va(s):oa(s)&&!ra(s)||(c=mi(l))):f=!1}f&&(o.set(l,c),i(c,l,r,a,o),o.delete(l)),Wt(e,n,c)}(e,t,o,n,Qn,r,i);else{var s=r?r(Di(e,o),a,o+"",e,t,i):H;s===H&&(s=a),Wt(e,o,s)}},xa)}function Zn(e,t){var n=e.length;if(n)return vi(t+=t<0?n:0,n)?e[t]:H}function Kn(e,t,n){var r=-1;return t=s(t=t.length?s(t,function(e){return Qs(e)?function(t){return dn(t,1===e.length?e[0]:e)}:e}):[Ea],k(ci())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(Gn(e,function(e,n,i){return{criteria:s(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var l=Tr(i[r],a[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)})}function er(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=dn(e,o);n(s,o)&&or(a,_r(o,e),s)}return a}function tr(e,t,n,r){var i=r?g:m,a=-1,o=t.length,l=e;for(e===t&&(t=Mr(t)),n&&(l=s(e,k(n)));++a<o;)for(var u=0,c=t[a],f=n?n(c):c;(u=i(l,f,u,r))>-1;)l!==e&&co.call(l,u,1),co.call(e,u,1);return e}function nr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;vi(i)?co.call(e,i,1):mr(e,i)}}return e}function rr(e,t){return e+bo(Oo()*(t-e+1))}function ir(e,t){var n="";if(!e||t<1||t>ve)return n;do{t%2&&(n+=e),(t=bo(t/2))&&(e+=e)}while(t);return n}function ar(e,t){return fs(Ci(e,t,Ea),e+"")}function or(e,t,n,r){if(!oa(e))return e;for(var i=-1,a=(t=_r(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var l=Oi(t[i]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(i!=o){var c=s[l];(u=r?r(c,l,s):H)===H&&(u=oa(c)?c:vi(t[i+1])?[]:{})}zt(s,l,u),s=s[l]}return e}function sr(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=ja(i);++r<i;)a[r]=e[r+t];return a}function lr(e,t){var n;return Xo(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function ur(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=xe){for(;r<i;){var a=r+i>>>1,o=e[a];null!==o&&!fa(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return cr(e,t,Ea,n)}function cr(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var o=(t=n(t))!=t,s=null===t,l=fa(t),u=t===H;i<a;){var c=bo((i+a)/2),f=n(e[c]),d=f!==H,h=null===f,p=f==f,m=fa(f);if(o)var g=r||p;else g=u?p&&(r||d):s?p&&d&&(r||!h):l?p&&d&&!h&&(r||!m):!h&&!m&&(r?f<=t:f<t);g?i=c+1:a=c}return So(a,we)}function fr(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!Ki(s,l)){var l=s;a[i++]=0===o?0:o}}return a}function dr(e){return"number"==typeof e?e:fa(e)?$e:+e}function hr(e){if("string"==typeof e)return e;if(Qs(e))return s(e,hr)+"";if(fa(e))return zo?zo.call(e):"";var t=e+"";return"0"==t&&1/e==-ge?"-0":t}function pr(e,t,n){var r=-1,i=a,s=e.length,l=!0,u=[],c=u;if(n)l=!1,i=o;else if(s>=q){var f=t?null:rs(e);if(f)return j(f);l=!1,i=S,c=new qt}else c=t?[]:u;e:for(;++r<s;
vendor: 8,755 bytes, line 9
9){var d=e[r],h=t?t(d):d;if(d=n||0!==d?d:0,l&&h==h){for(var p=c.length;p--;)if(c[p]===h)continue e;t&&c.push(h),u.push(d)}else i(c,h,n)||(c!==u&&c.push(h),u.push(d))}return u}function mr(e,t){return null==(e=ki(e,t=_r(t,e)))||delete e[Oi(Li(t))]}function gr(e,t,n,r){return or(e,t,n(dn(e,t)),r)}function vr(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?sr(e,r?0:a,r?a+1:i):sr(e,r?a+1:0,r?i:a)}function yr(e,t){var n=e;return n instanceof Lt&&(n=n.value()),u(t,function(e,t){return t.func.apply(t.thisArg,l([e],t.args))},n)}function $r(e,t,n){var r=e.length;if(r<2)return r?pr(e[0]):[];for(var i=-1,a=ja(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=rn(a[i]||o,e[s],t,n));return pr(ln(a,1),t,n)}function br(e,t,n){for(var r=-1,i=e.length,a=t.length,o={};++r<i;)n(o,e[r],r<a?t[r]:H);return o}function wr(e){return ta(e)?e:[]}function xr(e){return"function"==typeof e?e:Ea}function _r(e,t){return Qs(e)?e:$i(e,t)?[e]:ds(ya(e))}function Cr(e,t,n){var r=e.length;return n=n===H?r:n,!t&&n>=r?e:sr(e,t,n)}function kr(e,t){if(t)return e.slice();var n=e.length,r=oo?oo(n):new e.constructor(n);return e.copy(r),r}function Dr(e){var t=new e.constructor(e.byteLength);return new ao(t).set(new ao(e)),t}function Sr(e,t){return new e.constructor(t?Dr(e.buffer):e.buffer,e.byteOffset,e.length)}function Tr(e,t){if(e!==t){var n=e!==H,r=null===e,i=e==e,a=fa(e),o=t!==H,s=null===t,l=t==t,u=fa(t);if(!s&&!u&&!a&&e>t||a&&o&&l&&!s&&!u||r&&o&&l||!n&&l||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!l)return-1}return 0}function Er(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,l=t.length,u=Do(a-o,0),c=ja(l+u),f=!r;++s<l;)c[s]=t[s];for(;++i<o;)(f||i<a)&&(c[n[i]]=e[i]);for(;u--;)c[s++]=e[i++];return c}function Or(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,l=-1,u=t.length,c=Do(a-s,0),f=ja(c+u),d=!r;++i<c;)f[i]=e[i];for(var h=i;++l<u;)f[h+l]=t[l];for(;++o<s;)(d||i<a)&&(f[h+n[o]]=e[i++]);return f}function Mr(e,t){var n=-1,r=e.length;for(t||(t=ja(r));++n<r;)t[n]=e[n];return t}function Ar(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=r?r(n[s],e[s],s,n,e):H;l===H&&(l=e[s]),i?Qt(n,s,l):zt(n,s,l)}return n}function Ir(e,n){return function(r,i){var a=Qs(r)?t:Xt,o=n?n():{};return a(r,e,ci(i,2),o)}}function Pr(e){return ar(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:H,o=i>2?n[2]:H;for(a=e.length>3&&"function"==typeof a?(i--,a):H,o&&yi(n[0],n[1],o)&&(a=i<3?H:a,i=1),t=Ha(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}function Rr(e,t){return function(n,r){if(null==n)return n;if(!ea(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Ha(n);(t?a--:++a<i)&&!1!==r(o[a],a,o););return n}}function jr(e){return function(t,n,r){for(var i=-1,a=Ha(t),o=r(t),s=o.length;s--;){var l=o[e?s:++i];if(!1===n(a[l],l,a))break}return t}}function Nr(e){return function(t){var n=M(t=ya(t))?L(t):H,r=n?n[0]:t.charAt(0),i=n?Cr(n,1).join(""):t.slice(1);return r[e]()+i}}function Lr(e){return function(t){return u(Sa(Da(t).replace(hn,"")),e,"")}}function Fr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Go(e.prototype),r=e.apply(n,t);return oa(r)?r:n}}function Ur(t,n,r){var i=Fr(t);return function a(){for(var o=arguments.length,s=ja(o),l=o,u=ui(a);l--;)s[l]=arguments[l];var c=o<3&&s[0]!==u&&s[o-1]!==u?[]:R(s,u);return(o-=c.length)<r?Qr(t,n,Br,a.placeholder,H,s,c,H,H,r-o):e(this&&this!==Tn&&this instanceof a?i:t,this,s)}}function Hr(e){return function(t,n,r){var i=Ha(t);if(!ea(t)){var a=ci(n,3);t=wa(t),n=function(e){return a(i[e],e,i)}}var o=e(t,n,r);return o>-1?i[a?t[o]:o]:H}}function qr(e){return ai(function(t){var n=t.length,r=n,i=Nt.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Va(V);if(i&&!o&&"wrapper"==li(a))var o=new Nt([],!0)}for(r=o?r:n;++r<n;){var s=li(a=t[r]),l="wrapper"==s?is(a):H;o=l&&bi(l[0])&&l[1]==(se|re|ae|le)&&!l[4].length&&1==l[9]?o[li(l[0])].apply(o,l[3]):1==a.length&&bi(a)?o[s]():o.thru(a)}return function(){var e=arguments,r=e[0];if(o&&1==e.length&&Qs(r))return o.plant(r).value();for(var i=0,a=n?t[i].apply(this,e):r;++i<n;)a=t[i].call(this,a);return a}})}function Br(e,t,n,r,i,a,o,s,l,u){var c=t&se,f=t&ee,d=t&te,h=t&(re|ie),p=t&ue,m=d?H:Fr(e);return function g(){for(var v=arguments.length,y=ja(v),$=v;$--;)y[$]=arguments[$];if(h)var b=ui(g),w=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,b);if(r&&(y=Er(y,r,i,h)),a&&(y=Or(y,a,o,h)),v-=w,h&&v<u)return Qr(e,t,Br,g.placeholder,n,y,R(y,b),s,l,u-v);var x=f?n:this,_=d?x[e]:e;return v=y.length,s?y=function(e,t){for(var n=e.length,r=So(t.length,n),i=Mr(e);r--;){var a=t[r];e[r]=vi(a,n)?i[a]:H}return e}(y,s):p&&v>1&&y.reverse(),c&&l<v&&(y.length=l),this&&this!==Tn&&this instanceof g&&(_=m||Fr(_)),_.apply(x,y)}}function Vr(e,t){return function(n,r){return function(e,t,n,r){return un(e,function(e,i,a){t(r,n(e),i,a)}),r}(n,e,t(r),{})}}function Yr(e,t){return function(n,r){var i;if(n===H&&r===H)return t;if(n!==H&&(i=n),r!==H){if(i===H)return r;"string"==typeof n||"string"==typeof r?(n=hr(n),r=hr(r)):(n=dr(n),r=dr(r)),i=e(n,r)}return i}}function Wr(t){return ai(function(n){return n=s(n,k(ci())),ar(function(r){var i=this;return t(n,function(t){return e(t,i,r)})})})}function zr(e,t){var n=(t=t===H?" ":hr(t)).length;if(n<2)return n?ir(t,e):t;var r=ir(t,$o(e/N(t)));return M(t)?Cr(L(r),0,e).join(""):r.slice(0,e)}function Gr(t,n,r,i){var a=n&ee,o=Fr(t);return function n(){for(var s=-1,l=arguments.length,u=-1,c=i.length,f=ja(c+l),d=this&&this!==Tn&&this instanceof n?o:t;++u<c;)f[u]=i[u];for(;l--;)f[u++]=arguments[++s];return e(d,a?r:this,f)}}function Xr(e){return function(t,n,r){return r&&"number"!=typeof r&&yi(t,n,r)&&(n=r=H),t=ha(t),n===H?(n=t,t=0):n=ha(n),function(e,t,n,r){for(var i=-1,a=Do($o((t-e)/(n||1)),0),o=ja(a);a--;)o[r?a:++i]=e,e+=n;return o}(t,n,r=r===H?t<n?1:-1:ha(r),e)}}function Jr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ga(t),n=ga(n)),e(t,n)}}function Qr(e,t,n,r,i,a,o,s,l,u){var c=t&re;t|=c?ae:oe,(t&=~(c?oe:ae))&ne||(t&=~(ee|te));var f=[e,t,i,c?a:H,c?o:H,c?H:a,c?H:o,s,l,u],d=n.apply(H,f);return bi(e)&&us(d,f),d.placeholder=r,Si(d,e,t)}function Zr(e){var t=Ua[e];return function(e,n){if(e=ga(e),(n=null==n?0:So(pa(n),292))&&_o(e)){var r=(ya(e)+"e").split("e");return+((r=(ya(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}function Kr(e){return function(t){var n=ss(t);return n==Ie?I(t):n==Ue?function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}(t):function(e,t){return s(t,function(t){return[t,e[t]]})}(t,e(t))}}function ei(e,t,n,r,i,a,o,s){var l=t&te;if(!l&&"function"!=typeof e)throw new Va(V);var u=r?r.length:0;if(u||(t&=~(ae|oe),r=i=H),o=o===H?o:Do(pa(o),0),s=s===H?s:pa(s),u-=i?i.length:0,t&oe){var c=r,f=i;r=i=H}var d=l?H:is(e),h=[e,t,n,r,i,c,f,a,o,s];if(d&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<(ee|te|se),o=r==se&&n==re||r==se&&n==le&&e[7].length<=t[8]||r==(se|le)&&t[7].length<=t[8]&&n==re;if(!a&&!o)return e;r&ee&&(e[2]=t[2],i|=n&ee?0:ne);var s=t[3];if(s){var l=e[3];e[3]=l?Er(l,s,t[4]):s,e[4]=l?R(e[3],G):t[4]}(s=t[5])&&(l=e[5],e[5]=l?Or(l,s,t[6]):s,e[6]=l?R(e[5],G):t[6]),(s=t[7])&&(e[7]=s),r&se&&(e[8]=null==e[8]?t[8]:So(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(h,d),e=h[0],t=h[1],n=h[2],r=h[3],i=h[4],!(s=h[9]=h[9]===H?l?0:e.length:Do(h[9]-u,0))&&t&(re|ie)&&(t&=~(re|ie)),t&&t!=ee)p=t==re||t==ie?Ur(e,t,s):t!=ae&&t!=(ee|ae)||i.length?Br.apply(H,h):Gr(e,t,n,r);else var p=function(e,t,n){var r=t&ee,i=Fr(e);return function t(){return(this&&this!==Tn&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,n);return Si((d?Ko:us)(p,h),e,t)}function ti(e,t,n,r){return e===H||Ki(e,za[n])&&!Ja.call(r,n)?t:e}function ni(e,t,n,r,i,a){return oa(e)&&oa(t)&&(a.set(t,e),Qn(e,t,H,ni,a),a.delete(t)),e}function ri(e){return ua(e)?H:e}function ii(e,t,n,r,i,a){var o=n&Z,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,h=!0,p=n&K?new qt:H;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],g=t[d];if(r)var v=o?r(g,m,d,t,e,a):r(m,g,d,e,t,a);if(v!==H){if(v)continue;h=!1;break}if(p){if(!f(t,function(e,t){if(!S(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){h=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function ai(e){return fs(Ci(e,H,ji),e+"")}function oi(e){return mn(e,wa,as)}function si(e){return mn(e,xa,os)}function li(e){for(var t=e.name+"",n=Fo[t],r=Ja.call(Fo,t)?n.length:0;r--;){var i=n[r],a=i.func;
vendor: 8,748 bytes, line 9
9if(null==a||a==e)return i.name}return t}function ui(e){return(Ja.call(_t,"placeholder")?_t:e).placeholder}function ci(){var e=_t.iteratee||Oa;return e=e===Oa?Un:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function di(e){for(var t=wa(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,xi(i)]}return t}function hi(e,t){var n=function(e,t){return null==e?H:e[t]}(e,t);return In(n)?n:H}function pi(e,t,n){for(var r=-1,i=(t=_r(t,e)).length,a=!1;++r<i;){var o=Oi(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&aa(i)&&vi(o,i)&&(Qs(e)||Js(e))}function mi(e){return"function"!=typeof e.constructor||wi(e)?{}:Go(so(e))}function gi(e){return Qs(e)||Js(e)||!!(fo&&e&&e[fo])}function vi(e,t){var n=typeof e;return!!(t=null==t?ve:t)&&("number"==n||"symbol"!=n&&At.test(e))&&e>-1&&e%1==0&&e<t}function yi(e,t,n){if(!oa(n))return!1;var r=typeof t;return!!("number"==r?ea(n)&&vi(t,n.length):"string"==r&&t in n)&&Ki(n[t],e)}function $i(e,t){if(Qs(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!fa(e))||pt.test(e)||!ht.test(e)||null!=t&&e in Ha(t)}function bi(e){var t=li(e),n=_t[t];if("function"!=typeof n||!(t in Lt.prototype))return!1;if(e===n)return!0;var r=is(n);return!!r&&e===r[0]}function wi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||za)}function xi(e){return e==e&&!oa(e)}function _i(e,t){return function(n){return null!=n&&n[e]===t&&(t!==H||e in Ha(n))}}function Ci(t,n,r){return n=Do(n===H?t.length-1:n,0),function(){for(var i=arguments,a=-1,o=Do(i.length-n,0),s=ja(o);++a<o;)s[a]=i[n+a];a=-1;for(var l=ja(n+1);++a<n;)l[a]=i[a];return l[n]=r(s),e(t,this,l)}}function ki(e,t){return t.length<2?e:dn(e,sr(t,0,-1))}function Di(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function Si(e,t,n){var r=t+"";return fs(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(bt,"{\n/* [wrapped with "+t+"] */\n")}(r,Ai(function(e){var t=e.match(wt);return t?t[1].split(xt):[]}(r),n)))}function Ti(e){var t=0,n=0;return function(){var r=To(),i=he-(r-n);if(n=r,i>0){if(++t>=de)return arguments[0]}else t=0;return e.apply(H,arguments)}}function Ei(e,t){var n=-1,r=e.length,i=r-1;for(t=t===H?r:t;++n<t;){var a=rr(n,i),o=e[a];e[a]=e[n],e[n]=o}return e.length=t,e}function Oi(e){if("string"==typeof e||fa(e))return e;var t=e+"";return"0"==t&&1/e==-ge?"-0":t}function Mi(e){if(null!=e){try{return Xa.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ai(e,t){return n(_e,function(n){var r="_."+n[0];t&n[1]&&!a(e,r)&&e.push(r)}),e.sort()}function Ii(e){if(e instanceof Lt)return e.clone();var t=new Nt(e.__wrapped__,e.__chain__);return t.__actions__=Mr(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Pi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:pa(n);return i<0&&(i=Do(r+i,0)),p(e,ci(t,3),i)}function Ri(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==H&&(i=pa(n),i=n<0?Do(r+i,0):So(i,r-1)),p(e,ci(t,3),i,!0)}function ji(e){return null!=e&&e.length?ln(e,1):[]}function Ni(e){return e&&e.length?e[0]:H}function Li(e){var t=null==e?0:e.length;return t?e[t-1]:H}function Fi(e,t){return e&&e.length&&t&&t.length?tr(e,t):e}function Ui(e){return null==e?e:Mo.call(e)}function Hi(e){if(!e||!e.length)return[];var t=0;return e=i(e,function(e){if(ta(e))return t=Do(e.length,t),!0}),_(t,function(t){return s(e,$(t))})}function qi(t,n){if(!t||!t.length)return[];var r=Hi(t);return null==n?r:s(r,function(t){return e(n,H,t)})}function Bi(e){var t=_t(e);return t.__chain__=!0,t}function Vi(e,t){return t(e)}function Yi(e,t){return(Qs(e)?n:Xo)(e,ci(t,3))}function Wi(e,t){return(Qs(e)?function(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}:Jo)(e,ci(t,3))}function zi(e,t){return(Qs(e)?s:Gn)(e,ci(t,3))}function Gi(e,t,n){return t=n?H:t,t=e&&null==t?e.length:t,ei(e,se,H,H,H,H,t)}function Xi(e,t){var n;if("function"!=typeof t)throw new Va(V);return e=pa(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=H),n}}function Ji(e,t,n){function r(t){var n=l,r=u;return l=u=H,p=t,f=e.apply(r,n)}function i(e){var n=e-h;return h===H||n>=t||n<0||g&&e-p>=c}function a(){var e=Fs();return i(e)?o(e):(d=cs(a,function(e){var n=t-(e-h);return g?So(n,c-(e-p)):n}(e)),H)}function o(e){return d=H,v&&l?r(e):(l=u=H,f)}function s(){var e=Fs(),n=i(e);if(l=arguments,u=this,h=e,n){if(d===H)return function(e){return p=e,d=cs(a,t),m?r(e):f}(h);if(g)return ns(d),d=cs(a,t),r(h)}return d===H&&(d=cs(a,t)),f}var l,u,c,f,d,h,p=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new Va(V);return t=ga(t)||0,oa(n)&&(m=!!n.leading,c=(g="maxWait"in n)?Do(ga(n.maxWait)||0,t):c,v="trailing"in n?!!n.trailing:v),s.cancel=function(){d!==H&&ns(d),p=0,l=h=u=d=H},s.flush=function(){return d===H?f:o(Fs())},s}function Qi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Va(V);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Qi.Cache||Ht),n}function Zi(e){if("function"!=typeof e)throw new Va(V);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ki(e,t){return e===t||e!=e&&t!=t}function ea(e){return null!=e&&aa(e.length)&&!ra(e)}function ta(e){return sa(e)&&ea(e)}function na(e){if(!sa(e))return!1;var t=gn(e);return t==Oe||t==Ee||"string"==typeof e.message&&"string"==typeof e.name&&!ua(e)}function ra(e){if(!oa(e))return!1;var t=gn(e);return t==Me||t==Ae||t==De||t==Le}function ia(e){return"number"==typeof e&&e==pa(e)}function aa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ve}function oa(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function sa(e){return null!=e&&"object"==typeof e}function la(e){return"number"==typeof e||sa(e)&&gn(e)==Pe}function ua(e){if(!sa(e)||gn(e)!=je)return!1;var t=so(e);if(null===t)return!0;var n=Ja.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Xa.call(n)==eo}function ca(e){return"string"==typeof e||!Qs(e)&&sa(e)&&gn(e)==He}function fa(e){return"symbol"==typeof e||sa(e)&&gn(e)==qe}function da(e){if(!e)return[];if(ea(e))return ca(e)?L(e):Mr(e);if(ho&&e[ho])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[ho]());var t=ss(e);return(t==Ie?I:t==Ue?j:Ca)(e)}function ha(e){return e?(e=ga(e))===ge||e===-ge?(e<0?-1:1)*ye:e==e?e:0:0===e?e:0}function pa(e){var t=ha(e),n=t%1;return t==t?n?t-n:t:0}function ma(e){return e?Kt(pa(e),0,be):0}function ga(e){if("number"==typeof e)return e;if(fa(e))return $e;if(oa(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=oa(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=C(e);var n=Et.test(e);return n||Mt.test(e)?kn(e.slice(2),n?2:8):Tt.test(e)?$e:+e}function va(e){return Ar(e,xa(e))}function ya(e){return null==e?"":hr(e)}function $a(e,t,n){var r=null==e?H:dn(e,t);return r===H?n:r}function ba(e,t){return null!=e&&pi(e,t,_n)}function wa(e){return ea(e)?Vt(e):Yn(e)}function xa(e){return ea(e)?Vt(e,!0):Wn(e)}function _a(e,t){if(null==e)return{};var n=s(si(e),function(e){return[e]});return t=ci(t),er(e,n,function(e,n){return t(e,n[0])})}function Ca(e){return null==e?[]:D(e,wa(e))}function ka(e){return Ol(ya(e).toLowerCase())}function Da(e){return(e=ya(e))&&e.replace(It,Hn).replace(pn,"")}function Sa(e,t,n){return e=ya(e),(t=n?H:t)===H?A(e)?U(e):d(e):e.match(t)||[]}function Ta(e){return function(){return e}}function Ea(e){return e}function Oa(e){return Un("function"==typeof e?e:en(e,X))}function Ma(e,t,r){var i=wa(t),a=fn(t,i);null!=r||oa(t)&&(a.length||!i.length)||(r=t,t=e,e=this,a=fn(t,wa(t)));var o=!(oa(r)&&"chain"in r&&!r.chain),s=ra(e);return n(a,function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Mr(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,l([this.value()],arguments))})}),e}function Aa(){}function Ia(e){return $i(e)?$(Oi(e)):function(e){return function(t){return dn(t,e)}}(e)}function Pa(){return[]}function Ra(){return!1}var ja=($t=null==$t?Tn:Vn.defaults(Tn.Object(),$t,Vn.pick(Tn,$n))).Array,Na=$t.Date,La=$t.Error,Fa=$t.Function,Ua=$t.Math,Ha=$t.Object,qa=$t.RegExp,Ba=$t.String,Va=$t.TypeError,Ya=ja.prototype,Wa=Fa.prototype,za=Ha.prototype,Ga=$t["__c
9ore-js_shared__"],Xa=Wa.toString,Ja=za.hasOwnProperty,Qa=0,Za=function(){var e=/[^.]+$/.exec(Ga&&Ga.keys&&Ga.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ka=za.toString,eo=Xa.call(Ha),to=Tn._,no=qa("^"+Xa.call(Ja).replace(gt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ro=Mn?$t.Buffer:H,io=$t.Symbol,ao=$t.Uint8Array,oo=ro?ro.allocUnsafe:H,so=P(Ha.getPrototypeOf,Ha),lo=Ha.create,uo=za.propertyIsEnumerable,co=Ya.splice,fo=io?io.isConcatSpreadable:H,ho=io?io.iterator:H,po=io?io.toStringTag:H,mo=function(){try{var e=hi(Ha,"defineProperty");return e({},"",{}),e}catch(e){}}(),go=$t.clearTimeout!==Tn.clearTimeout&&$t.clearTimeout,vo=Na&&Na.now!==Tn.Date.now&&Na.now,yo=$t.setTimeout!==Tn.setTimeout&&$t.setTimeout,$o=Ua.ceil,bo=Ua.floor,wo=Ha.getOwnPropertySymbols,xo=ro?ro.isBuffer:H,_o=$t.isFinite,Co=Ya.join,ko=P(Ha.keys,Ha),Do=Ua.max,So=Ua.min,To=Na.now,Eo=$t.parseInt,Oo=Ua.random,Mo=Ya.reverse,Ao=hi($t,"DataView"),Io=hi($t,"Map"),Po=hi($t,"Promise"),Ro=hi($t,"Set"),jo=hi($t,"WeakMap"),No=hi(Ha,"create"),Lo=jo&&new jo,Fo={},Uo=Mi(Ao),Ho=Mi(Io),qo=Mi(Po),Bo=Mi(Ro),Vo=Mi(jo),Yo=io?io.prototype:H,Wo=Yo?Yo.valueOf:H,zo=Yo?Yo.toString:H,Go=function(){function e(){}return function(t){if(!oa(t))return{};if(lo)return lo(t);e.prototype=t;var n=new e;return e.prototype=H,n}}();_t.templateSettings={escape:ct,evaluate:ft,interpolate:dt,variable:"",imports:{_:_t}},_t.prototype=jt.prototype,_t.prototype.constructor=_t,Nt.prototype=Go(jt.prototype),Nt.prototype.constructor=Nt,Lt.prototype=Go(jt.prototype),Lt.prototype.constructor=Lt,Ft.prototype.clear=function(){this.__data__=No?No(null):{},this.size=0},Ft.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ft.prototype.get=function(e){var t=this.__data__;if(No){var n=t[e];return n===W?H:n}return Ja.call(t,e)?t[e]:H},Ft.prototype.has=function(e){var t=this.__data__;return No?t[e]!==H:Ja.call(t,e)},Ft.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=No&&t===H?W:t,this},Ut.prototype.clear=function(){this.__data__=[],this.size=0},Ut.prototype.delete=function(e){var t=this.__data__,n=Gt(t,e);return!(n<0||(n==t.length-1?t.pop():co.call(t,n,1),--this.size,0))},Ut.prototype.get=function(e){var t=this.__data__,n=Gt(t,e);return n<0?H:t[n][1]},Ut.prototype.has=function(e){return Gt(this.__data__,e)>-1},Ut.prototype.set=function(e,t){var n=this.__data__,r=Gt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Ht.prototype.clear=function(){this.size=0,this.__data__={hash:new Ft,map:new(Io||Ut),string:new Ft}},Ht.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Ht.prototype.get=function(e){return fi(this,e).get(e)},Ht.prototype.has=function(e){return fi(this,e).has(e)},Ht.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},qt.prototype.add=qt.prototype.push=function(e){return this.__data__.set(e,W),this},qt.prototype.has=function(e){return this.__data__.has(e)},Bt.prototype.clear=function(){this.__data__=new Ut,this.size=0},Bt.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Bt.prototype.get=function(e){return this.__data__.get(e)},Bt.prototype.has=function(e){return this.__data__.has(e)},Bt.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ut){var r=n.__data__;if(!Io||r.length<q-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ht(r)}return n.set(e,t),this.size=n.size,this};var Xo=Rr(un),Jo=Rr(cn,!0),Qo=jr(),Zo=jr(!0),Ko=Lo?function(e,t){return Lo.set(e,t),e}:Ea,es=mo?function(e,t){return mo(e,"toString",{configurable:!0,enumerable:!1,value:Ta(t),writable:!0})}:Ea,ts=ar,ns=go||function(e){return Tn.clearTimeout(e)},rs=Ro&&1/j(new Ro([,-0]))[1]==ge?function(e){return new Ro(e)}:Aa,is=Lo?function(e){return Lo.get(e)}:Aa,as=wo?function(e){return null==e?[]:(e=Ha(e),i(wo(e),function(t){return uo.call(e,t)}))}:Pa,os=wo?function(e){for(var t=[];e;)l(t,as(e)),e=so(e);return t}:Pa,ss=gn;(Ao&&ss(new Ao(new ArrayBuffer(1)))!=ze||Io&&ss(new Io)!=Ie||Po&&ss(Po.resolve())!=Ne||Ro&&ss(new Ro)!=Ue||jo&&ss(new jo)!=Ve)&&(ss=function(e){var t=gn(e),n=t==je?e.constructor:H,r=n?Mi(n):"";if(r)switch(r){case Uo:return ze;case Ho:return Ie;case qo:return Ne;case Bo:return Ue;case Vo:return Ve}return t});var ls=Ga?ra:Ra,us=Ti(Ko),cs=yo||function(e,t){return Tn.setTimeout(e,t)},fs=Ti(es),ds=function(e){var t=Qi(e,function(e){return n.size===z&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(mt,function(e,n,r,i){t.push(r?i.replace(kt,"$1"):n||e)}),t}),hs=ar(function(e,t){return ta(e)?rn(e,ln(t,1,ta,!0)):[]}),ps=ar(function(e,t){var n=Li(t);return ta(n)&&(n=H),ta(e)?rn(e,ln(t,1,ta,!0),ci(n,2)):[]}),ms=ar(function(e,t){var n=Li(t);return ta(n)&&(n=H),ta(e)?rn(e,ln(t,1,ta,!0),H,n):[]}),gs=ar(function(e){var t=s(e,wr);return t.length&&t[0]===e[0]?Dn(t):[]}),vs=ar(function(e){var t=Li(e),n=s(e,wr);
vendor: 4,115 bytes, line 9
9return t===Li(n)?t=H:n.pop(),n.length&&n[0]===e[0]?Dn(n,ci(t,2)):[]}),ys=ar(function(e){var t=Li(e),n=s(e,wr);return(t="function"==typeof t?t:H)&&n.pop(),n.length&&n[0]===e[0]?Dn(n,H,t):[]}),$s=ar(Fi),bs=ai(function(e,t){var n=null==e?0:e.length,r=Zt(e,t);return nr(e,s(t,function(e){return vi(e,n)?+e:e}).sort(Tr)),r}),ws=ar(function(e){return pr(ln(e,1,ta,!0))}),xs=ar(function(e){var t=Li(e);return ta(t)&&(t=H),pr(ln(e,1,ta,!0),ci(t,2))}),_s=ar(function(e){var t=Li(e);return t="function"==typeof t?t:H,pr(ln(e,1,ta,!0),H,t)}),Cs=ar(function(e,t){return ta(e)?rn(e,t):[]}),ks=ar(function(e){return $r(i(e,ta))}),Ds=ar(function(e){var t=Li(e);return ta(t)&&(t=H),$r(i(e,ta),ci(t,2))}),Ss=ar(function(e){var t=Li(e);return t="function"==typeof t?t:H,$r(i(e,ta),H,t)}),Ts=ar(Hi),Es=ar(function(e){var t=e.length,n=t>1?e[t-1]:H;return qi(e,n="function"==typeof n?(e.pop(),n):H)}),Os=ai(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Zt(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Lt&&vi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Vi,args:[i],thisArg:H}),new Nt(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(H),e})):this.thru(i)}),Ms=Ir(function(e,t,n){Ja.call(e,n)?++e[n]:Qt(e,n,1)}),As=Hr(Pi),Is=Hr(Ri),Ps=Ir(function(e,t,n){Ja.call(e,n)?e[n].push(t):Qt(e,n,[t])}),Rs=ar(function(t,n,r){var i=-1,a="function"==typeof n,o=ea(t)?ja(t.length):[];return Xo(t,function(t){o[++i]=a?e(n,t,r):Sn(t,n,r)}),o}),js=Ir(function(e,t,n){Qt(e,n,t)}),Ns=Ir(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Ls=ar(function(e,t){if(null==e)return[];var n=t.length;return n>1&&yi(e,t[0],t[1])?t=[]:n>2&&yi(t[0],t[1],t[2])&&(t=[t[0]]),Kn(e,ln(t,1),[])}),Fs=vo||function(){return Tn.Date.now()},Us=ar(function(e,t,n){var r=ee;if(n.length){var i=R(n,ui(Us));r|=ae}return ei(e,r,t,n,i)}),Hs=ar(function(e,t,n){var r=ee|te;if(n.length){var i=R(n,ui(Hs));r|=ae}return ei(t,r,e,n,i)}),qs=ar(function(e,t){return nn(e,1,t)}),Bs=ar(function(e,t,n){return nn(e,ga(t)||0,n)});Qi.Cache=Ht;var Vs=ts(function(t,n){var r=(n=1==n.length&&Qs(n[0])?s(n[0],k(ci())):s(ln(n,1),k(ci()))).length;return ar(function(i){for(var a=-1,o=So(i.length,r);++a<o;)i[a]=n[a].call(this,i[a]);return e(t,this,i)})}),Ys=ar(function(e,t){return ei(e,ae,H,t,R(t,ui(Ys)))}),Ws=ar(function(e,t){return ei(e,oe,H,t,R(t,ui(Ws)))}),zs=ai(function(e,t){return ei(e,le,H,H,H,t)}),Gs=Jr(vn),Xs=Jr(function(e,t){return e>=t}),Js=En(function(){return arguments}())?En:function(e){return sa(e)&&Ja.call(e,"callee")&&!uo.call(e,"callee")},Qs=ja.isArray,Zs=Pn?k(Pn):function(e){return sa(e)&&gn(e)==We},Ks=xo||Ra,el=Rn?k(Rn):function(e){return sa(e)&&gn(e)==Te},tl=jn?k(jn):function(e){return sa(e)&&ss(e)==Ie},nl=Nn?k(Nn):function(e){return sa(e)&&gn(e)==Fe},rl=Ln?k(Ln):function(e){return sa(e)&&ss(e)==Ue},il=Fn?k(Fn):function(e){return sa(e)&&aa(e.length)&&!!wn[gn(e)]},al=Jr(zn),ol=Jr(function(e,t){return e<=t}),sl=Pr(function(e,t){if(wi(t)||ea(t))return Ar(t,wa(t),e),H;for(var n in t)Ja.call(t,n)&&zt(e,n,t[n])}),ll=Pr(function(e,t){Ar(t,xa(t),e)}),ul=Pr(function(e,t,n,r){Ar(t,xa(t),e,r)}),cl=Pr(function(e,t,n,r){Ar(t,wa(t),e,r)}),fl=ai(Zt),dl=ar(function(e,t){e=Ha(e);var n=-1,r=t.length,i=r>2?t[2]:H;for(i&&yi(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],o=xa(a),s=-1,l=o.length;++s<l;){var u=o[s],c=e[u];(c===H||Ki(c,za[u])&&!Ja.call(e,u))&&(e[u]=a[u])}return e}),hl=ar(function(t){return t.push(H,ni),e(yl,H,t)}),pl=Vr(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ka.call(t)),e[t]=n},Ta(Ea)),ml=Vr(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Ka.call(t)),Ja.call(e,t)?e[t].push(n):e[t]=[n]},ci),gl=ar(Sn),vl=Pr(function(e,t,n){Qn(e,t,n)}),yl=Pr(function(e,t,n,r){Qn(e,t,n,r)}),$l=ai(function(e,t){var n={};if(null==e)return n;var r=!1;t=s(t,function(t){return t=_r(t,e),r||(r=t.length>1),t}),Ar(e,si(e),n),r&&(n=en(n,X|J|Q,ri));for(var i=t.length;i--;)mr(n,t[i]);return n}),bl=ai(function(e,t){return null==e?{}:function(e,t){return er(e,t,function(t,n){return ba(e,n)})}(e,t)}),wl=Kr(wa),xl=Kr(xa),_l=Lr(function(e,t,n){return t=t.toLowerCase(),e+(n?ka(t):t)}
vendor: 5,353 bytes, line 9
9),Cl=Lr(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),kl=Lr(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Dl=Nr("toLowerCase"),Sl=Lr(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Tl=Lr(function(e,t,n){return e+(n?" ":"")+Ol(t)}),El=Lr(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Ol=Nr("toUpperCase"),Ml=ar(function(t,n){try{return e(t,H,n)}catch(e){return na(e)?e:new La(e)}}),Al=ai(function(e,t){return n(t,function(t){t=Oi(t),Qt(e,t,Us(e[t],e))}),e}),Il=qr(),Pl=qr(!0),Rl=ar(function(e,t){return function(n){return Sn(n,e,t)}}),jl=ar(function(e,t){return function(n){return Sn(e,n,t)}}),Nl=Wr(s),Ll=Wr(r),Fl=Wr(f),Ul=Xr(),Hl=Xr(!0),ql=Yr(function(e,t){return e+t},0),Bl=Zr("ceil"),Vl=Yr(function(e,t){return e/t},1),Yl=Zr("floor"),Wl=Yr(function(e,t){return e*t},1),zl=Zr("round"),Gl=Yr(function(e,t){return e-t},0);return _t.after=function(e,t){if("function"!=typeof t)throw new Va(V);return e=pa(e),function(){if(--e<1)return t.apply(this,arguments)}},_t.ary=Gi,_t.assign=sl,_t.assignIn=ll,_t.assignInWith=ul,_t.assignWith=cl,_t.at=fl,_t.before=Xi,_t.bind=Us,_t.bindAll=Al,_t.bindKey=Hs,_t.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qs(e)?e:[e]},_t.chain=Bi,_t.chunk=function(e,t,n){t=(n?yi(e,t,n):t===H)?1:Do(pa(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,a=0,o=ja($o(r/t));i<r;)o[a++]=sr(e,i,i+=t);return o},_t.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i},_t.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ja(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return l(Qs(n)?Mr(n):[n],ln(t,1))},_t.cond=function(t){var n=null==t?0:t.length,r=ci();return t=n?s(t,function(e){if("function"!=typeof e[1])throw new Va(V);return[r(e[0]),e[1]]}):[],ar(function(r){for(var i=-1;++i<n;){var a=t[i];if(e(a[0],this,r))return e(a[1],this,r)}})},_t.conforms=function(e){return function(e){var t=wa(e);return function(n){return tn(n,e,t)}}(en(e,X))},_t.constant=Ta,_t.countBy=Ms,_t.create=function(e,t){var n=Go(e);return null==t?n:Jt(n,t)},_t.curry=function e(t,n,r){var i=ei(t,re,H,H,H,H,H,n=r?H:n);return i.placeholder=e.placeholder,i},_t.curryRight=function e(t,n,r){var i=ei(t,ie,H,H,H,H,H,n=r?H:n);return i.placeholder=e.placeholder,i},_t.debounce=Ji,_t.defaults=dl,_t.defaultsDeep=hl,_t.defer=qs,_t.delay=Bs,_t.difference=hs,_t.differenceBy=ps,_t.differenceWith=ms,_t.drop=function(e,t,n){var r=null==e?0:e.length;return r?sr(e,(t=n||t===H?1:pa(t))<0?0:t,r):[]},_t.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?sr(e,0,(t=r-(t=n||t===H?1:pa(t)))<0?0:t):[]},_t.dropRightWhile=function(e,t){return e&&e.length?vr(e,ci(t,3),!0,!0):[]},_t.dropWhile=function(e,t){return e&&e.length?vr(e,ci(t,3),!0):[]},_t.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&yi(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=pa(n))<0&&(n=-n>i?0:i+n),(r=r===H||r>i?i:pa(r))<0&&(r+=i),r=n>r?0:ma(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},_t.filter=function(e,t){return(Qs(e)?i:sn)(e,ci(t,3))},_t.flatMap=function(e,t){return ln(zi(e,t),1)},_t.flatMapDeep=function(e,t){return ln(zi(e,t),ge)},_t.flatMapDepth=function(e,t,n){return n=n===H?1:pa(n),ln(zi(e,t),n)},_t.flatten=ji,_t.flattenDeep=function(e){return null!=e&&e.length?ln(e,ge):[]},_t.flattenDepth=function(e,t){return null!=e&&e.length?ln(e,t=t===H?1:pa(t)):[]},_t.flip=function(e){return ei(e,ue)},_t.flow=Il,_t.flowRight=Pl,_t.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},_t.functions=function(e){return null==e?[]:fn(e,wa(e))},_t.functionsIn=function(e){return null==e?[]:fn(e,xa(e))},_t.groupBy=Ps,_t.initial=function(e){return null!=e&&e.length?sr(e,0,-1):[]},_t.intersection=gs,_t.intersectionBy=vs,_t.intersectionWith=ys,_t.invert=pl,_t.invertBy=ml,_t.invokeMap=Rs,_t.iteratee=Oa,_t.keyBy=js,_t.keys=wa,_t.keysIn=xa,_t.map=zi,_t.mapKeys=function(e,t){var n={};return t=ci(t,3),un(e,function(e,r,i){Qt(n,t(e,r,i),e)}),n},_t.mapValues=function(e,t){var n={};return t=ci(t,3),un(e,function(e,r,i){Qt(n,r,t(e,r,i))}),n},_t.matches=function(e){return Xn(en(e,X))},_t.matchesProperty=function(e,t){return Jn(e,en(t,X))},_t.memoize=Qi,_t.merge=vl,_t.mergeWith=yl,_t.method=Rl,_t.methodOf=jl,_t.mixin=Ma,_t.negate=Zi,_t.nthArg=function(e){return e=pa(e),ar(function(t){return Zn(t,e)})},_t.omit=$l,_t.omitBy=function(e,t){return _a(e,Zi(ci(t)))},_t.once=function(e){return Xi(2,e)},_t.orderBy=function(e,t,n,r){return null==e?[]:(Qs(t)||(t=null==t?[]:[t]),Qs(n=r?H:n)||(n=null==n?[]:[n]),Kn(e,t,n))},_t.over=Nl,_t.overArgs=Vs,_t.overEvery=Ll,_t.overSome=Fl,_t.partial=Ys,_t.partialRight=Ws,_t.partition=Ns,_t.pick=bl,_t.pickBy=_a,_t.property=Ia,_t.propertyOf=function(e){return function(t){return null==e?H:dn(e,t)}},_t.pull=$s,_t.pullAll=Fi,_t.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?tr(e,t,ci(n,2)):e},_t.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?tr(e,t,H,n):e},_t.pullAt=bs,_t.range=Ul,_t.rangeRight=Hl,_t.rearg=zs,_t.reject=function(e,t){return(Qs(e)?i:sn)(e,Zi(ci(t,3)))},_t.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;for(t=ci(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return nr(e,i),n},_t.rest=function(e,t){if("function"!=typeof e)throw new Va(V);
vendor: 1,041 bytes, line 9
9return ar(e,t=t===H?t:pa(t))},_t.reverse=Ui,_t.sampleSize=function(e,t,n){return t=(n?yi(e,t,n):t===H)?1:pa(t),(Qs(e)?function(e,t){return Ei(Mr(e),Kt(t,0,e.length))}:function(e,t){var n=Ca(e);return Ei(n,Kt(t,0,n.length))})(e,t)},_t.set=function(e,t,n){return null==e?e:or(e,t,n)},_t.setWith=function(e,t,n,r){return r="function"==typeof r?r:H,null==e?e:or(e,t,n,r)},_t.shuffle=function(e){return(Qs(e)?function(e){return Ei(Mr(e))}:function(e){return Ei(Ca(e))})(e)},_t.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&yi(e,t,n)?(t=0,n=r):(t=null==t?0:pa(t),n=n===H?r:pa(n)),sr(e,t,n)):[]},_t.sortBy=Ls,_t.sortedUniq=function(e){return e&&e.length?fr(e):[]},_t.sortedUniqBy=function(e,t){return e&&e.length?fr(e,ci(t,2)):[]},_t.split=function(e,t,n){return n&&"number"!=typeof n&&yi(e,t,n)&&(t=n=H),(n=n===H?be:n>>>0)?(e=ya(e))&&("string"==typeof t||null!=t&&!nl(t))&&!(t=hr(t))&&M(e)?Cr(L(e),0,n):e.split(t,n):[]},_t.spread=function(t,n){if("function"!=typeof t)throw new Va(V);return n=null==n?0:Do(pa(n),0
vendor: 4,107 bytes, line 9
9),ar(function(r){var i=r[n],a=Cr(r,0,n);return i&&l(a,i),e(t,this,a)})},_t.tail=function(e){var t=null==e?0:e.length;return t?sr(e,1,t):[]},_t.take=function(e,t,n){return e&&e.length?sr(e,0,(t=n||t===H?1:pa(t))<0?0:t):[]},_t.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?sr(e,(t=r-(t=n||t===H?1:pa(t)))<0?0:t,r):[]},_t.takeRightWhile=function(e,t){return e&&e.length?vr(e,ci(t,3),!1,!0):[]},_t.takeWhile=function(e,t){return e&&e.length?vr(e,ci(t,3)):[]},_t.tap=function(e,t){return t(e),e},_t.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Va(V);return oa(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ji(e,t,{leading:r,maxWait:t,trailing:i})},_t.thru=Vi,_t.toArray=da,_t.toPairs=wl,_t.toPairsIn=xl,_t.toPath=function(e){return Qs(e)?s(e,Oi):fa(e)?[e]:Mr(ds(ya(e)))},_t.toPlainObject=va,_t.transform=function(e,t,r){var i=Qs(e),a=i||Ks(e)||il(e);if(t=ci(t,4),null==r){var o=e&&e.constructor;r=a?i?new o:[]:oa(e)&&ra(o)?Go(so(e)):{}}return(a?n:un)(e,function(e,n,i){return t(r,e,n,i)}),r},_t.unary=function(e){return Gi(e,1)},_t.union=ws,_t.unionBy=xs,_t.unionWith=_s,_t.uniq=function(e){return e&&e.length?pr(e):[]},_t.uniqBy=function(e,t){return e&&e.length?pr(e,ci(t,2)):[]},_t.uniqWith=function(e,t){return t="function"==typeof t?t:H,e&&e.length?pr(e,H,t):[]},_t.unset=function(e,t){return null==e||mr(e,t)},_t.unzip=Hi,_t.unzipWith=qi,_t.update=function(e,t,n){return null==e?e:gr(e,t,xr(n))},_t.updateWith=function(e,t,n,r){return r="function"==typeof r?r:H,null==e?e:gr(e,t,xr(n),r)},_t.values=Ca,_t.valuesIn=function(e){return null==e?[]:D(e,xa(e))},_t.without=Cs,_t.words=Sa,_t.wrap=function(e,t){return Ys(xr(t),e)},_t.xor=ks,_t.xorBy=Ds,_t.xorWith=Ss,_t.zip=Ts,_t.zipObject=function(e,t){return br(e||[],t||[],zt)},_t.zipObjectDeep=function(e,t){return br(e||[],t||[],or)},_t.zipWith=Es,_t.entries=wl,_t.entriesIn=xl,_t.extend=ll,_t.extendWith=ul,Ma(_t,_t),_t.add=ql,_t.attempt=Ml,_t.camelCase=_l,_t.capitalize=ka,_t.ceil=Bl,_t.clamp=function(e,t,n){return n===H&&(n=t,t=H),n!==H&&(n=(n=ga(n))==n?n:0),t!==H&&(t=(t=ga(t))==t?t:0),Kt(ga(e),t,n)},_t.clone=function(e){return en(e,Q)},_t.cloneDeep=function(e){return en(e,X|Q)},_t.cloneDeepWith=function(e,t){return en(e,X|Q,t="function"==typeof t?t:H)},_t.cloneWith=function(e,t){return en(e,Q,t="function"==typeof t?t:H)},_t.conformsTo=function(e,t){return null==t||tn(e,t,wa(t))},_t.deburr=Da,_t.defaultTo=function(e,t){return null==e||e!=e?t:e},_t.divide=Vl,_t.endsWith=function(e,t,n){e=ya(e),t=hr(t);var r=e.length,i=n=n===H?r:Kt(pa(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},_t.eq=Ki,_t.escape=function(e){return(e=ya(e))&&ut.test(e)?e.replace(st,qn):e},_t.escapeRegExp=function(e){return(e=ya(e))&&vt.test(e)?e.replace(gt,"\\$&"):e},_t.every=function(e,t,n){var i=Qs(e)?r:an;return n&&yi(e,t,n)&&(t=H),i(e,ci(t,3))},_t.find=As,_t.findIndex=Pi,_t.findKey=function(e,t){return h(e,ci(t,3),un)},_t.findLast=Is,_t.findLastIndex=Ri,_t.findLastKey=function(e,t){return h(e,ci(t,3),cn)},_t.floor=Yl,_t.forEach=Yi,_t.forEachRight=Wi,_t.forIn=function(e,t){return null==e?e:Qo(e,ci(t,3),xa)},_t.forInRight=function(e,t){return null==e?e:Zo(e,ci(t,3),xa)},_t.forOwn=function(e,t){return e&&un(e,ci(t,3))},_t.forOwnRight=function(e,t){return e&&cn(e,ci(t,3))},_t.get=$a,_t.gt=Gs,_t.gte=Xs,_t.has=function(e,t){return null!=e&&pi(e,t,yn)},_t.hasIn=ba,_t.head=Ni,_t.identity=Ea,_t.includes=function(e,t,n,r){e=ea(e)?e:Ca(e),n=n&&!r?pa(n):0;var i=e.length;return n<0&&(n=Do(i+n,0)),ca(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&m(e,t,n)>-1},_t.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:pa(n);return i<0&&(i=Do(r+i,0)),m(e,t,i)},_t.inRange=function(e,t,n){return t=ha(t),n===H?(n=t,t=0):n=ha(n),function(e,t,n){return e>=So(t,n)&&e<Do(t,n)}(e=ga(e),t,n)},_t.invoke=gl,_t.isArguments=Js,_t.isArray=Qs,_t.isArrayBuffer=Zs,_t.isArrayLike=ea,_t.isArrayLikeObject=ta,_t.isBoolean=function(e){return!0===e||!1===e||sa(e)&&gn(e)==Se},_t.isBuffer=Ks,_t.isDate=el,_t.isElement=function(e){return sa(e)&&1===e.nodeType&&!ua(e)},_t.isEmpty=function(e){if(null==e)return!0;
vendor: 5,371 bytes, line 9
9if(ea(e)&&(Qs(e)||"string"==typeof e||"function"==typeof e.splice||Ks(e)||il(e)||Js(e)))return!e.length;var t=ss(e);if(t==Ie||t==Ue)return!e.size;if(wi(e))return!Yn(e).length;for(var n in e)if(Ja.call(e,n))return!1;return!0},_t.isEqual=function(e,t){return On(e,t)},_t.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:H)?n(e,t):H;return r===H?On(e,t,H,n):!!r},_t.isError=na,_t.isFinite=function(e){return"number"==typeof e&&_o(e)},_t.isFunction=ra,_t.isInteger=ia,_t.isLength=aa,_t.isMap=tl,_t.isMatch=function(e,t){return e===t||An(e,t,di(t))},_t.isMatchWith=function(e,t,n){return n="function"==typeof n?n:H,An(e,t,di(t),n)},_t.isNaN=function(e){return la(e)&&e!=+e},_t.isNative=function(e){if(ls(e))throw new La(B);return In(e)},_t.isNil=function(e){return null==e},_t.isNull=function(e){return null===e},_t.isNumber=la,_t.isObject=oa,_t.isObjectLike=sa,_t.isPlainObject=ua,_t.isRegExp=nl,_t.isSafeInteger=function(e){return ia(e)&&e>=-ve&&e<=ve},_t.isSet=rl,_t.isString=ca,_t.isSymbol=fa,_t.isTypedArray=il,_t.isUndefined=function(e){return e===H},_t.isWeakMap=function(e){return sa(e)&&ss(e)==Ve},_t.isWeakSet=function(e){return sa(e)&&gn(e)==Ye},_t.join=function(e,t){return null==e?"":Co.call(e,t)},_t.kebabCase=Cl,_t.last=Li,_t.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==H&&(i=(i=pa(n))<0?Do(r+i,0):So(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):p(e,v,i,!0)},_t.lowerCase=kl,_t.lowerFirst=Dl,_t.lt=al,_t.lte=ol,_t.max=function(e){return e&&e.length?on(e,Ea,vn):H},_t.maxBy=function(e,t){return e&&e.length?on(e,ci(t,2),vn):H},_t.mean=function(e){return y(e,Ea)},_t.meanBy=function(e,t){return y(e,ci(t,2))},_t.min=function(e){return e&&e.length?on(e,Ea,zn):H},_t.minBy=function(e,t){return e&&e.length?on(e,ci(t,2),zn):H},_t.stubArray=Pa,_t.stubFalse=Ra,_t.stubObject=function(){return{}},_t.stubString=function(){return""},_t.stubTrue=function(){return!0},_t.multiply=Wl,_t.nth=function(e,t){return e&&e.length?Zn(e,pa(t)):H},_t.noConflict=function(){return Tn._===this&&(Tn._=to),this},_t.noop=Aa,_t.now=Fs,_t.pad=function(e,t,n){e=ya(e);var r=(t=pa(t))?N(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return zr(bo(i),n)+e+zr($o(i),n)},_t.padEnd=function(e,t,n){e=ya(e);var r=(t=pa(t))?N(e):0;return t&&r<t?e+zr(t-r,n):e},_t.padStart=function(e,t,n){e=ya(e);var r=(t=pa(t))?N(e):0;return t&&r<t?zr(t-r,n)+e:e},_t.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Eo(ya(e).replace(yt,""),t||0)},_t.random=function(e,t,n){if(n&&"boolean"!=typeof n&&yi(e,t,n)&&(t=n=H),n===H&&("boolean"==typeof t?(n=t,t=H):"boolean"==typeof e&&(n=e,e=H)),e===H&&t===H?(e=0,t=1):(e=ha(e),t===H?(t=e,e=0):t=ha(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Oo();return So(e+i*(t-e+Cn("1e-"+((i+"").length-1))),t)}return rr(e,t)},_t.reduce=function(e,t,n){var r=Qs(e)?u:w,i=arguments.length<3;return r(e,ci(t,4),n,i,Xo)},_t.reduceRight=function(e,t,n){var r=Qs(e)?c:w,i=arguments.length<3;return r(e,ci(t,4),n,i,Jo)},_t.repeat=function(e,t,n){return t=(n?yi(e,t,n):t===H)?1:pa(t),ir(ya(e),t)},_t.replace=function(){var e=arguments,t=ya(e[0]);return e.length<3?t:t.replace(e[1],e[2])},_t.result=function(e,t,n){var r=-1,i=(t=_r(t,e)).length;for(i||(i=1,e=H);++r<i;){var a=null==e?H:e[Oi(t[r])];a===H&&(r=i,a=n),e=ra(a)?a.call(e):a}return e},_t.round=zl,_t.runInContext=b,_t.sample=function(e){return(Qs(e)?Yt:function(e){return Yt(Ca(e))})(e)},_t.size=function(e){if(null==e)return 0;if(ea(e))return ca(e)?N(e):e.length;var t=ss(e);return t==Ie||t==Ue?e.size:Yn(e).length},_t.snakeCase=Sl,_t.some=function(e,t,n){var r=Qs(e)?f:lr;return n&&yi(e,t,n)&&(t=H),r(e,ci(t,3))},_t.sortedIndex=function(e,t){return ur(e,t)},_t.sortedIndexBy=function(e,t,n){return cr(e,t,ci(n,2))},_t.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ur(e,t);if(r<n&&Ki(e[r],t))return r}return-1},_t.sortedLastIndex=function(e,t){return ur(e,t,!0)},_t.sortedLastIndexBy=function(e,t,n){return cr(e,t,ci(n,2),!0)},_t.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ur(e,t,!0)-1;if(Ki(e[n],t))return n}return-1},_t.startCase=Tl,_t.startsWith=function(e,t,n){return e=ya(e),n=null==n?0:Kt(pa(n),0,e.length),t=hr(t),e.slice(n,n+t.length)==t},_t.subtract=Gl,_t.sum=function(e){return e&&e.length?x(e,Ea):0},_t.sumBy=function(e,t){return e&&e.length?x(e,ci(t,2)):0},_t.template=function(e,t,n){var r=_t.templateSettings;n&&yi(e,t,n)&&(t=H),e=ya(e),t=ul({},t,r,ti);var i,a,o=ul({},t.imports,r.imports,ti),s=wa(o),l=D(o,s),u=0,c=t.interpolate||Pt,f="__p += '",d=qa((t.escape||Pt).source+"|"+c.source+"|"+(c===dt?Dt:Pt).source+"|"+(t.evaluate||Pt).source+"|$","g"),h="//# sourceURL="+(Ja.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++bn+"]")+"\n";e.replace(d,function(t,n,r,o,s,l){return r||(r=o),f+=e.slice(u,l).replace(Rt,O),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t}),f+="';\n";var p=Ja.call(t,"variable")&&t.variable;if(p){if(Ct.test(p))throw new La(Y)}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(rt,""):f).replace(it,"$1").replace(at,"$1;"),f="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
9\n")+f+"return __p\n}";var m=Ml(function(){return Fa(s,h+"return "+f).apply(H,l)});if(m.source=f,na(m))throw m;return m},_t.times=function(e,t){if((e=pa(e))<1||e>ve)return[];var n=be,r=So(e,be);t=ci(t),e-=be;for(var i=_(r,t);++n<e;)t(n);return i},_t.toFinite=ha,_t.toInteger=pa,_t.toLength=ma,_t.toLower=function(e){return ya(e).toLowerCase()},_t.toNumber=ga,_t.toSafeInteger=function(e){return e?Kt(pa(e),-ve,ve):0===e?e:0},_t.toString=ya,_t.toUpper=function(e){return ya(e).toUpperCase()},_t.trim=function(e,t,n){if((e=ya(e))&&(n||t===H))return C(e);if(!e||!(t=hr(t)))return e;var r=L(e),i=L(t);return Cr(r,T(r,i),E(r,i)+1).join("")},_t.trimEnd=function(e,t,n){if((e=ya(e))&&(n||t===H))return e.slice(0,F(e)+1);if(!e||!(t=hr(t)))return e;var r=L(e);return Cr(r,0,E(r,L(t))+1).join("")},_t.trimStart=function(e,t,n){if((e=ya(e))&&(n||t===H))return e.replace(yt,"");if(!e||!(t=hr(t)))return e;var r=L(e);return Cr(r,T(r,L(t))).join("")},_t.truncate=function(e,t){var n=ce,r=fe;if(oa(t)){var i="separator"in t?t.separator:i;n="length"in t?pa(t.length):n,r="omission"in t?hr(t.omission):r}var a=(e=ya(e)).length;if(M(e)){var o=L(e);a=o.length}if(n>=a)return e;var s=n-N(r);if(s<1)return r;var l=o?Cr(o,0,s).join(""):e.slice(0,s);if(i===H)return l+r;if(o&&(s+=l.length-s),nl(i)){if(e.slice(s).search(i)){var u,c=l;for(i.global||(i=qa(i.source,ya(St.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var f=u.index;l=l.slice(0,f===H?s:f)}}else if(e.indexOf(hr(i),s)!=s){var d=l.lastIndexOf(i);d>-1&&(l=l.slice(0,d))}return l+r},_t.unescape=function(e){return(e=ya(e))&<.test(e)?e.replace(ot,Bn):e},_t.uniqueId=function(e){var t=++Qa;return ya(e)+t},_t.upperCase=El,_t.upperFirst=Ol,_t.each=Yi,_t.eachRight=Wi,_t.first=Ni,Ma(_t,function(){var e={};return un(_t,function(t,n){Ja.call(_t.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),_t.VERSION="4.17.21",n(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){_t[e].placeholder=_t}),n(["drop","take"],function(e,t){Lt.prototype[e]=function(n){n=n===H?1:Do(pa(n),0
vendor: 4,707 bytes, line 9
9);var r=this.__filtered__&&!t?new Lt(this):this.clone();return r.__filtered__?r.__takeCount__=So(n,r.__takeCount__):r.__views__.push({size:So(n,be),type:e+(r.__dir__<0?"Right":"")}),r},Lt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),n(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==pe||3==n;Lt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),n(["head","last"],function(e,t){var n="take"+(t?"Right":"");Lt.prototype[e]=function(){return this[n](1).value()[0]}}),n(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Lt.prototype[e]=function(){return this.__filtered__?new Lt(this):this[n](1)}}),Lt.prototype.compact=function(){return this.filter(Ea)},Lt.prototype.find=function(e){return this.filter(e).head()},Lt.prototype.findLast=function(e){return this.reverse().find(e)},Lt.prototype.invokeMap=ar(function(e,t){return"function"==typeof e?new Lt(this):this.map(function(n){return Sn(n,e,t)})}),Lt.prototype.reject=function(e){return this.filter(Zi(ci(e)))},Lt.prototype.slice=function(e,t){e=pa(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Lt(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==H&&(n=(t=pa(t))<0?n.dropRight(-t):n.take(t-e)),n)},Lt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Lt.prototype.toArray=function(){return this.take(be)},un(Lt.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=_t[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(_t.prototype[t]=function(){var t=this.__wrapped__,o=r?[1]:arguments,s=t instanceof Lt,u=o[0],c=s||Qs(t),f=function(e){var t=i.apply(_t,l([e],o));return r&&d?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var d=this.__chain__,h=!!this.__actions__.length,p=a&&!d,m=s&&!h;if(!a&&c){t=m?t:new Lt(this);var g=e.apply(t,o);return g.__actions__.push({func:Vi,args:[f],thisArg:H}),new Nt(g,d)}return p&&m?e.apply(this,o):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})}),n(["pop","push","shift","sort","splice","unshift"],function(e){var t=Ya[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);_t.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Qs(i)?i:[],e)}return this[n](function(n){return t.apply(Qs(n)?n:[],e)})}}),un(Lt.prototype,function(e,t){var n=_t[t];if(n){var r=n.name+"";Ja.call(Fo,r)||(Fo[r]=[]),Fo[r].push({name:t,func:n})}}),Fo[Br(H,te).name]=[{name:"wrapper",func:H}],Lt.prototype.clone=function(){var e=new Lt(this.__wrapped__);return e.__actions__=Mr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Mr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Mr(this.__views__),e},Lt.prototype.reverse=function(){if(this.__filtered__){var e=new Lt(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Lt.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Qs(e),r=t<0,i=n?e.length:0,a=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=So(t,e+o);break;case"takeRight":e=Do(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,l=s-o,u=r?s:o-1,c=this.__iteratees__,f=c.length,d=0,h=So(l,this.__takeCount__);if(!n||!r&&i==l&&h==l)return yr(e,this.__actions__);var p=[];e:for(;l--&&d<h;){for(var m=-1,g=e[u+=t];++m<f;){var v=c[m],y=v.iteratee,$=v.type,b=y(g);if($==me)g=b;else if(!b){if($==pe)continue e;break e}}p[d++]=g}return p},_t.prototype.at=Os,_t.prototype.chain=function(){return Bi(this)},_t.prototype.commit=function(){return new Nt(this.value(),this.__chain__)},_t.prototype.next=function(){this.__values__===H&&(this.__values__=da(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?H:this.__values__[this.__index__++]}},_t.prototype.plant=function(e){for(var t,n=this;n instanceof jt;){var r=Ii(n);r.__index__=0,r.__values__=H,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},_t.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Lt){var t=e;return this.__actions__.length&&(t=new Lt(this)),(t=t.reverse()).__actions__.push({func:Vi,args:[Ui],thisArg:H}),new Nt(t,this.__chain__)}return this.thru(Ui)},_t.prototype.toJSON=_t.prototype.valueOf=_t.prototype.value=function(){return yr(this.__wrapped__,this.__actions__)},_t.prototype.first=_t.prototype.head,ho&&(_t.prototype[ho]=function(){return this}),_t}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Tn._=Vn,define(function(){return Vn}
9)):On?((On.exports=Vn)._=Vn,En._=Vn):Tn._=Vn}).call(this)}(),function(){var e;!function(e,t){"use strict";"function"==typeof define&&define.amd?define(["angular"],function(e){return t(e)}):t(e)}(window.angular||null,function(e){"use strict";var t=e.module("ngTable",[]);return t.value("ngTableDefaults",{params:{},settings:{}}),t.factory("NgTableParams",["$q","$log","ngTableDefaults",function(t,n,r){var i=function(e){return!isNaN(parseFloat(e))&&isFinite(e)};return function(a,o){var s=this,l=function(){c.debugMode&&n.debug&&n.debug.apply(this,arguments)};this.data=[],this.parameters=function(t,n){if(n=n||!1,e.isDefined(t)){for(var r in t){var a=t[r];if(n&&r.indexOf("[")>=0){for(var o=r.split(/\[(.*)\]/).reverse(),s="",c=0,f=o.length;f>c;c++){var d=o[c];if(""!==d){var h=a;(a={})[s=d]=i(h)?parseFloat(h):h}}"sorting"===s&&(u[s]={}),u[s]=e.extend(u[s]||{},a[s])}else u[r]=i(t[r])?parseFloat(t[r]):t[r]}return l("ngTable: set parameters",u),this}return u},this.settings=function(t){return e.isDefined(t)?(e.isArray(t.data)&&(t.total=t.data.length),c=e.extend(c,t),l("ngTable: set settings",c),this):c},this.page=function(t){return e.isDefined(t)?this.parameters({page:t}):u.page},this.total=function(t){return e.isDefined(t)?this.settings({total:t}):c.total},this.count=function(t){return e.isDefined(t)?this.parameters({count:t,page:1}):u.count},this.filter=function(t){return e.isDefined(t)?this.parameters({filter:t,page:1}):u.filter},this.sorting=function(t){if(2==arguments.length){var n={};return n[t]=arguments[1],this.parameters({sorting:n}),this}return e.isDefined(t)?this.parameters({sorting:t}):u.sorting},this.isSortBy=function(t,n){return e.isDefined(u.sorting[t])&&e.equals(u.sorting[t],n)},this.orderBy=function(){var e=[];for(var t in u.sorting)e.push(("asc"===u.sorting[t]?"+":"-")+t);return e},this.getData=function(t,n){return t.resolve(e.isArray(this.data)&&e.isObject(n)?this.data.slice((n.page()-1)*n.count(),n.page()*n.count()):[]),t.promise},this.getGroups=function(n,r){var i=t.defer();return i.promise.then(function(t){var i={};e.forEach(t,function(t){var n=e.isFunction(r)?r(t):t[r];i[n]=i[n]||{data:[]},i[n].value=n,i[n].data.push(t)});var a=[];for(var o in i)a.push(i[o]);l("ngTable: refresh groups",a),n.resolve(a)}),this.getData(i,s)},this.generatePagesArray=function(e,t,n,r){var i,a,o,s,l;if(r=r&&6>r?6:r,l=[],(s=Math.ceil(t/n))>1){l.push({type:"prev",number:Math.max(1,e-1),active:e>1}),l.push({type:"first",number:1,active:e>1,current:1===e}),a=Math.round((c.paginationMaxBlocks-c.paginationMinBlocks)/2),o=Math.max(2,e-a),i=Math.min(s-1,e+2*a-(e-o));for(var u=o=Math.max(2,o-(2*a-(i-o)));i>=u;)l.push(u===o&&2!==u||u===i&&u!==s-1?{type:"more",active:!1}:{type:"page",number:u,active:e!==u,current:e===u}),u++;l.push({type:"last",number:s,active:e!==s,current:e===s}),l.push({type:"next",number:Math.min(s,e+1),active:s>e})}return l},this.url=function(t){var n=(t=t||!1)?[]:{};for(var r in u)if(u.hasOwnProperty(r)){var i=u[r],a=encodeURIComponent(r);if("object"==typeof i){for(var o in i)if(!e.isUndefined(i[o])&&""!==i[o]){var s=a+"["+encodeURIComponent(o)+"]";t?n.push(s+"="+i[o]):n[s]=i[o]}}else e.isFunction(i)||e.isUndefined(i)||""===i||(t?n.push(a+"="+encodeURIComponent(i)):n[a]=encodeURIComponent(i))}return n},this.reload=function(){var e=t.defer(),n=this,r=null;if(c.$scope)return c.$loading=!0,r=c.groupBy?c.getGroups(e,c.groupBy,this):c.getData(e,this),l("ngTable: reload data"),r||(r=e.promise),r.then(function(e){return c.$loading=!1,l("ngTable: current scope",c.$scope),c.groupBy?(n.data=e,c.$scope&&(c.$scope.$groups=e)):(n.data=e,c.$scope&&(c.$scope.$data=e)),c.$scope&&(c.$scope.pages=n.generatePagesArray(n.page(),n.total(),n.count()),c.$scope.$emit("ngTableAfterReloadData")),e})},this.reloadPages=function(){var e=this;c.$scope.pages=e.generatePagesArray(e.page(),e.total(),e.count())};var u=this.$params={page:1,count:1,filter:{},sorting:{},group:{},groupBy:null};e.extend(u,r.params);var c={$scope:null,$loading:!1,data:null,total:0,defaultSort:"desc",filterDelay:750,counts:[10,25,50,100],paginationMaxBlocks:11,paginationMinBlocks:5,sortingIndicator:"span",getGroups:this.getGroups,getData:this.getData};return e.extend(c,r.settings),this.settings(o),this.parameters(a,!0),this}}]),t.factory("ngTableParams",["NgTableParams",function(e){return e}]),t.controller("ngTableController",["$scope","NgTableParams","$timeout","$parse","$compile","$attrs","$element","ngTableColumn",function(t,n,r,i,a,o,s,l){function u(){t.params.$params.page=1}var c=!0;t.$filterRow={},t.$loading=!1,t.hasOwnProperty("params")||(t.params=new n,t.params.isNullInstance=!0),t.params.settings().$scope=t;var f=function(){var e=0;return function(t,n){r.cancel(e),e=r(t,n)}}();
9t.$watch("params.$params",function(n,r){if(n!==r){if(t.params.settings().$scope=t,e.equals(n.filter,r.filter))t.params.reload();else{var i=c?e.noop:u;f(function(){i(),t.params.reload()},t.params.settings().filterDelay)}t.params.isNullInstance||(c=!1)}},!0),this.compileDirectiveTemplates=function(){if(!s.hasClass("ng-table")){t.templates={header:o.templateHeader?o.templateHeader:"ng-table/header.html",pagination:o.templatePagination?o.templatePagination:"ng-table/pager.html"},s.addClass("ng-table");var n=null;0===s.find("> thead").length&&(n=e.element(document.createElement("thead")).attr("ng-include","templates.header"),s.prepend(n));var r=e.element(document.createElement("div")).attr({"ng-table-pagination":"params","template-url":"templates.pagination"});s.after(r),n&&a(n)(t),a(r)(t)}},this.loadFilterData=function(n){e.forEach(n,function(n){var r;return(r=n.filterData(t,{$column:n}))?e.isObject(r)&&e.isObject(r.promise)?(delete n.filterData,r.promise.then(function(t){e.isArray(t)||e.isFunction(t)||e.isObject(t)?e.isArray(t)&&t.unshift({title:"-",id:""}):t=[],n.data=t})):n.data=r:void delete n.filterData})},this.buildColumns=function(e){return e.map(function(e){return l.buildColumn(e,t)})},this.setupBindingsToInternalScope=function(n){var r=i(n);t.$watch(r,function(n){e.isUndefined(n)||(t.paramsModel=r,t.params=n)},!1),o.showFilter&&t.$parent.$watch(o.showFilter,function(e){t.show_filter=e}),o.disableFilter&&t.$parent.$watch(o.disableFilter,function(e){t.$filterRow.disabled=e})},t.sortBy=function(e,n){var r=e.sortable&&e.sortable();if(r){var i=t.params.settings().defaultSort,a="asc"===i?"desc":"asc",o=t.params.sorting()&&t.params.sorting()[r]&&t.params.sorting()[r]===i,s=n.ctrlKey||n.metaKey?t.params.sorting():{};s[r]=o?a:i,t.params.parameters({sorting:s})}}}]),t.factory("ngTableColumn",[function(){var t={class:function(){return""},filter:function(){return!1},filterData:e.noop,headerTemplateURL:function(){return!1},headerTitle:function(){return""},sortable:function(){return!1},show:function(){return!0},title:function(){return""},titleAlt:function(){return""}};return{buildColumn:function(n,r){var i=Object.create(n);for(var a in t)void 0===i[a]&&(i[a]=t[a]),e.isFunction(i[a])||function(e){i[e]=function(){return n[e]}}(a),function(e){var t=i[e];i[e]=function(){return 0===arguments.length?t.call(n,r):t.apply(n,arguments)}}(a);return i}}}]),t.directive("ngTable",["$q","$parse",function(t,n){return{restrict:"A",priority:1001,scope:!0,controller:"ngTableController",compile:function(t){var r=[],i=0,a=null;return e.forEach(e.element(t.find("tr")),function(t){(t=e.element(t)).hasClass("ng-table-group")||a||(a=t)}),a?(e.forEach(a.find("td"),function(t){var a=e.element(t);if(!a.attr("ignore-cell")||"true"!==a.attr("ignore-cell")){var o=function(e){return a.attr("x-data-"+e)||a.attr("data-"+e)||a.attr(e)},s=function(t){var i=o(t);return i?function(t,a){return n(i)(t,e.extend(a||{},{$columns:r}))}:void 0},l=o("title-alt")||o("title");l&&a.attr("data-title-text","{{"+l+"}}"),r.push({id:i++,title:s("title"),titleAlt:s("title-alt"),headerTitle:s("header-title"),sortable:s("sortable"),class:s("header-class"),filter:s("filter"),headerTemplateURL:s("header"),filterData:s("filter-data"),show:a.attr("ng-show")?function(e){return n(a.attr("ng-show"))(e)}:void 0})}}),function(e,t,n,i){e.$columns=r=i.buildColumns(r),i.setupBindingsToInternalScope(n.ngTable),i.loadFilterData(r),i.compileDirectiveTemplates()}):void 0}}}]),t.directive("ngTableDynamic",["$parse",function(){return{restrict:"A",priority:1001,scope:!0,controller:"ngTableController",compile:function(t){var n;return e.forEach(e.element(t.find("tr")),function(t){(t=e.element(t)).hasClass("ng-table-group")||n||(n=t)}),n?(e.forEach(n.find("td"),function(t){var n=e.element(t);(function(e){return n.attr("x-data-"+e)||n.attr("data-"+e)||n.attr(e)})("title")||n.attr("data-title-text","{{$columns[$index].titleAlt(this) || $columns[$index].title(this)}}"),n.attr("ng-show")||n.attr("ng-show","$columns[$index].show(this)")}),function(e,t,n,r){var i=function(e){if(!e||e.indexOf(" with ")>-1){var t=e.split(/\s+with\s+/);return{tableParams:t[0],columns:t[1]}}throw new Error("Parse error (expected example: ng-table-dynamic='tableParams with cols')")}(n.ngTableDynamic);r.setupBindingsToInternalScope(i.tableParams),r.compileDirectiveTemplates(),e.$watchCollection(i.columns,function(t){e.$columns=r.buildColumns(t),r.loadFilterData(e.$columns)})}):void 0}}}]),t.directive("ngTablePagination",["$compile",function(t){return{restrict:"A",scope:{params:"=ngTablePagination",templateUrl:"="},replace:!1,link:function(n,r){var i=n.params.settings();i.$scope.$on("ngTableAfterReloadData",function(){var e=n.params.page(
9),t=n.params.total(),r=n.params.count(),a=i.paginationMaxBlocks;n.pages=n.params.generatePagesArray(e,t,r,a)},!0),n.$watch("templateUrl",function(i){if(!e.isUndefined(i)){var a=e.element(document.createElement("div"));a.attr({"ng-include":"templateUrl"}),r.append(a),t(a)(n)}})}}}]),e.module("ngTable").run(["$templateCache",function(e){e.put("ng-table/filters/select-multiple.html",'<select ng-options="data.id as data.title for data in $column.data" ng-disabled="$filterRow.disabled" multiple ng-multiple="true" ng-model="params.filter()[name]" ng-show="filter==\'select-multiple\'" class="filter filter-select-multiple form-control" name="{{name}}"> </select>'),e.put("ng-table/filters/select.html",'<select ng-options="data.id as data.title for data in $column.data" ng-disabled="$filterRow.disabled" ng-model="params.filter()[name]" ng-show="filter==\'select\'" class="filter filter-select form-control" name="{{name}}"> </select>'),e.put("ng-table/filters/text.html",'<input type="text" name="{{name}}" ng-disabled="$filterRow.disabled" ng-model="params.filter()[name]" ng-if="filter==\'text\'" class="input-filter form-control"/>'),e.put("ng-table/header.html",'<tr> <th title="{{$column.headerTitle(this)}}" ng-repeat="$column in $columns | orderBy:\'position\'" ng-class="{ \'sortable\': $column.sortable(this), \'sort-asc\': params.sorting()[$column.sortable(this)]==\'asc\', \'sort-desc\': params.sorting()[$column.sortable(this)]==\'desc\' }" ng-click="sortBy($column, $event)" ng-show="$column.show(this)" ng-init="template=$column.headerTemplateURL(this)" class="header {{$column.class(this)}}"> <div ng-if="!template" ng-show="!template" class="ng-table-header" ng-class="{\'sort-indicator\': params.settings().sortingIndicator==\'div\'}"> <span ng-bind="$column.title(this)" ng-class="{\'sort-indicator\': params.settings().sortingIndicator==\'span\'}"></span> </div> <div ng-if="template" ng-show="template" ng-include="template"></div> </th> </tr> <tr ng-show="show_filter" class="ng-table-filters"> <th data-title-text="{{$column.titleAlt(this) || $column.title(this)}}" ng-repeat="$column in $columns | orderBy:\'position\'" ng-show="$column.show(this)" class="filter"> <div ng-repeat="(name, filter) in $column.filter(this)"> <div ng-if="filter.indexOf(\'/\') !==-1" ng-include="filter"></div> <div ng-if="filter.indexOf(\'/\')===-1" ng-include="\'ng-table/filters/\' + filter + \'.html\'"></div> </div> </th> </tr> '),e.put("ng-table/pager.html",'<div class="ng-cloak ng-table-pager" ng-if="params.data.length"> <div ng-if="params.settings().counts.length" class="ng-table-counts btn-group pull-right"> <button ng-repeat="count in params.settings().counts" type="button" ng-class="{\'active\':params.count()==count}" ng-click="params.count(count)" class="btn btn-default"> <span ng-bind="count"></span> </button> </div> <ul class="pagination ng-table-pagination"> <li ng-class="{\'disabled\': !page.active && !page.current, \'active\': page.current}" ng-repeat="page in pages" ng-switch="page.type"> <a ng-switch-when="prev" ng-click="params.page(page.number)" href="">«</a> <a ng-switch-when="first" ng-click="params.page(page.number)" href=""><span ng-bind="page.number"></span></a> <a ng-switch-when="page" ng-click="params.page(page.number)" href=""><span ng-bind="page.number"></span></a> <a ng-switch-when="more" ng-click="params.page(page.number)" href="">…</a> <a ng-switch-when="last" ng-click="params.page(page.number)" href=""><span ng-bind="page.number"></span></a> <a ng-switch-when="next" ng-click="params.page(page.number)" href="">»</a> </li> </ul> </div> ')}]),t}),(e=angular.module("infinite-scroll",[])).value("THROTTLE_MILLISECONDS",null),e.directive("infiniteScroll",["$rootScope","$window","$interval","THROTTLE_MILLISECONDS",function(e,t,n,r){return{scope:{infiniteScroll:"&",infiniteScrollContainer:"=",infiniteScrollDistance:"=",infiniteScrollDisabled:"=",infiniteScrollUseDocumentBottom:"=",infiniteScrollListenForEvent:"@"},link:function(i,a,o){var s,l,u,c,f,d,h,p,m,g,v,y,$,b,w,x,_,C;return C=angular.element(t),b=null,w=null,u=null,c=null,v=!0,_=!1,x=null,l=!1,g=function(e){return e=e[0]||e,isNaN(e.offsetHeight)?e.document.documentElement.clientHeight:e.offsetHeight},y=function(e){if(e[0].getBoundingClientRect&&!e.css("none"))return e[0].getBoundingClientRect().top+$(e)},$=function(e){return e=e[0]||e,isNaN(window.pageYOffset)?e.document.documentElement.scrollTop:e.ownerDocument.defaultView.pageYOffset},m=function(){var t,r,o;return c===C?(t=g(c)+$(c[0].document.documentElement),o=y(a)+g(a)):(t=g(c),r=0,void 0!==y(c)&&(r=y(c)),o=y(a)-r+g(a)),_&&(o=g((a[0].ownerDocument||a[0].document).documentElement)),o-t<=g(c)*b+1?(u=!0,w?i.$$phase||e.$$phase?i.infiniteScroll():i.$apply(i.infiniteScroll):void 0):(l&&n.cancel(l),u=!1)},null!=r&&(m=function(e,t){var r,i,a;return a=null,i=0,r=function(){return i=(new Date).getTime(),n.cancel(a),a=null,e.call(),null},function(){var o,s;return o=(new Date).getTime(),(s=t-(o-i))<=0?(clearTimeout(a),n.cancel(a),a=null,i=o,e.call()):a?void 0:a=n(r,s,1)}}(m,r)),i.$on("$destroy",function(){if(c.unbind("scroll",m),null!=x)return x(),x=null}),h=function(e){return b=parseFloat(e)||0},i.$watch("infiniteScrollDistance",h),h(i.infiniteScrollDistance),d=function(e){if((w=!e)&&u)return u=!1,m()},i.$watch("infiniteScrollDisabled",d),d(i.infiniteScrollDisabled),p=function(e){return _=e},i.$watch("infiniteScrollUseDocumentBottom",p),p(i.infiniteScrollUseDocumentBottom),(s=function(e){if(null!=c&&c.unbind("scroll",m),c=e,null!=e)return c.bind("scroll",m)})(C),i.infiniteScrollListenForEvent&&(x=e.$on(i.infiniteScrollListenForEvent,m)),f=function(e){if(null!=e&&0!==e.length){if(e instanceof HTMLElement?e=angular.element(e):"function"==typeof e.append?e=angular.element(e[e.length-1]):"string"==typeof e&&(e=angular.element(document.querySelector(e))),null!=e)return s(e);throw new Exception("invalid infinite-scroll-container attribute.")}},i.$watch("infiniteScrollContainer",f),f(i.infiniteScrollContainer||[]),null!=o.infiniteScrollParent&&s(angular.element(a.parent())),null!=o.infiniteScrollImmediateCheck&&(v=i.$eval(o.infiniteScrollImmediateCheck)),l=n(function(){if(v)return m()},0)}}}])}(),function(){!function(e,t){"use strict";"function"==typeof define&&define.amd?define(["angular"],t):e.hasOwnProperty("angular")?t(e.angular):"object"==typeof exports&&(module.exports=t(require("angular")))}(this,function(e){"use strict";function t(e,t){var n;try{n=e[t]}catch(e){n=!1}if(n){var r="__"+Math.round(1e7*Math.random());try{e[t].setItem(r,r),e[t].removeItem(r,r)}catch(e){n=!1}}return n}return(e=e&&e.module?e:window.angular).module("ngStorage",[]).provider("$localStorage",n("localStorage")).provider("$sessionStorage",n("sessionStorage"));function n(n){var r=t(window,n);return function(){var i="ngStorage-";this.setKeyPrefix=function(e){if("string"!=typeof e)throw new TypeError("[ngStorage] - "+n+"Provider.setKeyPrefix() expects a String.");i=e};var a=e.toJson,o=e.fromJson;
9this.setSerializer=function(e){if("function"!=typeof e)throw new TypeError("[ngStorage] - "+n+"Provider.setSerializer expects a function.");a=e},this.setDeserializer=function(e){if("function"!=typeof e)throw new TypeError("[ngStorage] - "+n+"Provider.setDeserializer expects a function.");o=e},this.supported=function(){return!!r},this.get=function(e){return r&&o(r.getItem(i+e))},this.set=function(e,t){return r&&r.setItem(i+e,a(t))},this.remove=function(e){r&&r.removeItem(i+e)},this.$get=["$rootScope","$window","$log","$timeout","$document",function(r,s,l,u,c){var f,d,h=i.length,p=t(s,n),m=p||(l.warn("This browser does not support Web Storage!"),{setItem:e.noop,getItem:e.noop,removeItem:e.noop}),g={$default:function(t){for(var n in t)e.isDefined(g[n])||(g[n]=e.copy(t[n]));return g.$sync(),g},$reset:function(e){for(var t in g)"$"===t[0]||delete g[t]&&m.removeItem(i+t);return g.$default(e)},$sync:function(){for(var e,t=0,n=m.length;t<n;t++)(e=m.key(t))&&i===e.slice(0,h)&&(g[e.slice(h)]=o(m.getItem(e)))},$apply:function(){var t;if(d=null,!e.equals(g,f)){for(var n in t=e.copy(f),e.forEach(g,function(n,r){e.isDefined(n)&&"$"!==r[0]&&(m.setItem(i+r,a(n)),delete t[r])}),t)m.removeItem(i+n);f=e.copy(g)}},$supported:function(){return!!p}};return g.$sync(),f=e.copy(g),r.$watch(function(){d||(d=u(g.$apply,100,!1))}),s.addEventListener&&s.addEventListener("storage",function(t){if(t.key){var n=c[0];n.hasFocus&&n.hasFocus()||i!==t.key.slice(0,h)||(t.newValue?g[t.key.slice(h)]=o(t.newValue):delete g[t.key.slice(h)],f=e.copy(g),r.$apply())}}),s.addEventListener&&s.addEventListener("beforeunload",function(){g.$apply()}),g}]}}})}(),angular.module("restangular",[]).provider("Restangular",function(){var e={};e.init=function(e,t){e.configuration=t;var n=["get","head","options","trace","getlist"];t.isSafe=function(e){return _.includes(n,e.toLowerCase())};var r=/^https?:\/\//i;t.isAbsoluteUrl=function(e){return _.isUndefined(t.absoluteUrl)||_.isNull(t.absoluteUrl)?e&&r.test(e):t.absoluteUrl},t.absoluteUrl=!!_.isUndefined(t.absoluteUrl)||t.absoluteUrl,e.setSelfLinkAbsoluteUrl=function(e){t.absoluteUrl=e},t.baseUrl=_.isUndefined(t.baseUrl)?"":t.baseUrl,e.setBaseUrl=function(e){return t.baseUrl=/\/$/.test(e)?e.substring(0,e.length-1):e,this},t.extraFields=t.extraFields||[],e.setExtraFields=function(e){return t.extraFields=e,this},t.defaultHttpFields=t.defaultHttpFields||{},e.setDefaultHttpFields=function(e){return t.defaultHttpFields=e,this},t.withHttpValues=function(e,n){return _.defaults(n,e,t.defaultHttpFields)},t.encodeIds=!!_.isUndefined(t.encodeIds)||t.encodeIds,e.setEncodeIds=function(e){t.encodeIds=e}
9,t.defaultRequestParams=t.defaultRequestParams||{get:{},post:{},put:{},remove:{},common:{}},e.setDefaultRequestParams=function(e,n){var r=[],i=n||e;return _.isUndefined(n)?r.push("common"):_.isArray(e)?r=e:r.push(e),_.each(r,function(e){t.defaultRequestParams[e]=i}),this},e.requestParams=t.defaultRequestParams,t.defaultHeaders=t.defaultHeaders||{},e.setDefaultHeaders=function(n){return t.defaultHeaders=n,e.defaultHeaders=t.defaultHeaders,this},e.defaultHeaders=t.defaultHeaders,t.methodOverriders=t.methodOverriders||[],e.setMethodOverriders=function(e){var n=_.extend([],e);return t.isOverridenMethod("delete",n)&&n.push("remove"),t.methodOverriders=n,this},t.jsonp=!_.isUndefined(t.jsonp)&&t.jsonp,e.setJsonp=function(e){t.jsonp=e},t.isOverridenMethod=function(e,n){var r=n||t.methodOverriders;return!_.isUndefined(_.find(r,function(t){return t.toLowerCase()===e.toLowerCase()}))},t.urlCreator=t.urlCreator||"path",e.setUrlCreator=function(e){if(!_.has(t.urlCreatorFactory,e))throw new Error("URL Path selected isn't valid");return t.urlCreator=e,this},t.restangularFields=t.restangularFields||{id:"id",route:"route",parentResource:"parentResource",restangularCollection:"restangularCollection",cannonicalId:"__cannonicalId",etag:"restangularEtag",selfLink:"href",get:"get",getList:"getList",put:"put",post:"post",remove:"remove",head:"head",trace:"trace",options:"options",patch:"patch",getRestangularUrl:"getRestangularUrl",getRequestedUrl:"getRequestedUrl",putElement:"putElement",addRestangularMethod:"addRestangularMethod",getParentList:"getParentList",clone:"clone",ids:"ids",httpConfig:"_$httpConfig",reqParams:"reqParams",one:"one",all:"all",several:"several",oneUrl:"oneUrl",allUrl:"allUrl",customPUT:"customPUT",customPOST:"customPOST",customDELETE:"customDELETE",customGET:"customGET",customGETLIST:"customGETLIST",customOperation:"customOperation",doPUT:"doPUT",doPOST:"doPOST",doDELETE:"doDELETE",doGET:"doGET",doGETLIST:"doGETLIST",fromServer:"fromServer",withConfig:"withConfig",withHttpConfig:"withHttpConfig",singleOne:"singleOne",plain:"plain",save:"save",restangularized:"restangularized"},e.setRestangularFields=function(e){return t.restangularFields=_.extend(t.restangularFields,e),this},t.isRestangularized=function(e){return!!e[t.restangularFields.restangularized]},t.setFieldToElem=function(e,t,n){var r=e.split("."),i=t;return _.each(_.initial(r),function(e){i[e]={},i=i[e]}),i[_.last(r)]=n,this},t.getFieldFromElem=function(e,t){var n=e.split("."),r=t;return _.each(n,function(e){r&&(r=r[e])}),angular.copy(r)},t.setIdToElem=function(e,n){return t.setFieldToElem(t.restangularFields.id,e,n),this},t.getIdFromElem=function(e){return t.getFieldFromElem(t.restangularFields.id,e)},t.isValidId=function(e){return""!==e&&!_.isUndefined(e)&&!_.isNull(e)},t.setUrlToElem=function(e,n){return t.setFieldToElem(t.restangularFields.selfLink,e,n),this},t.getUrlFromElem=function(e){return t.getFieldFromElem(t.restangularFields.selfLink,e)},t.useCannonicalId=!_.isUndefined(t.useCannonicalId)&&t.useCannonicalId,e.setUseCannonicalId=function(e){return t.useCannonicalId=e,this},t.getCannonicalIdFromElem=function(e){var n=e[t.restangularFields.cannonicalId];return t.isValidId(n)?n:t.getIdFromElem(e)},t.responseInterceptors=t.responseInterceptors||[],t.defaultResponseInterceptor=function(e){return e},t.responseExtractor=function(e,n,r,i,a,o){var s=angular.copy(t.responseInterceptors);s.push(t.defaultResponseInterceptor);var l=e;return _.each(s,function(e){l=e(l,n,r,i,a,o)}),l},e.addResponseInterceptor=function(e){return t.responseInterceptors.push(e),this},t.errorInterceptors=t.errorInterceptors||[],e.addErrorInterceptor=function(e){return t.errorInterceptors.push(e),this},e.setResponseInterceptor=e.addResponseInterceptor,e.setResponseExtractor=e.addResponseInterceptor,e.setErrorInterceptor=e.addErrorInterceptor,t.requestInterceptors=t.requestInterceptors||[],t.defaultInterceptor=function(e,t,n,r,i,a,o){return{element:e,headers:i,params:a,httpConfig:o}},t.fullRequestInterceptor=function(e,n,r,i,a,o,s){var l=angular.copy(t.requestInterceptors),u=t.defaultInterceptor(e,n,r,i,a,o,s);return _.reduce(l,function(e,t){return _.extend(e,t(e.element,n,r,i,e.headers,e.params,e.httpConfig))},u)},e.addRequestInterceptor=function(e){return t.requestInterceptors.push(function(t,n,r,i,a,o,s){return{headers:a,params:o,element:e(t,n,r,i),httpConfig:s}}),this},e.setRequestInterceptor=e.addRequestInterceptor,e.addFullRequestInterceptor=function(e){return t.requestInterceptors.push(e),this},e.setFullRequestInterceptor=e.addFullRequestInterceptor,t.onBeforeElemRestangularized=t.onBeforeElemRestangularized||function(e){return e},e.setOnBeforeElemRestangularized=function(e){return t.onBeforeElemRestangularized=e,this},e.setRestangularizePromiseInterceptor=function(e){return t.restangularizePromiseInterceptor=e,this},t.onElemRestangularized=t.onElemRestangularized||function(e){return e},e.setOnElemRestangularized=function(e){return t.onElemRestangularized=e,this},t.shouldSaveParent=t.shouldSaveParent||function(){return!0},e.setParentless=function(e){return _.isArray(e)?t.shouldSaveParent=function(t){return!_.includes(e,t)}:_.isBoolean(e)&&(t.shouldSaveParent=function(){return!e}),this},t.suffix=_.isUndefined(t.suffix)?null:t.suffix,e.setRequestSuffix=function(e){return t.suffix=e,this},t.transformers=t.transformers||{},e.addElementTransformer=function(n,r,i){var a=null,o=null;2===arguments.length?o=r:(o=i,a=r);var s=t.transformers[n];return s||(s=t.transformers[n]=[]),s.push(function(e,t){return _.isNull(a)||e===a?o(t):t}),e},e.extendCollection=function(t,n){return e.addElementTransformer(t,!0,n)},e.extendModel=function(t,n){return e.addElementTransformer(t,!1,n)},t.transformElem=function(e,n,r,i,a){if(!a&&!t.transformLocalElements&&!e[t.restangularFields.fromServer])return e;var o=t.transformers[r],s=e;return o&&_.each(o,function(e){s=e(n,s)}),t.onElemRestangularized(s,n,r,i)},t.transformLocalElements=!_.isUndefined(t.transformLocalElements)&&t.transformLocalElements,e.setTransformOnlyServerElements=function(e){t.transformLocalElements=!e},t.fullResponse=!_.isUndefined(t.fullResponse)&&t.fullResponse,e.setFullResponse=function(e){return t.fullResponse=e,this},t.urlCreatorFactory={};var i=function(){};i.prototype.setConfig=function(e){return this.config=e,this},i.prototype.parentsArray=function(e){for(var t=[];e;)t.push(e),e=e[this.config.restangularFields.parentResource];return t.reverse()},i.prototype.resource=function(e,n,r,i,a,o,s,l){var u=_.defaults(a||{}
9,this.config.defaultRequestParams.common),c=_.defaults(i||{},this.config.defaultHeaders);s&&(t.isSafe(l)?c["If-None-Match"]=s:c["If-Match"]=s);var f=this.base(e);if(o){var d="";/\/$/.test(f)||(d+="/"),f+=d+=o}return this.config.suffix&&-1===f.indexOf(this.config.suffix,f.length-this.config.suffix.length)&&!this.config.getUrlFromElem(e)&&(f+=this.config.suffix),e[this.config.restangularFields.httpConfig]=void 0,function(e,t,n,r){var i={};return _.each(_.keys(r),function(a){var o=r[a];o.params=_.extend({},o.params,e.defaultRequestParams[o.method.toLowerCase()]),_.isEmpty(o.params)&&delete o.params,e.isSafe(o.method)?i[a]=function(){return t(_.extend(o,{url:n}))}:i[a]=function(e){return t(_.extend(o,{url:n,data:e}))}}),i}(this.config,n,f,{getList:this.config.withHttpValues(r,{method:"GET",params:u,headers:c}),get:this.config.withHttpValues(r,{method:"GET",params:u,headers:c}),jsonp:this.config.withHttpValues(r,{method:"jsonp",params:u,headers:c}),put:this.config.withHttpValues(r,{method:"PUT",params:u,headers:c}),post:this.config.withHttpValues(r,{method:"POST",params:u,headers:c}),remove:this.config.withHttpValues(r,{method:"DELETE",params:u,headers:c}),head:this.config.withHttpValues(r,{method:"HEAD",params:u,headers:c}),trace:this.config.withHttpValues(r,{method:"TRACE",params:u,headers:c}),options:this.config.withHttpValues(r,{method:"OPTIONS",params:u,headers:c}),patch:this.config.withHttpValues(r,{method:"PATCH",params:u,headers:c})})};var a=function(){};(a.prototype=new i).normalizeUrl=function(e){var t=/(http[s]?:\/\/)?(.*)?/.exec(e);return t[2]=t[2].replace(/[\\\/]+/g,"/"),void 0!==t[1]?t[1]+t[2]:t[2]},a.prototype.base=function(e){var n=this;return _.reduce(this.parentsArray(e),function(e,r){var i,a=n.config.getUrlFromElem(r);if(a){if(n.config.isAbsoluteUrl(a))return a;i=a}else if(i=r[n.config.restangularFields.route],r[n.config.restangularFields.restangularCollection]){var o=r[n.config.restangularFields.ids];o&&(i+="/"+o.join(","))}else{var s;s=n.config.useCannonicalId?n.config.getCannonicalIdFromElem(r):n.config.getIdFromElem(r),t.isValidId(s)&&!r.singleOne&&(i+="/"+(n.config.encodeIds?encodeURIComponent(s):s))}return e=e.replace(/\/$/,"")+"/"+i,n.normalizeUrl(e)},this.config.baseUrl)},a.prototype.fetchUrl=function(e,t){var n=this.base(e);return t&&(n+="/"+t),n},a.prototype.fetchRequestedUrl=function(e,n){var r=this.fetchUrl(e,n),i=e[t.restangularFields.reqParams];function a(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}if(!i)return r+(this.config.suffix||"");var o=[];return function(e,t,n){for(var r=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t.sort()}(e),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i])}(i,function(e,t){null!==e&&void 0!==e&&(angular.isArray(e)||(e=[e]),angular.forEach(e,function(e){angular.isObject(e)&&(e=angular.toJson(e)),o.push(a(t)+"="+a(e))}))}),r+(this.config.suffix||"")+(-1===r.indexOf("?")?"?":"&")+o.join("&")},t.urlCreatorFactory.path=a};var t={};e.init(this,t),this.$get=["$http","$q",function(n,r){return function t(i){var a={},o=new i.urlCreatorFactory[i.urlCreator];function s(e,t,n,r,a){if(t[i.restangularFields.route]=n,t[i.restangularFields.getRestangularUrl]=_.bind(o.fetchUrl,o,t),t[i.restangularFields.getRequestedUrl]=_.bind(o.fetchRequestedUrl,o,t),t[i.restangularFields.addRestangularMethod]=_.bind(F,t),t[i.restangularFields.clone]=_.bind($,t,t),t[i.restangularFields.reqParams]=_.isEmpty(r)?null:r,t[i.restangularFields.withHttpConfig]=_.bind(S,t),t[i.restangularFields.plain]=_.bind(v,t,t),t[i.restangularFields.restangularized]=!0,t[i.restangularFields.one]=_.bind(l,t,t),t[i.restangularFields.all]=_.bind(u,t,t),t[i.restangularFields.several]=_.bind(c,t,t),t[i.restangularFields.oneUrl]=_.bind(f,t,t),t[i.restangularFields.allUrl]=_.bind(d,t,t),t[i.restangularFields.fromServer]=!!a,e&&i.shouldSaveParent(n)){var s=i.getIdFromElem(e),h=i.getUrlFromElem(e),p=_.union(_.values(_.pick(i.restangularFields,["route","singleOne","parentResource"])),i.extraFields),m=_.pick(e,p);i.isValidId(s)&&i.setIdToElem(m,s,n),i.isValidId(h)&&i.setUrlToElem(m,h,n),t[i.restangularFields.parentResource]=m}else t[i.restangularFields.parentResource]=null;return t}function l(e,t,n,r){var a;if(_.isNumber(t)||_.isNumber(e))throw a="You're creating a Restangular entity with the number ",a+="instead of the route or the parent. For example, you can't call .one(12).",new Error(a);if(_.isUndefined(t))throw a="You're creating a Restangular entity either without the path. ",a+="For example you can't call .one(). Please check if your arguments are valid.",new Error(a);var o={};return i.setIdToElem(o,n,t),i.setFieldToElem(i.restangularFields.singleOne,o,r),b(e,o,t,!1)}function u(e,t){return w(e,[],t,!1)}function c(e,t){var n=[];return n[i.restangularFields.ids]=Array.prototype.splice.call(arguments,2),w(e,n,t,!1)}function f(e,t,n){if(!t)throw new Error("Route is mandatory when creating new Restangular objects.");var r={};return i.setUrlToElem(r,n,t),b(e,r,t,!1)}function d(e,t,n){if(!t)throw new Error("Route is mandatory when creating new Restangular objects.");var r={};return i.setUrlToElem(r,n,t),w(e,r,t,!1)}function h(e,t,n){return e.call=_.bind(p,e),e.get=_.bind(m,e),e[i.restangularFields.restangularCollection]=t,t&&(e.push=_.bind(p,e,"push")),e.$object=n,i.restangularizePromiseInterceptor&&i.restangularizePromiseInterceptor(e),e}function p(e){var t=r.defer(),n=arguments,a={};return this.then(function(r){var i=Array.prototype.slice.call(n,1);r[e].apply(r,i),a=r,t.resolve(r)}),h(t.promise,this[i.restangularFields.restangularCollection],a)}function m(e){var t=r.defer(),n={};return this.then(function(r){n=r[e],t.resolve(n)}),h(t.promise,this[i.restangularFields.restangularCollection],n)}function g(e,t,n,r){if(_.extend(r,n),i.fullResponse)return e.resolve(_.extend(t,{data:n}));e.resolve(n)}function v(e){if(_.isArray(e)){var t=[];return _.each(e,function(e){t.push(i.isRestangularized(e)?v(e):e)}),t}return _.omit(e,_.values(_.omit(i.restangularFields,"id")))}function y(e){e[i.restangularFields.customOperation]=_.bind(L,e),_.each(["put","post","get","delete"],function(t){_.each(["do","custom"],function(n){var r,i="delete"===t?"remove":t,a=n+t.toUpperCase();r="put"!==i&&"post"!==i?L:function(e,t,n,r,i){return _.bind(L,this)(e,n,r,i,t)},e[a]=_.bind(r,e,i)})}),e[i.restangularFields.customGETLIST]=_.bind(D,e),e[i.restangularFields.doGETLIST]=e[i.restangularFields.customGETLIST]}function $(e,t){var n=angular.copy(e,t);return b(n[i.restangularFields.parentResource],n,n[i.restangularFields.route],!0)}function b(e,t,n,r,o,l){var u=s(e,i.onBeforeElemRestangularized(t,!1,n),n,l,r);return i.useCannonicalId&&(u[i.restangularFields.cannonicalId]=i.getIdFromElem(u)),o&&(u[i.restangularFields.getParentList]=function(){return o}
9),u[i.restangularFields.restangularCollection]=!1,u[i.restangularFields.get]=_.bind(O,u),u[i.restangularFields.getList]=_.bind(D,u),u[i.restangularFields.put]=_.bind(A,u),u[i.restangularFields.post]=_.bind(I,u),u[i.restangularFields.remove]=_.bind(M,u),u[i.restangularFields.head]=_.bind(P,u),u[i.restangularFields.trace]=_.bind(R,u),u[i.restangularFields.options]=_.bind(j,u),u[i.restangularFields.patch]=_.bind(N,u),u[i.restangularFields.save]=_.bind(T,u),y(u),i.transformElem(u,!1,n,a,!0)}function w(e,t,n,r,o){var l=s(e,i.onBeforeElemRestangularized(t,!0,n),n,o,r);return l[i.restangularFields.restangularCollection]=!0,l[i.restangularFields.post]=_.bind(I,l,null),l[i.restangularFields.remove]=_.bind(M,l),l[i.restangularFields.head]=_.bind(P,l),l[i.restangularFields.trace]=_.bind(R,l),l[i.restangularFields.putElement]=_.bind(C,l),l[i.restangularFields.options]=_.bind(j,l),l[i.restangularFields.patch]=_.bind(N,l),l[i.restangularFields.get]=_.bind(x,l),l[i.restangularFields.getList]=_.bind(D,l,null),y(l),i.transformElem(l,!0,n,a,!0)}function x(e,t,n){return this.customGET(e.toString(),t,n)}function C(e,t,n){var o=this,s=this[e],l=r.defer(),u=[];return u=i.transformElem(u,!0,s[i.restangularFields.route],a),s.put(t,n).then(function(t){var n=$(o);n[e]=t,u=n,l.resolve(n)},function(e){l.reject(e)}),h(l.promise,!0,u)}function k(e,t,n,r,a,o){var s=i.responseExtractor(e,t,n,r,a,o),l=a.headers("ETag");return s&&l&&(s[i.restangularFields.etag]=l),s}function D(e,t,s){var l=this,u=r.defer(),c=o.fetchUrl(this,e),f=e||l[i.restangularFields.route],d=i.fullRequestInterceptor(null,"getList",f,c,s||{},t||{},this[i.restangularFields.httpConfig]||{}),p=[];p=i.transformElem(p,!0,f,a);var m="getList";i.jsonp&&(m="jsonp");var v=function(t){var n=t.data,r=t.config.params,a=k(n,"getList",f,c,t,u);if((_.isUndefined(a)||""===a)&&(a=[]),!_.isArray(a))throw new Error("Response for getList SHOULD be an array and not an object or something else");var o=_.map(a,function(t){return l[i.restangularFields.restangularCollection]?b(l[i.restangularFields.parentResource],t,l[i.restangularFields.route],!0,a):b(l,t,e,!0,a)});o=_.extend(a,o),l[i.restangularFields.restangularCollection]?g(u,t,w(l[i.restangularFields.parentResource],o,l[i.restangularFields.route],!0,r),p):g(u,t,w(l,o,e,!0,r),p)};return o.resource(this,n,d.httpConfig,d.headers,d.params,e,this[i.restangularFields.etag],"getList")[m]().then(v,function(e){304===e.status&&l[i.restangularFields.restangularCollection]?g(u,e,l,p):_.every(i.errorInterceptors,function(t){return!1!==t(e,u,v)})&&u.reject(e)}),h(u.promise,!0,p)}function S(e){return this[i.restangularFields.httpConfig]=e,this}function T(e,t){return this[i.restangularFields.fromServer]?this[i.restangularFields.put](e,t):_.bind(E,this)("post",void 0,e,void 0,t)}function E(e,t,s,l,u){var c=this,f=r.defer(),d=s||{},p=t||this[i.restangularFields.route],m=o.fetchUrl(this,t),y=l||this,$=y[i.restangularFields.etag]||("post"!==e?this[i.restangularFields.etag]:null);_.isObject(y)&&i.isRestangularized(y)&&(y=v(y));var w=i.fullRequestInterceptor(y,e,p,m,u||{},d||{},this[i.restangularFields.httpConfig]||{}),x={};x=i.transformElem(x,!1,p,a);var C=function(t){var n,r=t.data,a=t.config.params,o=k(r,e,p,m,t,f);o?"post"!==e||c[i.restangularFields.restangularCollection]?((n=b(c[i.restangularFields.parentResource],o,c[i.restangularFields.route],!0,null,a))[i.restangularFields.singleOne]=c[i.restangularFields.singleOne],g(f,t,n,x)):(n=b(c[i.restangularFields.parentResource],o,p,!0,null,a),g(f,t,n,x)):g(f,t,void 0,x)},D=function(t){304===t.status&&i.isSafe(e)?g(f,t,c,x):_.every(i.errorInterceptors,function(e){return!1!==e(t,f,C)})&&f.reject(t)},S=e,T=_.extend({},w.headers),E=i.isOverridenMethod(e);return E?(S="post",T=_.extend(T,{"X-HTTP-Method-Override":"remove"===e?"DELETE":e.toUpperCase()})):i.jsonp&&"get"===S&&(S="jsonp"),i.isSafe(e)?E?o.resource(this,n,w.httpConfig,T,w.params,t,$,S)[S]({}).then(C,D):o.resource(this,n,w.httpConfig,T,w.params,t,$,S)[S]().then(C,D):o.resource(this,n,w.httpConfig,T,w.params,t,$,S)[S](w.element).then(C,D),h(f.promise,!1,x)}function O(e,t){return _.bind(E,this)("get",void 0,e,void 0,t)}function M(e,t){return _.bind(E,this)("remove",void 0,e,void 0,t)}function A(e,t){return _.bind(E,this)("put",void 0,e,void 0,t)}function I(e,t,n,r){return _.bind(E,this)("post",e,n,t,r)}function P(e,t){return _.bind(E,this)("head",void 0,e,void 0,t)}function R(e,t){return _.bind(E,this)("trace",void 0,e,void 0,t)}function j(e,t){return _.bind(E,this)("options",void 0,e,void 0,t)}function N(e,t,n){return _.bind(E,this)("patch",void 0,t,e,n)}function L(e,t,n,r,i){return _.bind(E,this)(e,t,n,i,r)}function F(e,t,n,r,a,o){var s;s="getList"===t?_.bind(D,this,n):_.bind(L,this,t,n);var l=function(e,t,n){var i=_.defaults({params:e,headers:t,elem:n},{params:r,headers:a,elem:o});return s(i.params,i.headers,i.elem)};i.isSafe(t)?this[e]=l:this[e]=function(e,t,n){return l(t,n,e)}}return o.setConfig(i),e.init(a,i),a.copy=_.bind($,a),a.service=_.bind(function(e,t){var n=_.values(i.restangularFields),r={},o=(t||a).all(e);for(var s in r.one=_.bind(l,t||a,t,e),r.post=_.bind(o.post,o),r.getList=_.bind(o.getList,o),o)o.hasOwnProperty(s)&&_.isFunction(o[s])&&!_.includes(n,s)&&(r[s]=_.bind(o[s],o));return r},a),a.withConfig=_.bind(function(n){var r=angular.copy(_.omit(i,"configuration"));return e.init(r,r),n(r),t(r)},a),a.one=_.bind(l,a,null),a.all=_.bind(u,a,null),a.several=_.bind(c,a,null),a.oneUrl=_.bind(f,a,null),a.allUrl=_.bind(d,a,null),a.stripRestangular=_.bind(v,a),a.restangularizeElement=_.bind(b,a),a.restangularizeCollection=_.bind(function(e,t,n){var r=w(e,t,n,!1);return _.each(r,function(t){b(e,t,n,!1)}),r},a),a}(t)}]}),function(){var e,t;e=this,t=function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function a(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}
vendor: 4,944 bytes, line 9
9function s(e,t){for(var n in t)o(t,n)&&(e[n]=t[n]);return o(t,"toString")&&(e.toString=t.toString),o(t,"valueOf")&&(e.valueOf=t.valueOf),e}function l(e,t,n,r){return lt(e,t,n,r,!0).utc()}function u(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),e._pf}function c(e){if(null==e._isValid){var n=u(e),r=t.call(n.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidMonth&&!n.invalidWeekday&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&r),e._strict&&(e._isValid=e._isValid&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour)}return e._isValid}function f(e){var t=l(NaN);return null!=e?s(u(t),e):u(t).userInvalidated=!0,t}function d(e){return void 0===e}t=Array.prototype.some?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};var h=n.momentProperties=[];function p(e,t){var n,r,i;if(d(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),d(t._i)||(e._i=t._i),d(t._f)||(e._f=t._f),d(t._l)||(e._l=t._l),d(t._strict)||(e._strict=t._strict),d(t._tzm)||(e._tzm=t._tzm),d(t._isUTC)||(e._isUTC=t._isUTC),d(t._offset)||(e._offset=t._offset),d(t._pf)||(e._pf=u(t)),d(t._locale)||(e._locale=t._locale),h.length>0)for(n in h)d(i=t[r=h[n]])||(e[r]=i);return e}var m=!1;function g(e){p(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===m&&(m=!0,n.updateOffset(this),m=!1)}function v(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e):Math.floor(e)}function $(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&$(e[r])!==$(t[r]))&&o++;return o+a}function w(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return s(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}var _,C={};function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),C[e]||(w(t),C[e]=!0)}function D(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function T(e,t){var n,r=s({},e);for(n in t)o(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},s(r[n],e[n]),s(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function E(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,_=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(e,t)&&n.push(t);return n};var O,M={};function A(e){return e?e.toLowerCase().replace("_","-"):e}function I(e){var t=null;if(!M[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=O._abbr,require("./locale/"+e),P(t)}catch(e){}return M[e]}function P(e,t){var n;return e&&(n=d(t)?j(e):R(e,t))&&(O=n),O._abbr}function R(e,t){return null!==t?(t.abbr=e,null!=M[e]?(k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=T(M[e]._config,t)):null!=t.parentLocale&&(null!=M[t.parentLocale]?t=T(M[t.parentLocale]._config,t):k("parentLocaleUndefined","specified parentLocale is not defined yet")),M[e]=new E(t),P(e),M[e]):(delete M[e],null)}function j(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return O;if(!r(e)){if(t=I(e))return t;e=[e]}return function(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=A(e[a]).split("-")).length,n=(n=A(e[a+1]))?n.split("-"):null;t>0;){if(r=I(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}a++}return null}(e)}var N={};function L(e,t){var n=e.toLowerCase();N[n]=N[n+"s"]=N[t]=e}function F(e){return"string"==typeof e?N[e]||N[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)o(e,n)&&(t=F(n))&&(r[t]=e[n]);return r}function H(e,t){return function(r){return null!=r?(B(this,e,r),n.updateOffset(this,t),this):q(this,e)}}function q(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function B(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function V(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(D(this[e=F(e)]))return this[e](t);return this}function Y(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var W=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}
vendor: 6,177 bytes, line 9
9|x|X|zz?|ZZ?|.)/g,z=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,G={},X={};function J(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(X[e]=i),t&&(X[t[0]]=function(){return Y(i.apply(this,arguments),t[1],t[2])}),n&&(X[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Q(e,t){return e.isValid()?(t=Z(t,e.localeData()),G[t]=G[t]||function(e){var t,n,r,i=e.match(W);for(t=0,n=i.length;t<n;t++)X[i[t]]?i[t]=X[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,a="";for(r=0;r<n;r++)a+=i[r]instanceof Function?i[r].call(t,e):i[r];return a}}(t),G[t](e)):e.localeData().invalidDate()}function Z(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(z.lastIndex=0;n>=0&&z.test(e);)e=e.replace(z,r),z.lastIndex=0,n-=1;return e}var K=/\d/,ee=/\d\d/,te=/\d{3}/,ne=/\d{4}/,re=/[+-]?\d{6}/,ie=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,se=/\d{1,3}/,le=/\d{1,4}/,ue=/[+-]?\d{1,6}/,ce=/\d+/,fe=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,me={};function ge(e,t,n){me[e]=D(t)?t:function(e,r){return e&&n?n:t}}function ve(e,t){return o(me,e)?me[e](t._strict,t._locale):new RegExp(ye(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function ye(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var $e={};function be(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=$(e)}),n=0;n<e.length;n++)$e[e[n]]=r}function we(e,t){be(e,function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)})}function xe(e,t,n){null!=t&&o($e,e)&&$e[e](t,n._a,n,e)}var _e,Ce=0,ke=1,De=2,Se=3,Te=4,Ee=5,Oe=6,Me=7,Ae=8;function Ie(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}_e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},J("M",["MM",2],"Mo",function(){return this.month()+1}),J("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),J("MMMM",0,0,function(e){return this.localeData().months(this,e)}),L("month","M"),ge("M",ie),ge("MM",ie,ee),ge("MMM",function(e,t){return t.monthsShortRegex(e)}),ge("MMMM",function(e,t){return t.monthsRegex(e)}),be(["M","MM"],function(e,t){t[ke]=$(e)-1}),be(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[ke]=i:u(n).invalidMonth=e});var Pe=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Re="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var je="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ne(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=$(t);else if("number"!=typeof(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Le(e){return null!=e?(Ne(this,e),n.updateOffset(this,!0),this):q(this,"Month")}var Fe=pe;var Ue=pe;function He(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=l([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=ye(r[t]),i[t]=ye(i[t]),a[t]=ye(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function qe(e){var t,n=e._a;return n&&-2===u(e).overflow&&(t=n[ke]<0||n[ke]>11?ke:n[De]<1||n[De]>Ie(n[Ce],n[ke])?De:n[Se]<0||n[Se]>24||24===n[Se]&&(0!==n[Te]||0!==n[Ee]||0!==n[Oe])?Se:n[Te]<0||n[Te]>59?Te:n[Ee]<0||n[Ee]>59?Ee:n[Oe]<0||n[Oe]>999?Oe:-1,u(e)._overflowDayOfYear&&(t<Ce||t>De)&&(t=De),u(e)._overflowWeeks&&-1===t&&(t=Me),u(e)._overflowWeekday&&-1===t&&(t=Ae),u(e).overflow=t),e}var Be=/^\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)?)?/,Ve=/^\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)?)?/,Ye=/Z|[+-]\d\d(?::?\d\d)?/,We=[["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}/]],ze=[["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/]],Ge=/^\/?Date\((\-?\d+)/i;function Xe(e){var t,n,r,i,a,o,s=e._i,l=Be.exec(s)||Ve.exec(s);if(l){for(u(e).iso=!0,t=0,n=We.length;t<n;t++)if(We[t][1].exec(l[1])){i=We[t][0],r=!1!==We[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=ze.length;t<n;t++)if(ze[t][1].exec(l[3])){a=(l[2]||" ")+ze[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Ye.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),ot(e)}else e._isValid=!1}function Je(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Qe(e){return Ze(e)?366:365}function Ze(e){return e%4==0&&e%100!=0||e%400==0}n.createFromInputFallback=x("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),J("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),J(0,["YY",2],0,function(){return this.year()%100}),J(0,["YYYY",4],0,"year"),J(0,["YYYYY",5],0,"year"),J(0,["YYYYYY",6,!0],0,"year"),L("year","y"),ge("Y",fe),ge("YY",ie,ee),ge("YYYY",le,
vendor: 5,832 bytes, line 9
9ne),ge("YYYYY",ue,re),ge("YYYYYY",ue,re),be(["YYYYY","YYYYYY"],Ce),be("YYYY",function(e,t){t[Ce]=2===e.length?n.parseTwoDigitYear(e):$(e)}),be("YY",function(e,t){t[Ce]=n.parseTwoDigitYear(e)}),be("Y",function(e,t){t[Ce]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return $(e)+($(e)>68?1900:2e3)};var Ke=H("FullYear",!0);function et(e,t,n){var r=7+t-n;return-((7+Je(e,0,r).getUTCDay()-t)%7)+r-1}function tt(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+et(e,r,i);return s<=0?o=Qe(a=e-1)+s:s>Qe(e)?(a=e+1,o=s-Qe(e)):(a=e,o=s),{year:a,dayOfYear:o}}function nt(e,t,n){var r,i,a=et(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+rt(i=e.year()-1,t,n):o>rt(e.year(),t,n)?(r=o-rt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function rt(e,t,n){var r=et(e,t,n),i=et(e+1,t,n);return(Qe(e)-r+i)/7}function it(e,t,n){return null!=e?e:null!=t?t:n}function at(e){var t,r,i,a,o=[];if(!e._d){for(i=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[De]&&null==e._a[ke]&&function(e){var t,n,r,i,a,o,s,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,o=4,n=it(t.GG,e._a[Ce],nt(ut(),1,4).year),r=it(t.W,1),((i=it(t.E,1))<1||i>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,n=it(t.gg,e._a[Ce],nt(ut(),a,o).year),r=it(t.w,1),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a);r<1||r>rt(n,a,o)?u(e)._overflowWeeks=!0:null!=l?u(e)._overflowWeekday=!0:(s=tt(n,r,i,a,o),e._a[Ce]=s.year,e._dayOfYear=s.dayOfYear)}(e),e._dayOfYear&&(a=it(e._a[Ce],i[Ce]),e._dayOfYear>Qe(a)&&(u(e)._overflowDayOfYear=!0),r=Je(a,0,e._dayOfYear),e._a[ke]=r.getUTCMonth(),e._a[De]=r.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Se]&&0===e._a[Te]&&0===e._a[Ee]&&0===e._a[Oe]&&(e._nextDay=!0,e._a[Se]=0),e._d=(e._useUTC?Je:function(e,t,n,r,i,a,o){var s=new Date(e,t,n,r,i,a,o);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Se]=24)}}function ot(e){if(e._f!==n.ISO_8601){e._a=[],u(e).empty=!0;var t,r,i,a,o,s=""+e._i,l=s.length,c=0;for(i=Z(e._f,e._locale).match(W)||[],t=0;t<i.length;t++)a=i[t],(r=(s.match(ve(a,e))||[])[0])&&((o=s.substr(0,s.indexOf(r))).length>0&&u(e).unusedInput.push(o),s=s.slice(s.indexOf(r)+r.length),c+=r.length),X[a]?(r?u(e).empty=!1:u(e).unusedTokens.push(a),xe(a,r,e)):e._strict&&!r&&u(e).unusedTokens.push(a);u(e).charsLeftOver=l-c,s.length>0&&u(e).unusedInput.push(s),!0===u(e).bigHour&&e._a[Se]<=12&&e._a[Se]>0&&(u(e).bigHour=void 0),u(e).parsedDateParts=e._a.slice(0),u(e).meridiem=e._meridiem,e._a[Se]=function(e,t,n){var r;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[Se],e._meridiem),at(e),qe(e)}else Xe(e)}function st(e){var t=e._i,o=e._f;return e._locale=e._locale||j(e._l),null===t||void 0===o&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new g(qe(t)):(r(o)?function(e){var t,n,r,i,a;if(0===e._f.length)return u(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)a=0,t=p({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],ot(t),c(t)&&(a+=u(t).charsLeftOver,a+=10*u(t).unusedTokens.length,u(t).score=a,(null==r||a<r)&&(r=a,n=t));s(e,n||t)}(e):o?ot(e):i(t)?e._d=t:function(e){var t=e._i;void 0===t?e._d=new Date(n.now()):i(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=Ge.exec(e._i);null===t?(Xe(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e))):e._d=new Date(+t[1])}(e):r(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),at(e)):"object"==typeof t?function(e){if(!e._d){var t=U(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),at(e)}}(e):"number"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}(e),c(e)||(e._d=null),e))}function lt(e,t,n,r,i){var a,o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(a=new g(qe(st(o))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function ut(e,t,n,r){return lt(e,t,n,r,!1)}n.ISO_8601=function(){};var ct=x("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=ut.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()}),ft=x("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=ut.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()});function dt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return ut();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function ht(e){var t=U(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=j(),this._bubble()}function pt(e){return e instanceof ht}function mt(e,t){J(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+Y(~~(e/60),2)+t+Y(~~e%60,2)})}mt("Z",":"),mt("ZZ",""),ge("Z",he),ge("ZZ",he),be(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=vt(he,e)});var gt=/([\+\-]|\d\d)/gi;function vt(e,t){var n=(t||"").match(e)||[],r=((n[n.length-1]||[])+"").match(gt)||["-",0,0],i=60*r[1]+$(r[2]);return"+"===r[0]?i:-i}function yt(e,t){var r,a;return t._isUTC?(r=t.clone(),a=(v(e)||i(e)?e.valueOf():ut(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+a),n.updateOffset(r,!1),r):ut(e).local()}
vendor: 9,540 bytes, line 9
9function $t(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function bt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var wt=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,xt=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;function _t(e,t){var n,r,i,a=e,s=null;return pt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(a={},t?a[t]=e:a.milliseconds=e):(s=wt.exec(e))?(n="-"===s[1]?-1:1,a={y:0,d:$(s[De])*n,h:$(s[Se])*n,m:$(s[Te])*n,s:$(s[Ee])*n,ms:$(s[Oe])*n}):(s=xt.exec(e))?(n="-"===s[1]?-1:1,a={y:Ct(s[2],n),M:Ct(s[3],n),w:Ct(s[4],n),d:Ct(s[5],n),h:Ct(s[6],n),m:Ct(s[7],n),s:Ct(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=yt(t,e),e.isBefore(t)?n=kt(e,t):((n=kt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(ut(a.from),ut(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new ht(a),pt(e)&&o(e,"_locale")&&(r._locale=e._locale),r}function Ct(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function kt(e,t){var n={milliseconds:0,months:0};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 Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function St(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),i=n,n=r,r=i),Tt(this,_t(n="string"==typeof n?+n:n,r),e),this}}function Tt(e,t,r,i){var a=t._milliseconds,o=Dt(t._days),s=Dt(t._months);e.isValid()&&(i=null==i||i,a&&e._d.setTime(e._d.valueOf()+a*r),o&&B(e,"Date",q(e,"Date")+o*r),s&&Ne(e,q(e,"Month")+s*r),i&&n.updateOffset(e,o||s))}_t.fn=ht.prototype;var Et=St(1,"add"),Ot=St(-1,"subtract");function Mt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=j(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var At=x("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 It(){return this._locale}function Pt(e,t){J(0,[e,e.length],0,t)}function Rt(e,t,n,r,i){var a;return null==e?nt(this,r,i).year:(t>(a=rt(e,r,i))&&(t=a),function(e,t,n,r,i){var a=tt(e,t,n,r,i),o=Je(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,n,r,i))}J(0,["gg",2],0,function(){return this.weekYear()%100}),J(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Pt("gggg","weekYear"),Pt("ggggg","weekYear"),Pt("GGGG","isoWeekYear"),Pt("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),ge("G",fe),ge("g",fe),ge("GG",ie,ee),ge("gg",ie,ee),ge("GGGG",le,ne),ge("gggg",le,ne),ge("GGGGG",ue,re),ge("ggggg",ue,re),we(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=$(e)}),we(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),J("Q",0,"Qo","quarter"),L("quarter","Q"),ge("Q",K),be("Q",function(e,t){t[ke]=3*($(e)-1)}),J("w",["ww",2],"wo","week"),J("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),ge("w",ie),ge("ww",ie,ee),ge("W",ie),ge("WW",ie,ee),we(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=$(e)});J("D",["DD",2],"Do","date"),L("date","D"),ge("D",ie),ge("DD",ie,ee),ge("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),be(["D","DD"],De),be("Do",function(e,t){t[De]=$(e.match(ie)[0])});var jt=H("Date",!0);J("d",0,"do","day"),J("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),J("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),J("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),J("e",0,0,"weekday"),J("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),ge("d",ie),ge("e",ie),ge("E",ie),ge("dd",function(e,t){return t.weekdaysMinRegex(e)}),ge("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ge("dddd",function(e,t){return t.weekdaysRegex(e)}),we(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:u(n).invalidWeekday=e}),we(["d","e","E"],function(e,t,n,r){t[r]=$(e)});var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Lt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Ft="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Ut=pe;var Ht=pe;var qt=pe;function Bt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],u=[],c=[];for(t=0;t<7;t++)n=l([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),u.push(a),c.push(r),c.push(i),c.push(a);for(o.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;t<7;t++)s[t]=ye(s[t]),u[t]=ye(u[t]),c[t]=ye(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Vt(){return this.hours()%12||12}function Yt(e,t){J(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Wt(e,t){return t._meridiemParse}J("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),ge("DDD",se),ge("DDDD",te),be(["DDD","DDDD"],function(e,t,n){n._dayOfYear=$(e)}),J("H",["HH",2],0,"hour"),J("h",["hh",2],0,Vt),J("k",["kk",2],0,function(){return this.hours()||24}),J("hmm",0,0,function(){return""+Vt.apply(this)+Y(this.minutes(),2)}),J("hmmss",0,0,function(){return""+Vt.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),J("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),J("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),Yt("a",!0),Yt("A",!1),L("hour","h"),ge("a",Wt),ge("A",Wt),ge("H",ie),ge("h",ie),ge("HH",ie,ee),ge("hh",ie,ee),ge("hmm",ae),ge("hmmss",oe),ge("Hmm",ae),ge("Hmmss",oe),be(["H","HH"],Se),be(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),be(["h","hh"],function(e,t,n){t[Se]=$(e),u(n).bigHour=!0}),be("hmm",function(e,t,n){var r=e.length-2;t[Se]=$(e.substr(0,r)),t[Te]=$(e.substr(r)),u(n).bigHour=!0}),be("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=$(e.substr(0,r)),t[Te]=$(e.substr(r,2)),t[Ee]=$(e.substr(i)),u(n).bigHour=!0}),be("Hmm",function(e,t,n){var r=e.length-2;t[Se]=$(e.substr(0,r)),t[Te]=$(e.substr(r))}),be("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Se]=$(e.substr(0,r)),t[Te]=$(e.substr(r,2)),t[Ee]=$(e.substr(i))});var zt=H("Hours",!0);J("m",["mm",2],0,"minute"),L("minute","m"),ge("m",ie),ge("mm",ie,ee),be(["m","mm"],Te);var Gt=H("Minutes",!1);J("s",["ss",2],0,"second"),L("second","s"),ge("s",ie),ge("ss",ie,ee),be(["s","ss"],Ee);var Xt,Jt=H("Seconds",!1);for(J("S",0,0,function(){return~~(this.millisecond()/100)}),J(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),J(0,["SSS",3],0,"millisecond"),J(0,["SSSS",4],0,function(){return 10*this.millisecond()}),J(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),J(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),J(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),J(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),J(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),ge("S",se,K),ge("SS",se,ee),ge("SSS",se,te),Xt="SSSS";Xt.length<=9;Xt+="S")ge(Xt,ce);function Qt(e,t){t[Oe]=$(1e3*("0."+e))}for(Xt="S";Xt.length<=9;Xt+="S")be(Xt,Qt);var Zt=H("Milliseconds",!1);J("z",0,0,"zoneAbbr"),J("zz",0,0,"zoneName");var Kt=g.prototype;Kt.add=Et,Kt.calendar=function(e,t){var n=e||ut(),r=yt(n,this).startOf("day"),i=this.diff(r,"days",!0),a=i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse",o=t&&(D(t[a])?t[a]():t[a]);return this.format(o||this.localeData().calendar(a,this,ut(n)))},Kt.clone=function(){return new g(this)},Kt.diff=function(e,t,n){var r,i,a,o;return this.isValid()&&(r=yt(e,this)).isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),"year"===(t=F(t))||"month"===t||"quarter"===t?(s=this,l=r,f=12*(l.year()-s.year())+(l.month()-s.month()),d=s.clone().add(f,"months"),l-d<0?(u=s.clone().add(f-1,"months"),c=(l-d)/(d-u)):(u=s.clone().add(f+1,"months"),c=(l-d)/(u-d)),o=-(f+c)||0,"quarter"===t?o/=3:"year"===t&&(o/=12)):(a=this-r,o="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-i)/864e5:"week"===t?(a-i)/6048e5:a),n?o:y(o)):NaN;var s,l,u,c,f,d},Kt.endOf=function(e){return void 0===(e=F(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Kt.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=Q(this,e);return this.localeData().postformat(t)},Kt.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||ut(e).isValid())?_t({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Kt.fromNow=function(e){return this.from(ut(),e)},Kt.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||ut(e).isValid())?_t({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Kt.toNow=function(e){return this.to(ut(),e)}
vendor: 12,033 bytes, line 9
9,Kt.get=V,Kt.invalidAt=function(){return u(this).overflow},Kt.isAfter=function(e,t){var n=v(e)?e:ut(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(d(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Kt.isBefore=function(e,t){var n=v(e)?e:ut(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=F(d(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Kt.isBetween=function(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},Kt.isSame=function(e,t){var n,r=v(e)?e:ut(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=F(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Kt.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Kt.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Kt.isValid=function(){return c(this)},Kt.lang=At,Kt.locale=Mt,Kt.localeData=It,Kt.max=ft,Kt.min=ct,Kt.parsingFlags=function(){return s({},u(this))},Kt.set=V,Kt.startOf=function(e){switch(e=F(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Kt.subtract=Ot,Kt.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Kt.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Kt.toDate=function(){return this._offset?new Date(this.valueOf()):this._d},Kt.toISOString=function(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?D(Date.prototype.toISOString)?this.toDate().toISOString():Q(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):Q(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Kt.toJSON=function(){return this.isValid()?this.toISOString():null},Kt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Kt.unix=function(){return Math.floor(this.valueOf()/1e3)},Kt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Kt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Kt.year=Ke,Kt.isLeapYear=function(){return Ze(this.year())},Kt.weekYear=function(e){return Rt.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Kt.isoWeekYear=function(e){return Rt.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Kt.quarter=Kt.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Kt.month=Le,Kt.daysInMonth=function(){return Ie(this.year(),this.month())},Kt.week=Kt.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Kt.isoWeek=Kt.isoWeeks=function(e){var t=nt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Kt.weeksInYear=function(){var e=this.localeData()._week;return rt(this.year(),e.dow,e.doy)},Kt.isoWeeksInYear=function(){return rt(this.year(),1,4)},Kt.date=jt,Kt.day=Kt.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Kt.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Kt.isoWeekday=function(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN},Kt.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")},Kt.hour=Kt.hours=zt,Kt.minute=Kt.minutes=Gt,Kt.second=Kt.seconds=Jt,Kt.millisecond=Kt.milliseconds=Zt,Kt.utcOffset=function(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=vt(he,e):Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(r=$t(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Tt(this,_t(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:$t(this):null!=e?this:NaN},Kt.utc=function(e){return this.utcOffset(0,e)},Kt.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract($t(this),"m")),this},Kt.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(vt(de,this._i)),this},Kt.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ut(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Kt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Kt.isDSTShifted=function(){if(!d(this._isDSTShifted))return this._isDSTShifted;var e={};if(p(e,this),(e=st(e))._a){var t=e._isUTC?l(e._a):ut(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted},Kt.isLocal=function(){return!!this.isValid()&&!this._isUTC},Kt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Kt.isUtc=bt,Kt.isUTC=bt,Kt.zoneAbbr=function(){return this._isUTC?"UTC":""},Kt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Kt.dates=x("dates accessor is deprecated. Use date instead.",jt),Kt.months=x("months accessor is deprecated. Use month instead",Le),Kt.years=x("years accessor is deprecated. Use year instead",Ke),Kt.zone=x("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()});var en=Kt;function tn(e){return e}var nn=E.prototype;function rn(e,t,n,r){var i=j(),a=l().set(r,t);return i[n](a,e)}function an(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return rn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=rn(e,r,n,"month");return i}function on(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i,a=j(),o=e?a._week.dow:0;if(null!=n)return rn(t,(n+o)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=rn(t,(i+o)%7,r,"day");return s}nn._calendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},nn.calendar=function(e,t,n){var r=this._calendar[e];return D(r)?r.call(t,n):r},nn._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"},nn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},nn._invalidDate="Invalid date",nn.invalidDate=function(){return this._invalidDate},nn._ordinal="%d",nn.ordinal=function(e){return this._ordinal.replace("%d",e)},nn._ordinalParse=/\d{1,2}/,nn.preparse=tn,nn.postformat=tn,nn._relativeTime={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},nn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)},nn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},nn.set=function(e){var t,n;for(n in e)D(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},nn.months=function(e,t){return r(this._months)?this._months[e.month()]:this._months[Pe.test(t)?"format":"standalone"][e.month()]},nn._months=Re,nn.monthsShort=function(e,t){return r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Pe.test(t)?"format":"standalone"][e.month()]},nn._monthsShort=je,nn.monthsParse=function(e,t,n){var r,i,a;if(this._monthsParseExact)return function(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,o))?i:null:-1!==(i=_e.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,o))?i:-1!==(i=_e.call(this._longMonthsParse,o))?i:null:-1!==(i=_e.call(this._longMonthsParse,o))?i:-1!==(i=_e.call(this._shortMonthsParse,o))?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]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.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}},nn._monthsRegex=Ue,nn.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex},nn._monthsShortRegex=Fe,nn.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex},nn.week=function(e){return nt(e,this._week.dow,this._week.doy).week},nn._week={dow:0,doy:6},nn.firstDayOfYear=function(){return this._week.doy},nn.firstDayOfWeek=function(){return this._week.dow},nn.weekdays=function(e,t){return r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]},nn._weekdays=Nt,nn.weekdaysMin=function(e){return this._weekdaysMin[e.day()]},nn._weekdaysMin=Ft,nn.weekdaysShort=function(e){return this._weekdaysShort[e.day()]},nn._weekdaysShort=Lt,nn.weekdaysParse=function(e,t,n){var r,i,a;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,o))?i:-1!==(i=_e.call(this._shortWeekdaysParse,o))?i:-1!==(i=_e.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,o))?i:-1!==(i=_e.call(this._weekdaysParse,o))?i:-1!==(i=_e.call(this._minWeekdaysParse,o))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,o))?i:-1!==(i=_e.call(this._weekdaysParse,o))?i:-1!==(i=_e.call(this._shortWeekdaysParse,o))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;
9r++){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]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.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}},nn._weekdaysRegex=Ut,nn.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Bt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex},nn._weekdaysShortRegex=Ht,nn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Bt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex},nn._weekdaysMinRegex=qt,nn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Bt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex},nn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},nn._meridiemParse=/[ap]\.?m?\.?/i,nn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},P("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===$(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",P),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",j);var sn=Math.abs;function ln(e,t,n,r){var i=_t(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function un(e){return e<0?Math.floor(e):Math.ceil(e)}function cn(e){return 4800*e/146097}function fn(e){return 146097*e/4800}function dn(e){return function(){return this.as(e)}}var hn=dn("ms"),pn=dn("s"),mn=dn("m"),gn=dn("h"),vn=dn("d"),yn=dn("w"),$n=dn("M"),bn=dn("y");function wn(e){return function(){return this._data[e]}}var xn=wn("milliseconds"),_n=wn("seconds"),Cn=wn("minutes"),kn=wn("hours"),Dn=wn("days"),Sn=wn("months"),Tn=wn("years");var En=Math.round,On={s:45,m:45,h:22,d:26,M:11};var Mn=Math.abs;function An(){var e,t,n=Mn(this._milliseconds)/1e3,r=Mn(this._days),i=Mn(this._months);t=y((e=y(n/60))/60),n%=60,e%=60;var a=y(i/12),o=i%=12,s=r,l=t,u=e,c=n,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(s?s+"D":"")+(l||u||c?"T":"")+(l?l+"H":"")+(u?u+"M":"")+(c?c+"S":""):"P0D"}var In=ht.prototype;return In.abs=function(){var e=this._data;return this._milliseconds=sn(this._milliseconds),this._days=sn(this._days),this._months=sn(this._months),e.milliseconds=sn(e.milliseconds),e.seconds=sn(e.seconds),e.minutes=sn(e.minutes),e.hours=sn(e.hours),e.months=sn(e.months),e.years=sn(e.years),this},In.add=function(e,t){return ln(this,e,t,1)},In.subtract=function(e,t){return ln(this,e,t,-1)},In.as=function(e){var t,n,r=this._milliseconds;if("month"===(e=F(e))||"year"===e)return t=this._days+r/864e5,n=this._months+cn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(fn(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)}},In.asMilliseconds=hn,In.asSeconds=pn,In.asMinutes=mn,In.asHours=gn,In.asDays=vn,In.asWeeks=yn,In.asMonths=$n,In.asYears=bn,In.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12)},In._bubble=function(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*un(fn(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=y(a/1e3),l.seconds=e%60,t=y(e/60),l.minutes=t%60,n=y(t/60),l.hours=n%24,s+=i=y(cn(o+=y(n/24))),o-=un(fn(i)),r=y(s/12),s%=12,l.days=o,l.months=s,l.years=r,this},In.get=function(e){return this[(e=F(e))+"s"]()},In.milliseconds=xn,In.seconds=_n,In.minutes=Cn,In.hours=kn,In.days=Dn,In.weeks=function(){return y(this.days()/7)},In.months=Sn,In.years=Tn,In.humanize=function(e){var t=this.localeData(),n=function(e,t,n){var r=_t(e).abs(),i=En(r.as("s")),a=En(r.as("m")),o=En(r.as("h")),s=En(r.as("d")),l=En(r.as("M")),u=En(r.as("y")),c=i<On.s&&["s",i]||a<=1&&["m"]||a<On.m&&["mm",a]||o<=1&&["h"]||o<On.h&&["hh",o]||s<=1&&["d"]||s<On.d&&["dd",s]||l<=1&&["M"]||l<On.M&&["MM",l]||u<=1&&["y"]||["yy",u];return c[2]=t,c[3]=+e>0,c[4]=n,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},In.toISOString=An,In.toString=An,In.toJSON=An,In.locale=Mt,In.localeData=It,In.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",An),In.lang=At,J("X",0,0,"unix"),J("x",0,0,"valueOf"),ge("x",fe),ge("X",/[+-]?\d+(\.\d{1,3})?/),be("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),be("x",function(e,t,n){n._d=new Date($(e))}),n.version="2.13.0",e=ut,n.fn=en,n.min=function(){return dt("isBefore",[].slice.call(arguments,0))},n.max=function(){return dt("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=l,n.unix=function(e){return ut(1e3*e)},n.months=function(e,t){return an(e,t,"months")},n.isDate=i,n.locale=P,n.invalid=f,n.duration=_t,n.isMoment=v,n.weekdays=function(e,t,n){return on(e,t,n,"weekdays")},n.parseZone=function(){return ut.apply(null,arguments).parseZone()},n.localeData=j,n.isDuration=pt,n.monthsShort=function(e,t){return an(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return on(e,t,n,"weekdaysMin")},n.defineLocale=R,n.updateLocale=function(e,t){var n;return null!=t?(null!=M[e]&&(t=T(M[e]._config,t)),(n=new E(t)).parentLocale=M[e],M[e]=n,P(e)):null!=M[e]&&(null!=M[e].parentLocale?M[e]=M[e].parentLocale:null!=M[e]&&delete M[e]),M[e]},n.locales=function(){return _(M)},n.weekdaysShort=function(e,t,n){return on(e,t,n,"weekdaysShort")},n.normalizeUnits=F,n.relativeTimeThreshold=function(e,t){return void 0!==On[e]&&(void 0===t?On[e]:(On[e]=t,!0))},n.prototype=en,n},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(),function(){!function(e,t){if("function"==typeof define&&define.amd)define(["moment","jquery"],function(e,n){return n.fn||(n.fn={}),"function"!=typeof e&&e.default&&(e=e.default),t(e,n)});else if("object"==typeof module&&module.exports){var n="undefined"!=typeof window?window.jQuery:void 0;
9n||(n=require("jquery")).fn||(n.fn={});var r="undefined"!=typeof window&&void 0!==window.moment?window.moment:require("moment");module.exports=t(r,n)}else e.daterangepicker=t(e.moment,e.jQuery)}(this,function(e,t){var n=function(n,r,i){if(this.parentEl="body",this.element=t(n),this.startDate=e().startOf("day"),this.endDate=e().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=e().subtract(100,"year").format("YYYY"),this.maxYear=e().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:e.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:e.weekdaysMin(),monthNames:e.monthsShort(),firstDay:e.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof r&&null!==r||(r={}),"string"==typeof(r=t.extend(this.element.data(),r)).template||r.template instanceof t||(r.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=r.parentEl&&t(r.parentEl).length?t(r.parentEl):t(this.parentEl),this.container=t(r.template).appendTo(this.parentEl),"object"==typeof r.locale&&("string"==typeof r.locale.direction&&(this.locale.direction=r.locale.direction),"string"==typeof r.locale.format&&(this.locale.format=r.locale.format),"string"==typeof r.locale.separator&&(this.locale.separator=r.locale.separator),"object"==typeof r.locale.daysOfWeek&&(this.locale.daysOfWeek=r.locale.daysOfWeek.slice()),"object"==typeof r.locale.monthNames&&(this.locale.monthNames=r.locale.monthNames.slice()),"number"==typeof r.locale.firstDay&&(this.locale.firstDay=r.locale.firstDay),"string"==typeof r.locale.applyLabel&&(this.locale.applyLabel=r.locale.applyLabel),"string"==typeof r.locale.cancelLabel&&(this.locale.cancelLabel=r.locale.cancelLabel),"string"==typeof r.locale.weekLabel&&(this.locale.weekLabel=r.locale.weekLabel),"string"==typeof r.locale.customRangeLabel)){(h=document.createElement("textarea")).innerHTML=r.locale.customRangeLabel;var a=h.value;this.locale.customRangeLabel=a}if(this.container.addClass(this.locale.direction),"string"==typeof r.startDate&&(this.startDate=e(r.startDate,this.locale.format)),"string"==typeof r.endDate&&(this.endDate=e(r.endDate,this.locale.format)),"string"==typeof r.minDate&&(this.minDate=e(r.minDate,this.locale.format)),"string"==typeof r.maxDate&&(this.maxDate=e(r.maxDate,this.locale.format)),"object"==typeof r.startDate&&(this.startDate=e(r.startDate)),"object"==typeof r.endDate&&(this.endDate=e(r.endDate)),"object"==typeof r.minDate&&(this.minDate=e(r.minDate)),"object"==typeof r.maxDate&&(this.maxDate=e(r.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof r.applyButtonClasses&&(this.applyButtonClasses=r.applyButtonClasses),"string"==typeof r.applyClass&&(this.applyButtonClasses=r.applyClass),"string"==typeof r.cancelButtonClasses&&(this.cancelButtonClasses=r.cancelButtonClasse
9s),"string"==typeof r.cancelClass&&(this.cancelButtonClasses=r.cancelClass),"object"==typeof r.maxSpan&&(this.maxSpan=r.maxSpan),"object"==typeof r.dateLimit&&(this.maxSpan=r.dateLimit),"string"==typeof r.opens&&(this.opens=r.opens),"string"==typeof r.drops&&(this.drops=r.drops),"boolean"==typeof r.showWeekNumbers&&(this.showWeekNumbers=r.showWeekNumbers),"boolean"==typeof r.showISOWeekNumbers&&(this.showISOWeekNumbers=r.showISOWeekNumbers),"string"==typeof r.buttonClasses&&(this.buttonClasses=r.buttonClasses),"object"==typeof r.buttonClasses&&(this.buttonClasses=r.buttonClasses.join(" ")),"boolean"==typeof r.showDropdowns&&(this.showDropdowns=r.showDropdowns),"number"==typeof r.minYear&&(this.minYear=r.minYear),"number"==typeof r.maxYear&&(this.maxYear=r.maxYear),"boolean"==typeof r.showCustomRangeLabel&&(this.showCustomRangeLabel=r.showCustomRangeLabel),"boolean"==typeof r.singleDatePicker&&(this.singleDatePicker=r.singleDatePicker,this.singleDatePicker&&(this.endDate=this.startDate.clone())),"boolean"==typeof r.timePicker&&(this.timePicker=r.timePicker),"boolean"==typeof r.timePickerSeconds&&(this.timePickerSeconds=r.timePickerSeconds),"number"==typeof r.timePickerIncrement&&(this.timePickerIncrement=r.timePickerIncrement),"boolean"==typeof r.timePicker24Hour&&(this.timePicker24Hour=r.timePicker24Hour),"boolean"==typeof r.autoApply&&(this.autoApply=r.autoApply),"boolean"==typeof r.autoUpdateInput&&(this.autoUpdateInput=r.autoUpdateInput),"boolean"==typeof r.linkedCalendars&&(this.linkedCalendars=r.linkedCalendars),"function"==typeof r.isInvalidDate&&(this.isInvalidDate=r.isInvalidDate),"function"==typeof r.isCustomDate&&(this.isCustomDate=r.isCustomDate),"boolean"==typeof r.alwaysShowCalendars&&(this.alwaysShowCalendars=r.alwaysShowCalendars),0!=this.locale.firstDay)for(var o=this.locale.firstDay;o>0;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),o--;var s,l,u;if(void 0===r.startDate&&void 0===r.endDate&&t(this.element).is(":text")){var c=t(this.element).val(),f=c.split(this.locale.separator);s=l=null,2==f.length?(s=e(f[0],this.locale.format),l=e(f[1],this.locale.format)):this.singleDatePicker&&""!==c&&(s=e(c,this.locale.format),l=e(c,this.locale.format)),null!==s&&null!==l&&(this.setStartDate(s),this.setEndDate(l))}if("object"==typeof r.ranges){for(u in r.ranges){s="string"==typeof r.ranges[u][0]?e(r.ranges[u][0],this.locale.format):e(r.ranges[u][0]),l="string"==typeof r.ranges[u][1]?e(r.ranges[u][1],this.locale.format):e(r.ranges[u][1]),this.minDate&&s.isBefore(this.minDate)&&(s=this.minDate.clone());var d=this.maxDate;if(this.maxSpan&&d&&s.clone().add(this.maxSpan).isAfter(d)&&(d=s.clone().add(this.maxSpan)),d&&l.isAfter(d)&&(l=d.clone()),!(this.minDate&&l.isBefore(this.minDate,this.timepicker?"minute":"day")||d&&s.isAfter(d,this.timepicker?"minute":"day"))){var h;(h=document.createElement("textarea")).innerHTML=u;a=h.value;this.ranges[a]=[s,l]}}var p="<ul>";for(u in this.ranges)p+='<li data-range-key="'+u+'">'+u+"</li>";this.showCustomRangeLabel&&(p+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),p+="</ul>",this.container.find(".ranges").prepend(p)}"function"==typeof i&&(this.callback=i),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),"object"==typeof r.ranges&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),this.timePicker||this.container.addClass("auto-apply")),(void 0===r.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasse
9s),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",t.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",t.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",t.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",t.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",t.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",t.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",t.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",t.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",t.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",t.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":t.proxy(this.show,this),"focus.daterangepicker":t.proxy(this.show,this),"keyup.daterangepicker":t.proxy(this.elementChanged,this),"keydown.daterangepicker":t.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",t.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",t.proxy(this.toggle,this))),this.updateElement()};return n.prototype={constructor:n,setStartDate:function(t){"string"==typeof t&&(this.startDate=e(t,this.locale.format)),"object"==typeof t&&(this.startDate=e(t)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement)),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(t){"string"==typeof t&&(this.endDate=e(t,this.locale.format)),"object"==typeof t&&(this.endDate=e(t)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").removeAttr("disabled").removeClass("disabled"):this.container.find(".right .calendar-time select").attr("disabled","disabled").addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){if(this.timePicker){var e,t,n,r;if(this.endDate){if(e=parseInt(this.container.find(".left .hourselect").val(),10),t=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(t)&&(t=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,!this.timePicker24Hour)"PM"===(r=this.container.find(".left .ampmselect").val())&&e<12&&(e+=12),"AM"===r&&12===e&&(e=0)}else if(e=parseInt(this.container.find(".right .hourselect").val(),10),t=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(t)&&(t=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),n=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,!this.timePicker24Hour)"PM"===(r=this.container.find(".right .ampmselect").val())&&e<12&&(e+=12),"AM"===r&&12===e&&(e=0);this.leftCalendar.month.hour(e).minute(t).second(n),this.rightCalendar.month.hour(e).minute(t).second(n)}this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()}
9,renderCalendar:function(n){var r,i=(r="left"==n?this.leftCalendar:this.rightCalendar).month.month(),a=r.month.year(),o=r.month.hour(),s=r.month.minute(),l=r.month.second(),u=e([a,i]).daysInMonth(),c=e([a,i,1]),f=e([a,i,u]),d=e(c).subtract(1,"month").month(),h=e(c).subtract(1,"month").year(),p=e([h,d]).daysInMonth(),m=c.day();(r=[]).firstDay=c,r.lastDay=f;for(var g=0;g<6;g++)r[g]=[];var v=p-m+this.locale.firstDay+1;v>p&&(v-=7),m==this.locale.firstDay&&(v=p-6);for(var y=e([h,d,v,12,s,l]),$=(g=0,0),b=0;g<42;g++,$++,y=e(y).add(24,"hour"))g>0&&$%7==0&&($=0,b++),r[b][$]=y.clone().hour(o).minute(s).second(l),y.hour(12),this.minDate&&r[b][$].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&r[b][$].isBefore(this.minDate)&&"left"==n&&(r[b][$]=this.minDate.clone()),this.maxDate&&r[b][$].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&r[b][$].isAfter(this.maxDate)&&"right"==n&&(r[b][$]=this.maxDate.clone());"left"==n?this.leftCalendar.calendar=r:this.rightCalendar.calendar=r;var w="left"==n?this.minDate:this.startDate,x=this.maxDate,_=("left"==n?this.startDate:this.endDate,this.locale.direction,'<table class="table-condensed">');_+="<thead>",_+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(_+="<th></th>"),w&&!w.isBefore(r.firstDay)||this.linkedCalendars&&"left"!=n?_+="<th></th>":_+='<th class="prev available"><span></span></th>';var C=this.locale.monthNames[r[1][1].month()]+r[1][1].format(" YYYY");if(this.showDropdowns){for(var k=r[1][1].month(),D=r[1][1].year(),S=x&&x.year()||this.maxYear,T=w&&w.year()||this.minYear,E=D==T,O=D==S,M='<select class="monthselect">',A=0;A<12;A++)(!E||w&&A>=w.month())&&(!O||x&&A<=x.month())?M+="<option value='"+A+"'"+(A===k?" selected='selected'":"")+">"+this.locale.monthNames[A]+"</option>":M+="<option value='"+A+"'"+(A===k?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[A]+"</option>";M+="</select>";for(var I='<select class="yearselect">',P=T;P<=S;P++)I+='<option value="'+P+'"'+(P===D?' selected="selected"':"")+">"+P+"</option>";C=M+(I+="</select>")}if(_+='<th colspan="5" class="month">'+C+"</th>",x&&!x.isAfter(r.lastDay)||this.linkedCalendars&&"right"!=n&&!this.singleDatePicker?_+="<th></th>":_+='<th class="next available"><span></span></th>',_+="</tr>",_+="<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(_+='<th class="week">'+this.locale.weekLabel+"</th>"),t.each(this.locale.daysOfWeek,function(e,t){_+="<th>"+t+"</th>"}),_+="</tr>",_+="</thead>",_+="<tbody>",null==this.endDate&&this.maxSpan){var R=this.startDate.clone().add(this.maxSpan).endOf("day");x&&!R.isBefore(x)||(x=R)}for(b=0;b<6;b++){_+="<tr>",this.showWeekNumbers?_+='<td class="week">'+r[b][0].week()+"</td>":this.showISOWeekNumbers&&(_+='<td class="week">'+r[b][0].isoWeek()+"</td>");for($=0;$<7;$++){var j=[];r[b][$].isSame(new Date,"day")&&j.push("today"),r[b][$].isoWeekday()>5&&j.push("weekend"),r[b][$].month()!=r[1][1].month()&&j.push("off","ends"),this.minDate&&r[b][$].isBefore(this.minDate,"day")&&j.push("off","disabled"),x&&r[b][$].isAfter(x,"day")&&j.push("off","disabled"),this.isInvalidDate(r[b][$])&&j.push("off","disabled"),r[b][$].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&j.push("active","start-date"),null!=this.endDate&&r[b][$].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&j.push("active","end-date"),null!=this.endDate&&r[b][$]>this.startDate&&r[b][$]<this.endDate&&j.push("in-range");var N=this.isCustomDate(r[b][$]);!1!==N&&("string"==typeof N?j.push(N):Array.prototype.push.apply(j,N));var L="",F=!1;for(g=0;g<j.length;g++)L+=j[g]+" ","disabled"==j[g]&&(F=!0);F||(L+="available"),_+='<td class="'+L.replace(/^\s+|\s+$/g,"")+'" data-title="r'+b+"c"+$+'">'+r[b][$].date()+"</td>"}_+="</tr>"}_+="</tbody>",_+="</table>",this.container.find(".drp-calendar."+n+" .calendar-table").html(_)},renderTimePicker:function(e){if("right"!=e||this.endDate){var t,n,r,i=this.maxDate;if(!this.maxSpan||this.maxDate&&!this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate)||(i=this.startDate.clone().add(this.maxSpan)),"left"==e)n=this.startDate.clone(),r=this.minDate;else if("right"==e){n=this.endDate.clone(),r=this.startDate;var a=this.container.find(".drp-calendar.right .calendar-time");if(""!=a.html()&&(n.hour(isNaN(n.hour())?a.find(".hourselect option:selected").val():n.hour()),n.minute(isNaN(n.minute())?a.find(".minuteselect option:selected").val():n.minute()),n.second(isNaN(n.second())?a.find(".secondselect option:selected").val():n.second()),!this.timePicker24Hour)){var o=a.find(".ampmselect option:selected").val();"PM"===o&&n.hour()<12&&n.hour(n.hour()+12),"AM"===o&&12===n.hour()&&n.hour(0)}n.isBefore(this.startDate)&&(n=this.startDate.clone()),i&&n.isAfter(i)&&(n=i.clone())}t='<select class="hourselect">';
9for(var s=this.timePicker24Hour?0:1,l=this.timePicker24Hour?23:12,u=s;u<=l;u++){var c=u;this.timePicker24Hour||(c=n.hour()>=12?12==u?12:u+12:12==u?0:u);var f=n.clone().hour(c),d=!1;r&&f.minute(59).isBefore(r)&&(d=!0),i&&f.minute(0).isAfter(i)&&(d=!0),c!=n.hour()||d?t+=d?'<option value="'+u+'" disabled="disabled" class="disabled">'+u+"</option>":'<option value="'+u+'">'+u+"</option>":t+='<option value="'+u+'" selected="selected">'+u+"</option>"}t+="</select> ",t+=': <select class="minuteselect">';for(u=0;u<60;u+=this.timePickerIncrement){var h=u<10?"0"+u:u;f=n.clone().minute(u),d=!1;r&&f.second(59).isBefore(r)&&(d=!0),i&&f.second(0).isAfter(i)&&(d=!0),n.minute()!=u||d?t+=d?'<option value="'+u+'" disabled="disabled" class="disabled">'+h+"</option>":'<option value="'+u+'">'+h+"</option>":t+='<option value="'+u+'" selected="selected">'+h+"</option>"}if(t+="</select> ",this.timePickerSeconds){t+=': <select class="secondselect">';for(u=0;u<60;u++){h=u<10?"0"+u:u,f=n.clone().second(u),d=!1;r&&f.isBefore(r)&&(d=!0),i&&f.isAfter(i)&&(d=!0),n.second()!=u||d?t+=d?'<option value="'+u+'" disabled="disabled" class="disabled">'+h+"</option>":'<option value="'+u+'">'+h+"</option>":t+='<option value="'+u+'" selected="selected">'+h+"</option>"}t+="</select> "}if(!this.timePicker24Hour){t+='<select class="ampmselect">';var p="",m="";r&&n.clone().hour(12).minute(0).second(0).isBefore(r)&&(p=' disabled="disabled" class="disabled"'),i&&n.clone().hour(0).minute(0).second(0).isAfter(i)&&(m=' disabled="disabled" class="disabled"'),n.hour()>=12?t+='<option value="AM"'+p+'>AM</option><option value="PM" selected="selected"'+m+">PM</option>":t+='<option value="AM" selected="selected"'+p+'>AM</option><option value="PM"'+m+">PM</option>",t+="</select>"}this.container.find(".drp-calendar."+e+" .calendar-time").html(t)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled")},move:function(){var e,n={top:0,left:0},r=t(window).width();this.parentEl.is("body")||(n={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},r=this.parentEl[0].clientWidth+this.parentEl.offset().left),e="up"==this.drops?this.element.offset().top-this.container.outerHeight()-n.top:this.element.offset().top+this.element.outerHeight()-n.top,this.container.css({top:0,left:0,right:"auto"});var i=this.container.outerWidth();if(this.container["up"==this.drops?"addClass":"removeClass"]("drop-up"),"left"==this.opens){var a=r-this.element.offset().left-this.element.outerWidth();i+a>t(window).width()?this.container.css({top:e,right:"auto",left:9}):this.container.css({top:e,right:a,left:"auto"})}else if("center"==this.opens){(o=this.element.offset().left-n.left+this.element.outerWidth()/2-i/2)<0?this.container.css({top:e,right:"auto",left:9}):o+i>t(window).width()?this.container.css({top:e,left:"auto",right:0}):this.container.css({top:e,left:o,right:"auto"})}else{var o;(o=this.element.offset().left-n.left)+i>t(window).width()?this.container.css({top:e,left:"auto",right:0}):this.container.css({top:e,left:o,right:"auto"})}},show:function(e){this.isShowing||(this._outsideClickProxy=t.proxy(function(e){this.outsideClick(e)},this),t(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),t(window).on("resize.daterangepicker",t.proxy(function(e){this.move(e)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(e){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),t(document).off(".daterangepicker"),t(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(e){this.isShowing?this.hide():this.show()},outsideClick:function(e){var n=t(e.target);"focusin"==e.type||n.closest(this.element).length||n.closest(this.container).length||n.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(e){var t=e.target.getAttribute("data-range-key");if(this.chosenLabel=t,t==this.locale.customRangeLabel)this.showCalendars();else{var n=this.ranges[t];this.startDate=n[0],this.endDate=n[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply()}},clickPrev:function(e){t(e.target).parents(".drp-calendar").hasClass("left")?(this.leftCalendar.month.subtract(1,"month"),this.linkedCalendars&&this.rightCalendar.month.subtract(1,"month")):this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(e){t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.month.add(1,"month"):(this.rightCalendar.month.add(1,"month"),this.linkedCalendars&&this.leftCalendar.month.add(1,"month")),this.updateCalendars()},hoverDate:function(e){if(t(e.target).hasClass("available")){var n=t(e.target).attr("data-title"),r=n.substr(1,1),i=n.substr(3,1),a=t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[r][i]:this.rightCalendar.calendar[r][i],o=this.leftCalendar,s=this.rightCalendar,l=this.startDate;this.endDate||this.container.find(".drp-calendar tbody td").each(function(e,n){if(!t(n).hasClass("week")){var r=t(n).attr("data-title"),i=r.substr(1,1),u=r.substr(3,1),c=t(n).parents(".drp-calendar").hasClass("left")?o.calendar[i][u]:s.calendar[i][u];c.isAfter(l)&&c.isBefore(a)||c.isSame(a,"day")?t(n).addClass("in-range"):t(n).removeClass("in-range")}})}},clickDate:function(e){if(t(e.target).hasClass("available")){var n=t(e.target).attr("data-title"),r=n.substr(1,1),i=n.substr(3,1),a=t(e.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar.calendar[r][i]:this.rightCalendar.calendar[r][i];if(this.endDate||a.isBefore(this.startDate,"day")){if(this.timePicker){var o=parseInt(this.container.find(".left .hourselect").val(),10);
9if(!this.timePicker24Hour)"PM"===(u=this.container.find(".left .ampmselect").val())&&o<12&&(o+=12),"AM"===u&&12===o&&(o=0);var s=parseInt(this.container.find(".left .minuteselect").val(),10);isNaN(s)&&(s=parseInt(this.container.find(".left .minuteselect option:last").val(),10));var l=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0;a=a.clone().hour(o).minute(s).second(l)}this.endDate=null,this.setStartDate(a.clone())}else if(!this.endDate&&a.isBefore(this.startDate))this.setEndDate(this.startDate.clone());else{if(this.timePicker){var u;o=parseInt(this.container.find(".right .hourselect").val(),10);if(!this.timePicker24Hour)"PM"===(u=this.container.find(".right .ampmselect").val())&&o<12&&(o+=12),"AM"===u&&12===o&&(o=0);s=parseInt(this.container.find(".right .minuteselect").val(),10);isNaN(s)&&(s=parseInt(this.container.find(".right .minuteselect option:last").val(),10));l=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0;a=a.clone().hour(o).minute(s).second(l)}this.setEndDate(a.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())}this.singleDatePicker&&(this.setEndDate(this.startDate),this.timePicker||this.clickApply()),this.updateView(),e.stopPropagation()}},calculateChosenLabel:function(){var e=!0,t=0;for(var n in this.ranges){if(this.timePicker){var r=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(r)==this.ranges[n][0].format(r)&&this.endDate.format(r)==this.ranges[n][1].format(r)){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+t+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[n][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[n][1].format("YYYY-MM-DD")){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+t+")").addClass("active").attr("data-range-key");break}t++}e&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(e){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(e){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(e){var n=t(e.target).closest(".drp-calendar").hasClass("left"),r=n?"left":"right",i=this.container.find(".drp-calendar."+r),a=parseInt(i.find(".monthselect").val(),10),o=i.find(".yearselect").val();n||(o<this.startDate.year()||o==this.startDate.year()&&a<this.startDate.month())&&(a=this.startDate.month(),o=this.startDate.year()),this.minDate&&(o<this.minDate.year()||o==this.minDate.year()&&a<this.minDate.month())&&(a=this.minDate.month(),o=this.minDate.year()),this.maxDate&&(o>this.maxDate.year()||o==this.maxDate.year()&&a>this.maxDate.month())&&(a=this.maxDate.month(),o=this.maxDate.year()),n?(this.leftCalendar.month.month(a).year(o),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(a).year(o),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(e){var n=t(e.target).closest(".drp-calendar"),r=n.hasClass("left"),i=parseInt(n.find(".hourselect").val(),10),a=parseInt(n.find(".minuteselect").val(),10);isNaN(a)&&(a=parseInt(n.find(".minuteselect option:last").val(),10));var o=this.timePickerSeconds?parseInt(n.find(".secondselect").val(),10):0;if(!this.timePicker24Hour){var s=n.find(".ampmselect").val();"PM"===s&&i<12&&(i+=12),"AM"===s&&12===i&&(i=0)}if(r){var l=this.startDate.clone();l.hour(i),l.minute(a),l.second(o),this.setStartDate(l),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==l.format("YYYY-MM-DD")&&this.endDate.isBefore(l)&&this.setEndDate(l.clone())}else if(this.endDate){var u=this.endDate.clone();u.hour(i),u.minute(a),u.second(o),this.setEndDate(u)}this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){if(this.element.is("input")&&this.element.val().length){var t=this.element.val().split(this.locale.separator),n=null,r=null;2===t.length&&(n=e(t[0],this.locale.format),r=e(t[1],this.locale.format)),(this.singleDatePicker||null===n||null===r)&&(r=n=e(this.element.val(),this.locale.format)),n.isValid()&&r.isValid()&&(this.setStartDate(n),this.setEndDate(r),this.updateView())}},keydown:function(e){9!==e.keyCode&&13!==e.keyCode||this.hide(),27===e.ke
9yCode&&(e.preventDefault(),e.stopPropagation(),this.hide())},updateElement:function(){if(this.element.is("input")&&this.autoUpdateInput){var e=this.startDate.format(this.locale.format);this.singleDatePicker||(e+=this.locale.separator+this.endDate.format(this.locale.format)),e!==this.element.val()&&this.element.val(e).trigger("change")}},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},t.fn.daterangepicker=function(e,r){var i=t.extend(!0,{},t.fn.daterangepicker.defaultOptions,e);return this.each(function(){var e=t(this);e.data("daterangepicker")&&e.data("daterangepicker").remove(),e.data("daterangepicker",new n(e,i,r))}),this},n})}(),function(){(function(){var e;(e=angular.module("daterangepicker",[])).constant("dateRangePickerConfig",{cancelOnOutsideClick:!0,locale:{separator:" - ",format:"YYYY-MM-DD",clearLabel:"Clear"}}),e.directive("dateRangePicker",["$compile","$timeout","$parse","dateRangePickerConfig",function(e,t,n,r){return{require:"ngModel",restrict:"A",scope:{min:"=",max:"=",picker:"=?",model:"=ngModel",opts:"=options",clearable:"="},link:function(e,n,i,a){var o,s,l,u,c,f,d,h,p,m,g,v,y;return u=function(){var e,t;return t=angular.extend.apply(angular,Array.prototype.slice.call(arguments).map(function(e){return null!=e?e.locale:void 0}).filter(function(e){return!!e})),(e=angular.extend.apply(angular,arguments)).locale=t,e},(g=$(n)).attr("ng-trim","false"),i.ngTrim="false",!1,function(){var e,t;if(a.$options&&"function"==typeof a.$options.getOption?(t=a.$options.getOption("updateOn"),!!a.$options.getOption("allowInvalid")):(t=a.$options&&a.$options.updateOn||"",!(!a.$options||!a.$options.allowInvalid)),!t.includes("change"))return"function"==typeof a.$overrideModelOptions?(t+=" change",a.$overrideModelOptions({"*":"$inherit",updateOn:t})):((t+=" change").replace(/default/g," "),(e=angular.copy(a.$options)||{}).updateOn=t,e.updateOnDefault=!1,a.$options=e)}(),m=e.opts,y=u({},angular.copy(r),m),c=null,o=function(){if(c)return c.setStartDate(),c.setEndDate()},h=(f=function(e){return function(t){if(t&&(!moment.isMoment(t)||t.isValid()))return t=moment(t),c?e(t):void 0}})(function(e){return e&&c.endDate<e&&c.setEndDate(e),c.setStartDate(e),y.startDate=c.startDate}),d=f(function(e){return e&&c.startDate>e?(c.setEndDate(c.startDate),y.endDate=c.endDate,c.setStartDate(e),y.startDate=c.startDate):(c.setEndDate(e),y.endDate=c.endDate)}),v=function(e){var t;return t=function(e){return moment.isMoment(e)?e.format(y.locale.format):moment(e).format(y.locale.format)},y.singleDatePicker&&e?t(e):e&&(e.startDate||e.endDate)?[t(e.startDate),t(e.endDate)].join(y.locale.separator):""},a.$formatters.push(function(e){return v(e)}),a.$renderOriginal=a.$render,a.$render=function(){if(a.$modelValue&&y.singleDatePicker?(h(a.$modelValue),d(a.$modelValue)):a.$modelValue&&(a.$modelValue.startDate||a.$modelValue.endDate)?(h(a.$modelValue.startDate),d(a.$modelValue.endDate)):o(),a.$valid)return a.$renderOriginal()},a.$parsers.push(function(e){var t,n,r;return t=function(e){var t;return(t=moment(e,y.locale.format)).isValid()&&t||null},n=y.singleDatePicker?null:{startDate:null,endDate:null},angular.isString(e)&&e.length>0&&(y.singleDatePicker?n=t(e):(r=e.split(y.locale.separator).map(t),n.startDate=r[0]?r[0].startOf("day"):null,n.endDate=r[1]?r[1].endOf("day"):null)),n}),a.$isEmpty=function(e){return!(angular.isString(e)&&e.length>0)},s=function(){var t;for(t in g.daterangepicker(angular.extend(y,{autoUpdateInput:!1}),function(t,n,r){return e.$apply(function(){if("function"==typeof y.changeCallback)return y.changeCallback.apply(this,arguments)})}),c=g.data("daterangepicker"),e.picker=c,c.container.hide(),c.container.addClass((y.pickerClasses||"")+" "+(i.pickerClasses||"")),g.on("show.daterangepicker",function(t,n){return g.addClass("picker-open"),e.$apply(function(){y.singleDatePicker?n.startDate.isSame(e.model)||(h(e.model),d(e.model)):(e.model&&!n.startDate.isSame(e.model.startDate)&&h(e.model.startDate),e.model&&!n.endDate.isSame(e.model.endDate)&&d(e.model.endDate)),n.updateView()})}),g.on("hide.daterangepicker",function(e,t){return g.removeClass("picker-open")}),g.on("apply.daterangepicker",function(t,n){return e.$apply(function(){y.singleDatePicker?n.startDate?n.startDate.isSame(e.model)||(e.model=n.startDate):e.model=null:n.startDate.isSame(n.oldStartDate)&&n.endDate.isSame(n.oldEndDate)&&e.model&&n.startDate.isSame(e.model.startDate)&&n.endDate.isSame(e.model.endDate)||(e.model={startDate:n.startDate,endD
9ate:n.endDate,label:n.chosenLabel})})}),g.on("outsideClick.daterangepicker",function(t,n){return y.cancelOnOutsideClick?e.$apply(function(){return n.cancelingClick=!0,n.clickCancel()}):n.clickApply()}),y.eventHandlers)g.on(t,function(t,n){var r;return r=t.type+"."+t.namespace,e.$evalAsync(y.eventHandlers[r])});if(a.$validate(),!e.model)return g.trigger("change")},e.$watch(function(){return v(e.model)},function(e){return"function"==typeof a.$processModelValue?(a.$processModelValue(),a.$render()):("function"==typeof a.$$updateEmptyClasses&&a.$$updateEmptyClasses(e),a.$viewValue=a.$$lastCommittedViewValue=e,a.$render())}),a.$validators.invalid=function(e,t){var n,r;return n=i.required&&!a.$isEmpty(t),r=y.singleDatePicker?e&&e.isValid():e&&e.startDate&&e.startDate.isValid()&&e.endDate&&e.endDate.isValid(),!n||!!r},(l=function(n,r,o,s){if(a.$validators[n]=function(e){return!y[s]||(y.singleDatePicker?"min"===n?!e||r(e,y.minDate,e):"max"===n?!e||r(e,e,y.maxDate):void 0:e&&r(e[o],y.minDate,y.maxDate))},i[n])return e.$watch(n,function(e){if(y[s]=!!e&&moment(e),c)return c[s]=y[s],t(function(){return a.$validate()})})})("min",p=function(e,t,n){var r;return!e||!t&&!n||(e=(r=[e,t,n].map(function(e){return e?moment(e):e}))[0],t=r[1],n=r[2],(!t||t.isBefore(e)||t.isSame(e,"day"))&&(!n||n.isSame(e,"day")||n.isAfter(e)))},"startDate","minDate"),l("max",p,"endDate","maxDate"),e.$watch("opts",function(e){return null==e&&(e={}),y=u(y,e),s()},!0),i.clearable&&e.$watch("clearable",function(n){if(n&&(y=u(y,{locale:{cancelLabel:y.locale.clearLabel}})),s(),n)return g.on("cancel.daterangepicker",function(n,r){return r.cancelingClick||(e.model=y.singleDatePicker?null:{startDate:null,endDate:null},g.val("")),r.cancelingClick=null,t(function(){return e.$apply()})})}),e.$on("$destroy",function(){return null!=c?c.remove():void 0})}}}])}).call(this)}(),function(){var e,t;e=this,t=function(){"use strict";var e,t,n={},r=!1,i=[],a=[],o=0,s=Object.prototype.hasOwnProperty;return(n={version:"2.3.2-javascript",onError:function(e){},onClose:function(e){},onOpen:function(e){},onReopen:function(e){},onMessage:function(e){},onReconnect:function(e,t){},onMessagePublished:function(e){},onTransportFailure:function(e,t){},onLocalMessage:function(e){},onFailureToReconnect:function(e,t){},onClientTimeout:function(e){},onOpenAfterResume:function(e){},WebsocketApiAdapter:function(e){var t,r;return e.onMessage=function(e){r.onmessage({data:e.responseBody})},e.onMessagePublished=function(e){r.onmessage({data:e.responseBody})},e.onOpen=function(e){r.onopen(e)},r={close:function(){t.close()},send:function(e){t.push(e)},onmessage:function(e){},onopen:function(e){},onclose:function(e){},onerror:function(e){}},t=new n.subscribe(e),r},AtmosphereRequest:function(e){var t,i,s,l={timeout:3e5,method:"GET",headers:{},contentType:"",callback:null,url:"",data:"",suspend:!0,maxRequest:-1,reconnect:!0,maxStreamingLength:1e7,lastIndex:0,logLevel:"info",requestCount:0,fallbackMethod:"GET",fallbackTransport:"streaming",transport:"long-polling",webSocketImpl:null,webSocketBinaryType:null,dispatchUrl:null,webSocketPathDelimiter:"@@",enableXDR:!1,rewriteURL:!1,attachHeadersAsQueryString:!0,executeCallbackBeforeReconnect:!1,readyState:0,withCredentials:!1,trackMessageLength:!1,messageDelimiter:"|",connectTimeout:-1,reconnectInterval:0,dropHeaders:!0,uuid:0,async:!0,shared:!1,readResponsesHeaders:!1,maxReconnectOnClose:5,enableProtocol:!0,disableDisconnect:!1,pollingInterval:0,heartbeat:{client:null,server:null},ackInterval:0,closeAsync:!1,reconnectOnServerError:!0,handleOnlineOffline:!0,onError:function(e){},onClose:function(e){},onOpen:function(e){},onMessage:function(e){},onReopen:function(e,t){},onReconnect:function(e,t){},onMessagePublished:function(e){},onTransportFailure:function(e,t){},onLocalMessage:function(e){},onFailureToReconnect:function(e,t){},onClientTimeout:function(e){},onOpenAfterResume:function(e){}},u={status:200,reasonPhrase:"OK",responseBody:"",messages:[],headers:[],state:"messageReceived",transport:"polling",error:null,request:null,partialMessage:"",errorHandled:!1,closedByClientTimeout:!1,ffTryingReconnect:!1},c=null,f=null,d=null,h=null,p=null,m=!0,g=0,v=0,y="X",$=!1,b=null,w=null,x=n.util.now();function _(){m=!0,$=!1,g=0,c=null,f=null,d=null,h=null}function C(e){return"debug"==e?"debug"===l.logLevel:"info"==e?"info"===l.logLevel||"debug"===l.logLevel:"warn"==e?"warn"===l.logLevel||"info"===l.logLevel||"debug"===l.logLevel:"error"==e&&("error"===l.logLevel||"w
9arn"===l.logLevel||"info"===l.logLevel||"debug"===l.logLevel)}function k(e){C("debug")&&n.util.debug(new Date+" Atmosphere: "+e)}function D(e,t){return""===u.partialMessage&&"streaming"===t.transport&&e.responseText.length>t.maxStreamingLength}function S(){if(l.enableProtocol&&!l.disableDisconnect&&!l.firstMessage){var e="X-Atmosphere-Transport=close&X-Atmosphere-tracking-id="+l.uuid;n.util.each(l.headers,function(t,r){var i=n.util.isFunction(r)?r.call(this,l,l,u):r;null!=i&&(e+="&"+encodeURIComponent(t)+"="+encodeURIComponent(i))});var t=l.url.replace(/([?&])_=[^&]*/,e);t+=t===l.url?(/\?/.test(l.url)?"&":"?")+e:"";var r=new n.AtmosphereRequest({connected:!1});r.connectTimeout=l.connectTimeout,r.attachHeadersAsQueryString=!1,r.dropHeaders=!0,r.url=t,r.contentType="text/plain",r.transport="polling",r.method="GET",r.data="",r.heartbeat=null,l.enableXDR&&(r.enableXDR=l.enableXDR),r.async=l.closeAsync,function(e,t){t||(t=J(e));t.transport="polling",t.method="GET",t.withCredentials=!1,t.reconnect=!1,t.force=!0,t.suspend=!1,t.timeout=1e3,H(t)}("",r)}}function T(){k("Closing (AtmosphereRequest._close() called)"),$=!0,l.reconnectId&&(clearTimeout(l.reconnectId),delete l.reconnectId),l.heartbeatTimer&&clearTimeout(l.heartbeatTimer),l.reconnect=!1,u.request=l,u.state="unsubscribe",u.responseBody="",u.status=408,u.partialMessage="",re(),S(),E()}function E(){u.partialMessage="",l.id&&clearTimeout(l.id),l.heartbeatTimer&&clearTimeout(l.heartbeatTimer),l.reconnectId&&(clearTimeout(l.reconnectId),delete l.reconnectId),null!=h&&(h.close(),h=null),null!=p&&(p.abort(),p=null),null!=d&&(d.abort(),d=null),null!=c&&(c.canSendMessage&&(k("invoking .close() on WebSocket object"),c.close()),c=null),null!=f&&(f.close(),f=null),function(){null!=t&&(clearInterval(i),document.cookie=s+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/",t.signal("close",{reason:"",heir:$?(t.get("children")||[])[0]:x}),t.close());null!=w&&w.close()}()}function O(e){E(),_(),(l=n.util.extend(l,e)).mrequest=l.reconnect,l.reconnect||(l.reconnect=!0)}function M(){if(l.shared){if(null!=(w=function(e){var t,r,a,o="atmosphere-"+e.url,s={storage:function(){function t(e){e.key===o&&e.newValue&&c(e.newValue)}if(n.util.storage){var r=window.localStorage,i=function(e){return n.util.parseJSON(r.getItem(o+"-"+e))},a=function(e,t){r.setItem(o+"-"+e,n.util.stringifyJSON(t))};return{init:function(){return a("children",i("children").concat([x])),n.util.on(window,"storage",t),i("opened")},signal:function(e,t){r.setItem(o,n.util.stringifyJSON({target:"p",type:e,data:t}))},close:function(){var r=i("children");n.util.off(window,"storage",t),r&&u(r,e.id)&&a("children",r)}}}},windowref:function(){var e=window.open("",o.replace(/\W/g,""));if(e&&!e.closed&&e.callbacks)return{init:function(){return e.callbacks.push(c),e.children.push(x),e.opened},signal:function(t,r){!e.closed&&e.fire&&e.fire(n.util.stringifyJSON({target:"p",type:t,data:r}))},close:function(){a||(u(e.callbacks,c),u(e.children,x))}}}};function u(e,t){var n,r=e.length;for(n=0;n<r;n++)e[n]===t&&e.splice(n,1);return r!==e.length}function c(t){var r=n.util.parseJSON(t),i=r.data;if("c"===r.target)switch(r.type){case"open":A("opening","local",l);break;case"close":a||(a=!0,"aborted"===i.reason?T():i.heir===x?M():setTimeout(function(){M()},100));break;case"message":Z(i,"messageReceived",200,e.transport);break;case"localMessage":Q(i)}}function f(){var e=new RegExp("(?:^|; )("+encodeURIComponent(o)+")=([^;]*)").exec(document.cookie);if(e)return n.util.parseJSON(decodeURIComponent(e[2]))}if(!(t=f())||n.util.now()-t.ts>1e3)return;if(!(r=s.storage()||s.windowref()))return;return{open:function(){var a;return i=setInterval(function(){var e=t;(t=f())&&e.ts!==t.ts||c(n.util.stringifyJSON({target:"c",type:"close",data:{reason:"error",heir:e.heir}}))},1e3),(a=r.init())&&setTimeout(function(){A("opening","local",e)},50),a},send:function(e){r.signal("send",e)},localSend:function(e){r.signal("localSend",n.util.stringifyJSON({id:x,event:e}))},close:function(){$||(clearInterval(i),r.signal("close"),r.close())}}}(l))&&(C("debug")&&n.util.debug("Storage service available. All communication will be local"),w.open(l)))return;C("debug")&&n.util.debug("No Storage service available."),w=null}var e,t,a;l.firstMessage=0==o,l.isOpen=!1,l.ctime=n.util.now(),0===l.uuid&&(l.uuid=o),u.closedByClientTimeout=!1,"websocket"!==l.transport&&"sse"!==l.transport?H(l):"websocket"===l.transport?null!=l.webSocketImpl||window.WebSocket||window.MozWebSocket?function e(t){u.transport="websocket";var i=(l.url,F(l,n.util.getAbsoluteURL(l.webSocketUrl||l.url)).replace(/^http/,"ws"));C("debug")&&n.util.debug("Invoking executeWebSocket, using URL: "+i);if(t&&!l.reconnect)return void(null!=c&&E());c=function(e){return null!=l.webSocketImpl?l.webSocketImpl:window.WebSocket?new WebSocket(e):new MozWebSocket(e)}(i);null!=l.webSocketBinaryType&&(c.binaryType=l.webSocketBinaryType);l.connectTimeout>0&&(l.id=setTimeout(function(){if(t);
9else{c.onclose({code:1002,reason:"",wasClean:!1});try{E()}catch(e){}}},l.connectTimeout));c.onopen=function(e){k("websocket.onopen"),R(l),r=!1,C("debug")&&n.util.debug("Websocket successfully opened");var i=t;null!=c&&(c.canSendMessage=!0),l.enableProtocol||(t=!0,A(i?"re-opening":"opening","websocket",l)),null!=c&&"POST"===l.method&&(u.state="messageReceived",c.send(l.data))};c.onmessage=function(e){k("websocket.onmessage"),R(l),l.enableProtocol&&(t=!0),u.state="messageReceived",u.status=200;var n="string"==typeof(e=e.data);if(n){var r=N(e,l,u);r||(re(),u.responseBody="",u.messages=[])}else{if(""===(e=P(l,e)))return;u.responseBody=e,re(),u.responseBody=null}};c.onerror=function(e){k("websocket.onerror"),clearTimeout(l.id),l.heartbeatTimer&&clearTimeout(l.heartbeatTimer)};c.onclose=function(i){if(k("websocket.onclose"),clearTimeout(l.id),"closed"!==u.state){var a=i.reason;if(""===a)switch(i.code){case 1e3:a="Normal closure; the connection successfully completed whatever purpose for which it was created.";break;case 1001:a="The endpoint is going away, either because of a server failure or because the browser is navigating away from the page that opened the connection.";break;case 1002:a="The endpoint is terminating the connection due to a protocol error.";break;case 1003:a="The connection is being terminated because the endpoint received data of a type it cannot accept (for example, a text-only endpoint received binary data).";break;case 1004:a="The endpoint is terminating the connection because a data frame was received that is too large.";break;case 1005:a="Unknown: no status code was provided even though one was expected.";break;case 1006:a="Connection was closed abnormally (that is, with no close frame being sent)."}C("warn")&&n.util.warn("Websocket closed, reason: "+a+" - wasClean: "+i.wasClean),u.closedByClientTimeout||l.handleOnlineOffline&&r?l.reconnectId&&(clearTimeout(l.reconnectId),delete l.reconnectId):(ne(t),u.state="closed",$?n.util.log(l.logLevel,["Websocket closed normally"]):t?l.reconnect&&"websocket"===u.transport&&(E(),g++<l.maxReconnectOnClose?(A("re-connecting",l.transport,l),l.reconnectInterval>0?l.reconnectId=setTimeout(function(){u.responseBody="",u.messages=[],e(!0)},l.reconnectInterval):(u.responseBody="",u.messages=[],e(!0))):(n.util.log(l.logLevel,["Websocket reconnect maximum try reached "+g]),C("warn")&&n.util.warn("Websocket error, reason: "+i.reason),j(0,"maxReconnectOnClose reached"))):L("Websocket failed on first connection attempt. Downgrading to "+l.fallbackTransport+" and resending"))}};var a=navigator.userAgent.toLowerCase();var o=a.indexOf("android")>-1;o&&void 0===c.url&&c.onclose({reason:"Android 4.1 does not support websockets.",wasClean:!1})}(!1):L("Websocket is not supported, using request.fallbackTransport ("+l.fallbackTransport+")"):"sse"===l.transport&&(e=n.util.getAbsoluteURL(l.url.toLowerCase()),t=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/.exec(e),a=!(!t||t[1]==window.location.protocol&&t[2]==window.location.hostname&&(t[3]||("http:"===t[1]?80:443))==(window.location.port||("http:"===window.location.protocol?80:443))),!window.EventSource||a&&n.util.browser.safari&&!(n.util.browser.vmajor>=7)?L("Server Side Events(SSE) is not supported, using request.fallbackTransport ("+l.fallbackTransport+")"):function e(t){u.transport="sse";var r=F(l);C("debug")&&(n.util.debug("Invoking executeSSE"),n.util.debug("Using URL: "+r));if(t&&!l.reconnect)return void(null!=f&&E());try{f=new EventSource(r,{withCredentials:l.withCredentials})}catch(e){return j(0,e),void L("SSE failed. Downgrading to fallback transport and resending")}l.connectTimeout>0&&(l.id=setTimeout(function(){t||E()},l.connectTimeout));f.onopen=function(e){k("sse.onopen"),R(l),C("debug")&&n.util.debug("SSE successfully opened"),l.enableProtocol?l.isReopen&&(l.isReopen=!1,A("re-opening",l.transport,l)):A(t?"re-opening":"opening","sse",l),t=!0,"POST"===l.method&&(u.state="messageReceived",f.send(l.data))};f.onmessage=function(e){if(k("sse.onmessage"),R(l),!l.enableXDR&&window.location.host&&e.origin&&e.origin!==window.location.protocol+"//"+window.location.host)n.util.log(l.logLevel,["Origin was not "+window.location.protocol+"//"+window.location.host]);else{u.state="messageReceived",u.status=200;var t=N(e=e.data,l,u);t||(re(),u.responseBody="",u.messages=[])}};f.onerror=function(r){k("sse.onerror"),clearTimeout(l.id),l.heartbeatTimer&&clearTimeout(l.heartbeatTimer),u.closedByClientTimeout||(ne(t),E(),$?n.util.log(l.logLevel,["SSE closed normally"]):t?l.reconnect&&"sse"===u.transport&&(g++<l.maxReconnectOnClose?(A("re-connecting",l.transport,l),l.reconnectInterval>0?l.reconnectId=setTimeout(function(){e(!0)},l.reconnectInterval):e(!0),u.responseBody="",u.messages=[]):(n.util.log(l.logLevel,["SSE reconnect maximum try reached "+g]),j(0,"maxReconnectOnClose reached"))):L("SSE failed. Downgrading to fallback transport and resending"))}}(!1))}function A(e,r,a){if(l.shared&&"local"!==r&&function(){var e,r="atmosphere-"+l.url,a=function(){var e,t=r.replace(/\W/g,""),i=document.getElementById(t);
9return i||((i=document.createElement("div")).id=t,i.style.display="none",i.innerHTML='<iframe name="'+t+'" />',document.body.appendChild(i)),e=i.firstChild.contentWindow,{init:function(){e.callbacks=[o],e.fire=function(t){var n;for(n=0;n<e.callbacks.length;n++)e.callbacks[n](t)}},signal:function(t,r){!e.closed&&e.fire&&e.fire(n.util.stringifyJSON({target:"c",type:t,data:r}))},get:function(t){return e.closed?null:e[t]},set:function(t,n){e.closed||(e[t]=n)},close:function(){}}};function o(e){var t=n.util.parseJSON(e),r=t.data;if("p"===t.target)switch(t.type){case"send":z(r);break;case"localSend":Q(r);break;case"close":T()}}function u(){document.cookie=s+"="+encodeURIComponent(n.util.stringifyJSON({ts:n.util.now()+1,heir:(e.get("children")||[])[0]}))+"; path=/"}b=function(t){e.signal("message",t)},(e=function(){function e(e){e.key===r&&e.newValue&&o(e.newValue)}if(n.util.storage){var t=window.localStorage;return{init:function(){n.util.on(window,"storage",e)},signal:function(e,i){t.setItem(r,n.util.stringifyJSON({target:"c",type:e,data:i}))},get:function(e){return n.util.parseJSON(t.getItem(r+"-"+e))},set:function(e,i){t.setItem(r+"-"+e,n.util.stringifyJSON(i))},close:function(){n.util.off(window,"storage",e),t.removeItem(r),t.removeItem(r+"-opened"),t.removeItem(r+"-children")}}}}()||a()).init(),C("debug")&&n.util.debug("Installed StorageService "+e),e.set("children",[]),null==e.get("opened")||e.get("opened")||e.set("opened",!1),s=encodeURIComponent(r),u(),i=setInterval(u,1e3),t=e}(),null!=t&&t.set("opened",!0),a.close=function(){T()},g>0&&"re-connecting"===e)a.isReopen=!0,(d=u).state="re-connecting",ee(d);else if(null==u.error){u.request=a;var o=u.state;u.state=e;var c=u.transport;u.transport=r;var f=u.responseBody;re(),u.responseBody=f,u.state=o,u.transport=c}var d}function I(e){e.transport="jsonp";var t,r=l;null!=e&&void 0!==e&&(r=e),(p={open:function(){var i="atmosphere"+ ++x;function a(){var n=r.url;null!=r.dispatchUrl&&(n+=r.dispatchUrl);var a=r.data;r.attachHeadersAsQueryString&&(n=F(r),""!==a&&(n+="&X-Atmosphere-Post-Body="+encodeURIComponent(a)),a="");var o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;(t=document.createElement("script")).src=n+"&jsonpTransport="+i,t.clean=function(){t.clean=t.onerror=t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),2==++e.scriptCount&&(e.scriptCount=1,r.lastIndex=0,r.openId&&clearTimeout(r.openId),r.heartbeatTimer&&clearTimeout(r.heartbeatTimer),r.reconnect&&g++<r.maxReconnectOnClose?(A("re-connecting",r.transport,r),B(p,r,e.reconnectInterval),r.openId=setTimeout(function(){U(r)},r.reconnectInterval+1e3)):j(0,"maxReconnectOnClose reached"))},t.onload=t.onreadystatechange=function(){k("jsonp.onload"),t.readyState&&!/loaded|complete/.test(t.readyState)||t.clean()},t.onerror=function(){k("jsonp.onerror"),e.scriptCount=1,t.clean()},o.insertBefore(t,o.firstChild)}window[i]=function(t){if(k("jsonp.window"),e.scriptCount=0,r.reconnect&&-1===r.maxRequest||r.requestCount++<r.maxRequest){if(r.executeCallbackBeforeReconnect||B(p,r,r.pollingInterval),null!=t&&"string"!=typeof t)try{t=t.message}catch(e){}N(t,r,u)||Z(u.responseBody,"messageReceived",200,r.transport),r.executeCallbackBeforeReconnect&&B(p,r,r.pollingInterval),R(r)}else n.util.log(l.logLevel,["JSONP reconnect maximum try reached "+l.requestCount]),j(0,"maxRequest reached")},setTimeout(function(){a()},50)},abort:function(){t&&t.clean&&t.clean()}}).open()}function P(e,t){var r=t;if("polling"===e.transport)return r;if(e.enableProtocol&&e.firstMessage&&0!==n.util.trim(t).length){var i=e.trackMessageLength?1:0,a=t.split(e.messageDelimiter);if(a.length<=i+1)return r;if(e.firstMessage=!1,e.uuid=n.util.trim(a[i]),a.length<=i+2&&n.util.log("error",["Protocol data not sent by the server. If you enable protocol on client side, be sure to install JavascriptProtocol interceptor on server side.Also note that atmosphere-runtime 2.2+ should be used."]),v=parseInt(n.util.trim(a[i+1]),10),y=a[i+2],"long-polling"!==e.transport&&U(e),o=e.uuid,r="",i=e.trackMessageLength?4:3,a.length>i+1)for(var s=i;s<a.length;s++)r+=a[s],s+1!==a.length&&(r+=e.messageDelimiter);0!==e.ackInterval&&setTimeout(function(){z("...ACK...")},e.ackInterval)}else e.enableProtocol&&e.firstMessage&&n.util.browser.msie&&+n.util.browser.version.split(".")[0]<10?n.util.log(l.logLevel,["Receiving unexpected data from IE"]):U(e);return r}function R(e){clearTimeout(e.id),e.timeout>0&&"polling"!==e.transport&&(e.id=setTimeout(function(){u.closedByClientTimeout=!0,u.state="closedByClient",u.responseBody="",u.status=408,u.messages=[],re(),S(),E()},e.timeout))}function j(e,t){E(),clearTimeout(l.id),u.state="error",u.reasonPhrase=t,u.responseBody="",u.status=e,u.messages=[],re()}function N(e,t,n){if(0===(e=P(t,e)).length)return!0;
9if(n.responseBody=e,t.trackMessageLength){var r=[],i=(e=n.partialMessage+e).indexOf(t.messageDelimiter);if(-1!=i){for(;-1!==i;){var a=e.substring(0,i),o=+a;if(isNaN(o))throw new Error('message length "'+a+'" is not a number');(i+=t.messageDelimiter.length)+o>e.length?i=-1:(r.push(e.substring(i,i+o)),i=(e=e.substring(i+o,e.length)).indexOf(t.messageDelimiter))}return n.partialMessage=e,0!==r.length?(n.responseBody=r.join(t.messageDelimiter),n.messages=r,!1):(n.responseBody="",n.messages=[],!0)}}return n.responseBody=e,n.messages=[e],!1}function L(e){n.util.log(l.logLevel,[e]),void 0!==l.onTransportFailure?l.onTransportFailure(e,l):void 0!==n.util.onTransportFailure&&n.util.onTransportFailure(e,l),l.transport=l.fallbackTransport;var t=-1===l.connectTimeout?0:l.connectTimeout;l.reconnect&&"none"!==l.transport||null==l.transport?(l.method=l.fallbackMethod,u.transport=l.fallbackTransport,l.fallbackTransport="none",t>0?l.reconnectId=setTimeout(function(){M()},t):M()):j(500,"Unable to reconnect with fallback transport")}function F(e,t){var r=l;return null!=e&&void 0!==e&&(r=e),null==t&&(t=r.url),r.attachHeadersAsQueryString?-1!==t.indexOf("X-Atmosphere-Framework")?t:(t+=-1!==t.indexOf("?")?"&":"?",t+="X-Atmosphere-tracking-id="+r.uuid,t+="&X-Atmosphere-Framework="+n.version,t+="&X-Atmosphere-Transport="+r.transport,r.trackMessageLength&&(t+="&X-Atmosphere-TrackMessageSize=true"),null!==r.heartbeat&&null!==r.heartbeat.server&&(t+="&X-Heartbeat-Server="+r.heartbeat.server),""!==r.contentType&&(t+="&Content-Type="+("websocket"===r.transport?r.contentType:encodeURIComponent(r.contentType))),r.enableProtocol&&(t+="&X-atmo-protocol=true"),n.util.each(r.headers,function(i,a){var o=n.util.isFunction(a)?a.call(this,r,e,u):a;null!=o&&(t+="&"+encodeURIComponent(i)+"="+encodeURIComponent(o))}),t):t}function U(e){if(e.isOpen)if(e.isReopen)e.isReopen=!1,A("re-opening",e.transport,e);else{if("messageReceived"!==u.state||"jsonp"!==e.transport&&"long-polling"!==e.transport)return;(t=u).state="openAfterResume",ee(t),t.state="messageReceived"}else e.isOpen=!0,A("opening",e.transport,e);var t;!function(e){null!=e.heartbeatTimer&&clearTimeout(e.heartbeatTimer);if(!isNaN(v)&&v>0){var t=function(){C("debug")&&n.util.debug("Sending heartbeat"),z(y),e.heartbeatTimer=setTimeout(t,v)};e.heartbeatTimer=setTimeout(t,v)}}(e)}function H(e){var t=l;if(null==e&&void 0===e||(t=e),t.lastIndex=0,t.readyState=0,"jsonp"===t.transport||t.enableXDR&&n.util.checkCORSSupport())I(t);else{if(n.util.browser.msie&&+n.util.browser.version.split(".")[0]<10){if("streaming"===t.transport)return void(t.enableXDR&&window.XDomainRequest?V(t):W(t));if(t.enableXDR&&window.XDomainRequest)return void V(t)}var r=function(n){if(t.lastIndex=0,g++,n||t.reconnect&&g<=t.maxReconnectOnClose){var r=n?0:e.reconnectInterval;u.ffTryingReconnect=!0,A("re-connecting",e.transport,e),B(a,t,r)}else j(0,"maxReconnectOnClose reached")},i=function(e){n._beforeUnloadState?(n.util.debug(new Date+" Atmosphere: reconnectF: execution delayed due to _beforeUnloadState flag"),setTimeout(function(){r(e)},5e3)):r(e)};if(t.force||t.reconnect&&(-1===t.maxRequest||t.requestCount++<t.maxRequest)){t.force=!1;var a=n.util.xhr();a.hasData=!1,function(e,t,r){var i=t.url;null!=t.dispatchUrl&&"POST"===t.method&&(i+=t.dispatchUrl);i=F(t,i),i=n.util.prepareURL(i),r&&(e.open(t.method,i,t.async),t.connectTimeout>0&&(t.id=setTimeout(function(){0===t.requestCount&&(E(),Z("Connect timeout","closed",200,t.transport))},t.connectTimeout)));l.withCredentials&&"websocket"!==l.transport&&"withCredentials"in e&&(e.withCredentials=!0);l.dropHeaders||(e.setRequestHeader("X-Atmosphere-Framework",n.version),e.setRequestHeader("X-Atmosphere-Transport",t.transport),null!==t.heartbeat&&null!==t.heartbeat.server&&e.setRequestHeader("X-Heartbeat-Server",e.heartbeat.server),t.trackMessageLength&&e.setRequestHeader("X-Atmosphere-TrackMessageSize","true"),e.setRequestHeader("X-Atmosphere-tracking-id",t.uuid),n.util.each(t.headers,function(i,a){var o=n.util.isFunction(a)?a.call(this,e,t,r,u):a;null!=o&&e.setRequestHeader(i,o)}));""!==t.contentType&&e.setRequestHeader("Content-Type",t.contentType)}(a,t,!0),t.suspend&&(d=a),"polling"!==t.transport&&(u.transport=t.transport,a.onabort=function(){k("ajaxrequest.onabort"),ne(!0)},a.onerror=function(){k("ajaxrequest.onerror"),u.error=!0,u.ffTryingReconnect=!0;try{u.status=XMLHttpRequest.status}catch(e){u.status=500}u.status||(u.status=500),u.errorHandled||(E(),i(!1))}),a.onreadystatechange=function(){if(k("ajaxRequest.onreadystatechange, new state: "+a.readyState),$)k("onreadystatechange has been ignored due to _abortingConnection flag");else{u.error=null;var r=!1,o=!1;if("streaming"===t.transport&&t.readyState>2&&4===a.readyState)return E(),void i(!1);if(t.readyState=a.readyState,"streaming"===t.transport&&a.readyState>=3?o=!0:"long-polling"===t.transport&&4===a.readyState&&(o=!0),R(l),"polling"!==t.transport){var s=200;if(4===a.readyState&&(s=a.status>
91e3?0:a.status),!t.reconnectOnServerError&&s>=300&&s<600)return void j(s,a.statusText);if(s>=300||0===s)return u.errorHandled=!0,E(),void i(!1);t.enableProtocol&&e.firstMessage||2!==a.readyState||(n.util.browser.mozilla&&u.ffTryingReconnect?(u.ffTryingReconnect=!1,setTimeout(function(){u.ffTryingReconnect||U(t)},500)):U(t))}else 4===a.readyState&&(o=!0);if(o){var c=a.responseText;if(u.errorHandled=!1,"long-polling"===t.transport&&0===n.util.trim(c).length)return void(a.hasData?a.hasData=!1:i(!0));if(a.hasData=!0,K(a,l),"streaming"===t.transport)if(n.util.browser.opera)n.util.iterate(function(){if(500!==u.status&&a.responseText.length>t.lastIndex){try{u.status=a.status,u.headers=n.util.parseHeaders(a.getAllResponseHeaders()),K(a,l)}catch(e){u.status=404}R(l),u.state="messageReceived";var e=a.responseText.substring(t.lastIndex);if(t.lastIndex=a.responseText.length,(r=N(e,t,u))||re(),D(a,t))return void q(a,t)}else if(u.status>400)return t.lastIndex=a.responseText.length,!1},0);else{var f=c.substring(t.lastIndex,c.length);if(r=N(f,t,u),t.lastIndex=c.length,r)return}else r=N(c,t,u);var d=D(a,t);try{u.status=a.status,u.headers=n.util.parseHeaders(a.getAllResponseHeaders()),K(a,t)}catch(e){u.status=404}t.suspend?u.state=0===u.status?"closed":"messageReceived":u.state="messagePublished";var h=!d&&"streaming"!==e.transport&&"polling"!==e.transport;h&&!t.executeCallbackBeforeReconnect&&B(a,t,t.pollingInterval),0===u.responseBody.length||r||re(),h&&t.executeCallbackBeforeReconnect&&B(a,t,t.pollingInterval),d&&q(a,t)}}};try{a.send(t.data),m=!0}catch(e){n.util.log(t.logLevel,["Unable to connect to "+t.url]),j(0,e)}}else"debug"===t.logLevel&&n.util.log(t.logLevel,["Max re-connection reached."]),j(0,"maxRequest reached")}}function q(e,t){u.messages=[],t.isReopen=!0,T(),$=!1,B(e,t,500)}function B(e,t,n){if(!u.closedByClientTimeout&&(t.reconnect||t.suspend&&m)){var r=0;e&&e.readyState>1&&(r=e.status>1e3?0:e.status),u.status=0===r?204:r,u.reason=0===r?"Server resumed the connection or down.":"OK",clearTimeout(t.id),t.reconnectId&&(clearTimeout(t.reconnectId),delete t.reconnectId),n>0?l.reconnectId=setTimeout(function(){H(t)},n):H(t)}}function V(e){"polling"!==e.transport?(h=Y(e)).open():Y(e).open()}function Y(e){var t=l;null!=e&&void 0!==e&&(t=e);var r=t.transport,i=0,a=new window.XDomainRequest,o=function(){"long-polling"===t.transport&&t.reconnect&&(-1===t.maxRequest||t.requestCount++<t.maxRequest)&&(a.status=200,V(t))},s=t.rewriteURL||function(e){var t=/(?:^|;\s*)(JSESSIONID|PHPSESSID)=([^;]*)/.exec(document.cookie);switch(t&&t[1]){case"JSESSIONID":return e.replace(/;jsessionid=[^\?]*|(\?)|$/,";jsessionid="+t[2]+"$1");case"PHPSESSID":return e.replace(/\?PHPSESSID=[^&]*&?|\?|$/,"?PHPSESSID="+t[2]+"&").replace(/&$/,"")}return e};a.onprogress=function(){c(a)},a.onerror=function(){"polling"!==t.transport&&(E(),g++<t.maxReconnectOnClose?t.reconnectInterval>0?t.reconnectId=setTimeout(function(){A("re-connecting",e.transport,e),V(t)},t.reconnectInterval):(A("re-connecting",e.transport,e),V(t)):j(0,"maxReconnectOnClose reached"))},a.onload=function(){};var c=function(e){clearTimeout(t.id);var a=e.responseText;if(a=a.substring(i),i+=a.length,"polling"!==r){R(t);var s=N(a,t,u);if("long-polling"===r&&0===n.util.trim(a).length)return;t.executeCallbackBeforeReconnect&&o(),s||Z(u.responseBody,"messageReceived",200,r),t.executeCallbackBeforeReconnect||o()}};return{open:function(){var e=t.url;null!=t.dispatchUrl&&(e+=t.dispatchUrl),e=F(t,e),a.open(t.method,s(e)),"GET"===t.method?a.send():a.send(t.data),t.connectTimeout>0&&(t.id=setTimeout(function(){0===t.requestCount&&(E(),Z("Connect timeout","closed",200,t.transport))},t.connectTimeout))},close:function(){a.abort()}}}function W(e){(h=function(e){var t,r=l;null!=e&&void 0!==e&&(r=e);var i=new window.ActiveXObject("htmlfile");i.open(),i.close();var a=r.url;null!=r.dispatchUrl&&(a+=r.dispatchUrl);"polling"!==r.transport&&(u.transport=r.transport);return{open:function(){var e=i.createElement("iframe");a=F(r),""!==r.data&&(a+="&X-Atmosphere-Post-Body="+encodeURIComponent(r.data)),a=n.util.prepareURL(a),e.src=a,i.body.appendChild(e);var o=e.contentDocument||e.contentWindow.document;t=n.util.iterate(function(){try{if(!o.firstChild)return;var e=o.body?o.body.lastChild:o;if(!o.body||!o.body.firstChild||"pre"!==o.body.firstChild.nodeName.toLowerCase()){var a=o.head||o.getElementsByTagName("head")[0]||o.documentElement||o,s=o.createElement("script");
9s.text="document.write('<plaintext>')",a.insertBefore(s,a.firstChild),a.removeChild(s),e=o.body.lastChild}return r.closed&&(r.isReopen=!0),t=n.util.iterate(function(){var t=function(){var t=e.cloneNode(!0);t.appendChild(o.createTextNode("."));var n=t.innerText;return n=n.substring(0,n.length-1)}();if(t.length>r.lastIndex){R(l),u.status=200,u.error=null,e.innerText="";var n=N(t,r,u);if(n)return"";Z(u.responseBody,"messageReceived",200,r.transport)}if(r.lastIndex=0,"complete"===o.readyState)return ne(!0),A("re-connecting",r.transport,r),r.reconnectInterval>0?r.reconnectId=setTimeout(function(){W(r)},r.reconnectInterval):W(r),!1},null),!1}catch(e){return u.error=!0,A("re-connecting",r.transport,r),g++<r.maxReconnectOnClose?r.reconnectInterval>0?r.reconnectId=setTimeout(function(){W(r)},r.reconnectInterval):W(r):j(0,"maxReconnectOnClose reached"),i.execCommand("Stop"),i.close(),!1}})},close:function(){t&&t(),i.execCommand("Stop"),ne(!0)}}}(e)).open()}function z(e){null!=w?function(e){w.send(e)}(e):null!=d||null!=f?G(e):null!=h?function(e){if(l.enableXDR&&n.util.checkCORSSupport()){var t=J(e);t.reconnect=!1,I(t)}else G(e)}(e):null!=p?function(e){G(e)}(e):null!=c?function(e){var t,r=n.util.isBinary(e)?e:X(e);try{if(t=null!=l.dispatchUrl?l.webSocketPathDelimiter+l.dispatchUrl+l.webSocketPathDelimiter+r:r,!c.canSendMessage)return void n.util.error("WebSocket not connected.");c.send(t)}
9catch(t){c.onclose=function(e){},E(),L("Websocket failed. Downgrading to "+l.fallbackTransport+" and resending "+e),G(e)}}(e):(j(0,"No suspended connection available"),n.util.error("No suspended connection available. Make sure atmosphere.subscribe has been called and request.onOpen invoked before trying to push data"))}function G(e){H(J(e))}function X(e){var t=e;return"object"==typeof t&&(t=e.data),t}function J(e){var t=X(e),r={connected:!1,timeout:6e4,method:"POST",url:l.url,contentType:l.contentType,headers:l.headers,reconnect:!0,callback:null,data:t,suspend:!1,maxRequest:-1,logLevel:"info",requestCount:0,withCredentials:l.withCredentials,async:l.async,transport:"polling",isOpen:!0,attachHeadersAsQueryString:!0,enableXDR:l.enableXDR,uuid:l.uuid,dispatchUrl:l.dispatchUrl,enableProtocol:!1,messageDelimiter:"|",trackMessageLength:l.trackMessageLength,maxReconnectOnClose:l.maxReconnectOnClose,heartbeatTimer:l.heartbeatTimer,heartbeat:l.heartbeat};return"object"==typeof e&&(r=n.util.extend(r,e)),r}function Q(e){var t=n.util.parseJSON(e);t.id!==x&&(void 0!==l.onLocalMessage?l.onLocalMessage(t.event):void 0!==n.util.onLocalMessage&&n.util.onLocalMessage(t.event))}function Z(e,t,n,r){u.responseBody=e,u.transport=r,u.status=n,u.state=t,re()}function K(e,t){if(t.readResponsesHeaders)try{var n=e.getResponseHeader("X-Atmosphere-tracking-id");n&&null!=n&&(t.uuid=n.split(" ").pop())}catch(e){}else t.enableProtocol||(t.uuid=x)}function ee(e){te(e,l),te(e,n.util)}function te(e,t){switch(e.state){case"messageReceived":k("Firing onMessage"),g=0,void 0!==t.onMessage&&t.onMessage(e),void 0!==t.onmessage&&t.onmessage(e);break;case"error":k("Firing onError, reasonPhrase: "+(void 0!==e.reasonPhrase?e.reasonPhrase:"n/a")),void 0!==t.onError&&t.onError(e),void 0!==t.onerror&&t.onerror(e);break;case"opening":delete l.closed,k("Firing onOpen"),void 0!==t.onOpen&&t.onOpen(e),void 0!==t.onopen&&t.onopen(e);break;case"messagePublished":k("Firing messagePublished"),void 0!==t.onMessagePublished&&t.onMessagePublished(e);break;case"re-connecting":k("Firing onReconnect"),void 0!==t.onReconnect&&t.onReconnect(l,e);break;case"closedByClient":k("Firing closedByClient"),void 0!==t.onClientTimeout&&t.onClientTimeout(l);break;case"re-opening":delete l.closed,k("Firing onReopen"),void 0!==t.onReopen&&t.onReopen(l,e);break;case"fail-to-reconnect":k("Firing onFailureToReconnect"),void 0!==t.onFailureToReconnect&&t.onFailureToReconnect(l,e);break;case"unsubscribe":case"closed":void 0!==l.closed&&l.closed?k("Request already closed, not firing onClose ("+e.state+" case)"):(k("Firing onClose ("+e.state+" case)"),void 0!==t.onClose&&t.onClose(e),void 0!==t.onclose&&t.onclose(e)),l.closed=!0;break;case"openAfterResume":void 0!==t.onOpenAfterResume&&t.onOpenAfterResume(l)}}function ne(e){"closed"!==u.state&&(u.state="closed",u.responseBody="",u.messages=[],u.status=e?200:501,re())}function re(){var e=function(e,t){t(u)};null==w&&null!=b&&b(u.responseBody),l.reconnect=l.mrequest;for(var t="string"==typeof u.responseBody,r=t&&l.trackMessageLength?u.messages.length>0?u.messages:[""]:new Array(u.responseBody),i=0;i<r.length;i++)if(!(r.length>1&&0===r[i].length||(u.responseBody=t?n.util.trim(r[i]):r[i],null==w&&null!=b&&b(u.responseBody),(0===u.responseBody.length||t&&y===u.responseBody)&&"messageReceived"===u.state))){if(ee(u),a.length>0){C("debug")&&n.util.debug("Invoking "+a.length+" global callbacks: "+u.state);try{n.util.each(a,e)}catch(e){n.util.log(l.logLevel,["Callback exception"+e])}}if("function"==typeof l.callback){C("debug")&&n.util.debug("Invoking request callbacks");try{l.callback(u)}catch(e){n.util.log(l.logLevel,["Callback exception"+e])}}}}O(e),this.subscribe=function(e){O(e),M()},this.execute=function(){M()},this.close=function(){T()},this.disconnect=function(){S()},this.getUrl=function(){return l.url},this.push=function(e,t){if(null!=t){var n=l.dispatchUrl;l.dispatchUrl=t,z(e),l.dispatchUrl=n}else z(e)},this.getUUID=function(){return l.uuid},this.pushLocal=function(e){!function(e){if(0!==e.length)try{w?w.localSend(e):t&&t.signal("localMessage",n.util.stringifyJSON({id:x,event:e}))}catch(e){n.util.error(e)}}(e)},this.enableProtocol=function(e){return l.enableProtocol},this.init=function(){_()},this.request=l,this.response=u}}).subscribe=function(e,t,r){"function"==typeof t&&n.addCallback(t),"string"!=typeof e?r=e:r.url=e,o=void 0!==r&&void 0!==r.uuid?r.uuid:0;var a=new n.AtmosphereRequest(r);return a.execute(),i[i.length]=a,a},n.unsubscribe=function(){if(i.length>0)for(var e=[].concat(i),t=0;t<e.length;t++){var n=e[t];n.close(),clearTimeout(n.response.request.id),n.heartbeatTimer&&clearTimeout(n.heartbeatTimer)}i=[],a=[]},n.unsubscribeUrl=function(e){var t=-1;if(i.length>0)for(var n=0;n<i.length;n++){var r=i[n];if(r.getUrl()===e){r.close(),clearTimeout(r.response.request.id),r.heartbeatTimer&&clearTimeout(r.heartbeatTimer),t=n;break}}t>=0&&i.splice(t,1)},n.addCallback=function(e){-1===n.util.inArray(e,a)&&a.push(e)},n.removeCallback=function(e){var t=n.util.inArray(e,a);-1!==t&&a.splice(t,1)},n.util={browser:{},parseHeaders:function(e){for(var t,n=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,r={};t=n.exec(e);)r[t[1]]=t[2];return r},now:function(){return(new Date).getTime()},isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},inArray:function(e,t){if(!Array.prototype.indexOf){for(var n=t.length,r=0;r<n;++r)if(t[r]===e)return r;return-1}return t.indexOf(e)},isBinary:function(e){return/^\[object\s(?:Blob|ArrayBuffer|.+Array)\]$/.test(Object.prototype.toString.call(e))},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},getAbsoluteURL:function(e){if(void 0===document.createElement)return e;var t=document.createElement("div");return t.innerHTML='<a href="'+e+'"/>',encodeURI(decodeURI(t.firstChild.href))},prepareURL:function(e){var t=n.util.now(),r=e.replace(/([?&])_=[^&]*/,"$1_="+t);
9return r+(r===e?(/\?/.test(e)?"&":"?")+"_="+t:"")},trim:function(e){return String.prototype.trim?e.toString().trim():e.toString().replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g,"").replace(/\s+/g," ")},param:function(e){var t,r=[];function i(e,t){t=n.util.isFunction(t)?t():null==t?"":t,r.push(encodeURIComponent(e)+"="+encodeURIComponent(t))}function a(e,t){var r;if(n.util.isArray(t))n.util.each(t,function(t,n){/\[\]$/.test(e)?i(e,n):a(e+"["+("object"==typeof n?t:"")+"]",n)});else if("[object Object]"===Object.prototype.toString.call(t))for(r in t)a(e+"["+r+"]",t[r]);else i(e,t)}for(t in e)a(t,e[t]);return r.join("&").replace(/%20/g,"+")},storage:function(){try{return!(!window.localStorage||!window.StorageEvent)}catch(e){return!1}},iterate:function(e,t){var n;return t=t||0,function r(){n=setTimeout(function(){!1!==e()&&r()},t)}(),function(){clearTimeout(n)}},each:function(e,t,r){if(e){var i=0,a=e.length,o=n.util.isArray(e);if(r){if(o)for(;i<a&&!1!==t.apply(e[i],r);i++);else for(i in e)if(!1===t.apply(e[i],r))break}else if(o)for(;i<a&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e}},extend:function(e){var t,n,r;for(t=1;t<arguments.length;t++)if(null!=(n=arguments[t]))for(r in n)e[r]=n[r];return e},on:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},off:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n)},log:function(e,t){if(window.console){var n=window.console[e];"function"==typeof n&&n.apply(window.console,t)}},warn:function(){n.util.log("warn",arguments)},info:function(){n.util.log("info",arguments)},debug:function(){n.util.log("debug",arguments)},error:function(){n.util.log("error",arguments)},xhr:function(){try{return new window.XMLHttpRequest}catch(e){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}},parseJSON:function(e){return e?window.JSON&&window.JSON.parse?window.JSON.parse(e):new Function("return "+e)():null},stringifyJSON:function(e){var t=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function r(e){return'"'+e.replace(t,function(e){var t=n[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"'}function i(e){return e<10?"0"+e:e}return window.JSON&&window.JSON.stringify?window.JSON.stringify(e):function e(t,n){var a,o,l,u,c=n[t],f=typeof c;switch(c&&"object"==typeof c&&"function"==typeof c.toJSON&&(f=typeof(c=c.toJSON(t))),f){case"string":return r(c);case"number":return isFinite(c)?String(c):"null";case"boolean":return String(c);case"object":if(!c)return"null";switch(Object.prototype.toString.call(c)){case"[object Date]":return isFinite(c.valueOf())?'"'+c.getUTCFullYear()+"-"+i(c.getUTCMonth()+1)+"-"+i(c.getUTCDate())+"T"+i(c.getUTCHours())+":"+i(c.getUTCMinutes())+":"+i(c.getUTCSeconds())+'Z"':"null";case"[object Array]":for(l=c.length,u=[],a=0;a<l;a++)u.push(e(a,c)||"null");return"["+u.join(",")+"]";default:for(a in u=[],c)s.call(c,a)&&(o=e(a,c))&&u.push(r(a)+":"+o);return"{"+u.join(",")+"}"}}}("",{"":e})},checkCORSSupport:function(){if(n.util.browser.msie&&!window.XDomainRequest&&+n.util.browser.version.split(".")[0]<11)return!0;if(n.util.browser.opera&&+n.util.browser.version.split(".")<12)return!0;if("KreaTVWebKit/531"===n.util.trim(navigator.userAgent).slice(0,16))return!0;if("kreatel"===n.util.trim(navigator.userAgent).slice(-7).toLowerCase())return!0;var e=navigator.userAgent.toLowerCase().match(/.+android ([0-9]{1,2})/i),t=parseInt(e&&e[0]||-1,10);return!isNaN(t)&&t>-1&&t<3}},n.util.now(),e=navigator.userAgent.toLowerCase(),"safari"===(t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||/(trident)(?:.*? rv:([\w.]+)|)/.exec(e)||e.indexOf("android")<0&&/version\/(.+) (safari)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[])[2]&&(t[2]=t[1],t[1]="safari"),n.util.browser[t[1]||""]=!0,n.util.browser.version=t[2]||"0",n.util.browser.vmajor=n.util.browser.version.split(".")[0],n.util.browser.trident&&(n.util.browser.msie=!0),(n.util.browser.msie||n.util.browser.mozilla&&1==+n.util.browser.version.split(".")[0])&&(n.util.storage=!1),n.util.on(window,"unload",function(e){n.util.debug(new Date+" Atmosphere: unload event"),n.unsubscribe()}),n.util.on(window,"beforeunload",function(e){n.util.debug(new Date+" Atmosphere: beforeunload event"),n._beforeUnloadState=!0,setTimeout(function(){n.util.debug(new Date+" Atmosphere: beforeunload event timeout reached. Reset _beforeUnloadState flag"),n._beforeUnloadState=!1},5e3)}),n.util.on(window,"keypress",function(e){27!==e.charCode&&27!==e.keyCode||e.preventDefault&&e.preventDefault()}),n.util.on(window,"offline",function(){if(n.util.debug(new Date+" Atmosphere: offline event"),r=!0,i.length>0)for(var e=[].concat(i),t=0;t<e.length;t++){var a=e[t];a.request.handleOnlineOffline&&(a.close(),clearTimeout(a.response.request.id),a.heartbeatTimer&&clearTimeout(a.heartbeatTimer))}}),n.util.on(window,"online",function(){if(n.util.debug(new Date+" Atmosphere: online event"),i.length>0)for(var e=0;e<i.length;e++)i[e].request.handleOnlineOffline&&(i[e].init(),i[e].execute());r=!1}),n},"function"==typeof define&&define.amd?define(t):"undefined"!=typeof exports?module.exports=t():e.atmosphere=t()}(),function(){var e,t,n;!function(e,t,n,r){function i(t,n){this.settings=null,this.options=e.extend({},i.Defaults,n),this.$element=e(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},e.each(["onResize","onThrottledResize"],e.proxy(function(t,n){this._handlers[n]=e.proxy(this[n],this)},this)),e.each(i.Plugins,e.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(i.Workers,e.proxy(function(t,n){this._pipe.push({filter:n.filter,run:e.proxy(n.run,this)})},this)),this.setup(),this.initialize()}i.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},i.Width={Default:"default",Inner:"inner",Outer:"outer"},i.Type={Event:"event",State:"state"},i.Plugins={},i.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",n=!this.settings.autoWidth,r=this.settings.rtl,i={width:"auto","margin-left":r?t:"","margin-right":r?"":t};!n&&this.$stage.children().css(i),e.css=i}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,n=null,r=this._items.length,i=!this.settings.autoWidth,a=[];for(e.items={merge:!1,width:t};r--;)n=this._mergers[r],n=this.settings.mergeFit&&Math.min(n,this.settings.items)||n,e.items.merge=n>1||e.items.merge,a[r]=i?t*n:this._items[r].width();this._widths=a}},{filter:["items","settings"],run:function(){var t=[],n=this._items,r=this.settings,i=Math.max(2*r.items,4),a=2*Math.ceil(n.length/2),o=r.loop&&n.length?r.rewind?i:Math.max(i,a):0,s="",l="";for(o/=2;o>0;)t.push(this.normalize(t.length/2,!0)),s+=n[t[t.length-1]][0].outerHTML,t.push(this.normalize(n.length-1-(t.length-1)/2,!0)),l=n[t[t.length-1]][0].outerHTML+l,o-=1;this._clones=t,e(s).addClass("cloned").appendTo(this.$stage),e(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,n=-1,r=0,i=0,a=[];++n<t;)r=a[n-1]||0,i=this._widths[this.relative(n)]+this.settings.margin,a.push(r+i*e);this._coordinates=a}},{filter:["width","items","settings"],run:function(){var e=this.settings.stagePadding,t=this._coordinates,n={width:Math.ceil(Math.abs(t[t.length-1]))+2*e,"padding-left":e||"","padding-right":e||""};this.$stage.css(n)}},{filter:["width","items","settings"],run:function(e){var t=this._coordinates.length,n=!this.settings.autoWidth,r=this.$stage.children();if(n&&e.items.merge)for(;t--;)e.css.width=this._widths[this.relative(t)],r.eq(t).css(e.css);else n&&(e.css.width=e.items.width,r.css(e.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(e){e.current=e.current?this.$stage.children().index(e.current):0,e.current=Math.max(this.minimum(),Math.min(this.maximum(),e.current)),this.reset(e.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var e,t,n,r,i=this.settings.rtl?1:-1,a=2*this.settings.stagePadding,o=this.coordinates(this.current())+a,s=o+this.width()*i,l=[];for(n=0,r=this._coordinates.length;n<r;n++)e=this._coordinates[n-1]||0,t=Math.abs(this._coordinates[n])+a*i,(this.op(e,"<=",o)&&this.op(e,">",s)||this.op(t,"<",o)&&this.op(t,">",s))&&l.push(n);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],i.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=e("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(e("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},i.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return e(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},i.prototype.initialize=function(){var e,t,n;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:r,n=this.$element.children(t).width(),e.length&&n<=0&&this.preloadAutoWidthImages(e));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},i.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},i.prototype.setup=function(){var t=this.viewport(),n=this.options.responsive,r=-1,i=null;n?(e.each(n,function(e){e<=t&&e>r&&(r=Number(e))}),"function"==typeof(i=e.extend({},this.options,n[r])).stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+r))):i=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=r,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},i.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},i.prototype.prepare=function(t){var n=this.trigger("prepare",{content:t});return n.data||(n.data=e("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:n.data}),n.data},i.prototype.update=function(){for(var t=0,n=this._pipe.length,r=e.proxy(function(e){return this[e]},this._invalidated),i={};t<n;)(this._invalidated.all||e.grep(this._pipe[t].filter,r).length>0)&&this._pipe[t].run(i),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},i.prototype.width=function(e){switch(e=e||i.Width.Default){case i.Width.Inner:case i.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},i.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},i.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},i.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},i.prototype.registerEventHandlers=function(){e.support.transition&&this.$stage.on(e.support.transition.end+".owl.core",e.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(t,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",e.proxy(this.onDragEnd,this)))},i.prototype.onDragStart=function(t){var r=null;3!==t.which&&(e.support.transform?r={x:(r=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===r.length?12:4],y:r[16===r.length?13:5]}:(r=this.$stage.position(),r={x:this.settings.rtl?r.left+this.$stage.width()-this.width()+this.settings.margin:r.left,y:r.top}),this.is("animating")&&(e.support.transform?this.animate(r.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=e(t.target),this._drag.stage.start=r,this._drag.stage.current=r,this._drag.pointer=this.pointer(t),e(n).on("mouseup.owl.core touchend.owl.core",e.proxy(this.onDragEnd,this)),e(n).one("mousemove.owl.core touchmove.owl.core",e.proxy(function(t){var r=this.difference(this._drag.pointer,this.pointer(t));e(n).on("mousemove.owl.core touchmove.owl.core",e.proxy(this.onDragMove,this)),Math.abs(r.x)<Math.abs(r.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},i.prototype.onDragMove=function(e){var t=null,n=null,r=null,i=this.difference(this._drag.pointer,this.pointer(e)),a=this.difference(this._drag.stage.start,i);this.is("dragging")&&(e.preventDefault(),this.settings.loop?(t=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-t,a.x=((a.x-t)%n+n)%n+t):(t=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),r=this.settings.pullDrag?-1*i.x/5:0,a.x=Math.max(Math.min(a.x,t+r),n+r)),this._drag.stage.current=a,this.animate(a.x))},i.prototype.onDragEnd=function(t){var r=this.difference(this._drag.pointer
vendor: 29,488 bytes, line 9
9,this.pointer(t)),i=this._drag.stage.current,a=r.x>0^this.settings.rtl?"left":"right";e(n).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==r.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(i.x,0!==r.x?a:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=a,(Math.abs(r.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},i.prototype.closest=function(t,n){var i=-1,a=this.width(),o=this.coordinates();return this.settings.freeDrag||e.each(o,e.proxy(function(e,s){return"left"===n&&t>s-30&&t<s+30?i=e:"right"===n&&t>s-a-30&&t<s-a+30?i=e+1:this.op(t,"<",s)&&this.op(t,">",o[e+1]!==r?o[e+1]:s-a)&&(i="left"===n?e+1:e),-1===i},this)),this.settings.loop||(this.op(t,">",o[this.minimum()])?i=t=this.minimum():this.op(t,"<",o[this.maximum()])&&(i=t=this.maximum())),i},i.prototype.animate=function(t){var n=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),n&&(this.enter("animating"),this.trigger("translate")),e.support.transform3d&&e.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):n?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,e.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},i.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},i.prototype.current=function(e){if(e===r)return this._current;if(0===this._items.length)return r;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==r&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},i.prototype.invalidate=function(t){return"string"===e.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),e.map(this._invalidated,function(e,t){return t})},i.prototype.reset=function(e){(e=this.normalize(e))!==r&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},i.prototype.normalize=function(e,t){var n=this._items.length,i=t?0:this._clones.length;return!this.isNumeric(e)||n<1?e=r:(e<0||e>=n+i)&&(e=((e-i/2)%n+n)%n+i/2),e},i.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},i.prototype.maximum=function(e){var t,n,r,i=this.settings,a=this._coordinates.length;if(i.loop)a=this._clones.length/2+this._items.length-1;else if(i.autoWidth||i.merge){if(t=this._items.length)for(n=this._items[--t].width(),r=this.$element.width();t--&&!((n+=this._items[t].width()+this.settings.margin)>r););a=t+1}else a=i.center?this._items.length-1:this._items.length-i.items;return e&&(a-=this._clones.length/2),Math.max(a,0)},i.prototype.minimum=function(e){return e?0:this._clones.length/2},i.prototype.items=function(e){return e===r?this._items.slice():(e=this.normalize(e,!0),this._items[e])},i.prototype.mergers=function(e){return e===r?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},i.prototype.clones=function(t){var n=this._clones.length/2,i=n+this._items.length,a=function(e){return e%2==0?i+e/2:n-(e+1)/2};return t===r?e.map(this._clones,function(e,t){return a(t)}):e.map(this._clones,function(e,n){return e===t?a(n):null})},i.prototype.speed=function(e){return e!==r&&(this._speed=e),this._speed},i.prototype.coordinates=function(t){var n,i=1,a=t-1;return t===r?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(i=-1,a=t+1),n=this._coordinates[t],n+=(this.width()-n+(this._coordinates[a]||0))/2*i):n=this._coordinates[a]||0,n=Math.ceil(n))},i.prototype.duration=function(e,t,n){return 0===n?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(n||this.settings.smartSpeed)},i.prototype.to=function(e,t){var n=this.current(),r=null,i=e-this.relative(n),a=(i>0)-(i<0),o=this._items.length,s=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(i)>o/2&&(i+=-1*a*o),(r=(((e=n+i)-s)%o+o)%o+s)!==e&&r-i<=l&&r-i>0&&(n=r-i,e=r,this.reset(n))):this.settings.rewind?e=(e%(l+=1)+l)%l:e=Math.max(s,Math.min(l,e)),this.speed(this.duration(n,e,t)),this.current(e),this.isVisible()&&this.update()},i.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},i.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},i.prototype.onTransitionEnd=function(e){if(e!==r&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},i.prototype.viewport=function(){var r;return this.options.responsiveBaseElement!==t?r=e(this.options.responsiveBaseElement).width():t.innerWidth?r=t.innerWidth:n.documentElement&&n.documentElement.clientWidth?r=n.documentElement.clientWidth:console.warn("Can not detect viewport width."),r},i.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},i.prototype.add=function(t,n){var i=this.relative(this._current);n=n===r?this._items.length:this.normalize(n,!0),t=t instanceof jQuery?t:e(t),this.trigger("add",{content:t,position:n}),t=this.prepare(t),0===this._items.length||n===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[n-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[n].before(t),this._items.splice(n,0,t),this._mergers.splice(n,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[i]&&this.reset(this._items[i].index()),this.invalidate("items"),this.trigger("added",{content:t,position:n})},i.prototype.remove=function(e){(e=this.normalize(e,!0))!==r&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},i.prototype.preloadAutoWidthImages=function(t){t.each(e.proxy(function(t,n){this.enter("pre-loading"),n=e(n),e(new Image).one("load",e.proxy(function(e){n.attr("src",e.target.src),n.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",n.attr("src")||n.attr("data-src")||n.attr("data-src-retina"))},this))},i.prototype.destroy=function(){for(var r in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),e(n).off(".owl.core"),!1!==this.settings.responsive&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[r].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},i.prototype.op=function(e,t,n){var r=this.settings.rtl;switch(t){case"<":return r?e>n:e<n;case">":return r?e<n:e>n;case">=":return r?e<=n:e>=n;case"<=":return r?e>=n:e<=n}},i.prototype.on=function(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,n)},i.prototype.off=function(e,t,n,r){e.removeEventListener?e.removeEventListener(t,n,r):e.detachEvent&&e.detachEvent("on"+t,n)},i.prototype.trigger=function(t,n,r,a,o){var s={item:{count:this._items.length,index:this.current()}},l=e.camelCase(e.grep(["on",t,r],function(e){return e}).join("-").toLowerCase()),u=e.Event([t,"owl",r||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},s,n));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(u)}),this.register({type:i.Type.Event,name:t}),this.$element.trigger(u),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,u)),u},i.prototype.enter=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]===r&&(this._states.current[t]=0),this._states.current[t]++},this))},i.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]--},this))},i.prototype.register=function(t){if(t.type===i.Type.Event){if(e.event.special[t.name]||(e.event.special[t.name]={}),!e.event.special[t.name].owl){var n=e.event.special[t.name]._default;e.event.special[t.name]._default=function(e){return!n||!n.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:n.apply(this,arguments)},e.event.special[t.name].owl=!0}}else t.type===i.Type.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=e.grep(this._states.tags[t.name],e.proxy(function(n,r){return e.inArray(n,this._states.tags[t.name])===r},this)))},i.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},i.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},i.prototype.pointer=function(e){var n={x:null,y:null};return(e=(e=e.originalEvent||e||t.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(n.x=e.pageX,n.y=e.pageY):(n.x=e.clientX,n.y=e.clientY),n},i.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},i.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.fn.owlCarousel=function(t){var n=Array.prototype.slice.call(arguments,1);return this.each(function(){var r=e(this),a=r.data("owl.carousel");a||(a=new i(this,"object"==typeof t&&t),r.data("owl.carousel",a),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,n){a.register({type:i.Type.Event,name:n}),a.$element.on(n+".owl.carousel.core",e.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([n]),a[n].apply(this,[].slice.call(arguments,1)),this.release([n]))},a))})),"string"==typeof t&&"_"!==t.charAt(0)&&a[t].apply(a,n)})},e.fn.owlCarousel.Constructor=i}(window.Zepto||window.jQuery,window,document),e=window.Zepto||window.jQuery,t=window,document,(n=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers)}).Defaults={autoRefresh:!0,autoRefreshInterval:500},n.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},n.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},n.prototype.destroy=function(){var e,n;for(e in t.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=n,function(e,t,n,r){var i=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var n=this._core.settings,r=n.center&&Math.ceil(n.items/2)||n.items,i=n.center&&-1*r||0,a=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+i,o=this._core.clones().length,s=e.proxy(function(e,t){this.load(t)},this);for(n.lazyLoadEager>0&&(r+=n.lazyLoadEager,n.loop&&(a-=n.lazyLoadEager,r++));i++<r;)this.load(o/2+this._core.relative(a)),o&&e.each(this._core.clones(this._core.relative(a)),s),a++}},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)};i.Defaults={lazyLoad:!1,lazyLoadEager:0},i.prototype.load=function(n){var r=this._core.$stage.children().eq(n),i=r&&r.find(".owl-lazy");!i||e.inArray(r.get(0),this._loaded)>-1||(i.each(e.proxy(function(n,r){var i,a=e(r),o=t.devicePixelRatio>1&&a.attr("data-src-retina")||a.attr("data-src")||a.attr("data-srcset");this._core.trigger("load",{element:a,url:o},"lazy"),a.is("img")?a.one("load.owl.lazy",e.proxy(function(){a.css("opacity",1),this._core.trigger("loaded",{element:a,url:o},"lazy")},this)).attr("src",o):a.is("source")?a.one("load.owl.lazy",e.proxy(function(){this._core.trigger("loaded",{element:a,url:o},"lazy")},this)).attr("srcset",o):((i=new Image).onload=e.proxy(function(){a.css({"background-image":'url("'+o+'")',opacity:"1"}),this._core.trigger("loaded",{element:a,url:o},"lazy")},this),i.src=o)},this)),this._loaded.push(r.get(0)))},i.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(n){this._core=n,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var r=this;e(t).on("load",function(){r._core.settings.autoHeight&&r.update()}),e(t).resize(function(){r._core.settings.autoHeight&&(null!=r._intervalId&&clearTimeout(r._intervalId),r._intervalId=setTimeout(function(){r.update()},250))})};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var t=this._core._current,n=t+this._core.settings.items,r=this._core.settings.lazyLoad,i=this._core.$stage.children().toArray().slice(t,n),a=[],o=0;e.each(i,function(t,n){a.push(e(n).height())}),(o=Math.max.apply(null,a))<=1&&r&&this._previousHeight&&(o=this._previousHeight),this._previousHeight=o,this._core.$stage.parent().height(o).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var n=e(t.content).find(".owl-video");n.length&&(n.css("display","none"),this.fetch(n,e(t.content)))}},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};i.Defaults={video:!1,videoHeight:!1,videoWidth:!1},i.prototype.fetch=function(e,t){var n=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",r=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),i=e.attr("data-width")||this._core.settings.videoWidth,a=e.attr("data-height")||this._core.settings.videoHeight,o=e.attr("href");if(!o)throw new Error("Missing video URL.");if((r=o.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)n="youtube";else if(r[3].indexOf("vimeo")>-1)n="vimeo";else{if(!(r[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");n="vzaar"}r=r[6],this._videos[o]={type:n,id:r,width:i,height:a},t.attr("data-video",o),this.thumbnail(e,this._videos[o])},i.prototype.thumbnail=function(t,n){var r,i,a,o=n.width&&n.height?"width:"+n.width+"px;height:"+n.height+"px;":"",s=t.find("img"),l="src",u="",c=this._core.settings,f=function(n){i='<div class="owl-video-play-icon"></div>',r=c.lazyLoad?e("<div/>",{class:"owl-video-tn "+u,srcType:n}):e("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+n+")"}),t.after(r),t.after(i)};if(t.wrap(e("<div/>",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(l="data-src",u="owl-lazy"),s.length)return f(s.attr(l)),s.remove(),!1;"youtube"===n.type?(a="//img.youtube.com/vi/"+n.id+"/hqdefault.jpg",f(a)):"vimeo"===n.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e[0].thumbnail_large,f(a)}}):"vzaar"===n.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+n.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e.framegrab_url,f(a)}})},i.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},i.prototype.play=function(t){var n,r=e(t.target).closest("."+this._core.settings.itemClass),i=this._videos[r.attr("data-video")],a=i.width||"100%",o=i.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),r=this._core.items(this._core.relative(r.index())),this._core.reset(r.index()),(n=e('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",o),n.attr("width",a),"youtube"===i.type?n.attr("src","//www.youtube.com/embed/"+i.id+"?autoplay=1&rel=0&v="+i.id):"vimeo"===i.type?n.attr("src","//player.vimeo.com/video/"+i.id+"?autoplay=1"):"vzaar"===i.type&&n.attr("src","//view.vzaar.com/"+i.id+"/player?autoplay=true"),e(n).wrap('<div class="owl-video-frame" />').insertAfter(r.find(".owl-video")),this._playing=r.addClass("owl-video-playing"))},i.prototype.isInFullScreen=function(){var t=n.fullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},i.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this.core=t,this.core.options=e.extend({},i.Defaults,this.core.options),this.swapping=!0,this.previous=r,this.next=r,this.handlers={"change.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":e.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};i.Defaults={animateOut:!1,animateIn:!1},i.prototype.swap=function(){if(1===this.core.settings.items&&e.support.animation&&e.support.transition){this.core.speed(0);var t,n=e.proxy(this.clear,this),r=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),a=this.core.settings.animateIn,o=this.core.settings.animateOut;this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),r.one(e.support.animation.end,n).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o)),a&&i.one(e.support.animation.end,n).addClass("animated owl-animated-in").addClass(a))}},i.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},i.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){var i=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":e.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":e.proxy(function(e,t,n){e.namespace&&this.play(t,n)},this),"stop.owl.autoplay":e.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=e.extend({},i.Defaults,this._core.options)};i.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},i.prototype._next=function(r){this._call=t.setTimeout(e.proxy(this._next,this,r),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||n.hidden||this._core.next(r||this._core.settings.autoplaySpeed)},i.prototype.read=function(){return(new Date).getTime()-this._time},i.prototype.play=function(n,r){var i;this._core.is("rotating")||this._core.enter("rotating"),n=n||this._core.settings.autoplayTimeout,i=Math.min(this._time%(this._timeout||n),n),this._paused?(this._time=this.read(),this._paused=!1):t.clearTimeout(this._call),this._time+=this.read()%n-i,this._timeout=n,this._call=t.setTimeout(e.proxy(this._next,this,r),n-i)},i.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,t.clearTimeout(this._call),this._core.leave("rotating"))},i.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,t.clearTimeout(this._call))},i.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){"use strict";var i=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers)};i.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},i.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?e(n.navContainer):e("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=e("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",e.proxy(function(e){this.prev(n.navSpeed)},this)),this._controls.$next=e("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",e.proxy(function(e){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[e('<button role="button">').addClass(n.dotClass).append(e("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?e(n.dotsContainer):e("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",e.proxy(function(t){var r=e(t.target).parent().is(this._controls.$absolute)?e(t.target).index():e(t.target).parent().index();t.preventDefault(),this.to(r,n.dotsSpeed)},this)),this._overrides)this._core[t]=e.proxy(this[t],this)},i.prototype.destroy=function(){var e,t,n,r,i;for(e in i=this._core.settings,this._handlers)this.$element.off(e,this._handlers[e]);for(t in this._controls)"$relative"===t&&i.navContainer?this._controls[t].html(""):this._controls[t].remove();for(r in this.overides)this._core[r]=this._overrides[r];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},i.prototype.update=function(){var e,t,n=this._core.clones().length/2,r=n+this._core.items().length,i=this._core.maximum(!0),a=this._core.settings,o=a.center||a.autoWidth||a.dotsData?1:a.dotsEach||a.items;if("page"!==a.slideBy&&(a.slideBy=Math.min(a.slideBy,a.items)),a.dots||"page"==a.slideBy)for(this._pages=[],e=n,t=0,0;e<r;e++){if(t>=o||0===t){if(this._pages.push({start:Math.min(i,e-n),end:e-n+o-1}),Math.min(i,e-n)===i)break;t=0,0}t+=this._core.mergers(this._core.relative(e))}},i.prototype.draw=function(){var t,n=this._core.settings,r=this._core.items().length<=n.items,i=this._core.relative(this._core.current()),a=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||r),n.nav&&(this._controls.$previous.toggleClass("disabled",!a&&i<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!a&&i>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||r),n.dots&&(t=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):t>0?this._controls.$absolute.append(new Array(t+1).join(this._templates[0])):t<0&&this._controls.$absolute.children().slice(t).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(e.inArray(this.current(),this._pages)).addClass("active"))},i.prototype.onTrigger=function(t){var n=this._core.settings;
9t.page={index:e.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},i.prototype.current=function(){var t=this._core.relative(this._core.current());return e.grep(this._pages,e.proxy(function(e,n){return e.start<=t&&e.end>=t},this)).pop()},i.prototype.getPosition=function(t){var n,r,i=this._core.settings;return"page"==i.slideBy?(n=e.inArray(this.current(),this._pages),r=this._pages.length,t?++n:--n,n=this._pages[(n%r+r)%r].start):(n=this._core.relative(this._core.current()),r=this._core.items().length,t?n+=i.slideBy:n-=i.slideBy),n},i.prototype.next=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},i.prototype.prev=function(t){e.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},i.prototype.to=function(t,n,r){var i;!r&&this._pages.length?(i=this._pages.length,e.proxy(this._overrides.to,this._core)(this._pages[(t%i+i)%i].start,n)):e.proxy(this._overrides.to,this._core)(t,n)},e.fn.owlCarousel.Constructor.Plugins.Navigation=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){"use strict";var i=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":e.proxy(function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&e(t).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var n=e(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=t.content}},this),"changed.owl.carousel":e.proxy(function(n){if(n.namespace&&"position"===n.property.name){var r=this._core.items(this._core.relative(this._core.current())),i=e.map(this._hashes,function(e,t){return e===r?t:null}).join();if(!i||t.location.hash.slice(1)===i)return;t.location.hash=i}},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),e(t).on("hashchange.owl.navigation",e.proxy(function(e){var n=t.location.hash.substring(1),r=this._core.$stage.children(),i=this._hashes[n]&&r.index(this._hashes[n]);void 0!==i&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))};i.Defaults={URLhashListener:!1},i.prototype.destroy=function(){var n,r;for(n in e(t).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(n,this._handlers[n]);for(r in Object.getOwnPropertyNames(this))"function"!=typeof this[r]&&(this[r]=null)},e.fn.owlCarousel.Constructor.Plugins.Hash=i}(window.Zepto||window.jQuery,window,document),function(e,t,n,r){function i(t,n){var i=!1,a=t.charAt(0).toUpperCase()+t.slice(1);return e.each((t+" "+s.join(a+" ")+a).split(" "),function(e,t){if(o[t]!==r)return i=!n||t,!1}),i}function a(e){return i(e,!0)}var o=e("<support>").get(0).style,s="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},u=function(){return!!i("transform")},c=function(){return!!i("perspective")},f=function(){return!!i("animation")};(function(){return!!i("transition")})()&&(e.support.transition=new String(a("transition")),e.support.transition.end=l.transition.end[e.support.transition]),f()&&(e.support.animation=new String(a("animation")),e.support.animation.end=l.animation.end[e.support.animation]),u()&&(e.support.transform=new String(a("transform")),e.support.transform3d=c())}(window.Zepto||window.jQuery,window,document)}(),function(e,t,n){"use strict";function r(e,r,i){var a=i.baseHref(),o=e[0];return function(e,i,s){var l,u;u=(s=s||{}).expires,l=t.isDefined(s.path)?s.path:a,i===n&&(u="Thu, 01 Jan 1970 00:00:00 GMT",i=""),t.isString(u)&&(u=new Date(u)),i=(i=encodeURIComponent(e)+"="+encodeURIComponent(i))+(l?";path="+l:"")+(s.domain?";domain="+s.domain:""),i+=u?";expires="+u.toUTCString():"",4096<(s=(i+=s.secure?";secure":"").length+1)&&r.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+s+" > 4096 bytes)!"),o.cookie=i}}t.module("ngCookies",["ng"]).provider("$cookies",[function(){var e=this.defaults={};this.$get=["$$cookieReader","$$cookieWriter",function(r,i){return{get:function(e){return r()[e]},getObject:function(e){return(e=this.get(e))?t.fromJson(e):e},getAll:function(){return r()},put:function(n,r,a){i(n,r,a?t.extend({},e,a):e)},putObject:function(e,n,r){this.put(e,t.toJson(n),r)}
9,remove:function(r,a){i(r,n,a?t.extend({},e,a):e)}}}]}]),t.module("ngCookies").factory("$cookieStore",["$cookies",function(e){return{get:function(t){return e.getObject(t)},put:function(t,n){e.putObject(t,n)},remove:function(t){e.remove(t)}}}]),r.$inject=["$document","$log","$browser"],t.module("ngCookies").provider("$$cookieWriter",function(){this.$get=r})}(window,window.angular),function(e,t,n){"use strict";function r(e,n){return t.equals(e.length,n.length)?e>n:e.length>n.length}function i(e){var t=e.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/);if(!t||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1],paramExpr:t[3]||null}}function a(e,t,r,i){var a=u[e];a!==n&&a(),a=t.$on(r,i),u[e]=a}function o(e,n,r){return{restrict:"AE",replace:!0,scope:{},template:n.getTemplate({bootstrap2:'<ul class="breadcrumb"><li ng-repeat="step in steps" ng-switch="$last || !!step.abstract" ng-class="{active: $last}"><a ng-switch-when="false" href="{{step.ncyBreadcrumbLink}}">{{step.ncyBreadcrumbLabel}}</a><span ng-switch-when="true">{{step.ncyBreadcrumbLabel}}</span><span class="divider" ng-hide="$last">/</span></li></ul>
9',bootstrap3:'<ol class="breadcrumb"><li ng-repeat="step in steps" ng-class="{active: $last}" ng-switch="$last || !!step.abstract"><a ng-switch-when="false" href="{{step.ncyBreadcrumbLink}}">{{step.ncyBreadcrumbLabel}}</a><span ng-switch-when="true">{{step.ncyBreadcrumbLabel}}</span></li></ol>'}),templateUrl:n.getTemplateUrl(),link:{post:function(i){var o=[],s=function(){d(o),o=[];var r=n.$getLastViewScope();i.steps=n.getStatesChain(),t.forEach(i.steps,function(t){if(t.ncyBreadcrumb&&t.ncyBreadcrumb.label){var n=e(t.ncyBreadcrumb.label);t.ncyBreadcrumbLabel=n(r),f(o,n,r,t)}else t.ncyBreadcrumbLabel=t.name})};a("BreadcrumbDirective.$viewContentLoaded",r,"$viewContentLoaded",function(e){e.targetScope.ncyBreadcrumbIgnore||s()}),s()}}}}function s(e,t,n){return{restrict:"A",scope:{},template:t.getTemplateLast({default:"{{ncyBreadcrumbLabel}}"}),templateUrl:t.getTemplateLastUrl(),compile:function(r,i){var o=r.attr(i.$attr.ncyBreadcrumbLast);return o&&r.html(o),{post:function(r){var i=[],o=function(){d(i),i=[];var n=t.$getLastViewScope(),a=t.getLastStep();if(a)if(r.ncyBreadcrumbLink=a.ncyBreadcrumbLink,a.ncyBreadcrumb&&a.ncyBreadcrumb.label){var o=e(a.ncyBreadcrumb.label);r.ncyBreadcrumbLabel=o(n),f(i,o,n,r)}else r.ncyBreadcrumbLabel=a.name};a("BreadcrumbLastDirective.$viewContentLoaded",n,"$viewContentLoaded",function(e){e.targetScope.ncyBreadcrumbIgnore||o()}),o()}}}}}function l(e,n,r){return{restrict:"A",scope:{},template:"{{ncyBreadcrumbChain}}",compile:function(i,o){var s=i.attr(o.$attr.ncyBreadcrumbText);s&&i.html(s);var l=i.attr(o.$attr.ncyBreadcrumbTextSeparator)||" / ";return{post:function(i){var o=[],s=function(e,n,r){t.forEach(c(n),function(t){var n=r.$watch(t,function(e,t){e!==t&&u()});e.push(n)})},u=function(){d(o),o=[];var r=n.$getLastViewScope(),a=n.getStatesChain(),u=[];t.forEach(a,function(t){if(t.ncyBreadcrumb&&t.ncyBreadcrumb.label){var n=e(t.ncyBreadcrumb.label);u.push(n(r)),s(o,n,r)}else u.push(t.name)}),i.ncyBreadcrumbChain=u.join(l)};a("BreadcrumbTextDirective.$viewContentLoaded",r,"$viewContentLoaded",function(e){e.targetScope.ncyBreadcrumbIgnore||u()}),u()}}}}}var u={},c=function(e){if(e.expressions)return e.expressions;var n=[];return t.forEach(e.parts,function(e){t.isFunction(e)&&n.push(e.exp)}),n},f=function(e,n,r,i){t.forEach(c(n),function(t){var a=r.$watch(t,function(){i.ncyBreadcrumbLabel=n(r)});e.push(a)})},d=function(e){t.forEach(e,function(e){e()})};o.$inject=["$interpolate","$breadcrumb","$rootScope"],s.$inject=["$interpolate","$breadcrumb","$rootScope"],l.$inject=["$interpolate","$breadcrumb","$rootScope"],t.module("ncy-angular-breadcrumb",["ui.router.state"]).provider("$breadcrumb",function(){var e={prefixStateName:null,template:"bootstrap3",templateUrl:null,templateLast:"default",templateLastUrl:null,includeAbstract:!1};this.setOptions=function(n){t.extend(e,n)},this.$get=["$state","$stateParams","$rootScope",function(t,o,s){var l=s;a("$Breadcrumb.$viewContentLoaded",s,"$viewContentLoaded",function(e){!e.targetScope.ncyBreadcrumbIgnore&&r(e.targetScope.$id,l.$id)&&(l=e.targetScope)});var u=function(n,r){for(var a,s,u=i(r),c=!1,f=!1,d=0,h=n.length;h>d;d+=1)if(n[d].name===u.state)return;(a=t.get(u.state)).ncyBreadcrumb&&(a.ncyBreadcrumb.force&&(c=!0),a.ncyBreadcrumb.skip&&(f=!0)),a.abstract&&!e.includeAbstract&&!c||f||(u.paramExpr&&(s=l.$eval(u.paramExpr)),a.ncyBreadcrumbLink=t.href(u.state,s||o||{}),a.ncyBreadcrumbStateRef=r,n.unshift(a))},c=function(e){var n=i(e),r=t.get(n.state);if(r.ncyBreadcrumb&&r.ncyBreadcrumb.parent){var a="function"==typeof r.ncyBreadcrumb.parent?r.ncyBreadcrumb.parent(l):r.ncyBreadcrumb.parent;if(a)return a}return function(e){var t=e.parent||(/^(.+)\.[^.]+$/.exec(e.name)||[])[1];return"object"==typeof t?t.name:t}(r)};return{getTemplate:function(t){return e.templateUrl?null:t[e.template]?t[e.template]:e.template},getTemplateUrl:function(){return e.templateUrl},getTemplateLast:function(t){return e.templateLastUrl?null:t[e.templateLast]?t[e.templateLast]:e.templateLast},getTemplateLastUrl:function(){return e.templateLastUrl},getStatesChain:function(n){for(var r=[],i=t.$current.self.name;i;i=c(i))if(u(r,i),n&&r.length)return r;return e.prefixStateName&&u(r,e.prefixStateName),r},getLastStep:function(){var e=this.getStatesChain(!0);return e.length?e[0]:n},$getLastViewScope:function(){return l}}}]}).directive("ncyBreadcrumb",o).directive("ncyBreadcrumbLast",s).directive("ncyBreadcrumbText",l)}(window,window.angular),function(){"use strict";angular.module("base64",[]).constant("$base64",function(){var e="=",t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
9+/";function n(e,n){var r=t.indexOf(e.charAt(n));if(-1==r)throw"Cannot decode base64";return r}function r(e,t){var n=e.charCodeAt(t);if(n>255)throw"INVALID_CHARACTER_ERR: DOM Exception 5";return n}return{encode:function(n){if(1!=arguments.length)throw"SyntaxError: Not enough arguments";var i,a,o=[],s=(n=""+n).length-n.length%3;if(0==n.length)return n;for(i=0;i<s;i+=3)a=r(n,i)<<16|r(n,i+1)<<8|r(n,i+2),o.push(t.charAt(a>>18)),o.push(t.charAt(a>>12&63)),o.push(t.charAt(a>>6&63)),o.push(t.charAt(63&a));switch(n.length-s){case 1:a=r(n,i)<<16,o.push(t.charAt(a>>18)+t.charAt(a>>12&63)+e+e);break;case 2:a=r(n,i)<<16|r(n,i+1)<<8,o.push(t.charAt(a>>18)+t.charAt(a>>12&63)+t.charAt(a>>6&63)+e)}return o.join("")},decode:function(t){var r,i,a,o=(t=""+t).length;if(0==o)return t;if(o%4!=0)throw"Cannot decode base64";r=0,t.charAt(o-1)==e&&(r=1,t.charAt(o-2)==e&&(r=2),o-=4);var s=[];for(i=0;i<o;i+=4)a=n(t,i)<<18|n(t,i+1)<<12|n(t,i+2)<<6|n(t,i+3),s.push(String.fromCharCode(a>>16,a>>8&255,255&a));switch(r){case 1:a=n(t,i)<<18|n(t,i+1)<<12|n(t,i+2)<<6,s.push(String.fromCharCode(a>>16,a>>8&255));break;case 2:a=n(t,i)<<18|n(t,i+1)<<12,s.push(String.fromCharCode(a>>16))}return s.join("")}}}())}();
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.